Build and Deploy a RAG Chatbot with JavaScript, LangChain.js, Next.js, Vercel, OpenAI

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

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

  • @aniakubow
    @aniakubow 24 дня назад +55

    Thanks so much for watching!! Hope everyone finds this course useful 😊 Remember to use the same versions of the packages that are shown in the package.json file if you are watching this video in the future, and watch the video through to the end to get all of the code for free 🎉

    • @videocontv2967
      @videocontv2967 24 дня назад +1

      What are the prerequisites understand this video?

    • @tomat4135
      @tomat4135 24 дня назад +2

      Wow, great course, but did you mean Node.js 22.11.0 for the prerequisites? (That is the latest LTS release) The video states 20.11.0, which seems to be an invalid version number for download... :)

    • @abhi.r8
      @abhi.r8 24 дня назад +1

      Please take care of yourself u are pregnant 🤰 women so u can stop this for a while 😊

    • @garyrobinson3
      @garyrobinson3 23 дня назад

      This is exactly the kind of project I’ve wanted to work on. Thanks, @aniakubow and @freecodecamp for making this happen!!

    • @mr.ghostman4974
      @mr.ghostman4974 19 дней назад +2

      the tutorial is very informative but how OpenAIStream and StreamingTextResponse are depreciated so soon? Its just been 4 days since this video is live is there any alternative to these please reply it will be of great help for many devs
      .

  • @shahaadii3970
    @shahaadii3970 24 дня назад +10

    Literally u guys r doing amazing work,thanku.

  • @anfiiaidev
    @anfiiaidev 6 дней назад +1

    It was an awesome tutorial. I actually built it my own way. For those wondering if they can do it for free. Without using the openai embeddings or openai models then yes you totally can.

    • @josephsack4918
      @josephsack4918 23 часа назад

      Can you use a local llm in the same way?

    • @anfiiaidev
      @anfiiaidev 20 часов назад

      @@josephsack4918 Yes you can. Alternatively I would say consider using groqCloud llama 3.1 70b model which is free and have OpenAI like Schema

  • @arunshukla5767
    @arunshukla5767 23 дня назад +4

    THat's the thing i am looking on youtube for several days.
    nextJS with GenAI

  • @s6hib
    @s6hib 21 день назад +3

    If you get the error that your OPENAI_API_KEY is wrong but you've checked 100x and know it's right, you probably have a system-level environment variable for OPENAI_API_KEY that is likely overriding the value in your .env file.
    Hope this helps :D

  • @AmaanBilwar
    @AmaanBilwar 24 дня назад +10

    this bouta save my internship ngl

  • @XaverHauck
    @XaverHauck 24 дня назад +1

    That just came in the very right moment. Thanks for sharing your knowledge 🙂

  • @ICodeForALiving
    @ICodeForALiving 24 дня назад +2

    Hopefully this video will get me from RAG to riches

    • @alals6794
      @alals6794 19 дней назад

      haha.....Good one. Where do you live , friend?

  • @sandeepreddy4907
    @sandeepreddy4907 7 часов назад

    This channel is doing more good for the world than the United Nations, I think.

  • @saber8387
    @saber8387 23 дня назад

    perfect timing!

  • @fschincariol
    @fschincariol 24 дня назад

    From Brazil!!

  • @Dooshanche
    @Dooshanche 24 дня назад +2

    Where can I learn more about the API's pricing for both vision and text?

  • @himkhy
    @himkhy 24 дня назад

    It course useful for developer. Thank you...

  • @justgimmethedamnfile
    @justgimmethedamnfile 21 день назад +2

    The tutorial is great, but getting an error with the next.config.ts file that I am unable to resolve after much troubleshooting. Are the project files available to compare with mine?

    • @thesafascott
      @thesafascott День назад

      Update Next to: "next": "^15.0.0" and try again.

  • @iqbalshah-y1q
    @iqbalshah-y1q 24 дня назад

    wonderfull course

  • @Zara-pn9im
    @Zara-pn9im 24 дня назад

    thank you so much

  • @emmanuellopez3303
    @emmanuellopez3303 10 часов назад

    thank you for this great tutorial ! how can I deploy this to vercel or any other platform to access to in my browser

  • @TadiwanasheChibango
    @TadiwanasheChibango 24 дня назад

    muchas gracias
    👏

  • @ajithsdevadiga1603
    @ajithsdevadiga1603 23 дня назад +2

    Can we have the same thing in PYTHON please ?

    • @M11-z5e
      @M11-z5e 13 дней назад

      it will be same just for the scraping part use beautiful soup or scrapy library. rest it will be almost same anyway for UI you have to end up using js/ts.

  • @ojusw
    @ojusw 6 дней назад +1

    any free alternatives i can use instead of openai API?

  • @shivashankarec0567
    @shivashankarec0567 21 день назад

    Why was the app router not used instead of pages?

  • @stratuspei9405
    @stratuspei9405 13 дней назад

    As I was running the loadDb script, I saw at some point that my Astra DB had 850+ records in my f1gpt collection. A few minutes later, it went down to 418 records. Then it went back up to 1028 records. Can this happen where the number of records decreases in a collection?

  • @waqarrajpt7031
    @waqarrajpt7031 24 дня назад +2

    From Pakistan appreciate well done

    • @kaustubhdeo3143
      @kaustubhdeo3143 24 дня назад +2

      Rajpoot? Kyon convert ho gaye bhai tum is gande majhab me?

    • @waqarrajpt7031
      @waqarrajpt7031 24 дня назад +2

      @kaustubhdeo3143 is main majhab ki kia baat ha I don't get you brother

    • @gigachadkartik
      @gigachadkartik 24 дня назад

      Most of army generals in Mughal Army were rajputs ​@@kaustubhdeo3143

  • @developersdiary1995
    @developersdiary1995 24 дня назад

    This video is amazing! Thanks for sharing!
    What if I decide to use Gemini, Mistral, Claude or Grok?
    Is that hard to change?

    • @ANKITVERMA-yu4ro
      @ANKITVERMA-yu4ro 23 дня назад +1

      Hey man, one thing would like to know, is there anything "paid resource" used in the video ?

    • @ajithsdevadiga1603
      @ajithsdevadiga1603 23 дня назад +2

      Its not that difficult, just lookup langchain document

    • @alals6794
      @alals6794 19 дней назад

      It is just a diffrenct API key. They use .env file that stores API keys. You can alos hard code it in your script but only do it for testing purposes, haha.

  • @shivashankarec0567
    @shivashankarec0567 21 день назад +1

    Do you know something called as rafce 1:13:18

    • @aniakubow
      @aniakubow 7 дней назад +1

      Hello. We avoid using shortcuts in RUclips tutorials as to not confuse newbies. Hope that explains the choice!

  • @RichMediaEricaSan
    @RichMediaEricaSan 24 дня назад +1

    ❤❤

  • @Prumzy234
    @Prumzy234 24 дня назад +3

    From Nigeria 🇳🇬

  • @bishwajeet_b_das
    @bishwajeet_b_das 19 дней назад +2

    Where is git hub link??

    • @aniakubow
      @aniakubow 7 дней назад

      There is no GitHub link, but by following the video to the end you will have all the code for the project for free :)

    • @bishwajeet_b_das
      @bishwajeet_b_das 5 дней назад +1

      @@aniakubow Some of the code I missed in the video, like CSS and python packages. Please provide github link so I can understand the python package and code.

  • @otownslinky
    @otownslinky 24 дня назад +1

    orlando in this biss

  • @AkramBOUGHAZI-s8w
    @AkramBOUGHAZI-s8w 14 дней назад +1

    can any one share the repo of the project please ?

  • @mauriziostrazzullo1419
    @mauriziostrazzullo1419 23 дня назад

    Sorry guys, but before following the video I wanted to ask if it is necessary to have a paid subscription in OpenApi?

    • @guilhermeramos1147
      @guilhermeramos1147 23 дня назад

      Not a paid subscription, but you should add some credits.

    • @Spider-Man_67
      @Spider-Man_67 10 дней назад +2

      Yes

    • @aniakubow
      @aniakubow 7 дней назад

      @@Spider-Man_67 hello. Sadly we cannot control when they bring out new features. However, if you follow along with the tutorial and make sure the versions of packages are the same as the ones we are using in the package json you will be fine in getting the project up and running :)

  • @MichikanA
    @MichikanA 22 дня назад

    Can someone help me please? I'm getting this err when I type npm run seed and hit enter: npm error Missing script: "seed"

    • @RosiesTreats
      @RosiesTreats 4 дня назад

      Getting the same error so I'm stuck on 52:00 :(

    • @friteezett379
      @friteezett379 День назад

      Just ask chat gpt for help

  • @ibrahimak
    @ibrahimak 21 день назад

    Hello, is it possible to get code repo?

    • @aniakubow
      @aniakubow 7 дней назад

      Hello. By following along to the video you will have the code to the project for free :)

  • @learncreative4732
    @learncreative4732 24 дня назад +1

    From india

  • @vemuyaswanth803
    @vemuyaswanth803 24 дня назад

    Paul Atreides: Timothée Chalamet

  • @MohdYaqoob-s3k
    @MohdYaqoob-s3k 22 дня назад

    Paul altredes : timothee chalamet

  • @nothingbshr5590
    @nothingbshr5590 22 дня назад +2

    I feel like it's a bit outdated, AI related tutorials should be released as soon as they are ready to achieve maximum benefit.

    • @alals6794
      @alals6794 19 дней назад

      What's outdated about it? You can learn this and move on to more recent stuff like agents etc

    • @aniakubow
      @aniakubow 7 дней назад

      hello. Sadly we cannot control when they bring out new features. However, by sticking to the same versions we are using in the package json you should be fine to run this project :)

  • @Spider-Man_67
    @Spider-Man_67 23 дня назад +4

    Is she an AI model, just asking....🙄🙄?

    • @Frag_Limit
      @Frag_Limit День назад +1

      You're a man of culture

  • @supertab365
    @supertab365 21 день назад

    link to repo?

    • @aniakubow
      @aniakubow 7 дней назад

      Hello. By following along to the video you will have the code to the project for free :)

    • @supertab365
      @supertab365 7 дней назад +1

      ​@@aniakubow I did and it's super useful to have a repo to cross-check your own code to. That's just common practice.

  • @marvinzuniga6706
    @marvinzuniga6706 24 дня назад

    From Managua, NIcaragua.

  • @rishiraj2548
    @rishiraj2548 24 дня назад

    🙂🙏🏻

  • @ajithdevadiga9939
    @ajithdevadiga9939 22 дня назад

    @freecodecamp could you please release the same RAG content for Python Users
    Thanks

  • @theinnovationworld7
    @theinnovationworld7 24 дня назад +5

    INDIA 🇮🇳

  • @ChristopherFranklinSr
    @ChristopherFranklinSr 24 дня назад

    Thanks. Too bad you have to spend money. I use Ollama and hugging face on my local machine instead using llmproxy

  • @assagounguettialandrywilfr5015
    @assagounguettialandrywilfr5015 24 дня назад

    From Ivory Cost 🇨🇮

  • @mdyeamin1399
    @mdyeamin1399 24 дня назад +5

    first comment

  • @Emmanuelmfon_
    @Emmanuelmfon_ 24 дня назад

    Third comment

  • @AmeerHamza-ts9jz
    @AmeerHamza-ts9jz 24 дня назад

    Pakistani

  • @georgeliss4015
    @georgeliss4015 24 дня назад +1

    We ❤️❤️❤️ Ania!!! Will you marry me?
    (creepers gotta creep, yo 😂)