snipsco / snips-issues

Feel free to share your bugs with us.
14 stars 5 forks source link

[snips-dialogue][NLU] Alternative results for a slot #199

Closed deniseBrise closed 4 years ago

deniseBrise commented 4 years ago

Is your feature request related to a problem? Please describe. When NLU engine is parsing input for slot detection, if two or more values for this slot are almost homophones (like 'Denise', 'Denis', and 'Dennis'), it always gives the same result for the slot, which is not always the good one.

What are the use cases of this feature When selecting a noun inside a list of injected entities.

Describe the solution you'd like When deducing a slot value, having (top 5 ? top 10 ?) alternatives (if any) with a confidence score, within the intent.

Describe alternatives you've considered Not found yet.

Additional context

cpoisson commented 4 years ago

Hi @deniseBrise ,

Intents alternative is coming in the next release!

If you check hermes-protocol dialogue ontology, you'll notice a new field in the IntentMessage structure labeled alternatives.

The next version of snips-dialogue and snips-nlu will implement this feature.

So stay tuned during next week.

cpoisson commented 4 years ago

Feel free to check version 1.3.0

You should be able to achieve your goal.