topLogprobs method

OpenAIBuilder topLogprobs(
  1. int count
)

Sets the number of most likely tokens to return log probabilities for

An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.

Range: 0-20

Implementation

OpenAIBuilder topLogprobs(int count) {
  _baseBuilder.extension('topLogprobs', count);
  return this;
}