Python Automation with ChatGPT

Поділитися
Вставка
  • Опубліковано 8 лис 2024

КОМЕНТАРІ • 260

  • @TechWorldwithNana
    @TechWorldwithNana  Рік тому +69

    Hope this video was useful for you! 💡 Let me know in the comments, what use cases would you be interested in and generally what video topics you would like to see?

    • @MrMAhmed22
      @MrMAhmed22 Рік тому +2

      Bundle of thanks from pakistan Nana you're doing an amazing job

    • @andhojushiva6942
      @andhojushiva6942 Рік тому

      Please,make full video on DSA with python

    • @hasbldasbi8290
      @hasbldasbi8290 Рік тому +1

      It would be nice if you added it to the subtitles in Turkish😎⚙️🤓🤓🤓

    • @MAYANKKUMAR-pk3qo
      @MAYANKKUMAR-pk3qo Рік тому

      Oops, too much annoying ads.

    • @Jameelahs1World
      @Jameelahs1World Рік тому +2

      Hey Nana, thank you so much for creating amazing Peyton videos! I found this video very helpful. I am 10 years old. I just started learning how to call patients so I found your videos very helpful. I was wondering if you give tips for me? And also if you can mentor me?

  • @rushikeshdeshmukh385
    @rushikeshdeshmukh385 Рік тому +197

    I got a job as DevOps engineer because of your UA-cam channel I am able to cleared 10 companies interview ...Thank you nana 👍😊😊

    • @m-jay356
      @m-jay356 Рік тому +4

      Wow!

    • @tsheskoelmaximus3784
      @tsheskoelmaximus3784 Рік тому +10

      One of the my satisfying comments/messages a teacher/instructor can receive.
      Thank You for being a Valuable Testimony of her efforts.🎉

    • @kadogo7712
      @kadogo7712 Рік тому +1

      that really encouraging for the wonderful nina .

    • @healthinsurance59
      @healthinsurance59 Рік тому

      What topics are required to be studied as I completed not getting how to implement projects some suggestions would be helpful

    • @leonardakubude5097
      @leonardakubude5097 Рік тому

      could you point the particular video that did the deed for you?

  • @Trumanshoww
    @Trumanshoww Рік тому +16

    Hi, I am a man living in South Korea, and I am an AI researcher. My background is not at Computer Science, so I am afraid whether I can work as an engineer in the near future. However, thanks to you, not only this course, I am getting so much help from you. Thank you so so much for providing us this much nice-quality videos. I hope you always be happy. Have a great day, Nana :)

  • @valterpereiracjr
    @valterpereiracjr Рік тому +3

    I was Clipper programmer (90´s) and tried to start learn Python (not very dedicated though) few times in the past. You did an amazing job explaining items like the "import" at the begining of the Python program and you did explain those in a very direct and clean way.
    I am truly amazed by your knowledge and the way you touched each and every line of the code you presented, even the one that AI created.
    Thank you a lot @TechWorldwithNana !!!!
    Great job!

    • @ScottKFraley
      @ScottKFraley Рік тому

      Whooo Hooo!! Clipper in the Hizzy! ;D

  • @daedalusjones4228
    @daedalusjones4228 Рік тому

    I'm a technical writer.
    The way you work reminds me a lot of the way that I work. (I don't run into that often.)
    I mean the way that you explain things, the way you pause to explain the underlying (and transferable) concepts, etc., explain other options (and why you are going with the one that you choose)...
    Really excellent.

  • @EcleticMusicFilm
    @EcleticMusicFilm Рік тому +5

    If I haven't commented yet, let me say that I've watched many of your videos and you're one of the best tech instructors out there!

  • @praveens2272
    @praveens2272 Рік тому +8

    Awesome.. it definitely complement developers time but may not replace entirely

  • @fromdil6470
    @fromdil6470 Рік тому +7

    👋 I just wanted to take a moment to express my appreciation for the 👌 examples you use in your content to illustrate important concepts. In particular, I found your recent piece on how audiences can reach multiple outcomes 🤔 to be both interesting and informative. I hope you will continue to create more content like this in the future. Thank you for all your hard work and dedication to producing high-quality content for your audience. 😊 Best regards, Nana

  • @djendjou1
    @djendjou1 11 місяців тому

    Simple, but yet the most ingenious use (imo) of the openai api i've seen so far.

  • @erichuang16
    @erichuang16 Рік тому

    I'm super happy to find Nana's channel. All videos that I've viewed are high quality -clear, logical and well explained. Thank you, Nana!

  • @nagdali9209
    @nagdali9209 Рік тому +2

    I want to say my skills improved in DevOps so fast, thanks to you.
    for this, its too informative as i expected from you🙂💥

  • @ahassan7270
    @ahassan7270 11 місяців тому

    You are a wonderful and SUPER teacher. I am very lucky found your channel. Python automation with chatgpt was a difficult and complicated issue before I found your channel. Your detailed explanations have melted all the difficulties and made things very easy to understand.
    Thank YOU so much for your great efforts and generous contributions which turned complexity into simplicity.

  • @Unfaced85
    @Unfaced85 Рік тому

    In my Company we have an AI/ChatGPT Hackathon later this month, so this video is perfect as preparation, thanks.

  • @maryannsalva3462
    @maryannsalva3462 7 місяців тому

    Superb! Thank you so much Nana! This is what all I need to start using OpenAI's ChatGPT! :)

  • @mustafaezzi2871
    @mustafaezzi2871 Рік тому

    Amazing. I dint expected a one hour video would teach such a valuable and real life project in such a easy way. Bow down to your excellence and expertise

  • @sagarahire-ys3uj
    @sagarahire-ys3uj Рік тому +3

    U r very well ahead of time...thanks for this

  • @RubenMoraVargas
    @RubenMoraVargas Рік тому

    Great video! A small addition to the material: you can get the response of the GPT model in any language you need without a third party. You just need to add the specific instruction to the prompt, and maybe as a parameter in your API.

  • @scottiepowell
    @scottiepowell Рік тому

    Nana, fantastic video, love all your videos, anytime i'm struggling with a concept i check to see if you have a video on it. for the downloads cleanup i ran it for a windows 10 cleanup and it ran first time and worked but i told it 'cleanup files in the downloads folder', so chat wrote the script for files and didn't move folders in the downloads folder older than 30 days, i went back and changed the narrative and it worked like charm. The AI can be pretty sensitive to what we type and our words really matter in the results.

  • @ananjohar8248
    @ananjohar8248 Рік тому

    You are best tutor in youtube tech as a female version.

  • @drown228
    @drown228 9 місяців тому

    One of the best teachers I've ever known

  • @yt7042
    @yt7042 Рік тому +2

    Thank you Nana. I will probably have to visit more often your channel. :-)

  • @GajavelliAdarsh
    @GajavelliAdarsh Рік тому

    WORKING If you do this:
    I tried with MODEL text-davinci-003, gpt-3.5-turbo-instruct and the response was 429 Error.
    It mean the openAI account doesn't have credit to use.
    Nothing wrong with model or code.
    I did the following:
    1. Paid: Upgrade with a plan in the current openai account. It works.
    OR
    2. Free: Just Create a new openAl account with other email, number. You will get a 5$ credit and use key's from new account which is loaded with credit.
    It works fine.
    Thanks Nana for the informative content.

  • @cardozoveronica
    @cardozoveronica Рік тому

    Nana! I learned Python from you! thank you!!! At this point I'd like to know how to structure a complex python code, not in one file. Thank you again!

  • @tarekhabibi3662
    @tarekhabibi3662 Рік тому +5

    Awesome Automation examples , thank you 🙏

  • @OpenRoadTafreeh
    @OpenRoadTafreeh Рік тому +1

    Simply Awesome! You are the best trainer

  • @AbuFaizal
    @AbuFaizal Рік тому +1

    the way to teach concept explanation is excellent. please make more videos

  • @nilakshirekhawar2861
    @nilakshirekhawar2861 Рік тому

    Hi Nana,
    I am working on Azure cloud revolving around its OpenAI offering for 5+ months, but learned a lot from this video :) thanks ! Keep posting good content like this

  • @spoorthipanduranga6220
    @spoorthipanduranga6220 Рік тому +2

    It is mind blowing and very useful. Thanks for making this video.
    Please do the DSA python videos next!

  • @adrienesquerre5790
    @adrienesquerre5790 Рік тому +3

    Thank you for making it easier !

  • @gammalgris2497
    @gammalgris2497 Рік тому

    Interesting tutorial.
    I have to deal with complex software systems. There are two big issues I have to face constantly. Code and scripts don't get reviewed as much as I would like. Testing. Manual testing and inspection can be time consuming when done repeatedly. It doesn't matter where code or scripts come from (human or AI). If it's not reviewed and tested there is a problem in an ever changing system/ environment.

  • @manohartimothy5825
    @manohartimothy5825 10 місяців тому

    I got it... there was no space in the "Bearer "... I put the whole code into the chatgpt and ask fo the mistake...So I got the result
    from the chatgpt....Anyway your indroduction was amazing...thanks a lot for your tutorial.. I will be watching more from you Nana.. regards from Manohar

  • @fehdiyadbenabbes7453
    @fehdiyadbenabbes7453 Рік тому +1

    Thank you Nana this is one of my best channel

  • @srinivasaraopalakaluri
    @srinivasaraopalakaluri Рік тому +2

    I really impressed by your lovely way of explanation and pretty cool code !! :-)

  • @romanhryshchenko9111
    @romanhryshchenko9111 Рік тому +3

    Nana you are amazing! This is a great instrument to learn Python & automation for DevOps.

  • @OLAFBONDD
    @OLAFBONDD Рік тому +1

    You have a talent in explaining. Thank you.

  • @stephanemoreau846
    @stephanemoreau846 Рік тому +1

    Great job , it's a very creative video for multiple automation script and DevOps task

  • @DJ-ct6so
    @DJ-ct6so Рік тому

    Excellent presentation. I learned a lot. Many, many thanks Nana.

  • @GibranCastillo
    @GibranCastillo Рік тому +1

    Nice!! Thank you for making this UA-cam video

  • @minnuzamir5458
    @minnuzamir5458 Рік тому +1

    really great you are my best teacher!!!

  • @tba77
    @tba77 Рік тому +1

    Great and interesting example, I learned a lot of things thanks to your channel I even managed to get CKA certification and have a goal to master python language which is the thing I lack mastering a programming language thank you for all the content you provide

  • @hanankevich5762
    @hanankevich5762 Рік тому

    Awesome examples
    Can’t wait to adopt this chatgpt code generator in my work place.😅

  • @hinafraz528
    @hinafraz528 Рік тому

    you are amazing
    you start from very basic, love the way you teach.

  • @magicmedia7950
    @magicmedia7950 Рік тому

    By far the best explaination for API request I have come across. Thanks for the good work. You have a like and a new subscriber

  • @ovskihouse5271
    @ovskihouse5271 Рік тому +1

    These tutorials... Especially make chatgpt One special

  • @charlesyaw6514
    @charlesyaw6514 11 місяців тому +1

    Guys let's make Nana hit a million subs

  • @thomash.8297
    @thomash.8297 Рік тому +2

    Top video Nana! Thank you so much!

  • @kinshuksinghania4289
    @kinshuksinghania4289 Рік тому +3

    Wirklich fantastisch, Nana!!!

  • @eduhazard
    @eduhazard Рік тому +1

    Thx!!! I Subscribed and liked! 🤩🤩🤩

  • @haidersyed6554
    @haidersyed6554 Рік тому +1

    I love your teaching style, can you please make web development courses.

  • @nagarajabalur6374
    @nagarajabalur6374 Рік тому +1

    very useful content. Thank you for sharing.

  • @paulshortridge870
    @paulshortridge870 Рік тому +3

    Fantastic demo thank you

  • @mohamedheouaichi3392
    @mohamedheouaichi3392 Рік тому +2

    Great Video and content. I like your videos and your lecture style. I also find your animations in your video very pleasing. Are using standart ppt animations or are you using a special software?

  • @arielfranco8251
    @arielfranco8251 Рік тому

    Thank you very much for all your amazining content!

  • @christianmb1160
    @christianmb1160 Рік тому +1

    Amazing Nana! Thank you so much!

  • @nirmesh44
    @nirmesh44 Рік тому +1

    Super Useful.Great content.😀

  • @alkispiskas3580
    @alkispiskas3580 Рік тому

    Excellent tutorial! Thank you for sharing!

  • @GereHadush
    @GereHadush Рік тому +1

    It is great walk through lesson. Thank you

  • @aartikulkarni6761
    @aartikulkarni6761 Рік тому

    Thank you Nana! Its very helpful !

  • @mytechchannel2519
    @mytechchannel2519 Рік тому +1

    Excellent content Nana, liked it

  • @hzupanc
    @hzupanc Рік тому +2

    Thank you Nana for such an amazing and well-structured tutorial on how to get maximum from Chat GPT.
    It could give us a lot in everyday work to automate some boring manual tasks and in the meantime advance Python knowledge or some other language of your choice, dependable on our inputs.

  • @bratwurstfan
    @bratwurstfan Рік тому +1

    Thanks so much for the great introduction!

  • @brookster7772
    @brookster7772 Рік тому

    Your videos are the best! I would like to request more videos on using the latest artificial intelligence related API’s perhaps even create some LLM apps, using python or another language, C-sharp would be great!
    Keep up the great work 😀

  • @thrivedhr164
    @thrivedhr164 Рік тому +1

    Nice and easy to understand explanation, Thanks Nana

  • @mukeshtiwari87
    @mukeshtiwari87 Рік тому +2

    great example. thanks for uploading

  • @RealSiegrist
    @RealSiegrist Рік тому

    Great presentation and great selection of examples. Thank you Nana!

  • @paulrevere27
    @paulrevere27 Рік тому +1

    great video! Thanks for your contributions to the dev community!!

  • @daedalusjones4228
    @daedalusjones4228 Рік тому +2

    Really excellent. Somewhere around 16:02, you mention environment variables, and their purpose (not hard-coding your API key in anywhere).
    Exactly the kind of info I'm looking for.
    You're an excellent instructor. Great info. Thanks.

    • @juleswombat5309
      @juleswombat5309 4 місяці тому +1

      The operating system uses Environmental Variables, to hold system wide short variables. Typically use for file paths to where the executable/ libraries exist. These variables are established on System, or local terminal session startup, so that user and system can see where and what the system wide variable. e.g. JAVA_HOME, typically points to where the Java interpreter is. So under Windows, Advanced Settings, you can see existing Environmental Variables, which you can also add to, edit or delete (But only if you are sure what purpose they are being sued for !) Linux and MacOS have the same concept. So to protect sensitive data, like the API Key, its good practice to establish that in an Environment Variable.

    • @daedalusjones4228
      @daedalusjones4228 4 місяці тому

      @@juleswombat5309 -- Thanks, Jules. Great info!

  • @tomkaufmann4390
    @tomkaufmann4390 Рік тому +2

    great explanation, impressive results!

  • @sonachan1
    @sonachan1 Рік тому +1

    Great video. Covered a lot of topics with an easy to understand style! Thanks!

  • @sonujain2348
    @sonujain2348 Рік тому

    I m BE ECE 2012 pass out . Last 10 years I m LECTURE in reputeted institute . In college I learn c c++ n java but not interested in coding. Currently I started learning python.

  • @vks4203
    @vks4203 Рік тому +1

    I wish your videos to reach more and more students and cross 1M subscribers !!! @TechWorldwithNana

  • @saman6199
    @saman6199 Рік тому +1

    Love your work Nana, thanks for the effort and interesting topic.

  • @bohaning
    @bohaning 9 місяців тому

    🎯Course outline for quick navigation:
    [00:00-01:13]1. Python automation tutorial
    -[00:00-01:13]Learn python to automate tasks: translate headers to spanish, clean up old files.
    [01:13-14:51]2. Automating python script generation
    -[01:13-01:45]Using chatgpt's api to generate python scripts for two use cases.
    -[02:44-03:14]Python's ecosystem of libraries gives it a monopoly on automation due to its simplicity and wide adoption in low-level automation tools.
    -[04:54-05:19]Openai's api connects to ai for chatgpt, used by startups and developers.
    -[06:39-08:10]To use the openai api, sign up, create an account, and obtain the api key to connect to the api in python.
    -[08:51-10:23]The transcript covers setting up python 3, using package manager peep, and creating a new folder for python scripts.
    -[10:40-11:07]The generic requests library allows making requests to any api, simplifying the process and hiding complexity.
    -[13:47-14:13]Find api endpoints in documentation for using openai platform.
    [14:52-21:49]3. Managing api keys and making post requests with openai api in python
    -[14:52-15:39]Copying api endpoint and key into code, emphasizing security and use of environment variable for key storage.
    -[15:59-16:47]Preparing to make a post request for authentication and data retrieval.
    -[17:10-17:34]Transcript covers metadata and request structure, not actual content or prompt.
    -[18:17-18:46]Python is needed for making requests to openai using either the request library or the openai library.
    -[19:10-19:42]Mapping http headers in python request for api key and json format.
    -[20:26-20:56]Demonstrated python string concatenation and making a post request with headers.
    -[21:24-21:49]The transcript discusses the request data and its parameters.
    [21:49-32:40]4. Ai api for python script generation
    -[23:27-23:51]Davinci 003 model is the most capable, trained with massive data, and can do complex tasks.
    -[24:15-24:39]The goal is to generate a complex python script using the text davinci 003 model.
    -[26:10-26:32]Easily swap model names in api for testing different models under codex group.
    -[27:12-27:40]Prompt is key to the request, used programmatically, to prompt the davinci model for a python script.
    -[28:01-28:25]Controlling api model behavior with max tokens set to 100.
    -[28:44-29:16]Controlling creativity in response generation with temperature settings: 0 for precise, 1 for creative, 0.5 for balanced.
    -[29:36-30:10]Preparing to connect to openai api using requests library and api key for authorization.
    [32:40-46:08]5. Python script execution and library installation
    -[32:40-34:01]Python script uses f-string syntax for variable references and requires requests library to be installed using pip3.
    -[34:48-36:18]Troubleshooting and installing 'requests' library for python 3, fixing syntax error, and successfully executing the script.
    -[38:05-38:41]Executing python script connects to openai's davinci text model for programmatically receiving responses.
    -[41:07-41:37]Python's built-in argparse module simplifies user input handling.
    -[45:04-45:34]Executing the script results in different api responses, allowing for easy customization of use cases.
    [46:08-01:02:54]6. Python scripting and web scraping
    -[46:39-47:03]Automate console tasks, secure sensitive data, and use environment variables for ease.
    -[49:37-50:07]To create separate files for multiple use cases, pass file name as input.
    -[51:07-51:51]Optimizing file creation and extracting into environment variable.
    -[52:34-53:31]Optimized python chat gpt script avoids exposing api key, ready for automation scripts and blog post processing.
    -[55:34-56:00]The code provided has a syntax error due to an unfinished result, likely caused by the 'max tokens' parameter in the python program.
    -[57:24-57:50]Beautiful soup is a popular python library for web data extraction, recommended by the api, known as bs4.
    -[59:59-01:00:44]A script creates a spanish headers.html file, adding h1 with header text from the spanish headers array. the script looks surprisingly good for the very first request, requiring minimal adjustments except for preserving the hierarchy of headers and titles.
    [01:02:54-01:14:04]7. Using google translate library and automating downloads folder cleanup
    -[01:02:54-01:03:24]Installing google translate library version 3.1.0.a0 fixed the issue.
    -[01:05:37-01:06:04]Creating a python dictionary with translated text and header names, appending it to a spanish headers array, and iterating through the list to grab attributes.
    -[01:06:32-01:07:02]Script successfully executed, translated headers to spanish, no errors
    -[01:07:57-01:09:00]Python automation code generates to move files older than 30 days to 'to delete' folder in a messy downloads folder.
    -[01:12:42-01:13:06]Files and folders with modified date more than 30 days ago were successfully moved without any modifications to the code.
    offered by Coursnap

  • @musicalbirds2928
    @musicalbirds2928 Рік тому +1

    Great video. Thanks for sharing.

  • @sonamohialdin3376
    @sonamohialdin3376 5 місяців тому

    Awesome tutorial thank you

  • @HemantMishra-pr9yv
    @HemantMishra-pr9yv Рік тому

    thank you, thank you, thank you soooooo much Nana ma'am.

  • @betterstack
    @betterstack 7 місяців тому

    Great stuff Nana!🚀 If anyone’s looking for more Python tutorials, we’ve released Loguru logging, task scheduling, and more to help the community too 💪

  • @PrachiHanuh
    @PrachiHanuh Рік тому +1

    Amazing Nana, you are awesome.

  • @jsathyanarayana7782
    @jsathyanarayana7782 Рік тому +1

    Awesome Video!!As always amazing graphics and very creative❤

  • @ahmmo2870
    @ahmmo2870 Рік тому +1

    This is awesome! 👏 Thank you for making it!
    Would be great and appreciated if you can make a video on how to fine tune an OpenAI model 😊

  • @BrandonVicedomini
    @BrandonVicedomini Рік тому +2

    Excellent video Nana. Very useful video for Python automation and ChatGPT, I definitely learned a lot. I have a question for you. What tools are you using to create you videos? What do you use to create the animations and where do you get the graphics? Thanks so much for your content. Definitely a like and subscribe.

  • @m0rtyss
    @m0rtyss Рік тому

    Hi Nana, thank you for sharing the knowledge . Just one question, you have teach python using PyCharm and now you are using VS, any reason for that??

  • @NetZeroEarth
    @NetZeroEarth 9 місяців тому

    Thank you Nana ❤

  • @WaltWhite_The_Walter_White
    @WaltWhite_The_Walter_White Рік тому

    Very nice. Thank you.

  • @manohartimothy5825
    @manohartimothy5825 10 місяців тому

    Yes, I have a wish... Instead of printing on the terminal, can you do it on the local host...That will be very nice..thank you and have a great day...

  • @lerryalexanderortizsalazar6069

    Thank you so much! So helpful, and your explanation is amazing!

  • @SolomaZed
    @SolomaZed Рік тому

    Thank you Nana, great stuff

  • @FRANKWHITE1996
    @FRANKWHITE1996 Рік тому +2

    Thanks for sharing ❤

  • @zxcvbnm50748
    @zxcvbnm50748 Рік тому

    Thanks Nana for sharing this awesome session.

  • @NKD748
    @NKD748 Рік тому +2

    Thank you Nana

  • @GlennLMS
    @GlennLMS Рік тому

    Thanks for the video. Very interesting.
    One of the strengths of ChatGPT is the conversations, and how it remembers what has been previously talked about within the current conversation when coming up with new responses. Using the API, does ChatGPT still remember the conversation the Python program is having with it, or, is each API call a separate conversation?
    Hope that was clear 😋

  • @ravireddy270
    @ravireddy270 Рік тому +1

    I got job Bcoz of you.... Tqs a lot Nana

  • @nikolaysalutski3270
    @nikolaysalutski3270 Рік тому

    fantastic video once more, thank you!

  • @salilphatak7792
    @salilphatak7792 Рік тому +1

    Awesome example..!!

  • @khalifakane8835
    @khalifakane8835 Рік тому

    Very useful. Thank you!

  • @anthonyrubio1194
    @anthonyrubio1194 Рік тому

    Very helpful

  • @fajobiafolabi4759
    @fajobiafolabi4759 Рік тому

    Excellent video, Thank you so much. But have you heard of langchain? Would it make the code more efficient? Feedbacks thanks.

  • @aleksandarpetrovic2632
    @aleksandarpetrovic2632 Рік тому

    Great video, although I'm a little scared that I will soon become redundant as a developer :)

  • @caiyu538
    @caiyu538 Рік тому +1

    Great. Great. Great

  • @rus7289
    @rus7289 Рік тому +2

    you are the best!