Batch request to get embeddings from the model for a list of prompts.
The response to a BatchEmbedContentsRequest
.
Raw media bytes.
A response candidate generated from the model.
A collection of source attributions for a piece of content.
A citation to a source for a portion of a specific response.
The base structured datatype containing multi-part content of a message.
A list of floats representing an embedding.
Counts the number of tokens in the prompt
sent to a model.
A response from CountTokens
.
Request containing the Content
for the model to embed.
The response to an EmbedContentRequest
.
Request to generate a completion from the model.
Response from the model supporting multiple candidate responses.
Configuration options for model generation and outputs. Not all parameters
are configurable for every model.
Request for getting information about a specific Model.
Request for listing all Models.
Response from ListModel
containing a paginated list of Models.
Information about a Generative Language Model.
A datatype containing media that is part of a multi-part Content
message.
Safety rating for a piece of content.
Safety setting, affecting the safety-blocking behavior.