|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
Agent 服务配置 |
||
| address |
string |
地址 |
https://dashscope.aliyuncs.com/api/v1 |
| dashScopeConfig |
object |
百炼服务配置(provider=qwen 时填写,appCredentials 不能为空,每项 appId+apiKey 非空) |
|
| appCredentials |
array |
应用配置 |
|
|
object |
参数 |
||
| apiKey |
string |
apiKey |
sk-xxx |
| appId |
string |
应用 ID |
app-xxx |
| enableHealthCheck |
boolean |
启用健康检查 |
true |
| provider |
string |
服务供应商 |
qwen |
| difyConfig |
object |
Dify 服务配置(provider=dify 时填写,botType+apiKey 非空) |
|
| botType |
string |
交互类型 |
chatflow |
| apiKey |
string |
API Key |
app-xxx |
| enableOutlierDetection |
boolean |
是否启用异常检测 |
true |
| customConfig |
object |
自定义配置(provider=custom 时填写) |
|
| apiKey |
string |
API 密钥 |
app-xxx |
| apiKeyGenerateMode |
string |
密钥生成模式 |
Reference |
| protocols |
array |
通信协议列表 |
|
|
string |
协议 |
DashScope |
该文章对您有帮助吗?