Building a Rasa Chatbot with Python

Let’s pick up where we left off. After running rasa init, we are provided with the basic files needed to create a chatbot. We can keep the default functionality for now and add our new features on top. While we'll eventually create an educational chatbot, let’s keep it simple for now. In this lesson, we'll create a chatbot that will answer some simple questions about Educative subscriptions.

Creating intents

Recognizing the user’s intent is key. Rasa stores intents in the nlu.yml file in the data directory. By default, Rasa has some basic intents, such as greet , goodbye, affirm and deny. An intent is created by first defining the intent, followed by a few examples of phrases categorized under that intent. The widget below contains a nlu.yml file with a new subscription intent.

Get hands-on with 1200+ tech skills courses.