Improve rasa command line interface
See original GitHub issueWe found some issues regarding the command line interface rasa
:
- rasa interactive
rasa interactive
currently trains a stacked model and then executes the interactive learning process. Issues: - You cannot just simple train a core model. You always need to define a valid pipeline in your config file (although you don’t need it), otherwise the training will fail.
- If there are no nlu data, no nlu model can be trained. But, it still tries to use an NLU interpreter later on.
Divide command into rasa interactive
- same as before - and rasa interactive core
- trains only core model, no need to define pipeline.
If it fails to load an nlu model, it should load a regex interpreter (like what rasa interactive core
should do).
- using default config
Before, if you didn’t define a policy configuration, so when you didn’t pass a configuration with
-c
, it just got thedefault_config.yml
. Now, if you don’t pass a config file torasa train core
: - If the
config.yml
doesn’t exist, you just get an error on the config not existing - If
config.yml
exists but doesn’t define policies, you get an error about not having policies defined.
We should add a warning and use the default config again.
Issue Analytics
- State:
- Created 4 years ago
- Comments:25 (25 by maintainers)
Top Results From Across the Web
Command Line Interface - Rasa
The command line interface (CLI) gives you easy-to-remember commands for common tasks. This page describes the behavior of the commands and ...
Read more >rasa/command-line-interface.mdx at main - GitHub
Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more ...
Read more >Important RASA commands - Medium
RASA Cheat Sheet. The following are the most frequently used RASA commands: rasa init. This command is used to create the initial project ......
Read more >How do I interact the rasa assistant from the command line?
So after running rasa init , now you have your project ready, and model has been trained. To get this interface back, in...
Read more >THE RASA MASTERCLASS HANDBOOK - HubSpot
The next generation of AI assistants, that will get to know you better over time ... file and then run the Rasa CLI...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
rasa run
andrasa shell
:rasa run
should always start a server. It does not matter what kind of model is provided. The server can run with all kind of models.rasa shell
runs the bot on the command line, if the model includes a Core model. If just an NLU model is given, an NLU interpreter is started.rasa shell nlu
that always starts an NLU interpreter as long as an NLU model is included in the provided model.I think the improved change detection is an improvement which we should tackle separately