🛡️TypeSafe 中文文档
原文档 ↗

Interface: NoulQuestion

一个是/否问题,可为两种结果分别提供可选的描述。

Properties

criteria?

ts
optional criteria?: 
  | {
  false?: EntryType;
  true?: EntryType;
}
  | null;

对"是"与"否"两种结果的可选描述。

联合成员

Type Literal
ts
{
  false?: EntryType;
  true?: EntryType;
}
false?
ts
optional false?: EntryType;

"否"结果的描述。

true?
ts
optional true?: EntryType;

"是"结果的描述。


null


instructions?

ts
optional instructions?: EntryType;

作为问题的文本、JSON 对象或数组;可省略或为 null。


type

ts
type: "noul";
本站为 docs.typesafe.ai 的中文翻译,仅供学习参考;内容版权归原作者所有。