Feature
Chat SDK adds web adapter support
Chat SDK now includes a web adapter that enables building in-product chat UIs for assistants, support agents, and browser-based chat experiences. You can define bots on your server and stream replies to the browser using the @ai-sdk/react useChat hook.
You can now build chat UIs that connect to Chat SDK with the new . Build in-product assistants, support agents, or any other browser-based chat experience.web adapter
Define the bot on your server:
Then stream replies to the browser with a preconfigured hook:@ai-sdk/reactuseChat
Read the to get started, browse the , or build your own .documentationdirectoryadapter
chat-sdkwebadapteraiuireact
Source: original entry ↗