Back to Pydantic Ai

`pydantic_ai.models.google`

docs/api/models/google.md

1.97.0404 B
Original Source

pydantic_ai.models.google

Interface that uses the google-genai package under the hood to access Google's Gemini models via both the Gemini API and Google Cloud (formerly known as Vertex AI).

Setup

For details on how to set up authentication with this model, see model configuration for Google.

::: pydantic_ai.models.google