ChoiceQuestion
Namespace: TypeSafe.AI.Sdk
public sealed class ChoiceQuestion : QuestionA question that selects between named alternatives.
Inheritance: object → Question
Constructors
Section titled “Constructors”ChoiceQuestion(object?, IReadOnlyDictionary<string, object?>, bool)
Section titled “ChoiceQuestion(object?, IReadOnlyDictionary<string, object?>, bool)”public ChoiceQuestion(object? instructions, IReadOnlyDictionary<string, object?> criteria, bool includeInstructions = true)Create a Choice question.
Parameters
| Name | Type | Description |
|---|---|---|
instructions |
object | |
criteria |
IReadOnlyDictionary<string, object> | |
includeInstructions |
bool |
Properties
Section titled “Properties”Criteria
Section titled “Criteria”public IReadOnlyDictionary<string, object?> Criteria { get; }Labels mapped to descriptions, or null for undescribed labels.
Value: IReadOnlyDictionary<string, object>
public override string Type { get; }Question type: noul, choice, score, or box.
Value: string
MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API