Why not a single client side library rather than a separate for nuxt/react/svelte etc #3120
cosbgn
started this conversation in
Ideas & Feedback
Replies: 2 comments 1 reply
-
It would solve this and make everything available for everyone immediately: |
Beta Was this translation helpful? Give feedback.
1 reply
-
There is the Backend: |
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
-
OpenAI has this very nice client side abstraction which works with events like this:
It would be very nice if the AI-SDK would have something similar which would work on any framework.
This way all updates would be immediately available for react, vue and all at the same time and would simplify a ton development.
For the end user is then super simple to use their own useChat system to manage messages. Optionally you could still have your own useChat implementation for different frameworks, but users could still access all features using the core vanilla js client side library.
Beta Was this translation helpful? Give feedback.
All reactions