This is a simple AI bot made with nodejs, web speech api and dialogflow
This is how this web app works:
- Using the Web Speech API’s SpeechRecognition interface to listen your voice from a microphone.
- Send your message to dialogflow agent (the natural language processing platform) as a text string.
- Once the AI from the agent returns the reply text back, use the SpeechSynthesis interface to give it a synthetic voice.