hts/packages/isdk/README.md

38 lines
2.1 KiB
Markdown

# 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](https://vercel.com/blog/ai-sdk-3-generative-ui)
- First-class support for [OpenAI](https://openai.com), [Anthropic](https://www.anthropic.com), [Mistral](https://mistral.ai), [Perplexity](https://perplexity.ai), [AWS Bedrock](https://aws.amazon.com/bedrock/), [Azure](https://ai.azure.com), [Google Gemini](https://ai.google.dev), [Hugging Face](https://huggingface.co), [Fireworks](https://app.fireworks.ai), [Cohere](https://cohere.com), [LangChain](https://js.langchain.com/docs), [Replicate](https://replicate.com), Ollama, and more.
- Node.js, Serverless, and [Edge Runtime](https://edge-runtime.vercel.app/) support
- Lifecycle callbacks for saving completed streaming responses to a database (in the same request)
## Installation
```sh
pnpm install ai
```
View the full documentation and examples on [sdk.vercel.ai/docs](https://sdk.vercel.ai/docs).
## Authors
This library is created by [Vercel](https://vercel.com) and [Next.js](https://nextjs.org) team members, with contributions from:
- Jared Palmer ([@jaredpalmer](https://twitter.com/jaredpalmer)) - [Vercel](https://vercel.com)
- Shu Ding ([@shuding\_](https://twitter.com/shuding_)) - [Vercel](https://vercel.com)
- Max Leiter ([@max_leiter](https://twitter.com/max_leiter)) - [Vercel](https://vercel.com)
- Malte Ubl ([@cramforce](https://twitter.com/cramforce)) - [Vercel](https://vercel.com)
- Justin Ridgewell ([@jridgewell](https://github.com/jridgewell))
[Contributors](https://github.com/vercel/ai/graphs/contributors)
## 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](https://github.com/vercel/ai-chatbot) or click the button below to deploy your own to [Vercel](https://vercel.com).
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/templates/Next.js/nextjs-ai-chatbot)