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

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 363

  • @PanCave
    @PanCave Год назад +75

    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..

  • @jidun9478
    @jidun9478 Год назад +51

    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  Год назад +1

      Thank you!!

    • @Lord_earth
      @Lord_earth Год назад

      a sheet and a pencil dont work no more?

    • @TurdBoi666
      @TurdBoi666 4 месяца назад +1

      ​@@Lord_earth this ratio works tho

  • @TalmadgeMcGhoulaghy
    @TalmadgeMcGhoulaghy Год назад +2

    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.

  • @damiananslik6214
    @damiananslik6214 Год назад +60

    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 Год назад +8

      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 Год назад +2

      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.

    • @p.c.336
      @p.c.336 3 месяца назад

      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.

  • @jean-luclacosse8057
    @jean-luclacosse8057 Год назад +4

    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

    • @TiffInTech
      @TiffInTech  Год назад

      Thank you! Right?! I spent my career in JS and discovered Python after a few years and love it

  • @tonymburu7804
    @tonymburu7804 Год назад +1

    She's is very natural, real and humorous. Learnt something big from her and I've subscribed to her channel.

  • @sportykev
    @sportykev Год назад +19

    I like how you included troubleshooting, because running code off the Internet doesn't always work as you think it should.

  • @coldensheppard6221
    @coldensheppard6221 Год назад +8

    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!!

  • @DerelictNacho
    @DerelictNacho Год назад +1

    This was awesome! I added Chat-GPT through the API and now I'm able to use my assistant to ask ChatGPT questions :)

  • @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.

  • @DrReginaldFinleySr
    @DrReginaldFinleySr 10 месяцев назад +2

    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 5 месяцев назад

      Could you tell me more about how you created double twin

  • @YumFit1
    @YumFit1 Год назад +1

    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...

  • @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.

  • @teenydragons1400
    @teenydragons1400 Год назад +2

    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.

  • @iwantcheesypuffs
    @iwantcheesypuffs Год назад

    A voice recog project that even remotely works in less than 30 min. Fantastic! Very powerful example.

  • @stillready6405
    @stillready6405 Год назад +2

    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).

  • @goss4444
    @goss4444 Год назад +9

    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.

  • @rendericeib4513
    @rendericeib4513 Год назад +1

    the cutest programmer, you have inspired me on learning Python

  • @walkonearthofficial
    @walkonearthofficial Год назад +1

    That first drink out of the tube always be warm 😂

  • @_silentrose
    @_silentrose Год назад +7

    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 😊

    • @TiffInTech
      @TiffInTech  Год назад +2

      yay!! So happy to hear. Wishing you all the best :):)

    • @_silentrose
      @_silentrose Год назад

      @@TiffInTech Thank you Tiff!!!! ☺️🙏❤️

  • @michaeltse321
    @michaeltse321 Год назад +2

    This is more a lifestyle channel than a tech channel. Never did I imagine the domain of the nerd goes mainstream - lol

  • @diamondsands2588
    @diamondsands2588 Год назад +1

    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

  • @jamesclark2020
    @jamesclark2020 Год назад +9

    I love how realistic this is! This gives me confidence that I could do this too!

  • @norbertfeurle7905
    @norbertfeurle7905 Год назад +11

    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.

  • @douglasforeman3150
    @douglasforeman3150 Год назад +1

    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!

  • @RaoBhethanabotla
    @RaoBhethanabotla 8 месяцев назад

    Very well explained and tried well honestly. Great job, Tiff!

  • @hamunaptraabrahan1351
    @hamunaptraabrahan1351 Год назад +9

    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.🥰✌

  • @LifeCodeGame
    @LifeCodeGame Год назад +6

    This tutorial looks really interesting! Can't wait to learn how to code my own virtual voice assistant and automate my life.

  • @dougrush742
    @dougrush742 Год назад +20

    Love your examples, talk about good code documentation ❤

  • @yalidoletupua9530
    @yalidoletupua9530 Год назад

    Bula Vinaka - Thanks Tiff! You are doing a very good job teaching dummies like me!!. Greetings from Fiji Islands

  • @gosuperva
    @gosuperva 8 месяцев назад

    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! 🤩

  • @AnRodz
    @AnRodz Год назад

    I didn't know you existed. Kudos for your parents, the world, and you, of course!

  • @artechgiants
    @artechgiants Год назад +19

    You had completed the task in a Wonderful way

  • @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

  • @chubbyzombie666
    @chubbyzombie666 Год назад

    Just found your channel and subbed. Also just finished Arduino and RC cars. Python is next. Thank you for the great video.

  • @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. =)

  • @faizEEE2323
    @faizEEE2323 Год назад

    It's nice.. easy explain is help to understand for beginner..
    It's helpful for me

  • @merloali
    @merloali Год назад +1

    awesome works, i was looking something similar but with python already you have many tools, i love it too

  • @gingerznz5742
    @gingerznz5742 Год назад +1

    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

  • @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

  • @LeoMumford
    @LeoMumford Год назад +1

    Remind me to fire that voice assistant 😅 kidding. Great video, thanks!

  • @gomork6821
    @gomork6821 Год назад +2

    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!

  • @a.evansrn107
    @a.evansrn107 Год назад

    That music !!!! Makes me feel anxious ! Great information though!

  • @jacobsmovie
    @jacobsmovie Год назад +1

    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.

  • @AhmedRaza-ty7zq
    @AhmedRaza-ty7zq Год назад +1

    Amazing video and keep it up😊😊👍👍😊😊

  • @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!

  • @Jimeno873
    @Jimeno873 Год назад

    Background music is fire❤‍🔥Also great content thank you

  • @unc_matteth
    @unc_matteth Год назад

    you already beat alexas functionality in a prompt. amazing.

  • @MultiWarbird
    @MultiWarbird Год назад

    I really like the audio engineering in this video.

  • @Brahdyssey
    @Brahdyssey Год назад

    Honestly Such a great video. RUclips referring good videos today

    • @Brahdyssey
      @Brahdyssey Год назад

      "what we should automate for our lives next" , we should automate what NPC characters say in VIDEO GAMES

  • @MrMysterious31
    @MrMysterious31 Год назад

    That is what exactly I'm looking for🎉❤

  • @thrivecartuniversity
    @thrivecartuniversity Год назад

    Loved it! You have given me some inspiration! Thank you for that. 🙂

  • @pandalee2450
    @pandalee2450 Год назад

    wonderful show😄

  • @georgemejia7195
    @georgemejia7195 Год назад

    I would like to explain technical things so easy like you do 👏

  • @CobyOlson-zb7fr
    @CobyOlson-zb7fr Год назад

    You just earned a subscriber 👊

  • @artechgiants
    @artechgiants Год назад +3

    Awesome video 😎 👍

  • @ronaldronald8819
    @ronaldronald8819 Год назад

    Lovely what you can do with chatgpt Chears. Thanks for charing.

  • @deepakkumarsharma8574
    @deepakkumarsharma8574 Год назад

    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!

  • @StraightCoding
    @StraightCoding Год назад

    5:50 I thought it only happened to me xD. Interesting topic!

  • @128mtd128
    @128mtd128 Год назад +1

    greath more like this👍

    • @TiffInTech
      @TiffInTech  Год назад

      Happy to hear! Let me know if any specific requests

  • @anony4142
    @anony4142 Год назад +1

    Always on top ! Keep Going honey ❤️📌

  • @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.

  • @DriftlessCryptoToo
    @DriftlessCryptoToo Год назад

    You are an impressive young lady. Keep the content coming!

  • @tanoghrian
    @tanoghrian Год назад

    Love this. learning this

  • @samueltallman7317
    @samueltallman7317 Год назад

    omg, it's a tech youtuber who's home looks like actual adults live there. I'm in shock lol

  • @flabbybum9562
    @flabbybum9562 Год назад

    This is brilliant.

  • @kevintjekevin
    @kevintjekevin Год назад +1

    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!

  • @BloodxWarxPower
    @BloodxWarxPower Год назад

    Lets Automate our lives with Tech great vid keep it up tiff

  • @EliteSoftwareEngineer
    @EliteSoftwareEngineer Год назад

    Hey where do you get your sound tracks from! They are awesome

  • @AH-jt6wc
    @AH-jt6wc Год назад

    you are so funny when you said no one said it is perfect lol

  • @sandro-nigris
    @sandro-nigris Год назад

    Thanks Tiff, this video is great! I learnt something today 🙂

  • @automicapaul
    @automicapaul Год назад

    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?

  • @Syn3rgy-DMS-HANZ
    @Syn3rgy-DMS-HANZ Год назад

    Awesome demo. Thanks Tiff n Tech

  • @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.

  • @ABDU7194
    @ABDU7194 Год назад

    Totally agree with your conclusions

  • @AH-jt6wc
    @AH-jt6wc Год назад

    Those eyes and smile, you are gorgeous !!! You make me love Python !!

  • @palpico8111
    @palpico8111 Год назад

    I just suscribed to ur channel your re amazing

  • @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.

  • @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.

  • @jamesross5120
    @jamesross5120 Год назад

    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.

    • @TiffInTech
      @TiffInTech  Год назад

      Keep me posted!!

    • @jamesross5120
      @jamesross5120 Год назад

      @@TiffInTech man looks like fairly simple code maybe im getting somewhere afterall these tutorials. :->

    • @TiffInTech
      @TiffInTech  Год назад

      @@jamesross5120 yes!! 👏👏👏

  • @PointEndClick
    @PointEndClick Год назад

    This video is awesome.

  • @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

  • @FaithfulGardnerDNP
    @FaithfulGardnerDNP Год назад

    Oh, I absolutely love that you did not edit out the part that didn’t work

  • @Luiblonc
    @Luiblonc 4 месяца назад

    Great video TIFF_Tech, can you change the voice of this voice assistant?

  • @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

  • @Techroadie66
    @Techroadie66 Год назад

    Really nice tutorial, i have the project to use Python + GPT-3 to make Pepper Robot a more real conversational assistant

  • @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.

  • @AaronLou-l7w
    @AaronLou-l7w Год назад

    Thanks for sharing !
    Wondering how to make the voice sounds like a real person, rather than a machine. Any suggestions?

  • @saxegothaea_conspicua
    @saxegothaea_conspicua Год назад

    amazing video, keep up the good work

  • @Shaqal7
    @Shaqal7 Год назад

    I did something similar with the exception that I did the backend in django with user support, and for that the frontend using Flutter :)

  • @charles-antoinedethibault6249
    @charles-antoinedethibault6249 Год назад

    incredible video

  • @Eyeknawledg
    @Eyeknawledg 4 месяца назад

    Love u❤

  • @dev_apostle
    @dev_apostle Год назад

    oh hell yeah. You go Tiff!

  • @VMACE
    @VMACE Год назад

    🎉 thanks 👍🙏

  • @algomoneyfest
    @algomoneyfest Год назад

    Python + Automation + A extremely hot blonde = Instant subscriber thanks 😎

  • @picklenickil
    @picklenickil Год назад +1

    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??

    • @TiffInTech
      @TiffInTech  Год назад +1

      Thank you!! Ohh that’s great to know too!

    • @picklenickil
      @picklenickil Год назад

      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.

  • @internetuser5058
    @internetuser5058 Год назад

    Great content.

  • @TheMyth2.9
    @TheMyth2.9 Год назад

    Great work Tiff, you are doing really well. Im starting out my journey into this very soon, but im sorry I cant stand python :)

  • @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.

  • @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