Skip to content

A janky implementation of ChatGPT using the OpenAI GPT3.5 model.

Notifications You must be signed in to change notification settings

usr20k/janky_chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

janky-chatgpt

A simple gpt3.5-turbo based chatbot using the OpenAI API with context held for 2 exhanges. Usage requires you to have an OpenAI API key.

Installation

Clone the repo locally and navigate to the root directory. Run npm install to install all package dependencies.

Running the ChatBot

  • Set both the OPENAI_API_KEY and OPENAI_ORG environment variables in your terminal by running export OPENAI_API_KEY='<Your key here>' and export OPENAI_ORG='<Your org here>'. Your can obtain these values from your OpenAI dev account.
  • From the root project directory, run npm start, this will run the server on port 3000.
  • Navigate to localhost:3000 in your browser and have fun chatting!

About

A janky implementation of ChatGPT using the OpenAI GPT3.5 model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published