阿里云百炼平台应用API支持

This commit is contained in:
Civic_Crab
2025-02-11 18:48:21 +08:00
parent 90261d1f55
commit 4c344e0636
5 changed files with 255 additions and 184 deletions
+17 -16
View File
@@ -25,12 +25,6 @@
],
"siliconflow": [
"xxxxxxx"
],
"dashscope": [
"sk-1234567890"
],
"qwen": [
"sk-1234567890",
]
},
"requester": {
@@ -46,16 +40,6 @@
},
"timeout": 120
},
"dashscope-chat-applications": {
"args": {},
"base-url": "https://dashscope.aliyuncs.com/api/v1",
"timeout": 120
},
"qwen-chat-completions": {
"base-url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"args": {},
"timeout": 120
},
"moonshot-chat-completions": {
"base-url": "https://api.moonshot.cn/v1",
"args": {},
@@ -119,5 +103,22 @@
"output-key": "summary",
"timeout": 120
}
},
"dashscope-service-api": {
"agent": {
"api-key": "sk-1234567890",
"app-id": "Your_app_id",
"references_quote": "参考资料来自:"
},
"app-type": "agent",
"workflow": {
"api-key": "sk-1234567890",
"app-id": "Your_app_id",
"references_quote": "参考资料来自:",
"biz_params": {
"city": "北京",
"date": "2023-08-10"
}
}
}
}