Rasa intent not recognizing when when its confidence is higher than nlu_fallback

Hello all!

I am trying to add more intents in the nlu.yml file, however, when I add new intents sometimes other intents are not recognized properly and give me nlu_fallback. can this be because there is some limit to a number of intents that can be defined?


  • intent: edit_a_reservation examples: |

    • Edit a reservation
    • edit reservation
    • i want to edit reservation
    • edit
  • intent: res_name examples: |

    • Reservation Name
    • Name

when I add res_name intent, the edit_a_resrevation intent is not recognized even though the confidence is highest.



  • name: SpacyNLP model: en_core_web_sm
  • name: SpacyTokenizer
  • name: SpacyEntityExtractor
  • name: RegexFeaturizer
  • name: SpacyFeaturizer pooling: mean
  • name: CountVectorsFeaturizer analyzer: char_wb min_ngram: 1 max_ngram: 2
  • name: DIETClassifier epochs: 100
  • name: FallbackClassifier threshold: 0.01 ambiguity_threshold: 0.01 policies:

- name: MemoizationPolicy

  • name: RulePolicy

- name: UnexpecTEDIntentPolicy

max_history: 5

epochs: 100

- name: TEDPolicy

max_history: 5

epochs: 100

constrain_similarities: true

assistant_id: 20230508-102803-wise-magnitude

Any help is appreciated! tagging @akelad since I saw you responding in other threads.