gemini
function configures Google’s Gemini as your model provider.
Configuration
Thegemini
function accepts a model name string or a configuration object:
Options
ID of the model to use. See the model endpoint
compatibility
table for details on which models work with the Gemini API.
The Google API key to use for authenticating your request. By default we’ll
search for and use the
GOOGLE_API_KEY
environment variable.The base URL for the Gemini API.
The default parameters to use for the model.See Gemini’s
models.generateContent
reference.Available Models
Gemini