@justkahdri/ai
v3.0.24
Published
The Vercel AI SDK is **a library for building AI-powered streaming text and chat UIs**.
Downloads
588
Readme
Vercel AI SDK
The Vercel AI SDK is a library for building AI-powered streaming text and chat UIs.
Features
- React, Svelte, Vue and Solid helpers for streaming text responses and building chat and completion UIs
- React Server Components API for streaming Generative UI
- First-class support for OpenAI, Anthropic, Mistral, Perplexity, AWS Bedrock, Azure, Google Gemini, Hugging Face, Fireworks, Cohere, LangChain, Replicate, Ollama, and more.
- Node.js, Serverless, and Edge Runtime support
- Lifecycle callbacks for saving completed streaming responses to a database (in the same request)
Installation
pnpm install ai
View the full documentation and examples on sdk.vercel.ai/docs.
Authors
This library is created by Vercel and Next.js team members, with contributions from:
- Jared Palmer (@jaredpalmer) - Vercel
- Shu Ding (@shuding_) - Vercel
- Max Leiter (@max_leiter) - Vercel
- Malte Ubl (@cramforce) - Vercel
- Justin Ridgewell (@jridgewell)
Related: Deploy your own Next.js AI Chatbot
If you're looking to for a full AI Chatbot application to jumpstart your AI journey, you should checkout our sister OSS AI Chatbot project or click the button below to deploy your own to Vercel.