snipsco/snips-nlu

Wildcard entity

calypset opened this issue · 2 comments

Question
I am looking to have an intent that is followed by any entity such as "search Keyword" or "seach for keyword" or "search with keyword", for a keyword that can be any word. I understand we can set 'automatically_extensible' to yes, but nevertheless the probability is lower when adding any keyword. So first how can I return the keyword after the utterances? Is there a way I can return the intent utterance that was identified with the highest probability so that I can find the keyword after that intent utterance? Or more generally how to set a 'unversal', wildcard anything entity like '*'? Thank you kindly.

I believe this item already has been discussed in #845

Decad commented

It would be nice to have explicit match or a way to bias intents, I have the following example.

https://gist.github.com/Decad/e7de645e89e2a66395d7ca560d6be0e0

It would be nice to have a way to force the reminder intents to match with a higher priority than the searchFlights one.