type/Candidate library

Classes

Candidate
A piece of a response from the model. Contains safety ratings, citation metadata, and an optional finish reason in addition to the content of the response.
CitationMetadata
Provides citation metadata for sourcing of content provided by the model between a given start index and end index.
SafetyRating
Rating for a particular harm category with a provided harm probability.

Enums

FinishReason
The reason for content finishing.