docs(playground): ai powered stream#172
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
comark
@comark/ansi
@comark/html
@comark/nuxt
@comark/react
@comark/svelte
@comark/vue
commit: |
There was a problem hiding this comment.
LGTM 🚀
For future, I think we can simplify the schema and test AI with simpler prompt.
I was thinking about removing json schema and only having llms.txt like file:
### components
- Card (*title, description, image - #header, #footer, #default) - description
- Card2 (*title, description - #header, #footer, #default) - description
There is lots of more information about the component that we can pass to the AI, but I believe we can have more trust in Agents and let them detect types, values and examples from whole context.
|
@farnabaz The idea behind the schema.json is simply a POC. It has been generated by this script that could become more generic and then can be used by users (and maybe get rid of nuxt component meta). In fact we can discuss it with @atinux but it could even become an mcp tool @comark/nuxt can expose to help users generate their own schema 🤔 |
Nuxt UI components:
palygroundAINuxtUI.mp4
Custom playground components:
ComarkPlaygroundAI.mp4
Edit: also resolves #181