How To Use ChatGPT With JavaScript (NodeJS & Express)

  Рет қаралды 67,092

Tom Is Loading

Tom Is Loading

Күн бұрын

Пікірлер: 63
@ghayaa1234567890
@ghayaa1234567890 Жыл бұрын
I wish all tutorials had this pace. I've seen people explain similar stuff in one hour
@fritzschattel4716
@fritzschattel4716 Жыл бұрын
@@ABUSEDBYKZbin I sm programming java script since 2 weeks, so i am a newbie and i came along perfect
@robhawkins2446
@robhawkins2446 Жыл бұрын
The pace of this is perfect 👌🏼
@deepvoyager01
@deepvoyager01 2 ай бұрын
I watched this with 0.9x (by an yt extension), amazing content in a short time, other youtubers will take hours of video length thank you it's helpful
@lancemarchetti8673
@lancemarchetti8673 Жыл бұрын
In under a minute, ChatGPT generated an simple webpage that allowed me to browse for an image on my pc, cut it up into 10 pieces and zip the separate files to a folder on my desktop. It produced the HTML, JavaScript and CSS . Worked first time around. Very impressed!
@decodeblocks2241
@decodeblocks2241 8 ай бұрын
Awesome.. I hope all videos have same time complexity. 😊
@friso2591
@friso2591 Жыл бұрын
I had to speedup the video 2x. Was a bit slow. Nice tutorial! 👌🏼
@elyaquineayoub8160
@elyaquineayoub8160 2 ай бұрын
hahaha
@CarlosGuaderrama
@CarlosGuaderrama 11 ай бұрын
this tutorial not working for me, i am use node version 18.17.0i have this error const configuration = new Configuration( ^ TypeError: Configuration is not a constructor
@ailenrgrimaldi6050
@ailenrgrimaldi6050 10 ай бұрын
its deprecated, you need to import OpenAI like this: import { OpenAI } from 'openai'; Then use the API key this way: const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY, }); Good luck
@ArmandoGabrielMoreno
@ArmandoGabrielMoreno 3 ай бұрын
@@ailenrgrimaldi6050 didn't work for me :( also, aren't those "import" commands from Python instead of JS?
@ArmandoGabrielMoreno
@ArmandoGabrielMoreno 3 ай бұрын
now it worked. Only changed the import to const { OpenAI } = require('openai');
@streamology
@streamology 11 ай бұрын
amazing tutorial, not too complex and respects ur time
@JamesQQuick
@JamesQQuick Жыл бұрын
Amazing!
@javieraragones2320
@javieraragones2320 Жыл бұрын
Hello, I have a problem when I run the js: const configuration = new Configuration({ ^ TypeError: Configuration is not a constructor Someone knows how to fix it?
@CarlosGuaderrama
@CarlosGuaderrama 11 ай бұрын
i have this error
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 11 ай бұрын
I have the same problem
@traezeeofor
@traezeeofor 10 ай бұрын
Correct that's the current error.
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 10 ай бұрын
@@traezeeofor this video is old. Openai released a new version of their library so this video doesnt match that. There are new videos released about it look it up
@paiinlove1992
@paiinlove1992 Жыл бұрын
Great Tutorial, thank you very much.
@tomisloading
@tomisloading Жыл бұрын
Happy it helped! :)
@traezeeofor
@traezeeofor 10 ай бұрын
Thanks Tom Is Loading, love the brevity of the tutorial. However as at Jan 4th 2024 tutorial now has bugs. Several people have complained of getting the "TypeError: Configuration is not a constructor" after running npm run dev. There is also an additional deprecated error: (node:7272) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
@sathviksb6797
@sathviksb6797 Жыл бұрын
i have an issue that always says that my api key is invalid. how much ever i try the issue doesnt seem to go, the api key doesnt show in the error, it just shows as "Invalid API Key: undefined". Please advise
@valenciawalker6498
@valenciawalker6498 Жыл бұрын
Excellent ! Thank you!
@tribecasterTV
@tribecasterTV Жыл бұрын
When you check on the node it don't have an error but on the browser it have an error on import
@frankchen3021
@frankchen3021 Жыл бұрын
thank you for the video. but do you know how to get the response in stream when you set stream=true"
@Ytrajpoot
@Ytrajpoot Жыл бұрын
On my side it giving me empty text
@evgenkotlyarchuck3619
@evgenkotlyarchuck3619 Жыл бұрын
remove "stop" property from request object)
@huyhuynhuc1122
@huyhuynhuc1122 Жыл бұрын
I use openAPI v3.1.0 with text-davinci-003 model, but some data responsed is wrong. Some response is very stupid :v. Do u know reason? Thank you. I expect it is smart as GPT. But none... :v Thank you
@b0cch3r
@b0cch3r Жыл бұрын
try "gpt-3.5-turbo" see if it's smarter
@kathir1188
@kathir1188 Жыл бұрын
It shows me an error of { "success": false, "error": { "error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": null } } } can any one help?
@tomisloading
@tomisloading Жыл бұрын
If you've been using the API a lot, then you'll need to add a card on file to use it more. If not, I believe you might also need to be sure to confirm your email etc before it will let you use the API
@kathir1188
@kathir1188 Жыл бұрын
@@tomisloading no bro, i didn't use the API before it's my new openAI account
@meenalgupta3
@meenalgupta3 Жыл бұрын
@@kathir1188 same issue with me, any update on it?
@faustozambrano4901
@faustozambrano4901 Жыл бұрын
swift and brutal ...like my ex 👌
@جوادجیتی
@جوادجیتی Жыл бұрын
amazing
@yashjobalia
@yashjobalia Жыл бұрын
Is it free to use?
@quangvidang9507
@quangvidang9507 Жыл бұрын
Tại sao tui lại bị error này nhỉ: const configuration = new Configuration({ ^ TypeError: Configuration is not a constructor
@poopityscooper2116
@poopityscooper2116 Жыл бұрын
Configuration is part of version 3.0. If you use 4.0, you will receive that error.
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 11 ай бұрын
version of what?@@poopityscooper2116
@theobellash6440
@theobellash6440 Жыл бұрын
While this video is relavant, it’s using GPT model … Not ChatGPT at all! There’s now a ChatGPT API that allows users to directly use ChatGPT from their own application
@codewithme_21
@codewithme_21 Жыл бұрын
What theme are you using?
@tomisloading
@tomisloading Жыл бұрын
Andromeda!
@tomekipro1687
@tomekipro1687 Жыл бұрын
not working for me, when i use postman :/ why?
@BLACK-ht7mk
@BLACK-ht7mk Жыл бұрын
Same thing. I am getting error 404. Have you found a solution for your problem ?
@tomekipro1687
@tomekipro1687 Жыл бұрын
​@@BLACK-ht7mk my problem solve not free account.
@priyankakataria7922
@priyankakataria7922 Жыл бұрын
​@@tomekipro1687 I am using free account but it's not working for me
@aleksandrsanzhanov7316
@aleksandrsanzhanov7316 Жыл бұрын
Good rap
@albertbrannan4
@albertbrannan4 Жыл бұрын
using this I just get an empty string for my text value every time.
@namesare4fools
@namesare4fools Жыл бұрын
real content starts at 3:00
@maskman4821
@maskman4821 Жыл бұрын
Cool 😘👍😍😀🤩
@eugenefedorov3498
@eugenefedorov3498 7 ай бұрын
TypeError: Configuration is not a constructor
@MuhammadIrfan-cj1cq
@MuhammadIrfan-cj1cq 6 ай бұрын
same issue, can u explain why it is comming?
@bakanndy
@bakanndy Жыл бұрын
I like your voice
@yawarshaikh8332
@yawarshaikh8332 Жыл бұрын
This is how you do it, pertect tutorial
@RohitTiwari-mx1dd
@RohitTiwari-mx1dd 11 ай бұрын
Hindi main bola marde bhojpuri maati se belong kareni 😊😊
@donandreas0209
@donandreas0209 Жыл бұрын
Oh Ragazzo....please next time speak also faster Ipossible to follow you if not native speaker
@maviniii
@maviniii Жыл бұрын
I feel you bro, to be able to see this video, I needed to watch it in 0.75 lol
@1Chitus
@1Chitus Жыл бұрын
Amazing!
OpenAI With JavaScript (GPT-3 and DALL-E in Node.js)
18:00
LearnWebCode
Рет қаралды 16 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 78 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,1 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 124 МЛН
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 202 МЛН
ChatGPT Tutorial for Developers - 38 Ways to 10x Your Productivity
28:13
Programming with Mosh
Рет қаралды 3,5 МЛН
How To Build Your Own AI With ChatGPT API
9:51
Web Dev Simplified
Рет қаралды 411 М.
ChatGPT API Javascript Tutorial For Beginners
27:41
codewithbrandon
Рет қаралды 7 М.
How To Build A Markdown Blog Using Node.js, Express, And MongoDB
1:02:28
Web Dev Simplified
Рет қаралды 462 М.
How I Coded An Entire Website Using ChatGPT
18:22
Nick White
Рет қаралды 1,9 МЛН
Advanced ChatGPT Guide - How to build your own Chat GPT Site
37:09
Adrian Twarog
Рет қаралды 1,1 МЛН
How to Use OpenAI's ChatGPT API in JavaScript
7:32
Kodaps Academy
Рет қаралды 9 М.
Write A ChatGPT Chatbot With Node.js
28:39
Traversy Media
Рет қаралды 87 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 78 МЛН