Member Junction
    Preparing search index...

    Interface ChoiceAnswer

    Answer to a ChoiceQuestion.

    interface ChoiceAnswer {
        Confidence: number;
        Kind: "Choice";
        Probabilities: Record<string, number>;
        Value: string;
    }
    Index

    Properties

    Confidence: number

    Confidence score in [0, 1] for the choice.

    Kind: "Choice"

    Discriminator identifying this as a choice answer.

    Probabilities: Record<string, number>

    Probability distribution keyed by option Value. Probabilities must sum to 1 within +-0.01.

    Value: string

    The selected option value (matches one of the ChoiceOption.Value identifiers).