I am working on a project. I have created a chatbot with rasa open source. However, I not able to use fallback policy properly.
I have used out_of_scope but it doesn’t serve well. I would be grateful if the chatbot can return the unknown answer with a specific answer like "Sorry, couldn’t understand that! can you rephrase.
There is not complete tutorial on that. I am wondering why nlu.yml is not touched there, Fallback and Human Handoff
Basically, Stories include multiple conversation paths and patterns (like receiving various info from users) and Rules follow strict behavior (like greeting or asking the user to rephrase)
Here the bot is predicting the user message with the wrong intent. You can use rasa shell nlu to check the confidence of the intent prediction. Based on that you can play with the threshold in config file to meet your needs.
pipeline:
- name: FallbackClassifier
threshold: 0.7 # play with this