brisa-build / brisa

The Web Platform Framework.
https://brisa.build
MIT License
452 stars 12 forks source link

AI component creation #599

Open aralroca opened 3 weeks ago

aralroca commented 3 weeks ago

It would be great to have an AI that transforms components from React to Brisa and you can also use it to create components with a prompt.

We could have Brisa's CLI do this. By default, there is no model to make it quick to install Brisa with node_modules, but the first time you use the CLI to generate components with a prompt, then download the model and then always pull the model. It remains to be investigated, I created the issue so that it is not forgotten.

Some references:

ansarizafar commented 4 days ago

Vercel AI SDK is also a good option. SDK already has integrations for React, Svelte and Solidks. https://sdk.vercel.ai/docs/introduction