Hi, I am trying to create a custom fallback action and executing it I am getting the following error:
No registered Action found for name ‘action_my_fallback’.
Here my confs:
policies.yml policies:
- name: KerasPolicy epochs: 200 max_history: 3
- name: MemoizationPolicy max_history: 3
- name: FormPolicy
- name: “FallbackPolicy” nlu_threshold: 0.5 core_threshold: 0.5 fallback_action_name: ‘action_my_fallback’
domain.yml actions:
- action_my_fallback
templates:
utter_default:
- text: “default”
actions.py
class ActionMyFallback(Action): def name(self): # type: () -> Text return “action_my_fallback”
def run(self, dispatcher, tracker, domain):
dispatcher.utter_message("Asking question")
return [ActionReverted()]
I also tried returning UserUtteranceReverted
Rasa Core version: 0.13.2 Python 3.6
Thanks