@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.
Files changed (247) hide show
  1. package/dist/credentials/NvidiaApi.credentials.d.ts +9 -0
  2. package/dist/credentials/NvidiaApi.credentials.js +49 -0
  3. package/dist/credentials/NvidiaApi.credentials.js.map +1 -0
  4. package/dist/known/credentials.json +7 -0
  5. package/dist/known/nodes.json +4 -0
  6. package/dist/node-definitions/.nodes-hash +1 -1
  7. package/dist/node-definitions/index.ts +4 -0
  8. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v3.ts +6 -1
  9. package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v31.ts +6 -1
  10. package/dist/node-definitions/nodes/n8n-nodes-langchain/agentTool/v3.ts +6 -1
  11. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatNvidia/index.ts +12 -0
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatNvidia/v1.schema.js +25 -0
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatNvidia/v1.ts +68 -0
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpClientTool/v1.ts +1 -1
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpClientTool/v11.ts +1 -1
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpClientTool/v12.ts +1 -1
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_insert.ts +20 -0
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_load.ts +20 -0
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_retrieve.ts +25 -0
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_retrieve_as_tool.ts +30 -0
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v1/mode_update.ts +16 -0
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_insert.ts +20 -0
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_load.ts +20 -0
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_retrieve.ts +25 -0
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_retrieve_as_tool.ts +30 -0
  26. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v11/mode_update.ts +16 -0
  27. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_insert.ts +20 -0
  28. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_load.ts +20 -0
  29. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_retrieve.ts +25 -0
  30. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_retrieve_as_tool.ts +30 -0
  31. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v12/mode_update.ts +16 -0
  32. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_insert.ts +20 -0
  33. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_load.ts +20 -0
  34. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_retrieve.ts +25 -0
  35. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_retrieve_as_tool.ts +30 -0
  36. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreAzureAISearch/v13/mode_update.ts +16 -0
  37. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v1/mode_insert.ts +20 -0
  38. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v1/mode_load.ts +20 -0
  39. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v1/mode_retrieve.ts +25 -0
  40. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v1/mode_retrieve_as_tool.ts +30 -0
  41. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v11/mode_insert.ts +20 -0
  42. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v11/mode_load.ts +20 -0
  43. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v11/mode_retrieve.ts +25 -0
  44. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v11/mode_retrieve_as_tool.ts +30 -0
  45. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v12/mode_insert.ts +20 -0
  46. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v12/mode_load.ts +20 -0
  47. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v12/mode_retrieve.ts +25 -0
  48. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v12/mode_retrieve_as_tool.ts +30 -0
  49. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v13/mode_insert.ts +20 -0
  50. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v13/mode_load.ts +20 -0
  51. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v13/mode_retrieve.ts +25 -0
  52. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreChromaDB/v13/mode_retrieve_as_tool.ts +30 -0
  53. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v1/mode_insert.ts +20 -0
  54. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v1/mode_load.ts +20 -0
  55. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v1/mode_retrieve.ts +25 -0
  56. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v1/mode_retrieve_as_tool.ts +30 -0
  57. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v11/mode_insert.ts +20 -0
  58. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v11/mode_load.ts +20 -0
  59. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v11/mode_retrieve.ts +25 -0
  60. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v11/mode_retrieve_as_tool.ts +30 -0
  61. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v12/mode_insert.ts +20 -0
  62. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v12/mode_load.ts +20 -0
  63. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v12/mode_retrieve.ts +25 -0
  64. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v12/mode_retrieve_as_tool.ts +30 -0
  65. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v13/mode_insert.ts +20 -0
  66. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v13/mode_load.ts +20 -0
  67. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v13/mode_retrieve.ts +25 -0
  68. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreInMemory/v13/mode_retrieve_as_tool.ts +30 -0
  69. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_insert.ts +20 -0
  70. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_load.ts +20 -0
  71. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_retrieve.ts +25 -0
  72. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v1/mode_retrieve_as_tool.ts +30 -0
  73. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_insert.ts +20 -0
  74. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_load.ts +20 -0
  75. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_retrieve.ts +25 -0
  76. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v11/mode_retrieve_as_tool.ts +30 -0
  77. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_insert.ts +20 -0
  78. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_load.ts +20 -0
  79. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_retrieve.ts +25 -0
  80. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v12/mode_retrieve_as_tool.ts +30 -0
  81. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_insert.ts +20 -0
  82. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_load.ts +20 -0
  83. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_retrieve.ts +25 -0
  84. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMilvus/v13/mode_retrieve_as_tool.ts +30 -0
  85. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_insert.ts +20 -0
  86. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_load.ts +20 -0
  87. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_retrieve.ts +25 -0
  88. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_retrieve_as_tool.ts +30 -0
  89. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v1/mode_update.ts +16 -0
  90. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_insert.ts +20 -0
  91. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_load.ts +20 -0
  92. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_retrieve.ts +25 -0
  93. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_retrieve_as_tool.ts +30 -0
  94. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v11/mode_update.ts +16 -0
  95. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_insert.ts +20 -0
  96. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_load.ts +20 -0
  97. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_retrieve.ts +25 -0
  98. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_retrieve_as_tool.ts +30 -0
  99. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v12/mode_update.ts +16 -0
  100. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_insert.ts +20 -0
  101. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_load.ts +20 -0
  102. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_retrieve.ts +25 -0
  103. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_retrieve_as_tool.ts +30 -0
  104. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas/v13/mode_update.ts +16 -0
  105. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_insert.ts +20 -0
  106. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_load.ts +20 -0
  107. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_retrieve.ts +25 -0
  108. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_retrieve_as_tool.ts +30 -0
  109. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_insert.ts +20 -0
  110. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_load.ts +20 -0
  111. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_retrieve.ts +25 -0
  112. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_retrieve_as_tool.ts +30 -0
  113. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_insert.ts +20 -0
  114. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_load.ts +20 -0
  115. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_retrieve.ts +25 -0
  116. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_retrieve_as_tool.ts +30 -0
  117. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_insert.ts +20 -0
  118. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_load.ts +20 -0
  119. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_retrieve.ts +25 -0
  120. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_retrieve_as_tool.ts +30 -0
  121. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_insert.ts +20 -0
  122. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_load.ts +20 -0
  123. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_retrieve.ts +25 -0
  124. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_retrieve_as_tool.ts +30 -0
  125. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v1/mode_update.ts +16 -0
  126. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_insert.ts +20 -0
  127. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_load.ts +20 -0
  128. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_retrieve.ts +25 -0
  129. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_retrieve_as_tool.ts +30 -0
  130. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v11/mode_update.ts +16 -0
  131. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_insert.ts +20 -0
  132. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_load.ts +20 -0
  133. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_retrieve.ts +25 -0
  134. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_retrieve_as_tool.ts +30 -0
  135. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v12/mode_update.ts +16 -0
  136. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_insert.ts +20 -0
  137. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_load.ts +20 -0
  138. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_retrieve.ts +25 -0
  139. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_retrieve_as_tool.ts +30 -0
  140. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePinecone/v13/mode_update.ts +16 -0
  141. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v1/mode_insert.ts +20 -0
  142. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v1/mode_load.ts +20 -0
  143. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v1/mode_retrieve.ts +25 -0
  144. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v1/mode_retrieve_as_tool.ts +30 -0
  145. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v11/mode_insert.ts +20 -0
  146. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v11/mode_load.ts +20 -0
  147. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v11/mode_retrieve.ts +25 -0
  148. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v11/mode_retrieve_as_tool.ts +30 -0
  149. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v12/mode_insert.ts +20 -0
  150. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v12/mode_load.ts +20 -0
  151. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v12/mode_retrieve.ts +25 -0
  152. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v12/mode_retrieve_as_tool.ts +30 -0
  153. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v13/mode_insert.ts +20 -0
  154. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v13/mode_load.ts +20 -0
  155. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v13/mode_retrieve.ts +25 -0
  156. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreQdrant/v13/mode_retrieve_as_tool.ts +30 -0
  157. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_insert.ts +20 -0
  158. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_load.ts +20 -0
  159. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_retrieve.ts +25 -0
  160. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_retrieve_as_tool.ts +30 -0
  161. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v1/mode_update.ts +16 -0
  162. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_insert.ts +20 -0
  163. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_load.ts +20 -0
  164. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_retrieve.ts +25 -0
  165. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_retrieve_as_tool.ts +30 -0
  166. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v11/mode_update.ts +16 -0
  167. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_insert.ts +20 -0
  168. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_load.ts +20 -0
  169. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_retrieve.ts +25 -0
  170. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_retrieve_as_tool.ts +30 -0
  171. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v12/mode_update.ts +16 -0
  172. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_insert.ts +20 -0
  173. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_load.ts +20 -0
  174. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_retrieve.ts +25 -0
  175. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_retrieve_as_tool.ts +30 -0
  176. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreRedis/v13/mode_update.ts +16 -0
  177. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_insert.ts +20 -0
  178. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_load.ts +20 -0
  179. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_retrieve.ts +25 -0
  180. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_retrieve_as_tool.ts +30 -0
  181. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v1/mode_update.ts +16 -0
  182. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_insert.ts +20 -0
  183. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_load.ts +20 -0
  184. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_retrieve.ts +25 -0
  185. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_retrieve_as_tool.ts +30 -0
  186. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v11/mode_update.ts +16 -0
  187. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_insert.ts +20 -0
  188. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_load.ts +20 -0
  189. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_retrieve.ts +25 -0
  190. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_retrieve_as_tool.ts +30 -0
  191. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v12/mode_update.ts +16 -0
  192. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_insert.ts +20 -0
  193. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_load.ts +20 -0
  194. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_retrieve.ts +25 -0
  195. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_retrieve_as_tool.ts +30 -0
  196. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreSupabase/v13/mode_update.ts +16 -0
  197. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_insert.ts +20 -0
  198. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_load.ts +20 -0
  199. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_retrieve.ts +25 -0
  200. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_retrieve_as_tool.ts +30 -0
  201. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_insert.ts +20 -0
  202. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_load.ts +20 -0
  203. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_retrieve.ts +25 -0
  204. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_retrieve_as_tool.ts +30 -0
  205. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_insert.ts +20 -0
  206. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_load.ts +20 -0
  207. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_retrieve.ts +25 -0
  208. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_retrieve_as_tool.ts +30 -0
  209. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_insert.ts +20 -0
  210. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_load.ts +20 -0
  211. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_retrieve.ts +25 -0
  212. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_retrieve_as_tool.ts +30 -0
  213. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_insert.ts +20 -0
  214. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_load.ts +20 -0
  215. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_retrieve.ts +25 -0
  216. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v1/mode_retrieve_as_tool.ts +30 -0
  217. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_insert.ts +20 -0
  218. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_load.ts +20 -0
  219. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_retrieve.ts +25 -0
  220. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v11/mode_retrieve_as_tool.ts +30 -0
  221. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_insert.ts +20 -0
  222. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_load.ts +20 -0
  223. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_retrieve.ts +25 -0
  224. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v12/mode_retrieve_as_tool.ts +30 -0
  225. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_insert.ts +20 -0
  226. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_load.ts +20 -0
  227. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_retrieve.ts +25 -0
  228. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreZep/v13/mode_retrieve_as_tool.ts +30 -0
  229. package/dist/nodes/Guardrails/v2/GuardrailsV2.node.js +52 -0
  230. package/dist/nodes/Guardrails/v2/GuardrailsV2.node.js.map +1 -1
  231. package/dist/nodes/agents/Agent/Agent.node.js +68 -0
  232. package/dist/nodes/agents/Agent/Agent.node.js.map +1 -1
  233. package/dist/nodes/agents/Agent/V3/AgentToolV3.node.js +3 -0
  234. package/dist/nodes/agents/Agent/V3/AgentToolV3.node.js.map +1 -1
  235. package/dist/nodes/agents/Agent/V3/AgentV3.node.js +3 -0
  236. package/dist/nodes/agents/Agent/V3/AgentV3.node.js.map +1 -1
  237. package/dist/nodes/llms/LmChatNvidia/LmChatNvidia.node.d.ts +5 -0
  238. package/dist/nodes/llms/LmChatNvidia/LmChatNvidia.node.js +239 -0
  239. package/dist/nodes/llms/LmChatNvidia/LmChatNvidia.node.js.map +1 -0
  240. package/dist/nodes/llms/LmChatNvidia/nvidia.dark.svg +1 -0
  241. package/dist/nodes/llms/LmChatNvidia/nvidia.svg +1 -0
  242. package/dist/nodes/mcp/McpClientTool/McpClientTool.node.js +2 -3
  243. package/dist/nodes/mcp/McpClientTool/McpClientTool.node.js.map +1 -1
  244. package/dist/typecheck.tsbuildinfo +1 -1
  245. package/dist/types/credentials.json +1 -0
  246. package/dist/types/nodes.json +22 -21
  247. 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 LcVectorStoreAzureAISearchV12LoadParams = {
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
  /**
15
35
  * The name of the Azure AI Search index. Will be created automatically if it does not exist.
@@ -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 LcVectorStoreAzureAISearchV12RetrieveParams = {
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
  /**
15
40
  * The name of the Azure AI Search index. Will be created automatically if it does not exist.
@@ -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 LcVectorStoreAzureAISearchV12RetrieveAsToolParams = {
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
@@ -10,6 +10,22 @@ interface Credentials {
10
10
 
11
11
  /** Update documents in vector store by ID */
12
12
  export type LcVectorStoreAzureAISearchV12UpdateParams = {
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
  /**
15
31
  * The name of the Azure AI Search index. Will be created automatically if it does not exist.
@@ -10,6 +10,26 @@ interface Credentials {
10
10
 
11
11
  /** Insert documents into vector store */
12
12
  export type LcVectorStoreAzureAISearchV13InsertParams = {
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
  /**
15
35
  * The name of the Azure AI Search index. Will be created automatically if it does not exist.
@@ -10,6 +10,26 @@ interface Credentials {
10
10
 
11
11
  /** Get many ranked documents from vector store for query */
12
12
  export type LcVectorStoreAzureAISearchV13LoadParams = {
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
  /**
15
35
  * The name of the Azure AI Search index. Will be created automatically if it does not exist.
@@ -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 LcVectorStoreAzureAISearchV13RetrieveParams = {
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
  /**
15
40
  * The name of the Azure AI Search index. Will be created automatically if it does not exist.
@@ -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 LcVectorStoreAzureAISearchV13RetrieveAsToolParams = {
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
@@ -10,6 +10,22 @@ interface Credentials {
10
10
 
11
11
  /** Update documents in vector store by ID */
12
12
  export type LcVectorStoreAzureAISearchV13UpdateParams = {
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
  /**
15
31
  * The name of the Azure AI Search index. Will be created automatically if it does not exist.
@@ -11,6 +11,26 @@ interface Credentials {
11
11
 
12
12
  /** Insert documents into vector store */
13
13
  export type LcVectorStoreChromaDBV1InsertParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="insert mode — upsert documents (generic, works for any vectorStore* node)">
18
+ * // Substitute the type literal and provider-specific parameters (e.g. pineconeIndex,
19
+ * // qdrantCollection, supabaseTableName) — see the rest of this file for the exact shape.
20
+ * const store = vectorStore({
21
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
22
+ * config: {
23
+ * name: 'Knowledge Base',
24
+ * parameters: {
25
+ * mode: 'insert',
26
+ * // ...provider-specific parameters
27
+ * },
28
+ * subnodes: { embedding: embeddingsOpenAi, documentLoader: defaultDataLoader }
29
+ * }
30
+ * });
31
+ * </pattern>
32
+ * </patterns>
33
+ */
14
34
  mode: 'insert';
15
35
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
36
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,26 @@ interface Credentials {
11
11
 
12
12
  /** Get many ranked documents from vector store for query */
13
13
  export type LcVectorStoreChromaDBV1LoadParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="load mode — one-shot similarity search (generic)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file.
19
+ * const lookup = vectorStore({
20
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
21
+ * config: {
22
+ * name: 'Knowledge Base',
23
+ * parameters: {
24
+ * mode: 'load',
25
+ * prompt: expr('{{ $json.query }}'),
26
+ * // ...provider-specific parameters
27
+ * },
28
+ * subnodes: { embedding: embeddingsOpenAi }
29
+ * }
30
+ * });
31
+ * </pattern>
32
+ * </patterns>
33
+ */
14
34
  mode: 'load';
15
35
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
36
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,31 @@ interface Credentials {
11
11
 
12
12
  /** Retrieve documents from vector store to be used as vector store with AI nodes */
13
13
  export type LcVectorStoreChromaDBV1RetrieveParams = {
14
+ /**
15
+ * 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'`.
16
+ * <patterns>
17
+ * <pattern title="retrieve mode — feed another node as a subnode (generic)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file.
19
+ * const store = vectorStore({
20
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
21
+ * config: {
22
+ * name: 'Knowledge Base',
23
+ * parameters: { mode: 'retrieve' /* + provider-specific parameters *\/ },
24
+ * subnodes: { embedding: embeddingsOpenAi }
25
+ * }
26
+ * });
27
+ *
28
+ * const retrieverTool = tool({
29
+ * type: '@n8n/n8n-nodes-langchain.toolVectorStore',
30
+ * config: {
31
+ * name: 'KB Retriever',
32
+ * parameters: { description: 'Search the product knowledge base' },
33
+ * subnodes: { vectorStore: store, model: openAiModel }
34
+ * }
35
+ * });
36
+ * </pattern>
37
+ * </patterns>
38
+ */
14
39
  mode: 'retrieve';
15
40
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
41
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,36 @@ interface Credentials {
11
11
 
12
12
  /** Retrieve documents from vector store to be used as tool with AI nodes */
13
13
  export type LcVectorStoreChromaDBV1RetrieveAsToolParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file
19
+ * // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
20
+ * const knowledgeBase = tool({
21
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
22
+ * config: {
23
+ * name: 'Knowledge Base',
24
+ * parameters: {
25
+ * mode: 'retrieve-as-tool',
26
+ * toolDescription: 'Search the product knowledge base',
27
+ * // ...provider-specific parameters
28
+ * },
29
+ * subnodes: { embedding: embeddingsOpenAi }
30
+ * }
31
+ * });
32
+ *
33
+ * const agent = node({
34
+ * type: '@n8n/n8n-nodes-langchain.agent',
35
+ * config: {
36
+ * name: 'Support Agent',
37
+ * parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
38
+ * subnodes: { model: openAiModel, tools: [knowledgeBase] }
39
+ * }
40
+ * });
41
+ * </pattern>
42
+ * </patterns>
43
+ */
14
44
  mode: 'retrieve-as-tool';
15
45
  /**
16
46
  * Name of the vector store
@@ -11,6 +11,26 @@ interface Credentials {
11
11
 
12
12
  /** Insert documents into vector store */
13
13
  export type LcVectorStoreChromaDBV11InsertParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="insert mode — upsert documents (generic, works for any vectorStore* node)">
18
+ * // Substitute the type literal and provider-specific parameters (e.g. pineconeIndex,
19
+ * // qdrantCollection, supabaseTableName) — see the rest of this file for the exact shape.
20
+ * const store = vectorStore({
21
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
22
+ * config: {
23
+ * name: 'Knowledge Base',
24
+ * parameters: {
25
+ * mode: 'insert',
26
+ * // ...provider-specific parameters
27
+ * },
28
+ * subnodes: { embedding: embeddingsOpenAi, documentLoader: defaultDataLoader }
29
+ * }
30
+ * });
31
+ * </pattern>
32
+ * </patterns>
33
+ */
14
34
  mode: 'insert';
15
35
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
36
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,26 @@ interface Credentials {
11
11
 
12
12
  /** Get many ranked documents from vector store for query */
13
13
  export type LcVectorStoreChromaDBV11LoadParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="load mode — one-shot similarity search (generic)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file.
19
+ * const lookup = vectorStore({
20
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
21
+ * config: {
22
+ * name: 'Knowledge Base',
23
+ * parameters: {
24
+ * mode: 'load',
25
+ * prompt: expr('{{ $json.query }}'),
26
+ * // ...provider-specific parameters
27
+ * },
28
+ * subnodes: { embedding: embeddingsOpenAi }
29
+ * }
30
+ * });
31
+ * </pattern>
32
+ * </patterns>
33
+ */
14
34
  mode: 'load';
15
35
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
36
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,31 @@ interface Credentials {
11
11
 
12
12
  /** Retrieve documents from vector store to be used as vector store with AI nodes */
13
13
  export type LcVectorStoreChromaDBV11RetrieveParams = {
14
+ /**
15
+ * 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'`.
16
+ * <patterns>
17
+ * <pattern title="retrieve mode — feed another node as a subnode (generic)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file.
19
+ * const store = vectorStore({
20
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
21
+ * config: {
22
+ * name: 'Knowledge Base',
23
+ * parameters: { mode: 'retrieve' /* + provider-specific parameters *\/ },
24
+ * subnodes: { embedding: embeddingsOpenAi }
25
+ * }
26
+ * });
27
+ *
28
+ * const retrieverTool = tool({
29
+ * type: '@n8n/n8n-nodes-langchain.toolVectorStore',
30
+ * config: {
31
+ * name: 'KB Retriever',
32
+ * parameters: { description: 'Search the product knowledge base' },
33
+ * subnodes: { vectorStore: store, model: openAiModel }
34
+ * }
35
+ * });
36
+ * </pattern>
37
+ * </patterns>
38
+ */
14
39
  mode: 'retrieve';
15
40
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
41
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,36 @@ interface Credentials {
11
11
 
12
12
  /** Retrieve documents from vector store to be used as tool with AI nodes */
13
13
  export type LcVectorStoreChromaDBV11RetrieveAsToolParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file
19
+ * // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
20
+ * const knowledgeBase = tool({
21
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
22
+ * config: {
23
+ * name: 'Knowledge Base',
24
+ * parameters: {
25
+ * mode: 'retrieve-as-tool',
26
+ * toolDescription: 'Search the product knowledge base',
27
+ * // ...provider-specific parameters
28
+ * },
29
+ * subnodes: { embedding: embeddingsOpenAi }
30
+ * }
31
+ * });
32
+ *
33
+ * const agent = node({
34
+ * type: '@n8n/n8n-nodes-langchain.agent',
35
+ * config: {
36
+ * name: 'Support Agent',
37
+ * parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
38
+ * subnodes: { model: openAiModel, tools: [knowledgeBase] }
39
+ * }
40
+ * });
41
+ * </pattern>
42
+ * </patterns>
43
+ */
14
44
  mode: 'retrieve-as-tool';
15
45
  /**
16
46
  * Name of the vector store
@@ -11,6 +11,26 @@ interface Credentials {
11
11
 
12
12
  /** Insert documents into vector store */
13
13
  export type LcVectorStoreChromaDBV12InsertParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="insert mode — upsert documents (generic, works for any vectorStore* node)">
18
+ * // Substitute the type literal and provider-specific parameters (e.g. pineconeIndex,
19
+ * // qdrantCollection, supabaseTableName) — see the rest of this file for the exact shape.
20
+ * const store = vectorStore({
21
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
22
+ * config: {
23
+ * name: 'Knowledge Base',
24
+ * parameters: {
25
+ * mode: 'insert',
26
+ * // ...provider-specific parameters
27
+ * },
28
+ * subnodes: { embedding: embeddingsOpenAi, documentLoader: defaultDataLoader }
29
+ * }
30
+ * });
31
+ * </pattern>
32
+ * </patterns>
33
+ */
14
34
  mode: 'insert';
15
35
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
36
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,26 @@ interface Credentials {
11
11
 
12
12
  /** Get many ranked documents from vector store for query */
13
13
  export type LcVectorStoreChromaDBV12LoadParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="load mode — one-shot similarity search (generic)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file.
19
+ * const lookup = vectorStore({
20
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
21
+ * config: {
22
+ * name: 'Knowledge Base',
23
+ * parameters: {
24
+ * mode: 'load',
25
+ * prompt: expr('{{ $json.query }}'),
26
+ * // ...provider-specific parameters
27
+ * },
28
+ * subnodes: { embedding: embeddingsOpenAi }
29
+ * }
30
+ * });
31
+ * </pattern>
32
+ * </patterns>
33
+ */
14
34
  mode: 'load';
15
35
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
36
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,31 @@ interface Credentials {
11
11
 
12
12
  /** Retrieve documents from vector store to be used as vector store with AI nodes */
13
13
  export type LcVectorStoreChromaDBV12RetrieveParams = {
14
+ /**
15
+ * 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'`.
16
+ * <patterns>
17
+ * <pattern title="retrieve mode — feed another node as a subnode (generic)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file.
19
+ * const store = vectorStore({
20
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
21
+ * config: {
22
+ * name: 'Knowledge Base',
23
+ * parameters: { mode: 'retrieve' /* + provider-specific parameters *\/ },
24
+ * subnodes: { embedding: embeddingsOpenAi }
25
+ * }
26
+ * });
27
+ *
28
+ * const retrieverTool = tool({
29
+ * type: '@n8n/n8n-nodes-langchain.toolVectorStore',
30
+ * config: {
31
+ * name: 'KB Retriever',
32
+ * parameters: { description: 'Search the product knowledge base' },
33
+ * subnodes: { vectorStore: store, model: openAiModel }
34
+ * }
35
+ * });
36
+ * </pattern>
37
+ * </patterns>
38
+ */
14
39
  mode: 'retrieve';
15
40
  authentication?: 'chromaSelfHostedApi' | 'chromaCloudApi' | Expression<string>;
16
41
  chromaCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
@@ -11,6 +11,36 @@ interface Credentials {
11
11
 
12
12
  /** Retrieve documents from vector store to be used as tool with AI nodes */
13
13
  export type LcVectorStoreChromaDBV12RetrieveAsToolParams = {
14
+ /**
15
+ * 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.
16
+ * <patterns>
17
+ * <pattern title="retrieve-as-tool mode — RAG via AI Agent (generic, works for any vectorStore* node)">
18
+ * // Substitute the type literal and provider-specific parameters — see the rest of this file
19
+ * // for the exact shape (e.g. pineconeIndex, qdrantCollection, supabaseTableName).
20
+ * const knowledgeBase = tool({
21
+ * type: '@n8n/n8n-nodes-langchain.vectorStoreXxx',
22
+ * config: {
23
+ * name: 'Knowledge Base',
24
+ * parameters: {
25
+ * mode: 'retrieve-as-tool',
26
+ * toolDescription: 'Search the product knowledge base',
27
+ * // ...provider-specific parameters
28
+ * },
29
+ * subnodes: { embedding: embeddingsOpenAi }
30
+ * }
31
+ * });
32
+ *
33
+ * const agent = node({
34
+ * type: '@n8n/n8n-nodes-langchain.agent',
35
+ * config: {
36
+ * name: 'Support Agent',
37
+ * parameters: { promptType: 'define', text: expr('{{ $json.question }}') },
38
+ * subnodes: { model: openAiModel, tools: [knowledgeBase] }
39
+ * }
40
+ * });
41
+ * </pattern>
42
+ * </patterns>
43
+ */
14
44
  mode: 'retrieve-as-tool';
15
45
  /**
16
46
  * Name of the vector store