ChoiceAnswer
Namespace: TypeSafe.AI.Sdk
public sealed class ChoiceAnswer : AnswerA selected label and its probabilities.
Properties
Section titled “Properties”Choice
Section titled “Choice”public string Choice { get; init; }The selected label.
Value: string
Confidence
Section titled “Confidence”public double Confidence { get; init; }Reported confidence in the selected label.
Value: double
Probabilities
Section titled “Probabilities”public IReadOnlyDictionary<string, double> Probabilities { get; init; }Probabilities keyed by label.
Value: IReadOnlyDictionary<string, double>
public override string Type { get; }Answer type matching the question: noul, choice, score, or box.
Value: string
MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API