Facing issue with stories

In my stories file, I have written something like this:

story1

  • intent1
    • utter_ans1
  • intent3
    • utter_ans3
  • intent1
    • utter_ans4

story2

  • intent2
    • utter_ans2
  • intent3
    • utter_ans3
  • intent2
    • utter_ans4

Problem is that, when I am testing the bot, I got this:

User: intent1

Bot: utter_ans1

User: intent3

Bot: utter_ans3

User: intent2

Bot: utter_ans4

So, the last response of the bot should be (utter_ans2), but it is giving me utter_ans4. Anyone knows how to solve it Thanks

Hi @devesh,

In your story, you have given different mappings for same intent and that’s why bot might be confused. Please look at the story, correct it and re-train your bot

story2
* intent2 <---
- utter_ans2
* intent3
- utter_ans3
* intent2 <---
- utter_ans4