# What if I type message rather than click button in the ActionDefaultAskAffirmation

**URL:** <https://forum.rasa.com/t/what-if-i-type-message-rather-than-click-button-in-the-actiondefaultaskaffirmation/20050>\
**Category:** Rasa Open Source\
**Created:** [October 19, 2019, 9:58am UTC](https://forum.rasa.com/t/what-if-i-type-message-rather-than-click-button-in-the-actiondefaultaskaffirmation/20050 "2019-10-19T09:58:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rookiebird](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rookiebird/32/7368_2.png) [@rookiebird](https://forum.rasa.com/u/rookiebird)\
**Post date:** [October 19, 2019, 9:58am UTC](https://forum.rasa.com/t/what-if-i-type-message-rather-than-click-button-in-the-actiondefaultaskaffirmation/20050/1 "2019-10-19T09:58:19Z")

</div>

In TwoStageFallbackPolices，if the nlu cofidence is below the threshold, then a button list will be show to the user and let them select the right intent. What if I type the message to the robot rather than click the buttons? I try this and get some results: ![9](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/cbdb240a93224ee4045184e681b852a5e442861c.png)

conversation above like this

**Me** : can you give the some information about LOL?

**robot** : Do you mean…?

1.I want to get information about LOL

2.something else

Type out your message…

**Me:** type my qusetion …

**robot** : I don’t know what are you saying ,can you rephrase it …?（action\_default\_fallback trigger by the TwoStageFallbackPolices because cofidence below nlu threshold）

**Me:** type my qusetion again…

**robot** : I don’t know what are you saying ,can you rephrase it …?（action\_default\_fallback trigger by the TwoStageFallbackPolices because cofidence below nlu threshold）

**Me:** type other qusetion …

**robot** : I don’t know what are you saying ,can you rephrase it …?（action\_default\_fallback trigger by the TwoStageFallbackPolices because the intent confidence of this question still below nlu threshold）

**Me:** type other qusetion …

**robot** : return the right message （the intent confidence of this question over nlu threshold and KerasPolicy take over control!）

After I type my message, the action\_default\_fallback was triggered by the TwoStageFallbackPolices . I keep asking another three question to my robots. However, because these thress message’s intent confidence is below the nlu threshod , the action\_default\_fallback will be triggered again and agin by the TwoStageFallbackPolices until I ask onther question whose intent is over the nlu confidence.

If user keep asking robot some questions whose intent is below the nlu threshold,the TwoStageFallbackPolices will response like the FallbackPolices, which I think is not a good behavior.

---

<div class="post-metadata">

**Author:** ![rookiebird](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rookiebird/32/7368_2.png) [@rookiebird](https://forum.rasa.com/u/rookiebird)\
**Post date:** [October 21, 2019, 1:33am UTC](https://forum.rasa.com/t/what-if-i-type-message-rather-than-click-button-in-the-actiondefaultaskaffirmation/20050/2 "2019-10-21T01:33:51Z")

</div>

I think I find the reason. I need to rewrite ActionDefaultFallback so as to distinguish fallback caused by TwoStageFallbackPolicy and fallback caused by core

---

<div class="post-metadata">

**Author:** ![fakekphan](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@fakekphan](https://forum.rasa.com/u/fakekphan)\
**Post date:** [October 21, 2019, 2:32am UTC](https://forum.rasa.com/t/what-if-i-type-message-rather-than-click-button-in-the-actiondefaultaskaffirmation/20050/3 "2019-10-21T02:32:22Z")

</div>

Maybe you haven’t defined: deny\_suggestion\_intent\_name: “out\_of\_scope” in your policy configuration?

---

<div class="post-metadata">

**Author:** ![rookiebird](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rookiebird/32/7368_2.png) [@rookiebird](https://forum.rasa.com/u/rookiebird)\
**Post date:** [October 21, 2019, 5:09am UTC](https://forum.rasa.com/t/what-if-i-type-message-rather-than-click-button-in-the-actiondefaultaskaffirmation/20050/4 "2019-10-21T05:09:09Z")

</div>

I think it’s the default implementation of the ActionDefaultFallback that cause the problem. If I deny twice in TwoStageFallbackPolicy , ActionDefaultFallback willl be triggered and a UserUtteranceReverted event will be return,which revert my out\_of\_scope intent . So my last executed action contains ActionDefaultAskAffirmation. If my next message is below the nlu confidence , an action\_default\_fallback will be trigger.

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

After action\_default\_fallback,the out\_of\_scope was reverted

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