# Ted policy predicting wrong action

**URL:** <https://forum.rasa.com/t/ted-policy-predicting-wrong-action/46503>\
**Category:** Rasa Open Source\
**Created:** [August 4, 2021, 1:15am UTC](https://forum.rasa.com/t/ted-policy-predicting-wrong-action/46503 "2021-08-04T01:15:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccloud](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@ccloud](https://forum.rasa.com/u/ccloud)\
**Post date:** [August 4, 2021, 1:15am UTC](https://forum.rasa.com/t/ted-policy-predicting-wrong-action/46503/1 "2021-08-04T01:15:30Z")

</div>

hi i keep getting bugs when running my chatbot. once i retrain it with the same data (i just delete the latest model so it can be retrained with no changes), it gives the same error but with different intents

in my stories for example i write:

> - story: acad path steps:
> - intent: academics
> - action: utter\_affirm
> - action: utter\_sub\_category

and when i run it: rasa run --debug:

**2021-08-04 09:04:37 DEBUG rasa.core.processor - Received user message ‘/academics’ with intent ‘{‘name’: ‘academics’, ‘confidence’: 1.0}’ and entities ‘[]’**

**2021-08-04 09:09:48 DEBUG rasa.core.policies.ted\_policy - TED predicted ‘utter\_im\_upbot’ based on user intent.**

it predicts a different action. when i retrain it gives wrong action but sometimes with other intents

---

<div class="post-metadata">

**Author:** ![dakshvar22](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dakshvar22/32/3993_2.png) [@dakshvar22](https://forum.rasa.com/u/dakshvar22)\
**Post date:** [August 4, 2021, 7:20am UTC](https://forum.rasa.com/t/ted-policy-predicting-wrong-action/46503/2 "2021-08-04T07:20:35Z")

</div>

@ccloud It’s hard to debug the problem with access to only one story. Are there any other stories where `utter_im_upbot` is the next action after intent `academics`?

---

<div class="post-metadata">

**Author:** ![anshal](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@anshal](https://forum.rasa.com/u/anshal)\
**Post date:** [August 25, 2022, 10:19am UTC](https://forum.rasa.com/t/ted-policy-predicting-wrong-action/46503/3 "2022-08-25T10:19:45Z")

</div>

i am also getting the same type i checked my file i have only use that intent once and performing an action and ted doesn’t perform the utter\_action i choose it perform action\_listen and when i manualy type the payload of the button it is working i check in debug mode it map right intent but performing wrong action @dakshvar22
