OpenAI With JavaScript (GPT-3 and DALL-E in Node.js)

  Рет қаралды 16,580

LearnWebCode

LearnWebCode

Күн бұрын

Пікірлер: 60
@ethos8863
@ethos8863 2 жыл бұрын
Hey so correction on your asynchronous function bit about await not being top level, that isn't actually true anymore. There is a *new* and arguably better import system being implemented known as ESM(ECMAScript Module) that can have top level await statements. All you have to do to enable it is use "type":"module" in your package.json
@LearnWebCode
@LearnWebCode Жыл бұрын
Thank you so much, I didn't know about that. That's awesome!! I remember in the past you could opt into new features like that by having your filename end in .mjs instead .js, which never felt great to me; I love this new package.json approach. For anyone else reading this, you'd add "type: "module" to your package.json file and then in our main script file, instead of using "require" to load in the OpenAi package, we'd have this line instead: import { Configuration, OpenAIApi } from "openai"
@offgridvince
@offgridvince Жыл бұрын
@@LearnWebCode I just saw this tip in another video last week. Pretty cool. I'm about to try this project today. Thank you so much for your content!
@wild.idesph3580
@wild.idesph3580 Жыл бұрын
pretty cool! the exact example that I am looking for❤
@R-Jay.
@R-Jay. 2 жыл бұрын
As always you took a complex topic and made it sound approachable and less intimidating. Thank you, Brad!
@luxdyola
@luxdyola Жыл бұрын
You are my best online teacher. A big shout out from KENYA😎💯
@Amir-bq5er
@Amir-bq5er 2 жыл бұрын
Awesome tutorial as always. Clear, concise, straight to the point, easy to follow. I enjoy your teaching style and it’s probably one of the best in this field no doubt. Definitely looking forward to more good stuff coming from this channel.
@jugibur2117
@jugibur2117 2 жыл бұрын
Oh that must be love with your cat! 🥰 Video is saved for later, thanks in advance Brad!
@bro-watch
@bro-watch 2 жыл бұрын
Awesome! You’ve covered everything we need. Thanks!
@jopa_ryds
@jopa_ryds 2 жыл бұрын
I have been trying to learn frontend for a few months. IRL meant I had to take a few months off and it feels like I forgot it all. Watching this video with your style made it all seem clearer and more achievable so I've just signed up to 4 of your courses: JS, CSS, Git and React! LFG!
@Louisianish
@Louisianish 2 жыл бұрын
You won’t regret it! Brad is such a great teacher! Good luck with everything!
@jopa_ryds
@jopa_ryds 2 жыл бұрын
@@Louisianish Awesome! Thanks for the good luck, right back at ya!
@LearnWebCode
@LearnWebCode 2 жыл бұрын
That's so awesome to hear! Thank you, you got this!
@bobbyboxer2664
@bobbyboxer2664 2 жыл бұрын
Awesome video with all the usual chill vibes 😅
@serushpmn
@serushpmn Жыл бұрын
Today i asked chatGPT how can i use his API and he answer with some blah blah. It's easier to ask you to find the best, easiest and fastest answer. Thanks brad, your number one. I follow you like a TA, good luck in your life.
@tuckernaughton
@tuckernaughton 2 жыл бұрын
You're one of my favorites Brad
@ifelaw
@ifelaw Жыл бұрын
Brad you are one of the best development teacher I know! I'm curious to know if you at all plan on creating a react native course 👀
@shabtikaplan
@shabtikaplan 2 жыл бұрын
You are the man!😀
@MaxMov-sp8hr
@MaxMov-sp8hr Жыл бұрын
Very hydration video! ))
@FengJackZhou
@FengJackZhou Жыл бұрын
Thanks for your video!
@hqasmei
@hqasmei 2 жыл бұрын
Awesome video!
@zoltancaputo9562
@zoltancaputo9562 Жыл бұрын
Awesome! TKS
@phillyt22
@phillyt22 Жыл бұрын
You are awesome! Thank you.
@Pareshbpatel
@Pareshbpatel Жыл бұрын
A succinct tutorial on using OpenAI with JavaScript and how to host it using Next.js on Vercel. Thanks, Brad {2023-01-15}
@sigfigronath
@sigfigronath 2 жыл бұрын
your cat really likes your hair :D
@vdmk314
@vdmk314 2 жыл бұрын
Love from @jaigoogle. Blown horn near the 👂 ears! What a tutorial...
@May-p1x
@May-p1x Жыл бұрын
Can you share the version of your open ai package? It seems like a lot of the methods have changed since but I would still like to follow along.
@nerses4328
@nerses4328 Жыл бұрын
Where do I find .next? It's missing in the git repository
@yishakabrham5002
@yishakabrham5002 Жыл бұрын
It says the require is undefined in my console
@bar4bidden
@bar4bidden Жыл бұрын
I'm getting a bunch of errors in teh terminal when I try to install after downloading the example from github. I tryed installing Nextjs just incase, but still getting errors.
@LearnWebCode
@LearnWebCode Жыл бұрын
What do the error messages say? Perhaps you didn't enter your OpenAI API key into the example code from GitHub?
@Funnyplanet818
@Funnyplanet818 Жыл бұрын
hi there, just complete your tutorial. but i've slight problems with it. when deploying into vercel app, the text is loading only and not showing results. but the art section is working fine. could u help me with this?
@DiederikNomden
@DiederikNomden Жыл бұрын
Hi, I assume that, to let this work, you need a kind of paid subscription to OpenAI? I instantly get an endless list of code and an 'insufficient quota'-error on running the file...
@ivofrancisco357
@ivofrancisco357 Жыл бұрын
Hey Brad, Have you given up of all the materials you have on Udemy?
@tenc6491
@tenc6491 Жыл бұрын
Hi Brad, in your react course: lecture 32, after having added useState exactly as per your tutorial, I am getting a blank screen on localhost:3000 Please help. I am messaging here because on Udemy, I have seen many unanswered questions from a year ago. I hope you will help here coz I am not able to go to the next lesson 33 without having it resolved. Thank you.
@LearnWebCode
@LearnWebCode Жыл бұрын
What message do you see in the browser's console?
2 жыл бұрын
This is great, very clear instructions. Do you know if there's a solution with OpenAi to do the reverse of this.. to upload an image and make the AI to create a description of the image? Thanks Brad!
@LearnWebCode
@LearnWebCode 2 жыл бұрын
Thanks! Good question, I haven't looked into that. I'm not sure but off the top of my head I don't believe their API has a direct way of doing that. Although I do wonder if you asked GPT-3 with a text prompt and said "Describe the image that is located at ____" and include the URL for the image in question, I wonder what it's response would be.
@Way_Of_The_Light
@Way_Of_The_Light 2 жыл бұрын
Loll what!!? Your cat gives you a scalp massage on every video!!? Lucky!! 🤣
@LearnWebCode
@LearnWebCode 2 жыл бұрын
Cat receives: 1 dish of cat food Brad receives: 1 scalp massage ✨ Trade accepted ✨
@Way_Of_The_Light
@Way_Of_The_Light 2 жыл бұрын
@@LearnWebCode best deal 🤝🤣
@vincentmax4571
@vincentmax4571 2 жыл бұрын
Cool
@tiffanyw3794
@tiffanyw3794 9 ай бұрын
Does this still work
@tenc6491
@tenc6491 2 жыл бұрын
Hi Brad, I hope you are well. Is your React Udemy course on codepen or on IDE like VScode, Sublime etc? Please let me know before I sign up to your React course on Udemy! Thank you.
@LearnWebCode
@LearnWebCode Жыл бұрын
Thanks! The React course uses CodePen for the first introduction chapter, then for the majority of the course where we build a real front-end project we use VS Code and a real workflow.
@tenc6491
@tenc6491 Жыл бұрын
@@LearnWebCode Hi Brad! Thanks for the swift response. This helped me in buying the course right away. I appreciate it mate. May I say that you are one of the best teacher one can learn from? I started my web-dev journey in oct-2021 with a full time job. It's hard to manage but somehow I do it every day after my work for about 4 to 5 hours before retiring to bed. Learnt a lot of html and css from your videos during those initial days. I have now grasped ok-ok level of JavaScript and decided to hop on React js. Was immensely happy when I found that you have React js playlist. Gonna order it right away now that you've confirmed the use of ide instead of codepen for your react Udemy playlist. Thank you. Again, your explanations are extremely informative, concise and easy to grasp. Keep doing you!
@tenc6491
@tenc6491 Жыл бұрын
Done and ready to learn. 🙏
@superclash8486
@superclash8486 Жыл бұрын
The cat pov: 🙀🙀
@xgqfrms
@xgqfrms 2 жыл бұрын
👀BTW, there's a click-to-copy icon in the top right corner.
@xgqfrms
@xgqfrms 2 жыл бұрын
mayonnaise 蛋黄酱
@codernerd7076
@codernerd7076 2 жыл бұрын
Is the red panda not the unofficial mascot of Laravel 🤔😄
@LearnWebCode
@LearnWebCode 2 жыл бұрын
🤯
@ronidinho
@ronidinho Жыл бұрын
OpenAI requires you to pay to use the API now 😢
@KnownTechnical
@KnownTechnical 2 жыл бұрын
nice haircut, probably your cat forced your to trim your hairs
@LearnWebCode
@LearnWebCode 2 жыл бұрын
😂
@aligohar2709
@aligohar2709 Жыл бұрын
heyy bradd, it's disgusting, I am attending your wordpress course at udemy but I have a number of problems but you are not replying although a number of students having same problem
GPT-3.5 Fine-Tuning in Node.js in Just 8 Minutes! 🔥🚀
7:59
Developers Digest
Рет қаралды 5 М.
How to Use OpenAI's ChatGPT API in JavaScript
7:32
Kodaps Academy
Рет қаралды 11 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
How to integrate OpenAI GPT3 with a Databases - Crash Course
16:49
Adrian Twarog
Рет қаралды 305 М.
Next.js Tutorial For Beginners
52:35
LearnWebCode
Рет қаралды 42 М.
Web Scraping with Puppeteer & Node.js: Chrome Automation
35:13
LearnWebCode
Рет қаралды 160 М.
Dogs, JavaScript & An API 🐶 Fetch, Promises & Async Await
1:09:16
LearnWebCode
Рет қаралды 98 М.
Fine-tuning GPT from Scratch in 15 Minutes with JavaScript
14:41
Nader Dabit
Рет қаралды 50 М.
Coding a FULL App with AI (You Won't Believe This)
15:19
Creator Magic
Рет қаралды 399 М.
Fine-Tuning OpenAI
16:29
Lucidate
Рет қаралды 12 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН