Create a Smart Voice Assistant using Open AI's ChatGPT API, Whisper, Python & Gradio



Create a Smart Voice Assistant using Open AI's ChatGPT API, Whisper, Python & Gradio

Create a Smart Voice Assistant using Open AI's ChatGPT API, Whisper, Python & Gradio

OpenAI launches APIs for ChatGPT and Whisper. In this video, I’ll show you how you can create your own Smart Virtual Assistant like Google Assistant using Open AI’s ChatGPT API, Whisper. The entire solution will be created using Python & Gradio. The API is priced at $0.002 per 1,000 tokens (~750 words), or 10X less expensive than any of OpenAI’s previous GPT-3.5 models. After some extensive optimizations, using ChatGPT costs 90% less than it did in December. This means that the gtp-3.5-turbo model (which powers the ChatGPT you may have used) now costs $0.002 per 1,000 tokens. To put it another way, you can get 500K tokens for a dollar (ChatGPT doesn’t work on single characters, a token is more similar to a vowel). This new price makes it much cheaper for companies to build their own chat bot. But ChatGPT works with text, what if a company wants its bot to answer to voice commands? That’s where Whisper comes in – this model can transcribe speech into text at a cost of $0.006 a minute (i.e. $1 for 2 hours 45 minutes). Not only does Whisper understand 99 languages, it can also provide an English translation of what was said. This has a lot of potential to disrupt Siri and Google Assistant, which can only handle a few languages. Companies can use OpenAI’s APIs to build new chat bots and some already have, Microsoft isn’t alone.

▶ Link to the code : https://github.com/bhattbhavesh91/voice-assistant-whisper-chatgpt/blob/main/OpenAI-Whisper-ChatGPTAPI-Audio-Output-Notebook.ipynb
▶ Link to my previous Smart Assistant Video : https://youtu.be/lBCoktYvSKg
▶ Link to my ChatGPT API Video : https://youtu.be/p_GiUN_DDPU

▶ Sponsor me on GitHub : https://github.com/sponsors/bhattbhavesh91/
▶ Join this channel to get access to perks: https://bit.ly/BhaveshBhattJoin
▶ Join the Telegram channel for regular updates: https://t.me/bhattbhavesh91
▶ If you like my work, you can buy me a coffee : https://bit.ly/BuyBhaveshCoffee

*I use affiliate links on the products that I recommend. These give me a small portion of the sales price at no cost to you. I appreciate the proceeds and they help me to improve my channel!

▶ Best Book for Python : https://amzn.to/3qYThqu
▶ Best Book for PyTorch & Machine Learning : https://amzn.to/3PyUkdy
▶ Best Book for Statistics : https://amzn.to/3vzvHEn
▶ Best Book for BERT: https://amzn.to/3lpX0fz
▶ Best Book for Machine Learning : https://amzn.to/2P6aZuT
▶ Best Book for Deep Learning : https://amzn.to/30UMTGl
▶ Best Intro Book for MLOps : https://amzn.to/3AoPZmM

Equipments I use for recording the videos:
▶ 1st Laptop I use : https://amzn.to/3AqI8Fp
▶ 2nd Laptop I use : https://amzn.to/3KAiYsB
▶ Microphone : https://amzn.to/3qUPxtz
▶ Camera : https://amzn.to/3rKQsM2
▶ Mobile Phone : https://amzn.to/3nRHP1f
▶ Ring Light : https://amzn.to/33LedM5
▶ RGB Light : https://amzn.to/3KzLgmS
▶ Bag I use : https://amzn.to/3AsM3RZ

If you do have any questions with what we covered in this video then feel free to ask in the comment section below & I’ll do my best to answer those.

If you enjoy these tutorials & would like to support them then the easiest way is to simply like the video & give it a thumbs up & also it’s a huge help to share these videos with anyone who you think would find them useful.

Please consider clicking the SUBSCRIBE button to be notified for future videos & thank you all for watching.

You can find me on:
▶ Blog – https://bhattbhavesh91.github.io
▶ Twitter – https://twitter.com/_bhaveshbhatt
▶ GitHub – https://github.com/bhattbhavesh91
▶ Medium – https://medium.com/@bhattbhavesh91
▶ About.me – https://about.me/bhattbhavesh91
▶ Linktree – https://linktr.ee/bhattbhavesh91
▶ DEV Community – https://dev.to/bhattbhavesh91
▶ Telegram – https://t.me/bhattbhavesh91

#chatgpt #api #openai

Comments are closed.