文档导航

接口:ChoiceResponse<T>

接口:ChoiceResponse<T>

选中的标签及其概率。

类型参数

T

T extends ChoiceCriteria = ChoiceCriteria

属性

choice

readonly choice: keyof T & string;

选中的标签。


confidence

readonly confidence: number;

对选中标签报告的置信度。


probabilities

readonly probabilities: { readonly [label in string | number | symbol]: number };

以标签为键的概率。


type

readonly type: "choice";