snipsco / snips-issues

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

Feature request: heuristic intent support #181

Closed flatsiedatsie closed 5 years ago

flatsiedatsie commented 5 years ago

Is your feature request related to a problem? Please describe. Currently Snips is built to handle a certain type of complex intent: an intent where a sentence has at least one slot that should be extracted. Snips does this very well.

However, in practice (and you can see this in the app store), there is also a need to create simpler intents.

Take for example the intention of a user to ask for the time:

Or the even simpler command to reboot the Raspberry pi:

Despite my efforts to add as many example sentences as possible (which is hard for a such simple command), currently snips seems to always label such a heuristic intent with a red dot simply because it doesn't have at least one slot. This implies an intention cannot be valid if there is nothing to extract from it.

I think it would be great if Snips could handle intents without slots more elegantly.

What are the use cases of this feature Many commands are basic and short. Having more explicit support for these types will...

Describe the solution you'd like

Describe alternatives you've considered

Additional context It's not related, but I've also created a feature request for wildcard slots. Both of these requests are about diversifying Snips to be able to handle simpler situations well. It's as if Snips was so focused on handling complex voice commands (which you have done beautifully) that handling the simple ones just as well was overlooked a little bit :-)

davidleroy commented 5 years ago

Actually command intents are already supported:

flatsiedatsie commented 5 years ago

You're right, that makes sense. Glad to hear it!