Interface: ChoiceResponse<T>
所选标签及其各档概率。
Type Parameters
T
T extends ChoiceCriteria = ChoiceCriteria
Properties
choice
ts
readonly choice: keyof T & string;所选的标签。
confidence
ts
readonly confidence: number;针对所选标签报告的置信度。
probabilities
ts
readonly probabilities: { readonly [label in string | number | symbol]: number };以标签为键的概率。
type
ts
readonly type: "choice";