Skip to content

Simple demo app demonstrating use of OpenAI Assistants API in Next.js and Vercel AI SDK with streaming, tool use (code interpreter and file search), and function calling.

Notifications You must be signed in to change notification settings

DraganAleksic99/openai-assistant

Repository files navigation

OpenAI-Assistant

Simple demo app demonstrating use of OpenAI Assistants API in Next.js and Vercel AI SDK with streaming, tool use (code interpreter and file search), and function calling.


Stack

Quickstart

1. Clone this repository

Run the following command to clone the repo:

git clone https://github.com/DraganAleksic99/openai-assistant.git

2. Install dependencies

cd openai-assistant
npm i

3. Fill out secrets and create an assistant

cp .env.local.example .env.local

4. Run app locally

npm run dev

Open in your browser

You can now visit http://localhost:3000.

About

Simple demo app demonstrating use of OpenAI Assistants API in Next.js and Vercel AI SDK with streaming, tool use (code interpreter and file search), and function calling.

Topics

Resources

Stars

Watchers

Forks