ChoiceQuestion
public struct ChoiceQuestion : Sendable, EquatableConfiguration for evaluating a mutually exclusive categorical choice menu.
-
Ordered list of option keys.
Declaration
Swift
public var choices: [String] -
Optional descriptions corresponding 1:1 with
choices.Declaration
Swift
public var descriptions: [String]? -
Softmax temperature override.
Declaration
Swift
public var temperature: Float -
Optional task instructions prepended to the choice prompt.
Declaration
Swift
public var instructions: String -
Multi-token log-probability aggregation strategy.
Declaration
Swift
public var scoringMode: ScoringMode -
Whether to normalize option log-probabilities against the empty-context prior.
Declaration
Swift
public var normalizePrior: Bool