Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leerob/hono-vercel-ai-sdk
Hono + Vercel AI SDK + OpenAI
https://github.com/leerob/hono-vercel-ai-sdk
ai-sdk hono vercel
Last synced: about 1 month ago
JSON representation
Hono + Vercel AI SDK + OpenAI
- Host: GitHub
- URL: https://github.com/leerob/hono-vercel-ai-sdk
- Owner: leerob
- Created: 2024-06-07T21:39:52.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-07T22:29:38.000Z (7 months ago)
- Last Synced: 2024-11-28T13:43:16.563Z (about 2 months ago)
- Topics: ai-sdk, hono, vercel
- Language: TypeScript
- Homepage: https://hono-on-vercel.vercel.app
- Size: 40 KB
- Stars: 25
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fleerob%2Fhono-vercel-ai-sdk&env=OPENAI_API_KEY&envDescription=Find%20your%20API%20key&envLink=https%3A%2F%2Fvercel.com%2Fdocs%2Fintegrations%2Fai%2Fopenai%23getting-your-openai-api-key)
# Hono with the Vercel AI SDK
This example shows how to use the [Vercel AI SDK](https://sdk.vercel.ai/docs/introduction) with [Hono](https://hono.dev/) to stream a response back from OpenAI.
Forked from the [Vercel + Hono starter template](https://vercel.com/templates/hono/hono-on-vercel).
## Getting Started
```bash
$ git clone https://github.com/leerob/hono-vercel-ai-sdk.git
$ cd hono-vercel-ai-sdk
$ bun i -g vercel
$ bun i
$ vercel dev
```