@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
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve_as_tool.ts
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zep Vector Store Node - Version 1.4
|
|
3
|
-
* Discriminator: mode=retrieve-as-tool
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
interface Credentials {
|
|
8
|
-
zepApi: CredentialReference;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/** Retrieve documents from vector store to be used as tool with AI nodes */
|
|
12
|
-
export type LcVectorStoreZepV14RetrieveAsToolParams = {
|
|
13
|
-
/**
|
|
14
|
-
* Canonical RAG mode — declare with the `tool({...})` factory (NOT `vectorStore`) and plug into an AI Agent's `subnodes.tools`. Required subnodes: `embedding`. Set `toolDescription` so the agent knows when to call it.
|
|
15
|
-
* <patterns>
|
|
16
|
-
* <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
|
|
17
|
-
* // Substitute the type literal and provider-specific parameters — see the rest of this file
|
|
18
|
-
* // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
|
|
19
|
-
* const knowledgeBase = tool({
|
|
20
|
-
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
21
|
-
* config: {
|
|
22
|
-
* name: 'Knowledge Base',
|
|
23
|
-
* parameters: {
|
|
24
|
-
* mode: 'retrieve-as-tool',
|
|
25
|
-
* toolDescription: 'Search the product knowledge base',
|
|
26
|
-
* // ...provider-specific parameters
|
|
27
|
-
* },
|
|
28
|
-
* subnodes: { embedding: embeddingsOpenAi }
|
|
29
|
-
* }
|
|
30
|
-
* });
|
|
31
|
-
*
|
|
32
|
-
* const agent = node({
|
|
33
|
-
* type: '@n8n/n8n-nodes-langchain.agent',
|
|
34
|
-
* config: {
|
|
35
|
-
* name: 'Support Agent',
|
|
36
|
-
* parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
|
|
37
|
-
* subnodes: { model: openAiModel, tools: [knowledgeBase] }
|
|
38
|
-
* }
|
|
39
|
-
* });
|
|
40
|
-
* </pattern>
|
|
41
|
-
* </patterns>
|
|
42
|
-
*/
|
|
43
|
-
mode: 'retrieve-as-tool';
|
|
44
|
-
/**
|
|
45
|
-
* Explain to the LLM what this tool does, a good, specific description would allow LLMs to produce expected results much more often
|
|
46
|
-
*/
|
|
47
|
-
toolDescription: string | Expression<string>;
|
|
48
|
-
collectionName: string | Expression<string>;
|
|
49
|
-
/**
|
|
50
|
-
* Number of top results to fetch from vector store
|
|
51
|
-
* @default 4
|
|
52
|
-
*/
|
|
53
|
-
topK?: number | Expression<number>;
|
|
54
|
-
/**
|
|
55
|
-
* Whether or not to include document metadata
|
|
56
|
-
* @default true
|
|
57
|
-
*/
|
|
58
|
-
includeDocumentMetadata?: boolean | Expression<boolean>;
|
|
59
|
-
/**
|
|
60
|
-
* Whether or not to rerank results
|
|
61
|
-
* @default false
|
|
62
|
-
*/
|
|
63
|
-
useReranker?: boolean | Expression<boolean>;
|
|
64
|
-
/**
|
|
65
|
-
* Options
|
|
66
|
-
* @default {}
|
|
67
|
-
*/
|
|
68
|
-
options?: {
|
|
69
|
-
/** Whether to allow using characters from the Unicode surrogate blocks
|
|
70
|
-
* @default 1536
|
|
71
|
-
*/
|
|
72
|
-
embeddingDimensions?: number | Expression<number>;
|
|
73
|
-
/** Metadata to filter the document by
|
|
74
|
-
* @default {}
|
|
75
|
-
*/
|
|
76
|
-
metadata?: {
|
|
77
|
-
/** Fields to Set
|
|
78
|
-
*/
|
|
79
|
-
metadataValues?: Array<{
|
|
80
|
-
/** Name
|
|
81
|
-
*/
|
|
82
|
-
name?: string | Expression<string>;
|
|
83
|
-
/** Value
|
|
84
|
-
*/
|
|
85
|
-
value?: string | Expression<string>;
|
|
86
|
-
}>;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
export interface LcVectorStoreZepV14RetrieveAsToolSubnodeConfig {
|
|
92
|
-
embedding: EmbeddingInstance | EmbeddingInstance[];
|
|
93
|
-
/**
|
|
94
|
-
* @displayOptions.show { useReranker: [true] }
|
|
95
|
-
*/
|
|
96
|
-
reranker: RerankerInstance;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export type LcVectorStoreZepV14RetrieveAsToolNode = {
|
|
100
|
-
type: '@n8n/n8n-nodes-langchain.vectorStoreZep';
|
|
101
|
-
version: 1.4;
|
|
102
|
-
config: NodeConfig<LcVectorStoreZepV14RetrieveAsToolParams> & { credentials?: Credentials } & { subnodes: LcVectorStoreZepV14RetrieveAsToolSubnodeConfig };
|
|
103
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription, INodeTypeBaseDescription } from 'n8n-workflow';
|
|
2
|
-
export declare class AgentV1 implements INodeType {
|
|
3
|
-
description: INodeTypeDescription;
|
|
4
|
-
constructor(baseDescription: INodeTypeBaseDescription);
|
|
5
|
-
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
6
|
-
}
|
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentV1 = void 0;
|
|
4
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
const descriptions_1 = require("../../../../utils/descriptions");
|
|
6
|
-
const description_1 = require("../agents/ConversationalAgent/description");
|
|
7
|
-
const execute_1 = require("../agents/ConversationalAgent/execute");
|
|
8
|
-
const description_2 = require("../agents/OpenAiFunctionsAgent/description");
|
|
9
|
-
const execute_2 = require("../agents/OpenAiFunctionsAgent/execute");
|
|
10
|
-
const description_3 = require("../agents/PlanAndExecuteAgent/description");
|
|
11
|
-
const execute_3 = require("../agents/PlanAndExecuteAgent/execute");
|
|
12
|
-
const description_4 = require("../agents/ReActAgent/description");
|
|
13
|
-
const execute_4 = require("../agents/ReActAgent/execute");
|
|
14
|
-
const description_5 = require("../agents/SqlAgent/description");
|
|
15
|
-
const execute_5 = require("../agents/SqlAgent/execute");
|
|
16
|
-
const description_6 = require("../agents/ToolsAgent/V1/description");
|
|
17
|
-
const execute_6 = require("../agents/ToolsAgent/V1/execute");
|
|
18
|
-
function getInputs(agent, hasOutputParser) {
|
|
19
|
-
const getInputData = (inputs) => {
|
|
20
|
-
const displayNames = {
|
|
21
|
-
ai_languageModel: 'Model',
|
|
22
|
-
ai_memory: 'Memory',
|
|
23
|
-
ai_tool: 'Tool',
|
|
24
|
-
ai_outputParser: 'Output Parser',
|
|
25
|
-
};
|
|
26
|
-
return inputs.map(({ type, filter }) => {
|
|
27
|
-
const isModelType = type === 'ai_languageModel';
|
|
28
|
-
let displayName = type in displayNames ? displayNames[type] : undefined;
|
|
29
|
-
if (isModelType &&
|
|
30
|
-
['openAiFunctionsAgent', 'toolsAgent', 'conversationalAgent'].includes(agent)) {
|
|
31
|
-
displayName = 'Chat Model';
|
|
32
|
-
}
|
|
33
|
-
const input = {
|
|
34
|
-
type,
|
|
35
|
-
displayName,
|
|
36
|
-
required: isModelType,
|
|
37
|
-
maxConnections: ['ai_languageModel', 'ai_memory', 'ai_outputParser'].includes(type)
|
|
38
|
-
? 1
|
|
39
|
-
: undefined,
|
|
40
|
-
};
|
|
41
|
-
if (filter) {
|
|
42
|
-
input.filter = filter;
|
|
43
|
-
}
|
|
44
|
-
return input;
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
let specialInputs = [];
|
|
48
|
-
if (agent === 'conversationalAgent') {
|
|
49
|
-
specialInputs = [
|
|
50
|
-
{
|
|
51
|
-
type: 'ai_languageModel',
|
|
52
|
-
filter: {
|
|
53
|
-
nodes: [
|
|
54
|
-
'@n8n/n8n-nodes-langchain.lmChatAnthropic',
|
|
55
|
-
'@n8n/n8n-nodes-langchain.lmChatAwsBedrock',
|
|
56
|
-
'@n8n/n8n-nodes-langchain.lmChatGroq',
|
|
57
|
-
'@n8n/n8n-nodes-langchain.lmChatLemonade',
|
|
58
|
-
'@n8n/n8n-nodes-langchain.lmChatOllama',
|
|
59
|
-
'@n8n/n8n-nodes-langchain.lmChatOpenAi',
|
|
60
|
-
'@n8n/n8n-nodes-langchain.lmChatGoogleGemini',
|
|
61
|
-
'@n8n/n8n-nodes-langchain.lmChatGoogleVertex',
|
|
62
|
-
'@n8n/n8n-nodes-langchain.lmChatMistralCloud',
|
|
63
|
-
'@n8n/n8n-nodes-langchain.lmChatMinimax',
|
|
64
|
-
'@n8n/n8n-nodes-langchain.lmChatMoonshot',
|
|
65
|
-
'@n8n/n8n-nodes-langchain.lmChatAzureOpenAi',
|
|
66
|
-
'@n8n/n8n-nodes-langchain.lmChatDeepSeek',
|
|
67
|
-
'@n8n/n8n-nodes-langchain.lmChatOpenRouter',
|
|
68
|
-
'@n8n/n8n-nodes-langchain.lmChatVercelAiGateway',
|
|
69
|
-
'@n8n/n8n-nodes-langchain.lmChatXAiGrok',
|
|
70
|
-
'@n8n/n8n-nodes-langchain.modelSelector',
|
|
71
|
-
],
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
type: 'ai_memory',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
type: 'ai_tool',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
type: 'ai_outputParser',
|
|
82
|
-
},
|
|
83
|
-
];
|
|
84
|
-
}
|
|
85
|
-
else if (agent === 'toolsAgent') {
|
|
86
|
-
specialInputs = [
|
|
87
|
-
{
|
|
88
|
-
type: 'ai_languageModel',
|
|
89
|
-
filter: {
|
|
90
|
-
nodes: [
|
|
91
|
-
'@n8n/n8n-nodes-langchain.lmChatAnthropic',
|
|
92
|
-
'@n8n/n8n-nodes-langchain.lmChatAzureOpenAi',
|
|
93
|
-
'@n8n/n8n-nodes-langchain.lmChatAwsBedrock',
|
|
94
|
-
'@n8n/n8n-nodes-langchain.lmChatLemonade',
|
|
95
|
-
'@n8n/n8n-nodes-langchain.lmChatMistralCloud',
|
|
96
|
-
'@n8n/n8n-nodes-langchain.lmChatMinimax',
|
|
97
|
-
'@n8n/n8n-nodes-langchain.lmChatMoonshot',
|
|
98
|
-
'@n8n/n8n-nodes-langchain.lmChatOllama',
|
|
99
|
-
'@n8n/n8n-nodes-langchain.lmChatOpenAi',
|
|
100
|
-
'@n8n/n8n-nodes-langchain.lmChatGroq',
|
|
101
|
-
'@n8n/n8n-nodes-langchain.lmChatGoogleVertex',
|
|
102
|
-
'@n8n/n8n-nodes-langchain.lmChatGoogleGemini',
|
|
103
|
-
'@n8n/n8n-nodes-langchain.lmChatDeepSeek',
|
|
104
|
-
'@n8n/n8n-nodes-langchain.lmChatOpenRouter',
|
|
105
|
-
'@n8n/n8n-nodes-langchain.lmChatVercelAiGateway',
|
|
106
|
-
'@n8n/n8n-nodes-langchain.lmChatXAiGrok',
|
|
107
|
-
],
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
type: 'ai_memory',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
type: 'ai_tool',
|
|
115
|
-
required: true,
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
type: 'ai_outputParser',
|
|
119
|
-
},
|
|
120
|
-
];
|
|
121
|
-
}
|
|
122
|
-
else if (agent === 'openAiFunctionsAgent') {
|
|
123
|
-
specialInputs = [
|
|
124
|
-
{
|
|
125
|
-
type: 'ai_languageModel',
|
|
126
|
-
filter: {
|
|
127
|
-
nodes: [
|
|
128
|
-
'@n8n/n8n-nodes-langchain.lmChatOpenAi',
|
|
129
|
-
'@n8n/n8n-nodes-langchain.lmChatAzureOpenAi',
|
|
130
|
-
],
|
|
131
|
-
},
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
type: 'ai_memory',
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
type: 'ai_tool',
|
|
138
|
-
required: true,
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
type: 'ai_outputParser',
|
|
142
|
-
},
|
|
143
|
-
];
|
|
144
|
-
}
|
|
145
|
-
else if (agent === 'reActAgent') {
|
|
146
|
-
specialInputs = [
|
|
147
|
-
{
|
|
148
|
-
type: 'ai_languageModel',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
type: 'ai_tool',
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
type: 'ai_outputParser',
|
|
155
|
-
},
|
|
156
|
-
];
|
|
157
|
-
}
|
|
158
|
-
else if (agent === 'sqlAgent') {
|
|
159
|
-
specialInputs = [
|
|
160
|
-
{
|
|
161
|
-
type: 'ai_languageModel',
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
type: 'ai_memory',
|
|
165
|
-
},
|
|
166
|
-
];
|
|
167
|
-
}
|
|
168
|
-
else if (agent === 'planAndExecuteAgent') {
|
|
169
|
-
specialInputs = [
|
|
170
|
-
{
|
|
171
|
-
type: 'ai_languageModel',
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
type: 'ai_tool',
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
type: 'ai_outputParser',
|
|
178
|
-
},
|
|
179
|
-
];
|
|
180
|
-
}
|
|
181
|
-
if (hasOutputParser === false) {
|
|
182
|
-
specialInputs = specialInputs.filter((input) => input.type !== 'ai_outputParser');
|
|
183
|
-
}
|
|
184
|
-
return ['main', ...getInputData(specialInputs)];
|
|
185
|
-
}
|
|
186
|
-
const agentTypeProperty = {
|
|
187
|
-
displayName: 'Agent',
|
|
188
|
-
name: 'agent',
|
|
189
|
-
type: 'options',
|
|
190
|
-
noDataExpression: true,
|
|
191
|
-
options: [
|
|
192
|
-
{
|
|
193
|
-
name: 'Tools Agent',
|
|
194
|
-
value: 'toolsAgent',
|
|
195
|
-
description: 'Utilizes structured tool schemas for precise and reliable tool selection and execution. Recommended for complex tasks requiring accurate and consistent tool usage, but only usable with models that support tool calling.',
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
name: 'Conversational Agent',
|
|
199
|
-
value: 'conversationalAgent',
|
|
200
|
-
description: 'Describes tools in the system prompt and parses JSON responses for tool calls. More flexible but potentially less reliable than the Tools Agent. Suitable for simpler interactions or with models not supporting structured schemas.',
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
name: 'OpenAI Functions Agent',
|
|
204
|
-
value: 'openAiFunctionsAgent',
|
|
205
|
-
description: "Leverages OpenAI's function calling capabilities to precisely select and execute tools. Excellent for tasks requiring structured outputs when working with OpenAI models.",
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
name: 'Plan and Execute Agent',
|
|
209
|
-
value: 'planAndExecuteAgent',
|
|
210
|
-
description: 'Creates a high-level plan for complex tasks and then executes each step. Suitable for multi-stage problems or when a strategic approach is needed.',
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
name: 'ReAct Agent',
|
|
214
|
-
value: 'reActAgent',
|
|
215
|
-
description: 'Combines reasoning and action in an iterative process. Effective for tasks that require careful analysis and step-by-step problem-solving.',
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
name: 'SQL Agent',
|
|
219
|
-
value: 'sqlAgent',
|
|
220
|
-
description: 'Specializes in interacting with SQL databases. Ideal for data analysis tasks, generating queries, or extracting insights from structured data.',
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
default: '',
|
|
224
|
-
};
|
|
225
|
-
class AgentV1 {
|
|
226
|
-
constructor(baseDescription) {
|
|
227
|
-
this.description = {
|
|
228
|
-
version: [1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9],
|
|
229
|
-
...baseDescription,
|
|
230
|
-
defaults: {
|
|
231
|
-
name: 'AI Agent',
|
|
232
|
-
color: '#404040',
|
|
233
|
-
},
|
|
234
|
-
inputs: `={{
|
|
235
|
-
((agent, hasOutputParser) => {
|
|
236
|
-
${getInputs.toString()};
|
|
237
|
-
return getInputs(agent, hasOutputParser)
|
|
238
|
-
})($parameter.agent, $parameter.hasOutputParser === undefined || $parameter.hasOutputParser === true)
|
|
239
|
-
}}`,
|
|
240
|
-
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
241
|
-
builderHint: {
|
|
242
|
-
...baseDescription.builderHint,
|
|
243
|
-
inputs: {
|
|
244
|
-
ai_languageModel: { required: true },
|
|
245
|
-
ai_memory: { required: false },
|
|
246
|
-
ai_tool: { required: false },
|
|
247
|
-
ai_outputParser: {
|
|
248
|
-
required: false,
|
|
249
|
-
displayOptions: { show: { hasOutputParser: [true] } },
|
|
250
|
-
},
|
|
251
|
-
},
|
|
252
|
-
},
|
|
253
|
-
credentials: [
|
|
254
|
-
{
|
|
255
|
-
name: 'mySql',
|
|
256
|
-
required: true,
|
|
257
|
-
testedBy: 'mysqlConnectionTest',
|
|
258
|
-
displayOptions: {
|
|
259
|
-
show: {
|
|
260
|
-
agent: ['sqlAgent'],
|
|
261
|
-
'/dataSource': ['mysql'],
|
|
262
|
-
},
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
name: 'postgres',
|
|
267
|
-
required: true,
|
|
268
|
-
displayOptions: {
|
|
269
|
-
show: {
|
|
270
|
-
agent: ['sqlAgent'],
|
|
271
|
-
'/dataSource': ['postgres'],
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
},
|
|
275
|
-
],
|
|
276
|
-
properties: [
|
|
277
|
-
{
|
|
278
|
-
displayName: "This node is using Agent that has been deprecated. Please switch to using 'Tools Agent' instead.",
|
|
279
|
-
name: 'deprecated',
|
|
280
|
-
type: 'notice',
|
|
281
|
-
default: '',
|
|
282
|
-
displayOptions: {
|
|
283
|
-
show: {
|
|
284
|
-
agent: [
|
|
285
|
-
'conversationalAgent',
|
|
286
|
-
'openAiFunctionsAgent',
|
|
287
|
-
'planAndExecuteAgent',
|
|
288
|
-
'reActAgent',
|
|
289
|
-
'sqlAgent',
|
|
290
|
-
],
|
|
291
|
-
},
|
|
292
|
-
},
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
...agentTypeProperty,
|
|
296
|
-
options: agentTypeProperty?.options?.filter((o) => 'value' in o && o.value !== 'toolsAgent'),
|
|
297
|
-
displayOptions: { show: { '@version': [{ _cnd: { lte: 1.5 } }] } },
|
|
298
|
-
default: 'conversationalAgent',
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
...agentTypeProperty,
|
|
302
|
-
displayOptions: { show: { '@version': [{ _cnd: { between: { from: 1.6, to: 1.7 } } }] } },
|
|
303
|
-
default: 'toolsAgent',
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
...agentTypeProperty,
|
|
307
|
-
type: 'hidden',
|
|
308
|
-
displayOptions: { show: { '@version': [{ _cnd: { gte: 1.8 } }] } },
|
|
309
|
-
default: 'toolsAgent',
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
...descriptions_1.promptTypeOptionsDeprecated,
|
|
313
|
-
displayOptions: {
|
|
314
|
-
hide: {
|
|
315
|
-
'@version': [{ _cnd: { lte: 1.2 } }],
|
|
316
|
-
agent: ['sqlAgent'],
|
|
317
|
-
},
|
|
318
|
-
},
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
...descriptions_1.textFromGuardrailsNode,
|
|
322
|
-
displayOptions: {
|
|
323
|
-
show: { promptType: ['guardrails'], '@version': [{ _cnd: { gte: 1.7 } }] },
|
|
324
|
-
},
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
...descriptions_1.textFromPreviousNode,
|
|
328
|
-
displayOptions: {
|
|
329
|
-
show: { promptType: ['auto'], '@version': [{ _cnd: { gte: 1.7 } }] },
|
|
330
|
-
hide: {
|
|
331
|
-
agent: ['sqlAgent'],
|
|
332
|
-
},
|
|
333
|
-
},
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
...descriptions_1.textInput,
|
|
337
|
-
displayOptions: {
|
|
338
|
-
show: {
|
|
339
|
-
promptType: ['define'],
|
|
340
|
-
},
|
|
341
|
-
hide: {
|
|
342
|
-
agent: ['sqlAgent'],
|
|
343
|
-
},
|
|
344
|
-
},
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
displayName: 'For more reliable structured output parsing, consider using the Tools agent',
|
|
348
|
-
name: 'notice',
|
|
349
|
-
type: 'notice',
|
|
350
|
-
default: '',
|
|
351
|
-
displayOptions: {
|
|
352
|
-
show: {
|
|
353
|
-
hasOutputParser: [true],
|
|
354
|
-
agent: [
|
|
355
|
-
'conversationalAgent',
|
|
356
|
-
'reActAgent',
|
|
357
|
-
'planAndExecuteAgent',
|
|
358
|
-
'openAiFunctionsAgent',
|
|
359
|
-
],
|
|
360
|
-
},
|
|
361
|
-
},
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
displayName: 'Require Specific Output Format',
|
|
365
|
-
name: 'hasOutputParser',
|
|
366
|
-
type: 'boolean',
|
|
367
|
-
default: false,
|
|
368
|
-
noDataExpression: true,
|
|
369
|
-
displayOptions: {
|
|
370
|
-
hide: {
|
|
371
|
-
'@version': [{ _cnd: { lte: 1.2 } }],
|
|
372
|
-
agent: ['sqlAgent'],
|
|
373
|
-
},
|
|
374
|
-
},
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
displayName: `Connect an <a data-action='openSelectiveNodeCreator' data-action-parameter-connectiontype='${n8n_workflow_1.NodeConnectionTypes.AiOutputParser}'>output parser</a> on the canvas to specify the output format you require`,
|
|
378
|
-
name: 'notice',
|
|
379
|
-
type: 'notice',
|
|
380
|
-
default: '',
|
|
381
|
-
displayOptions: {
|
|
382
|
-
show: {
|
|
383
|
-
hasOutputParser: [true],
|
|
384
|
-
agent: ['toolsAgent'],
|
|
385
|
-
},
|
|
386
|
-
},
|
|
387
|
-
},
|
|
388
|
-
...description_6.toolsAgentProperties,
|
|
389
|
-
...description_1.conversationalAgentProperties,
|
|
390
|
-
...description_2.openAiFunctionsAgentProperties,
|
|
391
|
-
...description_4.reActAgentAgentProperties,
|
|
392
|
-
...description_5.sqlAgentAgentProperties,
|
|
393
|
-
...description_3.planAndExecuteAgentProperties,
|
|
394
|
-
],
|
|
395
|
-
};
|
|
396
|
-
}
|
|
397
|
-
async execute() {
|
|
398
|
-
const agentType = this.getNodeParameter('agent', 0, '');
|
|
399
|
-
const nodeVersion = this.getNode().typeVersion;
|
|
400
|
-
if (agentType === 'conversationalAgent') {
|
|
401
|
-
return await execute_1.conversationalAgentExecute.call(this, nodeVersion);
|
|
402
|
-
}
|
|
403
|
-
else if (agentType === 'toolsAgent') {
|
|
404
|
-
return await execute_6.toolsAgentExecute.call(this);
|
|
405
|
-
}
|
|
406
|
-
else if (agentType === 'openAiFunctionsAgent') {
|
|
407
|
-
return await execute_2.openAiFunctionsAgentExecute.call(this, nodeVersion);
|
|
408
|
-
}
|
|
409
|
-
else if (agentType === 'reActAgent') {
|
|
410
|
-
return await execute_4.reActAgentAgentExecute.call(this, nodeVersion);
|
|
411
|
-
}
|
|
412
|
-
else if (agentType === 'sqlAgent') {
|
|
413
|
-
return await execute_5.sqlAgentAgentExecute.call(this);
|
|
414
|
-
}
|
|
415
|
-
else if (agentType === 'planAndExecuteAgent') {
|
|
416
|
-
return await execute_3.planAndExecuteAgentExecute.call(this, nodeVersion);
|
|
417
|
-
}
|
|
418
|
-
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The agent type "${agentType}" is not supported`);
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
exports.AgentV1 = AgentV1;
|
|
422
|
-
//# sourceMappingURL=AgentV1.node.js.map
|
|
@@ -1 +0,0 @@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