As a chatbot enthusiast, i strongly beleive that chatbots should interact with us like a natural human. Not a like machine that throws some options at you and ask to choose one.
The whole idea of Natural language processing (NLP) is to be able to converse with machines like we do with our dudes. And a slight extention of this is to be able to talk to them using our voice and not typing.
I dont type and talk to any of my dudes when i meet them in person. We are already having now voice based assistants like Alexa, Siri and Google assistant. Lets now DIY, our own voice based assistant.
Before diving into building the bot, there are few things you need to keep handy
- You must have created an account on Dialogflow
- Node.js installed on your local machine
- ngrok installed on your local machine
Here we are going to build a sample voice bot, which will allow users to order mobiles through google assistant on their phone. The main focus here will be how to connect dialogflow with google assistant and write a webhook for it.