Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 1.26 KB

README.md

File metadata and controls

54 lines (32 loc) · 1.26 KB

Dec 14th

This code is no longer working due to countermeasures that Open AI has introduced.

Disclaimer

  • UNOFFICIAL API. This project is not affiliated with OpenAI in anyway. It is not an official product. This is a personal project and to be used for development purpose only.

How to install

  • Make sure that python and virual environment is installed.

  • Create a new virtual environment

# one time
virtualenv -p $(which python3) pyenv

# everytime you want to run the server
source pyenv/bin/activate
  • Now install the requirements
pip install -r requirements.txt
  • Now run the server
python server.py
  • The server runs at port 31337. If you want to change, you can change it in server.py

Api Documentation

  • There is a single end point only. It is available at /chat
curl -XGET http://localhost:31337/chat?q=Write%20a%20python%20program%20to%20reverse%20a%20list

Credit