Echo Dot (3rd Gen) - Smart speaker with Alexa - Charcoal

Use your voice to play a song, artist, or genre through Amazon Music, Apple Music, Spotify, Pandora, and others. With compatible Echo devices in different rooms, you can fill your whole home with music.

Buy Now

Wireless Rechargeable Battery Powered WiFi Camera.

Wireless Rechargeable Battery Powered WiFi Camera is home security camera system lets you listen in and talk back through the built in speaker and microphone that work directly through your iPhone or Android Mic.

Buy Now

Get started with building ChatBOTs

0
207


Vinay Somawat

Task: Build a pizza ordering bot for YoYo Pizza!

Build a chatbot which can help users with the Pizza Ordering. Imagine what the user flow would look like in an actual store; All the orders generated on the Bot should get stored in a database.
The bot should support the following use-cases:

To build a chatBot we need three platforms:

  1. Dialogflow: It will have all the source code including user input and bot response.

2. Firebase Database: Firebase is the realtime database for ChatBot. All the order from chats is stored in firebase database.

3. Google Action console: It will help to run and test our application.

Step 1:
Go to Dailogflow console. It has Intents, entities, and Fulfillment.

Intents: Intents are list of functions which will run one by one and gives responses to the user and take text/value response from the user.
Entities: Entities are a list of value/text which needs to take from user and store in the database.
Fulfillment: Fulfillment contains editable source code. It will perform saving data to the database and reading data from database functions.

Step 2:
Enable webhook in each intent and edit the fulfillment source code and go to firebase console.

Step 3:
Write the save to the database and read from the database code.

And test the app in google action console.

Finally, Deploy it and submit for review.

Source Code: https://github.com/vinaysomawat/Pizza-Ordering-ChatBot

~Vinay Somawat



Read More

LEAVE A REPLY

Please enter your comment!
Please enter your name here