Chapter 7: Building Chatbots
In this chapter, we will build chatbots using two different frameworks, the nltk.chat
package and the Rasa framework. The first recipe talks about the nltk.chat
package, where we build a simple keyword matching chatbot, and the rest of the chapter is devoted to Rasa. Rasa is a complex framework that allows the creation of very sophisticated chatbots, and we will have a basic introduction to it. We will build a default bot using Rasa, and then we will modify it to do simple interactions.
Here is the list of this chapter's recipes:
- Building a basic chatbot with keyword matching
- Building a basic Rasa chatbot
- Creating question-answer pairs with Rasa
- Creating and visualizing conversation paths with Rasa
- Creating actions for the Rasa chatbot