question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch between NLU models in Rasa core as we do in rasa nlu.

See original GitHub issue

Similar to #2874 I want to ask, if it is possible to optionally pass a nlu model parameter to rasa core during a request via HTTP API.

In the docs, I can only find the option to set the nlu model in rasa core during the start with the -u parameter:

$ python -m rasa_core.run \
    --enable_api \
    -d models/dialogue \
    -u models/nlu/current \
    -o out.log

But in rasa nlu you can change the model for each request:

$ curl -XPOST localhost:5000/parse -d '{"q":"hello there", "model": "<model_XXXXXX>"}'

Would be nice to have this flexibility in the rasa core HTTP API too.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
neumann-dcommented, Mar 29, 2019

Thank you for the response and this awesome project!

0reactions
neumann-dcommented, May 24, 2019

Seems to be solved since Rasa 1.0. Great work guys!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Switch between NLU models in Rasa core as we do in rasa nlu.
Similar to #2874 I want to ask, if it is possible to optionally pass a nlu model parameter to rasa core during a...
Read more >
How to switch between models in rasa core
I want to switch between project as we do in rasa-nlu by specifying the project name. how is it possible in rasa core...
Read more >
Tuning Your NLU Model - Rasa
Rasa will provide you with a suggested NLU config on initialization of the project, but as your project grows, it's likely that you...
Read more >
Using NLU Only - Rasa
This will look for NLU training data files in the data/ directory and saves a trained model in the models/ directory. The name...
Read more >
NLU Training Data - Rasa
Read more about how to format training data with Rasa NLU for open source natural language processing.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found