ChatGPT Course - Use The OpenAI API to Code 5 Projects
Learn how to use the OpenAI API to create five projects, including a ChatGPT clone, a DALL-E Image Creator, and a SQL Generator. This is a dive deep into the world of the OpenAI API, exploring its diverse capabilities and potential applications.
✏️ Course created by @aniakubow
Donate to freeCodeCamp: www.freecodecamp.org/donate/
⭐️ Contents ⭐️
⌨️ (0:00:00) Introduction
⌨️ (0:02:57) Authentication
⌨️ (0:06:22) Models
⌨️ (0:07:27) Text Completions
⌨️ (0:18:31) Creating effective prompts
⌨️ (0:20:18) Chat Completions
⌨️ (0:30:14) Chat Completion Project 1 | JavaScript
⌨️ (1:15:41) Chat Completion Project 2 | React + Node.js
⌨️ (2:20:59) DALL-E Model
⌨️ (2:21:41) Image Generation
⌨️ (2:27:04) Image Variation
⌨️ (2:27:44) Image Edits
⌨️ (2:28:28) Image Generation Project 1 | JavaScript
⌨️ (3:00:29) Image Generation Project 2 | React + Node.js + openai npm library
⌨️ (4:23:39) SQL Generator Project | TypeScript + Node.js + openai npm library
⌨️ (5:17:00) The End
🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news
Пікірлер: 532
Thanks so much everyone for all your support!
@thewizardsofthezoo5376
Жыл бұрын
Ok I was already in love before, but now, I need to propose you officially! GPT4 has been driving me nuts using wrong calls and deprecated functions, you just saved my life!!! I am in debt, fell free to ask.
@abenjamin13
Жыл бұрын
I very much appreciate your expertise in show us how to utilize the AI tool for development ✅
@pratikdtak
Жыл бұрын
Make a tutorial on OpenAI API to Code 5 Projects in Python
@ChillVibes_47
Жыл бұрын
Please Make a video React + Chat GPT , I would love to see in you channel
@stevbosco9454
Жыл бұрын
You're awesome dear. Thanks a
Just wanna say thank you for free education. I really appreciate you guys from the bottom of my heart.
@smartwolf9045
Жыл бұрын
I think FCC is doing a great job. However, for your information FCC is not a charity. It provides free content, but it doesn't exist solely out of "kindness" (and there is nothing wrong with that). They rely on donations (I say that after hearing a talk of the free code camp's founder on indie hacker who presents FCC as a business, similar to any other businesses) And I repeat I have zero problem with this at all. Nothing wrong with getting paid. I could see myself donating in the future ( if I spend more time there. I barely consumed FCC's content myself)
@nagrerelax5602
Жыл бұрын
@@smartwolf9045 ok
@Gptraderapp
Жыл бұрын
learn trading with me, I teach you
OMG, I love how these courses are taught. To the point and honest. It just looks real.
I really appreciate how these courses are just one long segmented video instead of a video playlist .. Thank you 😍
@paullawrence1327
10 ай бұрын
Hi come in
A cannot be more glad I found this channel. Open education is the way!
After 5 hours and rewinding to follow creating a next js chat, I canot thank you enough. Amazing work
Haven't even watched the video yet, it's on my asap list, but I want to thank you all 🙏 the internet delivered the promise of education with pioneers like you...
This was the most needed course!! Thank you guys from my heart.
I got choked up just seeing this. It's incredible value, not having money as a barrier makes it accessible to people all over the world to learn skills that are at the forefront of tech today. What a way to be part of the change you want to see in the world. 🧡🙏🏾
@ehfoxgaming4998
9 ай бұрын
Wait....u need money for api right ?
@indiarodgers3739
9 ай бұрын
@@ehfoxgaming4998 The training is free.
This immediately bubbled up to the top of my to learn list ! You are awesome
Thank you so much from all of us, who live in places where this is not affordable and/or available. Thank you!!
Thank you very much! She is an excellent teacher with a broad knowledge of web development. Throughout my career as a developer, I have repeatedly sought inspiration from her and have really learned a lot that has helped me in my professional everyday life. Thanks.
@cajuntimes
Жыл бұрын
So why did her aniaGPT not answer her question if she knew she had to preliad the answer? Your idea of a good teacher does not compute.
@Gptraderapp
Жыл бұрын
ty bro
Will go through at weekend, looks very useful, thanks for creating
As primarily a Java and Python dev, I've only dabbled in JavaScript. This course was very easy to follow and provided some great, real-world examples, unlike the generic "hello world" videos that are titled as deep dives into a topic. And Ania explains clearly what she is doing as she codes the examples. One of my biggest peeves with so many of these educational videos is that the person either cannot speak clearly or has an accent so thick that it makes listening to them painful; Ania has the voice of an angel in comparison. :) The only thing that I feel is missing (and may be in another course I have not yet seen) in this course is test coverage. I can write JUnit and PyTest tests with my eyes closed - I'd love to see some best-practice unit and integration testing for JavaScript (React/TypeScript/AngularJS/etc). Ania, if you have some videos on that topic, please link them. Great work!
@somnathroy102
Жыл бұрын
Yeah thank you for this comment. I feel comfortable to start it given i only know and practice java. I have used python and js but no where near as java.
@PazLeBon
Жыл бұрын
@@somnathroy102 for experienced only. hasd no idea what they were talking about, and i use chatgpt.. a lot :0
@Coumerzz
Жыл бұрын
Have you ever tried reverse engineering or cracking programs using Assembly Language and Bitwise operations with your eyes closed?
Hay, thank you to FreeCodeCamp and Lady Dev Instructor for providing this course for free!! It allows people like myself to learn and have hope for a better future, which is why I can never thank FCC enough, like ever! Because of this I want to give back in any way that I can. When I was younger I used to be quite a well known, professional DJ/Producer - I had a release on Parlophone, subsidiary of EMI for those old enough lol. I've noticed that alot of the audio on your videos could use a better mix! They are really simple little things that would make fcc course videos sound a world of difference better. For example, in this video, we could bring the reverb right down and add some noise cancellation, plus a couple other small bits. But I'd be happy to help edit any currently active or mix down fresh future courses for fcc for free as a big thank you for all the education you guys have provided for me! I'm sorry if I've come across rude, pointing out issues in the audio production but I promise it comes from a good place so again I apologise in advance if I've come across in the wrong way at all. I just happened to be listening to this particular video when I finally decided to comment. I am not singling out this video in particular. All the best FCC crew and big love and thank you for everything you do always ❤️ 💜 ♥️ 💙
@freecodecamp
Жыл бұрын
Thanks. I'm interested in some audio help. Email me at beau@[channel name].
@tectitikamoeba
Жыл бұрын
That's awesome dude!
Amazing.... Thank you for not holding back your information. you really dont know how much impact you are making over here.
I asked ChatGPT for the date once as well. It couldn't tell me. So I asked if it could at least tell which season it is. It answered something like: It is the 9th of April, so in the northern hemisphere it is spring... (Enjoying the course by the way!!)
This is truly a fascinating course. Thank you for this.
WOW! 🤩THX a bunch for this fantastic course! I love it!!
The first time of my life I know everything that is not in the scope of the cours and nothing for what is the content of the course thanks for being so amazingly in tune with what we want to learn and what we should have learned 😮🎉😅
@Luxcium
Жыл бұрын
Meaning no mysterious or boring parts this is never happening as it is always too complicated or too simple… Installing VSCode and NodeJS on windows, Mac, Linux… or learning the new ES6 syntax have been in intro of so many different videos made just before 2020 I am happy to see that we can go beyond (I am using extreme cases but anyone who knows JavaScript is aware how var become let before to be const) I love the fact that it is all about the API hopefully when I get good at it there will be an advanced level that do not need to re explain everything again 😮😅😊
This is the course I have been waiting for!❤
You are awesome. I just started to learn python with your videos because of LLM. And now you offer us this. Thank you so much
@pluboy444
Жыл бұрын
learning python as well this is awesome!!
@Gptraderapp
Жыл бұрын
learn trading with me, I teach you
this is an extraordinary course and was very helpful☺
Thanks Ania! FreeCodeCamp is the reason I could switch to software development and now thanks to you keep up with it!
@aniakubow
Жыл бұрын
This is so great to hear!
Thank you Lady Jedi! I just finished the image AI generator.
The only bad side to openai chatgpt is the costs, it costs a fortune to use the api there is a solution though in my profle...
@toromanow
8 ай бұрын
I don't understand how this comment got 135 upvotes. Unless everyone but me understand that he is joking.
Thankyou so much for this course ❤
Revolutionary AI, love it. Thanks.
I can't thank you enough FreeCodeCamp
I think it's amazing that the introduction was generated by chatgpt :D
Incredible course. At around 45 minutes I had to add a flex-grow CSS entry (after asking ChatGPT lol) because the main content wasn't centered. Not sure if it's because of the Brave browser or I missed some other entry but I checked it over closely.
@henrykbak7146
Жыл бұрын
Add display: flex to input-container or check names class, id in CSS
Awesome course, thank you
I was thinking about of this course and they just launched it thank you soo much
Much needed one. Thanks a lot
Oooh I’ve been hoping for this!! ❤
Ania , you are the best, thanks and always looking for next ur course.
This is the best courses channel to learn about programming without doubt. Thank you very much for your contributions.
Thank❤🌹🙏 you very much, dear 👩🏫teachers and scientists👨🔬! Please, continue the good work😊
This is future. Can't thank you enough for the video. You are amazing.
A valuable course, elegantly genius👍
You are top tier😳 I learned so much and I can't wait to implement my own ideas into this
Thank you so much! This tutorial is awesome ! When will you post the repo?
I've been waiting for this forever 😭🔥
Fantastic ❤thank you
This is a great starter video. However not much is discussed in terms of "Context". Meaning if you use a prompt like "1 + 1" and the response is "The answer is 2". Now if you type in (not are your sure prompt) but "add 3 to it". If you don't have context it won't know what the second prompt is referring to. So how does openai keep track? The answer is that it doesn't have facilities to keep track. The way ChatGPT does it is that each time the old response is sent back into the prompt along with the new question. For example in this case, instead of asking "add 3 to it", we must send into the prompt something like "The answer is 2. Add 3 to it". Then the response will come back as "The answer is 5". This time we send in "The answer is 2. Add 3 to it. The answer is 5. Add 6 to it", etc. I hope this helps someone out there.
@user-up9cb3xu8d
10 ай бұрын
Thanks. Working with the API and think it's really awful that we have to use hacks or bruteforce (send all the conversation back ) to actually have a 'Conversation' like the real world. Your explanation gave me clarity
What a time to be alive!
Completely understanding this material. As an experienced individual, it's quite easy to grasp. At a high level, we simply need to utilize their APIs and implement them according to our requirements or specific use cases. Most importantly, it's an excellent series for beginners. We're looking forward to a series of continuations.
@AmanPratapSingh-sm1zl
9 ай бұрын
Hi did your img generator code run I am facing some problem with server.js will you help me
@RakeshBitling
9 ай бұрын
@@AmanPratapSingh-sm1zl what errors u r facing pls.mention
@AmanPratapSingh-sm1zl
9 ай бұрын
@@RakeshBitling Configuration is not a constructor The code which she has copied is now not present on open aur site so I just typed it and it give error 😞
@bulaloitech
8 ай бұрын
@@AmanPratapSingh-sm1zlSheesh this is were the problem comes in. none programmers just copy/paste code without knowing what it is for, then when they get error their head explode, they ask ai again to fix it but ai just gives them more error. ask the right question you get the right answer just like stackoverflow. The problem is how do u ask the right question? thats were knowledge/experience comes in, its not bad to learn how to code atleast you can debug/check if ai is giving you the right answers
Thank you Ania ❤
This is awesome! You explain it very good
@MeatCatCheesyBlaster
Жыл бұрын
Very well
Thanks, Ania for your excellent lesson! It is so clear and very easy to follow. Thanks a bunch!!
For those at the beginning trying to use gpt-4 as the model, you have to get on the waitlist in order to access it. Otherwise you will have to use gpt-3.5
@MehediHasan-zl8eo
Жыл бұрын
I'm using "gpt-3.5-turbo" model for last project. It gives error with status code 429. Your code works well?
@nastastic
Жыл бұрын
Chat GPT plus is CHAT gpt 4.
@jericroldan7453
Жыл бұрын
How long does it usually take once you signed up for the waitlist?
@jericroldan7453
Жыл бұрын
@@wolli3988 Oh you mean availing ChatGPT Plus? Would I automatically get the apikey once I subscribed?
@GS-hv9rd
Жыл бұрын
@@wolli3988 incorrect. The wait list is for API GPT4 access. Api access is different from Chat GPT4, in that it allows you to connect chat through other apps. Api gpt 4 ≠ chat gpt 4
insane content ty ania
@aniakubow
Жыл бұрын
Thanks for watching :)
Shalom and thank you for everything you share!
Been wauting for a course like this.
The year is 2023. Artificial intelligence has become so realistic, that anything can be AI. Hoping to battle against the new against the new uncertainties, I endlessly absorb tech AI videos for support, I get invested in a particular instructor. She is AI.
Thank you for your help and contribution to humanity.
You do an amazing didactic job 👏
Ah-maz-ing!! Thanks so much for this!!
With 'old' familiarity of programming, this seems like magic to me. I keep expecting something dense with meaning, the 'general language' used makes it so weird
Thanks, great video! 🔥
🥳 Astonishing content 👍👍👍
Thank you so much for the course
She is GOLD 🥇
Thanks for the info I will listen more when i get time off from work.
Thank you, Ania, what a great tutorial! I do have a question: in the React + Node project 2 section, your request to openai is always just the single "user" message. How does openai knows it is a continuation of a conversation, and consider the previous messages and responses? similarly, when you start a new chat in the front end, you're clearing up your state and local vars, but how do you tell openai to consider a new conversation and ignore the previous messages?
Thank you! ❤💯
Thanks Ania.
Great job 👍😀🤩🦾😘😍
Lot of us have been waiting for this one :o
This is amazing All this info for free !!
Perfect thanks this best helpful ai technology
I really appreciate this
Masterpiece.
RESPECT U GUYS
Thanks for this wonderful code along ! Have you ever tried VS Code ? It is an awesome text editor !
Great content, clearly a lot of hard work by Ania. Sorry, but I have to say her accent is very pleasant.
Amazing!
Thank you very much very crazy tutorial
That's great!
Wonderful
Thank you so much just wanna say thank you again
Really amazing
Thank you
Thanks
Thanks for your contributions to free education, however if I may constructively criticize this course, 90% of this 5hr video focuses on styling and UI development rather than actually learning about the ins-and-outs of the OpenAI API. The actual OpenAI API parts could've been condensed into a 10min video
@selfdestructingmessages2299
Жыл бұрын
Exactly. I posted the same comment.
Great. Thanks for a great course. In the first section of Chat Completion, you got the history. But when you went to React development you introduced Titles. Are titles part of openai? how are they used? Thanks.
Awesome
Add display:flex to body style, if there is any issue. thank you so much for this video
Could you please make a course or tutorial video on langchain? Lang chain is an large learning model based framework
@sagarwaliitkgp
Жыл бұрын
+1
Made it to the first API call only to find out that the credits I didn't know I had expired 😩. I can't do the tutorial (for free) but thanks for making this video.
@DanielCodContent
Жыл бұрын
The same happen to me jajaja
@TomHermans
Жыл бұрын
Experienced the same thing. Just make a new account with a different email address and you're back in again. Create the API key there and use that one.
@seananih7609
Жыл бұрын
@@TomHermans That crossed my mind but I moved on without trying lol. Thank you for the tip👍🏾
@ajinkyahazare7160
11 ай бұрын
@@TomHermans but when I am doing that it is showing the same thing, i sthe chatgpt model not free now?
Ladies and Gentlemen, this is the future of learning.
This is excellent for someone with a lot of knowledge and experience in programming. I am looking for something I can watch with a 12 year old with instructions and introduction to using AI. Nobody can enter high school now without a solid understanding of AI and it’s capabilities. Can you please guide me in that direction? Thanks
Ay hai ye hi to cahie tha love this channel it's really help students who don't afford high quality education. Love from india
Wow, incredible course! I am currently updating my skills in Data Science and Python in particular. I was wondering if I could find the same course in Python as well. Thanks in advance for your feedback. 🙏
@tmattoneill
Жыл бұрын
oh crap is this not Python? What a shame!
@Gptraderapp
Жыл бұрын
learn trading with me, I teach you
Hi, are there are any prerequisites to taking this course, or can a total beginner take it and understand?
@firdosabashir6585
Жыл бұрын
wanted ask that also
Is there a way to program the scrolling function from ChatGPT as the majority of my entries are getting cutoff. I create the p#output and fixed the padding, but I was looking for a way to create the scrolling effect so I can do bullet points list and long winded code.
this is more like a course on Js, React and using the ChatGPT API. Usefulll, but I expected more on how to efficiently use ChatGPT
Queeeeeeee!?? Son demasiado crackss
Amazing
Tqs for this course