When i try to implement 2 stage fallback policy in rasa 2.0 i get this error No registered action found for name ‘action_default_fallback’.
Config.yml policies:
# No configuration for policies was provided. The following default policies were used to train your model.
# If you’d like to customize them, uncomment and adjust the policies.
# See Policies for more information.
-
name: MemoizationPolicy
-
name: MappingPolicy
-
name: TEDPolicy
max_history: 6
epochs: 120
constrain_similarities: true
-
name: RulePolicy
core_fallback_threshold: 0.9
core_fallback_action_name: “action_default_fallback”
enable_fallback_prediction: True
-
name: TwoStageFallbackPolicy
nlu_threshold: 0.9
core_threshold: 0.9
fallback_core_action_name: “action_default_fallback”
fallback_nlu_action_name: “action_default_fallback”
deny_suggestion_intent_name: “out_of_scope”
Domain.yml utter_ask_affirmation:
-
text: “Hey! Did you mean?”
#buttons:
- payload: /name
title: “Name”
- payload: /out_of_scope
title: “Something Else”
utter_ask_rephrase:
- text: “Can you please rephrase your input! ”
utter_default:
- text: “Sorry this is a default message ,didn’t get that please try again!”
actions:
- action_default_fallback