- Fine-tuned model on davinci
- Preprocessing code linked elsewhere to process Messenger and Instagram JSON data
- ...
- Next.js
- OpenAI API (ChatGPT) - streaming
- API Routes (Edge runtime) - streaming
Rename .env.example to .env.local:
cp .env.example .env.localthen, update OPENAI_API_KEY with your OpenAI secret key.
Next, run Next.js in development mode:
pnpm devThe app should be up and running at http://localhost:3000.
Deploy it to the cloud with Vercel (Documentation).