Bot not working for 1 utterance after form runs successfully

Hello RASA family I need help with my bot it works perfectly fine until it runs forms successfully it doesn’t recognize the “Hi” and gives a fallback utterance but only for once when I say “Hi” again it recognizes

Hi @rishabshalla. Can you please share your domain, NLU training data, and stories?

domain.yml (11.8 KB) nlu.yml (9.6 KB) stories.yml (3.7 KB)

Are you talking about your Activate Form story which calls the contact_form?

I haven’t tried to fire this up but looking quickly, your story here -

- story: Activate form
  steps:
  - intent: contact_us
  - action: contact_form
  - active_loop: contact_form

should also have - active_loop: null at the end

Same for this story

  steps:
  - intent: contact_us
  - action: contact_form
  - active_loop: contact_form
  - intent: stop
  - action: utter_ask_continue
  - intent: yes
  - action: contact_form
  - active_loop: contact_form

Not sure if that will help, but if you add those lines, at least then the form’s end is getting detected.

Without that - active_loop: null Rasa hasn’t trained on the form ending there. That may cause the scenario you described where the form was done but it wasn’t detecting your hi (/ greet) intent

1 Like