Documentation

Log Probabilities - Open Dev Kit Documentation

Open Dev Kit Documentation :: Open AI :: AI Completion Options :: Log Probabilities

OpenAI.AICompletionOptions.LogProbabilities
Include the log probabilities on the logprobs most likely 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. Not available for chat right now.

Type

Integer

If you think anything is missing, please feel free to: submit documentation feedback on this page