- This ChatGPT api uses advanced requests and automation software to create a api endpoint.
- It uses playwright and chromium to open browser and parse html.
- It is an unoffical api for development purpose only.
- Install the requirements
pip install -r requirements.txt
- If you are installing playwright for the first time, it will ask you to run this command for one time only.
playwright install
- Now run the server
python server.py or doubleclicking the file
- The server runs at port
5001
. If you want to change, you can change it in server.py
- There is a single end point only. It is available at
/chat
curl -XGET http://localhost:5001/chat?q=Write%20a%20python%20program%20to%20reverse%20a%20list
- [7 Mai 2023]: Delay down to 0.1 seconds
- All the credit for this script go to Mehlig and KampfFlasche. I have just taken the script as an individual file and added documentation for how to install and run it.
Please note that this project is a personal undertaking and not an official OpenAI product. It is not affiliated with OpenAI in any way, and should not be mistaken as such.