Retrieval action and default fallback

Hi everyone, I was trying the retrieval actions for the FAQs and had the following stories for that:

Story 1

  • faq
    • slot{“registered”:true}
    • respond_faq

Story 2

  • faq
    • slot{“registered”:false}
    • action_default_fallback

Got the correct FAQ response only once after that just got fallback responses for the FAQs. So, what should be done in order to get correct responses ? Any solution or workaround for this problem ?

Thanks

Try to replace action_default_fallback by another custom utter or action, because as the documentation says, it “Undos the last user message (as if the user did not send it and the bot did not react)”. Therefore, it may be messing with your tracker and causing not responding correctly.

@GeovanaRamos thanks for the suggestion!

I have another doubt related to retrieval actions. In case we have nlu training data containing same keywords in faq intent & in some normal intent and the user enters that keyword (present in both the intents), the bot always predict only one intent with high confidence and thus respond according to that intent. So, how to handle such confusion/ambiguity in intents ?

Thanks