Type Parameters
T
T extends ChoiceCriteria
Parameters
instructions
EntryType
The question as text, a JSON object or array, or null.
criteria
T
Labels mapped to descriptions, or null for undescribed labels.
Returns
ChoiceQuestion<T>Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function choice<T>(instructions, criteria): ChoiceQuestion<T>;
T extends ChoiceCriteria
EntryType
The question as text, a JSON object or array, or null.
T
Labels mapped to descriptions, or null for undescribed labels.
ChoiceQuestion<T>Was this page helpful?
Suggestions
