Build a vocal AI assistant using ChatGPT and Python using speech recognition

preview_player
Показать описание

The code from this video can be found at:

Creating an AI assistant using ChatGPT and Python is an exciting and innovative project that allows you to interact with your computer using vocal commands. With this tutorial, you'll learn how to harness the power of ChatGPT and Python to build a personalized AI assistant that can understand and respond to your voice.

The tutorial walks you through the process of setting up the necessary software and libraries, as well as providing clear and concise instructions for coding the AI assistant. The end result is a cutting-edge and highly functional AI assistant that can assist you with a wide range of tasks.

Whether you're a beginner or an experienced developer, this tutorial is a great way to learn about the latest advancements in AI technology and how to apply them to your own projects. So, take a look at the tutorial, and start building your very own AI assistant today!

00:00 - Introduction

03:37 - Tutorial structure

04:45 - Requirement & used libraries

06:33 - Setup the speech recognition

10:39 - Communicate with ChatGPT and prepare Key

17:15 - Setup the text to speech library

19:40 - Conclusion and perspective
Рекомендации по теме
Комментарии
Автор

PS, sometimes it freeses for ages and then I need to reset all over again. Hope you can help me out! Thx

robinpillekers
Автор

Hi, well done. I got it work now but it runs not very stable and is very slow in responding. Do you know what that could be? And is it possible to add parameters to the bot like he or she acting like a personal assistant? In genereral I would like to have this in my Home Assistant. Do you know if there is a way how to do that? And is it possible to act with my google nest for the commands on the same way you did? Are you planning to make an upgrade? Thanks anyway ;-)

robinpillekers
Автор

Nice thanks alot I want to build this for my kids but I want to use raspberry pi,

AIInsights
Автор

Hello. Thanks for such a good detailed explanation. I did copy the program but I am having issues, it looks like the text is not being send back to openai for processing or the t1 = threading.Thread(target=generate_response, args=(TextResult, )) is breaking the connection. I do the my voice being converted to text but get the immediate response that it could not recognize my voice... so it bypass the rest of the program and goes to the end. any suggestions?

marinodelacruz
join shbcf.ru