文件導航

介面: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";