Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.52 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.52 KB

Mr Matribuk presents :

Clone ChatGPT on a local site with OpenAI API

This project allows you to clone ChatGPT, a natural language processing model, onto a local website using OpenAI's API. The website will allow users to chat with ChatGPT on various topics.

Installation

  1. Clone the project from GitHub
git clone https://github.com/Matribuk/robix_remote.git
  1. Create an account on https://openai.com/ and obtain an API key
  2. Add the OpenAI API key to an environment variable named OPENAI_API_KEY

MacOS :

export OPENAI_API_KEY="API KEY"

Linux :

setenv OPENAI_API_KEY="API KEY"
  1. Install Docker and Docker-Compose:
  1. Run docker-compose up from the project root directory
docker-compose up

Usage

Once the Docker containers have started, go to http://localhost:3000 in your browser to access the website. You can now chat with ChatGPT by typing in the dialogue box.

Credits


Antonin Leprest

This project uses the ChatGPT model from OpenAI (https://beta.openai.com/docs/models/gpt-3) for conversations.

License

This project is licensed under the MIT License. See the LICENSE file for more details.