2 Building your first conversational AI

This chapter covers

  • Identifying the intent and entity in a single user utterance
  • Implementing a question-and-answer dialogue for a recognized intent
  • Adding contextual information to answers when an entity is recognized
  • Implementing a multiple-question process flow to satisfy a user request

In chapter 1, we learned about what AI assistants are and why people use them, and saw some examples of AI assistants that we encounter every day. In this chapter, you will learn how they work, and you will build an assistant from the ground up. We will work through a case study for a retail company looking to build its first conversational AI.

The first thing assistants need to do is recognize what a user’s utterances ...

Get Conversational AI 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.