Dynamically render react-components streamed from an LLM #59485
Unanswered
rajeshdavidbabu
asked this question in
App Router
Replies: 3 comments
-
did you fined an answer? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Currently you can do this already with AI SDK. Checkout https://www.morphic.sh/ and its open-source code-base. https://www.youtube.com/watch?v=XdaiGK3ySj0&t |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looking for the same but with Vite |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Team,
What am I doing ?
I am currently building an internal tool for my company where I would dynamically render React components generated using Chatgpt using React Server Components.
The example I am using
I am using this official ai-sdk server component example, https://sdk.vercel.ai/docs/guides/frameworks/nextjs-app#in-server-components
What do I want ?
I want something similar, but instead of rendering the text, I need to parse and render React component form the stream data and return them.
Beta Was this translation helpful? Give feedback.
All reactions