Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 342 Bytes

File metadata and controls

26 lines (16 loc) · 342 Bytes

ChatGPT Chatbot

This is a ChatGPT chatbot written in Node.js that runs in the terminal

Usage

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