support ai proxy for cohere (#960) (#1328)

This commit is contained in:
jk-tonycui
2024-09-20 21:15:14 +08:00
committed by GitHub
parent 55f6ed7953
commit ffc5458a91
3 changed files with 120 additions and 0 deletions

View File

@@ -215,6 +215,10 @@ DeepL 所对应的 `type` 为 `deepl`。它特有的配置字段如下:
| ------------ | -------- | -------- | ------ | ---------------------------- |
| `targetLang` | string | 必填 | - | DeepL 翻译服务需要的目标语种 |
#### Cohere
Cohere 所对应的 `type``cohere`。它并无特有的配置字段。
## 用法示例
### 使用 OpenAI 协议代理 Azure OpenAI 服务