langchain_retrieverWorkflow.json•2.36 kB
{
"nodeType": "@n8n/n8n-nodes-langchain.retrieverWorkflow",
"displayName": "Workflow Retriever",
"description": "Use an n8n Workflow as Retriever",
"version": [
1,
1.1
],
"properties": [
{
"name": "executeNotice",
"displayName": "The workflow will receive \"query\" as input and the output of the last node will be returned and converted to Documents",
"type": "notice",
"default": ""
},
{
"name": "source",
"displayName": "Source",
"type": "options",
"default": "database",
"description": "Load the workflow from the database by ID",
"options": [
{
"name": "Database",
"value": "database",
"description": "Load the workflow from the database by ID"
},
{
"name": "Parameter",
"value": "parameter",
"description": "Load the workflow from a parameter"
}
]
},
{
"name": "workflowId",
"displayName": "Workflow ID",
"type": "string",
"default": "",
"description": "The workflow to execute",
"required": true,
"displayOptions": "{\n\t\t\t\t\tshow: {\n\t\t\t\t\t\tsource: ['database'],\n\t\t\t\t\t\t'@version': [{ _cnd: { eq: 1 }"
},
{
"name": "workflowJson",
"displayName": "Workflow JSON",
"type": "json",
"default": "\\n\\n\\n",
"description": "The workflow JSON code to execute",
"required": true,
"typeOptions": {
"rows": 10
},
"displayOptions": {
"show": {
"source": [
"parameter"
]
}
}
},
{
"name": "fields",
"displayName": "Workflow Values",
"type": "fixedCollection",
"default": {},
"description": "Set the values which should be made available in the workflow",
"placeholder": "Add Value",
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"show": {
"type": [
"stringValue"
]
}
}
}
],
"credentialsConfig": [],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}