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.
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 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.
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.
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.
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.
Metadata describing how to interpret a video Part.