接口: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";