Socket
Socket
Sign inDemoInstall

ai

Package Overview
Dependencies
64
Maintainers
11
Versions
118
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ai

The Vercel AI SDK is **a library for building AI-powered streaming text and chat UIs**.


Version published
Weekly downloads
217K
increased by19.88%
Maintainers
11
Created
Weekly downloads
 

Readme

Source

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:

Contributors

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.

Deploy with Vercel

Keywords

FAQs

Last updated on 26 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc