Skip to content

Commit 47c226e

Browse files
committed
openapi: advanced features
1 parent 136e8eb commit 47c226e

3 files changed

Lines changed: 47 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 高级特性
2+
3+
## 工具调用
4+
可通过渠道配置,对本不支持Function Call的LLM模型启用Function Call能力。
5+
6+
## 专属渠道
7+
云端服务支持用户配置属于个人的私有渠道。仅可使用个人帐户名下的AK调用。
8+
9+
## 备选模型
10+
caht completions能力点请求支持备选模型。
11+
``` json
12+
{
13+
//...
14+
"models": "model1, models2",
15+
//...
16+
}
17+
```
18+
会在请求models1失败时自动切换到备选模型models2。
19+
20+
支持的最大备选模型数默认为3个,可通过后端配置 bella.openapi.max-models-per-request进行调整。
21+
22+
## 最大等待时间
23+
期待中
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Advanced features
2+
3+
## Function Call
4+
Function Call capability can be enabled for LLM models that do not support Function Call through channel configuration.
5+
6+
## Private Channel
7+
Cloud services support users to configure their own private channels. Only AK calls under personal account names are allowed.
8+
9+
## Fallback Models
10+
Caht completion capability point requests support for alternative models.
11+
12+
``` json
13+
{
14+
//...
15+
"models": "model1, models2",
16+
//...
17+
}
18+
```
19+
It will automatically switch to models2 when the request fails with models1.
20+
The default maximum number of supported candidate models is 3, which can be adjusted through backend configuration of bella.openapi.max-modes-per request.
21+
22+
## Max Wait
23+
Looking forward to it

sidebars.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const sidebars: SidebarsConfig = {
3535
'bella-openapi/core/flash-asr',
3636
'bella-openapi/core/tts',
3737
'bella-openapi/core/realtime',
38+
'bella-openapi/core/advanced-features',
3839
],
3940
},
4041
{

0 commit comments

Comments
 (0)