@n8n/n8n-nodes-langchain 2.44.2 → 2.45.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 (190) hide show
  1. package/dist/credentials/AzureEntraCognitiveServicesOAuth2Api.credentials.js +8 -0
  2. package/dist/credentials/AzureEntraCognitiveServicesOAuth2Api.credentials.js.map +1 -1
  3. package/dist/credentials/AzureOpenAiApi.credentials.js +8 -0
  4. package/dist/credentials/AzureOpenAiApi.credentials.js.map +1 -1
  5. package/dist/known/nodes.json +4 -0
  6. package/dist/methods/defined.json +3 -0
  7. package/dist/methods/referenced.json +3 -0
  8. package/dist/node-definitions/.nodes-hash +1 -1
  9. package/dist/node-definitions/index.ts +12 -0
  10. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.schema.js +1 -0
  11. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.ts +7 -0
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.schema.js +1 -0
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.ts +7 -0
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.schema.js +1 -0
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.ts +7 -0
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.schema.js +1 -0
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.ts +7 -0
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.schema.js +1 -0
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.ts +7 -0
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.schema.js +1 -0
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v15.ts +7 -0
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/databricksAiAgent/index.ts +12 -0
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/databricksAiAgent/v22.schema.js +39 -0
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/databricksAiAgent/v22.ts +144 -0
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsDatabricks/index.ts +12 -0
  26. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsDatabricks/v1.schema.js +25 -0
  27. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsDatabricks/v1.ts +51 -0
  28. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v1.ts +1 -1
  29. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v11.ts +1 -1
  30. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenRouter/v1.schema.js +1 -1
  31. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenRouter/v1.ts +4 -0
  32. package/dist/node-definitions/nodes/n8n-nodes-langchain/textClassifier/v1.schema.js +2 -2
  33. package/dist/node-definitions/nodes/n8n-nodes-langchain/textClassifier/v1.ts +4 -0
  34. package/dist/node-definitions/nodes/n8n-nodes-langchain/textClassifier/v11.schema.js +2 -2
  35. package/dist/node-definitions/nodes/n8n-nodes-langchain/textClassifier/v11.ts +4 -0
  36. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/index.ts +18 -0
  37. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/index.schema.js +26 -0
  38. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/index.ts +21 -0
  39. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/mode_insert.schema.js +29 -0
  40. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/mode_insert.ts +51 -0
  41. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/mode_load.schema.js +36 -0
  42. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/mode_load.ts +92 -0
  43. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/mode_retrieve.schema.js +33 -0
  44. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/mode_retrieve.ts +83 -0
  45. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/mode_retrieve_as_tool.schema.js +37 -0
  46. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v1/mode_retrieve_as_tool.ts +106 -0
  47. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/index.schema.js +26 -0
  48. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/index.ts +21 -0
  49. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/mode_insert.schema.js +30 -0
  50. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/mode_insert.ts +56 -0
  51. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/mode_load.schema.js +36 -0
  52. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/mode_load.ts +92 -0
  53. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/mode_retrieve.schema.js +33 -0
  54. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/mode_retrieve.ts +83 -0
  55. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/mode_retrieve_as_tool.schema.js +37 -0
  56. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v11/mode_retrieve_as_tool.ts +106 -0
  57. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/index.schema.js +26 -0
  58. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/index.ts +21 -0
  59. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/mode_insert.schema.js +30 -0
  60. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/mode_insert.ts +56 -0
  61. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/mode_load.schema.js +36 -0
  62. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/mode_load.ts +92 -0
  63. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/mode_retrieve.schema.js +33 -0
  64. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/mode_retrieve.ts +83 -0
  65. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/mode_retrieve_as_tool.schema.js +37 -0
  66. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v12/mode_retrieve_as_tool.ts +106 -0
  67. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/index.schema.js +26 -0
  68. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/index.ts +21 -0
  69. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/mode_insert.schema.js +30 -0
  70. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/mode_insert.ts +56 -0
  71. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/mode_load.schema.js +36 -0
  72. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/mode_load.ts +92 -0
  73. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/mode_retrieve.schema.js +33 -0
  74. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/mode_retrieve.ts +83 -0
  75. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/mode_retrieve_as_tool.schema.js +36 -0
  76. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreDatabricks/v13/mode_retrieve_as_tool.ts +102 -0
  77. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_insert.schema.js +1 -1
  78. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_insert.ts +4 -0
  79. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_load.schema.js +1 -1
  80. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_load.ts +4 -0
  81. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_retrieve.schema.js +1 -1
  82. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_retrieve.ts +4 -0
  83. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_retrieve_as_tool.schema.js +1 -1
  84. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v1/mode_retrieve_as_tool.ts +4 -0
  85. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_insert.schema.js +1 -1
  86. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_insert.ts +4 -0
  87. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_load.schema.js +1 -1
  88. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_load.ts +4 -0
  89. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_retrieve.schema.js +1 -1
  90. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_retrieve.ts +4 -0
  91. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_retrieve_as_tool.schema.js +1 -1
  92. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v11/mode_retrieve_as_tool.ts +4 -0
  93. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_insert.schema.js +1 -1
  94. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_insert.ts +4 -0
  95. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_load.schema.js +1 -1
  96. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_load.ts +4 -0
  97. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_retrieve.schema.js +1 -1
  98. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_retrieve.ts +4 -0
  99. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_retrieve_as_tool.schema.js +1 -1
  100. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v12/mode_retrieve_as_tool.ts +4 -0
  101. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_insert.schema.js +1 -1
  102. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_insert.ts +4 -0
  103. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_load.schema.js +1 -1
  104. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_load.ts +4 -0
  105. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_retrieve.schema.js +1 -1
  106. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_retrieve.ts +4 -0
  107. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_retrieve_as_tool.schema.js +1 -1
  108. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStorePGVector/v13/mode_retrieve_as_tool.ts +4 -0
  109. package/dist/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/runAgent.js +3 -1
  110. package/dist/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/runAgent.js.map +1 -1
  111. package/dist/nodes/chains/TextClassifier/TextClassifier.node.js +72 -28
  112. package/dist/nodes/chains/TextClassifier/TextClassifier.node.js.map +1 -1
  113. package/dist/nodes/chains/TextClassifier/classification.d.ts +21 -0
  114. package/dist/nodes/chains/TextClassifier/classification.js +73 -0
  115. package/dist/nodes/chains/TextClassifier/classification.js.map +1 -0
  116. package/dist/nodes/chains/TextClassifier/processItem.d.ts +3 -5
  117. package/dist/nodes/chains/TextClassifier/processItem.js +3 -3
  118. package/dist/nodes/chains/TextClassifier/processItem.js.map +1 -1
  119. package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js +0 -1
  120. package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js.map +1 -1
  121. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js +5 -2
  122. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js.map +1 -1
  123. package/dist/nodes/llms/LmChatAzureOpenAi/properties.js +1 -1
  124. package/dist/nodes/llms/LmChatAzureOpenAi/properties.js.map +1 -1
  125. package/dist/nodes/llms/LmChatAzureOpenAi/types.d.ts +1 -0
  126. package/dist/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.js +53 -21
  127. package/dist/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.js.map +1 -1
  128. package/dist/nodes/llms/N8nNonEstimatingTracing.js +1 -5
  129. package/dist/nodes/llms/N8nNonEstimatingTracing.js.map +1 -1
  130. package/dist/nodes/mcp/McpTrigger/McpServer.js +2 -2
  131. package/dist/nodes/mcp/McpTrigger/McpServer.js.map +1 -1
  132. package/dist/nodes/mcp/McpTrigger/protocol/MessageFormatter.d.ts +1 -1
  133. package/dist/nodes/mcp/McpTrigger/protocol/MessageFormatter.js +23 -15
  134. package/dist/nodes/mcp/McpTrigger/protocol/MessageFormatter.js.map +1 -1
  135. package/dist/nodes/mcp/McpTrigger/protocol/types.d.ts +2 -4
  136. package/dist/nodes/mcp/McpTrigger/protocol/types.js.map +1 -1
  137. package/dist/nodes/mcp/shared/utils.d.ts +3 -1
  138. package/dist/nodes/mcp/shared/utils.js +7 -0
  139. package/dist/nodes/mcp/shared/utils.js.map +1 -1
  140. package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.d.ts +34 -0
  141. package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js +218 -0
  142. package/dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js.map +1 -0
  143. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.d.ts +6 -0
  144. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js +26 -1
  145. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js.map +1 -1
  146. package/dist/nodes/trigger/ChatTrigger/GenericFunctions.js +18 -4
  147. package/dist/nodes/trigger/ChatTrigger/GenericFunctions.js.map +1 -1
  148. package/dist/nodes/trigger/ChatTrigger/error.d.ts +2 -1
  149. package/dist/nodes/trigger/ChatTrigger/error.js +2 -1
  150. package/dist/nodes/trigger/ChatTrigger/error.js.map +1 -1
  151. package/dist/nodes/vector_store/VectorStoreDatabricks/DatabricksVectorStore.d.ts +4 -0
  152. package/dist/nodes/vector_store/VectorStoreDatabricks/DatabricksVectorStore.js +32 -0
  153. package/dist/nodes/vector_store/VectorStoreDatabricks/DatabricksVectorStore.js.map +1 -1
  154. package/dist/nodes/vector_store/VectorStoreDatabricks/VectorStoreDatabricks.node.js +1 -2
  155. package/dist/nodes/vector_store/VectorStoreDatabricks/VectorStoreDatabricks.node.js.map +1 -1
  156. package/dist/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.js +20 -3
  157. package/dist/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.js.map +1 -1
  158. package/dist/nodes/vendors/Databricks/DatabricksAiAgent.node.js +34 -1
  159. package/dist/nodes/vendors/Databricks/DatabricksAiAgent.node.js.map +1 -1
  160. package/dist/nodes/vendors/Databricks/mlflow/span-collector.js +3 -0
  161. package/dist/nodes/vendors/Databricks/mlflow/span-collector.js.map +1 -1
  162. package/dist/nodes/vendors/OpenAi/helpers/interfaces.d.ts +1 -0
  163. package/dist/nodes/vendors/OpenAi/helpers/token-usage.d.ts +7 -0
  164. package/dist/nodes/vendors/OpenAi/helpers/token-usage.js +15 -0
  165. package/dist/nodes/vendors/OpenAi/helpers/token-usage.js.map +1 -0
  166. package/dist/nodes/vendors/OpenAi/v1/actions/image/analyze.operation.js +1 -1
  167. package/dist/nodes/vendors/OpenAi/v1/actions/image/analyze.operation.js.map +1 -1
  168. package/dist/nodes/vendors/OpenAi/v2/actions/image/analyze.operation.js +2 -0
  169. package/dist/nodes/vendors/OpenAi/v2/actions/image/analyze.operation.js.map +1 -1
  170. package/dist/nodes/vendors/OpenAi/v2/actions/image/edit.operation.js +2 -0
  171. package/dist/nodes/vendors/OpenAi/v2/actions/image/edit.operation.js.map +1 -1
  172. package/dist/nodes/vendors/OpenAi/v2/actions/image/generate.operation.js +7 -2
  173. package/dist/nodes/vendors/OpenAi/v2/actions/image/generate.operation.js.map +1 -1
  174. package/dist/nodes/vendors/OpenAi/v2/actions/text/response.operation.js +8 -1
  175. package/dist/nodes/vendors/OpenAi/v2/actions/text/response.operation.js.map +1 -1
  176. package/dist/typecheck.tsbuildinfo +1 -1
  177. package/dist/types/credentials.json +2 -2
  178. package/dist/types/nodes.json +9 -8
  179. package/dist/utils/agent-execution/buildSteps.js +51 -12
  180. package/dist/utils/agent-execution/buildSteps.js.map +1 -1
  181. package/dist/utils/agent-execution/types.d.ts +2 -0
  182. package/dist/utils/agent-execution/types.js.map +1 -1
  183. package/dist/utils/databricks/error-handling.js +4 -3
  184. package/dist/utils/databricks/error-handling.js.map +1 -1
  185. package/dist/utils/output_parsers/langchainParserError.js +2 -3
  186. package/dist/utils/output_parsers/langchainParserError.js.map +1 -1
  187. package/dist/utils/tool-error-result.d.ts +1 -0
  188. package/dist/utils/tool-error-result.js +14 -0
  189. package/dist/utils/tool-error-result.js.map +1 -0
  190. package/package.json +14 -13
