This is a minimal version of Vercel AI Chatbot
updated to Next 13.5.
- removed database, auth, chat history
First, add your OPENAI_API_KEY
to .env.local:
Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
- make sure to add your
OPENAI_API_KEY
environment variable
Check out our Next.js deployment documentation for more details.