mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 08:46:02 +00:00
@@ -111,5 +111,21 @@
|
||||
"output-key": "summary",
|
||||
"timeout": 120
|
||||
}
|
||||
},
|
||||
"dashscope-app-api": {
|
||||
"app-type": "agent",
|
||||
"api-key": "sk-1234567890",
|
||||
"agent": {
|
||||
"app-id": "Your_app_id",
|
||||
"references_quote": "参考资料来自:"
|
||||
},
|
||||
"workflow": {
|
||||
"app-id": "Your_app_id",
|
||||
"references_quote": "参考资料来自:",
|
||||
"biz_params": {
|
||||
"city": "北京",
|
||||
"date": "2023-08-10"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -425,6 +425,59 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dashscope-app-api": {
|
||||
"type": "object",
|
||||
"title": "阿里百炼平台自建应用 API 配置",
|
||||
"properties": {
|
||||
"app-type": {
|
||||
"type": "string",
|
||||
"title": "应用类型",
|
||||
"description": "支持 workflow 和 agent,workflow:智能体编排;agent:普通智能体;请填写下方对应的应用类型 API 参数",
|
||||
"enum": ["workflow", "agent"],
|
||||
"default": "agent"
|
||||
},
|
||||
"api-key": {
|
||||
"type": "string",
|
||||
"title": "API 密钥"
|
||||
},
|
||||
"agent": {
|
||||
"type": "object",
|
||||
"title": "Agent API 参数",
|
||||
"properties": {
|
||||
"app-id": {
|
||||
"type": "string",
|
||||
"title": "应用 ID"
|
||||
},
|
||||
"references_quote": {
|
||||
"type": "string",
|
||||
"title": "参考资料引用",
|
||||
"description": "设置参考资料引用,用于从 Dashscope App API 结束节点返回的 JSON 数据中提取引用内容",
|
||||
"default": "参考资料来自:"
|
||||
}
|
||||
}
|
||||
},
|
||||
"workflow": {
|
||||
"type": "object",
|
||||
"title": "工作流 API 参数",
|
||||
"properties": {
|
||||
"app-id": {
|
||||
"type": "string",
|
||||
"title": "应用 ID"
|
||||
},
|
||||
"references_quote": {
|
||||
"type": "string",
|
||||
"title": "参考资料引用",
|
||||
"default": "参考资料来自:"
|
||||
},
|
||||
"biz_params": {
|
||||
"type": "object",
|
||||
"title": "传入参数",
|
||||
"default": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user