This post is the follow-up of “Integrating Rasa with graph databases”. In this tutorial, you will learn in detail about knowledge bases and how you can set one up. You will also learn how you can use the data from your knowledge base to improve your NER.

Let’s quickly recap what challenges you will be able to solve when using knowledge bases:

  1. Answer questions of the user that require domain knowledge, such as, “What account do I have more money on?”.
  2. Resolve references to previously mentioned entities, such as “What is the headquarters of the first bank you just mentioned?”…


Knowledge bases: Encode domain knowledge and resolve entities in Rasa

In this tutorial, you will learn about:

  • How you can use knowledge bases to bring your assistant’s understanding to the next level.
  • The kinds of knowledge bases and what challenges you can solve using them.
  • And, find out how to query knowledge bases from within your custom actions.

In a separate tutorial, you can also learn how to set up your own knowledge base.

UPDATE:
We added Knowledge Base Actions to Rasa. Try it out and share your feedback on the Rasa Community Forum.

Example
A contextual assistant that can shine with informed responses about, for example, any bank in Germany…


This post is the follow-up of “Integrating Rasa with graph databases”. In this tutorial, you will learn in detail about knowledge bases and how you can set one up. You will also learn how you can use the data from your knowledge base to improve your NER.

Let’s quickly recap what challenges you will be able to solve when using knowledge bases:

  1. Answer questions of the user that require domain knowledge, such as, “What account do I have more money on?”.
  2. Resolve references to previously mentioned entities, such as “What is the headquarters of the first bank you just mentioned?”…

Tanja Bergmann

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store