Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Conversational AI with Rasa

You're reading from   Conversational AI with Rasa Build, test, and deploy AI-powered, enterprise-grade virtual assistants and chatbots

Arrow left icon
Product type Paperback
Published in Oct 2021
Publisher Packt
ISBN-13 9781801077057
Length 264 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Xiaoquan Kong Xiaoquan Kong
Author Profile Icon Xiaoquan Kong
Xiaoquan Kong
Guan Wang Guan Wang
Author Profile Icon Guan Wang
Guan Wang
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Section 1: The Rasa Framework
2. Chapter 1: Introduction to Chatbots and the Rasa Framework FREE CHAPTER 3. Chapter 2: Natural Language Understanding in Rasa 4. Chapter 3: Rasa Core 5. Section 2: Rasa in Action
6. Chapter 4: Handling Business Logic 7. Chapter 5: Working with Response Selector to Handle Chitchat and FAQs 8. Chapter 6: Knowledge Base Actions to Handle Question Answering 9. Chapter 7: Entity Roles and Groups for Complex Named Entity Recognition 10. Chapter 8: Working Principles and Customization of Rasa 11. Section 3: Best Practices
12. Chapter 9: Testing and Production Deployment 13. Chapter 10: Conversation-Driven Development and Interactive Learning 14. Chapter 11: Debugging, Optimization, and Community Ecosystem 15. Other Books You May Enjoy

Chapter 6: Knowledge Base Actions to Handle Question Answering

In the previous chapter, we introduced, in detail, the process of using ResponseSelector to handle chitchat and FAQs. This chapter will teach you how to deal with more complex question answering problems: referential resolution and dynamic query. Referential resolution refers to correctly parsing the pronouns (such as it, the first, and the last) into corresponding concrete objects. The dynamic query problem means that the query result might change rapidly. It might be different each time, so it is impossible to use fixed reply content, as we did in the previous chapter.

In this chapter, you will learn how to create a knowledge base that can be used for answering questions. Additionally, you will learn to customize knowledge base actions, learn how referential resolution (mapping a mention to an object) works, and how to create a knowledge base. Finally, you will develop a practical understanding of these concepts with...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image