ChatGPT in Python for Beginners - Build A Chatbot

  Рет қаралды 395,830

The AI Advantage

The AI Advantage

Күн бұрын

Want to add voice input and run this on your phone? Part 2: • Add A Voice Chatbot to...
To make the bot speak? Part 3: • Voice to Voice ChatGPT...
In this video, I'll teach you how to create your very own ChatGPT chatbot from scratch, even if you're a beginner. I'll demonstrate three different versions of the chatbot, starting with the simplest one. All you need to follow along are Visual Studio Code, Python, and an OpenAI account with a secret key. Then, I'll show you how to build a ChatGPT-powered chatbot that can remember previous conversations and even how to test it out. In the final part of the video, I'll introduce a new tool that allows you to set up your chatbot in a browser and share it with others. If you would like to see more videos like this, leave me a comment below!
Links:
VS Code IDE: code.visualstudio.com/Download
API Keys: platform.openai.com/account/a...
Folder With Code: drive.google.com/drive/folder...
Github With Code: github.com/Turbogany/chatgpt-...
---------------------------------------------------------------------------------
Chapters:
0:00 Step By Step
0:38 Basics
07:01 Next Level
10:11 Customize
#chatgptapi #chatgpt #ai
---------------------------------------------------------------------------------
🔑 Get My Free ChatGPT Templates: myaiadvantage.com/newsletter
🎓 Join the AI Advantage Course + Community: myaiadvantage.com/community
🤯 Unlock ChatGPT's true potential: shop.myaiadvantage.com/produc...
🐦 Twitter: / theaiadvantage
📸 Instagram: / ai.advantage
🛒 AI Advantage Shop: shop.myaiadvantage.com/
---------------------------------------------------------------------------------
My Video Equipment:
📷 Camera: amzn.to/3AZVjyk
🔍 Lens: amzn.to/3nzBdYt
🎤 Mic: amzn.to/41px8Eh
🔊 Audio Mixer: amzn.to/42aQBtt
💡 Light: amzn.to/420Xcqd

