ProjectAlice
ProjectAlice copied to clipboard
Slots missing confidenceScore
Original Snips implementation would include a confidenceScore
slot property. This is missing in Alice.
Version: 1.0.0-a6
Alice
"slots":[
{"rawValue":"office",
"value":{"kind":"Custom","value":"office"},
"alternatives":[],
"range":{"start":16,"end":22},
"entity":"location",
"slotName":"location"}
]
Snips
"slots":[
{"rawValue":"office",
"value":{"kind":"Custom","value":"office"},
"alternatives":[],
"range":{"start":16,"end":22},
"entity":"location",
"slotName":"location",
"confidenceScore":1
}
]
Hmmm, but we are using snips-nlu though... Will have a check for this
The Slots confidenceScore are in payload. session.payload['intent']['confidenceScore']
@poulsp That is the intent confidence score, as opposed to slot confidence score. i.e. there can be high confidence on the intent e.g. 0.96 but one of the slots within the utterance, may only be 0.35