Just as the page https://rasa.com/docs/core/quickstart/
Of course you want your bot to understand real language, not just structured input.An interpreter is responsible for parsing messages. It performs the Natural Language Understanding (NLU) and transforms the message into structured output. In this example we are going to use Rasa NLU for this purpose.1) Here we first add nlu_config.yml file as following:
In Rasa NLU, we need to define the user messages our bot should be able to handle in the Rasa NLU training data format.
language: en
pipeline: tensorflow_embedding
2) Then we add another intent bye to the following three files
trainingData.md3) We created a Makefile, including make train and make run.
stories.md
domain.yml
a) make train
b) make run
The detailed commands are :
train:
$(PYTHON) -m rasa_nlu.train -c nlu_config.yml --data trainingData.md -o models --fixed_model_name nlu --project current --verbose
run:
$(PYTHON) -m rasa_core.run -d models/dialogue -u models/current/nlu
The GitHub link is https://github.com/chaowu2009/sample_chatbot_RASA