Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Conversational AI with Rasa

You're reading from  Conversational AI with Rasa

Product type Book
Published in Oct 2021
Publisher Packt
ISBN-13 9781801077057
Pages 264 pages
Edition 1st Edition
Languages
Authors (2):
Xiaoquan Kong Xiaoquan Kong
Profile icon Xiaoquan Kong
Guan Wang Guan Wang
Profile icon Guan Wang
View More author details

Table of Contents (16) Chapters

Preface 1. Section 1: The Rasa Framework
2. Chapter 1: Introduction to Chatbots and the Rasa Framework 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

Understanding the memory of your bot (slots)

The slot is the memory of the chatbot. The slot is represented as a key-value pair, such as city: New York. It records the key information from conversations. The key information can come from a user's input (intents and entities), or from backend systems (for example, the result from a payment action: success or failure). Normally, the information is crucial for the flow of the conversation and will be used by the dialogue management system to predict the next action.

Let's take an example. In a simple application of a weather forecast, the information of location and date is key for the dialogue management system to decide the next action. If the system finds either the location or date missing, it will ask users for the corresponding information until both are present. Then the system will start to query some weather APIs.

Here, the system only cares about whether the location and date slots are filled. It does not care...

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 $15.99/month. Cancel anytime}