Building contextual assistants with Rasa Forms


(Juste) #1

Building contextual assistants with Rasa Forms

Check out our new tutorial on Rasa Forms! Learn how to use them to handle all the happy paths with just one training story! Have you tried Rasa Forms already? Share you experience with us in a thread below! :slight_smile: :rocket:


(JG) #2

I had created a video tutorial based on the @Juste Article which shows how to set up the bot and make it running:

Thanks :slight_smile:


(Srikar) #3

Hi @Juste,

In the below code snippet

* request_restaurant
    - restaurant_form
    - form{"name": "restaurant_form"}
    - form{"name": null}
    - utter_slots_values

Could you please explain the use of form{"name": "restaurant_form"} and also form{"name": null}

Thanks


(akshay) #4

Hi JiteshGaikwad can i integrate rasa with whatsapp? if yes then please provide solution


(JG) #5

I haven’t integrated the rasa bot with Whatsapp yet, but what i know you can do so using twillio.

for example you can relate with this : https://www.twilio.com/blog/build-whatsapp-chatbot-twilio-dialogflow-php


(akshay) #6

Thanks for your reply I will go through the steps.


(krati) #7

Hi @JiteshGaikwad and @Juste @juste_petr

I am getting this error when i train for rasa_core:

Can not access action ‘restaurant_form’, as that name is not a registered action for this domain

do i need to add “restaurant_form” under -actions as well?


(Juste) #8

Hello @rasa5. I couldn’t reproduce the error. Any chance you made some changes to the domain? Also, are you getting the following error when running make train-core ?


(krati) #9

Hi @Juste @juste_petr
“make” command doesn’t run on my cmd, so i ran 2 commands:

1.for train-nlu (which worked perfectly and the NLU model was trained) python -m rasa_nlu.train -c nlu_tensorflow.yml --fixed_model_name current --data data/nlu_data.md -o models --project nlu --verbose

2.train-core(which displayed this error): python -m rasa_core.train -s data/stories.md -d domain.yml -o models/dialogue --debug

Also, i am using rasa-core 0.10.4 rasa-core-sdk 0.12.1 rasa-nlu 0.14.3


(Juste) #10

Ok, so you are using an old version of Rasa Core. This new Form Action is a new addition to the stack so I would suggest you upgrading your Rasa Core to at least 0.12.0


(krati) #12

Hi @Juste

I installed the latest version and implemented form action in my own code . I have one required slot and the bot asks for it, but after receiving the response my bot doesn’t execute submit(). Instead it tries to find a suitable intent for the response.


(Juste) #13

Hi @rasa5. Can you share how your submit function looks like? Also, if your submit function triggers and utterance, are you sure you have it included in your domain?