@n8n/n8n-nodes-langchain 2.45.4 → 2.46.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/methods/defined.json +3 -0
- package/dist/methods/referenced.json +3 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.ts +3 -3
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.ts +3 -3
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.ts +4 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.ts +4 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.ts +4 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.ts +4 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/index.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/v1.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryLakebaseChat/v1.ts +70 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/index.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/index.ts +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_insert.ts +68 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_load.ts +89 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve.ts +80 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_retrieve_as_tool.ts +99 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_update.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v14/mode_update.ts +49 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_insert.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_insert.ts +63 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_load.schema.js +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_load.ts +91 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve.ts +82 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve_as_tool.schema.js +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v14/mode_retrieve_as_tool.ts +101 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_insert.ts +56 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_load.schema.js +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_load.ts +92 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve.ts +83 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve_as_tool.schema.js +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v14/mode_retrieve_as_tool.ts +102 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_insert.ts +57 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_load.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_load.ts +69 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve.ts +60 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve_as_tool.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v14/mode_retrieve_as_tool.ts +79 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_insert.ts +61 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_load.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_load.ts +68 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve_as_tool.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v14/mode_retrieve_as_tool.ts +78 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/index.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/index.ts +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_insert.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_insert.ts +78 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_load.schema.js +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_load.ts +114 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve.ts +105 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve_as_tool.schema.js +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_retrieve_as_tool.ts +124 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_update.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v14/mode_update.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_insert.ts +60 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_load.ts +97 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_retrieve.ts +88 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreOracleDBVector/v14/mode_retrieve_as_tool.ts +107 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_insert.ts +113 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_load.ts +149 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve.ts +140 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v14/mode_retrieve_as_tool.ts +159 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/index.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/index.ts +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_insert.ts +64 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_load.ts +92 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve.ts +83 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_retrieve_as_tool.ts +102 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_update.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v14/mode_update.ts +45 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_insert.ts +68 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_load.ts +85 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve.ts +76 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v14/mode_retrieve_as_tool.ts +95 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/index.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/index.ts +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_insert.ts +80 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_load.ts +94 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve.ts +85 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_retrieve_as_tool.ts +104 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_update.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v14/mode_update.ts +45 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/index.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/index.ts +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_insert.ts +61 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_load.ts +93 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve.ts +84 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_retrieve_as_tool.ts +103 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_update.schema.js +29 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v14/mode_update.ts +55 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_insert.ts +88 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_load.ts +132 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve.ts +123 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve_as_tool.ts +142 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_insert.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_insert.ts +65 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_load.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_load.ts +93 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve.ts +84 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve_as_tool.schema.js +35 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v14/mode_retrieve_as_tool.ts +103 -0
- package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.js +1 -1
- package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.js.map +1 -1
- package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/foundry.svg +1 -0
- package/dist/nodes/llms/LmChatAlibabaCloud/LmChatAlibabaCloud.node.js +1 -1
- package/dist/nodes/llms/LmChatAlibabaCloud/LmChatAlibabaCloud.node.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js +7 -2
- package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/foundry.svg +1 -0
- package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js.map +1 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/types.d.ts +1 -2
- package/dist/nodes/llms/LmChatAzureOpenAi/types.js +2 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/types.js.map +1 -1
- package/dist/nodes/mcp/McpTrigger/McpTrigger.node.d.ts +6 -0
- package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js +16 -0
- package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js.map +1 -1
- package/dist/nodes/mcp/shared/runtime.d.ts +2 -2
- package/dist/nodes/mcp/shared/types.d.ts +2 -2
- package/dist/nodes/mcp/shared/types.js.map +1 -1
- package/dist/nodes/mcp/shared/utils.d.ts +8 -3
- package/dist/nodes/mcp/shared/utils.js +51 -5
- package/dist/nodes/mcp/shared/utils.js.map +1 -1
- package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js +0 -1
- package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js.map +1 -1
- package/dist/nodes/trigger/ChatTrigger/Chat.node.js +0 -3
- package/dist/nodes/trigger/ChatTrigger/Chat.node.js.map +1 -1
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js +10 -4
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.js +174 -22
- package/dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.js.map +1 -1
- package/dist/nodes/vendors/AlibabaCloud/actions/text/message.operation.js +1 -1
- package/dist/nodes/vendors/AlibabaCloud/actions/text/message.operation.js.map +1 -1
- package/dist/nodes/vendors/AlibabaCloud/actions/versionDescription.js +11 -1
- package/dist/nodes/vendors/AlibabaCloud/actions/versionDescription.js.map +1 -1
- package/dist/nodes/vendors/Databricks/mlflow/trace-writer.js +2 -1
- package/dist/nodes/vendors/Databricks/mlflow/trace-writer.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +2 -2
- package/dist/types/nodes.json +24 -24
- package/dist/utils/agent-execution/types.d.ts +1 -0
- package/dist/utils/agent-execution/types.js.map +1 -1
- package/dist/utils/helpers.js +2 -0
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/output_parsers/langchainParserError.js +22 -3
- package/dist/utils/output_parsers/langchainParserError.js.map +1 -1
- package/package.json +12 -12
- package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/azure.svg +0 -1
- package/dist/nodes/llms/LmChatAzureOpenAi/azure.svg +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2ee49bfebaf54eb95890fd9ebd48088db19e34bed47011135af9d6b06503e07c
|
|
@@ -64,6 +64,7 @@ import type { LcMcpClientNode } from './nodes/n8n-nodes-langchain/mcpClient';
|
|
|
64
64
|
import type { LcMcpClientToolNode } from './nodes/n8n-nodes-langchain/mcpClientTool';
|
|
65
65
|
import type { LcMcpTriggerNode } from './nodes/n8n-nodes-langchain/mcpTrigger';
|
|
66
66
|
import type { LcMemoryBufferWindowNode } from './nodes/n8n-nodes-langchain/memoryBufferWindow';
|
|
67
|
+
import type { LcMemoryLakebaseChatNode } from './nodes/n8n-nodes-langchain/memoryLakebaseChat';
|
|
67
68
|
import type { LcMemoryManagerNode } from './nodes/n8n-nodes-langchain/memoryManager';
|
|
68
69
|
import type { LcMemoryMongoDbChatNode } from './nodes/n8n-nodes-langchain/memoryMongoDbChat';
|
|
69
70
|
import type { LcMemoryPostgresChatNode } from './nodes/n8n-nodes-langchain/memoryPostgresChat';
|
|
@@ -167,6 +168,7 @@ export * from './nodes/n8n-nodes-langchain/mcpClient';
|
|
|
167
168
|
export * from './nodes/n8n-nodes-langchain/mcpClientTool';
|
|
168
169
|
export * from './nodes/n8n-nodes-langchain/mcpTrigger';
|
|
169
170
|
export * from './nodes/n8n-nodes-langchain/memoryBufferWindow';
|
|
171
|
+
export * from './nodes/n8n-nodes-langchain/memoryLakebaseChat';
|
|
170
172
|
export * from './nodes/n8n-nodes-langchain/memoryManager';
|
|
171
173
|
export * from './nodes/n8n-nodes-langchain/memoryMongoDbChat';
|
|
172
174
|
export * from './nodes/n8n-nodes-langchain/memoryPostgresChat';
|
|
@@ -275,6 +277,7 @@ export type KnownNodeType =
|
|
|
275
277
|
| '@n8n/n8n-nodes-langchain.mcpClientTool'
|
|
276
278
|
| '@n8n/n8n-nodes-langchain.mcpTrigger'
|
|
277
279
|
| '@n8n/n8n-nodes-langchain.memoryBufferWindow'
|
|
280
|
+
| '@n8n/n8n-nodes-langchain.memoryLakebaseChat'
|
|
278
281
|
| '@n8n/n8n-nodes-langchain.memoryPostgresChat'
|
|
279
282
|
| '@n8n/n8n-nodes-langchain.memoryMongoDbChat'
|
|
280
283
|
| '@n8n/n8n-nodes-langchain.memoryRedisChat'
|
|
@@ -376,6 +379,7 @@ export type AllNodeTypes =
|
|
|
376
379
|
| LcMcpClientToolNode
|
|
377
380
|
| LcMcpTriggerNode
|
|
378
381
|
| LcMemoryBufferWindowNode
|
|
382
|
+
| LcMemoryLakebaseChatNode
|
|
379
383
|
| LcMemoryManagerNode
|
|
380
384
|
| LcMemoryMongoDbChatNode
|
|
381
385
|
| LcMemoryPostgresChatNode
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
26
26
|
authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
27
27
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
28
|
-
trustedSource: resolveSchema({ parameters, schema:
|
|
28
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
29
29
|
includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
|
|
30
30
|
initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
|
|
31
31
|
availableInChat: z.boolean().optional(),
|
|
@@ -30,12 +30,12 @@ export interface LcChatTriggerV1Params {
|
|
|
30
30
|
*/
|
|
31
31
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
32
32
|
/**
|
|
33
|
-
* The identity provider the visitor signs in with
|
|
33
|
+
* The identity provider the visitor signs in with
|
|
34
34
|
* @loadOptionsMethod listTrustedSources
|
|
35
35
|
* @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
|
|
36
36
|
* @default n8n-internal
|
|
37
37
|
*/
|
|
38
|
-
trustedSource?: string
|
|
38
|
+
trustedSource?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Whether to include the logged-in user's ID, email and name in the trigger output
|
|
41
41
|
* @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
|
|
@@ -106,7 +106,7 @@ export interface LcChatTriggerV1Params {
|
|
|
106
106
|
*/
|
|
107
107
|
customCss?: string | Expression<string>;
|
|
108
108
|
/** When and how to respond to the webhook
|
|
109
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
109
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
110
110
|
* @default lastNode
|
|
111
111
|
*/
|
|
112
112
|
responseMode?: 'lastNode' | 'responseNode' | Expression<string>;
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
26
26
|
authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
27
27
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
28
|
-
trustedSource: resolveSchema({ parameters, schema:
|
|
28
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
29
29
|
includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
|
|
30
30
|
initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
|
|
31
31
|
availableInChat: z.boolean().optional(),
|
|
@@ -30,12 +30,12 @@ export interface LcChatTriggerV11Params {
|
|
|
30
30
|
*/
|
|
31
31
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
32
32
|
/**
|
|
33
|
-
* The identity provider the visitor signs in with
|
|
33
|
+
* The identity provider the visitor signs in with
|
|
34
34
|
* @loadOptionsMethod listTrustedSources
|
|
35
35
|
* @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
|
|
36
36
|
* @default n8n-internal
|
|
37
37
|
*/
|
|
38
|
-
trustedSource?: string
|
|
38
|
+
trustedSource?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Whether to include the logged-in user's ID, email and name in the trigger output
|
|
41
41
|
* @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
|
|
@@ -106,7 +106,7 @@ export interface LcChatTriggerV11Params {
|
|
|
106
106
|
*/
|
|
107
107
|
customCss?: string | Expression<string>;
|
|
108
108
|
/** When and how to respond to the webhook
|
|
109
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
109
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
110
110
|
* @default lastNode
|
|
111
111
|
*/
|
|
112
112
|
responseMode?: 'lastNode' | 'responseNode' | Expression<string>;
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
26
26
|
authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
27
27
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
28
|
-
trustedSource: resolveSchema({ parameters, schema:
|
|
28
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
29
29
|
includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
|
|
30
30
|
initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
|
|
31
31
|
availableInChat: z.boolean().optional(),
|
|
@@ -30,12 +30,12 @@ export interface LcChatTriggerV12Params {
|
|
|
30
30
|
*/
|
|
31
31
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
32
32
|
/**
|
|
33
|
-
* The identity provider the visitor signs in with
|
|
33
|
+
* The identity provider the visitor signs in with
|
|
34
34
|
* @loadOptionsMethod listTrustedSources
|
|
35
35
|
* @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
|
|
36
36
|
* @default n8n-internal
|
|
37
37
|
*/
|
|
38
|
-
trustedSource?: string
|
|
38
|
+
trustedSource?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Whether to include the logged-in user's ID, email and name in the trigger output
|
|
41
41
|
* @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
|
|
@@ -143,13 +143,13 @@ export interface LcChatTriggerV12Params {
|
|
|
143
143
|
customCss?: string | Expression<string>;
|
|
144
144
|
responseMode?:
|
|
145
145
|
/** When and how to respond to the webhook
|
|
146
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
146
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
147
147
|
* @displayOptions.show { /availableInChat: [false] }
|
|
148
148
|
* @default lastNode
|
|
149
149
|
*/
|
|
150
150
|
| 'lastNode' | 'responseNode' | 'streaming' | Expression<string>
|
|
151
151
|
/** When and how to respond to the webhook
|
|
152
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
152
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
153
153
|
* @displayOptions.show { /availableInChat: [true] }
|
|
154
154
|
* @default streaming
|
|
155
155
|
*/
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
26
26
|
authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
27
27
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
28
|
-
trustedSource: resolveSchema({ parameters, schema:
|
|
28
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
29
29
|
includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
|
|
30
30
|
initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
|
|
31
31
|
availableInChat: z.boolean().optional(),
|
|
@@ -33,7 +33,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
33
33
|
agentName: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
34
34
|
agentDescription: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
35
35
|
suggestedPrompts: resolveSchema({ parameters, schema: z.object({ prompts: z.array(z.object({ icon: z.object({ type: z.union([z.literal('icon'), z.literal('emoji')]), value: z.string() }).optional(), text: z.string().optional() })).optional() }), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
36
|
-
options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'),
|
|
36
|
+
options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
// Return combined config schema
|
|
@@ -30,12 +30,12 @@ export interface LcChatTriggerV13Params {
|
|
|
30
30
|
*/
|
|
31
31
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
32
32
|
/**
|
|
33
|
-
* The identity provider the visitor signs in with
|
|
33
|
+
* The identity provider the visitor signs in with
|
|
34
34
|
* @loadOptionsMethod listTrustedSources
|
|
35
35
|
* @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
|
|
36
36
|
* @default n8n-internal
|
|
37
37
|
*/
|
|
38
|
-
trustedSource?: string
|
|
38
|
+
trustedSource?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Whether to include the logged-in user's ID, email and name in the trigger output
|
|
41
41
|
* @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
|
|
@@ -102,13 +102,13 @@ export interface LcChatTriggerV13Params {
|
|
|
102
102
|
allowedFilesMimeTypes?: string | Expression<string>;
|
|
103
103
|
responseMode?:
|
|
104
104
|
/** When and how to respond to the chat
|
|
105
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
105
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
106
106
|
* @displayOptions.show { /availableInChat: [false] }
|
|
107
107
|
* @default lastNode
|
|
108
108
|
*/
|
|
109
109
|
| 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
|
|
110
110
|
/** When and how to respond to the chat
|
|
111
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
111
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
112
112
|
* @displayOptions.show { /availableInChat: [true] }
|
|
113
113
|
* @default streaming
|
|
114
114
|
*/
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
26
26
|
authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
27
27
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
28
|
-
trustedSource: resolveSchema({ parameters, schema:
|
|
28
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
29
29
|
includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
|
|
30
30
|
initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
|
|
31
31
|
availableInChat: z.boolean().optional(),
|
|
@@ -33,7 +33,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
33
33
|
agentName: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
34
34
|
agentDescription: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
35
35
|
suggestedPrompts: resolveSchema({ parameters, schema: z.object({ prompts: z.array(z.object({ icon: z.object({ type: z.union([z.literal('icon'), z.literal('emoji')]), value: z.string() }).optional(), text: z.string().optional() })).optional() }), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
36
|
-
options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'),
|
|
36
|
+
options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
// Return combined config schema
|
|
@@ -30,12 +30,12 @@ export interface LcChatTriggerV14Params {
|
|
|
30
30
|
*/
|
|
31
31
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
32
32
|
/**
|
|
33
|
-
* The identity provider the visitor signs in with
|
|
33
|
+
* The identity provider the visitor signs in with
|
|
34
34
|
* @loadOptionsMethod listTrustedSources
|
|
35
35
|
* @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
|
|
36
36
|
* @default n8n-internal
|
|
37
37
|
*/
|
|
38
|
-
trustedSource?: string
|
|
38
|
+
trustedSource?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Whether to include the logged-in user's ID, email and name in the trigger output
|
|
41
41
|
* @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
|
|
@@ -102,13 +102,13 @@ export interface LcChatTriggerV14Params {
|
|
|
102
102
|
allowedFilesMimeTypes?: string | Expression<string>;
|
|
103
103
|
responseMode?:
|
|
104
104
|
/** When and how to respond to the chat
|
|
105
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
105
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
106
106
|
* @displayOptions.show { /availableInChat: [false] }
|
|
107
107
|
* @default lastNode
|
|
108
108
|
*/
|
|
109
109
|
| 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
|
|
110
110
|
/** When and how to respond to the chat
|
|
111
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
111
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
112
112
|
* @displayOptions.show { /availableInChat: [true] }
|
|
113
113
|
* @default streaming
|
|
114
114
|
*/
|
|
@@ -25,7 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
26
26
|
authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
|
|
27
27
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
28
|
-
trustedSource: resolveSchema({ parameters, schema:
|
|
28
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
|
|
29
29
|
includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
|
|
30
30
|
initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
|
|
31
31
|
availableInChat: z.boolean().optional(),
|
|
@@ -33,7 +33,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
33
33
|
agentName: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
34
34
|
agentDescription: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
35
35
|
suggestedPrompts: resolveSchema({ parameters, schema: z.object({ prompts: z.array(z.object({ icon: z.object({ type: z.union([z.literal('icon'), z.literal('emoji')]), value: z.string() }).optional(), text: z.string().optional() })).optional() }), required: false, displayOptions: {"show":{"availableInChat":[true]}}, defaults: {"availableInChat":false} }),
|
|
36
|
-
options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'),
|
|
36
|
+
options: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('responseNodes'), z.literal('streaming'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"public":[false]}}, defaults: {"public":false} }, { schema: z.object({ allowedOrigins: stringOrExpression.optional(), allowFileUploads: booleanOrExpression.optional(), allowedFilesMimeTypes: stringOrExpression.optional(), inputPlaceholder: stringOrExpression.optional(), loadPreviousSession: z.union([z.literal('notSupported'), z.literal('memory'), z.literal('manually'), expressionSchema]).optional(), showWelcomeScreen: booleanOrExpression.optional(), getStarted: stringOrExpression.optional(), subtitle: stringOrExpression.optional(), title: stringOrExpression.optional(), customCss: stringOrExpression.optional(), responseMode: z.union([z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('streaming'), z.literal('lastNode'), z.literal('responseNodes'), expressionSchema]), z.union([z.literal('lastNode'), z.literal('streaming'), z.literal('responseNodes'), expressionSchema])]).optional(), autoSaveHighlightedData: booleanOrExpression.optional() }), required: false, displayOptions: {"show":{"mode":["hostedChat","webhook"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }] }),
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
// Return combined config schema
|
|
@@ -30,12 +30,12 @@ export interface LcChatTriggerV15Params {
|
|
|
30
30
|
*/
|
|
31
31
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
32
32
|
/**
|
|
33
|
-
* The identity provider the visitor signs in with
|
|
33
|
+
* The identity provider the visitor signs in with
|
|
34
34
|
* @loadOptionsMethod listTrustedSources
|
|
35
35
|
* @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
|
|
36
36
|
* @default n8n-internal
|
|
37
37
|
*/
|
|
38
|
-
trustedSource?: string
|
|
38
|
+
trustedSource?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Whether to include the logged-in user's ID, email and name in the trigger output
|
|
41
41
|
* @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
|
|
@@ -102,13 +102,13 @@ export interface LcChatTriggerV15Params {
|
|
|
102
102
|
allowedFilesMimeTypes?: string | Expression<string>;
|
|
103
103
|
responseMode?:
|
|
104
104
|
/** When and how to respond to the chat
|
|
105
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
105
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
106
106
|
* @displayOptions.show { /availableInChat: [false] }
|
|
107
107
|
* @default lastNode
|
|
108
108
|
*/
|
|
109
109
|
| 'lastNode' | 'responseNodes' | 'streaming' | Expression<string>
|
|
110
110
|
/** When and how to respond to the chat
|
|
111
|
-
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes'
|
|
111
|
+
* @builderHint 'streaming' (preferred for Agent-backed chats): the connected Agent streams its reply to the widget directly — no extra wiring. Place logging or side-effects on a PARALLEL branch off the trigger or Agent, never inline after the Agent. 'lastNode': the last-executed node's output is sent to the widget — that node MUST emit `{ output: '<reply text>' }` (typically the Agent itself, or a Set node re-shaping data). NEVER terminate the chain with a Data Table insert, HTTP Request, or other side-effect node — their output is not a chat reply and the widget will error. 'responseNodes': requires one or more `@n8n/n8n-nodes-langchain.chat` nodes inside the flow (hosted and embedded mode). 'responseNode': requires a `n8n-nodes-base.respondToWebhook` node.
|
|
112
112
|
* @displayOptions.show { /availableInChat: [true] }
|
|
113
113
|
* @default streaming
|
|
114
114
|
*/
|
|
@@ -21,6 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
21
21
|
const parametersSchema = z.object({
|
|
22
22
|
authentication: z.union([z.literal('none'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
25
|
path: stringOrExpression,
|
|
25
26
|
instructions: stringOrExpression.optional(),
|
|
26
27
|
});
|
|
@@ -17,6 +17,13 @@ export interface LcMcpTriggerV1Params {
|
|
|
17
17
|
* @default true
|
|
18
18
|
*/
|
|
19
19
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* The identity provider whose access tokens can call this MCP server
|
|
22
|
+
* @loadOptionsMethod listTrustedSources
|
|
23
|
+
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
24
|
+
* @default n8n-internal
|
|
25
|
+
*/
|
|
26
|
+
trustedSource?: string;
|
|
20
27
|
/**
|
|
21
28
|
* The base path for this MCP server
|
|
22
29
|
*/
|
|
@@ -21,6 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
21
21
|
const parametersSchema = z.object({
|
|
22
22
|
authentication: z.union([z.literal('none'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
25
|
path: stringOrExpression,
|
|
25
26
|
instructions: stringOrExpression.optional(),
|
|
26
27
|
});
|
|
@@ -17,6 +17,13 @@ export interface LcMcpTriggerV11Params {
|
|
|
17
17
|
* @default true
|
|
18
18
|
*/
|
|
19
19
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* The identity provider whose access tokens can call this MCP server
|
|
22
|
+
* @loadOptionsMethod listTrustedSources
|
|
23
|
+
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
24
|
+
* @default n8n-internal
|
|
25
|
+
*/
|
|
26
|
+
trustedSource?: string;
|
|
20
27
|
/**
|
|
21
28
|
* The base path for this MCP server
|
|
22
29
|
*/
|
|
@@ -21,6 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
21
21
|
const parametersSchema = z.object({
|
|
22
22
|
authentication: z.union([z.literal('none'), z.literal('n8nOAuth2'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
25
|
path: stringOrExpression,
|
|
25
26
|
instructions: stringOrExpression.optional(),
|
|
26
27
|
});
|
|
@@ -17,6 +17,13 @@ export interface LcMcpTriggerV2Params {
|
|
|
17
17
|
* @default true
|
|
18
18
|
*/
|
|
19
19
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* The identity provider whose access tokens can call this MCP server
|
|
22
|
+
* @loadOptionsMethod listTrustedSources
|
|
23
|
+
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
24
|
+
* @default n8n-internal
|
|
25
|
+
*/
|
|
26
|
+
trustedSource?: string;
|
|
20
27
|
/**
|
|
21
28
|
* The base path for this MCP server
|
|
22
29
|
*/
|
|
@@ -21,6 +21,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
21
21
|
const parametersSchema = z.object({
|
|
22
22
|
authentication: z.union([z.literal('none'), z.literal('n8nOAuth2'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
|
+
trustedSource: resolveSchema({ parameters, schema: z.string(), required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
25
|
includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
25
26
|
path: stringOrExpression,
|
|
26
27
|
instructions: stringOrExpression.optional(),
|
|
@@ -17,6 +17,13 @@ export interface LcMcpTriggerV21Params {
|
|
|
17
17
|
* @default true
|
|
18
18
|
*/
|
|
19
19
|
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* The identity provider whose access tokens can call this MCP server
|
|
22
|
+
* @loadOptionsMethod listTrustedSources
|
|
23
|
+
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
24
|
+
* @default n8n-internal
|
|
25
|
+
*/
|
|
26
|
+
trustedSource?: string;
|
|
20
27
|
/**
|
|
21
28
|
* Whether to include the calling user's ID, email and name in the trigger output and in the request the connected tools receive
|
|
22
29
|
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Lakebase Chat Memory Node Types
|
|
3
|
+
*
|
|
4
|
+
* Re-exports all version-specific types and provides combined union type.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { LcMemoryLakebaseChatV1Node } from './v1';
|
|
8
|
+
|
|
9
|
+
export * from './v1';
|
|
10
|
+
|
|
11
|
+
// Combined union type for all versions
|
|
12
|
+
export type LcMemoryLakebaseChatNode = LcMemoryLakebaseChatV1Node;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Lakebase Chat Memory Node - Version 1 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
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 }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
authentication: z.unknown().optional(),
|
|
18
|
+
lakebaseProject: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
19
|
+
lakebaseBranch: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
20
|
+
lakebaseDatabase: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
lakebaseSchema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
lakebaseTable: stringOrExpression.optional(),
|
|
23
|
+
sessionIdType: z.union([z.literal('fromInput'), z.literal('customKey'), expressionSchema]).optional(),
|
|
24
|
+
sessionKey: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"sessionIdType":["customKey"]}}, defaults: {"sessionIdType":"fromInput"} }),
|
|
25
|
+
contextWindowLength: numberOrExpression.optional(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
// Return combined config schema
|
|
29
|
+
return z.object({
|
|
30
|
+
parameters: parametersSchema.nullable().optional(),
|
|
31
|
+
});
|
|
32
|
+
};
|