# Did you mean 'nlu\_fallback'? | two stage fallback Rasa 2.0.0

**URL:** <https://forum.rasa.com/t/did-you-mean-nlu-fallback-two-stage-fallback-rasa-2-0-0/36119>\
**Category:** Rasa Open Source\
**Created:** [October 21, 2020, 7:06am UTC](https://forum.rasa.com/t/did-you-mean-nlu-fallback-two-stage-fallback-rasa-2-0-0/36119 "2020-10-21T07:06:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dev/32/12104_2.png) [@dev](https://forum.rasa.com/u/dev)\
**Post date:** [October 21, 2020, 7:06am UTC](https://forum.rasa.com/t/did-you-mean-nlu-fallback-two-stage-fallback-rasa-2-0-0/36119/1 "2020-10-21T07:06:18Z")

</div>

Hello!

After using Rasa 1.10.X for a while, I’ve moved to Rasa 2.0.0. One thing that is confusing me is the nlu\_fallback intent.

As far as I understand, the NLU will predict an nlu\_fallback intent with a confidence of 1.0 for any message which does not meet the confidence threshold. Unfortunately, as the predicted intent is nlu\_fallback, the default\_ask\_affirmation actions always asks “Did you mean ‘nlu\_fallback’?”.

It seems to me that the new way of triggering a fallback has broken the two stage fallback. Is there something I’m doing wrong? I want it to suggest whichever of my intents has the highest confidence, not the nlu\_fallback intent.

How can I fix this issue? Is it possible to get the next highest confidence intent with a custom action, to override default\_ask\_affirmation?

Thank you

---

<div class="post-metadata">

**Author:** ![arneverster](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arneverster/32/9376_2.png) [@arneverster](https://forum.rasa.com/u/arneverster)\
**Post date:** [November 6, 2020, 11:45am UTC](https://forum.rasa.com/t/did-you-mean-nlu-fallback-two-stage-fallback-rasa-2-0-0/36119/2 "2020-11-06T11:45:26Z")

</div>

Same question here.

So I’m using a custom action\_default\_ask\_affirmation, and so to map to the correct intent I just get the intent that ranked second highest instead of the one that actually was selected, which is nlu\_fallback.

` last_intent_name = tracker.events[-1]['parse_data']['intent_ranking'][1]['name']`

---

<div class="post-metadata">

**Author:** ![dev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dev/32/12104_2.png) [@dev](https://forum.rasa.com/u/dev)\
**Post date:** [November 12, 2020, 9:32am UTC](https://forum.rasa.com/t/did-you-mean-nlu-fallback-two-stage-fallback-rasa-2-0-0/36119/3 "2020-11-12T09:32:32Z")

</div>

Okay, I just opened an issue on Github for this: [Two-stage fallback always asks "Did you mean 'nlu\_fallback'?" instead of the highest confidence user-defined intent · Issue #7251 · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/issues/7251)

---

<div class="post-metadata">

**Author:** ![bayesianwannabe](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bayesianwannabe](https://forum.rasa.com/u/bayesianwannabe)\
**Post date:** [December 18, 2020, 11:34am UTC](https://forum.rasa.com/t/did-you-mean-nlu-fallback-two-stage-fallback-rasa-2-0-0/36119/4 "2020-12-18T11:34:23Z")

</div>

Hey,

I wonder if some other guideline was already presented anywhere besides making the tracker point to the previous intent. Did you guys discovered more workarounds regarding this?

The official documentation do mention the option about customizing the fallback actions but is not so specific regarding some of the right parametrization of the FallbackClassifier component or something on the RulePolicy.

My goal is to reproduce something as presented in this link (with customized answers for the top 1 intent in terms of confidence, even if lowest than the threshold):

> **[Open source Two Stage Fallback Policy with Rasa NLU and Rasa Core](https://blog.rasa.com/failing-gracefully-with-rasa-core/)**
>
> Guideline on how to use the two stage fallback Policy in Rasa Stack, an open source library for natural langauge understanding and dialog management.

---

<div class="post-metadata">

**Author:** ![dev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dev/32/12104_2.png) [@dev](https://forum.rasa.com/u/dev)\
**Post date:** [February 19, 2021, 12:42pm UTC](https://forum.rasa.com/t/did-you-mean-nlu-fallback-two-stage-fallback-rasa-2-0-0/36119/5 "2021-02-19T12:42:39Z")

</div>

Finally fixed by [correctly retrieve intent ranking from useruttered event by amn41 · Pull Request #7622 · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/pull/7622) 🎉

---

<div class="post-metadata">

**Author:** ![ermarkar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ermarkar/32/13716_2.png) [@ermarkar](https://forum.rasa.com/u/ermarkar)\
**Post date:** [March 10, 2021, 6:35am UTC](https://forum.rasa.com/t/did-you-mean-nlu-fallback-two-stage-fallback-rasa-2-0-0/36119/6 "2021-03-10T06:35:25Z")

</div>

can you solve this [Fall back policy is not working](http://forum.rasa.com/t/fall-back-policy-is-not-working/41059)
