I am using rasa-nlu for my project. I am running rasa-nlu using docker. I am using the below command to train the rasa-nlu.
python -m rasa_nlu.train -c config.yml --data project/data/MyModel -o models --fixed_model_name MyProject --project current --verbose
Whenever I am trying to train the rasa-nlu model I getting the following issue:
- /app/rasa_nlu/init.py:12: UserWarning: The ‘rasa_nlu’ package hase been renamed. You should change your imports to use ‘rasa.nlu’ instead.
- RuntimeError: Calling
rasa.nlu.traindirectly is no longer supported. Please use
rasa train nluinstead.
I was not facing the issue earlier while using the same command. I think issue is because of the latest update on 23 April 2019 [Ref. Link: https://rasa.com/docs/nlu/changelog/].
Please help me to resolve this.