Skip to main content
Factory function to create a Google Gemini model instance.

Signature

Parameters

str
required
The Google Gemini model identifier.

Returns

A LanguageModel instance configured for Google.

Environment

Requires GOOGLE_API_KEY environment variable.

Available Models

Example

Provider Options