🤖 Rendering MDX with the Vercel AI Chatbot component + Vercel AI SDK
Unanswered
Mini Rex posted this in #help-forum
Mini RexOP
I'm trying to implement a Generative UI feature in my chat. I want the component to rendered right in the chat interface.
I'm using this chat component: https://github.com/vercel-labs/ai-chatbot
I attached a screenshot where you can see the MDX being printed but the component is not rendering. The second screenshot is what that MDX is supposed to look like. It's valid MDX.
What do I have to do to make the chat component render react in the chat UI?
I'm using this chat component: https://github.com/vercel-labs/ai-chatbot
I attached a screenshot where you can see the MDX being printed but the component is not rendering. The second screenshot is what that MDX is supposed to look like. It's valid MDX.
What do I have to do to make the chat component render react in the chat UI?
2 Replies
Mini RexOP