Build and Deploy Your Own ChatGPT AI App in JavaScript | OpenAI, Machine Learning

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 1,6 тыс.

  • @1krystyan
    @1krystyan Год назад +10

    ============ HOW TO FIX 401 ERROR ============
    For everyone struggling with error 401, here is how I fixed it and now it works as expected.
    First, to explain why that happens, the way the project was created and made, for some reason the .gitignore file does not ignore .env and modules. This will in turn make your API key visible once it's pushed to GitHub, and the OpenAI has something in place that renews the key whenever it's made public (via pushing to the github repository), so everytime you try to make a request, the error 401 is handed over, meaning the API Authorization failed in this case.
    To get around this you must do the following:
    1. Access your project files folder and MOVE the .env file out of the folder completely
    2. Go into VSCode and make sure the .env file is not anymore part of the project
    3. Once you've made sure the .env file is no more, push the current project AND make sure the env file is also removed from your Github Repo by accessing it via browser
    4. Now that .env is out of everywhere, you should only have a local copy. Open the local .env file in VSCode and put a renewed API Key from beta.openai.com/account/api-keys
    5. Once you've refreshed the key, go to render.com/ -> Dashboard -> open your deployed project -> Environment -> Enter "Secret Files" tab
    6. In the Secret Files Tab, enter as the "Filename" ".env" / "Contents" [here you copy all contents of the .env local file exactly as they are wrote in the local copy] for ex "OPENAI_API_KEY ="sk-Sh2akcOFEvelbd5bIReX...T3B"
    7. Back in VSCode -> server.js -> modify the following:
    dotenv.config({path: '/etc/secrets/.env'})
    const configuration = new Configuration ({
    organization: "org-K7....wAv",

  • @k415hu7
    @k415hu7 Год назад +96

    I don't have words to express for your efforts, you are the best teacher 😭

    • @javascriptmastery
      @javascriptmastery  Год назад +8

      Thank you! 😊

    • @LC-lh2zy
      @LC-lh2zy Год назад +1

      Road to success

    • @JohnAtkinson-ww8qe
      @JohnAtkinson-ww8qe Год назад +1

      You made one?

    • @ZainUlabideen-fb8zm
      @ZainUlabideen-fb8zm Год назад

      oOoOO so sad🥺🥺🥺🥺😒😥😢😥😀😀😀😀

    • @AzadVocals
      @AzadVocals Год назад

      @@ZainUlabideen-fb8zm really so much embarasing api.how it will works sir im not able to fetch the api??

  • @moh_idreesmohammadi9118
    @moh_idreesmohammadi9118 Год назад +53

    Seriously, it was phenomenal. For once in my life I followed the tutorial like watching an action movie and got extremally interested in AI projects. Thank You so much Sir!

  • @Andrew-Tsegaye
    @Andrew-Tsegaye Год назад +53

    By the way, I've told you to build a stunning app using vanilla JS and you made it here. Thanks for accepting my suggestion and building a stupendous app with vanilla JS!🙏🙏

  • @Duke49th
    @Duke49th Год назад +1

    After I deployed everything online, I had an issue with my key, for some reason. I had to generate a new key. It made me 20 years older because I was already close to tears as I had not idea what is going on. But it worked. Yesss!!! Thanks again :)

  • @AaronHulse1956
    @AaronHulse1956 Год назад +4

    Great job, but I suggest you do a follow up video on how to avoid the 401 error. The dependencies on OpenAI and Render requiring paid accounts before your great app actually works.

  • @infinity_cape
    @infinity_cape Год назад +1

    Thank You Adrian , for someone who hasn't started out with react yet , this a great Vanilla J.S project.Completed it in one sitting.

  • @neilfosteronly
    @neilfosteronly Год назад +1

    I was able to finish this project without any experience in these languages. Also had never used Render or Vercel. ChatGPT helped a lot. I have Visual Studio set up for C# and was getting no auto help. Spelt so many things wrong. Would tell AI my script, then use GitHub page and ask what was different. This help greatly as showed all spelling mistakes and also found mistakes the creator corrected latter.
    But I had a problem at the end I could not figure out and ChatGPT could not either. I kept getting error messages when trying to use. After fixing some, I saw I was having a 401 error and in description first thing to do is check API. Saw my API code was not correct. I would have thought this was used in early test but guess not. After I changed the webpage worked fine.
    Thanks for the free tutorial. I learned a bit about javascript. It seems to be much more like c# than python. It worked and I made a project that I can use at the school I work at. I am in Vietnam and this AI will work in my classroom. For ChatGPT I need a VPN. Plus students need to use a VPN and have a phone number from another country to confirm before they can try. VOIP numbers don't work to sign up for ChatGPT.
    I wanted to add some personality to the webpage so tried to have chatGPT change the style.css. This didn't work for me and I have no knowledge in .css so was not sure where to even start.
    My goal is to get this to work in a Unity project. Will ask AI to write the java and html to C# but guessing will be so many problems.

  • @mikhail5002
    @mikhail5002 Год назад +78

    absolutely amazing! Would love an extended tutorial about creating a complete webapp with registration, login, payment processing, customer area and all the other things to make a full product! The quality of your tutorials is mind-blowing!

    • @gregcharles92
      @gregcharles92 Год назад +4

      My solution was to this application behind a service like webflow, or Editor X, or even some of the supabase build templates that has user login functionality

    • @denniszenanywhere
      @denniszenanywhere Год назад +1

      @@gregcharles92 I’m curious to know how to do this on webflow. How?

    • @yonathanrodriguez4050
      @yonathanrodriguez4050 Год назад +1

      @@gregcharles92 show us how you did it lol

    • @FahadKiani1
      @FahadKiani1 Год назад

      +1

  • @Englishmusic-qi9fp
    @Englishmusic-qi9fp Год назад +1

    Mosh and adrian are my best teachers in my life i had.
    When you begin mobile app development

  • @harsh-alashi
    @harsh-alashi Год назад +3

    Just completed the JavaScript course provided by you and now this project will act as good way to learn JavaScript in more advance way. Thank You Adrian
    I will surely start working on this ASAP

  • @eugenemorrison2663
    @eugenemorrison2663 Год назад

    I have included this in my new Kindle book, "ChatGPT Frequently Asked Questions.". ...Very informative.

  • @mindbodyps
    @mindbodyps Год назад +8

    Video we all are waiting from our favourite Javascript channel.
    .
    I made the whole website for my client using ChatGPT, and some of the animation that I didnt know like GSAP and ThreeJs , it code that too.
    It's just Wow for any developer.

    • @javascriptmastery
      @javascriptmastery  Год назад +1

      Thank you!

    • @invictuz4803
      @invictuz4803 Год назад +1

      Seriously? What is the application you used on top of ChatGPT to get AI generated code for animations?

    • @maskman4821
      @maskman4821 Год назад +1

      I am looking forward to the coming of GPT4, I wonder how good could it be? 🤔

    • @mindbodyps
      @mindbodyps Год назад

      @@invictuz4803 I command ChatGPT that, "Use react functional component and gsap, when user scroll pin an image and on scroll zoom in to the other page.
      Other ThreeJs one is, I told to make interactive rotating earth planet.
      Some basic layout and advance CSS

    • @invictuz4803
      @invictuz4803 Год назад

      @@mindbodyps That sounds so sick! Do you have it hosted so I can see?

  • @maskman4821
    @maskman4821 Год назад +1

    A lot of people are asking Javascript Master creating all sorts of apps, because you guys dont know you can have chatGPT does it for you. The era of AI is coming, prompt engineering is what everyone should master in order to survive in all sorts of career, if you don't know how to ask openAI handling tasks for you, then you will be replaced immediately and easily. So you should ask for prompt engineering tutorial, I hope Javascript Master release tutorials on this topic, because this gonna save lots of people.

  • @williamlawrence1044
    @williamlawrence1044 Год назад +7

    This is the first tutorial I’ve done from start to finish with no mistakes. Thank you

    • @allan.adimoolah
      @allan.adimoolah Год назад

      Did you get it to run live and make requests after the vercel and render configurations?

    • @HimanshuKumar-hp1vj
      @HimanshuKumar-hp1vj Год назад

      i got error when deployed@@allan.adimoolah

  • @philcui9268
    @philcui9268 Год назад +2

    Yes, more React app driven by AI demo are more than welcome!
    Thank you in advance!

    • @javascriptmastery
      @javascriptmastery  Год назад +1

      You got it!

    • @philcui9268
      @philcui9268 Год назад

      @@javascriptmastery Please let me know the video tutorial url once you complete it. Thank you very much!

    • @philcui9268
      @philcui9268 Год назад

      BTW, why do we have both render and vercel for deploying the app? i mean, can either of them complete the deployment? What's the advantages of combining the two?

  • @mercyfaithnyamburakariuki6112
    @mercyfaithnyamburakariuki6112 Год назад +25

    I'd love to see both (Vanilla applications and Advanced React applications) on different playlists.
    I must say, your method of delivering content to your students is top tier.

  • @Xeroform
    @Xeroform Год назад +1

    I’ve been improving on my own gpt3 and 3.5 turbo models… ported to mobile terminal on my iPhone: It’s so neat having the AI in a window that I can leave on and pick up whenever without having to log back in, no waiting in line from congestion. Using the API is the way to go… and they added images to the completions API I think today or yesterday. 🔥

  • @AdrianTwarog
    @AdrianTwarog Год назад +7

    Mate you’ve out done yourself! Great video right here!

    • @javascriptmastery
      @javascriptmastery  Год назад +1

      Your ChatGPT videos are phenomenal, Adrian!

    • @harpit5905
      @harpit5905 Год назад +1

      I am sure that both the videos are great. One is for the non developers..While the other is for developers. Interestingly, JSMastery video surfaced after I searched 'ChatGPT Clone'.

    • @Deekshisaisrini
      @Deekshisaisrini Год назад

      I don't want your video. I want my money

    • @Deekshisaisrini
      @Deekshisaisrini Год назад

      @@javascriptmastery I want my money back...

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

      same name😂😂😂😂😂

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

    Thank you so much, Adrian! Your tutorials are absolutely amazing and incredibly helpful. I recently completed your JavaScript course, and this project is the perfect next step to deepen my understanding and skills. Your clear explanations and engaging teaching style make complex topics so much easier to grasp. I appreciate all the hard work you put into these videos-it's truly making a difference in my learning journey. Keep up the fantastic work! 🌟

  • @codewithtakashi
    @codewithtakashi Год назад +8

    I will sure do this and test it out , learning something new is always fun thank you for awesome content❤

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

    Is my best project and may God continue to bless the memefi company and their project

  • @javakodingdotcom
    @javakodingdotcom Год назад +7

    Wow sir you are always updated with the latest news, great tutorial. Thank you so much 🙏

  • @AaronHulse1956
    @AaronHulse1956 Год назад

    Thank you for your efforts, all is well, app worked locally, pushed to Git, published to Render and Vercel with no problems. You are the MAN!

  • @chinospur_
    @chinospur_ Год назад +22

    My great teacher in Tech! You can never disappoint! If words were enough to appreciate you for your effort towards my learning journey in Tech, I would've written a Wikipedia for you. Keep it up Sir.☺️❤️

  • @mehmetkoyuncuoglu1624
    @mehmetkoyuncuoglu1624 Год назад +1

    Best Teacher Ever. I learned MERN, WEB3 and Build Own CHATGPT because of you :D

  • @icecube9430
    @icecube9430 Год назад +5

    Love the way u keep the debugging part, teaching also how we can effectively solve errors by console logging

  • @imtiazshawn167
    @imtiazshawn167 Год назад

    This is the best RUclips channel for web developers for sure.

  • @tanw89
    @tanw89 Год назад +8

    Please do a Stable Diffusion + React tutorial! So much potential for learning especially in terms of how to host a private Stable Diffusion API, set up a lambda function, etc :)

    • @javascriptmastery
      @javascriptmastery  Год назад +4

      Great idea!

    • @Deekshisaisrini
      @Deekshisaisrini Год назад

      @@javascriptmastery I want my money..please send immediately. I have shared the account number

  • @blackeystudios8518
    @blackeystudios8518 Год назад +1

    Hey you are making difference. This is all we need I mean chatGpt is all over the internet everyone is talking about it but you, you made it more clear what we could be able to do with it

  • @betteryou6416
    @betteryou6416 Год назад +14

    Anything you put on YT is complete gold. Can you do an Udemy clone next?! With AI reccomendations for courses you may like. That would be fire!!!

  • @philq01
    @philq01 Год назад

    This is the best tutorial I've seen on using the OpenAI API. Thank You.!

  • @the-patient-gamer-channel
    @the-patient-gamer-channel Год назад +36

    Absolutely insane that this is available for free. You're amazing man, keep doing these, I'm learning so much by actively doing these projects

    • @javascriptmastery
      @javascriptmastery  Год назад +1

      Glad you enjoy it!

    • @housefull2432
      @housefull2432 Год назад +2

      @@javascriptmastery can u make it as also can u train him to make apps android like social media app by him self and create ui for the app by him self

    • @RushMyEx
      @RushMyEx Год назад

      Hey
      I want to create a chatbot, but with your system I can´t use a "stop" command, and without a stop command for my
      Chatbot:
      Customer:
      he is not able to understand my prompt

  • @Duke49th
    @Duke49th Год назад +1

    Edit: Oh wow. I got it. Until the end. And it works. Thank you so much!!!
    Old comment:
    I just type exactly every bit of code as you do. I have no clue about coding, aside from some very basic HTML+PHP many years ago (and learned that in the same way, following someone with step by step copying what he is typing on the screen).
    I'm at Minute 26 and deeply hope you haven't skipped something thinking we all are coder that know what to do 🤣
    But I am already grateful for such a good step by step tutorial. Good thing you explain most of what you are typing. If necessary I will just ask the AI what this and that means lol - amazing times coming ahead...

  • @hashinthaubhayandika9290
    @hashinthaubhayandika9290 Год назад +4

    I was looking for this in weeks. Thanks to you I finally found it. I have no enough words to thank you. Great job. keep it up ❤️😍

  • @AadarshRajCAPAD
    @AadarshRajCAPAD Год назад +4

    We would love to have some more deep dives into react from you, especially how to integrate the backend into our projects and create full stack applications, thanks Adrian..

  • @clearmuzik.5462
    @clearmuzik.5462 Год назад

    thank you vary much man, with the raising demand of chatgp, now i have my own chatgpt on my computer at any time, without needing to log in to any traffic database. thanks alot man.

  • @wujekbizon1
    @wujekbizon1 Год назад +7

    There is only one word to describe this content. AWESOME. Keep up the good work Adrian. I'm working on some really huge project myself and this stuff will be and amazing addition to it. Thank you. Here come 2023, a year of AI.

  • @carrylunatigaming787
    @carrylunatigaming787 Год назад

    Man i didn't even know any of the language like (Js , wtf is vanilla) then also I can understand what r u doing. Best explanation experience I have ever had on RUclips.
    And i have a request for you .... Can u upload a full course on "front end developer " it will be a lot of help ❤️

  • @derekprieur5258
    @derekprieur5258 Год назад +57

    Great video as usual Adrian! I personally prefer React projects but a vanilla JS one once in a while is a good change of pace 👍

  • @lootlydeals
    @lootlydeals Год назад

    I Love you and Lots of Love From India. We want tutors who taught from Zero to Advance taking everyone as beginners because one skipped step can waste someone's lots of time. I am Pro Developer But Still love the way you teach.

  • @programmer545
    @programmer545 Год назад +3

    Amazing one sir ❤
    Always up to date channel
    The thing others are talking about you build it..

  • @oscars4739
    @oscars4739 Год назад

    thank you so much for your tutorial, i already made a chatbot using OpenAI, like you, i created a backend and frontend side, i spent hours and hours for the deployment, i tried to deploy the whole App only on Render, or i even tried AWS, since both accept full stack applications, who would it know, i mean, you, that the backend deployment is on RENDER and the frontend in VERCEL, genius!!, thank you for your tutorial!!

  • @Andrew-Tsegaye
    @Andrew-Tsegaye Год назад +33

    wow, Adrian's subscribers are increasing rapidly - the project is magnificent!

    • @javascriptmastery
      @javascriptmastery  Год назад +4

      Thank you

    • @servicekingbd
      @servicekingbd Год назад +1

      I'm stronger day by day.Thanks for promoting me. Stay with chatGPT official channel.

    • @imshajib
      @imshajib Год назад

      @chatGPT official do you know. How can I deploy this project on my website, not free/ 3rd party website.

    • @timmygilbert4102
      @timmygilbert4102 Год назад

      Still hasn't reach 20k like

    • @Andrew-Tsegaye
      @Andrew-Tsegaye Год назад +1

      @@timmygilbert4102 of course it hasn't, but you'll see it soon! 😉

  • @arvydas5017
    @arvydas5017 Год назад +1

    this is probably best channel related to js development

  • @WonderRob
    @WonderRob Год назад +3

    Very nice, thanks! would be nice to see more vanilla JS examples

    • @javascriptmastery
      @javascriptmastery  Год назад +1

      More to come!

    • @WonderRob
      @WonderRob Год назад

      @@javascriptmastery May I suggest Stable Diffusion prompting example?

  • @simmdata
    @simmdata Год назад +1

    you are the best programmer in the world.

  • @surajpalsau870
    @surajpalsau870 Год назад +9

    If you are getting 429 or 500 status errors, then generate another API key from another account.
    Say thanks using the like button.

    • @usomine_af
      @usomine_af Год назад

      For help Teleqram me 👆...

    • @pkmkb784
      @pkmkb784 Год назад

      not helping me

    • @amuthav2979
      @amuthav2979 Год назад

      @@usomine_af i need help

    • @djarma7980
      @djarma7980 Год назад

      Why does this problem occur?

  • @kcollier1963
    @kcollier1963 Год назад

    Great Job! My brain can't work as fast as yours, but thankfully, there are pause and rewind buttons. Much appreciation for your efforts!

  • @MajjinBuu
    @MajjinBuu Год назад +5

    Hello Adrian can you also create a tutorial for creating AI art using DALL.E in JS
    Great tutorial by the way...love your videos

  • @MostlyPeacefulNinja
    @MostlyPeacefulNinja Год назад +1

    Dude, you are a legend in the making. I can't even get through all of these. How are you making these so quickly?
    I owe you at least a big fat donation. Mark my words!

  • @gammaburst3755
    @gammaburst3755 Год назад +3

    Hi Adrian, this is just a perfect tutorial, explainations are very clear and really enjoyable to follow. I'm interested in learning how to enable the chatbot to remember information from our previous conversations so that our subsequent interactions can be more precise. Can you explain how to implement this in the code?

  • @lll_llll_lll
    @lll_llll_lll 10 месяцев назад +1

    if I ever succeed in life and made an AI app like ChatGPT and I worked hard, and everything went will one day I will meet you in person and till my story and how I started with watching your video.

  • @HassanAli-xr2pj
    @HassanAli-xr2pj Год назад +5

    Use react js for projects instead of vanilla js because we can.use react js in our dapp development more easily as compared to simple vanilla js.. So it is my humble suggestion to carry on.with react and next js..Thanks A lot😊

  • @africanhustle01
    @africanhustle01 9 месяцев назад +1

    Thanks a lot! This tutorial has opened a door to infinite possibilities.

    • @RonalRomeroVergel
      @RonalRomeroVergel 9 месяцев назад

      it that's working?

    • @Marick333
      @Marick333 9 месяцев назад

      @@RonalRomeroVergel nope

    • @RonalRomeroVergel
      @RonalRomeroVergel 9 месяцев назад

      why not?@@Marick333

    • @aniketpatil7960
      @aniketpatil7960 9 месяцев назад

      ​@@RonalRomeroVergel problem in api but you can solve it but problem in server URL also so project is not going to complete

  • @BeRaikwal
    @BeRaikwal Год назад +4

    You always amaze me with your projects ALWAYS!!! I've been a subscriber of yours since you had 100K subs and now look where you reached straight up coding the ChatGPT clone oh my gosh ure fabbbbbb 😭😭😭✨✨✨✨

  • @stangurule1017
    @stangurule1017 Год назад

    This is insane!!
    I thought I was getting a grasp on JavaScript... Until now

  • @josgraha
    @josgraha Год назад +24

    i think it is much clearer to use VanillaJS (tm) instead of React as any Vanilla app can easily be converted to React or something more CDN friendly depending on deployment strategy. I loved seeing the React habits creeping in, well done! Also cool your copilot AI attempting to autocomplete code for you but again resisting the temptation. Thank you so much.

  • @maskman4821
    @maskman4821 Год назад +1

    Just finished the entire video, I am satisfied, I was thinking building same app yesterday, and you did it for us. I instructed chatGPT to build an entire MERN ecommerce website sucessfully, I am very impresed, I think I am already addicted to OpenAI, can't imagine life without it, thank you for creating this tutorial, I will build it with my favorite stack later on 😘

  • @alaaaldeensubora3804
    @alaaaldeensubora3804 Год назад +4

    Thanks for the tutorial! could you please update it to work with the new GPT 3.5 API?

  • @amirnorozi1085
    @amirnorozi1085 Год назад

    personally I like React JS but the way that you show me vanilla, I look forward to learn it from you

  • @MrHaloshot
    @MrHaloshot Год назад +4

    I'd love to see more Vanilla JS from the channel , awsome work btw, you have such a talent to teach and to build things , i truly apreciate your effort .

  • @0xM2r
    @0xM2r Год назад +1

    I am gonna print this video and frame it on my room. THANK YOU SO MUCH!

  • @yungxix6343
    @yungxix6343 Год назад +5

    Again a fantastic video, well delivered! in respect to the question asked, I would go for more Vanilla Javascript videos as to React. Thank you for all you do for the community....... Compliments of the season to you ❤❤❤❤

  • @aprendiendoaprogramar4984
    @aprendiendoaprogramar4984 Год назад

    Thank you very much, I learned how to create my own ChatGPT with this tutorial, now I would like to learn how to train the AI model. Uploading my own custom, private data that can only be viewed on my domain.

  • @YuvrajSingh-qz9ss
    @YuvrajSingh-qz9ss Год назад +8

    OpenAI all the API''s had paid. Anyone have idea to get it free??

  • @CricketWithHarris
    @CricketWithHarris Год назад

    Hi Adrian I have learned javascript and react in a much better way through your videos than anyone else on youtube. Kudos to you. I would really want you to add a registration to this app.

    • @usomine_af
      @usomine_af Год назад

      For help Teleqram me 👆..

  • @amitabhkumar7671
    @amitabhkumar7671 Год назад +18

    Amazing Sir, I'd love to see more amazing Vanilla JS projects. I also want to emphasize that, while AI tools are becoming increasingly sophisticated, they cannot replace you. 😅

    • @javascriptmastery
      @javascriptmastery  Год назад +1

      Exactly!

    • @Hyperwizard29
      @Hyperwizard29 Год назад

      what is your age?

    • @ogredev
      @ogredev Год назад +2

      Yeah unless someone has a strong understanding of the fundamentals of development, I don't see how someone could give the proper prompts to chatgpt.

    • @Deekshisaisrini
      @Deekshisaisrini Год назад

      Send my money

    • @the_stray_cat
      @the_stray_cat Год назад

      depends on the "you" after all alot of people already lost their jobs because of AI.

  • @VortexX-
    @VortexX- Год назад

    I'm Brazilian, and I've never seen a video as explanatory as this one. Happy birthday

    • @usomine_af
      @usomine_af Год назад

      For help Teleqram me 👆...

  • @yamisukehiro6706
    @yamisukehiro6706 Год назад +3

    Thanks for this quality content 🤩

  • @katastropee871
    @katastropee871 Год назад

    really love the vanilla JavaScript tutorial cause I get lost whenever I use react. More Vanilla JavaScript content please.

  • @RRathore-b6w
    @RRathore-b6w Год назад +2

    Can't find natural language to openai in examples

  • @deez_nuts_across_yo_face
    @deez_nuts_across_yo_face Год назад +1

    I just want to say that I love you😭💖best teacher ever

  • @fazilahamed1240
    @fazilahamed1240 Год назад +2

    I'm always getting the 401 error.... i even tried generating new secret key for the API... but still, i'm stuck with the same error

  • @gregcharles92
    @gregcharles92 Год назад

    Awesome between this video and Adrian Tawrog's I was able to push my own iteration. Thanks JS Mastery!

  • @mohsensafi7778
    @mohsensafi7778 Год назад +3

    Thank you Adrian! this was AMAZING, do more AI videos please, I prefer React and NextJS but vanilla JS once in a while is good
    again Thank you very very much

  • @aveekariya5214
    @aveekariya5214 Год назад

    I've been following you since long time and you never prove yourself wrong

  • @pravinragavendran9651
    @pravinragavendran9651 Год назад +4

    This was an amazing application and I loved it? Hats off for your dedication 🎉🎉. But I am getting 401 error when I type and press enter. This problem occurs after deployment, but in localhost it's working fine. Can you please help me to resolve this error?

    • @javascriptmastery
      @javascriptmastery  Год назад +2

      Hi there, here are a few possible reasons why you might be experiencing issues, along with some potential solutions:
      Proper API key from OpenAI: It's possible that you are not using a valid API key from OpenAI. You can get an API key by visiting beta.openai.com/account/api-keys.
      Free credits offered by OpenAI: If you are using the free credits offered by OpenAI to use their models, you can check your usage at beta.openai.com/account/usage. If you have used up your free credits, you can check the pricing and upgrade your account at openai.com/api/pricing/.
      Proper server deployment: Make sure that you are using the properly deployed link from Render at render.com/. If you are not sure how to deploy the project, follow the steps mentioned in the video.
      After successful deployment of the link, make sure to paste the link in the script file of the client and push it to GitHub. This will allow Vercel to detect and deploy the application properly. Also, please note that the server link used in the Codex repository shared on GitHub has used all of its credits, so it will throw a 429 error and will not work. You will need to use your own server link, either by deploying it on Render or using another hosting service.
      I hope these suggestions help resolve your issue. If you have any further questions, please don't hesitate to ask.

    • @pravinragavendran9651
      @pravinragavendran9651 Год назад

      @@javascriptmastery okay, thank you so much for resolving my doubt😃😃👍🙏

    • @sameerakram9367
      @sameerakram9367 Год назад

      which localhost you used i m using localhost 3000 but getting 429 status code error

  • @suryansh70
    @suryansh70 Год назад +1

    thank you Adrian also just completed this project thanks for such a nice tutorial 🤗,you are awesome and btw more projects using vanilla js are appreciated now its time to complete the web3 project

  • @CTILET
    @CTILET Год назад +2

    Your courses and videos are the best in web!

  • @adholaharthur572
    @adholaharthur572 Год назад +6

    wow... Just wow

  • @kelvinmburu2698
    @kelvinmburu2698 Год назад

    This tutorial blew my mind. Its an amazing course. Thank you

    • @usomine_af
      @usomine_af Год назад

      For help Teleqram me 👆...

  • @baselinesweb
    @baselinesweb Год назад

    Thank you for this great tutorial - exactly what I was looking for. Now I have to see if I can deploy it to cpanel node.js on my own site and then build it into my existing perl pages. Somehow I mistakenly uploaded my .env to github and OpenAI recognized this and revoled my key. I was able to muddle through and fix it myself and everything is working great. Much appreciated.

  • @mariagrey4945
    @mariagrey4945 Год назад

    this is incredibly valuable tutorial! I can't express how much I've learnt from it. Interesting fact - the chat bot we built thinks that today's date is August 11, 2020

  • @ahmedmusawir
    @ahmedmusawir Год назад +4

    Plz don't waste your extraordinary work on vanilla JS ... there are too many resources on that anyway ... plz give us more React.js, Blockchain (Solidity), JS & AI (OpenAI), Node.js/Express, and of course GraphQL, GraphQL & more GraphQL. Typescript is also a great idea. Plz, remember your best audience is the intermediate devs. There has been no content for us here before you (on JS). I mean something we can use to build a Portfolio with ... this has been my 2 cents. Unlimited thanks and more thanks in advance.

  • @shahneelshaykh6818
    @shahneelshaykh6818 Год назад +2

    Absolutely brilliant! Yesterday i was thinking that what if i develop something like chatgpt with unique idea and today i got your pop up notification

  • @hiramromero1221
    @hiramromero1221 Год назад

    This is how all online tutorials should be, what a great way to explain things. THANK YOU

  • @RamonChiNangWong078
    @RamonChiNangWong078 Год назад +1

    Usually I don't and can't follow tutorials that are longer then 15 minutes.
    But someone you've made this very interesting for me in 1 hour and doing it without other annoying JS frameworks
    Thanks you my friend!!!

  • @linodexplod1575
    @linodexplod1575 Год назад +1

    amazing Adrian. Help us change the world. Very much appreciated

  • @fatihcicek1712
    @fatihcicek1712 Год назад +1

    This is my first time watching you and it is impossible not to be amazed. Greate job

  • @adeshsingh406
    @adeshsingh406 Год назад +1

    Thank you for such an amazing video that can help me to make my own application where I can use ChatGPT for asking random questions and code. You have been a great source of knowledge and inspiration to me. Thank you for being such an amazing teacher!

    • @stycket
      @stycket Год назад

      This is that

  • @jaisharma545
    @jaisharma545 Год назад +2

    Please make more videos on advanced react or next js application plzz your way of teaching and methodology is out of the world and exceptional

    • @javascriptmastery
      @javascriptmastery  Год назад

      Sure I will

    • @jaisharma545
      @jaisharma545 Год назад

      @@javascriptmastery hey can you teach us that how to convert this application into react js application

  • @nurullo.salaydinov
    @nurullo.salaydinov Год назад +1

    Javascript Mastery you are the best of all

  • @Matty100
    @Matty100 Год назад

    The Ai isn't the all knowing god everyone makes it out to be but it is AMAZING and so fun! Thank you Adrian. You are the man!!

    • @usomine_af
      @usomine_af Год назад

      For help Teleqram me 👆...

  • @DevRendGuide
    @DevRendGuide Год назад

    this channel it is gold for developer well explained.

  • @juniorMr
    @juniorMr Год назад +1

    Man ,you introduction is amazing

  • @PromptEngineer1
    @PromptEngineer1 Год назад

    such a great experience by following your step and see my thing happened by themselves

  • @a-factoracademy
    @a-factoracademy Год назад

    Wow, this is no doubt the best channel on RUclips at the moment for web development especially with the incorporation with JavaScript. You are the best! Thank you thank you for the journey you're taking me. I'm seriously following you up trying to master every line of the code and really it's working 🙏🏾👍🏾👍🏾

  • @naziruadam3950
    @naziruadam3950 Год назад +1

    This is phenomenal!... I'm totally stunned!

  • @theRealist.
    @theRealist. Год назад

    After internet came to my country which blew my mind with options, and that was long time ago, this is the next level of surprise with OpenAI that giving me a filling my head will explode of ideas..
    Like Tank said to Neo in Matrix: "It's very exciting time".