Instructs the Gemini model to output structured JSON data conforming to a given schema.
The instruction or context.
The expected JSON schema structure.
Optionaloptions: anyAdditional options including the model identifier.
The parsed JSON object returned by the model.
Sends a textual prompt to the Gemini API and retrieves the generated text response.
The instruction or query to send to the model.
Optionaloptions: anyConfiguration options. Can include a model string identifier.
The generated response string.
Sends a textual prompt to the Gemini API and returns an async iterable of text chunks.
The instruction or query to send to the model.
Optionaloptions: anyConfiguration options including the model identifier.
An async iterable stream of text chunks.
Initializes the internal GoogleGenAI client with the provided API key.
AI Adapter implementation for Google's Gemini models using the official genai SDK.