Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer committed May 27, 2023
1 parent c180488 commit 8414e2e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Vercel AI Utils
# AI Utils

Edge-ready utilities to accelerate working with AI in JavaScript and React.
AI Utils is **a compact library for building edge-rendered AI-powered streaming text and chat UIs**. It takes care of the boilerplate streaming code while not adding any additional abstraction or indirection between you and your AI model provider's SDK--letting you focus on building your next big thing instead of wasting another day messing around with text encoders.

## Features

- Edge Runtime compatibility
- First-class support for native OpenAI, Anthropic, and HuggingFace Inference JavaScript SDKs
- SWR-powered React hooks for fetching and rendering streaming text responses
- Callbacks for saving completed streaming responses to a database (in the same request)

## Installation

Expand All @@ -13,6 +20,7 @@ pnpm install @vercel/ai-utils
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [Features](#features)
- [Installation](#installation)
- [Background](#background)
- [Usage](#usage)
Expand Down

0 comments on commit 8414e2e

Please sign in to comment.