logprobs property

  1. @JsonKey(includeIfNull: false)
int? get logprobs
inherited

Include the log probabilities on the logprobs most likely output tokens, as well the chosen tokens. For example, if logprobs is 5, the API will return a list of the 5 most likely tokens. The API will always return the logprob of the sampled token, so there may be up to logprobs+1 elements in the response.

The maximum value for logprobs is 5.

Implementation

@JsonKey(includeIfNull: false)
int? get logprobs => throw _privateConstructorUsedError;