Skip to content

A chat bot that can communicates with the user by interacting with chatGPT, chat history will also be traced back

Notifications You must be signed in to change notification settings

venkata-naveen-varma/chatbot-chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Chatbot

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

Check out the Medium Post for explanation

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

Future Scope

We can store the chat history in platforms like firestore and run an AI based chat application on public server by adding routes and deploying the server.

About

A chat bot that can communicates with the user by interacting with chatGPT, chat history will also be traced back

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published