# Mysteries of RASA stories

**URL:** <https://forum.rasa.com/t/mysteries-of-rasa-stories/13500>\
**Category:** Rasa Open Source\
**Created:** [July 25, 2019, 4:53am UTC](https://forum.rasa.com/t/mysteries-of-rasa-stories/13500 "2019-07-25T04:53:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![reena\_kandari](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@reena\_kandari](https://forum.rasa.com/u/reena_kandari)\
**Post date:** [July 25, 2019, 4:53am UTC](https://forum.rasa.com/t/mysteries-of-rasa-stories/13500/1 "2019-07-25T04:53:30Z")

</div>

see below code of stories with max\_history=3(Memoization) and max\_history=5(Keras) ,I am using augmentation =20 as I have added max stories 20. so my input hi-\>intent1-\>intent2 is working fine and following story 3(memoization) but when input is hi-\>intent1-\>intent3 it still doing action 2(following memoization) as past history is matching to story3. So my doubt is Why not on based on “entity”:“value” it is predicting correct action i.e. action 3?

```
#story1
* greet - utter greet

#story 2                                                                                             
*intent1{"entity":"value"}
 - action 1

#story 3                                                                                               
* greet
 - utter greet
*intent1{"entity":"value"}
 - action 1    
*intent2{"entity":"value"}
- action 2

#story4                                                                                              
*intent3{"entity":"value"}
- action 3

```

```auto
if I change story4 like this:

#story 4

    greet
    utter greet
    intent1{“entity”:“value”}
    action 1
    intent3{“entity”:“value”}
    action 3

then hi->intent1 is not working correctly,as it is predicitng based on Keras and prediciting wrong action, What should I do so that hi->intent1->intent2 and hi->intent1->intent3 both would work fine?

and when I use augmentaion 0 then hi->intent1 is not following any story(no memoization) and predicting entirly based on keras.I am really not following these stories’s story
```

---

<div class="post-metadata">

**Author:** ![reena\_kandari](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@reena\_kandari](https://forum.rasa.com/u/reena_kandari)\
**Post date:** [July 25, 2019, 5:55am UTC](https://forum.rasa.com/t/mysteries-of-rasa-stories/13500/2 "2019-07-25T05:55:01Z")

</div>

Can anyone help me here?

---

<div class="post-metadata">

**Author:** ![reena\_kandari](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@reena\_kandari](https://forum.rasa.com/u/reena_kandari)\
**Post date:** [July 25, 2019, 5:03pm UTC](https://forum.rasa.com/t/mysteries-of-rasa-stories/13500/3 "2019-07-25T17:03:58Z")

</div>

edit:[SOLVED] after using slots it is working fine.Thanks 🙂

---

<div class="post-metadata">

**Author:** ![Beherasaptami](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/beherasaptami/32/8005_2.png) [@Beherasaptami](https://forum.rasa.com/u/Beherasaptami)\
**Post date:** [October 25, 2019, 8:24am UTC](https://forum.rasa.com/t/mysteries-of-rasa-stories/13500/4 "2019-10-25T08:24:26Z")

</div>

hi reena can you tell me how u did it …
