ChoiceResult
public struct ChoiceResult : Sendable, EquatableCalibrated result of evaluating a ChoiceQuestion.
-
Key of the highest-probability choice.
Declaration
Swift
public let selectedKey: String -
Map from each choice key to its calibrated probability in
[0.0, 1.0].Declaration
Swift
public let probabilities: [String : Float] -
Calibrated confidence score in
[0.0, 1.0]for the selected choice.Declaration
Swift
public let confidence: Float