Next.js front-end project for consuming the OpenAI API, which is a chat application.
It is possible to customize the prompt to limit or specialize the context; an OpenAI API key is required.
- You must generate an api key in platform openai
and add it to the
.env
file under theOPENAI_API_KEY
key
npm install
npm run dev