API reference@siftline/coreInterfaces
ChoiceResponse
A Choice answer as the wire returns it; probabilities key order is not the Recipe's.
Properties
choice
readonly choice: string;confidence
readonly confidence: number;probabilities
readonly probabilities: {
[label: string]: number;
};Index Signature
[label: string]: numbertype
readonly type: "choice";