Analytics Vidhya
Published in

Analytics Vidhya

Best practices to handle FAQ’s and Chitchat in a chatbot powered by Rasa

Photo by Lily Banse on Unsplash

Step by Step guide on how to define FAQs and Chitchats in your Chatbot:-

1. Updating Config file

Rule policy in a config file
faq-retrieval intent
retrieval intent

2. Defining Rules

rules for 2 retrieval intents

3. Making changes to NLU data

4. Updating Responses

defining responses

Perfect you have done great work!

Important Points to Remember

  1. Do not make more than 60–70 retrieves for each retrieval as it can decrease your classification confidence ( Personally experienced ).
  2. Always define more than or equal to 2 retrievals under one retrieval intent otherwise your Response selector won’t train
  3. Make sure you don’t have Rule policy alone in your config file other Policies like MemoizationPolicy and TEDPolicy are also included.


If you did a clap 👏 would be awesome but

Combination of clap ,follow and share would be AMAZINGLY AWESOME 🔥 🔥 🔥



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