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!
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 😊.
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.
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! 😊
Another related trick is switching to another interpreter and turning back to venv, if VS Code insists on not recognizing the venv, showing red lines under package names.
I love that you share your mistakes. Using ChatGPT I had this set up in 10 minutes top. My only advice is mute the mic immediately after you speak the request. Maybe it’s my mic quality but I find it works much better if you mute. Python is so effing cool. For any mainframe guys out there it’s very similar to MVS REXX. A few subtle difference but I got it immediately. Unlike Java Script.
I have been doing JS professionally for about a year as well and just started python last month. I literally love it. I want to make scripts to automate as much as I can. Much respect
This is Awesome! I just started a new course on Python on Zero to Mastery platform and currently learning about lists, this here is way over my head but with you video I was able to get it to work!!
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...
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.
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.
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.
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).
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.
Ahh this is so cool!!! Don’t you just love the feeling of being able to say you built something cool to non-tech people lol gives you a dose of confidence to do more projects - At least for me anyway since I’m still a beginner programmer 😅 Loved this tutorial btw especially how you showed step by step what you did as well as what was going wrong and what you did to fix it and why. I use VS Code too but regardless I get so excited when I’m able to understand the entire process 😊
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.🥰✌
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.
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!
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. =)
So cool! Can you recommend where I might start with a project to take text from a pdf and put it into an excel spreadsheet organized by certain criteria? Probably want to make for Mac OS. I’ve never coded before but want to learn about this stuff.
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
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
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!
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
Nice tiff, your explanation about any topic like chatgpt is awesome, It is cleared how to work Chatgpt as a assistant, please apload a more video about Ghatgpt and AI for your viewers. I am continuously watching videos.May God bless you!
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.
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
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
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.
ill have to have a look at the Chatgpt voice assistant code now and see if i understand it all, looks like some keywords like "with" ive never seen before.
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!
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
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
I thought i was the only one who did (most of) this. Also I figured through iteration that IF you are defining specific packages co-pilot,even tabnine works better than gpt. I acknowhlege that most developers will figure out basic higher level systems ,Code generation via any tool has become a regular practice. However, the over all time of development remains the same, I wish a production engineer would look into this??
Yeah, simply put if it took me 20 seconds to generate on gpt, it took me 20 hours to debug. Plus Norwegian market isn't really flooded with easy hires.
Hello, I'm Marcos salute from Brazil. Just a tip idk if in your OS this will work the same way it works for me but to solve vs code problems about package not found when you're using venv try to click on the py version in the blue(or orange) bottom bar in the right side and find the venv: version. This will use the python libraries and packages in the virtual environment not the global.
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!
THIS!! ^^^^ This is so much of coding usually and it's great to see it in raw form..
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 😊.
Thank you!!
a sheet and a pencil dont work no more?
@@Lord_earth this ratio works tho
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.
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! 😊
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.
Another related trick is switching to another interpreter and turning back to venv, if VS Code insists on not recognizing the venv, showing red lines under package names.
I love that you share your mistakes. Using ChatGPT I had this set up in 10 minutes top. My only advice is mute the mic immediately after you speak the request. Maybe it’s my mic quality but I find it works much better if you mute. Python is so effing cool. For any mainframe guys out there it’s very similar to MVS REXX. A few subtle difference but I got it immediately. Unlike Java Script.
She's is very natural, real and humorous. Learnt something big from her and I've subscribed to her channel.
I like how you included troubleshooting, because running code off the Internet doesn't always work as you think it should.
I have been doing JS professionally for about a year as well and just started python last month. I literally love it. I want to make scripts to automate as much as I can. Much respect
Thank you! Right?! I spent my career in JS and discovered Python after a few years and love it
This is Awesome! I just started a new course on Python on Zero to Mastery platform and currently learning about lists, this here is way over my head but with you video I was able to get it to work!!
the cutest programmer, you have inspired me on learning Python
This was awesome! I added Chat-GPT through the API and now I'm able to use my assistant to ask ChatGPT questions :)
I love how realistic this is! This gives me confidence that I could do this too!
A voice recog project that even remotely works in less than 30 min. Fantastic! Very powerful example.
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...
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.
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.
You had completed the task in a Wonderful way
Thank you! It’s a fun thing to do
@@TiffInTech 🥰
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.
Could you tell me more about how you created double twin
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).
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.
Very well explained and tried well honestly. Great job, Tiff!
That first drink out of the tube always be warm 😂
Bula Vinaka - Thanks Tiff! You are doing a very good job teaching dummies like me!!. Greetings from Fiji Islands
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.
This is more a lifestyle channel than a tech channel. Never did I imagine the domain of the nerd goes mainstream - lol
I didn't know you existed. Kudos for your parents, the world, and you, of course!
Love your examples, talk about good code documentation ❤
Thank you!!
Ahh this is so cool!!! Don’t you just love the feeling of being able to say you built something cool to non-tech people lol gives you a dose of confidence to do more projects - At least for me anyway since I’m still a beginner programmer 😅 Loved this tutorial btw especially how you showed step by step what you did as well as what was going wrong and what you did to fix it and why. I use VS Code too but regardless I get so excited when I’m able to understand the entire process 😊
yay!! So happy to hear. Wishing you all the best :):)
@@TiffInTech Thank you Tiff!!!! ☺️🙏❤️
It's nice.. easy explain is help to understand for beginner..
It's helpful for me
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.🥰✌
Glad it was helpful!
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
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! 🤩
This tutorial looks really interesting! Can't wait to learn how to code my own virtual voice assistant and automate my life.
Great to hear! Thank you!
This is exactly the content I'm looking for, thank you
So happy to hear!! Let me know if you have any requests for videos etc!
awesome works, i was looking something similar but with python already you have many tools, i love it too
Just found your channel and subbed. Also just finished Arduino and RC cars. Python is next. Thank you for the great video.
That is what exactly I'm looking for🎉❤
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.
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!
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. =)
Background music is fire❤🔥Also great content thank you
That music !!!! Makes me feel anxious ! Great information though!
Amazing video and keep it up😊😊👍👍😊😊
You just earned a subscriber 👊
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
Honestly Such a great video. UA-cam referring good videos today
"what we should automate for our lives next" , we should automate what NPC characters say in VIDEO GAMES
So cool! Can you recommend where I might start with a project to take text from a pdf and put it into an excel spreadsheet organized by certain criteria? Probably want to make for Mac OS. I’ve never coded before but want to learn about this stuff.
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
Loved it! You have given me some inspiration! Thank you for that. 🙂
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
I really like the audio engineering in this video.
Always on top ! Keep Going honey ❤️📌
Wishing you the best!!
Remind me to fire that voice assistant 😅 kidding. Great video, thanks!
Haha! And thank you!
Lets Automate our lives with Tech great vid keep it up tiff
Yes! Thank you!
Thanks Tiff, this video is great! I learnt something today 🙂
you already beat alexas functionality in a prompt. amazing.
Awesome video 😎 👍
Thank you!!
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!
Thank you!!
You are an impressive young lady. Keep the content coming!
Awesome demo. Thanks Tiff n Tech
amazing video, keep up the good work
5:50 I thought it only happened to me xD. Interesting topic!
I would like to explain technical things so easy like you do 👏
Love this. learning this
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
Nice tiff, your explanation about any topic like chatgpt is awesome, It is cleared how to work Chatgpt as a assistant, please apload a more video about Ghatgpt and AI for your viewers. I am continuously watching videos.May God bless you!
Thank you, I will!!
I was really trying to focus on the content but she's so beautiful had to watch twice to see the prompts lol.
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.
Those eyes and smile, you are gorgeous !!! You make me love Python !!
This is brilliant.
Totally agree with your conclusions
Thank you!
greath more like this👍
Happy to hear! Let me know if any specific requests
Im learning coding and engineering just so I can automate boring tasks in my life like cooking, doing the laundry and throwing garbages.
oh hell yeah. You go Tiff!
Lovely what you can do with chatgpt Chears. Thanks for charing.
Hey where do you get your sound tracks from! They are awesome
I just suscribed to ur channel your re amazing
wonderful show😄
This video is awesome.
thank you!!
omg, it's a tech youtuber who's home looks like actual adults live there. I'm in shock lol
hahah :D
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
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
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.
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.
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?
you are so funny when you said no one said it is perfect lol
5:18 you are not alone there 😁
Thanks for sharing !
Wondering how to make the voice sounds like a real person, rather than a machine. Any suggestions?
ill have to have a look at the Chatgpt voice assistant code now and see if i understand it all, looks like some keywords like "with" ive never seen before.
Keep me posted!!
@@TiffInTech man looks like fairly simple code maybe im getting somewhere afterall these tutorials. :->
@@jamesross5120 yes!! 👏👏👏
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!
Not sure what I'm doing wrong, but I can't get past 4:38 in the video as it keeps telling me python is not found even though it's installed.
you earned a sub from me. well done!
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
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
You know your legit when you use IT Crowd references. Which makes me feel old, but good to see you young kids using them.
Python + Automation + A extremely hot blonde = Instant subscriber thanks 😎
Background music track "from 5:40 to 5.55" mind blowing😇😇😎
I thought i was the only one who did (most of) this. Also I figured through iteration that IF you are defining specific packages co-pilot,even tabnine works better than gpt.
I acknowhlege that most developers will figure out basic higher level systems ,Code generation via any tool has become a regular practice. However, the over all time of development remains the same, I wish a production engineer would look into this??
Thank you!! Ohh that’s great to know too!
Yeah, simply put if it took me 20 seconds to generate on gpt, it took me 20 hours to debug.
Plus Norwegian market isn't really flooded with easy hires.
Great work Tiff, you are doing really well. Im starting out my journey into this very soon, but im sorry I cant stand python :)
Really nice tutorial, i have the project to use Python + GPT-3 to make Pepper Robot a more real conversational assistant
Hello, I'm Marcos salute from Brazil. Just a tip idk if in your OS this will work the same way it works for me but to solve vs code problems about package not found when you're using venv try to click on the py version in the blue(or orange) bottom bar in the right side and find the venv: version. This will use the python libraries and packages in the virtual environment not the global.