Sometimes such format works and I get responses but sometimes it through the default message

file: nlu.yml

version: "2.0"

nlu:
- intent: name_of_intent
 examples: |
   - example_01
   - example_02
   - example_03
   - example_04

- intent: name_of_intent_sug2
 examples: |
   - suggestion 2 for name_of_intent

- intent: name_of_intent_sug3
 examples: |
   - suggestion 3 for name_of_intent

file_name: domail.yml

intents:
- name_of_intent
- name_of_intent_sug2
- name_of_intent_sug3

responses:
 utter_name_of_intent:
 - text: "suggestion_01"
   buttons:
   - title: "Another Suggestion"
     payload: "/name_of_intent_sug2"

 utter_name_of_intent_sug2:
 - text: "suggestion_02"
   buttons:
   - title: "Another Suggestion"
     payload: "/name_of_intent_sug3"

 utter_name_of_intent_sug3:
 - text: "suggestion_03"
   buttons:
   - title: "Check Related Sighting Ids"
     payload: "/related_sighting_ids"
   - title: "Contact Domain Specialist"
     payload: "/contact_sighting_specialist"

file_name: stories.yml

version: "2.0"
stories:

- story: name_of_intent
 steps:
 - intent: name_of_intent
 - action: utter_name_of_intent

- story: name_of_intent_sug2
 steps:
 - intent: name_of_intent_sug2
 - action: utter_name_of_intent_sug2

- story: name_of_intent_sug3
 steps:
 - intent: name_of_intent_sug3
 - action: utter_name_of_intent_sug3

What do you mean by “default message”? There’s no default message.

Your files look fine. Please give more details about what is happening.

Although make sure the file name is domain.yml not domail.yml as you mentioned.

Almost I’ve 600 intents which are in the given format. I replace name_of_intent with other intent names and examples with other intent examples. For some intent, I’m getting some responses but some are not responding. I used a fallback classifier for the default message, I define it in the rules.yml. so In some cases when I used to trigger the payload button, it responses to the fallback message. But in payload buttons, if you can see I trigger particular intent but still it responses to the fallback message.

Domain file name is domain.yml

Hi @Sargoman and welcome to the forum! Have a great year ahead!

Firstly, I’d recommend to please see this How to ask the question on the forum : How to ask a great question

On you issue, I hope you have provided good amount of training examples in all your intents at least 10 examples each for better model training. If your code is working fine and you are only using payload with the intents then try delete older trained model and re-train and talk to the bot. I hope this can solve your issue, if not then please share some files and some screenshot with us. You can even check the bot/user conversation flow using rasa interactive and can you tell us what is the threshold value for FallbackClassifier in config.yml normally we set the value to 0.4 for default_message.

I hope this will give you idea and solve you issue earliest. Good Luck!

1 Like