@n8n/n8n-nodes-langchain 2.46.1 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/known/credentials.json +1 -27
- package/dist/known/nodes.json +0 -84
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +0 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.schema.js +5 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.ts +13 -65
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.schema.js +5 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.ts +13 -65
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.schema.js +5 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.ts +13 -65
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.schema.js +4 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.ts +13 -70
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.schema.js +4 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.ts +13 -70
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.schema.js +4 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.ts +13 -70
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.schema.js +4 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.ts +13 -70
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.schema.js +4 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.ts +13 -70
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.schema.js +4 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.ts +13 -70
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.schema.js +4 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.ts +13 -70
- package/dist/nodes/Guardrails/helpers/configureNodeInputs.js +0 -2
- package/dist/nodes/Guardrails/helpers/configureNodeInputs.js.map +1 -1
- package/dist/nodes/agents/Agent/Agent.node.js +10 -11
- package/dist/nodes/agents/Agent/Agent.node.js.map +1 -1
- package/dist/nodes/agents/Agent/V2/AgentToolV2.node.js +1 -1
- package/dist/nodes/agents/Agent/V2/AgentToolV2.node.js.map +1 -1
- package/dist/nodes/agents/Agent/V2/AgentV2.node.js +3 -2
- package/dist/nodes/agents/Agent/V2/AgentV2.node.js.map +1 -1
- package/dist/nodes/agents/Agent/V2/utils.js +0 -2
- package/dist/nodes/agents/Agent/V2/utils.js.map +1 -1
- package/dist/nodes/agents/Agent/V3/AgentToolV3.node.js +1 -1
- package/dist/nodes/agents/Agent/V3/AgentToolV3.node.js.map +1 -1
- package/dist/nodes/agents/Agent/V3/AgentV3.node.js +1 -1
- package/dist/nodes/agents/Agent/V3/AgentV3.node.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/utils.d.ts +1 -6
- package/dist/nodes/agents/Agent/agents/utils.js +0 -20
- package/dist/nodes/agents/Agent/agents/utils.js.map +1 -1
- package/dist/nodes/agents/Agent/utils.d.ts +2 -1
- package/dist/nodes/agents/Agent/utils.js +23 -2
- package/dist/nodes/agents/Agent/utils.js.map +1 -1
- package/dist/nodes/chains/ChainSummarization/V1/ChainSummarizationV1.node.js +1 -1
- package/dist/nodes/chains/ChainSummarization/V1/ChainSummarizationV1.node.js.map +1 -1
- package/dist/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.js +1 -1
- package/dist/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.js.map +1 -1
- package/dist/nodes/mcp/McpClientTool/utils.js +1 -1
- package/dist/nodes/mcp/McpClientTool/utils.js.map +1 -1
- package/dist/nodes/mcp/shared/runtime.js +14 -1
- package/dist/nodes/mcp/shared/runtime.js.map +1 -1
- package/dist/nodes/memory/MemoryXata/MemoryXata.node.js +0 -1
- package/dist/nodes/memory/MemoryXata/MemoryXata.node.js.map +1 -1
- package/dist/nodes/vendors/Microsoft/langchain-utils.js +1 -1
- package/dist/nodes/vendors/Microsoft/langchain-utils.js.map +1 -1
- package/dist/nodes/{agents/Agent/agents/ConversationalAgent → vendors/Microsoft}/prompt.d.ts +0 -1
- package/dist/nodes/{agents/Agent/agents/ConversationalAgent → vendors/Microsoft}/prompt.js +1 -14
- package/dist/nodes/vendors/Microsoft/prompt.js.map +1 -0
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +1 -4
- package/dist/types/nodes.json +11 -33
- package/dist/utils/agent-execution/createEngineRequests.js +13 -1
- package/dist/utils/agent-execution/createEngineRequests.js.map +1 -1
- package/dist/utils/agent-execution/executeEngineAction.d.ts +1 -1
- package/dist/utils/agent-execution/executeEngineAction.js +10 -1
- package/dist/utils/agent-execution/executeEngineAction.js.map +1 -1
- package/dist/utils/agent-execution/index.d.ts +1 -0
- package/dist/utils/agent-execution/index.js +3 -1
- package/dist/utils/agent-execution/index.js.map +1 -1
- package/dist/utils/agent-execution/processHitlResponses.js +3 -2
- package/dist/utils/agent-execution/processHitlResponses.js.map +1 -1
- package/dist/utils/agent-execution/types.d.ts +2 -0
- package/dist/utils/agent-execution/types.js +2 -0
- package/dist/utils/agent-execution/types.js.map +1 -1
- package/dist/utils/helpers.js +0 -2
- package/dist/utils/helpers.js.map +1 -1
- package/package.json +13 -45
- package/dist/credentials/MotorheadApi.credentials.d.ts +0 -9
- package/dist/credentials/MotorheadApi.credentials.js +0 -49
- package/dist/credentials/MotorheadApi.credentials.js.map +0 -1
- package/dist/credentials/SerpApi.credentials.d.ts +0 -9
- package/dist/credentials/SerpApi.credentials.js +0 -42
- package/dist/credentials/SerpApi.credentials.js.map +0 -1
- package/dist/credentials/ZepApi.credentials.d.ts +0 -9
- package/dist/credentials/ZepApi.credentials.js +0 -61
- package/dist/credentials/ZepApi.credentials.js.map +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/index.ts +0 -20
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/index.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/index.ts +0 -21
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_insert.schema.js +0 -29
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_insert.ts +0 -60
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_load.schema.js +0 -35
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_load.ts +0 -93
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_retrieve.schema.js +0 -32
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_retrieve.ts +0 -84
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_retrieve_as_tool.schema.js +0 -36
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_retrieve_as_tool.ts +0 -107
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/index.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/index.ts +0 -21
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_insert.schema.js +0 -30
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_insert.ts +0 -65
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_load.schema.js +0 -35
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_load.ts +0 -93
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_retrieve.schema.js +0 -32
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_retrieve.ts +0 -84
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_retrieve_as_tool.schema.js +0 -36
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_retrieve_as_tool.ts +0 -107
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/index.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/index.ts +0 -21
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_insert.schema.js +0 -30
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_insert.ts +0 -65
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_load.schema.js +0 -35
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_load.ts +0 -93
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_retrieve.schema.js +0 -32
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_retrieve.ts +0 -84
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_retrieve_as_tool.schema.js +0 -36
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_retrieve_as_tool.ts +0 -107
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/index.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/index.ts +0 -21
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_insert.schema.js +0 -30
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_insert.ts +0 -65
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_load.schema.js +0 -35
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_load.ts +0 -93
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_retrieve.schema.js +0 -32
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_retrieve.ts +0 -84
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_retrieve_as_tool.schema.js +0 -35
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_retrieve_as_tool.ts +0 -103
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/index.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/index.ts +0 -21
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_insert.schema.js +0 -30
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_insert.ts +0 -65
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_load.schema.js +0 -35
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_load.ts +0 -93
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve.schema.js +0 -32
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve.ts +0 -84
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve_as_tool.schema.js +0 -35
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve_as_tool.ts +0 -103
- package/dist/nodes/agents/Agent/V1/AgentV1.node.d.ts +0 -6
- package/dist/nodes/agents/Agent/V1/AgentV1.node.js +0 -422
- package/dist/nodes/agents/Agent/V1/AgentV1.node.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.js +0 -220
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/execute.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/execute.js +0 -96
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/execute.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/prompt.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.js +0 -210
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/execute.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/execute.js +0 -8
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/execute.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/prompt.d.ts +0 -1
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/prompt.js +0 -5
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/prompt.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.js +0 -196
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.js +0 -79
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/prompt.d.ts +0 -1
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/prompt.js +0 -11
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/prompt.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/ReActAgent/description.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/ReActAgent/description.js +0 -240
- package/dist/nodes/agents/Agent/agents/ReActAgent/description.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/ReActAgent/execute.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/ReActAgent/execute.js +0 -102
- package/dist/nodes/agents/Agent/agents/ReActAgent/execute.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/ReActAgent/prompt.d.ts +0 -4
- package/dist/nodes/agents/Agent/agents/ReActAgent/prompt.js +0 -11
- package/dist/nodes/agents/Agent/agents/ReActAgent/prompt.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/description.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/SqlAgent/description.js +0 -329
- package/dist/nodes/agents/Agent/agents/SqlAgent/description.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/execute.d.ts +0 -3
- package/dist/nodes/agents/Agent/agents/SqlAgent/execute.js +0 -169
- package/dist/nodes/agents/Agent/agents/SqlAgent/execute.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/mysql.d.ts +0 -3
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/mysql.js +0 -20
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/mysql.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/postgres.d.ts +0 -3
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/postgres.js +0 -21
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/postgres.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/sqlite.d.ts +0 -3
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/sqlite.js +0 -72
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/handlers/sqlite.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/prompts.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/prompts.js +0 -23
- package/dist/nodes/agents/Agent/agents/SqlAgent/other/prompts.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/description.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/description.js +0 -20
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/description.js.map +0 -1
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/execute.d.ts +0 -2
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/execute.js +0 -98
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/execute.js.map +0 -1
- package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.d.ts +0 -5
- package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js +0 -388
- package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js.map +0 -1
- package/dist/nodes/agents/OpenAiAssistant/utils.d.ts +0 -5
- package/dist/nodes/agents/OpenAiAssistant/utils.js +0 -35
- package/dist/nodes/agents/OpenAiAssistant/utils.js.map +0 -1
- package/dist/nodes/code/Code.node.d.ts +0 -10
- package/dist/nodes/code/Code.node.js +0 -381
- package/dist/nodes/code/Code.node.js.map +0 -1
- package/dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.d.ts +0 -7
- package/dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.js +0 -174
- package/dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.js.map +0 -1
- package/dist/nodes/document_loaders/DocumentBinaryInputLoader/binary.svg +0 -1
- package/dist/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.d.ts +0 -5
- package/dist/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.js +0 -170
- package/dist/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.js.map +0 -1
- package/dist/nodes/document_loaders/DocumentGithubLoader/github.svg +0 -1
- package/dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.d.ts +0 -5
- package/dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.js +0 -84
- package/dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.js.map +0 -1
- package/dist/nodes/document_loaders/DocumentJSONInputLoader/json.svg +0 -1
- package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.d.ts +0 -15
- package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.js +0 -247
- package/dist/nodes/llms/LMOpenAi/LmOpenAi.node.js.map +0 -1
- package/dist/nodes/llms/LMOpenAi/openAiLight.dark.svg +0 -3
- package/dist/nodes/llms/LMOpenAi/openAiLight.svg +0 -3
- package/dist/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.d.ts +0 -5
- package/dist/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.js +0 -93
- package/dist/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.js.map +0 -1
- package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.d.ts +0 -5
- package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js +0 -119
- package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js.map +0 -1
- package/dist/nodes/memory/MemoryZep/MemoryZep.node.d.ts +0 -5
- package/dist/nodes/memory/MemoryZep/MemoryZep.node.js +0 -151
- package/dist/nodes/memory/MemoryZep/MemoryZep.node.js.map +0 -1
- package/dist/nodes/memory/MemoryZep/zep.png +0 -0
- package/dist/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.d.ts +0 -5
- package/dist/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.js +0 -344
- package/dist/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.js.map +0 -1
- package/dist/nodes/tools/ToolHttpRequest/descriptions.d.ts +0 -7
- package/dist/nodes/tools/ToolHttpRequest/descriptions.js +0 -389
- package/dist/nodes/tools/ToolHttpRequest/descriptions.js.map +0 -1
- package/dist/nodes/tools/ToolHttpRequest/httprequest.dark.svg +0 -3
- package/dist/nodes/tools/ToolHttpRequest/httprequest.svg +0 -1
- package/dist/nodes/tools/ToolHttpRequest/interfaces.d.ts +0 -20
- package/dist/nodes/tools/ToolHttpRequest/interfaces.js +0 -3
- package/dist/nodes/tools/ToolHttpRequest/interfaces.js.map +0 -1
- package/dist/nodes/tools/ToolHttpRequest/utils.d.ts +0 -25
- package/dist/nodes/tools/ToolHttpRequest/utils.js +0 -671
- package/dist/nodes/tools/ToolHttpRequest/utils.js.map +0 -1
- package/dist/nodes/tools/ToolSerpApi/ToolSerpApi.node.d.ts +0 -6
- package/dist/nodes/tools/ToolSerpApi/ToolSerpApi.node.js +0 -143
- package/dist/nodes/tools/ToolSerpApi/ToolSerpApi.node.js.map +0 -1
- package/dist/nodes/tools/ToolSerpApi/serpApi.svg +0 -1
- package/dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.d.ts +0 -5
- package/dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.js +0 -67
- package/dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.d.ts +0 -5
- package/dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.js +0 -86
- package/dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.d.ts +0 -5
- package/dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.js +0 -65
- package/dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.d.ts +0 -11
- package/dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js +0 -113
- package/dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStorePineconeInsert/pinecone.svg +0 -1
- package/dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.d.ts +0 -11
- package/dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.js +0 -100
- package/dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStorePineconeLoad/pinecone.svg +0 -1
- package/dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.d.ts +0 -11
- package/dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.js +0 -103
- package/dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStoreSupabaseInsert/supabase.svg +0 -1
- package/dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.d.ts +0 -11
- package/dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.js +0 -96
- package/dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStoreSupabaseLoad/supabase.svg +0 -1
- package/dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.d.ts +0 -29
- package/dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.js +0 -130
- package/dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStoreZep/zep.png +0 -0
- package/dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.d.ts +0 -5
- package/dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.js +0 -122
- package/dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStoreZepInsert/zep.png +0 -0
- package/dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.d.ts +0 -5
- package/dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.js +0 -103
- package/dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.js.map +0 -1
- package/dist/nodes/vector_store/VectorStoreZepLoad/zep.png +0 -0
|
@@ -134,13 +134,6 @@
|
|
|
134
134
|
"mcpRegistryClientTool"
|
|
135
135
|
]
|
|
136
136
|
},
|
|
137
|
-
"motorheadApi": {
|
|
138
|
-
"className": "MotorheadApi",
|
|
139
|
-
"sourcePath": "dist/credentials/MotorheadApi.credentials.js",
|
|
140
|
-
"supportedNodes": [
|
|
141
|
-
"memoryMotorhead"
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
137
|
"milvusApi": {
|
|
145
138
|
"className": "MilvusApi",
|
|
146
139
|
"sourcePath": "dist/credentials/MilvusApi.credentials.js",
|
|
@@ -210,9 +203,7 @@
|
|
|
210
203
|
"className": "PineconeApi",
|
|
211
204
|
"sourcePath": "dist/credentials/PineconeApi.credentials.js",
|
|
212
205
|
"supportedNodes": [
|
|
213
|
-
"vectorStorePinecone"
|
|
214
|
-
"vectorStorePineconeInsert",
|
|
215
|
-
"vectorStorePineconeLoad"
|
|
206
|
+
"vectorStorePinecone"
|
|
216
207
|
]
|
|
217
208
|
},
|
|
218
209
|
"qdrantApi": {
|
|
@@ -229,13 +220,6 @@
|
|
|
229
220
|
"toolSearXng"
|
|
230
221
|
]
|
|
231
222
|
},
|
|
232
|
-
"serpApi": {
|
|
233
|
-
"className": "SerpApi",
|
|
234
|
-
"sourcePath": "dist/credentials/SerpApi.credentials.js",
|
|
235
|
-
"supportedNodes": [
|
|
236
|
-
"toolSerpApi"
|
|
237
|
-
]
|
|
238
|
-
},
|
|
239
223
|
"vercelAiGatewayApi": {
|
|
240
224
|
"className": "VercelAiGatewayApi",
|
|
241
225
|
"sourcePath": "dist/credentials/VercelAiGatewayApi.credentials.js",
|
|
@@ -271,16 +255,6 @@
|
|
|
271
255
|
"memoryXata"
|
|
272
256
|
]
|
|
273
257
|
},
|
|
274
|
-
"zepApi": {
|
|
275
|
-
"className": "ZepApi",
|
|
276
|
-
"sourcePath": "dist/credentials/ZepApi.credentials.js",
|
|
277
|
-
"supportedNodes": [
|
|
278
|
-
"memoryZep",
|
|
279
|
-
"vectorStoreZep",
|
|
280
|
-
"vectorStoreZepInsert",
|
|
281
|
-
"vectorStoreZepLoad"
|
|
282
|
-
]
|
|
283
|
-
},
|
|
284
258
|
"chatHubVectorStorePGVectorApi": {
|
|
285
259
|
"className": "ChatHubVectorStorePGVectorApi",
|
|
286
260
|
"sourcePath": "dist/credentials/ChatHubVectorStorePGVectorApi.credentials.js",
|
package/dist/known/nodes.json
CHANGED
|
@@ -43,10 +43,6 @@
|
|
|
43
43
|
"className": "AgentTool",
|
|
44
44
|
"sourcePath": "dist/nodes/agents/Agent/AgentTool.node.js"
|
|
45
45
|
},
|
|
46
|
-
"openAiAssistant": {
|
|
47
|
-
"className": "OpenAiAssistant",
|
|
48
|
-
"sourcePath": "dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js"
|
|
49
|
-
},
|
|
50
46
|
"chainSummarization": {
|
|
51
47
|
"className": "ChainSummarization",
|
|
52
48
|
"sourcePath": "dist/nodes/chains/ChainSummarization/ChainSummarization.node.js"
|
|
@@ -71,26 +67,10 @@
|
|
|
71
67
|
"className": "TextClassifier",
|
|
72
68
|
"sourcePath": "dist/nodes/chains/TextClassifier/TextClassifier.node.js"
|
|
73
69
|
},
|
|
74
|
-
"code": {
|
|
75
|
-
"className": "Code",
|
|
76
|
-
"sourcePath": "dist/nodes/code/Code.node.js"
|
|
77
|
-
},
|
|
78
70
|
"documentDefaultDataLoader": {
|
|
79
71
|
"className": "DocumentDefaultDataLoader",
|
|
80
72
|
"sourcePath": "dist/nodes/document_loaders/DocumentDefaultDataLoader/DocumentDefaultDataLoader.node.js"
|
|
81
73
|
},
|
|
82
|
-
"documentBinaryInputLoader": {
|
|
83
|
-
"className": "DocumentBinaryInputLoader",
|
|
84
|
-
"sourcePath": "dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.js"
|
|
85
|
-
},
|
|
86
|
-
"documentGithubLoader": {
|
|
87
|
-
"className": "DocumentGithubLoader",
|
|
88
|
-
"sourcePath": "dist/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.js"
|
|
89
|
-
},
|
|
90
|
-
"documentJsonInputLoader": {
|
|
91
|
-
"className": "DocumentJsonInputLoader",
|
|
92
|
-
"sourcePath": "dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.js"
|
|
93
|
-
},
|
|
94
74
|
"embeddingsCohere": {
|
|
95
75
|
"className": "EmbeddingsCohere",
|
|
96
76
|
"sourcePath": "dist/nodes/embeddings/EmbeddingsCohere/EmbeddingsCohere.node.js"
|
|
@@ -223,10 +203,6 @@
|
|
|
223
203
|
"className": "LmChatOpenAi",
|
|
224
204
|
"sourcePath": "dist/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.js"
|
|
225
205
|
},
|
|
226
|
-
"lmOpenAi": {
|
|
227
|
-
"className": "LmOpenAi",
|
|
228
|
-
"sourcePath": "dist/nodes/llms/LMOpenAi/LmOpenAi.node.js"
|
|
229
|
-
},
|
|
230
206
|
"lmCohere": {
|
|
231
207
|
"className": "LmCohere",
|
|
232
208
|
"sourcePath": "dist/nodes/llms/LMCohere/LmCohere.node.js"
|
|
@@ -267,10 +243,6 @@
|
|
|
267
243
|
"className": "MemoryLakebaseChat",
|
|
268
244
|
"sourcePath": "dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js"
|
|
269
245
|
},
|
|
270
|
-
"memoryMotorhead": {
|
|
271
|
-
"className": "MemoryMotorhead",
|
|
272
|
-
"sourcePath": "dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js"
|
|
273
|
-
},
|
|
274
246
|
"memoryPostgresChat": {
|
|
275
247
|
"className": "MemoryPostgresChat",
|
|
276
248
|
"sourcePath": "dist/nodes/memory/MemoryPostgresChat/MemoryPostgresChat.node.js"
|
|
@@ -287,18 +259,10 @@
|
|
|
287
259
|
"className": "MemoryManager",
|
|
288
260
|
"sourcePath": "dist/nodes/memory/MemoryManager/MemoryManager.node.js"
|
|
289
261
|
},
|
|
290
|
-
"memoryChatRetriever": {
|
|
291
|
-
"className": "MemoryChatRetriever",
|
|
292
|
-
"sourcePath": "dist/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.js"
|
|
293
|
-
},
|
|
294
262
|
"memoryXata": {
|
|
295
263
|
"className": "MemoryXata",
|
|
296
264
|
"sourcePath": "dist/nodes/memory/MemoryXata/MemoryXata.node.js"
|
|
297
265
|
},
|
|
298
|
-
"memoryZep": {
|
|
299
|
-
"className": "MemoryZep",
|
|
300
|
-
"sourcePath": "dist/nodes/memory/MemoryZep/MemoryZep.node.js"
|
|
301
|
-
},
|
|
302
266
|
"outputParserAutofixing": {
|
|
303
267
|
"className": "OutputParserAutofixing",
|
|
304
268
|
"sourcePath": "dist/nodes/output_parser/OutputParserAutofixing/OutputParserAutofixing.node.js"
|
|
@@ -351,18 +315,10 @@
|
|
|
351
315
|
"className": "ToolCode",
|
|
352
316
|
"sourcePath": "dist/nodes/tools/ToolCode/ToolCode.node.js"
|
|
353
317
|
},
|
|
354
|
-
"toolHttpRequest": {
|
|
355
|
-
"className": "ToolHttpRequest",
|
|
356
|
-
"sourcePath": "dist/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.js"
|
|
357
|
-
},
|
|
358
318
|
"toolSearXng": {
|
|
359
319
|
"className": "ToolSearXng",
|
|
360
320
|
"sourcePath": "dist/nodes/tools/ToolSearXng/ToolSearXng.node.js"
|
|
361
321
|
},
|
|
362
|
-
"toolSerpApi": {
|
|
363
|
-
"className": "ToolSerpApi",
|
|
364
|
-
"sourcePath": "dist/nodes/tools/ToolSerpApi/ToolSerpApi.node.js"
|
|
365
|
-
},
|
|
366
322
|
"toolThink": {
|
|
367
323
|
"className": "ToolThink",
|
|
368
324
|
"sourcePath": "dist/nodes/tools/ToolThink/ToolThink.node.js"
|
|
@@ -383,10 +339,6 @@
|
|
|
383
339
|
"className": "ToolWorkflow",
|
|
384
340
|
"sourcePath": "dist/nodes/tools/ToolWorkflow/ToolWorkflow.node.js"
|
|
385
341
|
},
|
|
386
|
-
"manualChatTrigger": {
|
|
387
|
-
"className": "ManualChatTrigger",
|
|
388
|
-
"sourcePath": "dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.js"
|
|
389
|
-
},
|
|
390
342
|
"chatTrigger": {
|
|
391
343
|
"className": "ChatTrigger",
|
|
392
344
|
"sourcePath": "dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js"
|
|
@@ -407,14 +359,6 @@
|
|
|
407
359
|
"className": "VectorStoreInMemory",
|
|
408
360
|
"sourcePath": "dist/nodes/vector_store/VectorStoreInMemory/VectorStoreInMemory.node.js"
|
|
409
361
|
},
|
|
410
|
-
"vectorStoreInMemoryInsert": {
|
|
411
|
-
"className": "VectorStoreInMemoryInsert",
|
|
412
|
-
"sourcePath": "dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.js"
|
|
413
|
-
},
|
|
414
|
-
"vectorStoreInMemoryLoad": {
|
|
415
|
-
"className": "VectorStoreInMemoryLoad",
|
|
416
|
-
"sourcePath": "dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.js"
|
|
417
|
-
},
|
|
418
362
|
"vectorStoreMilvus": {
|
|
419
363
|
"className": "VectorStoreMilvus",
|
|
420
364
|
"sourcePath": "dist/nodes/vector_store/VectorStoreMilvus/VectorStoreMilvus.node.js"
|
|
@@ -447,14 +391,6 @@
|
|
|
447
391
|
"className": "ChatHubVectorStorePinecone",
|
|
448
392
|
"sourcePath": "dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.js"
|
|
449
393
|
},
|
|
450
|
-
"vectorStorePineconeInsert": {
|
|
451
|
-
"className": "VectorStorePineconeInsert",
|
|
452
|
-
"sourcePath": "dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js"
|
|
453
|
-
},
|
|
454
|
-
"vectorStorePineconeLoad": {
|
|
455
|
-
"className": "VectorStorePineconeLoad",
|
|
456
|
-
"sourcePath": "dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.js"
|
|
457
|
-
},
|
|
458
394
|
"vectorStoreRedis": {
|
|
459
395
|
"className": "VectorStoreRedis",
|
|
460
396
|
"sourcePath": "dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.js"
|
|
@@ -467,30 +403,10 @@
|
|
|
467
403
|
"className": "VectorStoreSupabase",
|
|
468
404
|
"sourcePath": "dist/nodes/vector_store/VectorStoreSupabase/VectorStoreSupabase.node.js"
|
|
469
405
|
},
|
|
470
|
-
"vectorStoreSupabaseInsert": {
|
|
471
|
-
"className": "VectorStoreSupabaseInsert",
|
|
472
|
-
"sourcePath": "dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.js"
|
|
473
|
-
},
|
|
474
|
-
"vectorStoreSupabaseLoad": {
|
|
475
|
-
"className": "VectorStoreSupabaseLoad",
|
|
476
|
-
"sourcePath": "dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.js"
|
|
477
|
-
},
|
|
478
406
|
"vectorStoreWeaviate": {
|
|
479
407
|
"className": "VectorStoreWeaviate",
|
|
480
408
|
"sourcePath": "dist/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.js"
|
|
481
409
|
},
|
|
482
|
-
"vectorStoreZep": {
|
|
483
|
-
"className": "VectorStoreZep",
|
|
484
|
-
"sourcePath": "dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.js"
|
|
485
|
-
},
|
|
486
|
-
"vectorStoreZepInsert": {
|
|
487
|
-
"className": "VectorStoreZepInsert",
|
|
488
|
-
"sourcePath": "dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.js"
|
|
489
|
-
},
|
|
490
|
-
"vectorStoreZepLoad": {
|
|
491
|
-
"className": "VectorStoreZepLoad",
|
|
492
|
-
"sourcePath": "dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.js"
|
|
493
|
-
},
|
|
494
410
|
"vectorStoreChromaDB": {
|
|
495
411
|
"className": "VectorStoreChromaDB",
|
|
496
412
|
"sourcePath": "dist/nodes/vector_store/VectorStoreChromaDB/VectorStoreChromaDB.node.js"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3f3f7c01c229880af5140b7c677548009d797683dfd86e1ecb8e99847e8aee5b
|
|
@@ -110,7 +110,6 @@ import type { LcVectorStoreQdrantNode } from './nodes/n8n-nodes-langchain/vector
|
|
|
110
110
|
import type { LcVectorStoreRedisNode } from './nodes/n8n-nodes-langchain/vectorStoreRedis';
|
|
111
111
|
import type { LcVectorStoreSupabaseNode } from './nodes/n8n-nodes-langchain/vectorStoreSupabase';
|
|
112
112
|
import type { LcVectorStoreWeaviateNode } from './nodes/n8n-nodes-langchain/vectorStoreWeaviate';
|
|
113
|
-
import type { LcVectorStoreZepNode } from './nodes/n8n-nodes-langchain/vectorStoreZep';
|
|
114
113
|
|
|
115
114
|
// n8n-nodes-langchain
|
|
116
115
|
export * from './nodes/n8n-nodes-langchain/agent';
|
|
@@ -214,7 +213,6 @@ export * from './nodes/n8n-nodes-langchain/vectorStoreQdrant';
|
|
|
214
213
|
export * from './nodes/n8n-nodes-langchain/vectorStoreRedis';
|
|
215
214
|
export * from './nodes/n8n-nodes-langchain/vectorStoreSupabase';
|
|
216
215
|
export * from './nodes/n8n-nodes-langchain/vectorStoreWeaviate';
|
|
217
|
-
export * from './nodes/n8n-nodes-langchain/vectorStoreZep';
|
|
218
216
|
|
|
219
217
|
// Combined type union of node type strings
|
|
220
218
|
export type KnownNodeType =
|
|
@@ -316,7 +314,6 @@ export type KnownNodeType =
|
|
|
316
314
|
| '@n8n/n8n-nodes-langchain.vectorStoreQdrant'
|
|
317
315
|
| '@n8n/n8n-nodes-langchain.vectorStoreSupabase'
|
|
318
316
|
| '@n8n/n8n-nodes-langchain.vectorStoreWeaviate'
|
|
319
|
-
| '@n8n/n8n-nodes-langchain.vectorStoreZep'
|
|
320
317
|
| '@n8n/n8n-nodes-langchain.vectorStoreChromaDB'
|
|
321
318
|
| '@n8n/n8n-nodes-langchain.modelSelector'
|
|
322
319
|
| '@n8n/n8n-nodes-langchain.guardrails'
|
|
@@ -425,5 +422,4 @@ export type AllNodeTypes =
|
|
|
425
422
|
| LcVectorStoreRedisNode
|
|
426
423
|
| LcVectorStoreSupabaseNode
|
|
427
424
|
| LcVectorStoreWeaviateNode
|
|
428
|
-
| LcVectorStoreZepNode
|
|
429
425
|
;
|
|
@@ -18,18 +18,16 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
18
18
|
model: z.union([languageModelInstanceSchema, z.array(languageModelInstanceSchema)]),
|
|
19
19
|
memory: memoryInstanceSchema.optional(),
|
|
20
20
|
tools: z.array(toolInstanceSchema).optional(),
|
|
21
|
-
outputParser: resolveSchema({ parameters, schema: outputParserInstanceSchema, required: false, displayOptions: {"show":{"hasOutputParser":[true]}} }),
|
|
21
|
+
outputParser: resolveSchema({ parameters, schema: outputParserInstanceSchema, required: false, displayOptions: {"show":{"hasOutputParser":[true]}}, defaults: {"hasOutputParser":false} }),
|
|
22
22
|
}).strict();
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// Parameters schema
|
|
26
26
|
const parametersSchema = z.object({
|
|
27
|
-
|
|
28
|
-
text:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"sqlite"} }),
|
|
32
|
-
input: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
27
|
+
promptType: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]).optional(),
|
|
28
|
+
text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}}, defaults: {"promptType":"auto"} }),
|
|
29
|
+
hasOutputParser: z.boolean().optional(),
|
|
30
|
+
options: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), passthroughBinaryPdfs: booleanOrExpression.optional(), tracingMetadata: z.object({ values: z.array(z.object({ key: stringOrExpression.optional(), type: z.union([z.literal('arrayValue'), z.literal('booleanValue'), z.literal('numberValue'), z.literal('objectValue'), z.literal('stringValue'), expressionSchema]).optional(), stringValue: stringOrExpression.optional(), numberValue: stringOrExpression.optional(), booleanValue: z.union([z.literal('true'), z.literal('false'), expressionSchema]).optional(), arrayValue: stringOrExpression.optional(), objectValue: z.union([iDataObjectSchema, z.string()]).optional() })).optional() }).optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
|
|
33
31
|
});
|
|
34
32
|
|
|
35
33
|
// Return combined config schema
|
|
@@ -5,11 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export interface LcAgentV1Params {
|
|
8
|
-
|
|
9
|
-
* Agent
|
|
10
|
-
* @default conversationalAgent
|
|
11
|
-
*/
|
|
12
|
-
agent?: 'conversationalAgent' | 'openAiFunctionsAgent' | 'planAndExecuteAgent' | 'reActAgent' | 'sqlAgent';
|
|
8
|
+
promptType?: 'auto' | 'guardrails' | 'define' | Expression<string>;
|
|
13
9
|
/**
|
|
14
10
|
* Prompt (User Message)
|
|
15
11
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
@@ -18,9 +14,9 @@ export interface LcAgentV1Params {
|
|
|
18
14
|
* @required when the displayOptions conditions above match
|
|
19
15
|
*/
|
|
20
16
|
text?: string | Expression<string>;
|
|
17
|
+
hasOutputParser?: boolean;
|
|
21
18
|
/**
|
|
22
19
|
* Options
|
|
23
|
-
* @displayOptions.show { agent: ["toolsAgent"] }
|
|
24
20
|
* @default {}
|
|
25
21
|
*/
|
|
26
22
|
options?: {
|
|
@@ -83,63 +79,20 @@ export interface LcAgentV1Params {
|
|
|
83
79
|
objectValue?: IDataObject | string | Expression<string>;
|
|
84
80
|
}>;
|
|
85
81
|
};
|
|
86
|
-
/**
|
|
87
|
-
|
|
88
|
-
humanMessage?: string | Expression<string>;
|
|
89
|
-
/** String to use directly as the human message template
|
|
90
|
-
*/
|
|
91
|
-
humanMessageTemplate?: string | Expression<string>;
|
|
92
|
-
/** String to put before the list of tools
|
|
93
|
-
* @default Answer the following questions as best you can. You have access to the following tools:
|
|
94
|
-
*/
|
|
95
|
-
prefix?: string | Expression<string>;
|
|
96
|
-
/** String to put after the list of tools that will be used if chat model is used
|
|
97
|
-
* @default Begin! Reminder to always use the exact characters `Final Answer` when responding.
|
|
98
|
-
*/
|
|
99
|
-
suffixChat?: string | Expression<string>;
|
|
100
|
-
/** String to put after the list of tools that will be used if regular model is used
|
|
101
|
-
*/
|
|
102
|
-
suffix?: string | Expression<string>;
|
|
103
|
-
/** Comma-separated list of tables to ignore from the database. If empty, no tables are ignored.
|
|
104
|
-
*/
|
|
105
|
-
ignoredTables?: string | Expression<string>;
|
|
106
|
-
/** Number of sample rows to include in the prompt to the agent. It helps the agent to understand the schema of the database but it also increases the amount of tokens used.
|
|
107
|
-
* @default 3
|
|
108
|
-
*/
|
|
109
|
-
includedSampleRows?: number | Expression<number>;
|
|
110
|
-
/** Comma-separated list of tables to include in the database. If empty, all tables are included.
|
|
111
|
-
*/
|
|
112
|
-
includedTables?: string | Expression<string>;
|
|
113
|
-
/** Prefix prompt to use for the agent
|
|
82
|
+
/** Batch processing options for rate limiting
|
|
83
|
+
* @default {}
|
|
114
84
|
*/
|
|
115
|
-
|
|
116
|
-
/**
|
|
85
|
+
batching?: {
|
|
86
|
+
/** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
|
|
87
|
+
* @default 1
|
|
117
88
|
*/
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @default
|
|
89
|
+
batchSize?: number | Expression<number>;
|
|
90
|
+
/** Delay in milliseconds between batches. This is useful for rate limiting.
|
|
91
|
+
* @default 0
|
|
121
92
|
*/
|
|
122
|
-
|
|
93
|
+
delayBetweenBatches?: number | Expression<number>;
|
|
94
|
+
};
|
|
123
95
|
};
|
|
124
|
-
/**
|
|
125
|
-
* SQL database to connect to
|
|
126
|
-
* @displayOptions.show { agent: ["sqlAgent"] }
|
|
127
|
-
* @default sqlite
|
|
128
|
-
*/
|
|
129
|
-
dataSource?: 'mysql' | 'postgres' | 'sqlite' | Expression<string>;
|
|
130
|
-
/**
|
|
131
|
-
* Input Binary Field
|
|
132
|
-
* @hint The name of the input binary field containing the file to be extracted
|
|
133
|
-
* @displayOptions.show { agent: ["sqlAgent"], dataSource: ["sqlite"] }
|
|
134
|
-
* @default data
|
|
135
|
-
*/
|
|
136
|
-
binaryPropertyName?: string | Expression<string>;
|
|
137
|
-
/**
|
|
138
|
-
* Prompt
|
|
139
|
-
* @displayOptions.show { agent: ["sqlAgent"] }
|
|
140
|
-
* @required when the displayOptions conditions above match
|
|
141
|
-
*/
|
|
142
|
-
input?: string | Expression<string>;
|
|
143
96
|
}
|
|
144
97
|
|
|
145
98
|
export interface LcAgentV1SubnodeConfig {
|
|
@@ -152,11 +105,6 @@ export interface LcAgentV1SubnodeConfig {
|
|
|
152
105
|
outputParser?: OutputParserInstance;
|
|
153
106
|
}
|
|
154
107
|
|
|
155
|
-
export interface LcAgentV1Credentials {
|
|
156
|
-
mySql: CredentialReference;
|
|
157
|
-
postgres: CredentialReference;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
108
|
interface LcAgentV1NodeBase {
|
|
161
109
|
type: '@n8n/n8n-nodes-langchain.agent';
|
|
162
110
|
version: 1;
|
|
@@ -164,7 +112,7 @@ interface LcAgentV1NodeBase {
|
|
|
164
112
|
}
|
|
165
113
|
|
|
166
114
|
export type LcAgentV1ParamsNode = LcAgentV1NodeBase & {
|
|
167
|
-
config: NodeConfig<LcAgentV1Params> & {
|
|
115
|
+
config: NodeConfig<LcAgentV1Params> & { subnodes: LcAgentV1SubnodeConfig };
|
|
168
116
|
};
|
|
169
117
|
|
|
170
118
|
export type LcAgentV1Node = LcAgentV1ParamsNode;
|
|
@@ -18,18 +18,16 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
18
18
|
model: z.union([languageModelInstanceSchema, z.array(languageModelInstanceSchema)]),
|
|
19
19
|
memory: memoryInstanceSchema.optional(),
|
|
20
20
|
tools: z.array(toolInstanceSchema).optional(),
|
|
21
|
-
outputParser: resolveSchema({ parameters, schema: outputParserInstanceSchema, required: false, displayOptions: {"show":{"hasOutputParser":[true]}} }),
|
|
21
|
+
outputParser: resolveSchema({ parameters, schema: outputParserInstanceSchema, required: false, displayOptions: {"show":{"hasOutputParser":[true]}}, defaults: {"hasOutputParser":false} }),
|
|
22
22
|
}).strict();
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// Parameters schema
|
|
26
26
|
const parametersSchema = z.object({
|
|
27
|
-
|
|
28
|
-
text:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"sqlite"} }),
|
|
32
|
-
input: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
27
|
+
promptType: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]).optional(),
|
|
28
|
+
text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}}, defaults: {"promptType":"auto"} }),
|
|
29
|
+
hasOutputParser: z.boolean().optional(),
|
|
30
|
+
options: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), passthroughBinaryPdfs: booleanOrExpression.optional(), tracingMetadata: z.object({ values: z.array(z.object({ key: stringOrExpression.optional(), type: z.union([z.literal('arrayValue'), z.literal('booleanValue'), z.literal('numberValue'), z.literal('objectValue'), z.literal('stringValue'), expressionSchema]).optional(), stringValue: stringOrExpression.optional(), numberValue: stringOrExpression.optional(), booleanValue: z.union([z.literal('true'), z.literal('false'), expressionSchema]).optional(), arrayValue: stringOrExpression.optional(), objectValue: z.union([iDataObjectSchema, z.string()]).optional() })).optional() }).optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
|
|
33
31
|
});
|
|
34
32
|
|
|
35
33
|
// Return combined config schema
|
|
@@ -5,11 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export interface LcAgentV11Params {
|
|
8
|
-
|
|
9
|
-
* Agent
|
|
10
|
-
* @default conversationalAgent
|
|
11
|
-
*/
|
|
12
|
-
agent?: 'conversationalAgent' | 'openAiFunctionsAgent' | 'planAndExecuteAgent' | 'reActAgent' | 'sqlAgent';
|
|
8
|
+
promptType?: 'auto' | 'guardrails' | 'define' | Expression<string>;
|
|
13
9
|
/**
|
|
14
10
|
* Prompt (User Message)
|
|
15
11
|
* @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
|
|
@@ -18,9 +14,9 @@ export interface LcAgentV11Params {
|
|
|
18
14
|
* @required when the displayOptions conditions above match
|
|
19
15
|
*/
|
|
20
16
|
text?: string | Expression<string>;
|
|
17
|
+
hasOutputParser?: boolean;
|
|
21
18
|
/**
|
|
22
19
|
* Options
|
|
23
|
-
* @displayOptions.show { agent: ["toolsAgent"] }
|
|
24
20
|
* @default {}
|
|
25
21
|
*/
|
|
26
22
|
options?: {
|
|
@@ -83,63 +79,20 @@ export interface LcAgentV11Params {
|
|
|
83
79
|
objectValue?: IDataObject | string | Expression<string>;
|
|
84
80
|
}>;
|
|
85
81
|
};
|
|
86
|
-
/**
|
|
87
|
-
|
|
88
|
-
humanMessage?: string | Expression<string>;
|
|
89
|
-
/** String to use directly as the human message template
|
|
90
|
-
*/
|
|
91
|
-
humanMessageTemplate?: string | Expression<string>;
|
|
92
|
-
/** String to put before the list of tools
|
|
93
|
-
* @default Answer the following questions as best you can. You have access to the following tools:
|
|
94
|
-
*/
|
|
95
|
-
prefix?: string | Expression<string>;
|
|
96
|
-
/** String to put after the list of tools that will be used if chat model is used
|
|
97
|
-
* @default Begin! Reminder to always use the exact characters `Final Answer` when responding.
|
|
98
|
-
*/
|
|
99
|
-
suffixChat?: string | Expression<string>;
|
|
100
|
-
/** String to put after the list of tools that will be used if regular model is used
|
|
101
|
-
*/
|
|
102
|
-
suffix?: string | Expression<string>;
|
|
103
|
-
/** Comma-separated list of tables to ignore from the database. If empty, no tables are ignored.
|
|
104
|
-
*/
|
|
105
|
-
ignoredTables?: string | Expression<string>;
|
|
106
|
-
/** Number of sample rows to include in the prompt to the agent. It helps the agent to understand the schema of the database but it also increases the amount of tokens used.
|
|
107
|
-
* @default 3
|
|
108
|
-
*/
|
|
109
|
-
includedSampleRows?: number | Expression<number>;
|
|
110
|
-
/** Comma-separated list of tables to include in the database. If empty, all tables are included.
|
|
111
|
-
*/
|
|
112
|
-
includedTables?: string | Expression<string>;
|
|
113
|
-
/** Prefix prompt to use for the agent
|
|
82
|
+
/** Batch processing options for rate limiting
|
|
83
|
+
* @default {}
|
|
114
84
|
*/
|
|
115
|
-
|
|
116
|
-
/**
|
|
85
|
+
batching?: {
|
|
86
|
+
/** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
|
|
87
|
+
* @default 1
|
|
117
88
|
*/
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @default
|
|
89
|
+
batchSize?: number | Expression<number>;
|
|
90
|
+
/** Delay in milliseconds between batches. This is useful for rate limiting.
|
|
91
|
+
* @default 0
|
|
121
92
|
*/
|
|
122
|
-
|
|
93
|
+
delayBetweenBatches?: number | Expression<number>;
|
|
94
|
+
};
|
|
123
95
|
};
|
|
124
|
-
/**
|
|
125
|
-
* SQL database to connect to
|
|
126
|
-
* @displayOptions.show { agent: ["sqlAgent"] }
|
|
127
|
-
* @default sqlite
|
|
128
|
-
*/
|
|
129
|
-
dataSource?: 'mysql' | 'postgres' | 'sqlite' | Expression<string>;
|
|
130
|
-
/**
|
|
131
|
-
* Input Binary Field
|
|
132
|
-
* @hint The name of the input binary field containing the file to be extracted
|
|
133
|
-
* @displayOptions.show { agent: ["sqlAgent"], dataSource: ["sqlite"] }
|
|
134
|
-
* @default data
|
|
135
|
-
*/
|
|
136
|
-
binaryPropertyName?: string | Expression<string>;
|
|
137
|
-
/**
|
|
138
|
-
* Prompt
|
|
139
|
-
* @displayOptions.show { agent: ["sqlAgent"] }
|
|
140
|
-
* @required when the displayOptions conditions above match
|
|
141
|
-
*/
|
|
142
|
-
input?: string | Expression<string>;
|
|
143
96
|
}
|
|
144
97
|
|
|
145
98
|
export interface LcAgentV11SubnodeConfig {
|
|
@@ -152,11 +105,6 @@ export interface LcAgentV11SubnodeConfig {
|
|
|
152
105
|
outputParser?: OutputParserInstance;
|
|
153
106
|
}
|
|
154
107
|
|
|
155
|
-
export interface LcAgentV11Credentials {
|
|
156
|
-
mySql: CredentialReference;
|
|
157
|
-
postgres: CredentialReference;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
108
|
interface LcAgentV11NodeBase {
|
|
161
109
|
type: '@n8n/n8n-nodes-langchain.agent';
|
|
162
110
|
version: 1.1;
|
|
@@ -164,7 +112,7 @@ interface LcAgentV11NodeBase {
|
|
|
164
112
|
}
|
|
165
113
|
|
|
166
114
|
export type LcAgentV11ParamsNode = LcAgentV11NodeBase & {
|
|
167
|
-
config: NodeConfig<LcAgentV11Params> & {
|
|
115
|
+
config: NodeConfig<LcAgentV11Params> & { subnodes: LcAgentV11SubnodeConfig };
|
|
168
116
|
};
|
|
169
117
|
|
|
170
118
|
export type LcAgentV11Node = LcAgentV11ParamsNode;
|
|
@@ -18,18 +18,16 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
18
18
|
model: z.union([languageModelInstanceSchema, z.array(languageModelInstanceSchema)]),
|
|
19
19
|
memory: memoryInstanceSchema.optional(),
|
|
20
20
|
tools: z.array(toolInstanceSchema).optional(),
|
|
21
|
-
outputParser: resolveSchema({ parameters, schema: outputParserInstanceSchema, required: false, displayOptions: {"show":{"hasOutputParser":[true]}} }),
|
|
21
|
+
outputParser: resolveSchema({ parameters, schema: outputParserInstanceSchema, required: false, displayOptions: {"show":{"hasOutputParser":[true]}}, defaults: {"hasOutputParser":false} }),
|
|
22
22
|
}).strict();
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// Parameters schema
|
|
26
26
|
const parametersSchema = z.object({
|
|
27
|
-
|
|
28
|
-
text:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"sqlite"} }),
|
|
32
|
-
input: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
27
|
+
promptType: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]).optional(),
|
|
28
|
+
text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}}, defaults: {"promptType":"auto"} }),
|
|
29
|
+
hasOutputParser: z.boolean().optional(),
|
|
30
|
+
options: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), passthroughBinaryPdfs: booleanOrExpression.optional(), tracingMetadata: z.object({ values: z.array(z.object({ key: stringOrExpression.optional(), type: z.union([z.literal('arrayValue'), z.literal('booleanValue'), z.literal('numberValue'), z.literal('objectValue'), z.literal('stringValue'), expressionSchema]).optional(), stringValue: stringOrExpression.optional(), numberValue: stringOrExpression.optional(), booleanValue: z.union([z.literal('true'), z.literal('false'), expressionSchema]).optional(), arrayValue: stringOrExpression.optional(), objectValue: z.union([iDataObjectSchema, z.string()]).optional() })).optional() }).optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional() }).optional(),
|
|
33
31
|
});
|
|
34
32
|
|
|
35
33
|
// Return combined config schema
|