DecisionAnswer
Namespace: E2E.Decision.Sdk
public sealed class DecisionAnswerOne model answer (the AI SDK’s DecisionAnswer). Numbers are returned as the provider sent them.
Type is the question’s type, or refusal when the model declined the question.
Inheritance: object
Properties
Section titled “Properties”public DecisionBox? Box { get; init; }The normalized box of a box answer.
Value: DecisionBox
Choice
Section titled “Choice”public string? Choice { get; init; }The selected option of a choice answer.
Value: string
Probabilities
Section titled “Probabilities”public IReadOnlyDictionary<string, double>? Probabilities { get; init; }The distribution of a choice or score answer: option ids, or level indexes, to probabilities. Null when the model gave none.
Value: IReadOnlyDictionary<string, double>
Probability
Section titled “Probability”public double? Probability { get; init; }P(true) of a boolean answer.
Value: double?
public double? Score { get; init; }The score of a score answer.
Value: double?
public required string Type { get; init; }Value: string