📖 Docs: Update documentation
Browse files- README.md +2 -0
- README_CN.md +2 -0
README.md
CHANGED
@@ -30,6 +30,8 @@ If used personally, one/new-api is too complex and has many commercial features
|
|
30 |
- Supports automatic retry, when an API channel response fails, automatically retry the next API channel.
|
31 |
- Supports fine-grained access control. Supports using wildcards to set specific models for API key available channels.
|
32 |
- Supports rate limiting, can set the maximum number of requests per minute, can be set as an integer, such as 2/min, 2 times per minute, 5/hour, 5 times per hour, 10/day, 10 times per day, 10/month, 10 times per month, 10/year, 10 times per year. Default is 60/min.
|
|
|
|
|
33 |
|
34 |
## Configuration
|
35 |
|
|
|
30 |
- Supports automatic retry, when an API channel response fails, automatically retry the next API channel.
|
31 |
- Supports fine-grained access control. Supports using wildcards to set specific models for API key available channels.
|
32 |
- Supports rate limiting, can set the maximum number of requests per minute, can be set as an integer, such as 2/min, 2 times per minute, 5/hour, 5 times per hour, 10/day, 10 times per day, 10/month, 10 times per month, 10/year, 10 times per year. Default is 60/min.
|
33 |
+
- Supports multiple standard OpenAI format interfaces: `/v1/chat/completions`, `/v1/images/generations`, `/v1/audio/transcriptions`, `/v1/moderations`, `/v1/models`.
|
34 |
+
- Supports OpenAI moderation for ethical review, allowing for ethical review of user messages. If inappropriate messages are detected, an error message will be returned. This reduces the risk of the backend API being banned by providers.
|
35 |
|
36 |
## Configuration
|
37 |
|
README_CN.md
CHANGED
@@ -30,6 +30,8 @@
|
|
30 |
- 支持自动重试,当一个 API 渠道响应失败时,自动重试下一个 API 渠道。
|
31 |
- 支持细粒度的权限控制。支持使用通配符设置 API key 可用渠道的特定模型。
|
32 |
- 支持限流,可以设置每分钟最多请求次数,可以设置为整数,如 2/min,2 次每分钟、5/hour,5 次每小时、10/day,10 次每天,10/month,10 次每月,10/year,10 次每年。默认60/min。
|
|
|
|
|
33 |
|
34 |
## Configuration
|
35 |
|
|
|
30 |
- 支持自动重试,当一个 API 渠道响应失败时,自动重试下一个 API 渠道。
|
31 |
- 支持细粒度的权限控制。支持使用通配符设置 API key 可用渠道的特定模型。
|
32 |
- 支持限流,可以设置每分钟最多请求次数,可以设置为整数,如 2/min,2 次每分钟、5/hour,5 次每小时、10/day,10 次每天,10/month,10 次每月,10/year,10 次每年。默认60/min。
|
33 |
+
- 支持多个标准 OpenAI 格式的接口:`/v1/chat/completions`,`/v1/images/generations`,`/v1/audio/transcriptions`,`/v1/moderations`,`/v1/models`。
|
34 |
+
- 支持 OpenAI moderation 道德审查,可以对用户的消息进行道德审查,如果发现不当的消息,会返回错误信息。降低后台 API 被提供商封禁的风险。
|
35 |
|
36 |
## Configuration
|
37 |
|