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.
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.
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
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
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! 🙏✨
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.
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
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
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.
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?
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
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 Im getting an issue as TypeError: network error and like this error Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING Please help
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.
I absolutely love this! Always walk in the room with an empty jar ready to fill! 💪🏽
Fire! As usual your builds are amazing! Great walk trough, easy to follow! 🚀
🎉🎉🎉hurrayyyyyy all I waited ...you broughout ...let's go
Sonny thanks so much for turning down the music volume.
Now we can smoothly focus.
A fun and educational build. Keep 'em coming Sonny 🚀
1:53:15 its thorw error POST Api 404 , could anyone
please guide what i am missing
same here
Error: The model `gpt-4o` does not exist or you do not have access to it
Lets get it, sonny is next level with the AI builds!
I have an error at 1:53:15 failed to fetch any one faced it??
I also got this error, how did you resolve it?
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 ??
Have u solved the issue
@@hello-world556 nope .. huhu
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.
This issue should be fixed in the latest release.
@@auuaikflflb how you use chatgpt 3.5?
This is the first and fast of its kind 😊
Liked before watching 😊
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
Thank you for always coming through with amazing tuts! Love the bg music! How about your music playlist link? I'm really diggin it!
Thank you!!! The link for the playlist is in the description🙏🏽🔥
Getting - [cause]: 'error, status code: 404, message: Resource not found' or Error failed to find a model provider for model [gpt-4o
i am having the same issue
Is the error resolved? If yes then how please tell me i' m too having this error.
how to resolve this problem?
Is this problem solved?
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
What's the song in the background in the beginning of the video?
I came back to re follow but the links changed .....i cant access the script again
my favored Sonny is back ..YES
From Uganda 🔥 the pearl of Africa 🧨😍....this dark continent will feel me 🙈🔥🙈....thanks Sonny for lit content 😊🎉❤
am from kenya
@@gerkim62 awesome bro am back
i am not able to get credits from open api. tell some alternative open sourse ai intergration tool please.
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! 🙏✨
also getting this error can anyone help: Error failed to find a model provider for model [gpt-4o]
⨯ Error: failed to pipe response
Me too :(
Same issue. Is that because of usage limits?
same issue, anyone can help us please
same issue with me .
@@SubarnamanMaharjan I have $5 credit, but facing same issue.
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.
This basically is saying you don't have internet while running the code
@@kunalreddy8542 no.... The network error means the id or the api key value is not able to fetch
@@kunalreddy8542 i have no problem with my internet connection. Its with the api key or smth else
@@anjalikhan9876 thank you bro
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
Sir please can you create a core banking app with react and firebase something that can be use for loan and investment
Na Nigerian comment this one 😂😂
Yes satin you think before
Tried building the application but I am stuck on api path not correct and I have followed every step
Hey I am getting network error while generating any story, anyone facing same issue or know how to fix it?
@channel, anyone is facing the error : 'ABORT: Failed to create directory /public/stories/The-AdventuresDog: . mkdir /publics: read-only file system' ???
No one in this error???
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
@@ekanshbansal608 no, the problem was /public, the / is the culprit ...
@@kunalreddy8542 Hey, I have the same issue, how had u fixed it when san about / - culprit? Thanks
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.
[Error: failed to pipe response] {
[cause]: [Error: ABORT: The provided input is a prompt and not a complete children's story.]
From Bangladesh
36:00, 1:12:00
Sonny's sanga I'm big interesting awesome ❤❤❤❤🎉🎉🎉
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?
I am from Palistan
Wow
The background music- IRRITATING
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
The "failed to find a provider for model [gpt-4o]" error should be fixed in the latest release.
did you resolve it ?
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]'
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
@@kunalreddy8542 Im getting an issue as TypeError: network error and like this error Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING
Please help
@@anjalikhan9876 same here, i even gave my code chatgpt but then also same error..
@@anjalikhan9876 your Internet connection disconnected, was not stable
@@kunalreddy8542 no it's not an internet issue , I switched my network also