Rasa NLU and Rasa Core devs are doing an amazing job improving both of these libraries which results in code changes for one method or another. In fact, since I recorded a Wetherbot tutorial, there were quite a few changes which were introduced to Rasa NLU and Rasa Core. On 30th of August, Rasa v.0.11 was released with a lot of changes under the hood. This repo contains the updated weatherbot code compatible with the latest releases of Rasa Core and Rasa NLU.
The code of this repo differs quite significantly from the original video. This is how to use it:
Training of the NLU model didn't change much from the way it was shown in the video. To train and test the model run:
python nlu_model.py
The biggest change in how Rasa Core model works is that custom action 'action_weather' now needs to run on a separate server. That server has to be configured in a 'endpoints.yml' file. This is how to train and run the dialogue management model:
python -m rasa_core_sdk.endpoint --actions actions
python dialogue_management_model.py
The process of running the interactive session is very similar to training the Rasa Core model:
python -m rasa_core_sdk.endpoint --actions actions
python train_interactive.py
I will do my best to keep this repo up-to-date, but if you encounter any issues with using the code, please raise an issue or drop me a message :)
Latest code update: 25/01/2018
Latest compatible Rasa NLU version: 0.14.1
Latest compatible Rasa Core version: 0.13.0