Class SystemOneChoiceAnswer
- Namespace
- OllamaSharp.Models
- Assembly
- OllamaSharp.dll
The answer to a SystemOneChoiceQuestion.
public class SystemOneChoiceAnswer : SystemOneAnswer
- Inheritance
-
SystemOneChoiceAnswer
- Inherited Members
Properties
Choice
The option key with the highest probability. Ties select the first option in request order.
[JsonPropertyName("choice")]
public string Choice { get; set; }
Property Value
Confidence
The distribution concentration between 0 (uniform) and 1 (one candidate dominates). Not calibrated correctness.
[JsonPropertyName("confidence")]
public double Confidence { get; set; }
Property Value
Probabilities
The probabilities of all options, normalized over the supplied candidates.
[JsonPropertyName("probabilities")]
public Dictionary<string, double> Probabilities { get; set; }
Property Value
Type
The type discriminator of this answer.
[JsonIgnore]
public override string Type { get; }