Handling Null intent from NLU

Hi all, I’m trying to handle chitchat messages in my bot. i.e, if the user say let us say “jnndnj”, I want my nlu model to recognize it as a chitchat and to execute a fall back action. To achieve this, my first try has been to use a TwoStageFallback action, that triggered a certain actions by default. Here is my config file.

  # - name: MemoizationPolicy
  # - name: EmbeddingPolicy
  - name: KerasPolicy
  - name: FormPolicy
  - name: TwoStageFallbackPolicy
    nlu_threshold: 0.2
    core_threshold: 0.3
    fallback_nlu_action_name: action_handle_default_fallback
    fallback_core_action_name: action_handle_default_fallback
    deny_suggestion_intent_name: "chitchat" 

However, anytime, the user types in a chichat kind intent, the bot doesn’t always trigger the action_handle_default_fallback and I can see in the logs, a ```None intent`` from rasa nlu`. So my question is how to deal with this Null/None intent ?

Thanks in advance for your responses. Your sincerely.

Hi :smiley: your config is a little wrong - the deny_suggestion_intent_name isn’t used for that, write a story like this instead:

* chitchat
  - action_handle_default_fallback

I recommend reading through Tobias’ blog post if you want to work with this policy.

Hi @MetcalfeTom Thanks for your reply. SO what does ‘fallback_core_action_name’ use for ? Thanks.