This is a Next.js project bootstrapped with create-next-app.
First install the dependencies:
pnpm installCreate .env.local file inside the root directory, and put in your OpenAI API key:
OPENAI_API_KEY=sk-proj-0123456789Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.