# How many stories are needed for a model?

**URL:** <https://forum.rasa.com/t/how-many-stories-are-needed-for-a-model/50235>\
**Category:** Rasa Open Source\
**Created:** [December 22, 2021, 6:40pm UTC](https://forum.rasa.com/t/how-many-stories-are-needed-for-a-model/50235 "2021-12-22T18:40:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonm3](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/simonm3/32/17865_2.png) [@simonm3](https://forum.rasa.com/u/simonm3)\
**Post date:** [December 22, 2021, 6:40pm UTC](https://forum.rasa.com/t/how-many-stories-are-needed-for-a-model/50235/1 "2021-12-22T18:40:52Z")

</div>

The core model that predicts next action presumably trains only on stories. So if I have only 10 stories how can that be enough to train any kind of model? Is there a minimum number of stories required?

I spent some time creating a few short stories. In some cases I followed a story exactly yet the prediction was not the next step in the story but a completely unrelated action. I fixed by creating some new stories using rasa interactive. These are much more complex and quite hard to follow but seem to work! Is the right approach to just fix in rasa interactive and try not to overthink the logic?

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [December 22, 2021, 6:51pm UTC](https://forum.rasa.com/t/how-many-stories-are-needed-for-a-model/50235/2 "2021-12-22T18:51:38Z")

</div>

There isn’t really a specific number.

What I usually do is write [rules which are just a direct intent-to-action link](https://github.com/ChrisRahme/fyp-chatbot/blob/main/data/rules/rules.yml), as well as [rules for forms](https://github.com/ChrisRahme/fyp-chatbot/blob/main/data/rules/rules_form.yml).

For more complicated stuff, I start writing [minimal stories as a few relevant intent-action chain](https://github.com/ChrisRahme/fyp-chatbot/blob/main/data/stories/stories.yml), as well as a bit more complicated [stories for forms](https://github.com/ChrisRahme/fyp-chatbot/blob/main/data/stories/stories_form.yml).

Finally, I use interactive learning to build more [stories based on read conversations](https://github.com/ChrisRahme/fyp-chatbot/blob/main/data/stories/conversations.yml) until predictions gets good.

Furthermore, don’t forget you can tweak your policies to increase accuracy - I suggest using [Tensorboard with Rasa](https://rasa.com/blog/tensorboard-in-rasa/) to compare pipelines and policies
