update openai assistant marketplace template

This commit is contained in:
Henry 2024-02-29 19:01:02 +08:00
parent 3c0b543407
commit 79812a23e4
1 changed files with 73 additions and 76 deletions

View File

@ -5,12 +5,10 @@
"badge": "NEW", "badge": "NEW",
"nodes": [ "nodes": [
{ {
"width": 300,
"height": 327,
"id": "openAIAssistant_0", "id": "openAIAssistant_0",
"position": { "position": {
"x": 895.3722263184736, "x": 1237.914576178543,
"y": 118.50795801755544 "y": 140
}, },
"type": "customNode", "type": "customNode",
"data": { "data": {
@ -60,33 +58,36 @@
], ],
"inputs": { "inputs": {
"selectedAssistant": "", "selectedAssistant": "",
"tools": ["{{calculator_0.data.instance}}", "{{serper_0.data.instance}}", "{{customTool_0.data.instance}}"] "tools": ["{{calculator_0.data.instance}}", "{{serper_0.data.instance}}", "{{customTool_0.data.instance}}"],
"inputModeration": "",
"disableFileDownload": ""
}, },
"outputAnchors": [ "outputAnchors": [
{ {
"id": "openAIAssistant_0-output-openAIAssistant-OpenAIAssistant", "id": "openAIAssistant_0-output-openAIAssistant-OpenAIAssistant",
"name": "openAIAssistant", "name": "openAIAssistant",
"label": "OpenAIAssistant", "label": "OpenAIAssistant",
"description": "An agent that uses OpenAI Assistant API to pick the tool and args to call",
"type": "OpenAIAssistant" "type": "OpenAIAssistant"
} }
], ],
"outputs": {}, "outputs": {},
"selected": false "selected": false
}, },
"width": 300,
"height": 419,
"selected": false, "selected": false,
"dragging": false, "dragging": false,
"positionAbsolute": { "positionAbsolute": {
"x": 895.3722263184736, "x": 1237.914576178543,
"y": 118.50795801755544 "y": 140
} }
}, },
{ {
"width": 300,
"height": 143,
"id": "calculator_0", "id": "calculator_0",
"position": { "position": {
"x": 454.74423492660145, "x": 854.0341531341463,
"y": -56.08375600705064 "y": 48.134746169036475
}, },
"type": "customNode", "type": "customNode",
"data": { "data": {
@ -106,26 +107,75 @@
"id": "calculator_0-output-calculator-Calculator|Tool|StructuredTool|Runnable", "id": "calculator_0-output-calculator-Calculator|Tool|StructuredTool|Runnable",
"name": "calculator", "name": "calculator",
"label": "Calculator", "label": "Calculator",
"description": "Perform calculations on response",
"type": "Calculator | Tool | StructuredTool | Runnable" "type": "Calculator | Tool | StructuredTool | Runnable"
} }
], ],
"outputs": {}, "outputs": {},
"selected": false "selected": false
}, },
"width": 300,
"height": 142,
"selected": false, "selected": false,
"positionAbsolute": { "positionAbsolute": {
"x": 454.74423492660145, "x": 854.0341531341463,
"y": -56.08375600705064 "y": 48.134746169036475
}, },
"dragging": false "dragging": false
}, },
{ {
"id": "serper_0",
"position": {
"x": 852.623106275503,
"y": 205.46647090775525
},
"type": "customNode",
"data": {
"id": "serper_0",
"label": "Serper",
"version": 1,
"name": "serper",
"type": "Serper",
"baseClasses": ["Serper", "Tool", "StructuredTool", "Runnable"],
"category": "Tools",
"description": "Wrapper around Serper.dev - Google Search API",
"inputParams": [
{
"label": "Connect Credential",
"name": "credential",
"type": "credential",
"credentialNames": ["serperApi"],
"id": "serper_0-input-credential-credential"
}
],
"inputAnchors": [],
"inputs": {},
"outputAnchors": [
{
"id": "serper_0-output-serper-Serper|Tool|StructuredTool|Runnable",
"name": "serper",
"label": "Serper",
"description": "Wrapper around Serper.dev - Google Search API",
"type": "Serper | Tool | StructuredTool | Runnable"
}
],
"outputs": {},
"selected": false
},
"width": 300, "width": 300,
"height": 277, "height": 276,
"selected": false,
"positionAbsolute": {
"x": 852.623106275503,
"y": 205.46647090775525
},
"dragging": false
},
{
"id": "customTool_0", "id": "customTool_0",
"position": { "position": {
"x": 454.43871855431365, "x": 850.6759101766447,
"y": 401.2171774551178 "y": 496.68759375469654
}, },
"type": "customNode", "type": "customNode",
"data": { "data": {
@ -155,63 +205,19 @@
"id": "customTool_0-output-customTool-CustomTool|Tool|StructuredTool|Runnable", "id": "customTool_0-output-customTool-CustomTool|Tool|StructuredTool|Runnable",
"name": "customTool", "name": "customTool",
"label": "CustomTool", "label": "CustomTool",
"description": "Use custom tool you've created in Flowise within chatflow",
"type": "CustomTool | Tool | StructuredTool | Runnable" "type": "CustomTool | Tool | StructuredTool | Runnable"
} }
], ],
"outputs": {}, "outputs": {},
"selected": false "selected": false
}, },
"selected": false,
"positionAbsolute": {
"x": 454.43871855431365,
"y": 401.2171774551178
},
"dragging": false
},
{
"width": 300, "width": 300,
"height": 277, "height": 276,
"id": "serper_0",
"position": {
"x": 452.2514874331948,
"y": 99.6087116015905
},
"type": "customNode",
"data": {
"id": "serper_0",
"label": "Serper",
"version": 1,
"name": "serper",
"type": "Serper",
"baseClasses": ["Serper", "Tool", "StructuredTool", "Runnable"],
"category": "Tools",
"description": "Wrapper around Serper.dev - Google Search API",
"inputParams": [
{
"label": "Connect Credential",
"name": "credential",
"type": "credential",
"credentialNames": ["serperApi"],
"id": "serper_0-input-credential-credential"
}
],
"inputAnchors": [],
"inputs": {},
"outputAnchors": [
{
"id": "serper_0-output-serper-Serper|Tool|StructuredTool|Runnable",
"name": "serper",
"label": "Serper",
"type": "Serper | Tool | StructuredTool | Runnable"
}
],
"outputs": {},
"selected": false
},
"selected": false, "selected": false,
"positionAbsolute": { "positionAbsolute": {
"x": 452.2514874331948, "x": 850.6759101766447,
"y": 99.6087116015905 "y": 496.68759375469654
}, },
"dragging": false "dragging": false
} }
@ -223,10 +229,7 @@
"target": "openAIAssistant_0", "target": "openAIAssistant_0",
"targetHandle": "openAIAssistant_0-input-tools-Tool", "targetHandle": "openAIAssistant_0-input-tools-Tool",
"type": "buttonedge", "type": "buttonedge",
"id": "calculator_0-calculator_0-output-calculator-Calculator|Tool|StructuredTool|Runnable-openAIAssistant_0-openAIAssistant_0-input-tools-Tool", "id": "calculator_0-calculator_0-output-calculator-Calculator|Tool|StructuredTool|Runnable-openAIAssistant_0-openAIAssistant_0-input-tools-Tool"
"data": {
"label": ""
}
}, },
{ {
"source": "serper_0", "source": "serper_0",
@ -234,10 +237,7 @@
"target": "openAIAssistant_0", "target": "openAIAssistant_0",
"targetHandle": "openAIAssistant_0-input-tools-Tool", "targetHandle": "openAIAssistant_0-input-tools-Tool",
"type": "buttonedge", "type": "buttonedge",
"id": "serper_0-serper_0-output-serper-Serper|Tool|StructuredTool|Runnable-openAIAssistant_0-openAIAssistant_0-input-tools-Tool", "id": "serper_0-serper_0-output-serper-Serper|Tool|StructuredTool|Runnable-openAIAssistant_0-openAIAssistant_0-input-tools-Tool"
"data": {
"label": ""
}
}, },
{ {
"source": "customTool_0", "source": "customTool_0",
@ -245,10 +245,7 @@
"target": "openAIAssistant_0", "target": "openAIAssistant_0",
"targetHandle": "openAIAssistant_0-input-tools-Tool", "targetHandle": "openAIAssistant_0-input-tools-Tool",
"type": "buttonedge", "type": "buttonedge",
"id": "customTool_0-customTool_0-output-customTool-CustomTool|Tool|StructuredTool|Runnable-openAIAssistant_0-openAIAssistant_0-input-tools-Tool", "id": "customTool_0-customTool_0-output-customTool-CustomTool|Tool|StructuredTool|Runnable-openAIAssistant_0-openAIAssistant_0-input-tools-Tool"
"data": {
"label": ""
}
} }
] ]
} }