This project is built using Nextjs. It utilizes the OpenAI GPT4 for chat completion.
First, duplicate the .env
file into a new file named .env.local
. Update the value of your OpenAI API key there.
The first time you are running this project, you will need to install the dependencies. Run this command in your terminal:
yarn
To start the app, run:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.