Package-level declarations
Types
The reason why the prompt was blocked.
Represents a possible response from the model.
Metadata about citations associated with the candidate.
The reason why the generation finished.
Represents a function call in a generation response.
Configuration for how the model uses the provided function declarations.
Represents a function declaration for tool calling.
Configuration for generating content.
Response from the generate content request.
Configuration for routing a request to a specific model, either automatically via autoMode or manually via manualMode. Not supported in the Gemini API.
Configuration for automated routing, where the model is selected by the pretrained routing model and the customer-provided modelRoutingPreference. Not supported in the Gemini API.
Configuration for manual routing, where the model is selected by the given modelName. Only public LLM models are accepted. Not supported in the Gemini API.
Tool to retrieve knowledge from Google Maps.
Represents a Google Search tool.
A single cited source chunk that grounds part of the model's response.
A grounding chunk sourced from Google Maps.
A grounding chunk sourced from a retrieval (RAG) context.
A grounding chunk sourced from the open web.
Metadata returned to client when grounding is enabled.
The probability threshold at or above which content is blocked for a HarmCategory.
The category of a harm that a SafetySetting applies to.
ADK-owned HTTP transport options for calls a com.google.adk.kt.models.Model makes to its backend.
Internal constants for LLM requests and responses.
Detailed log probabilities for the chosen and top candidate tokens.
A single token candidate and its log probability.
The top token candidates at a single decoding step.
The modality that a token count applies to.
The resolution used when processing media inputs.
A breakdown of token usage by modality.
The model routing preference for automated routing.
A part of a multi-modal prompt or response.
Partial argument value of the function call.
Represents one of the possible values within a PartialArg.
Feedback received from the prompt.
Defines a retrieval tool that model can call to access external knowledge.
Metadata about the retrieval step performed for a grounded response.
A per-request safety setting controlling the block threshold for a single HarmCategory.
Schema is used to define the format of input/output data.
The Google Search entry point used to render search suggestions for grounded responses.
The service tier requested for a generate content request.
The thinking features configuration.
The number of thoughts tokens that the model should generate.
Represents a GenAI tool definition.
Configuration shared across all tools provided in a request.
Tool to support URL context retrieval.
Usage metadata for a generate content request.
Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive.
Define data stores within engine to filter on in a search call and configurations for those data stores.
Retrieve from a Vertex RAG store for grounding.
The representation of a RAG source for a VertexRagStore.
Metadata describing how to interpret a video Part.