Build ChatGPT In React JS Using OpenAI API | Create ChatGPT Clone Using React JS

Поделиться
HTML-код
  • Опубликовано: 28 авг 2023
  • Build your own version of ChatGPT In React JS Using OpenAI API | Create ChatGPT Clone Using React JS step by step tutorial
    #ChatGPT #Reactjs #ReactProjects #GreatStack
    ❤️ SUBSCRIBE: goo.gl/tTFmPb
    In this tutorial we are going to create our own ChatGPT in React with the help of OpanAI API. This ChatGPT clone works same as the real ChatGPT app or website. In this Clone of ChatGPT we don't need to create an account. We can directly open this ChatGPT clone web app and search for our query. The ChatGPT clone will given the answer of all our queries using AI API.
    Download the assets:
    👉 drive.google.com/file/d/1aimX...
    React Introduction tutorial:
    👉 • What Is React (React J...
    Build AI image Generator in React:
    👉 • Build An AI Image Gene...
    JavaScript complete tutorials for beginners:
    👉 • What Is JavaScript | I...
    JavaScript Projects for beginners:
    👉 • How To Make Weather Ap...
    -----------------------------------------
    Suggested Course:
    ❤️ Complete website Using HTML and CSS
    ✔️ 8 Complete website step by step
    ✔️ Source Code Download
    ✔️ 76 Lectures, 12 Hours Video
    ✔️ Course Completion certificate
    👉 easytutorialspro.com/go/course/
    ----------------------------------
    Affordable web hosting (coupon- EASYTUTORIALS)
    👉 easytutorialspro.com/hosting/
    My recommended tools and tutorials
    👉 easytutorialspro.com/
    -------------------------------------
    ◼️ Source code link is shared in community post for all my coding videos exclusively for channel members (only channel members can see)
    Join Channel Membership:
    ► / @greatstackdev
    -------------------------------------
    Like - Follow & Subscribe us:
    ◼️ RUclips: goo.gl/tTFmPb
    ◼️ Facebook: goo.gl/qv7tEQ
    ◼️ Twitter: / itsavinashkr
    ◼️ Instagram: / iamavinashkr

Комментарии • 264

  • @farid9323
    @farid9323 3 месяца назад +9

    Super helpful tutorial! Just a couple of points:
    - At 1:19:14, don't pass in an array of objects as a dependency to the useEffect hook. It could trigger an infinite loop. Only use primitive/static values, like "messages.length".
    - At 1:20:30 Instead of creating a new function just for the Enter key, make the input element part of a element so that pressing Enter will trigger a form submission.

  • @abhinavgupta1219
    @abhinavgupta1219 8 месяцев назад +23

    The UI looks incredible. Never seen anyone creating Chatgpt as easy as you made it. I'm gonna try this today ❤ Thank you greatstack

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад +1

      yes please create your own version of ChatGPT in React

    • @shiraztariq2789
      @shiraztariq2789 8 месяцев назад +5

      abinav can u plz share the source code

    • @dataanalysiscourse785
      @dataanalysiscourse785 7 месяцев назад

      What I think the only missing part here is the authentication part
      @@GreatStackDev

    • @Sunit_Kumar
      @Sunit_Kumar 7 месяцев назад

      ​@@shiraztariq2789still want code or not ?

    • @anmolsingh6567
      @anmolsingh6567 4 месяца назад

      Send me your project repo

  • @user-tm3ui5kb6w
    @user-tm3ui5kb6w 8 месяцев назад +14

    Please do create more ReactJS projects, your projects are way simpler to understand. Got to learn lots of concepts through projects. Appreciate your work :)

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад +1

      Thanks Raviraj, Glad you liked this React Project tutorial to build ChatGPT clone.
      Did check this portfolio website project in React: ruclips.net/video/4ag1LsgIUc0/видео.html

    • @anmolsingh6567
      @anmolsingh6567 4 месяца назад

      Send me your project repo

  • @waliulrayhan
    @waliulrayhan 8 месяцев назад +3

    what extension are you used in this project? Can you please share this.

  • @obohbarnabas5609
    @obohbarnabas5609 8 месяцев назад

    Bro You are the best 💖💖

  • @stanleyjohn4670
    @stanleyjohn4670 3 месяца назад

    How do you format the content in a suitable form? For example, if the content contains code snippets or bullet points, then the tag should be used, so how to do this?

  • @ugyenofficial
    @ugyenofficial 8 месяцев назад

    Love it sir ❤❤

  • @Imlalit007
    @Imlalit007 8 месяцев назад +1

    We want full react course😀

  • @giga_dev
    @giga_dev 5 месяцев назад

    Great tutorial, thank you!

  • @dipaksingh9165
    @dipaksingh9165 8 месяцев назад +2

    Thanks GreatStack for this amazing project .This is a best project. I learned something new while creating it everything was explained very nicely and it's completely begineer friendly I recommend others to try this out.

  • @xilenced6655
    @xilenced6655 3 месяца назад

    Thanks for the Tutorial ! Is it possible to uplaod documents with the Chatgpt APi or is it an CHATGPT Plus exclusive ?

  • @leong5915
    @leong5915 7 месяцев назад

    Your video is very good and it would be great if you add the editing feature of gpt chat

  • @keshavkanhai1108
    @keshavkanhai1108 8 месяцев назад

    sir, can we add this to a 24*7 website
    pls tell

  • @calebkrauter4027
    @calebkrauter4027 6 месяцев назад

    What extension do you use for auto completion of tags with autofill.

  • @enesaliev3518
    @enesaliev3518 8 месяцев назад

    Can you make a chatbot tutorial, where u have choice between options

  • @tyronecoles9232
    @tyronecoles9232 5 месяцев назад +4

    Excellent UI. The source code would've really helped us figure out our errors.

  • @tejeswarkanamarlapudi9103
    @tejeswarkanamarlapudi9103 8 месяцев назад +1

    Bro 😮😮😲
    👍🏻👍🏻👍🏻👍🏻

  • @mdmajid6237
    @mdmajid6237 8 месяцев назад +1

    hello sir , sir maine chatgpt ka clone bana hai but isme bahut sari problem face karna par raha hai related to the openai sir how could i solve this

  • @TheDinaraDiaries
    @TheDinaraDiaries 6 месяцев назад

    Thank you very much!

  • @sriharshinikarnala5429
    @sriharshinikarnala5429 8 месяцев назад

    can i do this for major project? is this that advanecd?

  • @usamamalik487
    @usamamalik487 8 месяцев назад

    Need full course for react js

  • @BB-ix7kd
    @BB-ix7kd 4 месяца назад

    .Great video!
    PD: ALT + Z please ;)

  • @Lakshmanlucky579
    @Lakshmanlucky579 8 месяцев назад +2

    We need full react course plechhh🤗

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      sure but It will take time, currently working on JavaScript course

    • @Lakshmanlucky579
      @Lakshmanlucky579 8 месяцев назад

      Good to hear this , thank you so muchhh😊

  • @Newmove10
    @Newmove10 8 месяцев назад

    please provide react full course

  • @vsankar
    @vsankar 8 месяцев назад +12

    Need React long Course ❤❤

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад +5

      sure but It will take time, currently working on JavaScript course

  • @kanodekoubillybrown3025
    @kanodekoubillybrown3025 7 месяцев назад +12

    can we have the repo with the complete code ?

    • @randomguy-2650
      @randomguy-2650 3 месяца назад

      He said that it was in a community post, but only channel members of GreatStack (Easy Tutorials) can view it.

  • @funfacts9668
    @funfacts9668 8 месяцев назад +3

    @GreatStack I have encountered an error, it says that Request failed with status code 401, what should I do?

    • @anuraganand6480
      @anuraganand6480 8 месяцев назад

      401 error comes when your credentials are not completed, i.e your profile for the api is not complete, You need to pay $0 from your card on the official website, then the api will allow you to use the feature....
      Check from 55:00
      Don't worry, no money will be deducted automatically, says OpenAI 😊

    • @epictube5045
      @epictube5045 5 месяцев назад +1

      @@anuraganand6480 hey is this similar to 400 error too?

  • @technicalvillain6309
    @technicalvillain6309 8 месяцев назад +2

    I think it would be great if we can make that response text to speech 🤔

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад +1

      yes you can make that by using window. speechSynthesis, you can get idea from this text to speech tutorial: ruclips.net/video/3oDNqHZ7UKY/видео.html

    • @technicalvillain6309
      @technicalvillain6309 8 месяцев назад

      @@GreatStackDev thanks sir 👍

    • @standwithindia397
      @standwithindia397 8 месяцев назад

      Bro, source code share kar do please... if you have no problem...

    • @prabhugantayat6562
      @prabhugantayat6562 7 месяцев назад

      @@standwithindia397 Bro did you get the source code?

    • @standwithindia397
      @standwithindia397 7 месяцев назад

      @@prabhugantayat6562 nahi bro

  • @captainash4714
    @captainash4714 8 месяцев назад

    Thanks man

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      Glad you liked this tutorial to make ChatGPT clone project in React

  • @arnabroy2932
    @arnabroy2932 8 месяцев назад

    I like your previous voice

  • @H.CWebDeveloper
    @H.CWebDeveloper 8 месяцев назад +1

    Sir npm install openai@^3.0.0 is also not working

  • @shiraztariq2789
    @shiraztariq2789 8 месяцев назад

    Awesome Tutorial I learned a lot from this video and the good thing about some points I don't understand so personally guide me very well how to use Api

    • @dharmikjain5288
      @dharmikjain5288 8 месяцев назад

      Can you help me i gotting some errors in this

    • @novacame9718
      @novacame9718 7 месяцев назад

      @@dharmikjain5288 Same here !! I am also getting errors...have you encountered this one:- Request failed with status code 401

    • @ayusharun6924
      @ayusharun6924 4 месяца назад

      can you share openai.js file source code?
      the configuration error occurs during run time

  • @CyberViON
    @CyberViON 7 месяцев назад +7

    Sir? Can you pls provide the Github repo here?

    • @jash4900
      @jash4900 Месяц назад

      if you get the github link plz let me know

  • @hamzamughal3422
    @hamzamughal3422 7 месяцев назад +3

    When i implement the openai configurations it show me following error
    "Configuration is not a constructor"

    • @jamesp5343
      @jamesp5343 6 месяцев назад +1

      Close visual studio.
      Open your node_modules folder.
      Delete openai folder
      Open your terminal in your project folder
      Run the command "npm install openai@^3.0.0"
      Restart local instance by typing "npm start" in terminal

    • @epictube5045
      @epictube5045 5 месяцев назад

      Request failed with status code 400 this is new error after your process
      @@jamesp5343

  • @user-mf5xv7uj8n
    @user-mf5xv7uj8n 3 месяца назад +1

    Please help ,I am getting a error in console window after writing the api code ,I have follow the same code as you have written but getting error in Console that require is not defined,and the web page become blank .

  • @rajkumarandekar416
    @rajkumarandekar416 8 месяцев назад

    Do reactjs small projects 30 like you done on JS

  • @programmers441
    @programmers441 8 месяцев назад +1

    Bro makke more react project like movie app, ecommerce app

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      sure, working on Ecommerce react project, we will upload it soon

  • @darklord9500
    @darklord9500 5 месяцев назад

    Can we use cookies of already logged in chatgpt?

  • @koreanil1980
    @koreanil1980 8 месяцев назад +3

    pls post a react full course

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      sure but It will take time, currently working on JavaScript course

  • @novacame9718
    @novacame9718 7 месяцев назад

    Hello GreatStack !!! What an amazing and an easy tutorial to create ChatGpt !!! Thank you so much fo this but i am facing an issue..i am getting this error:- Request failed with status code 401...Any ideas how to resolve this ?? IT would be appreciated and Thank you again !!!!

    • @vibhanshusingh1718
      @vibhanshusingh1718 6 месяцев назад

      Have you find the solution for this?

    • @novacame9718
      @novacame9718 6 месяцев назад

      @@vibhanshusingh1718 Nope, i couldn't find it

  • @Arpan_Vala
    @Arpan_Vala 8 месяцев назад +1

    Thank you ❤ , this is the simplest yet amazing way of creating chatGpt clone . I'm gonna try it 😉

    • @shiraztariq2789
      @shiraztariq2789 8 месяцев назад

      can u plz share the source code

    • @Arpan_Vala
      @Arpan_Vala 8 месяцев назад

      @@shiraztariq2789haven't tried yet.

    • @standwithindia397
      @standwithindia397 8 месяцев назад

      Hello bro please share source code

    • @standwithindia397
      @standwithindia397 8 месяцев назад

      ​@@shiraztariq2789bro did you get the source code?

  • @Hostelwale..
    @Hostelwale.. 8 месяцев назад

    Npx create-react-app clone not working it shows npx is not recognize command

  • @shiraztariq2789
    @shiraztariq2789 8 месяцев назад

    I also request in future also guide this if this same project we have to live link so what's the process do we have to follow and make a link with firebase because in firebase we have a option to free live link .

    • @dharmikjain5288
      @dharmikjain5288 8 месяцев назад

      Can you help me i gotting some errors in this

    • @creaxionx8540
      @creaxionx8540 5 месяцев назад

      i also got the error if you solved it. Then it would be great if u share how did you do that cuz i cant find any solutions :(

    • @dharmikjain5288
      @dharmikjain5288 5 месяцев назад

      @@creaxionx8540 bro that api is paid now

  • @manumishra6087
    @manumishra6087 5 месяцев назад +7

    Openai.js file not working while importing complete ui becoming blank

    • @pritirai6369
      @pritirai6369 27 дней назад

      same for me have you resolved that issues then pls help me on this

  • @krishnasingh8965
    @krishnasingh8965 7 месяцев назад +4

    One error is not resolving even after installing openai 3.3.0 it shows ERROR
    Request failed with status code 400 please help

    • @wildrubis9496
      @wildrubis9496 6 месяцев назад +2

      I have the same error

    • @ayusharun6924
      @ayusharun6924 4 месяца назад +1

      i also have these error,can anyone resolve this issue?

    • @shenxajay7861
      @shenxajay7861 2 месяца назад

      Hey did you det any solution of this problem

    • @shenxajay7861
      @shenxajay7861 2 месяца назад

      I am facing it too

    • @shenxajay7861
      @shenxajay7861 2 месяца назад

      ​@@wildrubis9496please

  • @_its_sourav_4439
    @_its_sourav_4439 3 месяца назад

    Can you make a realtime chat app? Let's take the challenge 💪

  • @jayalakshmiballajaya
    @jayalakshmiballajaya 6 месяцев назад +4

    Thank you for providing this ChatGPT clone using react but while I am trying this code the output on the browser is not displaying for me and it is showing that an error like Configuration is not a constructor. In actual there is no error in terminal and it is showing that webpack compiled successfully. Could you please help me to solve this issue.

    • @jayalakshmiballajaya
      @jayalakshmiballajaya 6 месяцев назад

      Do anyone know about this? please help me to find it out .

    • @jamesp5343
      @jamesp5343 6 месяцев назад

      Close visual studio.
      Open your node_modules folder.
      Delete openai folder
      Open your terminal in your project folder
      Run the command "npm install openai@^3.0.0"
      Restart local instance by typing "npm start" in terminal

    • @jamesp5343
      @jamesp5343 6 месяцев назад

      @jayalakshmiballajaya

    • @jayalakshmiballajaya
      @jayalakshmiballajaya 6 месяцев назад

      tq i will try in that way@@jamesp5343

    • @jayalakshmiballajaya
      @jayalakshmiballajaya 6 месяцев назад

      i have done what you have told but it is showing still the same error@@jamesp5343

  • @user-yx4wm5hk6h
    @user-yx4wm5hk6h 7 месяцев назад

    i have while configuration of api? plz help me clr the error?

  • @BlitzVirtuoso
    @BlitzVirtuoso 8 месяцев назад +1

    Please front end development fulll course Html css and JavaScript please please sir❤❤

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад +1

      1. HTML CSS Full Course: ruclips.net/video/GAZVvpjxYQY/видео.html
      2. JavaScript Course: ruclips.net/video/CBWnBi-awSA/видео.html&pp=iAQB
      3. HTML CSS JS Projects: ruclips.net/video/CpgNVyUxUV0/видео.html

  • @wayofmuhammad
    @wayofmuhammad 8 месяцев назад +4

    Can you please give me the source code 🥺

  • @tarun7453
    @tarun7453 7 месяцев назад +3

    😢😢 completed up to 1:14:52
    Suddenly browser not showing the output

  • @shrirambaskaran8870
    @shrirambaskaran8870 5 месяцев назад +8

    Great Project !!! BUT FREE OPEN API WILL NOT WORK GUYS , its paid services now , so whosever is not able to generate response , is because of No response from API !!!

    • @jerryhacker8569
      @jerryhacker8569 Месяц назад

      Hmm 😢 but is there any other options are available?

    • @shekinahflorance9131
      @shekinahflorance9131 Месяц назад

      ​@@jerryhacker8569 you can try using unofficial hugging chat api

    • @SurajPandey-vi9gr
      @SurajPandey-vi9gr 25 дней назад

      Thought of using this project for my sem 8, but im out of luck !😭

  • @spectrrum
    @spectrrum 8 месяцев назад

    I am getting error refused to set unsafe header "user agent" can anyone help me with this

  • @ayusharun6924
    @ayusharun6924 4 месяца назад +4

    after openai.js
    this runtime error shows - (TypeError: Configuration is not a constructor)
    can anyone solve this

    • @puripujitha5452
      @puripujitha5452 3 месяца назад

      even i am also facing the same error right now

    • @Mohini_mehendi_art
      @Mohini_mehendi_art 3 месяца назад

      Me too facing same pb,do you got the solution

    • @toluve
      @toluve 3 месяца назад

      Me too

    • @ayusharun6924
      @ayusharun6924 3 месяца назад +2

      Actually chatgpt api is premium(paid) now,it doesn't free,that's why it shows error
      Hope all of you understand now

    • @ritikkatoch0242
      @ritikkatoch0242 Месяц назад

      I am facing the same problem before then I recreate the project and at the time of installing open ai I just installed openai version 3.3.0

  • @shiraztariq2789
    @shiraztariq2789 8 месяцев назад

    @GreatStack sir how to solve this error Request failed with status code 429

  • @mubarakabdulazeez2779
    @mubarakabdulazeez2779 5 месяцев назад

    Please am getting error “require is not defined in ES module scope”

  • @anmolsingh6567
    @anmolsingh6567 4 месяца назад +1

    Buddy source code kha se milega repo ki link dedo kuch check krna hai

  • @user-ri6ux5pd3s
    @user-ri6ux5pd3s 8 месяцев назад +2

    Frist

  • @shiraztariq2789
    @shiraztariq2789 8 месяцев назад

    project making but some create a problem not show the output and configuration is openai.js:5 not a constructor please fastly reply solve with problem

  • @avisaini3332
    @avisaini3332 8 месяцев назад +1

    Can it impact on resume or i want some add on projects.

    • @tushar3549
      @tushar3549 2 месяца назад

      yes. you can add

  • @kundansai8147
    @kundansai8147 8 месяцев назад

    Do we have any git repo for this clone??

  • @moldireddymoldireddyswetha2684
    @moldireddymoldireddyswetha2684 3 месяца назад

    Is there any IEEE paper for this project

  • @MuhammadIlham-nl4du
    @MuhammadIlham-nl4du 3 месяца назад +1

    What extension are you using? Please let me know, I'd like to use it too

    • @MuhammadIlham-nl4du
      @MuhammadIlham-nl4du 3 месяца назад

      An extension that shortens writing code so that what we want to write appears directly, pls tell me GreatStack 🙌🙌🙌

    • @Egoiistiic
      @Egoiistiic 3 месяца назад

      Vscode inbuilt Extension Emmet ​@@MuhammadIlham-nl4du

  • @stablist2056
    @stablist2056 Месяц назад

    please what's called the theem that u use in this vedio

  • @sarthakdev18
    @sarthakdev18 4 месяца назад +1

    why is my app.css not compiling from 19:14 ? the tags are correct and app.css is imported in app.js but css still not applying on the project... kindly help

  • @ajgamingFun231
    @ajgamingFun231 8 месяцев назад

    We need React course

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      sure but It will take time, currently working on JavaScript course

  • @madhureeyadav8363
    @madhureeyadav8363 8 месяцев назад +1

    Hello sir , this project making but some create a problem not show the output and configuration is openai.js:5 not a constructor please fastly reply solve with problem

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      check your package.json file
      it should contains
      "openai": "^3.3.0",
      if it is not there you can install by typing
      npm install openai@^3.0.0

    • @shiraztariq2789
      @shiraztariq2789 8 месяцев назад

      i also have a same issue @GreatStack

    • @shiraztariq2789
      @shiraztariq2789 8 месяцев назад

      kindly plz resolve this error

    • @krishnasingh8965
      @krishnasingh8965 7 месяцев назад

      @@shiraztariq2789 u got answer? I am facing same issue

  • @user-wb7qr1wz4c
    @user-wb7qr1wz4c 5 месяцев назад +2

    Hi, can you please provide the source code?

  • @H.CWebDeveloper
    @H.CWebDeveloper 8 месяцев назад +2

    Sir npm i openai is not installing

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      try
      npm install openai@^3.0.0

    • @H.CWebDeveloper
      @H.CWebDeveloper 8 месяцев назад

      @@GreatStackDev sir it's not working

  • @H.CWebDeveloper
    @H.CWebDeveloper 8 месяцев назад +6

    Sir when i enter the consol.log(res); the web page is not visible. 1:05:52 so please tell me sir what should i do

    • @anmolsingh6567
      @anmolsingh6567 8 месяцев назад +1

      Yes bro you are right require is not defined error show kr rha mere me

    • @yasserfetouhi7711
      @yasserfetouhi7711 8 месяцев назад

      if any one fix the bug please provide us with the solution
      @@anmolsingh6567

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      from package json remove "type": "module",
      or
      you can try to remove the require function and use the import syntax

    • @ghostlegend_
      @ghostlegend_ 8 месяцев назад +2

      Did u get this error?
      Uncaught TypeError: Configuration is not a constructor

    • @H.CWebDeveloper
      @H.CWebDeveloper 8 месяцев назад

      @@ghostlegend_ yes

  • @user-yp7mb8wp7k
    @user-yp7mb8wp7k 8 месяцев назад +1

    I have joined the channel but I dont see the source code for this tutorial. where I can find the source?

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      Hi Ankush, We will post the code link by today evening.

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад +1

      here it is: ruclips.net/user/postUgkxoZfd5WBH5uZQeHjVUp_0G8BNTKFNjkv0

    • @anmolsonthalia7371
      @anmolsonthalia7371 5 месяцев назад

      I didn't see the source code. Can you help it out? @@GreatStackDev

  • @abdulhamid.469
    @abdulhamid.469 8 месяцев назад +2

    It give me this error "openai.js:2 Uncaught TypeError: Configuration is not a constructor"

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад +2

      check your package.json file
      it should contains
      "openai": "^3.3.0",
      if it is not there you can install by typing
      npm install openai@^3.0.0

    • @nihalsingh6233
      @nihalsingh6233 8 месяцев назад

      Not working sir

    • @jamesp5343
      @jamesp5343 6 месяцев назад

      Close visual studio.
      Open your node_modules folder.
      Delete openai folder
      Open your terminal in your project folder
      Run the command "npm install openai@^3.0.0"
      Restart local instance by typing "npm start" in terminal

  • @avisaini3332
    @avisaini3332 8 месяцев назад +1

    Is open ai API still working??

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      Yes it works

    • @avisaini3332
      @avisaini3332 8 месяцев назад +1

      ​@@GreatStackDevit is not taking visa debit card details and show "your card declined".
      Please help me I am stuck here.

  • @surajsingla4439
    @surajsingla4439 Месяц назад

    Hey can you share the github repo for the project?

  • @richardbond4496
    @richardbond4496 6 месяцев назад

    is it censored like chat gpt?

  • @marryamsaad2457
    @marryamsaad2457 8 месяцев назад

    Hi,
    Even with the same settings and everything, I am getting a scrollbar in the main chat area. Please help

    • @jinssean7606
      @jinssean7606 8 месяцев назад

      i also got the same error

    • @marryamsaad2457
      @marryamsaad2457 8 месяцев назад

      Hi @jinssean7606
      ::-webkit-scrollbar {
      display: none;
      }
      Add this to your App.css file

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      thanks Marryam, your comment will help others

    • @shiraztariq2789
      @shiraztariq2789 8 месяцев назад

      @marryam can u plz provide the source code

  • @atangacheboh8634
    @atangacheboh8634 7 месяцев назад

    since chatgpt is not available in my location which other ai api key can I use?

    • @misap123
      @misap123 6 месяцев назад

      maybe falcon on hugging face, or just use a vpn

  • @Hybridvanguard
    @Hybridvanguard 4 месяца назад

    this method has been deprecated. can you tell us how to implement gpt 3.5?

  • @nisarshaikh
    @nisarshaikh 2 месяца назад +1

    for who getting error related to Configuration, createCompletion etc. here is a code of apenai.js file: const OpenAI = require('openai');
    const openai = new OpenAI({ apiKey: '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', dangerouslyAllowBrowser: true });
    export async function sendMsgToOpenAI(message) {
    const res = await openai.completions.create({
    model: 'gpt-3.5-turbo-instruct',
    prompt: message,
    temperature: 0.7,
    max_tokens: 256,
    top_p: 1,
    frequency_penalty: 0,
    presence_penalty: 0
    });
    return res.data.choices[0].text;
    }

  • @sapnagapat6815
    @sapnagapat6815 Месяц назад +2

    But this subscription is not free please can you tell free trial method

  • @adityapatil7972
    @adityapatil7972 6 месяцев назад +1

    is some one there who made this project...is it working correctly?

  • @user-uh6jx8rt5y
    @user-uh6jx8rt5y Месяц назад +1

    it showing Configuration is not a constructor ? why ?

  • @dattanidumukkala8178
    @dattanidumukkala8178 6 дней назад

    getting require is not defined error

  • @Akshay-nk5wc
    @Akshay-nk5wc 3 месяца назад

    can u pleser share code
    getting some error

  • @anmolsingh6567
    @anmolsingh6567 4 месяца назад

    Mere project me jb hello likh kr send kroo toh user ki img 40-45 baar print ho rhi hai fir uske baad mera massage likh kr aarha hai map function me kuch error hai kisi ko koi idea hai ki kya kiya ja skta hai

  • @dharmikjain5288
    @dharmikjain5288 8 месяцев назад

    Bro i gotting some errrors plz anyone help

  • @dharmikjain5288
    @dharmikjain5288 8 месяцев назад +1

    Configuration is not a constuturor getting error need help

    • @Flenex-io
      @Flenex-io 8 месяцев назад

      hey did you find the solution, cuz i got problems too

    • @dharmikjain5288
      @dharmikjain5288 8 месяцев назад

      @@Flenex-io bro 🥲it's shit it is pending know also I try and created another time with new folder but same error in that open api that is put in terminal there is not constructor 🥲 or it is updated

    • @nihalsingh6233
      @nihalsingh6233 8 месяцев назад

      Facing same issue

    • @jamesp5343
      @jamesp5343 6 месяцев назад

      Close visual studio.
      Open your node_modules folder.
      Delete openai folder
      Open your terminal in your project folder
      Run the command "npm install openai@^3.0.0"
      Restart local instance by typing "npm start" in terminal

    • @dharmikjain5288
      @dharmikjain5288 6 месяцев назад

      @@jamesp5343 great stack se puch mena main se unhone ne bola wo api ab paid hogya h isliya use ni hoga pura code unhone mujhe dediya

  • @gamingflick
    @gamingflick 8 месяцев назад

    images are not working i dint know y
    is now working

    • @anuraganand6480
      @anuraganand6480 8 месяцев назад

      Try resizing them with css, also, you can download a replacement icon online, which will be free.....

  • @tomfooler7692
    @tomfooler7692 7 месяцев назад

    openai api is not free?
    where do i get it for free

  • @Asphalt9Adventures
    @Asphalt9Adventures 4 месяца назад

    openai.js:1 Uncaught ReferenceError: require is not defined
    at openai.js:1:38 "Sir please tell me what I do to fix this error"

  • @MihirAmanRaj
    @MihirAmanRaj 8 месяцев назад

    How much free credit do we get from open ai

    • @anuraganand6480
      @anuraganand6480 8 месяцев назад

      Around 200 responses, which will be reactivated automatically after some days, check the openAI documentation for more....

  • @aadarshmishra5276
    @aadarshmishra5276 6 месяцев назад +1

    getting status code 429 error

  • @vishalkumaryadav2924
    @vishalkumaryadav2924 6 месяцев назад

    const { Configuration, OpenAIApi } = require("openai");
    const configuration = new Configuration({
    apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    });
    I wrote the code very correctly but still i am getting this error can someone please help with me this
    "Configuration is not a constructor"

    • @derianab1185
      @derianab1185 5 месяцев назад +1

      const openai = new openai({ apiKey: proceso.env.OPENAI_API_KEY, organización: organización-id, configuration});

    • @pravinkumar.r8981
      @pravinkumar.r8981 5 месяцев назад

      Can add this line for solving that problem?

  • @himanshusharma1220
    @himanshusharma1220 6 месяцев назад +2

    API key is not free

  • @sno-oze
    @sno-oze 8 месяцев назад

    create react app, javascript in 2023? really? still missing the use of classes

  • @nnbhanuprakash
    @nnbhanuprakash 8 месяцев назад +1

    Api billing, they asked money bro

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      Just need to verify payment method, verification transaction amount will be refund immediately. After that you will get free credit to use API. You can see the available credit limit also. Any time you can remove your payment method

  • @user-fh8xg5yy6j
    @user-fh8xg5yy6j 7 месяцев назад

    poppins is not loading

  • @CodingMaverick
    @CodingMaverick 8 месяцев назад

    Do we need to pay for getting access to chatgpt api?

    • @deadlock107
      @deadlock107 8 месяцев назад +1

      Yes you have to, but if you register an account you get some free usage at the beginning.

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад +1

      You need to verify payment method after that you will see free credit limit to use the API

    • @umaralam6975
      @umaralam6975 8 месяцев назад +1

      ​@@GreatStackDevhow can I verify the payment method or how to add debit card to used API

    • @CodingMaverick
      @CodingMaverick 8 месяцев назад

      Thanks for replying , so we need to pay for chatgpt api even for sample execution , as i verified my payment methods , it showed me this "You have not started a payment plan yet." @@GreatStackDev

    • @GreatStackDev
      @GreatStackDev  8 месяцев назад

      please check this tutorial about OpenAI api: ruclips.net/video/PZG2MvOjud0/видео.html

  • @deepanshukacher1536
    @deepanshukacher1536 5 месяцев назад

    55:56

  • @callmegx
    @callmegx 2 месяца назад

    Source Code??