LogprobsResultCandidate

@Serializable
data class LogprobsResultCandidate(val token: String? = null, val tokenId: Int? = null, val logProbability: Double? = null)

A single token candidate and its log probability.

Constructors

Link copied to clipboard
constructor(token: String? = null, tokenId: Int? = null, logProbability: Double? = null)

Properties

Link copied to clipboard
val logProbability: Double? = null

The log probability of the token.

Link copied to clipboard
val token: String? = null

The token's string value.

Link copied to clipboard
val tokenId: Int? = null

The token's numeric id.