How to Integrate ChatGPT with Node.js App using the OpenAI API | JSON Formatted Responses

preview_player
Показать описание
#chatgpt #openai #nodejs

Hello Everyone and Welcome Back to Code Deep Dive Channel.

The source code written during the video is available on GitHub at
you can use this code as a starting point for your own projects and refer to it as you follow along with the video.

For further information on using the OpenAI API, please refer to the official documentation at
it provides detailed information on how to use the API, including authentication, usage limits, and more.

👉 𝐈𝐟 𝐲𝐨𝐮 𝐥𝐢𝐤𝐞 𝐭𝐡𝐢𝐬 𝐯𝐢𝐝𝐞𝐨, 𝐩𝐥𝐞𝐚𝐬𝐞 𝐥𝐢𝐤𝐞 𝐢𝐭 𝐚𝐧𝐝 𝐬𝐡𝐚𝐫𝐞 𝐢𝐭.

👉 𝐃𝐨𝐧'𝐭 𝐟𝐨𝐫𝐠𝐞𝐭 𝐭𝐨 𝐬𝐮𝐛𝐬𝐜𝐫𝐢𝐛𝐞 𝐭𝐨 𝐦𝐲 𝐜𝐡𝐚𝐧𝐧𝐞𝐥 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐮𝐩𝐝𝐚𝐭𝐞𝐬.

Suggested videos for you:

🔎 Related Keywords:

chatgpt,openai,chat gpt,chatgpt api,chatgpt tutorial,openai api,open ai,ai,artificial intelligence,nodejs,integrate chatgpt,chatgpt explained,chatbot,coding,programming,learn to code,programmer,code,javascript,javascript for beginners,javascript tutorial,learn javascript,javascript tutorial for beginners,javascript course,javascript basics,javascript crash course,javascript tutorials,javascript project,chatgpt examples,how to use chatgpt

🔎 Hashtags:

#howtousechatgpt
#chatgptexplained
#javascript
#learnjavascript
#coding
#javascripttutorial
Рекомендации по теме
Комментарии
Автор

My teeth were almost dropping out of the jaw in pressure of code, but Then I found your video. Thank you Sir. You helped a lot!!

swarnendubanerjee
Автор

Why did I get the request failed with status code 429.?


🙃🙃🙃🙃🙃🙃

souvikpatra
Автор

I see a great YouTube career ahead of you 💪

originalbinaryhustler
Автор

Thanks, CDD. I am working on a project and the response json from Openai was a big problem. thanks for showing the way to get the result in the expected format! 👍

pixels
Автор

Thank you for saving me time by creating short video and to the point. 😁

spanishlarc
Автор

Hello, that is a fantastic explanation. How can I send an array of data in json format to chatgpt and get from chatgpt indicators of this data in json format? thank you

jukiflow
Автор

Hi, thank you for your video which taught me to call openai. I know a little javascript. I want to use openai to make an app to help me learn English, and I have done it. It is a pity that the content cannot be output a little bit like chatgpt. When I set the stream to true, I don't know how to receive the data. I'm using typescript + vue3 + node.js. If you see, I'd like a finished example if you want, thanks.

MyEnglishIsPoor
Автор

THANK YOU SO MUCH OH MY GOD MY DAY WAS RUINED AND YOU SAVED IT

peitho
Автор

amazing video, if i may ask what vscode extension are you using that give auto complete suggestions?

ibrahimdoba
Автор

I would like to ask you something, is it possible to create an application, for example, "a job recruitment simulator" with chatgtp? is chagtp already stable? or is it better to wait for an interface or something? (I'm just starting to study programming)

LegendD
Автор

since the text-davinci-003 model is now deprecated can you show it with another model that would be very helpful, thank you

PiyaliMukherjee-beir
Автор

Dude how can you fix the import not recognized on the web browser in node it don't have error but on browser import not recognized how you fix this

tribecasterTV
Автор

This is showing this error
message: 'You exceeded your current quota, please check your plan and billing details.',
I have never used this API before still it is showing that you have exceeded your quota. How can i resolve it.

amaan
Автор

Good vidoe, if I have a website, can I do this with only JS?

Ali-r-h-flights
Автор

I really want to know about the command i will use to install the packages

computerskills
Автор

why createAnswear is crossed out for me ?

szabolcslajosvarga
Автор

do you know how do I stop chatgpt API not to give answer other then the training that I gave to it?
I am using 3.5-turbo api model

jini
Автор

Why I am getting Configuration is not a constructor error, when i run the node js server in this code ?

worldoptics
Автор

Man I've managed to do this, but using the gpt 3.5 turbo model, so the structure of the createCompletion method is slightly different. I've gotten it to work, like in this video, in the server environment but I've been having trouble getting to use the api on the client side, for example done through an html web page. Do you know where I could get more info on how to implement this on the client side? Would appreciate any input. And thanks for the vid!

CoBER-ncel
Автор

Yo, very cool thanks but i am getting TypeError: Configuration is not a constructor error over and over again, what might be the problem? 😬😬

egeozel