Getting No registered action found for name 'action_default_fallback'

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! :sweat_smile:

utter_default:

  • text: “Sorry this is a default message ,didn’t get that please try again!:sweat_smile:

actions:

  • action_default_fallback

@Prakhar333

language: en

pipeline:

  • name: WhitespaceTokenizer
  • name: RegexFeaturizer
  • name: LexicalSyntacticFeaturizer
  • name: CountVectorsFeaturizer
  • name: CountVectorsFeaturizer analyzer: “char_wb” min_ngram: 1 max_ngram: 4
  • name: DIETClassifier epochs: 100 ranking_length: 5 constrain_similarities: true model_confidence: linear_norm
  • name: EntitySynonymMapper
  • name: ResponseSelector epochs: 100 constrain_similarities: true model_confidence: linear_norm

policies:

  • name: MemoizationPolicy

  • name: TEDPolicy max_history: 5 epochs: 100

  • name: RulePolicy

    nlu_threshold: 0.4

    core_threshold: 0.4

    fallback_action_name: “action_default_fallback”


Else, can you share your config.yml file? or copy paste this in config.yml, train and run. delete previous models.

Hope it will solve your issue.