Rasa forms

I am trying to fill the slot from the user utterance using Rasa Forms. But i am not getting it right. I used the below link for reference. can anyone help me out in solving this.


I am getting this circuit breakage.

We need more information. Did you look into the formbot example?

I have attached my stories and actions. This is my FormAction just as it is given in the example.


happy path

  • greet
    • utter_greet
  • request_restaurant
    • restaurant_form
    • form{“name”: “restaurant_form”}
    • form{“name”: null}
    • utter_slots_values
  • thankyou
    • utter_noworries


class RestaurantForm(FormAction):

    def name(self):
        return "restaurant_form"

    def required_slots(tracker):
        return ['seating','feedback']

    def submit(self, dispatcher, tracker, domain):
        dispatcher.utter_template('utter_submit', tracker)
        return []`Preformatted text`

The above mentioned is same as given in the link. I have not yet referred the formbot example

Thank you. I have referred formbot example. :slightly_smiling_face: