How to include **Fallback Policy** in Configuration , domain and action files?

Hi @skjainmiah,

there are several possibilities to achieve this. The most straight forward would be:

- name: FallbackPolicy
   nlu_threshold: 0.45
   ambiguity_threshold: 0.1
   core_threshold: 0.3
   fallback_action_name: 'utter_default_fallback' 

where utter_default_fallback_ represents a defined response in your domain.yml. Simply add that to your config.yml to make things work. Is you can read here, keep in mind that you have to modify the thresholds to your needs. The fallback_action_name can be a represented response or a custom action, registered in your domain.yml, e.g. if you want to the fallback not just utter something.

Did that help?

Kind regards
Julian

1 Like