# My rasa stories are mapped to wrong actions

**URL:** <https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136>\
**Category:** Rasa Open Source\
**Created:** [September 3, 2019, 6:47am UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136 "2019-09-03T06:47:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![laks6032](https://avatars.discourse-cdn.com/v4/letter/l/e99b99/32.png) [@laks6032](https://forum.rasa.com/u/laks6032)\
**Post date:** [September 3, 2019, 6:47am UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136/1 "2019-09-03T06:47:42Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/5a66d3b8440be443a7aafffa9852d0ad0584dee8.png)This is my stories.md.

My story goes to the second intent after reaching the affirm step (5th step). I have been trying to identify what is wrong but am not able to do so. Kindly help !! @akelad

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [September 6, 2019, 9:32am UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136/2 "2019-09-06T09:32:54Z")

</div>

what do you mean goes to the second intent? Could you provide some debug logs from your conversation?

---

<div class="post-metadata">

**Author:** ![laks6032](https://avatars.discourse-cdn.com/v4/letter/l/e99b99/32.png) [@laks6032](https://forum.rasa.com/u/laks6032)\
**Post date:** [September 9, 2019, 4:35am UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136/3 "2019-09-09T04:35:41Z")

</div>

I mean to say that after the “affirm\_this” the chatbot goes again to the “utter\_which\_project” step . Even if I replace the the actions after “affirm\_this” with any other normal utter step like “utter\_bye” , it still goes back the “utter\_which\_project” step of the story. I will send the log files.

---

<div class="post-metadata">

**Author:** ![laks6032](https://avatars.discourse-cdn.com/v4/letter/l/e99b99/32.png) [@laks6032](https://forum.rasa.com/u/laks6032)\
**Post date:** [September 9, 2019, 5:36am UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136/4 "2019-09-09T05:36:49Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/8/8edd193214e6b64e3900796173502ed95ddeec6c.png)

@akelad : This is how I have tried to use interactive learning to make my bot follow the same steps as my story, but somehow after the fifth step it doesn’t follow the order even after I have used interactive learning to train my model.

---

<div class="post-metadata">

**Author:** ![laks6032](https://avatars.discourse-cdn.com/v4/letter/l/e99b99/32.png) [@laks6032](https://forum.rasa.com/u/laks6032)\
**Post date:** [September 9, 2019, 10:47am UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136/5 "2019-09-09T10:47:00Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/936fccf1183303ce0a5b9075cdab10a25269ab01.png)

I am not able to understand why ‘entity\_NORP’ is being given although I have not defined it anywhere. Hence I am not able to understand the logs.

Would be kind if you could suggest something on this

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [September 13, 2019, 12:02pm UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136/6 "2019-09-13T12:02:00Z")

</div>

@laks6032 it looks like the confidence of your NLU is super low, so i presume sometimes intents are classified wrong. As for the entities, seems like maybe something extracted by spacy.

Can you maybe share your training data and the config?

---

<div class="post-metadata">

**Author:** ![laks6032](https://avatars.discourse-cdn.com/v4/letter/l/e99b99/32.png) [@laks6032](https://forum.rasa.com/u/laks6032)\
**Post date:** [September 17, 2019, 8:51am UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136/7 "2019-09-17T08:51:38Z")

</div>

@akelad Hey there… I am attaching the config file ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/0/06e56d9db82a5fd53da2f67f537465486ccc4c65.png)

I have a lot of intents in my training data hence not sure of how much I should be attaching here so I am only attaching the data for the concerned intents ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/3/39382e0988566ccea3b983bbf580530d42205d4e.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/f03694864108084952d4ac991ef5a6f77cd166d7.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/2/281ea0807b43398242c5cbcb344dd2d3b87d756d.png)

Please do help…I have been stuck with this issue for the past 2 weeks, have tried almost anything and everything given by people in the community forum but of no use till now.

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [September 19, 2019, 12:11am UTC](https://forum.rasa.com/t/my-rasa-stories-are-mapped-to-wrong-actions/15136/8 "2019-09-19T00:11:32Z")

</div>

do you also have the word `okay` in other intents? If you have a lot of intents and little training data then mispredictions are more likely. Also I just noticed in your logs the action execution fails - did you configure an endpoint for that?
