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'm trying to use Google search grounding from VertexTool with ChatVertexAI.
What I've understood so far is that
I can use grounding google search only with ChatVertexAI (Reference fromlangchain-ai)
Above code - using grounding google search is available only for gemini-1.0, gemini-1.5, and gemini-2.0-flash-exp models
The documentation says grounding is available for gemini-flash-2.0 model, I've tried with it with it but the llm's response didn't included grounding_metadata, which implies it didn't triggered grounding - google search.
Will gemini-2.0-flash be able to use grounding google search soon?
Is this correct - we can use google search grounding only with ChatVertexAI, not ChatGoogleGenerativeAI?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
I'm trying to use Google search grounding from VertexTool with
ChatVertexAI
.What I've understood so far is that
ChatVertexAI
(Reference fromlangchain-ai
)gemini-1.0
,gemini-1.5
, andgemini-2.0-flash-exp
modelsThe documentation says grounding is available for
gemini-flash-2.0
model, I've tried with it with it but the llm's response didn't includedgrounding_metadata
, which implies it didn't triggered grounding - google search.gemini-2.0-flash
be able to use grounding google search soon?ChatVertexAI
, notChatGoogleGenerativeAI
?System Info
langchain==0.3.14
langchain-anthropic==0.3.1
langchain-community==0.3.14
langchain-core==0.3.31
langchain-google-community==2.0.4
langchain-google-genai==2.0.4
langchain-google-vertexai==2.0.13
langchain-groq==0.2.1
langchain-openai==0.3.2
langchain-text-splitters==0.3.5
langcodes==3.4.1
langgraph==0.2.45
langgraph-checkpoint==2.0.10
langgraph-checkpoint-postgres==2.0.10
langgraph-sdk==0.1.35
langsmith==0.1.141
language_data==1.2.0
Beta Was this translation helpful? Give feedback.
All reactions