Vercel AI SDK is a free, open-source JavaScript library that offers a unified interface for working with various Large Language Model (LLM) providers. It simplifies the integration of different AI models in both frontend and backend environments, without needing to use Vercel's hosting services. The SDK includes core components for backend, frontend UI, and React Server Components, along with features like text and object generation, model switching, message history management, and processing images and PDFs.
Table of contents
Permalink What is the Vercel AI SDK?Permalink Core ComponentsPermalink Basic UsagePermalink Advanced FeaturesSort: