
6/15/2023
What this post added
Introduced the Vercel AI SDK, an open-source library for building conversational, streaming, and chat UIs in JavaScript and TypeScript. The SDK supports React/Next.js and Svelte/SvelteKit, with built-in LLM adapters for OpenAI, LangChain, and Hugging Face. It provides streaming-first UI helpers (`useChat`, `useCompletion`) and stream helpers with callbacks for database persistence. The SDK is designed to work with Vercel Functions and Fluid compute.