@@ -52,6 +52,14 @@ class AzureEntraCognitiveServicesOAuth2Api {
52
52
  displayOptions: { show: { endpointType: ['foundry'] } },
53
53
  hint: 'The full Microsoft Foundry OpenAI-compatible base URL.',
54
54
  },
55
+ {
56
+ displayName: 'Project',
57
+ name: 'project',
58
+ type: 'string',
59
+ default: '',
60
+ displayOptions: { show: { endpointType: ['foundry'] } },
61
+ description: 'Optional. The Microsoft Foundry project that owns your deployments. n8n uses it to list the deployments. The project overview page in the Foundry portal shows the name.',
62
+ },
55
63
  {
56
64
  displayName: 'Endpoint',
57
65
  name: 'endpoint',
@@ -1 +1 @@
1
- {"version":3,"file":"AzureEntraCognitiveServicesOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/AzureEntraCognitiveServicesOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;AAEnD;IAAA;QACC,SAAI,GAAG,sCAAsC,CAAC;QAG9C,gBAAW,GAAG,8BAA8B,CAAC;QAE7C,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,qBAAgB,GACf,+FAA+F,CAAC;QAEjG,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mBAAmB;aAC5B;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,SAAS,EAAE;iBAC/C;gBACD,OAAO,EAAE,SAAS;gBAClB,WAAW,EACV,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AE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,2EAA2E;aACpF;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uEAAuE;aAChF;YACD;gBACC,WAAW,EAAE,iCAAiC;gBAC9C,IAAI,EAAE,8BAA8B;gBACpC,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,KAAK;aACd;YACD;gBACC,WAAW,EAAE,4BAA4B;gBACzC,IAAI,EAAE,0BAA0B;gBAChC,IAAI,EAAE,QAAQ;gBACd,OAAO,EACN,0FAA0F;aAC3F;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;YACD;gBAGC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,KAAK;aACd;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,wFAAwF;gBACzF,WAAW,EAAE,EAAE;aACf;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC;aAChC;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,kDAAkD,GAAG,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK;aAC7F;SACD,CAAC;IACH,CAAC;CAAA"}
1
+ {"version":3,"file":"AzureEntraCognitiveServicesOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/Azure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;gBACzC,IAAI,EAAE,0BAA0B;gBAChC,IAAI,EAAE,QAAQ;gBACd,OAAO,EACN,0FAA0F;aAC3F;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;YACD;gBAGC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,KAAK;aACd;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,wFAAwF;gBACzF,WAAW,EAAE,EAAE;aACf;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC;aAChC;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,kDAAkD,GAAG,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK;aAC7F;SACD,CAAC;IACH,CAAC;CAAA"}
@@ -52,6 +52,14 @@ class AzureOpenAiApi {
52
52
  displayOptions: { show: { endpointType: ['foundry'] } },
53
53
  hint: 'The full Microsoft Foundry OpenAI-compatible base URL.',
54
54
  },
55
+ {
56
+ displayName: 'Project',
57
+ name: 'project',
58
+ type: 'string',
59
+ default: '',
60
+ displayOptions: { show: { endpointType: ['foundry'] } },
61
+ description: 'Optional. The Microsoft Foundry project that owns your deployments. n8n uses it to list the deployments. The project overview page in the Foundry portal shows the name.',
62
+ },
55
63
  {
56
64
  displayName: 'Endpoint',
57
65
  name: 'endpoint',
@@ -1 +1 @@
1
- {"version":3,"file":"AzureOpenAiApi.credentials.js","sourceRoot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AAE,EAAE;gBACX,WAAW,EAAE,oDAAoD;gBACjE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;gBACvD,IAAI,EAAE,wDAAwD;aAC9D;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,SAAS;gBAClB,WAAW,EAAE,qCAAqC;gBAClD,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;gBACvD,IAAI,EAAE,gEAAgE;aACtE;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,SAAS,EAAE,0BAA0B;iBACrC;aACD;SACD,CAAC;IACH,CAAC;CAAA"}
1
+ {"version":3,"file":"AzureOpenAiApi.credentials.js","sourceRoot":"","sources":["../../credentials/AzureOpenAiApi.credentials.ts"],"names":[],"mappings":";;;AAEA;IAAA;QACC,SAAI,GAAG,gBAAgB,CAAC;QAExB,gBAAW,GAAG,6BAA6B,CAAC;QAE5C,qBAAgB,GAAG,aAAa,CAAC;QAEjC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,SAAS,EAAE;iBAC/C;gBACD,OAAO,EAAE,SAAS;gBAClB,WAAW,EACV,8JAA8J;aAC/J;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ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AgE;aACtE;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,SAAS,EAAE,0BAA0B;iBACrC;aACD;SACD,CAAC;IACH,CAAC;CAAA"}
@@ -263,6 +263,10 @@
263
263
  "className": "MemoryBufferWindow",
264
264
  "sourcePath": "dist/nodes/memory/MemoryBufferWindow/MemoryBufferWindow.node.js"
265
265
  },
266
+ "memoryLakebaseChat": {
267
+ "className": "MemoryLakebaseChat",
268
+ "sourcePath": "dist/nodes/memory/MemoryLakebaseChat/MemoryLakebaseChat.node.js"
269
+ },
266
270
  "memoryMotorhead": {
267
271
  "className": "MemoryMotorhead",
268
272
  "sourcePath": "dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js"
@@ -15,6 +15,9 @@
15
15
  "mcpRegistryClientTool": [
16
16
  "getTools"
17
17
  ],
18
+ "chatTrigger": [
19
+ "listTrustedSources"
20
+ ],
18
21
  "vectorStoreDatabricks": [
19
22
  "getIndexColumns"
20
23
  ],
@@ -15,6 +15,9 @@
15
15
  "mcpRegistryClientTool": [
16
16
  "getTools"
17
17
  ],
18
+ "chatTrigger": [
19
+ "listTrustedSources"
20
+ ],
18
21
  "vectorStoreDatabricks": [
19
22
  "getIndexColumns"
20
23
  ],
@@ -1 +1 @@
1
- eb29b0a82998dfad7c0d5fae066586ff0efdae356d25f55cea6b6a8ea218acf7
1
+ b0ad44fbad6ed23352c00f72a1dcadcdcd423dd85946b74d0800266566a2feb1
@@ -18,10 +18,12 @@ import type { LcChainRetrievalQaNode } from './nodes/n8n-nodes-langchain/chainRe
18
18
  import type { LcChainSummarizationNode } from './nodes/n8n-nodes-langchain/chainSummarization';
19
19
  import type { LcChatNode } from './nodes/n8n-nodes-langchain/chat';
20
20
  import type { LcChatTriggerNode } from './nodes/n8n-nodes-langchain/chatTrigger';
21
+ import type { LcDatabricksAiAgentNode } from './nodes/n8n-nodes-langchain/databricksAiAgent';
21
22
  import type { LcDocumentDefaultDataLoaderNode } from './nodes/n8n-nodes-langchain/documentDefaultDataLoader';
22
23
  import type { LcEmbeddingsAwsBedrockNode } from './nodes/n8n-nodes-langchain/embeddingsAwsBedrock';
23
24
  import type { LcEmbeddingsAzureOpenAiNode } from './nodes/n8n-nodes-langchain/embeddingsAzureOpenAi';
24
25
  import type { LcEmbeddingsCohereNode } from './nodes/n8n-nodes-langchain/embeddingsCohere';
26
+ import type { LcEmbeddingsDatabricksNode } from './nodes/n8n-nodes-langchain/embeddingsDatabricks';
25
27
  import type { LcEmbeddingsGoogleGeminiNode } from './nodes/n8n-nodes-langchain/embeddingsGoogleGemini';
26
28
  import type { LcEmbeddingsGoogleVertexNode } from './nodes/n8n-nodes-langchain/embeddingsGoogleVertex';
27
29
  import type { LcEmbeddingsHuggingFaceInferenceNode } from './nodes/n8n-nodes-langchain/embeddingsHuggingFaceInference';
@@ -96,6 +98,7 @@ import type { LcToolWolframAlphaNode } from './nodes/n8n-nodes-langchain/toolWol
96
98
  import type { LcToolWorkflowNode } from './nodes/n8n-nodes-langchain/toolWorkflow';
97
99
  import type { LcVectorStoreAzureAISearchNode } from './nodes/n8n-nodes-langchain/vectorStoreAzureAISearch';
98
100
  import type { LcVectorStoreChromaDBNode } from './nodes/n8n-nodes-langchain/vectorStoreChromaDB';
101
+ import type { LcVectorStoreDatabricksNode } from './nodes/n8n-nodes-langchain/vectorStoreDatabricks';
99
102
  import type { LcVectorStoreInMemoryNode } from './nodes/n8n-nodes-langchain/vectorStoreInMemory';
100
103
  import type { LcVectorStoreMilvusNode } from './nodes/n8n-nodes-langchain/vectorStoreMilvus';
101
104
  import type { LcVectorStoreMongoDBAtlasNode } from './nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas';
@@ -118,10 +121,12 @@ export * from './nodes/n8n-nodes-langchain/chainRetrievalQa';
118
121
  export * from './nodes/n8n-nodes-langchain/chainSummarization';
119
122
  export * from './nodes/n8n-nodes-langchain/chat';
120
123
  export * from './nodes/n8n-nodes-langchain/chatTrigger';
124
+ export * from './nodes/n8n-nodes-langchain/databricksAiAgent';
121
125
  export * from './nodes/n8n-nodes-langchain/documentDefaultDataLoader';
122
126
  export * from './nodes/n8n-nodes-langchain/embeddingsAwsBedrock';
123
127
  export * from './nodes/n8n-nodes-langchain/embeddingsAzureOpenAi';
124
128
  export * from './nodes/n8n-nodes-langchain/embeddingsCohere';
129
+ export * from './nodes/n8n-nodes-langchain/embeddingsDatabricks';
125
130
  export * from './nodes/n8n-nodes-langchain/embeddingsGoogleGemini';
126
131
  export * from './nodes/n8n-nodes-langchain/embeddingsGoogleVertex';
127
132
  export * from './nodes/n8n-nodes-langchain/embeddingsHuggingFaceInference';
@@ -196,6 +201,7 @@ export * from './nodes/n8n-nodes-langchain/toolWolframAlpha';
196
201
  export * from './nodes/n8n-nodes-langchain/toolWorkflow';
197
202
  export * from './nodes/n8n-nodes-langchain/vectorStoreAzureAISearch';
198
203
  export * from './nodes/n8n-nodes-langchain/vectorStoreChromaDB';
204
+ export * from './nodes/n8n-nodes-langchain/vectorStoreDatabricks';
199
205
  export * from './nodes/n8n-nodes-langchain/vectorStoreInMemory';
200
206
  export * from './nodes/n8n-nodes-langchain/vectorStoreMilvus';
201
207
  export * from './nodes/n8n-nodes-langchain/vectorStoreMongoDBAtlas';
@@ -218,6 +224,7 @@ export type KnownNodeType =
218
224
  | '@n8n/n8n-nodes-langchain.ollama'
219
225
  | '@n8n/n8n-nodes-langchain.openAi'
220
226
  | '@n8n/n8n-nodes-langchain.microsoftAgent365Trigger'
227
+ | '@n8n/n8n-nodes-langchain.databricksAiAgent'
221
228
  | '@n8n/n8n-nodes-langchain.agent'
222
229
  | '@n8n/n8n-nodes-langchain.agentTool'
223
230
  | '@n8n/n8n-nodes-langchain.chainSummarization'
@@ -228,6 +235,7 @@ export type KnownNodeType =
228
235
  | '@n8n/n8n-nodes-langchain.textClassifier'
229
236
  | '@n8n/n8n-nodes-langchain.documentDefaultDataLoader'
230
237
  | '@n8n/n8n-nodes-langchain.embeddingsCohere'
238
+ | '@n8n/n8n-nodes-langchain.embeddingsDatabricks'
231
239
  | '@n8n/n8n-nodes-langchain.embeddingsAwsBedrock'
232
240
  | '@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi'
233
241
  | '@n8n/n8n-nodes-langchain.embeddingsGoogleGemini'
@@ -294,6 +302,7 @@ export type KnownNodeType =
294
302
  | '@n8n/n8n-nodes-langchain.chatTrigger'
295
303
  | '@n8n/n8n-nodes-langchain.chat'
296
304
  | '@n8n/n8n-nodes-langchain.vectorStoreAzureAISearch'
305
+ | '@n8n/n8n-nodes-langchain.vectorStoreDatabricks'
297
306
  | '@n8n/n8n-nodes-langchain.vectorStoreInMemory'
298
307
  | '@n8n/n8n-nodes-langchain.vectorStoreMilvus'
299
308
  | '@n8n/n8n-nodes-langchain.vectorStoreMongoDBAtlas'
@@ -321,10 +330,12 @@ export type AllNodeTypes =
321
330
  | LcChainSummarizationNode
322
331
  | LcChatNode
323
332
  | LcChatTriggerNode
333
+ | LcDatabricksAiAgentNode
324
334
  | LcDocumentDefaultDataLoaderNode
325
335
  | LcEmbeddingsAwsBedrockNode
326
336
  | LcEmbeddingsAzureOpenAiNode
327
337
  | LcEmbeddingsCohereNode
338
+ | LcEmbeddingsDatabricksNode
328
339
  | LcEmbeddingsGoogleGeminiNode
329
340
  | LcEmbeddingsGoogleVertexNode
330
341
  | LcEmbeddingsHuggingFaceInferenceNode
@@ -399,6 +410,7 @@ export type AllNodeTypes =
399
410
  | LcToolWorkflowNode
400
411
  | LcVectorStoreAzureAISearchNode
401
412
  | LcVectorStoreChromaDBNode
413
+ | LcVectorStoreDatabricksNode
402
414
  | LcVectorStoreInMemoryNode
403
415
  | LcVectorStoreMilvusNode
404
416
  | LcVectorStoreMongoDBAtlasNode
@@ -25,6 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
29
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
30
31
  availableInChat: z.boolean().optional(),
@@ -29,6 +29,13 @@ export interface LcChatTriggerV1Params {
29
29
  * @default false
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
+ /**
33
+ * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
34
+ * @loadOptionsMethod listTrustedSources
35
+ * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
+ * @default n8n-internal
37
+ */
38
+ trustedSource?: string | Expression<string>;
32
39
  /**
33
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
34
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -25,6 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
29
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
30
31
  availableInChat: z.boolean().optional(),
@@ -29,6 +29,13 @@ export interface LcChatTriggerV11Params {
29
29
  * @default false
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
+ /**
33
+ * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
34
+ * @loadOptionsMethod listTrustedSources
35
+ * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
+ * @default n8n-internal
37
+ */
38
+ trustedSource?: string | Expression<string>;
32
39
  /**
33
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
34
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -25,6 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
29
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
30
31
  availableInChat: z.boolean().optional(),
@@ -29,6 +29,13 @@ export interface LcChatTriggerV12Params {
29
29
  * @default false
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
+ /**
33
+ * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
34
+ * @loadOptionsMethod listTrustedSources
35
+ * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
+ * @default n8n-internal
37
+ */
38
+ trustedSource?: string | Expression<string>;
32
39
  /**
33
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
34
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -25,6 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
29
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
30
31
  availableInChat: z.boolean().optional(),
@@ -29,6 +29,13 @@ export interface LcChatTriggerV13Params {
29
29
  * @default false
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
+ /**
33
+ * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
34
+ * @loadOptionsMethod listTrustedSources
35
+ * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
+ * @default n8n-internal
37
+ */
38
+ trustedSource?: string | Expression<string>;
32
39
  /**
33
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
34
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -25,6 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
29
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
30
31
  availableInChat: z.boolean().optional(),
@@ -29,6 +29,13 @@ export interface LcChatTriggerV14Params {
29
29
  * @default false
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
+ /**
33
+ * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
34
+ * @loadOptionsMethod listTrustedSources
35
+ * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
+ * @default n8n-internal
37
+ */
38
+ trustedSource?: string | Expression<string>;
32
39
  /**
33
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
34
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -25,6 +25,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
25
25
  mode: resolveSchema({ parameters, schema: z.union([z.literal('hostedChat'), z.literal('webhook'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
26
26
  authentication: resolveSchema({ parameters, schema: z.union([z.literal('basicAuth'), z.literal('n8nUserAuth'), z.literal('none'), expressionSchema]), required: false, displayOptions: {"show":{"public":[true]}}, defaults: {"public":false} }),
27
27
  requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
+ trustedSource: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"mode":["hostedChat"],"public":[true]}}, defaults: {"authentication":"none","mode":"hostedChat","public":false} }),
28
29
  includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nUserAuth"],"public":[true]}}, defaults: {"authentication":"none","public":false} }),
29
30
  initialMessages: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"mode":["hostedChat"],"public":[true]}}, defaults: {"mode":"hostedChat","public":false} }),
30
31
  availableInChat: z.boolean().optional(),
@@ -29,6 +29,13 @@ export interface LcChatTriggerV15Params {
29
29
  * @default false
30
30
  */
31
31
  requireExecuteAccess?: boolean | Expression<boolean>;
32
+ /**
33
+ * The identity provider the visitor signs in with. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
34
+ * @loadOptionsMethod listTrustedSources
35
+ * @displayOptions.show { authentication: ["n8nUserAuth"], mode: ["hostedChat"], public: [true] }
36
+ * @default n8n-internal
37
+ */
38
+ trustedSource?: string | Expression<string>;
32
39
  /**
33
40
  * Whether to include the logged-in user's ID, email and name in the trigger output
34
41
  * @displayOptions.show { authentication: ["n8nUserAuth"], public: [true] }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Databricks AI Agent Node Types
3
+ *
4
+ * Re-exports all version-specific types and provides combined union type.
5
+ */
6
+
7
+ import type { LcDatabricksAiAgentV22Node } from './v22';
8
+
9
+ export * from './v22';
10
+
11
+ // Combined union type for all versions
12
+ export type LcDatabricksAiAgentNode = LcDatabricksAiAgentV22Node;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Databricks AI Agent Node - Version 2.2 - Zod Validation Schemas
3
+ *
4
+ * These schemas validate node configuration at runtime.
5
+ * Use .parse() for strict validation or .safeParse() for error handling.
6
+ *
7
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
8
+ * by the schema-validator, not imported from external files.
9
+ *
10
+ * @generated - CommonJS JavaScript for runtime loading
11
+ */
12
+
13
+ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, languageModelInstanceSchema, memoryInstanceSchema, outputParserInstanceSchema, toolInstanceSchema }) {
14
+
15
+ // Static subnode schema
16
+ const subnodesSchema = z.object({
17
+ model: z.union([languageModelInstanceSchema, z.array(languageModelInstanceSchema)]).optional(),
18
+ memory: memoryInstanceSchema.optional(),
19
+ outputParser: outputParserInstanceSchema.optional(),
20
+ tools: z.array(toolInstanceSchema).optional(),
21
+ }).strict();
22
+
23
+ // Parameters schema
24
+ const parametersSchema = z.object({
25
+ promptType: z.union([z.literal('auto'), z.literal('define'), expressionSchema]).optional(),
26
+ text: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"promptType":["define"]}}, defaults: {"promptType":"auto"} }),
27
+ hasOutputParser: z.boolean().optional(),
28
+ needsFallback: z.boolean().optional(),
29
+ exportTraces: z.boolean().optional(),
30
+ experiment: resolveSchema({ parameters, schema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('name'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]), required: false, displayOptions: {"show":{"exportTraces":[true]}}, defaults: {"exportTraces":false} }),
31
+ options: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), passthroughBinaryPdfs: booleanOrExpression.optional(), tracingMetadata: z.object({ values: z.array(z.object({ key: stringOrExpression.optional(), type: z.union([z.literal('arrayValue'), z.literal('booleanValue'), z.literal('numberValue'), z.literal('objectValue'), z.literal('stringValue'), expressionSchema]).optional(), stringValue: stringOrExpression.optional(), numberValue: stringOrExpression.optional(), booleanValue: z.union([z.literal('true'), z.literal('false'), expressionSchema]).optional(), arrayValue: stringOrExpression.optional(), objectValue: z.union([iDataObjectSchema, z.string()]).optional() })).optional() }).optional(), batching: z.object({ batchSize: numberOrExpression.optional(), delayBetweenBatches: numberOrExpression.optional() }).optional(), enableStreaming: booleanOrExpression.optional() }).optional(),
32
+ });
33
+
34
+ // Return combined config schema
35
+ return z.object({
36
+ parameters: parametersSchema.nullable().optional(),
37
+ subnodes: subnodesSchema.optional(),
38
+ });
39
+ };
@@ -0,0 +1,144 @@
1
+ /**
2
+ * Databricks AI Agent Node - Version 2.2
3
+ * An AI agent that exports its runs to MLflow Tracing in Databricks
4
+ */
5
+
6
+
7
+ export interface LcDatabricksAiAgentV22Params {
8
+ /**
9
+ * Source for Prompt (User Message)
10
+ * @builderHint Use 'auto' when following a chat trigger, 'define' when custom prompt needed
11
+ * @default auto
12
+ */
13
+ promptType?: 'auto' | 'define' | Expression<string>;
14
+ /**
15
+ * Prompt (User Message)
16
+ * @builderHint Use expressions to include dynamic data from previous nodes (e.g., expr('{{ $json.input }}')). Static text prompts ignore incoming data.
17
+ * @placeholderSupported false
18
+ * @displayOptions.show { promptType: ["define"] }
19
+ * @required when the displayOptions conditions above match
20
+ */
21
+ text?: string | Expression<string>;
22
+ hasOutputParser?: boolean;
23
+ /**
24
+ * Enable Fallback Model
25
+ * @default false
26
+ */
27
+ needsFallback?: boolean;
28
+ /**
29
+ * Whether to send each run to MLflow Tracing in your Databricks workspace. Needs the Databricks credential above. Traces include prompts, model outputs and tool results.
30
+ * @default false
31
+ */
32
+ exportTraces?: boolean;
33
+ /**
34
+ * Where traces are stored. Leave the name empty to create one for this workflow automatically.
35
+ * @displayOptions.show { exportTraces: [true] }
36
+ * @default {"mode":"name","value":""}
37
+ */
38
+ experiment?: { __rl: true; mode: 'name' | 'id'; value: string; cachedResultName?: string };
39
+ /**
40
+ * Options
41
+ * @default {}
42
+ */
43
+ options?: {
44
+ /** The message that will be sent to the agent before the conversation starts
45
+ * @builderHint Must include: agent's purpose, exact names of connected tools, and response instructions
46
+ * @default You are a helpful assistant
47
+ */
48
+ systemMessage?: string | Expression<string>;
49
+ /** The maximum number of iterations the agent will run before stopping
50
+ * @default 10
51
+ */
52
+ maxIterations?: number | Expression<number>;
53
+ /** Whether or not the output should include intermediate steps the agent took
54
+ * @default false
55
+ */
56
+ returnIntermediateSteps?: boolean | Expression<boolean>;
57
+ /** Whether or not binary images should be automatically passed through to the agent as image type messages
58
+ * @default true
59
+ */
60
+ passthroughBinaryImages?: boolean | Expression<boolean>;
61
+ /** Whether or not binary PDF documents should be automatically passed through to the agent. Useful for models that natively support PDF input (e.g. Google Gemini).
62
+ * @default false
63
+ */
64
+ passthroughBinaryPdfs?: boolean | Expression<boolean>;
65
+ /** Custom metadata added to tracing events
66
+ * @default {}
67
+ */
68
+ tracingMetadata?: {
69
+ /** Metadata
70
+ */
71
+ values?: Array<{
72
+ /** Key
73
+ */
74
+ key?: string | Expression<string>;
75
+ /** The field value type
76
+ * @default stringValue
77
+ */
78
+ type?: 'arrayValue' | 'booleanValue' | 'numberValue' | 'objectValue' | 'stringValue' | Expression<string>;
79
+ /** Value
80
+ * @displayOptions.show { type: ["stringValue"] }
81
+ */
82
+ stringValue?: string | Expression<string>;
83
+ /** Value
84
+ * @displayOptions.show { type: ["numberValue"] }
85
+ */
86
+ numberValue?: string | Expression<string>;
87
+ /** Value
88
+ * @displayOptions.show { type: ["booleanValue"] }
89
+ * @default true
90
+ */
91
+ booleanValue?: 'true' | 'false' | Expression<string>;
92
+ /** Value
93
+ * @displayOptions.show { type: ["arrayValue"] }
94
+ */
95
+ arrayValue?: string | Expression<string>;
96
+ /** Value
97
+ * @displayOptions.show { type: ["objectValue"] }
98
+ * @default ={}
99
+ */
100
+ objectValue?: IDataObject | string | Expression<string>;
101
+ }>;
102
+ };
103
+ /** Batch processing options for rate limiting
104
+ * @default {}
105
+ */
106
+ batching?: {
107
+ /** How many items to process in parallel. This is useful for rate limiting, but might impact the log output ordering.
108
+ * @default 1
109
+ */
110
+ batchSize?: number | Expression<number>;
111
+ /** Delay in milliseconds between batches. This is useful for rate limiting.
112
+ * @default 0
113
+ */
114
+ delayBetweenBatches?: number | Expression<number>;
115
+ };
116
+ /** Whether this agent will stream the response in real-time as it generates text
117
+ * @default true
118
+ */
119
+ enableStreaming?: boolean | Expression<boolean>;
120
+ };
121
+ }
122
+
123
+ export interface LcDatabricksAiAgentV22SubnodeConfig {
124
+ model?: LanguageModelInstance | LanguageModelInstance[];
125
+ memory?: MemoryInstance;
126
+ outputParser?: OutputParserInstance;
127
+ tools?: ToolInstance[];
128
+ }
129
+
130
+ export interface LcDatabricksAiAgentV22Credentials {
131
+ databricksOAuth2Api?: CredentialReference;
132
+ }
133
+
134
+ interface LcDatabricksAiAgentV22NodeBase {
135
+ type: '@n8n/n8n-nodes-langchain.databricksAiAgent';
136
+ version: 2.2;
137
+ isTrigger: true;
138
+ }
139
+
140
+ export type LcDatabricksAiAgentV22ParamsNode = LcDatabricksAiAgentV22NodeBase & {
141
+ config: NodeConfig<LcDatabricksAiAgentV22Params> & { credentials?: LcDatabricksAiAgentV22Credentials } & { subnodes?: LcDatabricksAiAgentV22SubnodeConfig };
142
+ };
143
+
144
+ export type LcDatabricksAiAgentV22Node = LcDatabricksAiAgentV22ParamsNode;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Embeddings Databricks Node Types
3
+ *
4
+ * Re-exports all version-specific types and provides combined union type.
5
+ */
6
+
7
+ import type { LcEmbeddingsDatabricksV1Node } from './v1';
8
+
9
+ export * from './v1';
10
+
11
+ // Combined union type for all versions
12
+ export type LcEmbeddingsDatabricksNode = LcEmbeddingsDatabricksV1Node;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Embeddings Databricks Node - Version 1 - Zod Validation Schemas
3
+ *
4
+ * These schemas validate node configuration at runtime.
5
+ * Use .parse() for strict validation or .safeParse() for error handling.
6
+ *
7
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
8
+ * by the schema-validator, not imported from external files.
9
+ *
10
+ * @generated - CommonJS JavaScript for runtime loading
11
+ */
12
+
13
+ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema }) {
14
+
15
+ // Parameters schema
16
+ const parametersSchema = z.object({
17
+ model: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
18
+ options: z.object({ batchSize: numberOrExpression.optional(), stripNewLines: booleanOrExpression.optional(), timeout: numberOrExpression.optional(), maxRetries: numberOrExpression.optional() }).optional(),
19
+ });
20
+
21
+ // Return combined config schema
22
+ return z.object({
23
+ parameters: parametersSchema.nullable().optional(),
24
+ });
25
+ };
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Embeddings Databricks Node - Version 1
3
+ * Use Databricks Embeddings
4
+ */
5
+
6
+
7
+ export interface LcEmbeddingsDatabricksV1Params {
8
+ /**
9
+ * The Unity AI Gateway model service. Choose from the list, or enter its full name (catalog.schema.service).
10
+ * @searchListMethod searchModels
11
+ * @default {"mode":"list","value":""}
12
+ */
13
+ model?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
14
+ /**
15
+ * Additional options to add
16
+ * @default {}
17
+ */
18
+ options?: {
19
+ /** Maximum number of documents to send in each request
20
+ * @default 512
21
+ */
22
+ batchSize?: number | Expression<number>;
23
+ /** Whether to strip new lines from the input text
24
+ * @default true
25
+ */
26
+ stripNewLines?: boolean | Expression<boolean>;
27
+ /** Maximum amount of time a request is allowed to take in milliseconds
28
+ * @default 360000
29
+ */
30
+ timeout?: number | Expression<number>;
31
+ /** Maximum number of retries to attempt
32
+ * @default 2
33
+ */
34
+ maxRetries?: number | Expression<number>;
35
+ };
36
+ }
37
+
38
+ export interface LcEmbeddingsDatabricksV1Credentials {
39
+ databricksOAuth2Api: CredentialReference;
40
+ }
41
+
42
+ interface LcEmbeddingsDatabricksV1NodeBase {
43
+ type: '@n8n/n8n-nodes-langchain.embeddingsDatabricks';
44
+ version: 1;
45
+ }
46
+
47
+ export type LcEmbeddingsDatabricksV1ParamsNode = LcEmbeddingsDatabricksV1NodeBase & {
48
+ config: NodeConfig<LcEmbeddingsDatabricksV1Params> & { credentials?: LcEmbeddingsDatabricksV1Credentials };
49
+ };
50
+
51
+ export type LcEmbeddingsDatabricksV1Node = LcEmbeddingsDatabricksV1ParamsNode;