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

Many intents #69

Closed
Nainterceptor opened this issue Aug 15, 2018 · 5 comments
Closed

Many intents #69

Nainterceptor opened this issue Aug 15, 2018 · 5 comments

Comments

@Nainterceptor
Copy link

Hello,

I'm looking for an NLU engine for a chatbot project. Firstly, thanks for opensourcing this rust lib !

One sentence seems to be linked to only one intent, is it a kind of limitation, isn't it ?

As an example : "Can you open the door and put light on ?".
Here I've two intents : DoorOpening and PutLightsOn.

Any way to achieve this one ?

Maybe it's easy for Deterministic intent parser but not for probabilistic one, maybe returning all intents with probability and let the app pick one or many (as an example, a strategy may be to take all intents with probability over 90% ?)

Thanks,
Gaël

@adrienball
Copy link
Collaborator

Hello @Nainterceptor ,
Handling multiple intents is definitely in our mid-term roadmap, see this thread on the snips-nlu python repo.
There are actually two features around multiple intents:

  • Handle sentences which contain multiple intents (this is your example)
  • Add an API to get not only the most likely intent, but rather the top n intents. In this case, the input may be about only one (ambiguous) intent.

These two features may turn out to be interconnected, depending on how we decide to move forward.
The ETA for this is around October.

Thanks,
Adrien

@Nainterceptor
Copy link
Author

Nainterceptor commented Aug 17, 2018

Hello, thanks for your answer, I'm subscribing to mentioned thread. I'm closing this one so.

Thanks again for your job 👍

@anand-srinivasan
Copy link

@adrienball - Looks like "Add new parsing apis #724" have been already merged - Any plans to support the same on rust as well?

Thanks,
Anand

@adrienball
Copy link
Collaborator

@anand-srinivasan
This has already been done in #107

@anand-srinivasan
Copy link

@adrienball - Thank You 👍 Are there any plans to include slots as part of all top_n intents in near future or something like adding top_n candidate to Parse method ! Please correct me if i am wrong.

Thanks,
Anand S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants