Dynamic search in knowledge base

Hello,

I am building a customer’s account chatbot for a finance application, using Rasa, that answers questions like:

  • What is my balance?
  • Transfer 5€ to newspaper subscription etc.

Now, there are about 500 knowledge base (support) articles in this service. I would like to make Rasa bot able to provide support to users. This can be done, for example, by encoding questions like:

  • How to transfer money?
  • What transfer option are available?
  • I don’t know how to check my transactions history

etc.

My questions are:

  • Is there a more dynamic way to enrich the stories & NLU of Rasa, every time new KB articles are inserted in the database?
  • Is the manual composition of examples the only way for this?
  • Are there any similar use cases?

Thank you, Gerasimos

hi @gerasimos - you could for example use a custom action to search your knowledge base. For example, Sara the demo bot searches our documentation rasa-demo/actions.py at master · RasaHQ/rasa-demo · GitHub

2 Likes