Issue in Rasa

@nik202 I am getting the same error

YamlValidationException: Failed to validate ‘C:\Users\Admin\Desktop\Rasa\chatbot_rasa\domain.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation: in C:\Users\Admin\Desktop\Rasa\chatbot_rasa\domain.yml:10: Value ‘[ordereddict([(‘content_type’, ordereddict([(‘type’, ‘text’)]))])]’ is not a dict. Value path: ‘/slots’

I used html tags to new line and refereing the page by giving link

@Kushala I can bet on the file that there is some error in it, but check all the syntax again. the above error is related to slots or their variable.

What is your front end?

Is this method working?

yeah now buttons are working in rasa shell ,i missed to map that in stories.yml file @nik202

for webiste purpose so i designed web page and bot in it , how to integrate buttons to front end

@Kushala first you need to close this yml issue please as button integration is not related to the main post. Thanks

@Kushala I hope all your issues are now sorted after the discussion.

  1. You are able to integrate ros with botfront and able to chat with bot.
  2. You are now able to see the buttons for doctor and hr as your use-case required. Some pointers to remember.

domain.yml

intents:
- yes
- no

utter_feedback:
    - buttons:
        - payload: /yes
          title: yes
        - payload: /no
          title: no
      text: are you happy with the response? 

stories.yml

- story: menu
    steps:
      - intent: consulation # here you can use any intent with sets of examples
      - action: utter_menu
      - action: utter_feedback

For every response if you want to mention feedback you have to mention -action: utter_feedback Train and run this command: rasa run -m models --enable-api --cors "*" --debug

I would recommend please see all the videos which I recommended you and the course.

Good Luck!!

Thanks for the support ,everything is working fine. @nik202 :blush: