ChatGPT Clone with React - OpenAI API and React Tutorial

preview_player
Показать описание
#ai #frontenddevelopment #chatgpt

Hey Guys, let's build an application like ChatGPT, which can answer our questions, convert the text into different languages, or even convert JavaScript code to Python.

We cannot integrate ChatGPT directly into JavaScript because we have just a preview version. So, I thought it would be great to experiment a little bit and find out the alternatives.

And if you enjoyed this piece, please show some love with a like, comment, or click on the subscribe button. Every bit matters :)

Feel free to ask if you have any questions.

Рекомендации по теме
Комментарии
Автор

Thank you so much for this. It was lots of fun. I got stuck when trying to get the API to give me back the response data. Didn't take too long and once the data was coming back consistently it was great. Haven't used Vite much but it is fun to work with. Cheers and thanks again for the great walkthrough ☕

GilAguilar
Автор

I am getting the request module nodemodule/ .vite/openai does not provide an export configuration can anyone help me please.?

kanizfatema
Автор

what if we want to let the users login as open ai does and stores that login in our data base and whenever they login they can use it easily, but before login it should gives access to some of the question...

drivenbyDarsh
Автор

I get a status 200 in the response object, which would seem to indicate the API call is going through. But for the data.choices[0]text there is an empty string instead of an API generated response. Anyone have any idea's, would be much appreciated!

JustinEppard
Автор

This is really awesome, thank you very much sir!

AlgoBloom
Автор

How did you get the window to open to show the app as you worked on it? I'm a newbie and a little confused lol

loreleitorres-ivih
Автор

How did you fix it?

Refused to set unsafe header "User-Agent"

continues to occur can't fix this error Is there no way???

mwupxfc
Автор

Can I use this as final year project ?

poshansahu
Автор

Getting this error and response was blank.
Refused to set unsafe header "User-Agent" in react

vivekrajelango
Автор

Brother will these clone ans all the question that ChatGPT gives in openAI...?

drivenbyDarsh
Автор

3:45 the last image in the first row has a car, you didn't select it but the captcha still passed hmmm

Endrit
Автор

has it become paid? I can see only $0/$0 in my usage

JSSolutions
Автор

openAi api is paid right? Can we get it for free

sheikfareedh
Автор

do you even know what the word "clone" means? a better title would be "how to make a call to the OpenAI API"

thiagoleobons