Пікірлер: 832
@migies1276
@migies1276 3 ай бұрын
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.
@emersedfungus12
@emersedfungus12 2 ай бұрын
I'm that guy how do I do it 😭
@past_perspectives1
@past_perspectives1 2 ай бұрын
@@emersedfungus12after 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: kzfaq.info/get/bejne/kK6mdJRlp-DWgKs.html
@past_perspectives1
@past_perspectives1 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
@@ruckingrugger6365 Get GPT-4 Turbo to help you. Game changer.
@royvivat113
@royvivat113 Жыл бұрын
This was an awesome tutorial. I appreciate that you explained that the video prioritized simplicity and then you gave the viewers what they wanted.
@kunlemaxwell
@kunlemaxwell Жыл бұрын
Can someone give credit to this guy for the effort he put into the video editing! Amazing content
@aiadvantage
@aiadvantage Жыл бұрын
♥️ so happy to hear that its appreciated
@DerelictNacho
@DerelictNacho Жыл бұрын
I second this. These videos are really great. I even subscribed and clicked the bell!
@altberg__
@altberg__ Жыл бұрын
signed!
@amysartbin
@amysartbin Жыл бұрын
it is a great video!
@mcdaded
@mcdaded Жыл бұрын
Subbed and liked
@canyouplease
@canyouplease 11 ай бұрын
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 3 ай бұрын
and what you dont know...just ask chatGPT
@riderofthestorm2327
@riderofthestorm2327 7 ай бұрын
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.
@adebinha1984
@adebinha1984 8 ай бұрын
This is gold, thank you so much. I love when I see someone empowering non-coders and coders alike!
@ChatGPTLeader
@ChatGPTLeader Жыл бұрын
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 Жыл бұрын
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 11 ай бұрын
i love it so much it will help people to find new jobs and new fun ways of life.
@user-yv6io9rm2l
@user-yv6io9rm2l Жыл бұрын
Amazing video. You explained the content in the simplest way possible. I would definitely want to see more content created by you..
@VanGourmet
@VanGourmet Жыл бұрын
You are so easy to follow. This is the only tutorial I was able to get GPT API working. Thank you!
@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.
@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.
@Sakeios7
@Sakeios7 Жыл бұрын
really cool video man, amazing how in depth you're going in here, especially for non coders!
@davidkovar7486
@davidkovar7486 Жыл бұрын
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!
@sellothabane3331
@sellothabane3331 Жыл бұрын
Yes PLEASE! Feel free to do more. And thank you so much for the content. Never get tired of doing what is good. Blessings!
@neil3717
@neil3717 Жыл бұрын
this guy acts like he is the youtuber
@user-qk5hb3vp5t
@user-qk5hb3vp5t 10 ай бұрын
hey buddy its not working its showing error suggest me what to do
@Caio_Freitas
@Caio_Freitas 10 ай бұрын
Wow, bro! This is the most explanatory video I have ever seen around here. Great job! Thanks.
@yeahyoucantoo
@yeahyoucantoo Жыл бұрын
I have 0 coding knowledge or skill and this helped me build my first bot. you are incredible. thank you so much
@harkisingh
@harkisingh Жыл бұрын
Thanks for making the python videos so quick. Was really interested. 😊
@creativside
@creativside 8 ай бұрын
This was super helpful! Please make more of these, maybe a series!
@edgarbernal-martinez4698
@edgarbernal-martinez4698 10 ай бұрын
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
@stefano.negroni
@stefano.negroni 10 ай бұрын
Finally... a clear and effective tutorial. Thank you very much!
@erickbadilla2395
@erickbadilla2395 Жыл бұрын
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
@robertisenhart3360
@robertisenhart3360 10 ай бұрын
Best coding instructor I've seen! Great job!
@maxwinner2517
@maxwinner2517 Жыл бұрын
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?
@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
@barrystock7526
@barrystock7526 5 ай бұрын
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 🎉
@akhilkumar4825
@akhilkumar4825 Жыл бұрын
This is so good. Simple code, very well explained for beginners. Keep up the great work!!
@thesolofather
@thesolofather Жыл бұрын
This was incredibly helpful, please do more!
@JoshuaFletcher
@JoshuaFletcher Жыл бұрын
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.
@sanatht4001
@sanatht4001 7 ай бұрын
Awesome buddy!!! Clear , Concise and informational.
@rentersmentor
@rentersmentor Жыл бұрын
brilliant, its obvious most coders and devs won't want this guy to succeed
@kumudkumar3042
@kumudkumar3042 Жыл бұрын
Amazing, Explained in such a simple way! You helped me build one of my first codes, Thanks Bro
@maxiria
@maxiria Жыл бұрын
Yes more tutorials like this and deeper 🎉 Thank you
@TheTechLawyer
@TheTechLawyer Жыл бұрын
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 11 ай бұрын
i love it so much it will help people to find new jobs and new fun ways of life.
@momentsofcricket
@momentsofcricket 8 ай бұрын
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 6 ай бұрын
Yes you need to pay to use api keys
@craiglister7079
@craiglister7079 Жыл бұрын
Good Work, Loved the tested code, able to follow as you spoke and test everything, simple and to the point. Thank you
@relax9286
@relax9286 Жыл бұрын
Your video helped me with another program I was having trouble with and now that works! Thank you!!!
@jasonornellas
@jasonornellas Жыл бұрын
Yes! Thank you for listening and making this video!
@celmnc
@celmnc Жыл бұрын
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 11 ай бұрын
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
@LorenceLiu
@LorenceLiu 8 ай бұрын
Exactly what I am looking for! Thank you very much!
@iliyailiev962
@iliyailiev962 5 ай бұрын
I am trying this thing tonight :) admiration for the effort thats a lot of work !
@NorthTonawanda1
@NorthTonawanda1 Жыл бұрын
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.
@MrLargonaut
@MrLargonaut 9 ай бұрын
XD That 'explained in 30 seconds' countdown. Good gag, sir. Also, thanks for the vids, they've been inspiring for months.
@alexramos587
@alexramos587 Жыл бұрын
More tutorials like this, please.
@HeyJuuu
@HeyJuuu Жыл бұрын
Thank you so much for this. Hope you have more success this year.
@stresstherapist
@stresstherapist Жыл бұрын
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
@frankmartin9257
@frankmartin9257 Жыл бұрын
Cool video with crisp explanation. Great job man! Keep up
@danielmathenge1587
@danielmathenge1587 Жыл бұрын
Dude you are talented, you've made it look easy. Thank you for this video
@sanderschat
@sanderschat 3 ай бұрын
i used ChatGPT to create the py script for me to create the chatbot terminal. Great great! thanks for the inspiration.
@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
@JamesFort-sx3zo
@JamesFort-sx3zo Жыл бұрын
Have been trying to find a good guide on doing this forever... thanks
@morgangitonga
@morgangitonga 8 ай бұрын
Best content I've seen on KZfaq so far. Keep 'em coming
@aiadvantage
@aiadvantage 8 ай бұрын
Thanks :)
@anujrbx
@anujrbx 8 ай бұрын
@@aiadvantage hello sir....can you talk about the token issue...its not working...it says we need to buy premium version
@aipujols
@aipujols Жыл бұрын
Great video, easy to follow, thanks a lot for the efforts!
@mikeshipstead4626
@mikeshipstead4626 Жыл бұрын
This may be the best video I've ever seen, used, enjoyed.
@aiadvantage
@aiadvantage Жыл бұрын
oh wow. thanks for that comment Mike, appreciate it
@Irfannnnnn
@Irfannnnnn 7 ай бұрын
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 6 ай бұрын
Hey ! How your code works mine is not working and I have to present it for a college project please help me out
@danielpierce305
@danielpierce305 Жыл бұрын
Looking forward to building my own chatbot, thanks for the info!
@gulnaraz.karimova7458
@gulnaraz.karimova7458 9 ай бұрын
Works perfectly! Thank you so much!
@victoraugusto723
@victoraugusto723 11 ай бұрын
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 11 ай бұрын
Nice! Check out my newest upload on how to make is speak too
@rostyslavkuzyakiv6857
@rostyslavkuzyakiv6857 Жыл бұрын
Thanks for sharing. Looking forward to new videos like this.
@ThomasStephenForster
@ThomasStephenForster Жыл бұрын
Incredibly helpful, from someone who only knows MATLAB, thanks.
@BunchaCrabs
@BunchaCrabs 6 ай бұрын
I had a problem with pip, turns out mine was too old, chat gpt helped resolve, video is awesome!
@Rxbru
@Rxbru 9 ай бұрын
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.
@milanss5826
@milanss5826 Жыл бұрын
Amazing so easy ❤luv the way u explain to beginner
@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!!
@premsinai
@premsinai 22 күн бұрын
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 22 күн бұрын
Amazing! That is what I like to hear. Now keep going
@TomMedia
@TomMedia Жыл бұрын
Your distribution is a masterpiece. Great job, dude! Already subscribed.
@aiadvantage
@aiadvantage Жыл бұрын
Thank you sir 🤝
@theinternetchef6745
@theinternetchef6745 10 ай бұрын
I absolutely love this! More! More! More!
@binods111
@binods111 Жыл бұрын
You are doing an excellent job ❤❤ May the force be with you🙏🏼❤
@conradbo1
@conradbo1 Жыл бұрын
I have learned a lot. Great video and good instructions.
@M2345M
@M2345M 7 ай бұрын
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 7 ай бұрын
Comment like this keep me going :) Thanks for sharing
@ragasudhan1570
@ragasudhan1570 4 ай бұрын
Effective video bro. I don't have words to appreciate you.Thanks a lot
@aiadvantage
@aiadvantage 4 ай бұрын
you're very welcome friend!
@user-le1ep9em2g
@user-le1ep9em2g 4 ай бұрын
Brother, you explained sooo good and detailed! ❤
@HugoCatarino
@HugoCatarino Жыл бұрын
Yes, more content like this one :)
@aiadvantage
@aiadvantage Жыл бұрын
Alright noted!
@caspuchiha
@caspuchiha Жыл бұрын
Definitely give us more of this!
@bwgun
@bwgun Жыл бұрын
Thanks for this great tutorial, please make more like this.
@CloudSecurityGuy
@CloudSecurityGuy Жыл бұрын
that was absolutely awesome. Thanks so much
@aiadvantage
@aiadvantage Жыл бұрын
You're very welcome! :)
@kanishkayadav1561
@kanishkayadav1561 10 ай бұрын
Please make more videos like this, it was an awesome video
@itsdaj
@itsdaj 11 ай бұрын
That was excellent. More please.
@RowanFonda
@RowanFonda Жыл бұрын
Brilliant Video. Thank you!
@IdeaUniqueHai
@IdeaUniqueHai Жыл бұрын
Brother, you blow my mind, awesome video everything was perfect, i love your videos. video is so simple for understand and easy to execute, its give me a confidence i can build my own chatbot!!
@sslisen
@sslisen Жыл бұрын
It's a great tutorial. Help me out alot. Thank you for sharing this to us.
@johandekock7355
@johandekock7355 Жыл бұрын
Thanks so much!! This is really cool.
@dipitjaywant8044
@dipitjaywant8044 11 ай бұрын
Thanks man for this amazing tutorial.
@hagar-9-
@hagar-9- 9 ай бұрын
Wow great! needs more
@aalonsobizzi7599
@aalonsobizzi7599 8 ай бұрын
Solid content, thanks!
@cadertechy
@cadertechy Жыл бұрын
Great Content... Much appreciated. Would definitely look forward for more cool stuff.... 🙂
@Patrick-ez4nf
@Patrick-ez4nf Жыл бұрын
Great video keep them coming.
@NedTV2007
@NedTV2007 Жыл бұрын
Yes 👍 thank you!
@naedeezy8967
@naedeezy8967 6 ай бұрын
Broo tutorial is on a whole new level
@aiadvantage
@aiadvantage 6 ай бұрын
thanks my guy 👌
@claudiooterogarin
@claudiooterogarin 6 ай бұрын
Stop working :-( @@aiadvantage
@niteshaarne2208
@niteshaarne2208 Жыл бұрын
Great job. This is really helpful
@sreenandhan4593
@sreenandhan4593 5 күн бұрын
Oh my God.This man❤❤ Thank you brother love from India.
@MutantMessiah
@MutantMessiah Жыл бұрын
easy to follow and inspiring
@caioghp
@caioghp Жыл бұрын
Awesome guide! thanks
@SageLewis
@SageLewis Жыл бұрын
You are SO great at this.
@aiadvantage
@aiadvantage Жыл бұрын
:) glad to hear it helped
@liokinmediahub
@liokinmediahub 11 ай бұрын
love your videos , would like to watch more
@rdxplays
@rdxplays 8 ай бұрын
this is the best video i have seen on chatbot tutorial for a python beginner❤❤
@aiadvantage
@aiadvantage 8 ай бұрын
I did my very best
@bayesian7404
@bayesian7404 10 күн бұрын
Great job. Thanks
@ponasObuolys
@ponasObuolys Жыл бұрын
great tutorial. thank you!
@tommoves3385
@tommoves3385 Жыл бұрын
Well done! Did my first API coding today, which worked fine after some trial and error. Will try your input with the user interface tomorrow. Appreciate your work - thank you! More python? Sure!!!
@aiadvantage
@aiadvantage Жыл бұрын
Love to hear it!
@JeShev-
@JeShev- 6 ай бұрын
yeah want more...this is great . really awseome
@nainamkumar
@nainamkumar 11 ай бұрын
Amazing video. Would love more like this. Can you please do a video on finetuning a chatbot on custom data?
@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
How to Create Custom GPT | OpenAI Tutorial
20:26
Kevin Stratvert
Рет қаралды 73 М.
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,2 МЛН
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 95 МЛН
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 39 МЛН
DELETE TOXICITY = 5 LEGENDARY STARR DROPS!
02:20
Brawl Stars
Рет қаралды 16 МЛН
10 ChatGPT Life Hacks - THAT’LL CHANGE YOUR LIFE !!
11:00
Hayls World
Рет қаралды 2,5 МЛН
5 ChatGPT 4o Features That Will Change Everything!
8:17
Bryan McAnulty
Рет қаралды 3 М.
5 Prompts That 99% of GPT-4o Users Don‘t Know
15:49
The AI Advantage
Рет қаралды 121 М.
20 Programming Projects That Will Make You A God At Coding
14:27
The Coding Sloth
Рет қаралды 439 М.
GPT-4o Deep Dive & Hidden Abilities you should know about
28:11
AI Search
Рет қаралды 185 М.
23 AI Tools You Won't Believe are Free
25:19
Futurepedia
Рет қаралды 1,9 МЛН
How ChatGPT Built My App in Minutes 🤯
8:28
Website Learners
Рет қаралды 1,9 МЛН
Build Anything With ChatGPT, Here’s How
1:24:05
David Ondrej
Рет қаралды 980 М.
Mem VPN - в Apple Store
0:30
AndroHack
Рет қаралды 106 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 16 МЛН