@n8n/n8n-nodes-langchain 2.21.2 → 2.22.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/credentials/NvidiaApi.credentials.d.ts +9 -0
- package/dist/credentials/NvidiaApi.credentials.js +49 -0
- package/dist/credentials/NvidiaApi.credentials.js.map +1 -0
- package/dist/known/credentials.json +7 -0
- package/dist/known/nodes.json +4 -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/agent/v3.ts +6 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v31.ts +6 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agentTool/v3.ts +6 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatNvidia/index.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatNvidia/v1.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatNvidia/v1.ts +68 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpClientTool/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpClientTool/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpClientTool/v12.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_update.ts +16 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_retrieve_as_tool.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_insert.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_load.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_retrieve.ts +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_retrieve_as_tool.ts +30 -0
- package/dist/nodes/Guardrails/v2/GuardrailsV2.node.js +52 -0
- package/dist/nodes/Guardrails/v2/GuardrailsV2.node.js.map +1 -1
- package/dist/nodes/agents/Agent/Agent.node.js +68 -0
- package/dist/nodes/agents/Agent/Agent.node.js.map +1 -1
- package/dist/nodes/agents/Agent/V3/AgentToolV3.node.js +3 -0
- package/dist/nodes/agents/Agent/V3/AgentToolV3.node.js.map +1 -1
- package/dist/nodes/agents/Agent/V3/AgentV3.node.js +3 -0
- package/dist/nodes/agents/Agent/V3/AgentV3.node.js.map +1 -1
- package/dist/nodes/llms/LmChatNvidia/LmChatNvidia.node.d.ts +5 -0
- package/dist/nodes/llms/LmChatNvidia/LmChatNvidia.node.js +239 -0
- package/dist/nodes/llms/LmChatNvidia/LmChatNvidia.node.js.map +1 -0
- package/dist/nodes/llms/LmChatNvidia/nvidia.dark.svg +1 -0
- package/dist/nodes/llms/LmChatNvidia/nvidia.svg +1 -0
- package/dist/nodes/mcp/McpClientTool/McpClientTool.node.js +2 -3
- package/dist/nodes/mcp/McpClientTool/McpClientTool.node.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +1 -0
- package/dist/types/nodes.json +22 -21
- package/package.json +17 -14
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Get many ranked documents from vector store for query */
|
|
12
12
|
export type LcVectorStoreMilvusV1LoadParams = {
|
|
13
|
+
/**
|
|
14
|
+
* One-shot similarity search on the main flow using the `prompt` parameter. Declare with `vectorStore({...})`. Required subnodes: `embedding`. For LLM-driven querying (RAG), use `mode: 'retrieve-as-tool'` instead.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="load mode — one-shot similarity search (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const lookup = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: {
|
|
23
|
+
* mode: 'load',
|
|
24
|
+
* prompt: expr('{{ $json.query }}'),
|
|
25
|
+
* // ...provider-specific parameters
|
|
26
|
+
* },
|
|
27
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
28
|
+
* }
|
|
29
|
+
* });
|
|
30
|
+
* </pattern>
|
|
31
|
+
* </patterns>
|
|
32
|
+
*/
|
|
13
33
|
mode: 'load';
|
|
14
34
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_retrieve.ts
CHANGED
|
@@ -10,6 +10,31 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as vector store with AI nodes */
|
|
12
12
|
export type LcVectorStoreMilvusV1RetrieveParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Exposes the store as an `ai_vectorStore` subnode for another node (e.g. `toolVectorStore`). Declare with `vectorStore({...})`. Required subnodes: `embedding`. For RAG with an AI Agent directly, prefer `mode: 'retrieve-as-tool'`.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve mode — feed another node as a subnode (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const store = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: { mode: 'retrieve' /* + provider-specific parameters *\/ },
|
|
23
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
24
|
+
* }
|
|
25
|
+
* });
|
|
26
|
+
*
|
|
27
|
+
* const retrieverTool = tool({
|
|
28
|
+
* type: '@n8n/n8n-nodes-langchain.toolVectorStore',
|
|
29
|
+
* config: {
|
|
30
|
+
* name: 'KB Retriever',
|
|
31
|
+
* parameters: { description: 'Search the product knowledge base' },
|
|
32
|
+
* subnodes: { vectorStore: store, model: openAiModel }
|
|
33
|
+
* }
|
|
34
|
+
* });
|
|
35
|
+
* </pattern>
|
|
36
|
+
* </patterns>
|
|
37
|
+
*/
|
|
13
38
|
mode: 'retrieve';
|
|
14
39
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
40
|
/**
|
|
@@ -10,6 +10,36 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as tool with AI nodes */
|
|
12
12
|
export type LcVectorStoreMilvusV1RetrieveAsToolParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Canonical RAG mode — declare with the `tool({...})` factory (NOT `vectorStore`) and plug into an AI Agent's `subnodes.tools`. Required subnodes: `embedding`. Set `toolDescription` so the agent knows when to call it.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file
|
|
18
|
+
* // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
|
|
19
|
+
* const knowledgeBase = tool({
|
|
20
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
21
|
+
* config: {
|
|
22
|
+
* name: 'Knowledge Base',
|
|
23
|
+
* parameters: {
|
|
24
|
+
* mode: 'retrieve-as-tool',
|
|
25
|
+
* toolDescription: 'Search the product knowledge base',
|
|
26
|
+
* // ...provider-specific parameters
|
|
27
|
+
* },
|
|
28
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
29
|
+
* }
|
|
30
|
+
* });
|
|
31
|
+
*
|
|
32
|
+
* const agent = node({
|
|
33
|
+
* type: '@n8n/n8n-nodes-langchain.agent',
|
|
34
|
+
* config: {
|
|
35
|
+
* name: 'Support Agent',
|
|
36
|
+
* parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
|
|
37
|
+
* subnodes: { model: openAiModel, tools: [knowledgeBase] }
|
|
38
|
+
* }
|
|
39
|
+
* });
|
|
40
|
+
* </pattern>
|
|
41
|
+
* </patterns>
|
|
42
|
+
*/
|
|
13
43
|
mode: 'retrieve-as-tool';
|
|
14
44
|
/**
|
|
15
45
|
* Name of the vector store
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_insert.ts
CHANGED
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Insert documents into vector store */
|
|
12
12
|
export type LcVectorStoreMilvusV11InsertParams = {
|
|
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
|
+
*/
|
|
13
33
|
mode: 'insert';
|
|
14
34
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Get many ranked documents from vector store for query */
|
|
12
12
|
export type LcVectorStoreMilvusV11LoadParams = {
|
|
13
|
+
/**
|
|
14
|
+
* One-shot similarity search on the main flow using the `prompt` parameter. Declare with `vectorStore({...})`. Required subnodes: `embedding`. For LLM-driven querying (RAG), use `mode: 'retrieve-as-tool'` instead.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="load mode — one-shot similarity search (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const lookup = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: {
|
|
23
|
+
* mode: 'load',
|
|
24
|
+
* prompt: expr('{{ $json.query }}'),
|
|
25
|
+
* // ...provider-specific parameters
|
|
26
|
+
* },
|
|
27
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
28
|
+
* }
|
|
29
|
+
* });
|
|
30
|
+
* </pattern>
|
|
31
|
+
* </patterns>
|
|
32
|
+
*/
|
|
13
33
|
mode: 'load';
|
|
14
34
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_retrieve.ts
CHANGED
|
@@ -10,6 +10,31 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as vector store with AI nodes */
|
|
12
12
|
export type LcVectorStoreMilvusV11RetrieveParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Exposes the store as an `ai_vectorStore` subnode for another node (e.g. `toolVectorStore`). Declare with `vectorStore({...})`. Required subnodes: `embedding`. For RAG with an AI Agent directly, prefer `mode: 'retrieve-as-tool'`.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve mode — feed another node as a subnode (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const store = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: { mode: 'retrieve' /* + provider-specific parameters *\/ },
|
|
23
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
24
|
+
* }
|
|
25
|
+
* });
|
|
26
|
+
*
|
|
27
|
+
* const retrieverTool = tool({
|
|
28
|
+
* type: '@n8n/n8n-nodes-langchain.toolVectorStore',
|
|
29
|
+
* config: {
|
|
30
|
+
* name: 'KB Retriever',
|
|
31
|
+
* parameters: { description: 'Search the product knowledge base' },
|
|
32
|
+
* subnodes: { vectorStore: store, model: openAiModel }
|
|
33
|
+
* }
|
|
34
|
+
* });
|
|
35
|
+
* </pattern>
|
|
36
|
+
* </patterns>
|
|
37
|
+
*/
|
|
13
38
|
mode: 'retrieve';
|
|
14
39
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
40
|
/**
|
|
@@ -10,6 +10,36 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as tool with AI nodes */
|
|
12
12
|
export type LcVectorStoreMilvusV11RetrieveAsToolParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Canonical RAG mode — declare with the `tool({...})` factory (NOT `vectorStore`) and plug into an AI Agent's `subnodes.tools`. Required subnodes: `embedding`. Set `toolDescription` so the agent knows when to call it.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file
|
|
18
|
+
* // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
|
|
19
|
+
* const knowledgeBase = tool({
|
|
20
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
21
|
+
* config: {
|
|
22
|
+
* name: 'Knowledge Base',
|
|
23
|
+
* parameters: {
|
|
24
|
+
* mode: 'retrieve-as-tool',
|
|
25
|
+
* toolDescription: 'Search the product knowledge base',
|
|
26
|
+
* // ...provider-specific parameters
|
|
27
|
+
* },
|
|
28
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
29
|
+
* }
|
|
30
|
+
* });
|
|
31
|
+
*
|
|
32
|
+
* const agent = node({
|
|
33
|
+
* type: '@n8n/n8n-nodes-langchain.agent',
|
|
34
|
+
* config: {
|
|
35
|
+
* name: 'Support Agent',
|
|
36
|
+
* parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
|
|
37
|
+
* subnodes: { model: openAiModel, tools: [knowledgeBase] }
|
|
38
|
+
* }
|
|
39
|
+
* });
|
|
40
|
+
* </pattern>
|
|
41
|
+
* </patterns>
|
|
42
|
+
*/
|
|
13
43
|
mode: 'retrieve-as-tool';
|
|
14
44
|
/**
|
|
15
45
|
* Name of the vector store
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_insert.ts
CHANGED
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Insert documents into vector store */
|
|
12
12
|
export type LcVectorStoreMilvusV12InsertParams = {
|
|
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
|
+
*/
|
|
13
33
|
mode: 'insert';
|
|
14
34
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Get many ranked documents from vector store for query */
|
|
12
12
|
export type LcVectorStoreMilvusV12LoadParams = {
|
|
13
|
+
/**
|
|
14
|
+
* One-shot similarity search on the main flow using the `prompt` parameter. Declare with `vectorStore({...})`. Required subnodes: `embedding`. For LLM-driven querying (RAG), use `mode: 'retrieve-as-tool'` instead.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="load mode — one-shot similarity search (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const lookup = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: {
|
|
23
|
+
* mode: 'load',
|
|
24
|
+
* prompt: expr('{{ $json.query }}'),
|
|
25
|
+
* // ...provider-specific parameters
|
|
26
|
+
* },
|
|
27
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
28
|
+
* }
|
|
29
|
+
* });
|
|
30
|
+
* </pattern>
|
|
31
|
+
* </patterns>
|
|
32
|
+
*/
|
|
13
33
|
mode: 'load';
|
|
14
34
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_retrieve.ts
CHANGED
|
@@ -10,6 +10,31 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as vector store with AI nodes */
|
|
12
12
|
export type LcVectorStoreMilvusV12RetrieveParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Exposes the store as an `ai_vectorStore` subnode for another node (e.g. `toolVectorStore`). Declare with `vectorStore({...})`. Required subnodes: `embedding`. For RAG with an AI Agent directly, prefer `mode: 'retrieve-as-tool'`.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve mode — feed another node as a subnode (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const store = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: { mode: 'retrieve' /* + provider-specific parameters *\/ },
|
|
23
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
24
|
+
* }
|
|
25
|
+
* });
|
|
26
|
+
*
|
|
27
|
+
* const retrieverTool = tool({
|
|
28
|
+
* type: '@n8n/n8n-nodes-langchain.toolVectorStore',
|
|
29
|
+
* config: {
|
|
30
|
+
* name: 'KB Retriever',
|
|
31
|
+
* parameters: { description: 'Search the product knowledge base' },
|
|
32
|
+
* subnodes: { vectorStore: store, model: openAiModel }
|
|
33
|
+
* }
|
|
34
|
+
* });
|
|
35
|
+
* </pattern>
|
|
36
|
+
* </patterns>
|
|
37
|
+
*/
|
|
13
38
|
mode: 'retrieve';
|
|
14
39
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
40
|
/**
|
|
@@ -10,6 +10,36 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as tool with AI nodes */
|
|
12
12
|
export type LcVectorStoreMilvusV12RetrieveAsToolParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Canonical RAG mode — declare with the `tool({...})` factory (NOT `vectorStore`) and plug into an AI Agent's `subnodes.tools`. Required subnodes: `embedding`. Set `toolDescription` so the agent knows when to call it.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file
|
|
18
|
+
* // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
|
|
19
|
+
* const knowledgeBase = tool({
|
|
20
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
21
|
+
* config: {
|
|
22
|
+
* name: 'Knowledge Base',
|
|
23
|
+
* parameters: {
|
|
24
|
+
* mode: 'retrieve-as-tool',
|
|
25
|
+
* toolDescription: 'Search the product knowledge base',
|
|
26
|
+
* // ...provider-specific parameters
|
|
27
|
+
* },
|
|
28
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
29
|
+
* }
|
|
30
|
+
* });
|
|
31
|
+
*
|
|
32
|
+
* const agent = node({
|
|
33
|
+
* type: '@n8n/n8n-nodes-langchain.agent',
|
|
34
|
+
* config: {
|
|
35
|
+
* name: 'Support Agent',
|
|
36
|
+
* parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
|
|
37
|
+
* subnodes: { model: openAiModel, tools: [knowledgeBase] }
|
|
38
|
+
* }
|
|
39
|
+
* });
|
|
40
|
+
* </pattern>
|
|
41
|
+
* </patterns>
|
|
42
|
+
*/
|
|
13
43
|
mode: 'retrieve-as-tool';
|
|
14
44
|
/**
|
|
15
45
|
* Name of the vector store
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_insert.ts
CHANGED
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Insert documents into vector store */
|
|
12
12
|
export type LcVectorStoreMilvusV13InsertParams = {
|
|
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
|
+
*/
|
|
13
33
|
mode: 'insert';
|
|
14
34
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Get many ranked documents from vector store for query */
|
|
12
12
|
export type LcVectorStoreMilvusV13LoadParams = {
|
|
13
|
+
/**
|
|
14
|
+
* One-shot similarity search on the main flow using the `prompt` parameter. Declare with `vectorStore({...})`. Required subnodes: `embedding`. For LLM-driven querying (RAG), use `mode: 'retrieve-as-tool'` instead.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="load mode — one-shot similarity search (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const lookup = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: {
|
|
23
|
+
* mode: 'load',
|
|
24
|
+
* prompt: expr('{{ $json.query }}'),
|
|
25
|
+
* // ...provider-specific parameters
|
|
26
|
+
* },
|
|
27
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
28
|
+
* }
|
|
29
|
+
* });
|
|
30
|
+
* </pattern>
|
|
31
|
+
* </patterns>
|
|
32
|
+
*/
|
|
13
33
|
mode: 'load';
|
|
14
34
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_retrieve.ts
CHANGED
|
@@ -10,6 +10,31 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as vector store with AI nodes */
|
|
12
12
|
export type LcVectorStoreMilvusV13RetrieveParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Exposes the store as an `ai_vectorStore` subnode for another node (e.g. `toolVectorStore`). Declare with `vectorStore({...})`. Required subnodes: `embedding`. For RAG with an AI Agent directly, prefer `mode: 'retrieve-as-tool'`.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve mode — feed another node as a subnode (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const store = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: { mode: 'retrieve' /* + provider-specific parameters *\/ },
|
|
23
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
24
|
+
* }
|
|
25
|
+
* });
|
|
26
|
+
*
|
|
27
|
+
* const retrieverTool = tool({
|
|
28
|
+
* type: '@n8n/n8n-nodes-langchain.toolVectorStore',
|
|
29
|
+
* config: {
|
|
30
|
+
* name: 'KB Retriever',
|
|
31
|
+
* parameters: { description: 'Search the product knowledge base' },
|
|
32
|
+
* subnodes: { vectorStore: store, model: openAiModel }
|
|
33
|
+
* }
|
|
34
|
+
* });
|
|
35
|
+
* </pattern>
|
|
36
|
+
* </patterns>
|
|
37
|
+
*/
|
|
13
38
|
mode: 'retrieve';
|
|
14
39
|
milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
15
40
|
/**
|
|
@@ -10,6 +10,36 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as tool with AI nodes */
|
|
12
12
|
export type LcVectorStoreMilvusV13RetrieveAsToolParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Canonical RAG mode — declare with the `tool({...})` factory (NOT `vectorStore`) and plug into an AI Agent's `subnodes.tools`. Required subnodes: `embedding`. Set `toolDescription` so the agent knows when to call it.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file
|
|
18
|
+
* // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
|
|
19
|
+
* const knowledgeBase = tool({
|
|
20
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
21
|
+
* config: {
|
|
22
|
+
* name: 'Knowledge Base',
|
|
23
|
+
* parameters: {
|
|
24
|
+
* mode: 'retrieve-as-tool',
|
|
25
|
+
* toolDescription: 'Search the product knowledge base',
|
|
26
|
+
* // ...provider-specific parameters
|
|
27
|
+
* },
|
|
28
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
29
|
+
* }
|
|
30
|
+
* });
|
|
31
|
+
*
|
|
32
|
+
* const agent = node({
|
|
33
|
+
* type: '@n8n/n8n-nodes-langchain.agent',
|
|
34
|
+
* config: {
|
|
35
|
+
* name: 'Support Agent',
|
|
36
|
+
* parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
|
|
37
|
+
* subnodes: { model: openAiModel, tools: [knowledgeBase] }
|
|
38
|
+
* }
|
|
39
|
+
* });
|
|
40
|
+
* </pattern>
|
|
41
|
+
* </patterns>
|
|
42
|
+
*/
|
|
13
43
|
mode: 'retrieve-as-tool';
|
|
14
44
|
/**
|
|
15
45
|
* Explain to the LLM what this tool does, a good, specific description would allow LLMs to produce expected results much more often
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_insert.ts
CHANGED
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Insert documents into vector store */
|
|
12
12
|
export type LcVectorStoreMongoDBAtlasV1InsertParams = {
|
|
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
|
+
*/
|
|
13
33
|
mode: 'insert';
|
|
14
34
|
mongoCollection?: { __rl: true; mode: 'list' | 'name'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_load.ts
CHANGED
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Get many ranked documents from vector store for query */
|
|
12
12
|
export type LcVectorStoreMongoDBAtlasV1LoadParams = {
|
|
13
|
+
/**
|
|
14
|
+
* One-shot similarity search on the main flow using the `prompt` parameter. Declare with `vectorStore({...})`. Required subnodes: `embedding`. For LLM-driven querying (RAG), use `mode: 'retrieve-as-tool'` instead.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="load mode — one-shot similarity search (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const lookup = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: {
|
|
23
|
+
* mode: 'load',
|
|
24
|
+
* prompt: expr('{{ $json.query }}'),
|
|
25
|
+
* // ...provider-specific parameters
|
|
26
|
+
* },
|
|
27
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
28
|
+
* }
|
|
29
|
+
* });
|
|
30
|
+
* </pattern>
|
|
31
|
+
* </patterns>
|
|
32
|
+
*/
|
|
13
33
|
mode: 'load';
|
|
14
34
|
mongoCollection?: { __rl: true; mode: 'list' | 'name'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_retrieve.ts
CHANGED
|
@@ -10,6 +10,31 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as vector store with AI nodes */
|
|
12
12
|
export type LcVectorStoreMongoDBAtlasV1RetrieveParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Exposes the store as an `ai_vectorStore` subnode for another node (e.g. `toolVectorStore`). Declare with `vectorStore({...})`. Required subnodes: `embedding`. For RAG with an AI Agent directly, prefer `mode: 'retrieve-as-tool'`.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve mode — feed another node as a subnode (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const store = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: { mode: 'retrieve' /* + provider-specific parameters *\/ },
|
|
23
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
24
|
+
* }
|
|
25
|
+
* });
|
|
26
|
+
*
|
|
27
|
+
* const retrieverTool = tool({
|
|
28
|
+
* type: '@n8n/n8n-nodes-langchain.toolVectorStore',
|
|
29
|
+
* config: {
|
|
30
|
+
* name: 'KB Retriever',
|
|
31
|
+
* parameters: { description: 'Search the product knowledge base' },
|
|
32
|
+
* subnodes: { vectorStore: store, model: openAiModel }
|
|
33
|
+
* }
|
|
34
|
+
* });
|
|
35
|
+
* </pattern>
|
|
36
|
+
* </patterns>
|
|
37
|
+
*/
|
|
13
38
|
mode: 'retrieve';
|
|
14
39
|
mongoCollection?: { __rl: true; mode: 'list' | 'name'; value: string; cachedResultName?: string };
|
|
15
40
|
/**
|
|
@@ -10,6 +10,36 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Retrieve documents from vector store to be used as tool with AI nodes */
|
|
12
12
|
export type LcVectorStoreMongoDBAtlasV1RetrieveAsToolParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Canonical RAG mode — declare with the `tool({...})` factory (NOT `vectorStore`) and plug into an AI Agent's `subnodes.tools`. Required subnodes: `embedding`. Set `toolDescription` so the agent knows when to call it.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file
|
|
18
|
+
* // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
|
|
19
|
+
* const knowledgeBase = tool({
|
|
20
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
21
|
+
* config: {
|
|
22
|
+
* name: 'Knowledge Base',
|
|
23
|
+
* parameters: {
|
|
24
|
+
* mode: 'retrieve-as-tool',
|
|
25
|
+
* toolDescription: 'Search the product knowledge base',
|
|
26
|
+
* // ...provider-specific parameters
|
|
27
|
+
* },
|
|
28
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
29
|
+
* }
|
|
30
|
+
* });
|
|
31
|
+
*
|
|
32
|
+
* const agent = node({
|
|
33
|
+
* type: '@n8n/n8n-nodes-langchain.agent',
|
|
34
|
+
* config: {
|
|
35
|
+
* name: 'Support Agent',
|
|
36
|
+
* parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
|
|
37
|
+
* subnodes: { model: openAiModel, tools: [knowledgeBase] }
|
|
38
|
+
* }
|
|
39
|
+
* });
|
|
40
|
+
* </pattern>
|
|
41
|
+
* </patterns>
|
|
42
|
+
*/
|
|
13
43
|
mode: 'retrieve-as-tool';
|
|
14
44
|
/**
|
|
15
45
|
* Name of the vector store
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_update.ts
CHANGED
|
@@ -10,6 +10,22 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Update documents in vector store by ID */
|
|
12
12
|
export type LcVectorStoreMongoDBAtlasV1UpdateParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Updates a single document by `id`. Declare with `vectorStore({...})`. Required subnodes: `embedding`. Only available on stores whose `operationModes` enables it — most providers omit this mode.
|
|
15
|
+
* <patterns>
|
|
16
|
+
* <pattern title="update mode — update document by ID (generic)">
|
|
17
|
+
* // Substitute the type literal and provider-specific parameters — see the rest of this file.
|
|
18
|
+
* const store = vectorStore({
|
|
19
|
+
* type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
|
|
20
|
+
* config: {
|
|
21
|
+
* name: 'Knowledge Base',
|
|
22
|
+
* parameters: { mode: 'update', id: expr('{{ $json.docId }}') },
|
|
23
|
+
* subnodes: { embedding: embeddingsOpenAi }
|
|
24
|
+
* }
|
|
25
|
+
* });
|
|
26
|
+
* </pattern>
|
|
27
|
+
* </patterns>
|
|
28
|
+
*/
|
|
13
29
|
mode: 'update';
|
|
14
30
|
mongoCollection?: { __rl: true; mode: 'list' | 'name'; value: string; cachedResultName?: string };
|
|
15
31
|
/**
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_insert.ts
CHANGED
|
@@ -10,6 +10,26 @@ interface Credentials {
|
|
|
10
10
|
|
|
11
11
|
/** Insert documents into vector store */
|
|
12
12
|
export type LcVectorStoreMongoDBAtlasV11InsertParams = {
|
|
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
|
+
*/
|
|
13
33
|
mode: 'insert';
|
|
14
34
|
mongoCollection?: { __rl: true; mode: 'list' | 'name'; value: string; cachedResultName?: string };
|
|
15
35
|
/**
|