Levilian / levi-bot

Home Page:https://levi-bot.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Levi Bot

What's New

  • Fine-tuned model on davinci
  • Preprocessing code linked elsewhere to process Messenger and Instagram JSON data
  • ...

Components

  • Next.js
  • OpenAI API (ChatGPT) - streaming
  • API Routes (Edge runtime) - streaming

How to Use

Set up environment variables

Rename .env.example to .env.local:

cp .env.example .env.local

then, update OPENAI_API_KEY with your OpenAI secret key.

Next, run Next.js in development mode:

pnpm dev

The app should be up and running at http://localhost:3000.

Deploy it to the cloud with Vercel (Documentation).

About

https://levi-bot.vercel.app


Languages

Language:TypeScript 96.8%Language:JavaScript 3.2%