Interface: ChoiceResponse<T>
A selected label and its probabilities.
Параметры типов
T
T extends ChoiceCriteria = ChoiceCriteria
Свойства
choice
TS THEME={NULL}
api.wedstack.ru/v1
readonly choice: keyof T & string;
Выбранная метка.
confidence
TS THEME={NULL}
api.wedstack.ru/v1
readonly confidence: number;
Заявленная уверенность в выбранной метке.
probabilities
TS THEME={NULL}
api.wedstack.ru/v1
readonly probabilities: { readonly [label in string | number | symbol]: number };
Вероятности по меткам.
type
TS THEME={NULL}
api.wedstack.ru/v1
readonly type: "choice";