Pablo0-mb / chatgpt-chatbot

Chatbot written in Node.js that uses the ChatGPT API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Chatbot written in Node.js that uses the ChatGPT API


Languages

Language:JavaScript 100.0%