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 ...

Get Python Natural Language Processing Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.