
Python Natural Language Processing Cookbook
By :

In this recipe, we will use a popular chatbot framework, Rasa, to build a default chatbot. In the coming recipes, we will make the chatbot better.
Rasa is an open source deep learning framework for building chatbots. It uses Keras and Tensorflow to implement the model. You can read more about the implementation here: https://blog.tensorflow.org/2020/12/how-rasa-open-source-gained-layers-of-flexibility-with-tensorflow-2x.html.
We will initialize the Rasa framework and use it to build and initialize a default Rasa chatbot and then we will explore its structure. If you haven't already, install the rasa
package:
pip install rasa
After installing the rasa
package, there are new commands available through the Rasa interface. We will use them to create a default chatbot. The steps for this recipe are as follows:
rasa init
Rasa will start and will produce some colorful...