a demo repo based on OpenAI GPT-3.5 Turbo API
- Node
node -v
- PNPM
npm i -g pnpm
- Install dependencies
pnpm install
- Copy the
.env.example
file, then rename it to.env
, and add your OpenAI API keyto the.env
file. - Run the application, the local project runs on
http://localhost:3000
.
pnpm run dev
Example of how to deploy, don't forget to configure environment variables