Chatbots
Last updated
Last updated
- Use Dialogflow for chatbots
Guide:
Here is the
After creating the intent add training phrases and activate webhook fulfilment (this is required to check if allready a user exists for this profile):
To start it makes sense to implement all fulfillments in one webhook on firebases. Later for more complex logic it is adviced to move this logic to it's own webhooks that are then called from the fulfillment webhook. For more details see the later section.
"we highly recommend that you use the Node.js client library to process requests and return responses"
First build a webhook with a fullfilment router
with answers: "Hi I am your personal trainer, let me advice you on your health. I can currently calculate your BMI, store the BMI and advices you on your BMI."
Do the same for the update_bmi intent (training phrase: My hight is 177 cm, I weigh 80 kg and my birthday is 19.12.1987). How to handle partial dates ()
Setup Firebase ()
Guide:
Sample: