Candidate
Attributes
- avgLogprobs
Output only. Average log probability score of the candidate.
- citationMetadata
Output only. Citation information for model-generated candidate. This field may be populated with recitation information for any text included in the content. These are passages that are "recited" from copyrighted material in the foundational LLM's training data.
- content
Output only. Generated content returned from the model.
- finishReason
Optional. Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating tokens.
- groundingAttributions
Output only. Attribution information for sources that contributed to a grounded answer. This field is populated for GenerateAnswer calls.
- groundingMetadata
Output only. Grounding metadata for the candidate. This field is populated for GenerateContent calls.
- index
Output only. Index of the candidate in the list of response candidates.
- logprobsResult
Output only. Log-likelihood scores for the response tokens and top tokens.
- safetyRatings
List of ratings for the safety of a response candidate. There is at most one rating per category.
- tokenCount
Output only. Token count for this candidate.
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any