Skip to content

gunmentoy/chatgpt-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tom’s Chatbot

Welcome to Tom’s Chatbot! This is a simple chatbot application that uses OpenAI’s GPT-3 model to generate responses.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed Node.js
  • You have an OpenAI API key. Please note that usage of the OpenAI API is not free, and you will be billed according to their pricing details.

Installing Tom’s Chatbot

To install Tom’s Chatbot, follow these steps:

Clone the repository:

git clone https://github.com/gunmentoy/chatgpt-chatbot.git

Navigate to the project directory:

cd chatgpt-chatbot

Install the required packages:

npm install

Configuring Tom’s Chatbot

To configure Tom’s Chatbot, you need to set up your OpenAI API key:

  • Create a .env file in the root directory of the project. Add the following line to the .env file:
OPENAI_API_KEY=<your_openai_api_key>

- Replace <your_openai_api_key> with your actual OpenAI API key.

Running Tom’s Chatbot

To run Tom’s Chatbot, follow these steps:

  • Start the application:
npm start
  • You will be greeted by the chatbot. You can start chatting by typing your messages. To stop the chatbot, type exit.

About

chatbot built with node.js, powered by gpt-3.5 turbo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors