Class SystemOneChoiceQuestion
- Namespace
- OllamaSharp.Models
- Assembly
- OllamaSharp.dll
A question that picks one option out of a set of named criteria.
public class SystemOneChoiceQuestion : SystemOneQuestion
- Inheritance
-
SystemOneChoiceQuestion
- Inherited Members
Properties
Criteria
The option keys mapped to their descriptions. A null description uses the key itself. Requires between 2 and 26 options.
[JsonPropertyName("criteria")]
public Dictionary<string, string?> Criteria { get; set; }
Property Value
Type
The type discriminator of this question.
[JsonIgnore]
public override string Type { get; }