Buttons + Retrieval Intent leads to fallback

image

Hi! as u can see in the picture above when the button, effect of vaping is pressed, it sends a payload of /faq/effect which in turn triggers action_default_fallback. But it should respond with utter_faq/effect.

Can someone help me with why does this happen and is there any solution to this?

I’m currently using this version so that I can use rasa X image

Stories.yml

version: "2.0"

stories:
- story: beginning
  steps:
  - intent: greet
  - action: utter_greet
  - action: utter_make_choice
  - action: utter_vaping_details
  - checkpoint: check_loop
  - intent: faq
  - action: utter_faq
  - action: utter_asking_if_user_need_more_help
  - checkpoint: check_asked_question

Do you have NLU examples for this intent? Did you implement the below rule?

rules:
  - rule: respond to FAQs
    steps:
    - intent: faq
    - action: utter_faq

@ChrisRahme

- intent: faq/tips_on_quitting_vaping
  examples: |
    - can you give me some tips to quit vaping
    - are there any tips so that I can quit vaping for good?
    - give me tips on quitting vaping
    - tips on quitting vaping
- intent: faq/encouragement
  examples: |
    - can you encourage me?
    - I need some encouragement
    - please do enlight my spirit
    - motivational encouragement
    - give me some motivational quote
    - motivational quote
    - faq/encouragement
- intent: faq/about_me
  examples: |
    - are you a bot?
    - are you a human?
    - am I talking to a bot?
    - am I talking to a human?
    - what are you?
    - what r u
    - faq/about_me

somehow, I did manage to get the button working properly by adding a custom action (action_default_fallback)… I’m not sure myself

Well, you don’t have a faq/effect intent… you should define it.

You’re forcing the bot to parse than intent that it does not understand.