Installation
Install the Google Generative AI package:Setup
Set your Google API key as an environment variable:Initialize Model
Create a Google Gemini model instance:Use with Agent
Pass the model to your agent:Configuration Options
Supported parameters for Google Gemini models:For the full list of available models and parameters, see the Google AI documentation.