# TwoStageFallbackPolicy intent description not working

**URL:** <https://forum.rasa.com/t/twostagefallbackpolicy-intent-description-not-working/22869>\
**Category:** Rasa Open Source\
**Created:** [December 28, 2019, 9:38pm UTC](https://forum.rasa.com/t/twostagefallbackpolicy-intent-description-not-working/22869 "2019-12-28T21:38:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hknajjar0](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hknajjar0/32/6460_2.png) [@hknajjar0](https://forum.rasa.com/u/hknajjar0)\
**Post date:** [December 28, 2019, 9:38pm UTC](https://forum.rasa.com/t/twostagefallbackpolicy-intent-description-not-working/22869/1 "2019-12-28T21:38:54Z")

</div>

Hello there,

I used the example code here:  
[class ActionDefaultAskAffirmation(Action)](https://github.com/RasaHQ/rasa-demo/blob/fd21625c54364e0103766e15cd63091c82b719a9/demo/actions.py#L431)  
[class ActionDefaultFallback(Action)](https://github.com/RasaHQ/rasa-demo/blob/fd21625c54364e0103766e15cd63091c82b719a9/demo/actions.py#L511)

I created an intent\_description\_mapping.csv and placed it in data/ folder. Looks like this:

> ```
> intent,button,entities  
> greet,Hello!,  
> affirm,Yes,  
> deny,Nope,  
> bot_challenge,Are you a bot?,  
> ....  
> 
> ```

However, my bot still outputs this:  
 ![37%20PM](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/f315e9a1364efebcac5d37fd38fd6d50d0445b1c.png)

I ran Rasa with --debug flag:  
\*\*

> There is no mapped action for the predicted intent, ‘bot\_challenge’.

\*\*

What am I missing?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![hknajjar0](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hknajjar0/32/6460_2.png) [@hknajjar0](https://forum.rasa.com/u/hknajjar0)\
**Post date:** [December 29, 2019, 5:11am UTC](https://forum.rasa.com/t/twostagefallbackpolicy-intent-description-not-working/22869/3 "2019-12-29T05:11:46Z")

</div>

Relevant debugger outputs:

```
rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.policies.fallback - NLU confidence 0.15493259930757197 is lower than NLU threshold 0.30.   
rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.policies.two_stage_fallback - User 'fe337b77fcdc4a3ba4ac54abaf1839e2' has to affirm intent 'kenz_watch'.  
rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_3_TwoStageFallbackPolicy  
rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.processor - Predicted next action 'action_default_ask_affirmation' with confidence 1.00.  
rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.processor - Action 'action_default_ask_affirmation' ended with events '['BotUttered(text: Did you mean \'kenz_watch\'?, data: {"elements": null, "quick_replies": null, "buttons": [{"title": "Yes", "payload": "/kenz_watch"}, {"title": "No", "payload": "/out_of_scope"}], "attachment": null, "image": null, "custom": null}, metadata: {})']'  

```

…

> ```
> rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.policies.memoization - There is no memorised next action  
> rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, 'kenz_watch'.  
> rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_3_TwoStageFallbackPolicy  
> rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00.  
> rasa-production_1 | 2019-12-29 05:05:31 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'
> 
> ```

---

<div class="post-metadata">

**Author:** ![hknajjar0](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hknajjar0/32/6460_2.png) [@hknajjar0](https://forum.rasa.com/u/hknajjar0)\
**Post date:** [January 21, 2020, 2:45am UTC](https://forum.rasa.com/t/twostagefallbackpolicy-intent-description-not-working/22869/4 "2020-01-21T02:45:20Z")

</div>

Anyone???

---

<div class="post-metadata">

**Author:** ![varunsapre10](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/varunsapre10/32/6520_2.png) [@varunsapre10](https://forum.rasa.com/u/varunsapre10)\
**Post date:** [January 21, 2020, 9:19am UTC](https://forum.rasa.com/t/twostagefallbackpolicy-intent-description-not-working/22869/5 "2020-01-21T09:19:25Z")

</div>

Hi, @hknajjar0 Can you share your nlu.md file? I have my intents described as following:

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/a/a45ae53b1126848bdc238ab872634ae1000a9742.png)

Do check if your nlu.md file is having proper indentation.
