A collection of source attributions for a piece of content.
A citation to a source for a portion of a specific response.
Content filtering metadata associated with processing a single request.
Counts the number of tokens in the prompt
sent to a model.
A response from CountMessageTokens
.
Request to get a text embedding from the model.
The response to a EmbedTextRequest.
A list of floats representing the embedding.
An input/output example used to instruct the Model.
Request to generate a message response from the model.
The response from the model.
Request to generate a text completion response from the model.
The response from the model, including candidate completions.
Request for getting information about a specific Model.
Request for listing all Models.
Response from ListModel
containing a paginated list of Models.
The base unit of structured text.
All of the structured input text passed to the model as a prompt.
Information about a Generative Language Model.
Safety feedback for an entire request.
Safety rating for a piece of content.
Safety setting, affecting the safety-blocking behavior.
Output text returned from a model.
Text given to the model as a prompt.