프로젝트
GitHub에서 보기
taranjeet/unofficial-chatgpt-api
소개
비공식 ChatGPT API입니다. Daniel Gross의 WhatsApp GPT를 기반으로 합니다.
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalChatGPT api
- It uses playwright and chromium to open browser and parse html.
- It is an unoffical api 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
- 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
- The server runs at port
5001. 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:5001/chat?q=Write%20a%20python%20program%20to%20reverse%20a%20list
Updates
- [8 Dec 2022]: Updated parsing logic (credits @CoolLoong)
Credit
- All the credit for this script goes to Daniel Gross's whatsapp gpt package. I have just taken the script as an individual file and added documentation for how to install and run it.
Disclaimer
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.
관련 프로젝트 살펴보기
불러오는 중…