Interactive learning domain error

Rasa 0.14.4 Python 3.7.2

Hello everyone, I use this command : python -m rasa_core.train \interactive -o models/dialogue -d domain.yml -c policy_config.yml -s data/stories.md --nlu models/nlu/default/cvpatbot --endpoints endpoints.yml

I get this error :

C:\Users\asus\Anaconda3\lib\runpy.py:125: RuntimeWarning: ‘rasa_core.train’ found in sys.modules after import of package ‘rasa_core’, but prior to execution of ‘rasa_core.train’; this may result in unpredictable behaviour warn(RuntimeWarning(msg)) usage: train.py default [-h] [–augmentation AUGMENTATION] [–dump_stories] [–debug_plots] [-v] [-vv] [–quiet] [-c CONFIG] -o OUT (-s STORIES | --url URL) -d DOMAIN train.py default: error: the following arguments are required: -d/–domain

I adapt the command :

python -m rasa_core.train \interactive -o models/dialogue -d/–domain domain.yml -c policy_config.yml -s data/stories.md --nlu models/nlu/default/cvpatbot --endpoints endpoints.yml

and get the same error

Can anyone explain it to me how to solve ?

Thanks in advance,

Patrick

Hey Patrick,

the following arguments are required: -d/–domain means you can pass your domain with either -d or --domain. Try this:

python -m rasa_core.train interactive -o models/dialogue -d domain.yml -c policy_config.yml -s data/stories.md --nlu models/nlu/default/cvpatbot --endpoints endpoints.yml

Hello Ella,

Thank you so much. It works.

Have a nice day