Skip to main content

接口:ChoiceQuestion<T>

机器翻译译自英文(docs.typesafe.ai)本页 12 段已全部译完

文档索引

在以下地址获取完整的文档索引:https://docs.typesafe.ai/llms.txt 使用此文件可以在进一步探索之前发现所有可用页面。

接口:ChoiceQuestion<T>

在命名选项之间进行选择的问题。

类型参数

T

T 扩展 ChoiceCriteria = ChoiceCriteria

属性

criteria

criteria: T;

可用结果的描述。


instructions?

optional instructions?: EntryType;

问题可以是文本、JSON 对象或数组;可选或为 null。


type

type: "choice";