Uses the Web Speech API’s Speech Recognition interface to listen your voice from a microphone. Sends 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.
-
Socket.io :- Socket.IO is a JavaScript library for realtime web applications. It enables realtime, bi-directional communication between web clients and servers. It has two parts: a client-side library that runs in the browser, and a server-side library for Node.js.
-
UUID :- A UUID (Universal Unique Identifier) is a 128-bit number used to uniquely identify some object or entity on the Internet.
-
@google-cloud/dialogflow :- Dialogflow is a natural language understanding platform used to design and integrate a conversational user interface into mobile apps, web applications, devices, bots, interactive voice response systems, and so on.