Rasa_core run doesn't take --interactive argument - Rasa Open Source - Rasa Community Forum
👋 Introducing the Rasa Playground
Rasa_core run doesn’t take –interactive argument
post by leonardoaii71 on Sep 8, 2018
rasa_core version: 0.11.3
Hello, I migrated to the last version of rasa_core and I am trying to use interactive learning. I’m using the command from http://rasa.com/docs/core/0.11.2/interactive_learning/
python -m rasa_core_sdk.endpoint --actions actions&
python -m rasa_core.run \
--interactive -d models/dialogue \
--stories-out stories_interactive.md \
-u models/default/nlu
But I get:
C:\Users\Leonardo\Documents\GitHub\starter-pack>python -m rasa_core.run --interactive -d models/dialogue --stories-out stories_interactive.md -u models/default/nlu
usage: run.py [-h] -d CORE [-u NLU] [-p PORT] [--auth_token AUTH_TOKEN]
[--cors [CORS [CORS ...]]] [-o LOG_FILE]
[--credentials CREDENTIALS] [--endpoints ENDPOINTS]
[-c {cmdline,facebook,slack,telegram,mattermost,twilio,rasa,botframework,rocketchat,callback,rest}]
[--enable_api] [-v] [-vv] [--quiet]
run.py: error: unrecognized arguments: --interactive --stories-out stories_interactive.md
post by adrianhumphrey111 on Sep 8, 2018
They need to change the documentation. it is this now:
python -m rasa_core.train --online -d models/dialogue/domain.yml -s data/stories.md -u models/nlu/default/current/ -o models/dialogue --epochs 200
post by adrianhumphrey111 on Sep 9, 2018
So first you need to have a trained dialogue model and a trained nlu model. This runs the rasa_core run script. It passes it the online flag. The -d is the path to your domain file, -s is the path to your training data, -u is the directory to your nlu model, and -o is the directory to your dialogue model. This will start the script and allow you to train it online, the dialogue is being trained and not the nlu, so if you are having problems with the correct intents being picked up, you need to add more training data to your nlu and retrain your nlu.
This only trains the dialogue model.
post by akelad on Sep 10, 2018
It’s updated in the master version of the docs: https://rasa.com/docs/core/master/interactive_learning/
post by enryh on Sep 19, 2018
But not deployed, as it seems: https://rasa.com/docs/core/interactive_learning/
(Should an issue be raised on github issues?)
post by akelad on Sep 19, 2018
nope, you’re looking at the docs for 0.11.3, it’s fixed on the master version of the docs: https://rasa.com/docs/core/master/interactive_learning/
post by enryh on Sep 19, 2018
okay. But 0.11.3 is out there?! Should it not be under core then? I navigated from the main page to a documentation I installed which is wrong. So it will only be fixed “stable” on the next release?
post by akelad on Sep 19, 2018
well, the docs you click on are always the docs of the latest stable version. in any case, we’ve released a minor Core version, so the correct docs show up now.