Skip to content

tgonzales/CodeInterpreter

 
 

Repository files navigation

This Code Interpreter using OpenAI Assistants API, Next.js, Vercel Blob and Vercel AI Package

To run this project, you will need the following API keys:

  1. OPENAI_API_KEY: This is your OpenAI API key. You can obtain it by creating an account on the OpenAI website.

  2. ASSISTANT_ID: This is the ID of your OpenAI Assistant. You can find this in your OpenAI dashboard under the Assistants section.

  3. BLOB_READ_WRITE_TOKEN: This is your Vercel Blob read/write token. You can obtain it by creating a Blob storage on the Vercel website. Setup

To setup the project, follow these steps:

  1. Clone the repository to your local machine.

  2. Create a .env.local file in the root directory of the project.

  3. Add the following lines to the .env.local file, replacing with your actual keys: "

  4. Install the project dependencies by running npm install or yarn install.

  5. Start the development server by running npm run dev or yarn dev

Now, you should be able to access the application at http://localhost:3000. Usage

This project is not affiliated with Next.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 1.8%
  • CSS 1.1%