@n8n/n8n-nodes-langchain 2.46.0 → 3.0.0
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/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/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/utils/helpers.js
CHANGED
|
@@ -55,9 +55,7 @@ const SESSION_KEY_SCOPING_MIN_VERSION = {
|
|
|
55
55
|
'@n8n/n8n-nodes-langchain.memoryPostgresChat': 1.4,
|
|
56
56
|
'@n8n/n8n-nodes-langchain.memoryRedisChat': 1.6,
|
|
57
57
|
'@n8n/n8n-nodes-langchain.memoryMongoDbChat': 1.1,
|
|
58
|
-
'@n8n/n8n-nodes-langchain.memoryMotorhead': 1.4,
|
|
59
58
|
'@n8n/n8n-nodes-langchain.memoryXata': 1.5,
|
|
60
|
-
'@n8n/n8n-nodes-langchain.memoryZep': 1.4,
|
|
61
59
|
};
|
|
62
60
|
function shouldScopeSessionKey(ctx) {
|
|
63
61
|
const node = ctx.getNode();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../utils/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,iDAA8F;AAE9F,uCAA0E;AAQ1E,+CAAkF;AAClF,6BAA8B;AAE9B,uCAAoC;AACpC,mDAAyD;AAOzD,4BAAsC,KAAc,EAAE,YAAoB;IACzE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjD,OAAO,KAAU,CAAC;IACnB,CAAC;IACD,OAAO,IAAA,wBAAS,EAAI,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC;AAC1F,CAAC;AAED,8BAAqC,OAKpC;IACA,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;IACpD,MAAM,UAAU,GAAG,GAAG,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,EAAE,QAAQ,CAAW,CAAC;IAE9E,IAAI,KAAK,CAAC;IACV,IAAI,UAAU,KAAK,MAAM,EAAE,CAAC;QAC3B,KAAK,GAAG,GAAG,CAAC,kBAAkB,CAAC,0BAA0B,EAAE,CAAC,CAAW,CAAC;IACzE,CAAC;SAAM,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;QACxC,KAAK,GAAG,GAAG,CAAC,kBAAkB,CAAC,gCAAgC,EAAE,CAAC,CAAW,CAAC;IAC/E,CAAC;SAAM,CAAC;QACP,KAAK,GAAG,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAW,CAAC;IACrD,CAAC;IAED,IAAI,KAAK,KAAK,SAAS,EAAE,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AAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;QAChC,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ;QACjC,MAAM,CAAC,MAAM,KAAK,IAAI;QACtB,QAAQ,IAAI,MAAM,CAAC,MAAM;QACzB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,EACtC,CAAC;QACF,OAAO,MAAM,CAAC,MAAiC,CAAC;IACjD,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/n8n-nodes-langchain",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
"dist/credentials/HuggingFaceApi.credentials.js",
|
|
49
49
|
"dist/credentials/MicrosoftAgent365Api.credentials.js",
|
|
50
50
|
"dist/credentials/McpOAuth2Api.credentials.js",
|
|
51
|
-
"dist/credentials/MotorheadApi.credentials.js",
|
|
52
51
|
"dist/credentials/MilvusApi.credentials.js",
|
|
53
52
|
"dist/credentials/MistralCloudApi.credentials.js",
|
|
54
53
|
"dist/credentials/MinimaxApi.credentials.js",
|
|
@@ -60,13 +59,11 @@
|
|
|
60
59
|
"dist/credentials/PineconeApi.credentials.js",
|
|
61
60
|
"dist/credentials/QdrantApi.credentials.js",
|
|
62
61
|
"dist/credentials/SearXngApi.credentials.js",
|
|
63
|
-
"dist/credentials/SerpApi.credentials.js",
|
|
64
62
|
"dist/credentials/VercelAiGatewayApi.credentials.js",
|
|
65
63
|
"dist/credentials/WeaviateApi.credentials.js",
|
|
66
64
|
"dist/credentials/WolframAlphaApi.credentials.js",
|
|
67
65
|
"dist/credentials/XAiApi.credentials.js",
|
|
68
66
|
"dist/credentials/XataApi.credentials.js",
|
|
69
|
-
"dist/credentials/ZepApi.credentials.js",
|
|
70
67
|
"dist/credentials/ChatHubVectorStorePGVectorApi.credentials.js",
|
|
71
68
|
"dist/credentials/ChatHubVectorStoreQdrantApi.credentials.js",
|
|
72
69
|
"dist/credentials/ChatHubVectorStorePineconeApi.credentials.js"
|
|
@@ -83,18 +80,13 @@
|
|
|
83
80
|
"dist/nodes/vendors/Databricks/DatabricksAiAgent.node.js",
|
|
84
81
|
"dist/nodes/agents/Agent/Agent.node.js",
|
|
85
82
|
"dist/nodes/agents/Agent/AgentTool.node.js",
|
|
86
|
-
"dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js",
|
|
87
83
|
"dist/nodes/chains/ChainSummarization/ChainSummarization.node.js",
|
|
88
84
|
"dist/nodes/chains/ChainLLM/ChainLlm.node.js",
|
|
89
85
|
"dist/nodes/chains/ChainRetrievalQA/ChainRetrievalQa.node.js",
|
|
90
86
|
"dist/nodes/chains/SentimentAnalysis/SentimentAnalysis.node.js",
|
|
91
87
|
"dist/nodes/chains/InformationExtractor/InformationExtractor.node.js",
|
|
92
88
|
"dist/nodes/chains/TextClassifier/TextClassifier.node.js",
|
|
93
|
-
"dist/nodes/code/Code.node.js",
|
|
94
89
|
"dist/nodes/document_loaders/DocumentDefaultDataLoader/DocumentDefaultDataLoader.node.js",
|
|
95
|
-
"dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.js",
|
|
96
|
-
"dist/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.js",
|
|
97
|
-
"dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.js",
|
|
98
90
|
"dist/nodes/embeddings/EmbeddingsCohere/EmbeddingsCohere.node.js",
|
|
99
91
|
"dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js",
|
|
100
92
|
"dist/nodes/embeddings/EmbeddingsAwsBedrock/EmbeddingsAwsBedrock.node.js",
|
|
@@ -128,7 +120,6 @@
|
|
|
128
120
|
"dist/nodes/llms/LmChatVercelAiGateway/LmChatVercelAiGateway.node.js",
|
|
129
121
|
"dist/nodes/llms/LmChatXAiGrok/LmChatXAiGrok.node.js",
|
|
130
122
|
"dist/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.js",
|
|
131
|
-
"dist/nodes/llms/LMOpenAi/LmOpenAi.node.js",
|
|
132
123
|
"dist/nodes/llms/LMCohere/LmCohere.node.js",
|
|
133
124
|
"dist/nodes/llms/LMLemonade/LmLemonade.node.js",
|
|
134
125
|
"dist/nodes/llms/LMOllama/LmOllama.node.js",
|
|
@@ -139,14 +130,11 @@
|
|
|
139
130
|
"dist/nodes/mcp/McpTrigger/McpTrigger.node.js",
|
|
140
131
|
"dist/nodes/memory/MemoryBufferWindow/MemoryBufferWindow.node.js",
|
|
141
132
|
"dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js",
|
|
142
|
-
"dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js",
|
|
143
133
|
"dist/nodes/memory/MemoryPostgresChat/MemoryPostgresChat.node.js",
|
|
144
134
|
"dist/nodes/memory/MemoryMongoDbChat/MemoryMongoDbChat.node.js",
|
|
145
135
|
"dist/nodes/memory/MemoryRedisChat/MemoryRedisChat.node.js",
|
|
146
136
|
"dist/nodes/memory/MemoryManager/MemoryManager.node.js",
|
|
147
|
-
"dist/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.js",
|
|
148
137
|
"dist/nodes/memory/MemoryXata/MemoryXata.node.js",
|
|
149
|
-
"dist/nodes/memory/MemoryZep/MemoryZep.node.js",
|
|
150
138
|
"dist/nodes/output_parser/OutputParserAutofixing/OutputParserAutofixing.node.js",
|
|
151
139
|
"dist/nodes/output_parser/OutputParserItemList/OutputParserItemList.node.js",
|
|
152
140
|
"dist/nodes/output_parser/OutputParserStructured/OutputParserStructured.node.js",
|
|
@@ -160,22 +148,17 @@
|
|
|
160
148
|
"dist/nodes/text_splitters/TextSplitterTokenSplitter/TextSplitterTokenSplitter.node.js",
|
|
161
149
|
"dist/nodes/tools/ToolCalculator/ToolCalculator.node.js",
|
|
162
150
|
"dist/nodes/tools/ToolCode/ToolCode.node.js",
|
|
163
|
-
"dist/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.js",
|
|
164
151
|
"dist/nodes/tools/ToolSearXng/ToolSearXng.node.js",
|
|
165
|
-
"dist/nodes/tools/ToolSerpApi/ToolSerpApi.node.js",
|
|
166
152
|
"dist/nodes/tools/ToolThink/ToolThink.node.js",
|
|
167
153
|
"dist/nodes/tools/ToolVectorStore/ToolVectorStore.node.js",
|
|
168
154
|
"dist/nodes/tools/ToolWikipedia/ToolWikipedia.node.js",
|
|
169
155
|
"dist/nodes/tools/ToolWolframAlpha/ToolWolframAlpha.node.js",
|
|
170
156
|
"dist/nodes/tools/ToolWorkflow/ToolWorkflow.node.js",
|
|
171
|
-
"dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.js",
|
|
172
157
|
"dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js",
|
|
173
158
|
"dist/nodes/trigger/ChatTrigger/Chat.node.js",
|
|
174
159
|
"dist/nodes/vector_store/VectorStoreAzureAISearch/VectorStoreAzureAISearch.node.js",
|
|
175
160
|
"dist/nodes/vector_store/VectorStoreDatabricks/VectorStoreDatabricks.node.js",
|
|
176
161
|
"dist/nodes/vector_store/VectorStoreInMemory/VectorStoreInMemory.node.js",
|
|
177
|
-
"dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.js",
|
|
178
|
-
"dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.js",
|
|
179
162
|
"dist/nodes/vector_store/VectorStoreMilvus/VectorStoreMilvus.node.js",
|
|
180
163
|
"dist/nodes/vector_store/VectorStoreMongoDBAtlas/VectorStoreMongoDBAtlas.node.js",
|
|
181
164
|
"dist/nodes/vector_store/VectorStoreOracleDB/VectorStoreOracleDB.node.js",
|
|
@@ -184,17 +167,10 @@
|
|
|
184
167
|
"dist/nodes/vector_store/ChatHubVectorStoreQdrant/ChatHubVectorStoreQdrant.node.js",
|
|
185
168
|
"dist/nodes/vector_store/VectorStorePinecone/VectorStorePinecone.node.js",
|
|
186
169
|
"dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.js",
|
|
187
|
-
"dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js",
|
|
188
|
-
"dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.js",
|
|
189
170
|
"dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.js",
|
|
190
171
|
"dist/nodes/vector_store/VectorStoreQdrant/VectorStoreQdrant.node.js",
|
|
191
172
|
"dist/nodes/vector_store/VectorStoreSupabase/VectorStoreSupabase.node.js",
|
|
192
|
-
"dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.js",
|
|
193
|
-
"dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.js",
|
|
194
173
|
"dist/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.js",
|
|
195
|
-
"dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.js",
|
|
196
|
-
"dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.js",
|
|
197
|
-
"dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.js",
|
|
198
174
|
"dist/nodes/vector_store/VectorStoreChromaDB/VectorStoreChromaDB.node.js",
|
|
199
175
|
"dist/nodes/ToolExecutor/ToolExecutor.node.js",
|
|
200
176
|
"dist/nodes/ModelSelector/ModelSelector.node.js",
|
|
@@ -202,8 +178,8 @@
|
|
|
202
178
|
]
|
|
203
179
|
},
|
|
204
180
|
"devDependencies": {
|
|
205
|
-
"@n8n/eslint-plugin-community-nodes": "0.
|
|
206
|
-
"@n8n/vitest-config": "
|
|
181
|
+
"@n8n/eslint-plugin-community-nodes": "1.0.0",
|
|
182
|
+
"@n8n/vitest-config": "2.0.0",
|
|
207
183
|
"@typescript-eslint/typescript-estree": "8.70.0",
|
|
208
184
|
"@types/basic-auth": "^1.1.3",
|
|
209
185
|
"@types/express": "^5.0.1",
|
|
@@ -216,7 +192,6 @@
|
|
|
216
192
|
"@types/oracledb": "6.10.3",
|
|
217
193
|
"@types/pg": "^8.15.6",
|
|
218
194
|
"@types/sanitize-html": "^2.11.0",
|
|
219
|
-
"@types/temp": "^0.9.1",
|
|
220
195
|
"@vitest/coverage-v8": "5.0.1",
|
|
221
196
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
222
197
|
"fast-check": "^3.23.2",
|
|
@@ -230,8 +205,6 @@
|
|
|
230
205
|
"@aws-sdk/credential-providers": "3.808.0",
|
|
231
206
|
"@azure/identity": "4.13.0",
|
|
232
207
|
"@azure/search-documents": "12.1.0",
|
|
233
|
-
"@getzep/zep-cloud": "1.0.6",
|
|
234
|
-
"@getzep/zep-js": "0.9.0",
|
|
235
208
|
"@google-cloud/resource-manager": "5.3.0",
|
|
236
209
|
"@google/genai": "1.19.0",
|
|
237
210
|
"@google/generative-ai": "0.24.0",
|
|
@@ -265,14 +238,13 @@
|
|
|
265
238
|
"@mistralai/mistralai": "^2.2.1",
|
|
266
239
|
"@modelcontextprotocol/sdk": "1.31.0",
|
|
267
240
|
"@mozilla/readability": "^0.6.0",
|
|
268
|
-
"@n8n/ai-utilities": "0.
|
|
269
|
-
"@n8n/client-oauth2": "
|
|
270
|
-
"@n8n/config": "
|
|
271
|
-
"@n8n/di": "0.
|
|
272
|
-
"@n8n/json-schema-to-zod": "
|
|
273
|
-
"@n8n/
|
|
274
|
-
"@n8n/
|
|
275
|
-
"@n8n/utils": "1.53.0",
|
|
241
|
+
"@n8n/ai-utilities": "1.0.0",
|
|
242
|
+
"@n8n/client-oauth2": "2.0.0",
|
|
243
|
+
"@n8n/config": "3.0.0",
|
|
244
|
+
"@n8n/di": "1.0.0",
|
|
245
|
+
"@n8n/json-schema-to-zod": "2.0.0",
|
|
246
|
+
"@n8n/typescript-config": "2.0.0",
|
|
247
|
+
"@n8n/utils": "2.0.0",
|
|
276
248
|
"@oracle/langchain-oracledb": "0.2.0",
|
|
277
249
|
"@pinecone-database/pinecone": "^5.0.2",
|
|
278
250
|
"@qdrant/js-client-rest": "^1.19.0",
|
|
@@ -295,24 +267,20 @@
|
|
|
295
267
|
"js-tiktoken": "1.0.21",
|
|
296
268
|
"jsdom": "23.0.1",
|
|
297
269
|
"jsonwebtoken": "9.0.3",
|
|
298
|
-
"langchain": "1.2.30",
|
|
299
270
|
"lodash": "4.18.1",
|
|
300
271
|
"mammoth": "1.12.1",
|
|
301
272
|
"mime-types": "3.0.2",
|
|
302
273
|
"mongodb": "^6.17.0",
|
|
303
274
|
"mysql2": "3.23.1",
|
|
304
|
-
"n8n-core": "
|
|
305
|
-
"n8n-nodes-base": "
|
|
306
|
-
"n8n-workflow": "
|
|
275
|
+
"n8n-core": "3.0.0",
|
|
276
|
+
"n8n-nodes-base": "3.0.0",
|
|
277
|
+
"n8n-workflow": "3.0.0",
|
|
307
278
|
"openai": "6.46.0",
|
|
308
279
|
"oracledb": "6.10.0",
|
|
309
280
|
"pg": "8.21.0",
|
|
310
281
|
"redis": "4.6.14",
|
|
311
282
|
"sanitize-html": "2.18.0",
|
|
312
|
-
"sqlite3": "5.1.7",
|
|
313
|
-
"temp": "0.9.4",
|
|
314
283
|
"uuid": "11.1.1",
|
|
315
|
-
"vm2": "3.12.2",
|
|
316
284
|
"weaviate-client": "3.9.0",
|
|
317
285
|
"zod": "3.25.76",
|
|
318
286
|
"zod-to-json-schema": "3.23.3"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
-
export declare class MotorheadApi implements ICredentialType {
|
|
3
|
-
name: string;
|
|
4
|
-
displayName: string;
|
|
5
|
-
documentationUrl: string;
|
|
6
|
-
properties: INodeProperties[];
|
|
7
|
-
authenticate: IAuthenticateGeneric;
|
|
8
|
-
test: ICredentialTestRequest;
|
|
9
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MotorheadApi = void 0;
|
|
4
|
-
class MotorheadApi {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.name = 'motorheadApi';
|
|
7
|
-
this.displayName = 'Motorhead API';
|
|
8
|
-
this.documentationUrl = 'motorhead';
|
|
9
|
-
this.properties = [
|
|
10
|
-
{
|
|
11
|
-
displayName: 'Host',
|
|
12
|
-
name: 'host',
|
|
13
|
-
required: true,
|
|
14
|
-
type: 'string',
|
|
15
|
-
default: 'https://api.getmetal.io/v1',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
displayName: 'API Key',
|
|
19
|
-
name: 'apiKey',
|
|
20
|
-
type: 'string',
|
|
21
|
-
typeOptions: { password: true },
|
|
22
|
-
required: true,
|
|
23
|
-
default: '',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
displayName: 'Client ID',
|
|
27
|
-
name: 'clientId',
|
|
28
|
-
type: 'string',
|
|
29
|
-
default: '',
|
|
30
|
-
},
|
|
31
|
-
];
|
|
32
|
-
this.authenticate = {
|
|
33
|
-
type: 'generic',
|
|
34
|
-
properties: {
|
|
35
|
-
headers: {
|
|
36
|
-
'x-metal-client-id': '={{$credentials.clientId}}',
|
|
37
|
-
'x-metal-api-key': '={{$credentials.apiKey}}',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
this.test = {
|
|
42
|
-
request: {
|
|
43
|
-
baseURL: '={{$credentials.host}}/keys/current',
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.MotorheadApi = MotorheadApi;
|
|
49
|
-
//# sourceMappingURL=MotorheadApi.credentials.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MotorheadApi.credentials.js","sourceRoot":"","sources":["../../credentials/MotorheadApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IAAA;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,gBAAW,GAAG,eAAe,CAAC;QAE9B,qBAAgB,GAAG,WAAW,CAAC;QAE/B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,4BAA4B;aACrC;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,mBAAmB,EAAE,4BAA4B;oBACjD,iBAAiB,EAAE,0BAA0B;iBAC7C;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,qCAAqC;aAC9C;SACD,CAAC;IACH,CAAC;CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
-
export declare class SerpApi implements ICredentialType {
|
|
3
|
-
name: string;
|
|
4
|
-
displayName: string;
|
|
5
|
-
documentationUrl: string;
|
|
6
|
-
properties: INodeProperties[];
|
|
7
|
-
authenticate: IAuthenticateGeneric;
|
|
8
|
-
test: ICredentialTestRequest;
|
|
9
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SerpApi = void 0;
|
|
4
|
-
class SerpApi {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.name = 'serpApi';
|
|
7
|
-
this.displayName = 'SerpAPI';
|
|
8
|
-
this.documentationUrl = 'serp';
|
|
9
|
-
this.properties = [
|
|
10
|
-
{
|
|
11
|
-
displayName: 'This node is deprecated and will not be updated in the future. Please use the official verified community node instead.',
|
|
12
|
-
name: 'oldVersionNotice',
|
|
13
|
-
type: 'notice',
|
|
14
|
-
default: '',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
displayName: 'API Key',
|
|
18
|
-
name: 'apiKey',
|
|
19
|
-
type: 'string',
|
|
20
|
-
typeOptions: { password: true },
|
|
21
|
-
required: true,
|
|
22
|
-
default: '',
|
|
23
|
-
},
|
|
24
|
-
];
|
|
25
|
-
this.authenticate = {
|
|
26
|
-
type: 'generic',
|
|
27
|
-
properties: {
|
|
28
|
-
qs: {
|
|
29
|
-
api_key: '={{$credentials.apiKey}}',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
this.test = {
|
|
34
|
-
request: {
|
|
35
|
-
baseURL: 'https://serpapi.com',
|
|
36
|
-
url: '/account.json ',
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.SerpApi = SerpApi;
|
|
42
|
-
//# sourceMappingURL=SerpApi.credentials.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SerpApi.credentials.js","sourceRoot":"","sources":["../../credentials/SerpApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IAAA;QACC,SAAI,GAAG,SAAS,CAAC;QAEjB,gBAAW,GAAG,SAAS,CAAC;QAExB,qBAAgB,GAAG,MAAM,CAAC;QAE1B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EACV,yHAAyH;gBAC1H,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,EAAE,EAAE;oBACH,OAAO,EAAE,0BAA0B;iBACnC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,qBAAqB;gBAC9B,GAAG,EAAE,gBAAgB;aACrB;SACD,CAAC;IACH,CAAC;CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
-
export declare class ZepApi implements ICredentialType {
|
|
3
|
-
name: string;
|
|
4
|
-
displayName: string;
|
|
5
|
-
documentationUrl: string;
|
|
6
|
-
properties: INodeProperties[];
|
|
7
|
-
authenticate: IAuthenticateGeneric;
|
|
8
|
-
test: ICredentialTestRequest;
|
|
9
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ZepApi = void 0;
|
|
4
|
-
class ZepApi {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.name = 'zepApi';
|
|
7
|
-
this.displayName = 'Zep Api';
|
|
8
|
-
this.documentationUrl = 'zep';
|
|
9
|
-
this.properties = [
|
|
10
|
-
{
|
|
11
|
-
displayName: 'This Zep integration is deprecated and will be removed in a future version.',
|
|
12
|
-
name: 'deprecationNotice',
|
|
13
|
-
type: 'notice',
|
|
14
|
-
default: '',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
displayName: 'API Key',
|
|
18
|
-
name: 'apiKey',
|
|
19
|
-
type: 'string',
|
|
20
|
-
typeOptions: { password: true },
|
|
21
|
-
required: false,
|
|
22
|
-
default: '',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
displayName: 'Cloud',
|
|
26
|
-
description: 'Whether you are adding credentials for Zep Cloud instead of Zep Open Source',
|
|
27
|
-
name: 'cloud',
|
|
28
|
-
type: 'boolean',
|
|
29
|
-
default: false,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
displayName: 'API URL',
|
|
33
|
-
name: 'apiUrl',
|
|
34
|
-
required: false,
|
|
35
|
-
type: 'string',
|
|
36
|
-
default: 'http://localhost:8000',
|
|
37
|
-
displayOptions: {
|
|
38
|
-
show: {
|
|
39
|
-
cloud: [false],
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
];
|
|
44
|
-
this.authenticate = {
|
|
45
|
-
type: 'generic',
|
|
46
|
-
properties: {
|
|
47
|
-
headers: {
|
|
48
|
-
Authorization: '={{$credentials.apiKey && !$credentials.cloud ? "Bearer " + $credentials.apiKey : "Api-Key " + $credentials.apiKey }}',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
this.test = {
|
|
53
|
-
request: {
|
|
54
|
-
baseURL: '={{!$credentials.cloud ? $credentials.apiUrl : "https://api.getzep.com"}}',
|
|
55
|
-
url: '={{!$credentials.cloud ? "/api/v1/collection" : "/api/v2/collections"}}',
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
exports.ZepApi = ZepApi;
|
|
61
|
-
//# sourceMappingURL=ZepApi.credentials.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ZepApi.credentials.js","sourceRoot":"","sources":["../../credentials/ZepApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IAAA;QACC,SAAI,GAAG,QAAQ,CAAC;QAEhB,gBAAW,GAAG,SAAS,CAAC;QAExB,qBAAgB,GAAG,KAAK,CAAC;QAEzB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,6EAA6E;gBAC1F,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,WAAW,EAAE,6EAA6E;gBAC1F,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;aACd;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uBAAuB;gBAChC,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,KAAK,EAAE,CAAC,KAAK,CAAC;qBACd;iBACD;aACD;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EACZ,uHAAuH;iBACxH;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2EAA2E;gBACpF,GAAG,EAAE,yEAAyE;aAC9E;SACD,CAAC;IACH,CAAC;CAAA"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zep Vector Store Node Types
|
|
3
|
-
*
|
|
4
|
-
* Re-exports all version-specific types and provides combined union type.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import type { LcVectorStoreZepV14Node } from './v14';
|
|
8
|
-
import type { LcVectorStoreZepV13Node } from './v13';
|
|
9
|
-
import type { LcVectorStoreZepV12Node } from './v12';
|
|
10
|
-
import type { LcVectorStoreZepV11Node } from './v11';
|
|
11
|
-
import type { LcVectorStoreZepV1Node } from './v1';
|
|
12
|
-
|
|
13
|
-
export * from './v14';
|
|
14
|
-
export * from './v13';
|
|
15
|
-
export * from './v12';
|
|
16
|
-
export * from './v11';
|
|
17
|
-
export * from './v1';
|
|
18
|
-
|
|
19
|
-
// Combined union type for all versions
|
|
20
|
-
export type LcVectorStoreZepNode = LcVectorStoreZepV14Node | LcVectorStoreZepV13Node | LcVectorStoreZepV12Node | LcVectorStoreZepV11Node | LcVectorStoreZepV1Node;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zep Vector Store Node - Version 1 - Zod Schema Factory
|
|
3
|
-
* Exports a factory that unions all discriminator schemas.
|
|
4
|
-
*
|
|
5
|
-
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
-
* by the schema-validator, not imported from external files.
|
|
7
|
-
*
|
|
8
|
-
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
const getInsertSchema = require('./mode_insert.schema');
|
|
12
|
-
const getLoadSchema = require('./mode_load.schema');
|
|
13
|
-
const getRetrieveSchema = require('./mode_retrieve.schema');
|
|
14
|
-
const getRetrieveAsToolSchema = require('./mode_retrieve_as_tool.schema');
|
|
15
|
-
|
|
16
|
-
module.exports = function getSchema(helpers) {
|
|
17
|
-
const { parameters, z } = helpers;
|
|
18
|
-
// Apply discriminator default if not set
|
|
19
|
-
const effectiveParams = parameters.mode === undefined ? { ...parameters, mode: 'retrieve' } : parameters;
|
|
20
|
-
return z.union([
|
|
21
|
-
getInsertSchema({ ...helpers, parameters: effectiveParams }),
|
|
22
|
-
getLoadSchema({ ...helpers, parameters: effectiveParams }),
|
|
23
|
-
getRetrieveSchema({ ...helpers, parameters: effectiveParams }),
|
|
24
|
-
getRetrieveAsToolSchema({ ...helpers, parameters: effectiveParams }),
|
|
25
|
-
]);
|
|
26
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zep Vector Store Node - Version 1
|
|
3
|
-
* Re-exports all discriminator combinations.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { LcVectorStoreZepV1InsertNode } from './mode_insert';
|
|
7
|
-
import type { LcVectorStoreZepV1LoadNode } from './mode_load';
|
|
8
|
-
import type { LcVectorStoreZepV1RetrieveNode } from './mode_retrieve';
|
|
9
|
-
import type { LcVectorStoreZepV1RetrieveAsToolNode } from './mode_retrieve_as_tool';
|
|
10
|
-
|
|
11
|
-
export * from './mode_insert';
|
|
12
|
-
export * from './mode_load';
|
|
13
|
-
export * from './mode_retrieve';
|
|
14
|
-
export * from './mode_retrieve_as_tool';
|
|
15
|
-
|
|
16
|
-
export type LcVectorStoreZepV1Node =
|
|
17
|
-
| LcVectorStoreZepV1InsertNode
|
|
18
|
-
| LcVectorStoreZepV1LoadNode
|
|
19
|
-
| LcVectorStoreZepV1RetrieveNode
|
|
20
|
-
| LcVectorStoreZepV1RetrieveAsToolNode
|
|
21
|
-
;
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_insert.schema.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zep Vector Store Node - Version 1 - Zod Schema
|
|
3
|
-
* Discriminator: mode=insert
|
|
4
|
-
*
|
|
5
|
-
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
-
*
|
|
7
|
-
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
-
* by the schema-validator, not imported from external files.
|
|
9
|
-
*
|
|
10
|
-
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, embeddingInstanceSchema, documentLoaderInstanceSchema }) {
|
|
14
|
-
|
|
15
|
-
// Static subnode schema
|
|
16
|
-
const subnodesSchema = z.object({
|
|
17
|
-
embedding: z.union([embeddingInstanceSchema, z.array(embeddingInstanceSchema)]),
|
|
18
|
-
documentLoader: z.union([documentLoaderInstanceSchema, z.array(documentLoaderInstanceSchema)]),
|
|
19
|
-
}).strict();
|
|
20
|
-
|
|
21
|
-
return z.object({
|
|
22
|
-
parameters: z.object({
|
|
23
|
-
mode: z.literal('insert'),
|
|
24
|
-
collectionName: stringOrExpression,
|
|
25
|
-
options: z.object({ embeddingDimensions: numberOrExpression.optional(), isAutoEmbedded: booleanOrExpression.optional() }).optional(),
|
|
26
|
-
}).optional(),
|
|
27
|
-
subnodes: subnodesSchema,
|
|
28
|
-
});
|
|
29
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zep Vector Store Node - Version 1
|
|
3
|
-
* Discriminator: mode=insert
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
interface Credentials {
|
|
8
|
-
zepApi: CredentialReference;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/** Insert documents into vector store */
|
|
12
|
-
export type LcVectorStoreZepV1InsertParams = {
|
|
13
|
-
/**
|
|
14
|
-
* Sits on the main flow — pipe the documents you want to embed into this node. Declare with `vectorStore({...})`. Required subnodes: `embedding` and `documentLoader`. If the goal is letting an LLM query the store, use `mode: 'retrieve-as-tool'` instead.
|
|
15
|
-
* <patterns>
|
|
16
|
-
* <pattern title="insert mode — upsert documents (generic, works for any vectorStore* node)">
|
|
17
|
-
* // Substitute the type literal and provider-specific parameters (e.g. pineconeIndex,
|
|
18
|
-
* // qdrantCollection, supabaseTableName) — see the rest of this file for the exact shape.
|
|
19
|
-
* const store = vectorStore({
|
|
20
|
-
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
21
|
-
* config: {
|
|
22
|
-
* name: 'Knowledge Base',
|
|
23
|
-
* parameters: {
|
|
24
|
-
* mode: 'insert',
|
|
25
|
-
* // ...provider-specific parameters
|
|
26
|
-
* },
|
|
27
|
-
* subnodes: { embedding: embeddingsOpenAi, documentLoader: defaultDataLoader }
|
|
28
|
-
* }
|
|
29
|
-
* });
|
|
30
|
-
* </pattern>
|
|
31
|
-
* </patterns>
|
|
32
|
-
*/
|
|
33
|
-
mode: 'insert';
|
|
34
|
-
collectionName: string | Expression<string>;
|
|
35
|
-
/**
|
|
36
|
-
* Options
|
|
37
|
-
* @default {}
|
|
38
|
-
*/
|
|
39
|
-
options?: {
|
|
40
|
-
/** Whether to allow using characters from the Unicode surrogate blocks
|
|
41
|
-
* @default 1536
|
|
42
|
-
*/
|
|
43
|
-
embeddingDimensions?: number | Expression<number>;
|
|
44
|
-
/** Whether to automatically embed documents when they are added
|
|
45
|
-
* @default true
|
|
46
|
-
*/
|
|
47
|
-
isAutoEmbedded?: boolean | Expression<boolean>;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export interface LcVectorStoreZepV1InsertSubnodeConfig {
|
|
52
|
-
embedding: EmbeddingInstance | EmbeddingInstance[];
|
|
53
|
-
documentLoader: DocumentLoaderInstance | DocumentLoaderInstance[];
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export type LcVectorStoreZepV1InsertNode = {
|
|
57
|
-
type: '@n8n/n8n-nodes-langchain.vectorStoreZep';
|
|
58
|
-
version: 1;
|
|
59
|
-
config: NodeConfig<LcVectorStoreZepV1InsertParams> & { credentials?: Credentials } & { subnodes: LcVectorStoreZepV1InsertSubnodeConfig };
|
|
60
|
-
};
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_load.schema.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zep Vector Store Node - Version 1 - Zod Schema
|
|
3
|
-
* Discriminator: mode=load
|
|
4
|
-
*
|
|
5
|
-
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
-
*
|
|
7
|
-
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
-
* by the schema-validator, not imported from external files.
|
|
9
|
-
*
|
|
10
|
-
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, embeddingInstanceSchema, rerankerInstanceSchema }) {
|
|
14
|
-
|
|
15
|
-
// Helper function for conditional subnode schema
|
|
16
|
-
function getSubnodesSchema() {
|
|
17
|
-
return z.object({
|
|
18
|
-
embedding: z.union([embeddingInstanceSchema, z.array(embeddingInstanceSchema)]),
|
|
19
|
-
reranker: resolveSchema({ parameters, schema: rerankerInstanceSchema, required: true, displayOptions: {"show":{"useReranker":[true]}}, defaults: {"useReranker":false} }),
|
|
20
|
-
}).strict();
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return z.object({
|
|
24
|
-
parameters: z.object({
|
|
25
|
-
mode: z.literal('load'),
|
|
26
|
-
collectionName: stringOrExpression,
|
|
27
|
-
prompt: stringOrExpression,
|
|
28
|
-
topK: numberOrExpression.optional(),
|
|
29
|
-
includeDocumentMetadata: booleanOrExpression.optional(),
|
|
30
|
-
useReranker: booleanOrExpression.optional(),
|
|
31
|
-
options: z.object({ embeddingDimensions: numberOrExpression.optional(), metadata: z.object({ metadataValues: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
32
|
-
}).optional(),
|
|
33
|
-
subnodes: getSubnodesSchema(),
|
|
34
|
-
});
|
|
35
|
-
};
|