generative-ai-python
google.generativeai.protos.LogprobsResult.TopCandidates
View source on GitHub
Candidates with top log probabilities at each decoding step.
Attributes
`candidates`
`MutableSequence[google.ai.generativelanguage.LogprobsResult.Candidate]` Sorted by log probability in descending order.