Let’s Build a Movie Recommendations Next.js App with Vector Embeddings (Generative AI for beginners)

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

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

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

    UPDATE ON IMPORT BUG: There is a known bug when importing, it currently works for 50% of users - Datastax have been informed and are working on a fix

    • @LongBoy.0
      @LongBoy.0 3 месяца назад +1

      I wonder if it has something to do with Rate limiting coming from OpenAI? at least for me, that sounds like it was it. It looks like being in Usage Tier 1 is possibly a reason why some are getting rate limited. Just guessing.
      EDIT: oh weird. I was getting the 429 error after deleting the collection and retrying, over and over, then eventually I gave up and came back 10 mins later and the database went from 0 records with the error banner to 250 records and no errors. 🤷🏻‍♂

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

      Getting the 429 error too. Hope for a fix soon!

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

      ​@LongBoy.0 hi did it work yet ? It did not for me

    • @LongBoy.0
      @LongBoy.0 2 месяца назад

      @@ihsane3265 yes, it has been working for me and I finished the project. With Astra DB, I'm not sure why it suddenly started working. I got an error code that was for "rate limiting" so I went to my openAI account and desposited $10. Shortly thereafter, I recreated the DB and it worked. I'm not sure the money had anyhting to do with it though, since my balance still shows as $10 after running the project DB for a couple of days.

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

      @@LongBoy.0 is their any alt option to resolve that bug 'error'

  • @javascriptexpanse
    @javascriptexpanse 3 месяца назад +1

    Known this channel from 48k subs and i have to say this is the only video that got my attention - liked, commented and shared. more of this sangha

  • @zahrahusain9468
    @zahrahusain9468 3 месяца назад +1

    Dude has outdone himself yet again
    Explaination
    Very clear and on point
    Sonny this was incredibly helpful.......
    Keep 'em coming..... Please... Please....... Please

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

      You’re welcome!! I’m glad you liked the explanation!
      Will keep em coming🔥

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

    Thank you for your great contribution in my life as a developer

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

    Great Info we can learn. Love to see videos on AI agent :)

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

    Of course I'd love t see an AI agent video on the channel. I think it would really help me on a project Im working on

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

    yessir!! thanks papaReact. let's dive into the ai era..

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

    9:17 we want it

  • @OsamaZaidiah
    @OsamaZaidiah 3 дня назад

    Thank you so much Sonny

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

    Be consistent please, I am learning lot from you❤❤🙏🙏

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

      Really working on it💪🏽💪🏽💪🏽

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

      @@SonnySangha Please Drop some Nextjs and Mongodb Sass projects ✊🏻✨

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

    Thank you very much for the great content! It's very useful. Keep it up!

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

    Was missing you bro

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

    Good content! Thank you for getting straight to the point.

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

      I’m glad you liked it!!

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

    +1 on you building an AI Agent :)

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

    Thanks for great video! I also get problem with uploading the sample data and loading the dataset. Have anyone found a solution?

    • @SonnySangha
      @SonnySangha  3 месяца назад +1

      Working on a fix with their team you are correct their is a bug on their side!

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

    Awesome content! Would be interested on seeing how to further extend it based upon user likes

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

    bro, I am facing an issue with my data not loading It gives me an error:- failed to load

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

      Me too :(

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

      @@Faizanakyt still facing same problem?

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

      @@devotee6586 Yup

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

      @@devotee6586 Does it work for you?

    • @LongBoy.0
      @LongBoy.0 3 месяца назад

      I just got this issue, I think it's because the 512 vector is too pricy for the free tier. I think you need to lower to 256 or just pay a little $$ to make the project work.

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

    Very cool.
    Question:
    Lets say I have a database with movies and categories on which each movie is rated. Example categories could be What would be Plot Originality, Character Development, Acting Quality, Tone and Atmosphere, Music and Sound, etc. And each category is rated on a scale (such as 1 to 10) or given a qualitative assessment (such as "Excellent," "Good," "Fair," "Poor"). These scores combined provide an overall rating for each movie.
    How would you apply the principles in your video to develop a Movie Recommendation app where users start by filling out a brief profile where they input their preferences across the different categories. For example, they might be asked, "How important is acting quality to you?" on a scale from 1 to 10.
    So, I guess the recommendation algorithm should focus more on matching user-defined criteria with the multi-dimensional ratings of movies?
    Is that something DataStax & Astra DB can support?

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

    Do video on how you always have the best lighting in your videos

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

    Any good sites to get free csv datasets? Having trouble finding some. Keep up the great work buddy. This was a fun one

  • @LongBoy.0
    @LongBoy.0 3 месяца назад

    Love this content.

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

    Nice explanation, please make project with trained ai chatbot model using langchain js, . Thank you

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

    Hey Sonny , very good video . I can do better editing in your videos which can help you to get more engagement in your videos . Pls lmk what do you think ?

  • @mileslegend
    @mileslegend 3 месяца назад +1

    And your content 🥳🏅

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

      I’m back!

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

      @@SonnySangha could we build something to automate tasks...

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

      I like the idea of

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

    Thank you 😊

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

    Great video. Thanks. I would like to hear more about how the personalized recommendations could work. Would this work by creating a single vector embedding from the set of contents that the user likes and searching by that "grouped" vector embedding? Is the functionality for that also included in Astra DB and/or through the Open AI API? Or were you referring to a search where you show some recommendations for each one of the liked contents?
    If these questions are too much for a quick reply, this would surely make for an excellent follow-up video.
    Anyway, thanks for the information. Keep up with the good work.

    • @SonnySangha
      @SonnySangha  3 месяца назад +1

      Love this was thinking the same thing - will get onto this soon

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

    15:15 dataset isn't able to load to completion, even after multiple attempts, and refreshing the page. Anyone find a working solution?

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

    Great video! Thanks! Netflix recommendations (in my case) are too narrow imo. Question. Is Next JS better than React?

    • @SunnyAnsari
      @SunnyAnsari 3 месяца назад +1

      Next JS is a framework for React, that supports the server side React component.

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

      @@SunnyAnsarigreat reply! Yes I recommend using Next.js with React always!

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

    lets see the AI agent being built

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

    hey bro, it seems my data set is not loading.... i dont know why its behaving like that,
    unfortunately i cant follow along i dont know the cause of it,

    • @LongBoy.0
      @LongBoy.0 3 месяца назад

      It's because the free tier isn't enough to get this project to load. Try 256 or just pay a little $$ to Astra to make it go :)

  • @pumpkin2228
    @pumpkin2228 3 месяца назад +1

    Please make using React as well ❤❤

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

      You mean React without Next?
      Because Next is a React framework!
      Not sure if that was a request or confusion

    • @pumpkin2228
      @pumpkin2228 3 месяца назад +1

      ​@@SonnySangha yes without Next js please

    • @SonnySangha
      @SonnySangha  3 месяца назад +1

      But why…

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

    Awesome

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

    Do we need a paid version of Openai, because I am not even able to create a collection, just says Your collection is ready to use but it's not showing in the collections section 😕😞

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

      You should get abit of free trial credit when you sign up for openAI for the first time

  • @LongBoy.0
    @LongBoy.0 3 месяца назад

    Please build an AI agent for us, that would be sweet

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

      I got you!

    • @LongBoy.0
      @LongBoy.0 3 месяца назад

      @@SonnySangha Yo quick question - having a bug. From the below code in the movie[id] route, the movie object that gets returned in line 25 does not have a property called "$vector" how do we find similar movies?
      const similarMovies = (await movies
      .find(
      {},
      {
      vector: movie.$vector, //

  • @pumpkin2228
    @pumpkin2228 3 месяца назад +1

    AI Agent as well 👑👑

    • @SonnySangha
      @SonnySangha  3 месяца назад +1

      Awesome - will look into it

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

    My man.

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

    bro please one full stack SaaS app with React native and AI please

    • @SonnySangha
      @SonnySangha  3 месяца назад +1

      I hear you

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

      @@SonnySangha thanks thanks a lot

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

    Hey can you make a video on MERN stack projects like Stock trading application or Uber clone application

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

      Indians what is you problem with mern?!

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

      @@blacksun6761 can you be specific

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

      I have to agree, all MERN is is express & mongoDB with what we do - I have taught this loads!!!
      You also don’t need express when handling Next.js route handlers, stop following the trend of saying MERN stack and understand what tech is better for building your apps!
      Hope that helps😄

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

    My dataset never finished loading for some reason...

    • @shadeis9276
      @shadeis9276 3 месяца назад +1

      Same, the dataset doesn't finish loading and I'm stuck with 0 records

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

      Literally the same, bud!

    • @shadeis9276
      @shadeis9276 3 месяца назад +1

      @@caiohportella I think the problem is with the OpenAI key. Sonny probably uses a higher tier key.

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

      ​@@shadeis9276 hmm makes sense, do you know if adding a credit card to OpenAI will charge lightly per use? Is it worth it for portfolio means?

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

      @@caiohportella I have no clue sorry, this is like my second time trying to use OpenAI keys. Though on the DataStax integrations section, there are a bunch of other embedding providers than OpenAI.

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

    I am not getting results from {movie.$vectorize} instead getting error. Please let me know how to get it. I want to show Plot

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