Build an AI Chatbot With NestJS & Next.js | OpenAI Full Stack

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

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

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

    Want to see more NestJS + Next.js? Get access to my latest course where we Build a Shopping App With Next.js + NestJS & Prisma: michaelguay.dev/courses/build-an-app-with-next-js-nestjs-prisma/

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

      Is graphql being used or is it rest ?

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

      @@dreamsachiever212 This course is just REST. But I can definitely consider a GraphQL module!

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

      It ist possible to see a small overview about the product, what we will build in this course?

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

      @@paneurhythmie Yes, that is coming very soon as I'm almost complete with the course.

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

    It's really awesome. I bought all your courses on Udemy. You explain it very well. For people who already have some basics I have learned a lot from you. I hope you will make many more quality lessons like this. I will continue to follow. Thank you.

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

    I can't thank you enough for the awesome content you always share with us.. keep these videos coming, I am spreading this links in our office and right now almost 38-40 of us in our team is regularly following you as a subscribers...more to join.. we all started learning new stuff based on these tutorial videos and also sharing the knowledge further in our group as and when possible. Thank you so much Michel, God bless you.

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

      Thank you :)

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

    This is really good, great explanation. Do you have a complete tutorial/course on this chatbot ? Where the history of chat is saved/persisted ? Like adding a base prompt or something? I would like to buy your course if you have something like that. ❤

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

    Awesome content! Just a heads-up, if the OpenAI account is created after August 2023, in order to have access to gpt-4, the user will need to have made at least one payment. Otherwise, you may get an error when calling the API with model: gpt-4. ref: help.openai.com/en/articles/7102672-how-can-i-access-gpt-4-gpt-4-turbo-gpt-4o-and-gpt-4o-mini

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

      so what model did you use, because 3.5-turbo is throwing 500 error status and also saying I've exceeded my quota. PS: i created a new account

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

      @@EfoneliSarah I used gpt4o-mini for now :D

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

    As OpenAI switching to Remix. Made one of Remix -> NestJS version as well...

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

    Do you have tutorial on Redis? Also on access control, where I have many entities and on each entity/set of complex attributes the user has a different profile/authorizations?

  • @fullstackjedi
    @fullstackjedi 5 месяцев назад +2

    Could you please show how you would implement streaming in this app and stack.

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

    Hey Michael, I love your videos! Can you make one on vector embeddings (pgvector + RAG) with a frontend example? Thanks!

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

    thanks for using nestjs as a backend most tutorial on youtube is nextjs fullStack and I don't understand fully how to implement separate backend for building scalable application.😊😊😊

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

      Thanks. I like NestJS backends so much more for the DI system they offer. Much more scalable in my opinion!

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

    Great content, thanks!! How can i serve next.js inside nest.js project.

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

    Great job Michael, do you have any experience with DDD/CQRS?

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

      Hey yes! I have a couple videos out on DDD, check my channel for them. Would you like to see more?

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

    hey bro for your course where you build the chat app with nestjs, react and graphql.. do you have to know nestjs to buy it? i know react and nextjs pretty well but i haven’t done anything with nest yet. what do you suggest?

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

      I think you should be able to keep up in that case. Of course if you find it's too fast, you can always come back later after reading some NestJS docs!

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

    How would you handle passing the api key with the nextjs ui instead of having it as an env variable in nest?

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

      We need to keep the API key away from the UI as it is insecure and can be viewed by anyone. We can expose the API key to the Next.js server side, use it in a server function, and call that directly from UI. Similar to how we've setup the API_URL environment variable.

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

    i'm getting this error while starting the server.
    ERROR [ExceptionHandler] Nest can't resolve dependencies of the OpenaiService (?). Please make sure that the argument OpenAI at index [0] is available in the OpenaiModule context.
    Potential solutions:
    - Is OpenaiModule a valid NestJS module?
    - If OpenAI is a provider, is it part of the current OpenaiModule?
    - If OpenAI is exported from a separate @Module, is that module imported within OpenaiModule?
    @Module({
    imports: [ /* the Module containing OpenAI */ ]
    })
    i've used your code. no changes were made.

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

    Thans dude can you build nest js crm project or loan system app ?

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

    OpenAI vs OpenAIApi? what's difference?

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

    Thats great

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

    chat