logprobs property

int? logprobs
final

Optional. Only valid if google.ai.generativelanguage.v1beta.GenerationConfig.response_logprobs. This sets the number of top logprobs to return at each decoding step in the Candidate.logprobs_result. The number must be in the range of 0, 20.

Implementation

final int? logprobs;