Skip to main content

接口: NoulQuestion

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

文档索引

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

接口: NoulQuestion

一个“是/否”问题,可以为任一结果提供可选的描述。

属性

criteria?

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

肯定和否定结果的可选描述。

联合类型成员

类型字面量
{
  false?: EntryType;
  true?: EntryType;
}
false?
optional false?: EntryType;

否定结果的描述。

true?
optional true?: EntryType;

肯定结果的描述。


null


instructions?

optional instructions?: EntryType;

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


type

type: "noul";