dotnet-smartcomponents / smartcomponents

Experimental, end-to-end AI features for .NET apps
628 stars 54 forks source link

Native html and javascript to spread #8

Open murilocurti opened 3 months ago

murilocurti commented 3 months ago

Extremely useful project!

I see that implementing this for native javascript and html elements will open the road to every framework implement it using it's own best practices.

I will contribute to that for sure!

Thank you for your great work!

SteveSandersonMS commented 3 months ago

Yes, it's a good idea.

It would create a bit of extra work for the app developer because they would have to configure a bunch of things about their backend server (e.g., pathbase so we can reach the inference endpoint), and possibly precludes some other features like being able to round-trip dataprotected config information from the server back to itself safely. These problems are solved automatically by rendering on Blazor/MVC/Razor Pages because that already integrates with the backend server.

However if the app developer is willing to allow that, we could make it work. I'll consider this a backlog item for now.