LogProbs

@Serializable
class LogProbs(val content: List<LogProb>? = null, val reasoningContent: List<LogProb>? = null)

Log-probability information attached to a ChatChoice or ChatChoiceChunk.

Populated only when the request sets logprobs = true.

Constructors

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

Properties

Link copied to clipboard

Per-token log-probabilities for the assistant's visible content.

Link copied to clipboard

Per-token log-probabilities for the deepseek-reasoner reasoning trace, when applicable.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String