Hi All, I am making a chatbot using Rasa. I want to enable my bot to give suggestions in case of low confidence score detected. How can I do it?
Please suggest.
Thanks and Regards, Mukund
Hi All, I am making a chatbot using Rasa. I want to enable my bot to give suggestions in case of low confidence score detected. How can I do it?
Please suggest.
Thanks and Regards, Mukund
Hello @mukund840
Can you get any solution for this ?
Hello @mukund840. You can use Fallback Actions for this.
Hello @j.mosig,
can you explain how to use fallback action for this?
Well, as it says in the docs, you define the action you want the bot to take if scores are low, say action_default_fallback
, and then you add the fallback policy in the domain file like this:
policies:
...
- name: "FallbackPolicy"
nlu_threshold: 0.4
core_threshold: 0.3
fallback_action_name: "action_default_fallback"
You can adjust the thresholds, of course.
Hope that helps
Two stage fallback policy is what you want: