Out of scope intent not triggered

I have the default stories and an out_of_scope intent in stories.md :

happy path

  • greet
    • utter_greet
  • mood_great
    • utter_goodday

sad path 1

  • greet
    • utter_greet
  • mood_unhappy
    • utter_cheer_up
    • utter_did_that_help
  • affirm
    • utter_goodday

Out of scope

  • out_of_scope
    • utter_outofscope

Now, say hi and then input something that is trained to be out_of_scope, it responds with utter_goodday

User : Hi  (greet)
Bot : Hey! How are you ? (utter_greet) 
User : what is life ? (out_of_scope)
Bot : Good day! (utter_goodday)

Should it not respond with utter_outofscope after the second input ?

This is not the issue with your example. It’s the issue with the ML algorithm. I’m not sure there is a fix to it yet.

Okay, so the expected behaviour is that any intent defined outside the story WILL be triggered if the user inputs something with that intent in the middle of the story. Is that correct ?