Skip to content

Commit 8e2c57a

Browse files
committed
update README.md
1 parent 26ee79f commit 8e2c57a

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ Highlights:
2020
- 🧠 Supports proxying all Azure OpenAI models and custom fine-tuned models
2121
- 🗺️ Supports custom mapping between Azure deployment names and OpenAI models
2222
- 🔄 Supports both reverse proxy and forward proxy usage
23+
- 👍 Support mocking of OpenAI APIs that are not supported by Azure.
24+
25+
26+
## Supported APIs
27+
28+
The latest version of the Azure OpenAI service currently supports the following 3 APIs:
29+
30+
| Path | Status |
31+
| --------------------- | ------ |
32+
| /v1/chat/completions ||
33+
| /v1/completions ||
34+
| /v1/embeddings ||
35+
36+
> Other APIs not supported by Azure will be returned in a mock format (such as OPTIONS requests initiated by browsers). If you find your project need additional OpenAI-supported APIs, feel free to submit a PR.
2337
2438
## Usage
2539

README.zh-cn.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@ OpenAI 请求,方便作为各类开源 ChatGPT 的后端使用。同时也支
2121
- 🧠 支持代理所有 Azure OpenAI 模型以及自定义微调模型
2222
- 🗺️ 支持自定义 Azure 部署名与 OpenAI 模型的映射关系
2323
- 🔄 支持反向代理和正向代理两种方式使用
24+
- 👍 支持对Azure不支持的OpenAI接口进行Mock
25+
26+
## 支持的接口
27+
28+
目前最新版本的Azure OpenAI服务支持以下3个接口:
29+
30+
| Path | Status |
31+
| --------------------- |------|
32+
| /v1/chat/completions ||
33+
| /v1/completions ||
34+
| /v1/embeddings ||
35+
36+
> 其他Azure不支持的接口会通过mock的形式返回(比如浏览器发起的OPTIONS类型的请求)。如果你发现需要某些额外的OpenAI支持的接口,欢迎提交PR
2437
2538
## 使用方式
2639

0 commit comments

Comments
 (0)