avgLogprobs property

double? avgLogprobs
getter/setter pair

The average log probability of the tokens in this candidate.

This is a length-normalized score that can be used to compare the quality of candidates of different lengths. A higher average log probability suggests a more confident and coherent response.

Output only.

Implementation

core.double? avgLogprobs;