Class ScoreDecisionAnswer
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
The answer to a ScoreDecisionQuestion (score).
public sealed class ScoreDecisionAnswer : DecisionAnswer
- Inheritance
-
ScoreDecisionAnswer
- Inherited Members
- Extension Methods
Constructors
ScoreDecisionAnswer()
Initializes a new instance of the ScoreDecisionAnswer class.
public ScoreDecisionAnswer()
Properties
Confidence
The confidence of the answer.
[JsonPropertyName("confidence")]
public double? Confidence { get; set; }
Property Value
Legend
The meaning of each score level.
[JsonPropertyName("legend")]
public Dictionary<string, string>? Legend { get; set; }
Property Value
Probabilities
The probability of each score level.
[JsonPropertyName("probabilities")]
public Dictionary<string, double>? Probabilities { get; set; }
Property Value
Score
The score.
[JsonPropertyName("score")]
public double? Score { get; set; }