You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the native google_search tool with:
fromgoogle.ai.generativelanguage_v1beta.typesimportToolasGenAIToolresp=llm.invoke(
"When is the next total solar eclipse in US?",
tools=[GenAITool(google_search={})],
)
print(resp.content)
It correctly works but the response is missing all information about the grounding from which urls where used to citations options. The google-genai sdk returns grounding_metadata.grounding_supports and grounding_metadata.grounding_chunks, which detail what part is backed by a search, e.g.
I am trying to use the native
google_search
tool with:It correctly works but the response is missing all information about the grounding from which urls where used to citations options. The
google-genai
sdk returnsgrounding_metadata.grounding_supports
andgrounding_metadata.grounding_chunks
, which detail what part is backed by a search, e.g.The text was updated successfully, but these errors were encountered: