This is a ChatGPT chatbot written in Node.js that runs in the terminal
Get your OpenAI API key at https://platform.openai.com/account/api-keys
Create a file named .env
and add the following:
OPENAI_API_KEY=YOURKEY
Install dependencies:
npm Install
Run the bot:
npm start