responseLogprobs

public abstract GenerationConfig.Builder responseLogprobs(boolean responseLogprobs)

Setter for responseLogprobs.

responseLogprobs: Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.