Deepgram is offering an amazing AI speech recognition service for multiple languages which can take the user's audio and transform it into text. So why don't we use this to get the user's request and send it back to our system and according to specific keywords with the right algorithm, the system will be able to identify the user's request and immediately provide back the information they want in audio. It's like speaking to your TV, Air-conditioner or even your light system but this time, you will be speaking with a robot.
Meet Grammy! You can actually use this robot the way you want. You can use it to have a conversation with you visitors and present the data they requested as a response or you can just use it to tell jokes and have fun. The robot is as simple as VueJS components that you can copy and paste and it has ZERO dependencies.
In this demo, I only included generic and basic usage of Grammy but possibilities are unlimited. You can customize this robot and it's responses the way you like. You can make him funny, deep or even a sad and miserable robot, after all you're in charge. You can also set key words such as (price ,cost ..etc) and set the response to the prices of your products along with a pop up asking if the user would like to be redirected to prices and packages page.
If you would like to have a copy of the bot, all you have to do is to head to the Github repo and fetch two components:
1- resources/js/components/grambot/ Userside.vue
In this component we're using recording toggle and initiating transcription websocket with Deepgram.
2- resources/js/components/grambot/ Botside.vue
In this component we're defining arrays of keys for different situation and customize our responses. Follow the comments in the component for the best use.
3- resources/js/components/main/ Grammybot.vue
You don't have to copy this file but if you want a peak on how to combine and use the above two components have a look at this one.
There are a lot of things that can be improved but today is the last day in the hachathon :( But here is what I have in mind:
In this demo you can:
Small demo to show you how it works:
As I mentioned, this demo is for basic usage and my own customized responses. You can set yours and make it all about your business, prices and way of contact.
17 Mar 2022
We aspire to become a platform that inspire you to create and helps you become self reliant with your skills and proof of work.