OpenAIChoiceLogprobs

@Serializable
data class OpenAIChoiceLogprobs(val content: List<OpenAITokenLogprob>? = null, val refusal: List<OpenAITokenLogprob>? = null)

Log probability information for a chat completion choice.

Only present when logprobs is set to true in the request.

See also

Constructors

Link copied to clipboard
constructor(content: List<OpenAITokenLogprob>? = null, refusal: List<OpenAITokenLogprob>? = null)

Properties

Link copied to clipboard

A list of message content tokens with log probability information. null when no content log probabilities are available.

Link copied to clipboard

A list of message refusal tokens with log probability information. null when no refusal log probabilities are available.