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.

Improve rasa command line interface

See original GitHub issue

We 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 the default_config.yml. Now, if you don’t pass a config file to rasa 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:closed
  • Created 4 years ago
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

2reactions
tabergmacommented, May 9, 2019

rasa run and rasa 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.
  • Add a subparser for rasa shell nlu that always starts an NLU interpreter as long as an NLU model is included in the provided model.
1reaction
tmbocommented, May 6, 2019

I think the improved change detection is an improvement which we should tackle separately

Read more comments on GitHub >

github_iconTop 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 >

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