mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
Some checks are pending
Deploy doc image to cf / deploy-production (push) Waiting to run
Deploy doc image by kubeconfig / build-fastgpt-docs-images (push) Waiting to run
Deploy doc image by kubeconfig / update-docs-image (push) Blocked by required conditions
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
* node versions add keep the latest option (#4899) * node versions add keep the latest option * i18n * perf: version code * fix: ts * hide system version * hide system version * hide system version * fix: ts * fix: ts --------- Co-authored-by: heheer <heheer@sealos.io>
386 lines
11 KiB
JSON
386 lines
11 KiB
JSON
{
|
||
"author": "",
|
||
"name": "企业微信 webhook",
|
||
"avatar": "plugins/qiwei",
|
||
"intro": "向企业微信机器人发起 webhook 请求。只能内部群使用。",
|
||
"courseUrl": "https://developer.work.weixin.qq.com/document/path/91770",
|
||
"showStatus": false,
|
||
"weight": 10,
|
||
"isTool": true,
|
||
"templateType": "communication",
|
||
"workflow": {
|
||
"nodes": [
|
||
{
|
||
"nodeId": "pluginInput",
|
||
"name": "插件开始",
|
||
"intro": "自定义配置外部输入,使用插件时,仅暴露自定义配置的输入",
|
||
"avatar": "core/workflow/template/workflowStart",
|
||
"flowNodeType": "pluginInput",
|
||
"showStatus": false,
|
||
"position": {
|
||
"x": 537.6357458754286,
|
||
"y": -201.26482361861054
|
||
},
|
||
"version": "481",
|
||
"inputs": [
|
||
{
|
||
"inputType": "input",
|
||
"valueType": "string",
|
||
"key": "企微机器人地址",
|
||
"label": "企微机器人地址",
|
||
"description": "",
|
||
"isToolInput": false,
|
||
"defaultValue": "",
|
||
"editField": {
|
||
"key": true
|
||
},
|
||
"dynamicParamDefaultValue": {
|
||
"inputType": "reference",
|
||
"valueType": "string",
|
||
"required": true
|
||
},
|
||
"renderTypeList": ["input"],
|
||
"required": true,
|
||
"canEdit": true,
|
||
"value": ""
|
||
},
|
||
{
|
||
"key": "发送的消息",
|
||
"valueType": "string",
|
||
"label": "发送的消息",
|
||
"renderTypeList": ["input", "reference"],
|
||
"required": true,
|
||
"description": "发送的消息",
|
||
"canEdit": true,
|
||
"value": "",
|
||
"editField": {
|
||
"key": true
|
||
},
|
||
"dynamicParamDefaultValue": {
|
||
"inputType": "reference",
|
||
"valueType": "string",
|
||
"required": true
|
||
},
|
||
"list": [],
|
||
"defaultValue": "",
|
||
"toolDescription": "发送的消息"
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"id": "mv52BrPVE6bm",
|
||
"key": "企微机器人地址",
|
||
"valueType": "string",
|
||
"label": "企微机器人地址",
|
||
"type": "static"
|
||
},
|
||
{
|
||
"id": "p0m68Dv5KaIp",
|
||
"key": "发送的消息",
|
||
"valueType": "string",
|
||
"label": "发送的消息",
|
||
"type": "static"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"nodeId": "pluginOutput",
|
||
"name": "插件输出",
|
||
"intro": "自定义配置外部输出,使用插件时,仅暴露自定义配置的输出",
|
||
"avatar": "core/workflow/template/pluginOutput",
|
||
"flowNodeType": "pluginOutput",
|
||
"showStatus": false,
|
||
"position": {
|
||
"x": 1776.027569211593,
|
||
"y": -58.264823618610535
|
||
},
|
||
"version": "481",
|
||
"inputs": [],
|
||
"outputs": []
|
||
},
|
||
{
|
||
"nodeId": "rKBYGQuYefae",
|
||
"name": "HTTP 请求",
|
||
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
|
||
"avatar": "core/workflow/template/httpRequest",
|
||
"flowNodeType": "httpRequest468",
|
||
"showStatus": true,
|
||
"position": {
|
||
"x": 1069.7228495148624,
|
||
"y": -392.26482361861054
|
||
},
|
||
"version": "481",
|
||
"inputs": [
|
||
{
|
||
"key": "system_addInputParam",
|
||
"renderTypeList": ["addInputParam"],
|
||
"valueType": "dynamic",
|
||
"label": "",
|
||
"required": false,
|
||
"description": "common:core.module.input.description.HTTP Dynamic Input",
|
||
"customInputConfig": {
|
||
"selectValueTypeList": [
|
||
"string",
|
||
"number",
|
||
"boolean",
|
||
"object",
|
||
"arrayString",
|
||
"arrayNumber",
|
||
"arrayBoolean",
|
||
"arrayObject",
|
||
"arrayAny",
|
||
"any",
|
||
"chatHistory",
|
||
"datasetQuote",
|
||
"dynamic",
|
||
"selectApp",
|
||
"selectDataset"
|
||
],
|
||
"showDescription": false,
|
||
"showDefaultValue": true
|
||
},
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "system_httpMethod",
|
||
"renderTypeList": ["custom"],
|
||
"valueType": "string",
|
||
"label": "",
|
||
"value": "POST",
|
||
"required": true,
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "system_httpTimeout",
|
||
"renderTypeList": ["custom"],
|
||
"valueType": "number",
|
||
"label": "",
|
||
"value": 30,
|
||
"min": 5,
|
||
"max": 600,
|
||
"required": true,
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "system_httpReqUrl",
|
||
"renderTypeList": ["hidden"],
|
||
"valueType": "string",
|
||
"label": "",
|
||
"description": "common:core.module.input.description.Http Request Url",
|
||
"placeholder": "https://api.ai.com/getInventory",
|
||
"required": false,
|
||
"value": "{{url}}",
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "system_httpHeader",
|
||
"renderTypeList": ["custom"],
|
||
"valueType": "any",
|
||
"value": [],
|
||
"label": "",
|
||
"description": "common:core.module.input.description.Http Request Header",
|
||
"placeholder": "common:core.module.input.description.Http Request Header",
|
||
"required": false,
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "system_httpParams",
|
||
"renderTypeList": ["hidden"],
|
||
"valueType": "any",
|
||
"value": [],
|
||
"label": "",
|
||
"required": false,
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "system_httpJsonBody",
|
||
"renderTypeList": ["hidden"],
|
||
"valueType": "any",
|
||
"value": "{\r\n \"msgtype\": \"text\",\r\n \"text\": {\r\n \"content\": \"{{text}}\"\r\n }\r\n}",
|
||
"label": "",
|
||
"required": false,
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "system_httpFormBody",
|
||
"renderTypeList": ["hidden"],
|
||
"valueType": "any",
|
||
"value": [],
|
||
"label": "",
|
||
"required": false,
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "system_httpContentType",
|
||
"renderTypeList": ["hidden"],
|
||
"valueType": "string",
|
||
"value": "json",
|
||
"label": "",
|
||
"required": false,
|
||
"debugLabel": "",
|
||
"toolDescription": ""
|
||
},
|
||
{
|
||
"key": "text",
|
||
"valueType": "string",
|
||
"label": "text",
|
||
"renderTypeList": ["reference"],
|
||
"description": "",
|
||
"canEdit": true,
|
||
"editField": {
|
||
"key": true,
|
||
"valueType": true
|
||
},
|
||
"value": ["pluginInput", "p0m68Dv5KaIp"],
|
||
"customInputConfig": {
|
||
"selectValueTypeList": [
|
||
"string",
|
||
"number",
|
||
"boolean",
|
||
"object",
|
||
"arrayString",
|
||
"arrayNumber",
|
||
"arrayBoolean",
|
||
"arrayObject",
|
||
"arrayAny",
|
||
"any",
|
||
"chatHistory",
|
||
"datasetQuote",
|
||
"dynamic",
|
||
"selectApp",
|
||
"selectDataset"
|
||
],
|
||
"showDescription": false,
|
||
"showDefaultValue": true
|
||
}
|
||
},
|
||
{
|
||
"key": "url",
|
||
"valueType": "string",
|
||
"label": "url",
|
||
"renderTypeList": ["reference"],
|
||
"description": "",
|
||
"canEdit": true,
|
||
"editField": {
|
||
"key": true,
|
||
"valueType": true
|
||
},
|
||
"value": ["pluginInput", "mv52BrPVE6bm"],
|
||
"customInputConfig": {
|
||
"selectValueTypeList": [
|
||
"string",
|
||
"number",
|
||
"boolean",
|
||
"object",
|
||
"arrayString",
|
||
"arrayNumber",
|
||
"arrayBoolean",
|
||
"arrayObject",
|
||
"arrayAny",
|
||
"any",
|
||
"chatHistory",
|
||
"datasetQuote",
|
||
"dynamic",
|
||
"selectApp",
|
||
"selectDataset"
|
||
],
|
||
"showDescription": false,
|
||
"showDefaultValue": true
|
||
}
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"id": "error",
|
||
"key": "error",
|
||
"label": "workflow:request_error",
|
||
"description": "HTTP请求错误信息,成功时返回空",
|
||
"valueType": "object",
|
||
"type": "static"
|
||
},
|
||
{
|
||
"id": "httpRawResponse",
|
||
"key": "httpRawResponse",
|
||
"required": true,
|
||
"label": "workflow:raw_response",
|
||
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
|
||
"valueType": "any",
|
||
"type": "static"
|
||
},
|
||
{
|
||
"id": "system_addOutputParam",
|
||
"key": "system_addOutputParam",
|
||
"type": "dynamic",
|
||
"valueType": "dynamic",
|
||
"label": "",
|
||
"editField": {
|
||
"key": true,
|
||
"valueType": true
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"nodeId": "q3ccNXiZIHoS",
|
||
"name": "系统配置",
|
||
"intro": "",
|
||
"avatar": "core/workflow/template/systemConfig",
|
||
"flowNodeType": "pluginConfig",
|
||
"position": {
|
||
"x": 99.73879703925843,
|
||
"y": -201.26482361861054
|
||
},
|
||
"version": "4811",
|
||
"inputs": [],
|
||
"outputs": []
|
||
}
|
||
],
|
||
"edges": [
|
||
{
|
||
"source": "pluginInput",
|
||
"target": "rKBYGQuYefae",
|
||
"sourceHandle": "pluginInput-source-right",
|
||
"targetHandle": "rKBYGQuYefae-target-left"
|
||
},
|
||
{
|
||
"source": "rKBYGQuYefae",
|
||
"target": "pluginOutput",
|
||
"sourceHandle": "rKBYGQuYefae-source-right",
|
||
"targetHandle": "pluginOutput-target-left"
|
||
}
|
||
],
|
||
"chatConfig": {
|
||
"welcomeText": "",
|
||
"variables": [],
|
||
"questionGuide": false,
|
||
"ttsConfig": {
|
||
"type": "web"
|
||
},
|
||
"whisperConfig": {
|
||
"open": false,
|
||
"autoSend": false,
|
||
"autoTTSResponse": false
|
||
},
|
||
"chatInputGuide": {
|
||
"open": false,
|
||
"textList": [],
|
||
"customUrl": ""
|
||
},
|
||
"instruction": "",
|
||
"autoExecute": {
|
||
"open": false,
|
||
"defaultPrompt": ""
|
||
},
|
||
"_id": "6710a5619c45325525326719"
|
||
}
|
||
}
|
||
}
|