🔴 Let’s build a Generative AI App with NEXT.JS 14! (OpenAI, Streaming, AI Agent, TS, GPTScript)

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

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

  • @johnarcher-web
    @johnarcher-web 3 месяца назад +4

    I’ve been coding since the early 2000s. It wasn’t until 15 years into my coding career that a fellow coder told me to always keep learning to code. It’s so important to always keep learning to code. This is why I love watching your channel.

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

      I absolutely love this! Always walk in the room with an empty jar ready to fill! 💪🏽

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

    Fire! As usual your builds are amazing! Great walk trough, easy to follow! 🚀

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

    Sonny thanks so much for turning down the music volume.
    Now we can smoothly focus.

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

    Gratitude to Sonny Sangha for Empowering the Creation of a Children's Storytelling Platform with Generative AI 🎨📚🚀
    I want to express my deepest gratitude to Sonny Sangha for his amazing course "Let's build a Generative AI App with NEXT.JS 14! (OpenAI, Streaming, AI Agent, TS, GPTScript)". Thanks to his dedication and teaching style, I have successfully built a platform that allows for the creation of children's stories with illustrations in an innovative way. 🎨📚
    This course not only provided me with the technical skills I needed, but it also inspired me to explore new horizons in the development of generative AI applications. Sonny's passion and enthusiasm in every lesson make learning an exciting and rewarding experience. 🚀🤖
    Thank you so much, Sonny, for sharing your knowledge and motivating us to achieve our goals! 🙏✨

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

    A fun and educational build. Keep 'em coming Sonny 🚀

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

    Lets get it, sonny is next level with the AI builds!

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

    🎉🎉🎉hurrayyyyyy all I waited ...you broughout ...let's go

  • @tellavisionentertainment1033
    @tellavisionentertainment1033 26 дней назад +1

    Error: The model `gpt-4o` does not exist or you do not have access to it

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

    This looks incredible for a potential type of app I'm eager to build in the future.
    I'd like to understand if the licensing on the scriptGPT means we can't monetize in any form? I tried checking it out and it's unclear from what I've read

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

    Thank you for always coming through with amazing tuts! Love the bg music! How about your music playlist link? I'm really diggin it!

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

      Thank you!!! The link for the playlist is in the description🙏🏽🔥

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

    From Uganda 🔥 the pearl of Africa 🧨😍....this dark continent will feel me 🙈🔥🙈....thanks Sonny for lit content 😊🎉❤

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

      am from kenya

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

    Getting - [cause]: 'error, status code: 404, message: Resource not found' or Error failed to find a model provider for model [gpt-4o

    • @Musiclyrics-vj5br
      @Musiclyrics-vj5br 4 месяца назад

      i am having the same issue

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

      Is the error resolved? If yes then how please tell me i' m too having this error.

    • @SahilRevankar-xz3bk
      @SahilRevankar-xz3bk 2 месяца назад

      how to resolve this problem?

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

    This is the first and fast of its kind 😊

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

    Liked before watching 😊

  • @RohitSharma-xn3pd
    @RohitSharma-xn3pd 2 месяца назад +1

    can anyone help me with this 'ABORT: Failed to create the directory for the story. Please provide a valid path. Checked all the file permissions as well

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

    my favored Sonny is back ..YES

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

    What's the song in the background in the beginning of the video?

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

    Tried building the application but I am stuck on api path not correct and I have followed every step

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

    Sir please can you create a core banking app with react and firebase something that can be use for loan and investment

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

      Na Nigerian comment this one 😂😂

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

      Yes satin you think before

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

    I have an error at 1:53:15 failed to fetch any one faced it??

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

      I also got this error, how did you resolve it?

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

    also getting this error can anyone help: Error failed to find a model provider for model [gpt-4o]
    ⨯ Error: failed to pipe response

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

      Me too :(

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

      Same issue. Is that because of usage limits?

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

      same issue, anyone can help us please

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

      same issue with me .

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

      @@SubarnamanMaharjan I have $5 credit, but facing same issue.

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

    This is the error I get ... coded along with video and can create story plus image with 1 page. However choosing 2 pages gives an "unable to create directory error". A directory is created with 2 pages of text but there is no image. I downloaded the app from github and the same error occurs for 2 pages. Edit: this is just plain strange - I have just successfully created a 1 page story with the default prompt "robot and human. I then used the prompt "Write a story about a balloon that floats away above the houses" and I get multiple "cannot create directory errors". Are illegal directory names being created from certain prompts? Will look at this tomorrow. Edit: Nope - the balloon prompt that failed could not create a dir named ToolID: app/api/run-script/story-book.gpt:mkdir
    Input: {"dir":"public/stories/Bertie-the-Balloon's-Adventure"}
    abort -> {"message":"Unable to create directory due to repeated errors."}. However I can create this dir name (folder) within VSC.

  • @ObayedUllah-x8v
    @ObayedUllah-x8v 3 месяца назад +1

    From Bangladesh

  • @VinayKumar-hj3jx
    @VinayKumar-hj3jx 3 месяца назад

    Hey I am getting network error while generating any story, anyone facing same issue or know how to fix it?

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

    somebody help me, i follow all the tutorial and i get error like this "failed to find a model provider for model [gpt-4o]" anybody can help me ??

    • @hello-world556
      @hello-world556 4 месяца назад

      Have u solved the issue

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

      @@hello-world556 nope .. huhu

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

      If you are using the API, you need to be a paid user. While you can downgrade to gpt-3.5-turbo or even gpt-3.5-turbo-16k as a free user, the rate limits are terrible and I have done enough to see that the results are very different.

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

      This issue should be fixed in the latest release.

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

      @@auuaikflflb how you use chatgpt 3.5?

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

    Nice video :)
    But I got an error when trying to run the project when he did it at 1:53:01, the error was Uncaught (in promise) TypeError: network error. Please if you have any ideas of why this is happening reply to this comment.

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

      This basically is saying you don't have internet while running the code

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

      @@kunalreddy8542 no.... The network error means the id or the api key value is not able to fetch

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

      @@kunalreddy8542 i have no problem with my internet connection. Its with the api key or smth else

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

      @@anjalikhan9876 thank you bro

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

      This error is in your browsers console right? As per my testing, it hasn't really caused any bugs in the app and it works just as well even with the error

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

    1:53:15 its thorw error POST Api 404 , could anyone
    please guide what i am missing

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

    36:00, 1:12:00

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

    @channel, anyone is facing the error : 'ABORT: Failed to create directory /public/stories/The-AdventuresDog: . mkdir /publics: read-only file system' ???

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

      No one in this error???

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

      Are you on a Mac cuz I think you have to give access to VScode to actually download something and write it on your system. It might be a similar situation to this if you are on windows but I am not sure

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

      @@ekanshbansal608 no, the problem was /public, the / is the culprit ...

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

    In the story Alex the Developer, why is Alex being referred to as their/them. It is clear that Alex in the picture resembles a male/boy. Is AI intentionally keeping things ambiguous?

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

    I am from Palistan

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

    Sonny's sanga I'm big interesting awesome ❤❤❤❤🎉🎉🎉

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

    About : Error failed to find a model provider for model [gpt-4o]
    Add this line in the story-book.gpt file:
    model: gpt-3.5-turbo
    But I got a second problem; You exceeded your current quota hhhhh I haven't created a single story btw

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

      The "failed to find a provider for model [gpt-4o]" error should be fixed in the latest release.

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

    Wow

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

    Please anyone help me in solving this issue,
    Error failed to find a model provider for model [gpt-4o]
    ⨯ Error: failed to pipe response
    at pipeToNodeResponse (D:\storyTeller\story
    ode_modules
    ext\dist\server\pipe-readable.js:126:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async sendResponse (D:\storyTeller\story
    ode_modules
    ext\dist\server\send-response.js:40:13)
    at async doRender (D:\storyTeller\story
    ode_modules
    ext\dist\server\base-server.js:1407:25)
    at async cacheEntry.responseCache.get.routeKind (D:\storyTeller\story
    ode_modules
    ext\dist\server\base-server.js:1599:28)
    at async DevServer.renderToResponseWithComponentsImpl (D:\storyTeller\story
    ode_modules
    ext\dist\server\base-server.js:1507:28)
    at async DevServer.renderPageComponent (D:\storyTeller\story
    ode_modules
    ext\dist\server\base-server.js:1931:24)
    at async DevServer.renderToResponseImpl (D:\storyTeller\story
    ode_modules
    ext\dist\server\base-server.js:1969:32)
    at async DevServer.pipeImpl (D:\storyTeller\story
    ode_modules
    ext\dist\server\base-server.js:920:25)
    ist\server\dev
    ext-dev-server.js:336:24)
    at async invokeRender (D:\storyTeller\story
    ode_modules
    ext\dist\server\lib
    outer-server.js:174:21)
    at async handleRequest (D:\storyTeller\story
    ode_modules
    ext\dist\server\lib
    outer-server.js:353:24)
    at async requestHandlerImpl (D:\storyTeller\story
    ode_modules
    ext\dist\server\lib
    outer-server.js:377:13)
    at async Server.requestListener (D:\storyTeller\story
    ode_modules
    ext\dist\server\lib\start-server.js:141:13) {
    [cause]: 'failed to find a model provider for model [gpt-4o]'

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

      just re-run bro, i got the same error, re run the service and refresh the page with hard reload, and do it a couple of times, and then it works

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

      @@kunalreddy8542 Im getting an issue as TypeError: network error and like this error Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING
      Please help

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

      @@anjalikhan9876 same here, i even gave my code chatgpt but then also same error..

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

      @@anjalikhan9876 your Internet connection disconnected, was not stable

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

      @@kunalreddy8542 no it's not an internet issue , I switched my network also