ChatGPT in Python for Beginners - Build A Chatbot

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

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

  • @migies1276
    @migies1276 8 месяцев назад +136

    My thoughts and prayers go out to that one person that is going to get to the point of pip installing openai; not have pip and then go into the deepest darkest rabbit hole of software for the first time.

    • @emersedfungus
      @emersedfungus 7 месяцев назад +6

      I'm that guy how do I do it 😭

    • @past_perspectives1
      @past_perspectives1 7 месяцев назад

      @@emersedfungusafter you have installed python, you need to create a folder and install a virtual environment there. I had lots of issues with this but this tutorial worked for me: ruclips.net/video/ZHvA14BzrPw/видео.html

    • @past_perspectives1
      @past_perspectives1 7 месяцев назад +22

      worst part about it is when you have to listen to the yapping of some indian guy with the heaviest accent and a broken mic and after 10 minutes of yapping he did not do anything that would help you 😭💀

    • @ruckingrugger6365
      @ruckingrugger6365 7 месяцев назад +9

      Its honestly incredible to face this learning curve knowing nothing, struggle alot, then have someone who's a god at programming walk you through it. All these youtube videos are helpful if you know all the slang, codewords, or basics but if you don't, one simple thing like pip can royally fuck your whole project simply because nothing is intuitive!

    • @marktaylor9886
      @marktaylor9886 7 месяцев назад

      @@ruckingrugger6365 Get GPT-4 Turbo to help you. Game changer.

  • @kunlemaxwell
    @kunlemaxwell Год назад +473

    Can someone give credit to this guy for the effort he put into the video editing! Amazing content

    • @aiadvantage
      @aiadvantage  Год назад +36

      ♥️ so happy to hear that its appreciated

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

      I second this. These videos are really great. I even subscribed and clicked the bell!

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

      signed!

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

      it is a great video!

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

      Subbed and liked

  • @riderofthestorm2327
    @riderofthestorm2327 11 месяцев назад +24

    Two days ago I clicked your video by mistake, but I was intrigued and decided to try this out with no prior history in coding. Everything was so easy and I realized my fear for coding was so hilarious. Two days later I have written a TTS program with basic Python and html code (with the help of ChatGPT). Thank you for opening my eyes.

  • @antonpictures
    @antonpictures 8 месяцев назад +1

    00:00 🛠 Setting Up Environment for ChatGPT Application
    Setting up Visual Studio Code IDE and Python installation.
    Obtaining the secret key from OpenAI for API access.
    Downloading the necessary files for the project setup.
    02:53 🧩 Understanding Basic Code Structure
    Importing OpenAI package and linking the OpenAI account with the API key.
    Sending prompts to ChatGPT and receiving responses.
    Explaining the basic structure of the Python code for ChatGPT interaction.
    06:05 🤖 Running and Interacting with the ChatGPT Application
    Installing necessary packages using pip.
    Executing the ChatGPT application and interacting with it in the terminal.
    Modifying prompts and receiving responses from ChatGPT.
    07:01 🔄 Building a More Interactive ChatGPT Application
    Exploring a more interactive chatbot using Python.
    Understanding the structure of the code for bidirectional conversation.
    Implementing a loop for continuous interaction with ChatGPT.
    10:19 🌐 Creating a Web-Based ChatGPT Application
    Installing Gradio package for web-based interface.
    Customizing the chatbot functionality and appearance.
    Sharing the web-based ChatGPT application for easy access.

  • @ChatGPTLeader
    @ChatGPTLeader Год назад +31

    This is great. More, please. I coded AI 35 years ago with Prolog and am getting back into it now with the public explosion. Exciting times!

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

      Damn! you are an OG!

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

      Looking forward to your videos

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

      Yo, me too! Prolog and Lisp were our gotos. Things sure have changed!

    • @alexalex-om9ic
      @alexalex-om9ic Год назад

      i love it so much it will help people to find new jobs and new fun ways of life.

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

    this was the most effective and well articulated tutorial I have found. I ran into some errors (my own doing) but was able to find the errors and correct them. I have absolutely zero coding knowledge and i was able to build something. thank you so much.

    • @sanderschat
      @sanderschat 7 месяцев назад

      and what you dont know...just ask chatGPT

  • @royvivat113
    @royvivat113 Год назад +21

    This was an awesome tutorial. I appreciate that you explained that the video prioritized simplicity and then you gave the viewers what they wanted.

  • @SheerazAhmed-k1l
    @SheerazAhmed-k1l 2 месяца назад

    As a developer, I am amazed by how easily you made the video adaptable for everyone. You have my Like.

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

    I am working on building a chatbot for mental health assessment for students and also give them advice and ways to improve it. I will be using an Openai Ai. All this for a hackathon. Prior to this I had no knowledge about developing an Ai or how it works or any of its concepts. But I still somehow ended up with this role. I don't know how I am gonna do it, but I will give it my best. Wish me luck.

  • @M2345M
    @M2345M 11 месяцев назад +3

    look ma... I'm coding!!! Thank you so much for your videos, they are super easy to follow. I was an IT Executive for over 20 years and never got around to learning how to code. Now that I'm retired, I'm loving learning coding and AI!!!

    • @aiadvantage
      @aiadvantage  11 месяцев назад +1

      Comment like this keep me going :) Thanks for sharing

  • @BunchaCrabs
    @BunchaCrabs 10 месяцев назад +3

    I had a problem with pip, turns out mine was too old, chat gpt helped resolve, video is awesome!

  • @maxwinner2517
    @maxwinner2517 Год назад +18

    Awesome - Thanks - Would love more like this - Any chance of a tutorial for a better UI, where we can see all of the chat thread? - Would be great to see how things work for other functionality, something to save our prompts to a folder?

  • @TheTechLawyer
    @TheTechLawyer Год назад +62

    This was great. More like this, please. As an example, extending this functionality to show how the UI could be customized, some use cases, etc., would be great. Thanks for all your efforts.

    • @alexalex-om9ic
      @alexalex-om9ic Год назад +1

      i love it so much it will help people to find new jobs and new fun ways of life.

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

      It is saying You exceeded your current quota , please check your plan and billing details.
      Do i need to pay for the API key ?

    • @MohammadAdilAli-dr4hb
      @MohammadAdilAli-dr4hb 10 месяцев назад

      Yes you need to pay to use api keys

    • @ValidT
      @ValidT 2 месяца назад

      @@momentsofcricket OpenAI no longer gives free credit, just put like $5 and use 4o-mini, ridiculously cheap.

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

    Yes PLEASE! Feel free to do more. And thank you so much for the content. Never get tired of doing what is good. Blessings!

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

      this guy acts like he is the youtuber

    • @ZubairSayyad-u2b
      @ZubairSayyad-u2b Год назад

      hey buddy its not working its showing error suggest me what to do

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

    I have 0 coding knowledge or skill and this helped me build my first bot. you are incredible. thank you so much

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

    This is gold, thank you so much. I love when I see someone empowering non-coders and coders alike!

  • @premsinai
    @premsinai 5 месяцев назад

    Bro I love you 😭I have a school project that I almost died to buy after seeing ur video I was immediately able to do it and I'm out of tears
    Thankyou so much
    God bless ya!!!!

    • @aiadvantage
      @aiadvantage  5 месяцев назад

      Amazing! That is what I like to hear. Now keep going

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

    Im learning python and want to create chatbot to start with my projects, lovely way to use as much as you can the AI ! Thank you so much

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

    I'm watching this video on my lunch break excited to get home and start learning how to do exactly just this. Thank you for the beginner tutorial.

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

    I had no idea Python could be so easy. I've never made it all the way through any JS course, but I can look at a simple code snippet and sometimes figure out what it's doing. This seems very doable to me. I was hoping to find some software (Aiomatic?) to abstract away the coding part. But, maybe I can really learn this stuff. Out there is a fortune waiting to be had, you think I'll let it go you're mad, you got another thing coming.

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

    I've been trying to get a bot up and going in python for like 2 weeks, and somehow each video I watch something ends up not working... thanks to you, this runs perfectly!!! Thank you so much for helping people learn and stay abreast of how all this works!!!

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

      Hello please help while running the 3rd code to the server it is saying module not found gradio... Nd I install gradio after that when I am installing gradio again then it is showing requirements satisfied but it is showing in that metadata(pyproject.toml) did not run

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

    brilliant, its obvious most coders and devs won't want this guy to succeed

  • @MarkWilder68
    @MarkWilder68 Год назад +18

    Yes I would love more of these, I would also like to know how to take the 3rd one and rap some CSS and HTML around it. Also is there a way to change the words user_input and output to something else?
    Thank you Igor

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

      Good questions!
      So the first one you could straight out ask chatgpt and you will get a step by step guide but I agree that this would be a interesting video too. Don't have any web dev skills myself so this would need to be a collab.
      As of the second one, yes absolutely but I think that you need to go a step further and use blocks for that. Their documentation has the most detailed description on how to do that: gradio.app/quickstart/#hello-blocks

  • @Likwify
    @Likwify 4 месяца назад +9

    5:55, i tried doing this and i followed all steps properly. It's saying openai 1.0.0 doesnt support this. it's asking me to add something called openai migrate or check the github page. pls help me out here.

    • @m77u5h
      @m77u5h 23 дня назад

      me to

  • @chetansehgal-i9v
    @chetansehgal-i9v Год назад +6

    Amazing video. You explained the content in the simplest way possible. I would definitely want to see more content created by you..

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

    You are so easy to follow. This is the only tutorial I was able to get GPT API working. Thank you!

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

    More tutorials like this, please.

  • @aubisokahaftungsbeschrankt6406
    @aubisokahaftungsbeschrankt6406 7 месяцев назад +1

    OK... challenge accepted. I make a chatbot with your tutorials 1-3.

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

    XD That 'explained in 30 seconds' countdown. Good gag, sir. Also, thanks for the vids, they've been inspiring for months.

  • @elthabbydhillon243
    @elthabbydhillon243 2 месяца назад

    Hey, I just want to say what a great easy to understand video. Thanks and keep up the good work !

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

    Incredibly helpful, from someone who only knows MATLAB, thanks.

  • @barrystock7526
    @barrystock7526 9 месяцев назад

    I haven’t got this excited over a video since… anyway, glad I found this. It’ll be nice to see a video on how you can implement this code to create a more creative application from a UI/UX perspective. Thanks again 🎉

  • @sanderschat
    @sanderschat 7 месяцев назад

    i used ChatGPT to create the py script for me to create the chatbot terminal. Great great! thanks for the inspiration.

  • @levelUpmarketing0
    @levelUpmarketing0 3 месяца назад

    This is the first technical ai tutorial I’ve found

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

    Wow, bro! This is the most explanatory video I have ever seen around here. Great job! Thanks.

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

    This was super helpful! Please make more of these, maybe a series!

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

    This may be the best video I've ever seen, used, enjoyed.

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

      oh wow. thanks for that comment Mike, appreciate it

  • @Sakeios7
    @Sakeios7 Год назад +4

    really cool video man, amazing how in depth you're going in here, especially for non coders!

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

    Best coding instructor I've seen! Great job!

  • @haleemarehmat
    @haleemarehmat Месяц назад

    yeah, please make more videos on coding
    With learning, Also I'm enjoying your voice 😄 It's fascinating.

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

    Thank you for your effort making this video. I found it interesting and useful and would be glad if you produce more similar content like this!

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

    Best content I've seen on RUclips so far. Keep 'em coming

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

      Thanks :)

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

      @@aiadvantage hello sir....can you talk about the token issue...its not working...it says we need to buy premium version

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

    f* yeah. Awesome to see this workflow. I'm getting into this a lot and your channel is one of the places that are helping me build a model of understanding between what humans do and how we make decisions fed by AI "suggestions" via implementing some coding and software. Keep this up! Love it.

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

    Oh my God.This man❤❤ Thank you brother love from India.

  • @JamesFort-sx3zo
    @JamesFort-sx3zo Год назад

    Have been trying to find a good guide on doing this forever... thanks

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

    Thanks for making the python videos so quick. Was really interested. 😊

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

    Thank you. I found alot of content on the internet and i was able to do some of it. But you made it REALLY easy.

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

      Nice! Check out my newest upload on how to make is speak too

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

    Amazing so easy ❤luv the way u explain to beginner

  • @stefano.negroni
    @stefano.negroni Год назад

    Finally... a clear and effective tutorial. Thank you very much!

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

    Yes, more content like this one :)

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

    This was the most helpful tutorial for this out there, thank you.
    Can you tell us how to integrate our chatbot into a Squarespace website as a permanent feature?
    Thanks!

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

    Man, you are so good at making things. You have really helped us with your e-books and all that. Thank you once again.

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

    Your video helped me with another program I was having trouble with and now that works! Thank you!!!

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

    Dude you are talented, you've made it look easy. Thank you for this video

  • @Irfannnnnn
    @Irfannnnnn 11 месяцев назад

    Thank you so much, this is for my college project. I do understand all of the code logic since I am learning python, and this was simply amazing.

    • @kumarshivam3088
      @kumarshivam3088 10 месяцев назад

      Hey ! How your code works mine is not working and I have to present it for a college project please help me out

  • @iliyailiev962
    @iliyailiev962 9 месяцев назад

    I am trying this thing tonight :) admiration for the effort thats a lot of work !

  • @tomeksymantzyk5070
    @tomeksymantzyk5070 7 месяцев назад +1

    a new video on this but with all new updates would be sick dude

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

    Awesome buddy!!! Clear , Concise and informational.

  • @naedeezy8967
    @naedeezy8967 11 месяцев назад

    Broo tutorial is on a whole new level

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

    Amazing, Explained in such a simple way! You helped me build one of my first codes, Thanks Bro

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

    Is the public link posted on the hugging face directory or is it private? - Meaning: will any user on hugging face be able to discover & access our chatbot? - I looked into spaces but still not sure - A spaces tutorial for beginners would be epic - Thanks a ton - loved the video

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

    this is the best video i have seen on chatbot tutorial for a python beginner❤❤

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

    14:19
    I know a little about coding, Basic, Assembly Language, ADA, Pascal, Forth. Java script, even Python and pure C, C++. The bad news? I stopped all that when I bought a farm 18 years ago! The growth of technology is flat out awesome but it’s left me far behind! I would very much like more content like this!

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

    What a great video! You should have millions of subscribers.

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

      Maybe one day! Thank you though :)

  • @ragasudhan1570
    @ragasudhan1570 9 месяцев назад

    Effective video bro. I don't have words to appreciate you.Thanks a lot

    • @aiadvantage
      @aiadvantage  9 месяцев назад

      you're very welcome friend!

  • @edgarbernal-martinez4698
    @edgarbernal-martinez4698 Год назад

    Great video. Easy instructions. Great ideas for the three simple apps. I've already learned to modify the one with the website.
    Gotta say, I had trouble with Python installation. Then with 'pip' installation for some reason. Figured it out with chatGPT. Absolutely loving this

  • @CosmicPower-i3c
    @CosmicPower-i3c 9 месяцев назад

    Brother, you explained sooo good and detailed! ❤

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

    Yes! Thank you for listening and making this video!

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

    You are the GOAT! Thank you! I want to make an AI bot SaaS and have no extensive coding experience. This video helps ALOT! Thank you!

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

      That's the goal! Happy to see this help people

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

    Hey Igor, yes, we want more tutorials 💕 like this one! Build on each lesson to learn more about coding using ChatGPT-3.5/4, PLEASE! Your friends from SF!!

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

    This was incredibly helpful, please do more!

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

    Your distribution is a masterpiece. Great job, dude! Already subscribed.

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

    Yes more tutorials like this and deeper 🎉 Thank you

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

    this is great man! thanks for providing the folder and this tutorial, amazing! I just heard about the whisper API and then your video appeared

  • @stresstherapist
    @stresstherapist Год назад +5

    Thank you so much for this video. It has helped me loads as a total novice to Python. Would definately want to see more videos like this

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

    Please make more videos like this, it was an awesome video

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

    Created the same site, as a person with no code experience, understood the every steps. Appreciate the effort and all the information that you put.
    Can you also make video where you are explaining the rest for that prapered app. Like how to market it or how to create trained chatbot and fine-tuning models ? Even no, still the videos are perfect

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

      abaolutely perfect! that was the goal.
      next up we have a tutorial on how to build a telegram gpt chatbot that also accepts voice messages. fine tuning is on the todo list though

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

      @@aiadvantage thank you so much, waiting for them!

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

    The most valuable 14 minutes ever.

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

      Many people seem to say that :) I appreciate it

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

    Exactly what I am looking for! Thank you very much!

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

    Thanks Bro! This is my first AI program in Python

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

      Yessss! That was the goals let’s go! Check out the second tut too showing you how to take it one step further!

  • @adi_tal
    @adi_tal 9 дней назад

    Likeeee👌🏼 you explain very well and have down to earth attitude

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

    Brother that was clutch and I did it. It worked so hell yea more of these. Mahalo. 🤙🏽

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

      Let’s go! So happy to hear it worked!

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

    Have been waiting for this, thanks :)

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

      Hope it helps. Different from my usual content but I just had to show this to the world

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

    Good Work, Loved the tested code, able to follow as you spoke and test everything, simple and to the point. Thank you

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

    That was excellent. More please.

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

    I never comment this is my 1st comment on a RUclips video. You did a great job!! Yes, do more videos. I appreciate you.

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

      Awh what a beautiful comment. Thank you so much :) Part 2 and 3 are live if you are interested

    • @ZubairSayyad-u2b
      @ZubairSayyad-u2b Год назад

      hey buddy its not working its showing error suggest me what to do

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

    Very good beginner friendly video

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

    Amazing video. Would love more like this. Can you please do a video on finetuning a chatbot on custom data?

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

    Please do more of these. Simple explanations are hard to find. Two Questions 1) I want the chatbot to take on the persona of an historical figure. Is this done with a prompt (you are a King Henry the 8th) or do I need to feed it with specific data (books, speeches, etc) 2) How do you put this code onto a website?

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

    Looking forward to building my own chatbot, thanks for the info!

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

    The third one is really Good

  • @dc-k4868
    @dc-k4868 Год назад +2

    I've just done my first coding this century!
    Thank you for giving us the encouragement to get coding, I really appreciate it.
    It's fair to say that thing have moved on since I wrote my first programme, it was in the 1970s on punched paper cards!

    • @dc-k4868
      @dc-k4868 Год назад

      PS I was going to subscribe to chatGPT plus but as you have saved me money I have joined your channel instead!

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

      Oh wow! That's huge!
      Very happy to hear that this got you going.

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

      My honor. Let me know if you have any further ideas or questions

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

    You are SO great at this.

  • @dc-k4868
    @dc-k4868 Год назад +6

    Really interesting videos, thank you!
    I haven't coded for years but this is the best incentive to get me back coding.
    Definitely want more like this.
    Quick question, how does the charging work? Do you set up a prepay account?

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

      First 5 $ for free and then they have a pay as you go model. You can find out more on their official website: openai.com/pricing

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

    not working, after i click run cmd prompt open and says: import openai
    ModuleNotFoundError: No module named 'openai'
    Press any key to continue . . .

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

    Definitely give us more of this!

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

    that was absolutely awesome. Thanks so much

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

    You are doing an excellent job ❤❤ May the force be with you🙏🏼❤

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

    the video is extremally fast, I hope you make longer video just for code beginners where you don't cut the audio and connect it to the last word, slow step by step guide will be awesome. thank you very much for what you are doing, much love

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

    Yes I vote very much yes for more content like this