Skip to content

MrJYAD/SphereGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SphereGPT

SphereGPT is a chat application that employs OpenAI's GPT-3 model to simulate Customer Service interactions in real-time. Users can connect and join different rooms where they can learn or practice their customer service techniques. Each room interacts with GPT-3 to generate responses based on user input.

Features

  • Real-time multi-user chat functionalities
  • Different rooms for different user objectives (learning or practicing customer service)
  • Interactive GPT-3 bot within each room
  • User-friendly interface

Open with VS or any editor

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

Node.js installed (version 12 or above) npm installed (version 6 or above) An OpenAI API key

Open AI official website for API

image

Create new one

image

Installation

  1. Clone the repository

First, clone this repository to your local machine using: https://github.com/MrJYAD/SphereGPT.git

  1. Navigate to the project directory

Change directory to SphereGPT

  • cd SphereGPT
  1. Install the required packages

Use the package manager npm to install the required packages:

  • npm install
  1. Create your environment file

Create a .env file in the project root directory and input your OpenAI API key. It should look something like this:

  • OPENAI_API_KEY=<Your_OpenAI_API_KEY>

Usage

To start the application, use the following command:

  • npm start

Or, to start it in development mode, use the following command:

  • npm run dev

The server will start running and listening on the specified port (default is 3000). You can then access the application in your browser by navigating to http://localhost:3000

--

Interface

image

Users interaction with GPT api

image

image

image

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Contact If you want to contact me you can reach me at Twitter @518

About

Chatting-with ChatGPT API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors