Тёмный

Automating My Life with Python & ChatGPT: Coding My Own Virtual Voice Assistant | Code With Me 

Tiff In Tech
Подписаться 379 тыс.
Просмотров 391 тыс.
50% 1

In this tutorial, we're going to learn how to code our own virtual voice assistant using Python and ChatGPT. We'll learn how to create a simple virtual assistant that can be used to carry out simple tasks, like placing orders or scheduling appointments. By the end, you'll be able to code your own virtual voice assistant and automate your life!
Hope you enjoy! What else should we automate with python?
Github: github.com/Tif...
LinkedIn: / tiffany-janzen
Instagram: / tiffintech
Tiktok: www.tiktok.com...
❤️ Subscribe for more videos using this link www.youtube.co...
Business inquiries: info@thisistiffin.com
SIGNUP FOR MY NEW MONTHLY NEWSLETTER at www.tiffintech.co
✅ Exclusive discounts
✅ Tips from people in the STEM world
✅ Stay up to date with the latest tech events and news
✅ And so much more!
Automating My Life with Python: Coding My Own Virtual Voice Assistant
#AutomatingMyLifewithPython #tiffintech

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 360   
@jidun9478
@jidun9478 Год назад
It is refreshing to see someone working through problems as things don't always work out the way you want.... ever! Most people just show how everything works perfectly. Thank you 😊.
@TiffInTech
@TiffInTech Год назад
Thank you!!
@Lord_earth
@Lord_earth Год назад
a sheet and a pencil dont work no more?
@TurdBoi-tf5lf
@TurdBoi-tf5lf 21 день назад
​@@Lord_earth this ratio works tho
@damiananslik6214
@damiananslik6214 Год назад
At the 6 minute mark the reason Intellisense was not able to see the installed libraries was most likely because VSC was still using the default interpreter and not the one associated with the virtual environment. To change it: 1. Press Ctrl + Shift + P (I presume Cmd + Shift + P on MacOS). 2. Type interpreter and click on "Python: Select Interpreter". 3. Choose the interpreter associated with the virtual environment, usually has the environment name written somewhere beside it. 4. Reload window, et voila.
@Lucky9_9
@Lucky9_9 Год назад
This is my favorite part about tech communities. We all just want to learn and grow, and we aren’t afraid to help others with what knowledge and wisdom we’ve acquired on our own journeys. We’re all one big Oroborus of paying it forward! 😊
@nahfid2003
@nahfid2003 Год назад
one thing to note here is that you go one level below your venv folder to run Cmd Shift P. Otherwise it wont show the interpreter.
@themonkeybooboos
@themonkeybooboos Год назад
Thanks for not editing out your debugging and difficulties in the video - it's really helpful to new programmers like me. It's super frustrating watching people who act like they get everything right the first time when most of programming is actually about problem solving. Code will likely never work exactly the way we want it to. Thanks
@verb0ze
@verb0ze Год назад
This is the part most tutorials do not show, the debugging process, which is a substantial part of the trade lol. And with chatGPT, it'll be even more so because it gives out code with a seemingly high level of confidence, so when the generated code doesn't work on your machine, you'll be pulling your hair going through this. ChatGPT at the moment it's simply stackoverflow on steroids, with the top voted answer presented to you. It's still very useful, and it'll only get better. Exciting times ahead
@StoutProper
@StoutProper Год назад
You can use gpt as a great debugger
@whynotcode
@whynotcode Год назад
Yes! We love to see the entire process. I uploaded a video today with a full code review of ChatGPT coding Tetris in Python. It's a great copilot to quickly get code up and running.
@joeruder
@joeruder Год назад
@@verb0ze - Yes I love the iteration "Here is your new code!" -- "My apologies, I meant HERE is your new code!" -- "Wait, sorry....HERE is your new code!" -- "What?? That did not work??! I'm sorry -- Here is your new code!" But it generally is helpful and quicker overall using it for sure.
@paulgoogol2652
@paulgoogol2652 Год назад
Code will mostly work the way, the AI you use wants it to work.
@sportykev
@sportykev Год назад
I like how you included troubleshooting, because running code off the Internet doesn't always work as you think it should.
@DrReginaldFinleySr
@DrReginaldFinleySr 6 месяцев назад
Thank you for sharing. I may do the same. I created my assistant using python, ChatGPT, Google's text-to-speech API, and I love it! It can tell me my schedule, check the weather, and just have a general conversation about anything. I'm steadily adding more functionality and personalities. I even created a digital twin, which is kinda weird.
@afeefshaikh8149
@afeefshaikh8149 Месяц назад
Could you tell me more about how you created double twin
@tonymburu7804
@tonymburu7804 Год назад
She's is very natural, real and humorous. Learnt something big from her and I've subscribed to her channel.
@goss4444
@goss4444 Год назад
I've been working with ChatGPT for a few months, learning Python along the way. Similar to you, I have experience in automation and scripting through my past work with AutoIt. Python has proven efficient and user-friendly, especially with its threading capabilities. However, I believe there's a crucial element I'm missing when interacting with ChatGPT. To avoid potential API costs, I've mainly used the web interface. The computational limit in ChatGPT-4 can be an issue, as the AI language model might lose focus on the task. This makes resuming code generation challenging, prompting me to modularize my projects. Visual Studio Code offers great ChatGPT plugins, but they often depend on the API, which might cause a loss of the "personal connection" with the bot. My question is: how do you work with ChatGPT? Should I stop relying on it so much and only use it for specific debugging purposes? I feel like I've become somewhat reliant on ChatGPT, repeatedly asking it to create Python scripts. Although I'm excited about this technology and the opportunities it presents, I think I might not be using it optimally.
@DerelictNacho
@DerelictNacho Год назад
This was awesome! I added Chat-GPT through the API and now I'm able to use my assistant to ask ChatGPT questions :)
@michaeltse321
@michaeltse321 Год назад
This is more a lifestyle channel than a tech channel. Never did I imagine the domain of the nerd goes mainstream - lol
@hamunaptraabrahan1351
@hamunaptraabrahan1351 Год назад
The ChatGPT topic was interesting when you exposed its functionality with Python and that it favors the creation of the virtual assistant. Teaching is valuable, Tiff.🥰✌
@TiffInTech
@TiffInTech Год назад
Glad it was helpful!
@norbertfeurle7905
@norbertfeurle7905 Год назад
With python difflib and get_close_match function you don't have to perfectly spell out the command and still can get a match. Also you can let chatgpt generate some commands that have the same meaning so that when you tell the command slightly different it would detect variations of it.
@jamesclark2020
@jamesclark2020 Год назад
I love how realistic this is! This gives me confidence that I could do this too!
@iwantcheesypuffs
@iwantcheesypuffs Год назад
A voice recog project that even remotely works in less than 30 min. Fantastic! Very powerful example.
@YumFit1
@YumFit1 Год назад
Thank you for this video. It reminded me of the good times of how I got excited about computer science. These days it's all very stressful leetcoding all the time - all the joy has been taken out of it...
@rendericeib4513
@rendericeib4513 Год назад
the cutest programmer, you have inspired me on learning Python
@teenydragons1400
@teenydragons1400 Год назад
Just want to say thank you for making this video. I was running into problems with speech recognition. This gives me inspiration to go back to an earlier project.
@dougrush742
@dougrush742 Год назад
Love your examples, talk about good code documentation ❤
@TiffInTech
@TiffInTech Год назад
Thank you!!
@walkonearthofficial
@walkonearthofficial Год назад
That first drink out of the tube always be warm 😂
@PanCave
@PanCave Год назад
Very sympathetic, especially since it's not typically clinically clean tutorial, because you show your mistakes and a good way to deal with them. Very refreshing!
@George2647g
@George2647g Год назад
THIS!! ^^^^ This is so much of coding usually and it's great to see it in raw form..
@artechgiants
@artechgiants Год назад
You had completed the task in a Wonderful way
@TiffInTech
@TiffInTech Год назад
Thank you! It’s a fun thing to do
@garotalibertaria7219
@garotalibertaria7219 Год назад
@@TiffInTech 🥰
@LifeCodeGame
@LifeCodeGame Год назад
This tutorial looks really interesting! Can't wait to learn how to code my own virtual voice assistant and automate my life.
@TiffInTech
@TiffInTech Год назад
Great to hear! Thank you!
@diamondsands2588
@diamondsands2588 Год назад
I could have easily been a tech girly, because when you started you sounded exactly like ME. I want to automate any and everything in my lifeeeee
@aresaurelian
@aresaurelian Год назад
The smile on your face discovering that you now can do 'anything' to your hearts desire, is well worth all the hard work behind it. Gratitude.
@stillready6405
@stillready6405 Год назад
I very much liked the video. Showing the process and errors which can occur is very nice to see, because you feel like you are not alone. Then there are other tutorials where it seems they get everything right the first time (which they ofc don't).
@RaoBhethanabotla
@RaoBhethanabotla 4 месяца назад
Very well explained and tried well honestly. Great job, Tiff!
@douglasforeman3150
@douglasforeman3150 Год назад
Who said you can't be gorgeous as hell and smart as hell too! Young lady, I'm an old programmer from way back in the day when a computer use to fill up an entire room and not be as powerful as today's wristwatch! In this video you reminded me of days passed when we use to care about coding and freely sharing our knowledge with others. I'm not saying that others do not do as good a job as you did here, only I have yet to run across one that is as passionate as you appear to be! In closing, you are my new programming Rock Star! Carry on!
@gosuperva
@gosuperva 4 месяца назад
This is so cool! I've always wanted to learn how to build my own voice assistant. Can't wait to follow along and automate some tasks! 🤩
@baychaoz
@baychaoz Год назад
I read automating my "Wife" with Python that's how you got my click.
@kras8697
@kras8697 Год назад
I really managed to make my own voice assistant with python, without ever having programmed before. very interesting for the future what I will be able to do with chat gpt
@AnRodz
@AnRodz Год назад
I didn't know you existed. Kudos for your parents, the world, and you, of course!
@DodaGarcia
@DodaGarcia Год назад
I really like your teaching style and the honesty about the debugging process, but the title misled me a bit because it gave me the impression the video was going to be about creating a virtual voice assistant that actually harnessed the power of the GPT-3 API. In reality, ChatGPT factored very little into the project - it did generate code that allows the script to understand the words being said, but what is then done with that information has to be painstakingly programmed in from some hardcoded keywords, which can be useful but is also where we were many years ago.
@faizEEE2323
@faizEEE2323 Год назад
It's nice.. easy explain is help to understand for beginner.. It's helpful for me
@yalidoletupua9530
@yalidoletupua9530 Год назад
Bula Vinaka - Thanks Tiff! You are doing a very good job teaching dummies like me!!. Greetings from Fiji Islands
@a.evansrn107
@a.evansrn107 Год назад
That music !!!! Makes me feel anxious ! Great information though!
@unc_matteth
@unc_matteth Год назад
you already beat alexas functionality in a prompt. amazing.
@antoinebguitar2869
@antoinebguitar2869 Год назад
Im learning coding and engineering just so I can automate boring tasks in my life like cooking, doing the laundry and throwing garbages.
@gomork6821
@gomork6821 Год назад
This is exactly the content I'm looking for, thank you
@TiffInTech
@TiffInTech Год назад
So happy to hear!! Let me know if you have any requests for videos etc!
@gingerznz5742
@gingerznz5742 Год назад
Hey great video, I would love to see a video on creating the code for turning an old radio into a personal assistant. Like being able to tell me the weather, play music, turn on lights on the radio etc I would be a cool way to turn a beautiful old thing into something useful
@ifscho
@ifscho Год назад
Oooh I thought this was about creating a personal assistant that utilises ChatGPT API to work. Once I realised and looked at the video in the correct context, it's a great tutorial for that level. =)
@samueltallman7317
@samueltallman7317 Год назад
omg, it's a tech youtuber who's home looks like actual adults live there. I'm in shock lol
@TiffInTech
@TiffInTech Год назад
hahah :D
@chubbyzombie666
@chubbyzombie666 Год назад
Just found your channel and subbed. Also just finished Arduino and RC cars. Python is next. Thank you for the great video.
@merloali
@merloali Год назад
awesome works, i was looking something similar but with python already you have many tools, i love it too
@LeoMumford
@LeoMumford Год назад
Remind me to fire that voice assistant 😅 kidding. Great video, thanks!
@TiffInTech
@TiffInTech Год назад
Haha! And thank you!
@AhmedRaza-ty7zq
@AhmedRaza-ty7zq Год назад
Amazing video and keep it up😊😊👍👍😊😊
@MrMysterious31
@MrMysterious31 Год назад
That is what exactly I'm looking for🎉❤
@xcrap
@xcrap Год назад
I was really trying to focus on the content but she's so beautiful had to watch twice to see the prompts lol.
@Adrianscom
@Adrianscom Год назад
This helps alot when you need to make and specific project and some times you have a mistake, I like your videos and how you explain it, thanks
@MultiWarbird
@MultiWarbird Год назад
I really like the audio engineering in this video.
@Master_of_Chess_Shorts
@Master_of_Chess_Shorts Год назад
Nice approach exposing the true process of debugging code that never works from the onset. You're very dynamic. I like the choice of music, original and entertaining. As for speech recognition, as you demonstrate, it is rarely effective and not really a reliable automation candidate. Background noise, speech fluctuations, complexity, prononciation, etc. makes it hard to adopt in real life applications. Great content anyhow, focusing on the process rather than the outcome. Keep it up!
@TiffInTech
@TiffInTech Год назад
Thank you!!
@artechgiants
@artechgiants Год назад
Awesome video 😎 👍
@TiffInTech
@TiffInTech Год назад
Thank you!!
@ronaldronald8819
@ronaldronald8819 Год назад
Lovely what you can do with chatgpt Chears. Thanks for charing.
@128mtd128
@128mtd128 Год назад
greath more like this👍
@TiffInTech
@TiffInTech Год назад
Happy to hear! Let me know if any specific requests
@FaithfulGardnerDNP
@FaithfulGardnerDNP Год назад
Oh, I absolutely love that you did not edit out the part that didn’t work
@flabbybum9562
@flabbybum9562 Год назад
This is brilliant.
@anony4142
@anony4142 Год назад
Always on top ! Keep Going honey ❤️📌
@TiffInTech
@TiffInTech Год назад
Wishing you the best!!
@kevintjekevin
@kevintjekevin Год назад
I think you had to select the new Python environment after you made the virtual environment, at the right bottom of VS Code where it says Python and then the version number after it. I think that would fix the package not found error. (Or indeed restart VS Code, that works too.) Anyways great video!
@georgemejia7195
@georgemejia7195 Год назад
I would like to explain technical things so easy like you do 👏
@tippysvids
@tippysvids Год назад
You know your legit when you use IT Crowd references. Which makes me feel old, but good to see you young kids using them.
@desther
@desther Год назад
I am building something very similar with PHP, but way more complex. Cool i am not the only one who see promise in this tech.
@jamesflynn9239
@jamesflynn9239 Год назад
I added "be my guru" to the request for the assistant code. "be my guru" command, which uses a web search to find recent news articles related to the user's query and speak them out loud. Note that the search is limited to news articles by including the tbm=nws parameter in the URL.Thanks for lhe lessen.
@DS-of6ui
@DS-of6ui Год назад
Hi Tiff, whats the code to distract me from starring at your gorgeous eyes🤩
@twilkpsu
@twilkpsu Год назад
You are an impressive young lady. Keep the content coming!
@StraightCoding
@StraightCoding Год назад
5:50 I thought it only happened to me xD. Interesting topic!
@TimKaseyMythHealer
@TimKaseyMythHealer Год назад
I use Alexa for a lot of this, but I think it’s very lacking. The problem with Alexa is, I try to have it bring up previous list of things to do, and it doesn’t allow you to pull up an old file for amending with voice. I don’t understand why they would omit such a very simple thing. I’m going to look into what you’ve done here, and try to do a variation.
@thrivecartuniversity
@thrivecartuniversity Год назад
Loved it! You have given me some inspiration! Thank you for that. 🙂
@arnabpramanik7614
@arnabpramanik7614 2 месяца назад
People encountering problem with pyaudio: errors like no module name setuptools can be resolved by installing 'dtutils' or rolling back python interpreter to 3.6.0 or less
@CobyOlson-zb7fr
@CobyOlson-zb7fr Год назад
You just earned a subscriber 👊
@SayWhaaaaaaaaaaaaaaaaaaaaaaat
yOUR VIDEO MAKES incorect ILLUSION THAT CODING IS EASY. As we, hwo code cna see you had many issues behind the scenes, that you did not include in the time. Alsocode that was generated by ChatGPT is like 0.03% of whole code to achieve what you achieved. People may think it's super easy and requires few lines of code.
@nicolasrnemeth
@nicolasrnemeth Год назад
The problem in Visual Studio Code not recognizing your newly installed pkgs / libraries was that the wrong interpreter was selected. This issue can be resolved by CMD + SHIFT + P. This opens the command palette. type in select interpreter: python. Then select the python interpreter with the right virtual environment and everything will work. Cheers Nicolas
@whynotcode
@whynotcode Год назад
Fun! I uploaded a video today of ChatGPT helping me code Tetris. It's early days but I'm buying the hype... 👨‍💻
@algomoneyfest
@algomoneyfest Год назад
Python + Automation + A extremely hot blonde = Instant subscriber thanks 😎
@rialzito
@rialzito Год назад
I "learned" python 3 days ago with chatgpt. Apps I've already made: Keylogger that sends me logs and printscreens by email Application that counts the points in a tennis game when a player raises his arm (I'm still adjusting) Application that converts mp4 to wav, transcribes the audio and gives me a summary of the video (I also made one to transcribe what's app audios xD) Application that monitors when my favorite map is played in my online game and sends me a message on what's app letting me know Worm game in javascript and python Application that merges pdfs into a single file application where I speak the phrase in English and it evaluates my pronunciation And many other things (i would do even more with 4.0, character limitation in 3.5 is extremely annoying) Ps: My programming knowledge is like html stuff chatGPT is mankind's greatest invention and I have no doubt about it
@BloodxWarxPower
@BloodxWarxPower Год назад
Lets Automate our lives with Tech great vid keep it up tiff
@TiffInTech
@TiffInTech Год назад
Yes! Thank you!
@stefanopinna8474
@stefanopinna8474 Год назад
Great!
@sandro-nigris
@sandro-nigris Год назад
Thanks Tiff, this video is great! I learnt something today 🙂
@palpico8111
@palpico8111 Год назад
I just suscribed to ur channel your re amazing
@brittond14
@brittond14 Год назад
Jarvis create location B1 : Jarvis the Ibuprofen is in location B1 : Jarvis where is the Ibuprofen? ( the Ibuprofen in located in location B1) : Jarvis the Ibuprofen is not in located in location B1 : Jarvis where is the Ibuprofen? (I do not know the location of Ibuprofen) : Jarvis the Ibuprofen is in location B1 : Jarvis where is the Ibuprofen? ( the Ibuprofen in located in location B1)::: This would be a great life tool I think.
@Brahdyssey
@Brahdyssey Год назад
Honestly Such a great video. RU-vid referring good videos today
@Brahdyssey
@Brahdyssey Год назад
"what we should automate for our lives next" , we should automate what NPC characters say in VIDEO GAMES
@AH-jt6wc
@AH-jt6wc Год назад
you are so funny when you said no one said it is perfect lol
@technerd900
@technerd900 Год назад
5:32 the problem was that vs code was using the default python interpreter instead of using the virtual environment's interpreter. It happens frequently when setting up virtual environments and all you need to do is open the command palette using CTRL + SHIFT + P( or CMD + SHIFT +P in Mac) then type interpreter and you will find the virtual environment's interpreter that you just created
@Syn3rgy-DMS-HANZ
@Syn3rgy-DMS-HANZ Год назад
Awesome demo. Thanks Tiff n Tech
@AH-jt6wc
@AH-jt6wc Год назад
Those eyes and smile, you are gorgeous !!! You make me love Python !!
@charles-antoinedethibault6249
incredible video
@TiffInTech
@TiffInTech Год назад
Thank you!!
@thrivecartuniversity
@thrivecartuniversity Год назад
Here is an idea. What about creating an app that will allow you to schedule post for say the top 10 social media networks at the same time, I know there are some online apps for this, but they as you know can get pricey. This would be nice to have just for oneself.
@normanheurtematte
@normanheurtematte Год назад
beautiful and smart wahouuuu
@ABDU7194
@ABDU7194 Год назад
Totally agree with your conclusions
@TiffInTech
@TiffInTech Год назад
Thank you!
@AaronLou-l7w
@AaronLou-l7w Год назад
Thanks for sharing ! Wondering how to make the voice sounds like a real person, rather than a machine. Any suggestions?
@tanoghrian
@tanoghrian Год назад
Love this. learning this
@Sopan-v8s
@Sopan-v8s Год назад
Background music track "from 5:40 to 5.55" mind blowing😇😇😎
@jackytaly
@jackytaly Год назад
Guessing the reason the installs didn’t work at first is because the vs code python interpreter wasn’t changed to the venv version of python. To fix, cmd + shift + p python interpreter select your venv version of python
@oreeceo
@oreeceo Год назад
I am totally nerding out on your video, but I keep trying to Shazam the background music in the first 3 minutes, it's not coming up, who is the musician?
@dev_apostle
@dev_apostle Год назад
oh hell yeah. You go Tiff!
@internetuser5058
@internetuser5058 Год назад
Great content.
@TiffInTech
@TiffInTech Год назад
Thank you!!
@deeepfocus1840
@deeepfocus1840 Год назад
actually, im not able to install pyaudio in my mac m1 I'm also not able to install the homebrew
@nine9winged
@nine9winged Год назад
My Vs Code creates whole different folders in the env. I got "Include", "Lib" and "Scripts". Can someone tell me why and what the difference is?
@nine9winged
@nine9winged Год назад
I also get the error "+ CategoryInfo : ObjectNotFound: (source:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException" There is no cmd source :C
@Techroadie66
@Techroadie66 Год назад
Really nice tutorial, i have the project to use Python + GPT-3 to make Pepper Robot a more real conversational assistant
@MayelPelle
@MayelPelle Год назад
At 6 min the problem was a vscode problem. You don't need to shutdown and restart vscode. You have to check on the lower right side that your python env is the good one. This problem occur when you set your python env with the terminal and not with vscode directly ;)
@guillaumepineda4867
@guillaumepineda4867 Год назад
Actually... It's not really a problem ; simply a vscode feature to pick the python environment you want.
@DodaGarcia
@DodaGarcia Год назад
@@guillaumepineda4867 If it's something that is getting in the way of the user accomplishing a goal, it's a problem the user needs to solve. That's not the same as saying it's a bug in the software.
@siskoDE
@siskoDE Год назад
i tried it. it does work. only problem i don't understand my computer. it does talk weird. it uses kind of codes to talk to me?
@pandalee2450
@pandalee2450 Год назад
wonderful show😄
@automicapaul
@automicapaul 11 месяцев назад
Great video.. really like how approachable these vids are... can I ask what software and setup you have for producing these demo style videos please?
Далее
Run your own AI (but private)
22:13
Просмотров 1,5 млн
Китайка и Максим Крипер😂😆
00:21
Automate Your Life Easily With THESE 3 Python Tips!
11:29
How I Made AI Assistants Do My Work For Me: CrewAI
19:21
Coding with Cursor AI | Is this the Future of Coding?!
12:43
10 ChatGPT Life Hacks - THAT’LL CHANGE YOUR LIFE !!
11:00
Automate Boring Office Tasks with ChatGPT and Python
10:06