LogprobsResultTopCandidates

@Serializable
data class LogprobsResultTopCandidates(val candidates: List<LogprobsResultCandidate>? = null)

A list of the top candidate tokens and their log probabilities at each decoding step. This can be used to see what other tokens the model considered.

Constructors

Link copied to clipboard
constructor(candidates: List<LogprobsResultCandidate>? = null)

Properties

Link copied to clipboard

The list of candidate tokens, sorted by log probability in descending order.