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

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 89

  • @johna2682
    @johna2682 Před 2 měsíci +3

    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  Před 2 měsíci

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

  • @ad5555
    @ad5555 Před 2 měsíci +2

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

  • @Diegoalllll
    @Diegoalllll Před 2 měsíci +1

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

  • @mileslegend
    @mileslegend Před 2 měsíci +2

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

  • @motlalepulasello8775
    @motlalepulasello8775 Před 2 měsíci +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

  • @ShaiAlon
    @ShaiAlon Před 2 měsíci

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

  • @excelshogbola2116
    @excelshogbola2116 Před 2 měsíci +11

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

  • @DigitalAlchemyst
    @DigitalAlchemyst Před měsícem

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

  • @mileslegend
    @mileslegend Před 2 měsíci +1

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

  • @bacloud
    @bacloud Před 2 měsíci +3

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

  • @mohammedmahfoud71
    @mohammedmahfoud71 Před 2 měsíci +1

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

    • @anushka9730
      @anushka9730 Před měsícem

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

  • @myrahkhin
    @myrahkhin Před 2 měsíci

    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  Před 2 měsíci +1

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

  • @mileslegend
    @mileslegend Před 2 měsíci

    This is the first and fast of its kind 😊

  • @nikoladojcinovic1030
    @nikoladojcinovic1030 Před 2 měsíci +1

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

  • @marinkiet2003
    @marinkiet2003 Před 2 měsíci

    Liked before watching 😊

  • @RohitSharma-xn3pd
    @RohitSharma-xn3pd Před 28 dny +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 Před 2 měsíci

    my favored Sonny is back ..YES

  • @leonardkombo5200
    @leonardkombo5200 Před 2 měsíci +2

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

  • @leonardkombo5200
    @leonardkombo5200 Před 2 měsíci

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

  • @agungprakoso18
    @agungprakoso18 Před 2 měsíci +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 Před 2 měsíci

      Have u solved the issue

    • @agungprakoso18
      @agungprakoso18 Před 2 měsíci

      @@hello-world556 nope .. huhu

    • @auuaikflflb
      @auuaikflflb Před 2 měsíci

      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 Před 2 měsíci

      This issue should be fixed in the latest release.

    • @mohammedmahfoud71
      @mohammedmahfoud71 Před měsícem

      @@auuaikflflb how you use chatgpt 3.5?

  • @Faizanakyt
    @Faizanakyt Před 2 měsíci +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 Před 2 měsíci

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

    • @anjalikhan9876
      @anjalikhan9876 Před 2 měsíci

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

    • @Faizanakyt
      @Faizanakyt Před 2 měsíci

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

    • @kunalreddy8542
      @kunalreddy8542 Před 2 měsíci

      @@anjalikhan9876 thank you bro

    • @ekanshbansal608
      @ekanshbansal608 Před 2 měsíci

      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

  • @miccross8230
    @miccross8230 Před 2 měsíci

    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.

  • @sanjucs44
    @sanjucs44 Před měsícem

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

  • @parthainderson
    @parthainderson Před 2 měsíci

    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?

  • @zenithsomining820
    @zenithsomining820 Před 2 měsíci

    36:00, 1:12:00

  • @VinayKumar-hj3jx
    @VinayKumar-hj3jx Před měsícem

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

  • @user-yf9dw6jk1w
    @user-yf9dw6jk1w Před 2 měsíci

    From Bangladesh

  • @kunalreddy8542
    @kunalreddy8542 Před 2 měsíci

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

    • @kunalreddy8542
      @kunalreddy8542 Před 2 měsíci

      No one in this error???

    • @ekanshbansal608
      @ekanshbansal608 Před 2 měsíci

      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 Před 2 měsíci

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

  • @stanlyhshaulers
    @stanlyhshaulers Před 2 měsíci

    I am from Palistan

  • @abdikanimohamed436
    @abdikanimohamed436 Před 2 měsíci

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

  • @karimkh9
    @karimkh9 Před 2 měsíci

    Wow

  • @khairislama8721
    @khairislama8721 Před 2 měsíci +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 Před 2 měsíci

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

  • @anjalikhan9876
    @anjalikhan9876 Před 2 měsíci +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 Před 2 měsíci

      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 Před 2 měsíci +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 Před 2 měsíci

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

    • @kunalreddy8542
      @kunalreddy8542 Před 2 měsíci

      @@anjalikhan9876 your Internet connection disconnected, was not stable

    • @anjalikhan9876
      @anjalikhan9876 Před 2 měsíci

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