# Rasa.core.policies.ted\_policy predicting wrong action

**URL:** <https://forum.rasa.com/t/rasa-core-policies-ted-policy-predicting-wrong-action/61895>\
**Category:** Getting Started with Rasa\
**Created:** [May 9, 2024, 4:47am UTC](https://forum.rasa.com/t/rasa-core-policies-ted-policy-predicting-wrong-action/61895 "2024-05-09T04:47:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![superchargez](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/superchargez/32/24187_2.png) [@superchargez](https://forum.rasa.com/u/superchargez)\
**Post date:** [May 9, 2024, 4:47am UTC](https://forum.rasa.com/t/rasa-core-policies-ted-policy-predicting-wrong-action/61895/1 "2024-05-09T04:47:04Z")

</div>

I’m trying rasa with example on [Generating NLU Data (rasa.com)](https://rasa.com/docs/rasa/generating-nlu-data/#splitting-on-entities-vs-intents) and I’ve written appropriate nlu data and domain yml to go along with stories. So, intents and entities (there is only one for now: product) are correctly classified and identified, however, wrong action is being predicted by TEDPolicy.

Even though it says` rasa.core.policies.ted_policy - TED predicted 'utter_migration_ibm' based on user intent.` and intents are correctly classified and entities are also correctly classified and their value is correctly identified then why does Tedpolicy is making wrong prediction?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/e/4/e4d344f0560a33205334b9893034e469e701fae8.png)

in config.yml I’ve only mentioned names of policies

```auto
policies:
 - name: MemoizationPolicy
 - name: RulePolicy
 - name: TEDPolicy
 - name: EnsemblePolicy

```

However I was facing same problem when no policy was explicitly mentioned or uncommented. Please help. I also have “utter\_ask\_migration\_product” and if I don’t mention IBM or dialogflow then that story gets correctly responded to. This means the second one “utter\_migration\_dialogflow” gets ignored and replaced with utter\_migration\_ibm whenever entity is identified.

---

_[View the full topic](https://forum.rasa.com/t/rasa-core-policies-ted-policy-predicting-wrong-action/61895)._
