Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```