Documentation
¶
Overview ¶
Package gemini implements the model.LLM interface for Gemini models.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewModel ¶
NewModel returns model.LLM, backed by the Gemini API.
It uses the provided context and configuration to initialize the underlying genai.Client. The modelName specifies which Gemini model to target (e.g., "gemini-2.5-flash").
An error is returned if the genai.Client fails to initialize.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.