Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slots missing confidenceScore #225

Open
hipitihop opened this issue Mar 15, 2020 · 3 comments
Open

Slots missing confidenceScore #225

hipitihop opened this issue Mar 15, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@hipitihop
Copy link
Contributor

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
	}
]
@Psychokiller1888
Copy link
Member

Hmmm, but we are using snips-nlu though... Will have a check for this

@Psychokiller1888 Psychokiller1888 added the bug Something isn't working label Mar 15, 2020
@Psychokiller1888 Psychokiller1888 self-assigned this Mar 15, 2020
@poulsp
Copy link

poulsp commented Mar 20, 2020

The Slots confidenceScore are in payload.
session.payload['intent']['confidenceScore']

@hipitihop
Copy link
Contributor Author

@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

@philipp2310 philipp2310 added enhancement New feature or request and removed bug Something isn't working labels Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants