OpenAITopLogprob

@Serializable
data class OpenAITopLogprob(val token: String, val bytes: List<Int>? = null, val logprob: Double)

One of the most likely tokens at a token position with its log probability.

See also

Constructors

Link copied to clipboard
constructor(token: String, bytes: List<Int>? = null, logprob: Double)

Properties

Link copied to clipboard
val bytes: List<Int>?

UTF-8 byte representation of the token. null if there is no byte representation.

Link copied to clipboard

The log probability of this token.

Link copied to clipboard

The token string.