Rasa bot working example with Buttons

Hi,

Could Someone please share any github link for full working example of Rasa bot with Buttons. Somehow I am missing something in moodbot example. Intent and slot not being set if i did as below.

utter_ask_domain:
    - text: "which domain You are interested about?"
      buttons:
      - title: "Amendments"
        payload: '/AmendmentDomain{"domain": "Amendments"}'
      - title: "Quarter"
        payload: '/QuarterDomain{"domain": "Quarter"}'
      - title: "Periodic"
        payload: '/PeriodicDomain{"domain": "Periodic"}'

slots:
    domain:
        type: categorical
        values: 
        - Amendments
        - Quarter
        - Periodic

intents:
 - greet
 - goodbye
- DomainSpecifier
 - AmendmentDomain
 - QuarterDomain
 - PeriodicDomain
1 Like

Can some one please be kind enough to share me any examples?

Are you running this on the commandline? If yes, then you need to copy out the payload of the slot for it to work properly

1 Like

Yes…I am running in Command line. COuld you please tell me how the payload should look like in the above case?

as you specified it

1 Like