Gpt4Company 是一个用来避免三星式泄密的请求转发器,简体中文说明
交流群
Gpt4Company is a request forwarder used to prevent Samsung-style leaks. Once configured with keywords and API endpoint, it can be launched. All software within the company accesses OpenAI through the forwarder's API, which returns a warning message when a keyword is transmitted.
- Edit
keywords.txt
, with one keyword per line. - Navigate to the same directory as
keywords.txt
and launch Docker withdocker run -d -p 9000:9000 -v ${PWD}/keywords.txt:/app/keywords.txt easychen/gpt4company
. - Use the OpenAI API through
localhost:9000
.
You can customize some settings through environment variables.
Parameter | Description | Default Value |
---|---|---|
PORT |
Port | 9000 |
API_URL |
API URL | https://oa.api2d.net |
NOTICE |
Error message | Your request contains a keyword that may leak company secrets and has been intercepted. |