# Predicted Action is Incorrect

**URL:** <https://forum.rasa.com/t/predicted-action-is-incorrect/39919>\
**Category:** Rasa Open Source\
**Created:** [February 7, 2021, 11:24am UTC](https://forum.rasa.com/t/predicted-action-is-incorrect/39919 "2021-02-07T11:24:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanzar](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@tanzar](https://forum.rasa.com/u/tanzar)\
**Post date:** [February 7, 2021, 11:24am UTC](https://forum.rasa.com/t/predicted-action-is-incorrect/39919/1 "2021-02-07T11:24:47Z")

</div>

My bot can correctly identify Intent but cannot predict action based on intent sometimes. It predict next action based on policy\_1\_TEDPolicy but the action is incorrect. What is the best way to resolve it?

---

<div class="post-metadata">

**Author:** ![j.mosig](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/j.mosig/32/3588_2.png) [@j.mosig](https://forum.rasa.com/u/j.mosig)\
**Post date:** [February 8, 2021, 8:37am UTC](https://forum.rasa.com/t/predicted-action-is-incorrect/39919/2 "2021-02-08T08:37:56Z")

</div>

Hello @tanzar

You need sufficient training data for TED to learn what to do when. That is, you have to write enough [stories](https://rasa.com/docs/rasa/stories).

If you have only a few stories, but many actions, you may also need to increase the number of training episodes.

If you use the Memoization policy instead of TED, it should exactly follow the stories that you provide, but it won’t generalise. Alternatively, if a certain action should _always_ follow from a certain intent (no matter where in the dialogue), then you should define a [rule](https://rasa.com/docs/rasa/rules) for that.
