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

Can Rasa_core connect multiple Rasa_nlu #2051

Closed
Tenglu opened this issue Apr 12, 2018 · 6 comments
Closed

Can Rasa_core connect multiple Rasa_nlu #2051

Tenglu opened this issue Apr 12, 2018 · 6 comments

Comments

@Tenglu
Copy link

Tenglu commented Apr 12, 2018

Rasa Core version: 0.8.5

Python version: Python 3.6

Operating system (windows, osx, ...): Windows 10

Hi,
I am wondering if a Rasa_core can connect multiple rasa_nlu? In my scenario, there are tens of intents. I think it may be better to classify intents to categories and each rasa_nlu for a category. And there is one center rasa_nlu that is to decide which domain it is, and then pass to the specific rasa_nlu. I just think it may can improve the accuracy. Is that possible to achieve? Or is one rasa_nlu can handle tens of intents? Thank you.

@akelad
Copy link
Contributor

akelad commented Apr 13, 2018

Yes that number of intents should be no problem with one NLU model. As long as you have enough training examples and the intents aren't too easily confused. You can use the evaluate script to test how well your model is doing https://nlu.rasa.com/evaluation.html

@amn41
Copy link
Contributor

amn41 commented Apr 13, 2018

If you really want to do this, though, you can. You just have to subclass the Interpreter class, creating something like a MetaRasaNLUInterpreter

@Tenglu
Copy link
Author

Tenglu commented Apr 14, 2018

@akelad So Theoretically, rasa_nlu can handle even more than one handred intents as long as I have enough training examples and intents are not too easily confused, right?

@Tenglu
Copy link
Author

Tenglu commented Apr 17, 2018

@akelad @amn41 Can I ask if you we need to handle handreds of intents, can we use single rasa_nlu to train? Or is there a better solution? Thank you.

@akelad
Copy link
Contributor

akelad commented Apr 17, 2018

If there's hundreds of intents, then it'd probably be better to have multiple nlu models and use them according to the use case you're currently dealing with.

@tmbo
Copy link
Member

tmbo commented May 14, 2018

I'll close this for now, please let us know if you have any further questions.

@tmbo tmbo closed this as completed May 14, 2018
@tmbo tmbo transferred this issue from RasaHQ/rasa_core Mar 21, 2019
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

4 participants