# Stories are not working

**URL:** <https://forum.rasa.com/t/stories-are-not-working/53346>\
**Category:** Rasa Open Source\
**Created:** [May 23, 2022, 4:42pm UTC](https://forum.rasa.com/t/stories-are-not-working/53346 "2022-05-23T16:42:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkshaySingh-DS](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshaysingh-ds/32/20647_2.png) [@AkshaySingh-DS](https://forum.rasa.com/u/AkshaySingh-DS)\
**Post date:** [May 23, 2022, 4:42pm UTC](https://forum.rasa.com/t/stories-are-not-working/53346/1 "2022-05-23T16:42:52Z")

</div>

My organisation is planning to adopting the rasa. Currently I’m learning RASA. So this query might be silly but I’m struggling from one and half weeks, while creating the stories. I’m just using very simple toy dataset like stories to make my hands dirty with RASA framework.

But while executing the stories my stories are not working as I fed in model. When I test it first time stories are working correctly as I made, but after in 2nd attempt for same story when I’m writing to shell CLI , then It’s taking the response/actions of another stories. Which is completely wrong.

Could you guys please help me where I’m doing the mistakes. I tried everything from my end but couldn’t be able to find out the real reason behind this.

I’m attaching some screenshots of my stories as well as the debugging images.

 ![Stories](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/e/3/e3a0226d5029a0203f6d94ef9103700e601906c7.jpeg)

 ![debug1](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/d/0/d0740275f93799bcdfaa7c817ebf98a7c4937ad6.jpeg) ![debug2](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/0/e/0e0de4f7a9c37d15df3ea00c0bfea21508914fb1.jpeg)wmIY4EM2446dEMkS7HPVrQXAK.jpeg)

---

<div class="post-metadata">

**Author:** ![utsuk.prani](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/utsuk.prani/32/8192_2.png) [@utsuk.prani](https://forum.rasa.com/u/utsuk.prani)\
**Post date:** [May 25, 2022, 11:11am UTC](https://forum.rasa.com/t/stories-are-not-working/53346/2 "2022-05-25T11:11:10Z")

</div>

hi @AkshaySingh-DS it’s not very clear from your attachments what you are trying to achieve ? i assume you are referring to the scenario where user responses with a “no” on being asked “Did that help you” ?? And in this case I see it responded with some action related to ssh that you have configured.

Can you describe the flow clearly and attach the --debug output ? Also you stories.yml is not clear.

---

<div class="post-metadata">

**Author:** ![AkshaySingh-DS](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshaysingh-ds/32/20647_2.png) [@AkshaySingh-DS](https://forum.rasa.com/u/AkshaySingh-DS)\
**Post date:** [June 8, 2022, 6:06am UTC](https://forum.rasa.com/t/stories-are-not-working/53346/3 "2022-06-08T06:06:20Z")

</div>

Hi @utsuk.prani, Sorry, let me also provide the actual stories.yml.

Bye the way rasa is not following the stories which I’ve designed, let me show you the debug output too, However I fixed the above issue by making the changes in config.yml file, I changed the max\_history = 30, and augmentation\_factor = 0 in MemoizationPolicy (this solution I found in forum), then above stories worked as the conversation I have designed.

But after creating the one more story again, things are messed up and I’m getting the same issue again, It is identifying the intent properly but why it is giving the response for another stories i.e. It is not following the stories conversation.

---

<div class="post-metadata">

**Author:** ![AkshaySingh-DS](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshaysingh-ds/32/20647_2.png) [@AkshaySingh-DS](https://forum.rasa.com/u/AkshaySingh-DS)\
**Post date:** [June 8, 2022, 6:13am UTC](https://forum.rasa.com/t/stories-are-not-working/53346/4 "2022-06-08T06:13:56Z")

</div>

![Screenshot 2022-06-08 at 11.40.51 AM](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/b/3/b3601544ffb7448ff199a116637eb0934bb31d0f.jpeg)

Above is the demo stories.yml I’ve. Issue is coming while adding the third story.

---

<div class="post-metadata">

**Author:** ![AkshaySingh-DS](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshaysingh-ds/32/20647_2.png) [@AkshaySingh-DS](https://forum.rasa.com/u/AkshaySingh-DS)\
**Post date:** [June 8, 2022, 6:15am UTC](https://forum.rasa.com/t/stories-are-not-working/53346/5 "2022-06-08T06:15:04Z")

</div>

![Screenshot 2022-06-08 at 11.41.54 AM](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/0/2/027b7e63929f9ab029046149c730ebf5a984a4b0.jpeg)

This is the complete demo Stories.yml while I have.

---

<div class="post-metadata">

**Author:** ![AkshaySingh-DS](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshaysingh-ds/32/20647_2.png) [@AkshaySingh-DS](https://forum.rasa.com/u/AkshaySingh-DS)\
**Post date:** [June 9, 2022, 3:48am UTC](https://forum.rasa.com/t/stories-are-not-working/53346/6 "2022-06-09T03:48:35Z")

</div>

I fixed the above issue by making max\_history = 40 in memoizationPolicy.

But I wanna understand the real concept behind it, like I went through the docs of policies but I didn’t understand the max\_history and Augmentation\_factor.

Could any one please explain me in a layman terms what is it ?
