Integrations · Class
ChatGoogleGenerativeAI
ChatGoogleGenerativeAI connects LangChain Python applications to Google Gemini chat models. It supports two Google backends, multimodal input, tools, structured output, streaming, async calls, and token usage.
Last updated
Syntax
ChatGoogleGenerativeAI(model="gemini-3.7-flash", temperature=1.0, max_retries=2)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ChatGoogleGenerativeAI API referenceGemini Developer APIGemini Enterprise Agent PlatformHumanMessagegoogle.genai.types.HttpOptionslangchain-google-genai