@kyuda/n8n-nodes-databricks 1.0.2

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.

Potentially problematic release.


This version of @kyuda/n8n-nodes-databricks might be problematic. Click here for more details.

Files changed (289) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +478 -0
  3. package/dist/credentials/Databricks.credentials.d.ts +10 -0
  4. package/dist/credentials/Databricks.credentials.js +51 -0
  5. package/dist/credentials/Databricks.credentials.js.map +1 -0
  6. package/dist/credentials/databricks.svg +19 -0
  7. package/dist/nodes/Databricks/Databricks.node.d.ts +16 -0
  8. package/dist/nodes/Databricks/Databricks.node.js +1719 -0
  9. package/dist/nodes/Databricks/Databricks.node.js.map +1 -0
  10. package/dist/nodes/Databricks/databricks.dark.svg +19 -0
  11. package/dist/nodes/Databricks/databricks.svg +19 -0
  12. package/dist/nodes/Databricks/resources/databricksSql/operations.d.ts +2 -0
  13. package/dist/nodes/Databricks/resources/databricksSql/operations.js +24 -0
  14. package/dist/nodes/Databricks/resources/databricksSql/operations.js.map +1 -0
  15. package/dist/nodes/Databricks/resources/databricksSql/parameters.d.ts +2 -0
  16. package/dist/nodes/Databricks/resources/databricksSql/parameters.js +94 -0
  17. package/dist/nodes/Databricks/resources/databricksSql/parameters.js.map +1 -0
  18. package/dist/nodes/Databricks/resources/databricksSql.d.ts +3 -0
  19. package/dist/nodes/Databricks/resources/databricksSql.js +130 -0
  20. package/dist/nodes/Databricks/resources/databricksSql.js.map +1 -0
  21. package/dist/nodes/Databricks/resources/files/operations.d.ts +2 -0
  22. package/dist/nodes/Databricks/resources/files/operations.js +71 -0
  23. package/dist/nodes/Databricks/resources/files/operations.js.map +1 -0
  24. package/dist/nodes/Databricks/resources/files/parameters.d.ts +2 -0
  25. package/dist/nodes/Databricks/resources/files/parameters.js +124 -0
  26. package/dist/nodes/Databricks/resources/files/parameters.js.map +1 -0
  27. package/dist/nodes/Databricks/resources/files.d.ts +3 -0
  28. package/dist/nodes/Databricks/resources/files.js +183 -0
  29. package/dist/nodes/Databricks/resources/files.js.map +1 -0
  30. package/dist/nodes/Databricks/resources/genie/operations.d.ts +2 -0
  31. package/dist/nodes/Databricks/resources/genie/operations.js +96 -0
  32. package/dist/nodes/Databricks/resources/genie/operations.js.map +1 -0
  33. package/dist/nodes/Databricks/resources/genie/parameters.d.ts +2 -0
  34. package/dist/nodes/Databricks/resources/genie/parameters.js +96 -0
  35. package/dist/nodes/Databricks/resources/genie/parameters.js.map +1 -0
  36. package/dist/nodes/Databricks/resources/index.d.ts +12 -0
  37. package/dist/nodes/Databricks/resources/index.js +29 -0
  38. package/dist/nodes/Databricks/resources/index.js.map +1 -0
  39. package/dist/nodes/Databricks/resources/modelServing/operations.d.ts +2 -0
  40. package/dist/nodes/Databricks/resources/modelServing/operations.js +24 -0
  41. package/dist/nodes/Databricks/resources/modelServing/operations.js.map +1 -0
  42. package/dist/nodes/Databricks/resources/modelServing/parameters.d.ts +2 -0
  43. package/dist/nodes/Databricks/resources/modelServing/parameters.js +76 -0
  44. package/dist/nodes/Databricks/resources/modelServing/parameters.js.map +1 -0
  45. package/dist/nodes/Databricks/resources/modelServing.d.ts +3 -0
  46. package/dist/nodes/Databricks/resources/modelServing.js +176 -0
  47. package/dist/nodes/Databricks/resources/modelServing.js.map +1 -0
  48. package/dist/nodes/Databricks/resources/unityCatalog/operations.d.ts +2 -0
  49. package/dist/nodes/Databricks/resources/unityCatalog/operations.js +233 -0
  50. package/dist/nodes/Databricks/resources/unityCatalog/operations.js.map +1 -0
  51. package/dist/nodes/Databricks/resources/unityCatalog/parameters.d.ts +2 -0
  52. package/dist/nodes/Databricks/resources/unityCatalog/parameters.js +371 -0
  53. package/dist/nodes/Databricks/resources/unityCatalog/parameters.js.map +1 -0
  54. package/dist/nodes/Databricks/resources/unityCatalog.d.ts +3 -0
  55. package/dist/nodes/Databricks/resources/unityCatalog.js +239 -0
  56. package/dist/nodes/Databricks/resources/unityCatalog.js.map +1 -0
  57. package/dist/nodes/Databricks/resources/vectorSearch/operations.d.ts +2 -0
  58. package/dist/nodes/Databricks/resources/vectorSearch/operations.js +48 -0
  59. package/dist/nodes/Databricks/resources/vectorSearch/operations.js.map +1 -0
  60. package/dist/nodes/Databricks/resources/vectorSearch/parameters.d.ts +2 -0
  61. package/dist/nodes/Databricks/resources/vectorSearch/parameters.js +224 -0
  62. package/dist/nodes/Databricks/resources/vectorSearch/parameters.js.map +1 -0
  63. package/dist/nodes/agents/DatabricksAiAgent/CallbackHandler.d.ts +66 -0
  64. package/dist/nodes/agents/DatabricksAiAgent/CallbackHandler.js +531 -0
  65. package/dist/nodes/agents/DatabricksAiAgent/CallbackHandler.js.map +1 -0
  66. package/dist/nodes/agents/DatabricksAiAgent/DatabricksAiAgent.node.d.ts +5 -0
  67. package/dist/nodes/agents/DatabricksAiAgent/DatabricksAiAgent.node.js +133 -0
  68. package/dist/nodes/agents/DatabricksAiAgent/DatabricksAiAgent.node.js.map +1 -0
  69. package/dist/nodes/agents/DatabricksAiAgent/DatabricksAiAgentDark.icon.svg +9 -0
  70. package/dist/nodes/agents/DatabricksAiAgent/DatabricksAiAgentLight.icon.svg +9 -0
  71. package/dist/nodes/agents/DatabricksAiAgent/description.d.ts +4 -0
  72. package/dist/nodes/agents/DatabricksAiAgent/description.js +28 -0
  73. package/dist/nodes/agents/DatabricksAiAgent/description.js.map +1 -0
  74. package/dist/nodes/agents/DatabricksAiAgent/execute.d.ts +2 -0
  75. package/dist/nodes/agents/DatabricksAiAgent/execute.js +418 -0
  76. package/dist/nodes/agents/DatabricksAiAgent/execute.js.map +1 -0
  77. package/dist/nodes/agents/DatabricksAiAgent/src/constants.d.ts +82 -0
  78. package/dist/nodes/agents/DatabricksAiAgent/src/constants.js +105 -0
  79. package/dist/nodes/agents/DatabricksAiAgent/src/constants.js.map +1 -0
  80. package/dist/nodes/agents/DatabricksAiAgent/src/types/types.d.ts +6 -0
  81. package/dist/nodes/agents/DatabricksAiAgent/src/types/types.js +3 -0
  82. package/dist/nodes/agents/DatabricksAiAgent/src/types/types.js.map +1 -0
  83. package/dist/nodes/agents/DatabricksAiAgent/src/utils/N8nOutputParser.d.ts +5 -0
  84. package/dist/nodes/agents/DatabricksAiAgent/src/utils/N8nOutputParser.js +13 -0
  85. package/dist/nodes/agents/DatabricksAiAgent/src/utils/N8nOutputParser.js.map +1 -0
  86. package/dist/nodes/agents/DatabricksAiAgent/src/utils/N8nTool.d.ts +10 -0
  87. package/dist/nodes/agents/DatabricksAiAgent/src/utils/N8nTool.js +88 -0
  88. package/dist/nodes/agents/DatabricksAiAgent/src/utils/N8nTool.js.map +1 -0
  89. package/dist/nodes/agents/DatabricksAiAgent/src/utils/common.d.ts +28 -0
  90. package/dist/nodes/agents/DatabricksAiAgent/src/utils/common.js +207 -0
  91. package/dist/nodes/agents/DatabricksAiAgent/src/utils/common.js.map +1 -0
  92. package/dist/nodes/agents/DatabricksAiAgent/src/utils/descriptions.d.ts +17 -0
  93. package/dist/nodes/agents/DatabricksAiAgent/src/utils/descriptions.js +135 -0
  94. package/dist/nodes/agents/DatabricksAiAgent/src/utils/descriptions.js.map +1 -0
  95. package/dist/nodes/agents/DatabricksAiAgent/src/utils/helpers.d.ts +24 -0
  96. package/dist/nodes/agents/DatabricksAiAgent/src/utils/helpers.js +221 -0
  97. package/dist/nodes/agents/DatabricksAiAgent/src/utils/helpers.js.map +1 -0
  98. package/dist/nodes/agents/DatabricksAiAgent/src/utils/options.d.ts +2 -0
  99. package/dist/nodes/agents/DatabricksAiAgent/src/utils/options.js +38 -0
  100. package/dist/nodes/agents/DatabricksAiAgent/src/utils/options.js.map +1 -0
  101. package/dist/nodes/agents/DatabricksAiAgent/src/utils/output_parsers/N8nStructuredOutputParser.d.ts +12 -0
  102. package/dist/nodes/agents/DatabricksAiAgent/src/utils/output_parsers/N8nStructuredOutputParser.js +106 -0
  103. package/dist/nodes/agents/DatabricksAiAgent/src/utils/output_parsers/N8nStructuredOutputParser.js.map +1 -0
  104. package/dist/nodes/agents/DatabricksAiAgent/src/utils/prompt.d.ts +1 -0
  105. package/dist/nodes/agents/DatabricksAiAgent/src/utils/prompt.js +5 -0
  106. package/dist/nodes/agents/DatabricksAiAgent/src/utils/prompt.js.map +1 -0
  107. package/dist/nodes/agents/DatabricksAiAgent/src/utils/retry.d.ts +16 -0
  108. package/dist/nodes/agents/DatabricksAiAgent/src/utils/retry.js +132 -0
  109. package/dist/nodes/agents/DatabricksAiAgent/src/utils/retry.js.map +1 -0
  110. package/dist/nodes/agents/DatabricksAiAgent/src/utils/security.d.ts +18 -0
  111. package/dist/nodes/agents/DatabricksAiAgent/src/utils/security.js +150 -0
  112. package/dist/nodes/agents/DatabricksAiAgent/src/utils/security.js.map +1 -0
  113. package/dist/nodes/agents/DatabricksAiAgent/src/utils/sharedFields.d.ts +7 -0
  114. package/dist/nodes/agents/DatabricksAiAgent/src/utils/sharedFields.js +150 -0
  115. package/dist/nodes/agents/DatabricksAiAgent/src/utils/sharedFields.js.map +1 -0
  116. package/dist/nodes/agents/DatabricksAiAgent/utils.d.ts +2 -0
  117. package/dist/nodes/agents/DatabricksAiAgent/utils.js +52 -0
  118. package/dist/nodes/agents/DatabricksAiAgent/utils.js.map +1 -0
  119. package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.d.ts +5 -0
  120. package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js +155 -0
  121. package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js.map +1 -0
  122. package/dist/nodes/embeddings/EmbeddingsDatabricks/databricks.dark.svg +19 -0
  123. package/dist/nodes/embeddings/EmbeddingsDatabricks/databricks.svg +19 -0
  124. package/dist/nodes/llms/LmChatDatabricks/LmChatDatabricks.node.d.ts +10 -0
  125. package/dist/nodes/llms/LmChatDatabricks/LmChatDatabricks.node.js +265 -0
  126. package/dist/nodes/llms/LmChatDatabricks/LmChatDatabricks.node.js.map +1 -0
  127. package/dist/nodes/llms/LmChatDatabricks/databricks.dark.svg +19 -0
  128. package/dist/nodes/llms/LmChatDatabricks/databricks.svg +19 -0
  129. package/dist/nodes/llms/N8nLlmTracing.d.ts +44 -0
  130. package/dist/nodes/llms/N8nLlmTracing.js +140 -0
  131. package/dist/nodes/llms/N8nLlmTracing.js.map +1 -0
  132. package/dist/nodes/llms/n8nDefaultFailedAttemptHandler.d.ts +1 -0
  133. package/dist/nodes/llms/n8nDefaultFailedAttemptHandler.js +31 -0
  134. package/dist/nodes/llms/n8nDefaultFailedAttemptHandler.js.map +1 -0
  135. package/dist/nodes/llms/n8nDefaultFailedAttemptHandler.test.d.ts +1 -0
  136. package/dist/nodes/llms/n8nDefaultFailedAttemptHandler.test.js +53 -0
  137. package/dist/nodes/llms/n8nDefaultFailedAttemptHandler.test.js.map +1 -0
  138. package/dist/nodes/llms/n8nLlmFailedAttemptHandler.d.ts +3 -0
  139. package/dist/nodes/llms/n8nLlmFailedAttemptHandler.js +28 -0
  140. package/dist/nodes/llms/n8nLlmFailedAttemptHandler.js.map +1 -0
  141. package/dist/nodes/llms/n8nLlmFailedAttemptHandler.test.d.ts +1 -0
  142. package/dist/nodes/llms/n8nLlmFailedAttemptHandler.test.js +50 -0
  143. package/dist/nodes/llms/n8nLlmFailedAttemptHandler.test.js.map +1 -0
  144. package/dist/nodes/vector_store/VectorStoreDatabricks/VectorStoreDatabricks.node.d.ts +15 -0
  145. package/dist/nodes/vector_store/VectorStoreDatabricks/VectorStoreDatabricks.node.js +98 -0
  146. package/dist/nodes/vector_store/VectorStoreDatabricks/VectorStoreDatabricks.node.js.map +1 -0
  147. package/dist/nodes/vector_store/VectorStoreDatabricks/databricks.dark.svg +19 -0
  148. package/dist/nodes/vector_store/VectorStoreDatabricks/databricks.svg +19 -0
  149. package/dist/nodes/vector_store/shared/MemoryManager/MemoryCalculator.d.ts +7 -0
  150. package/dist/nodes/vector_store/shared/MemoryManager/MemoryCalculator.js +50 -0
  151. package/dist/nodes/vector_store/shared/MemoryManager/MemoryCalculator.js.map +1 -0
  152. package/dist/nodes/vector_store/shared/MemoryManager/MemoryVectorStoreManager.d.ts +32 -0
  153. package/dist/nodes/vector_store/shared/MemoryManager/MemoryVectorStoreManager.js +175 -0
  154. package/dist/nodes/vector_store/shared/MemoryManager/MemoryVectorStoreManager.js.map +1 -0
  155. package/dist/nodes/vector_store/shared/MemoryManager/StoreCleanupService.d.ts +16 -0
  156. package/dist/nodes/vector_store/shared/MemoryManager/StoreCleanupService.js +95 -0
  157. package/dist/nodes/vector_store/shared/MemoryManager/StoreCleanupService.js.map +1 -0
  158. package/dist/nodes/vector_store/shared/MemoryManager/config.d.ts +4 -0
  159. package/dist/nodes/vector_store/shared/MemoryManager/config.js +38 -0
  160. package/dist/nodes/vector_store/shared/MemoryManager/config.js.map +1 -0
  161. package/dist/nodes/vector_store/shared/MemoryManager/test/MemoryCalculator.test.d.ts +1 -0
  162. package/dist/nodes/vector_store/shared/MemoryManager/test/MemoryCalculator.test.js +158 -0
  163. package/dist/nodes/vector_store/shared/MemoryManager/test/MemoryCalculator.test.js.map +1 -0
  164. package/dist/nodes/vector_store/shared/MemoryManager/test/MemoryVectorStoreManager.test.d.ts +1 -0
  165. package/dist/nodes/vector_store/shared/MemoryManager/test/MemoryVectorStoreManager.test.js +204 -0
  166. package/dist/nodes/vector_store/shared/MemoryManager/test/MemoryVectorStoreManager.test.js.map +1 -0
  167. package/dist/nodes/vector_store/shared/MemoryManager/test/StoreCleanupService.test.d.ts +1 -0
  168. package/dist/nodes/vector_store/shared/MemoryManager/test/StoreCleanupService.test.js +138 -0
  169. package/dist/nodes/vector_store/shared/MemoryManager/test/StoreCleanupService.test.js.map +1 -0
  170. package/dist/nodes/vector_store/shared/MemoryManager/test/config.test.d.ts +1 -0
  171. package/dist/nodes/vector_store/shared/MemoryManager/test/config.test.js +57 -0
  172. package/dist/nodes/vector_store/shared/MemoryManager/test/config.test.js.map +1 -0
  173. package/dist/nodes/vector_store/shared/MemoryManager/types.d.ts +39 -0
  174. package/dist/nodes/vector_store/shared/MemoryManager/types.js +3 -0
  175. package/dist/nodes/vector_store/shared/MemoryManager/types.js.map +1 -0
  176. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.d.ts +1 -0
  177. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.js +156 -0
  178. package/dist/nodes/vector_store/shared/createVectorStoreNode/__tests__/utils.test.js.map +1 -0
  179. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.d.ts +4 -0
  180. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.js +45 -0
  181. package/dist/nodes/vector_store/shared/createVectorStoreNode/constants.js.map +1 -0
  182. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.d.ts +15 -0
  183. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.js +227 -0
  184. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.js.map +1 -0
  185. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.d.ts +1 -0
  186. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.js +131 -0
  187. package/dist/nodes/vector_store/shared/createVectorStoreNode/createVectorStoreNode.test.js.map +1 -0
  188. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.d.ts +7 -0
  189. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.js +32 -0
  190. package/dist/nodes/vector_store/shared/createVectorStoreNode/methods/listSearch.js.map +1 -0
  191. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.d.ts +1 -0
  192. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.js +190 -0
  193. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/insertOperation.test.js.map +1 -0
  194. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.d.ts +1 -0
  195. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.js +101 -0
  196. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/loadOperation.test.js.map +1 -0
  197. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.d.ts +1 -0
  198. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.js +93 -0
  199. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/operationHandlers.test.js.map +1 -0
  200. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.d.ts +1 -0
  201. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.js +109 -0
  202. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveAsToolOperation.test.js.map +1 -0
  203. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.d.ts +1 -0
  204. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.js +60 -0
  205. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.js.map +1 -0
  206. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.d.ts +1 -0
  207. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.js +108 -0
  208. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/__tests__/updateOperation.test.js.map +1 -0
  209. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.d.ts +5 -0
  210. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.js +22 -0
  211. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/index.js.map +1 -0
  212. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.d.ts +5 -0
  213. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.js +36 -0
  214. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/insertOperation.js.map +1 -0
  215. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.d.ts +5 -0
  216. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.js +34 -0
  217. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/loadOperation.js.map +1 -0
  218. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.d.ts +5 -0
  219. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.js +43 -0
  220. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveAsToolOperation.js.map +1 -0
  221. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.d.ts +5 -0
  222. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.js +17 -0
  223. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.js.map +1 -0
  224. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.d.ts +5 -0
  225. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.js +40 -0
  226. package/dist/nodes/vector_store/shared/createVectorStoreNode/operations/updateOperation.js.map +1 -0
  227. package/dist/nodes/vector_store/shared/createVectorStoreNode/test-helpers.d.ts +0 -0
  228. package/dist/nodes/vector_store/shared/createVectorStoreNode/test-helpers.js +2 -0
  229. package/dist/nodes/vector_store/shared/createVectorStoreNode/test-helpers.js.map +1 -0
  230. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.d.ts +31 -0
  231. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.js +3 -0
  232. package/dist/nodes/vector_store/shared/createVectorStoreNode/types.js.map +1 -0
  233. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.d.ts +6 -0
  234. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.js +22 -0
  235. package/dist/nodes/vector_store/shared/createVectorStoreNode/utils.js.map +1 -0
  236. package/dist/nodes/vector_store/shared/descriptions.d.ts +4 -0
  237. package/dist/nodes/vector_store/shared/descriptions.js +70 -0
  238. package/dist/nodes/vector_store/shared/descriptions.js.map +1 -0
  239. package/dist/nodes/vector_store/shared/processDocuments.d.ts +25 -0
  240. package/dist/nodes/vector_store/shared/processDocuments.js +42 -0
  241. package/dist/nodes/vector_store/shared/processDocuments.js.map +1 -0
  242. package/dist/package.json +93 -0
  243. package/dist/tsconfig.tsbuildinfo +1 -0
  244. package/dist/utils/DatabricksVectorStoreLangChain.d.ts +26 -0
  245. package/dist/utils/DatabricksVectorStoreLangChain.js +114 -0
  246. package/dist/utils/DatabricksVectorStoreLangChain.js.map +1 -0
  247. package/dist/utils/N8nBinaryLoader.d.ts +18 -0
  248. package/dist/utils/N8nBinaryLoader.js +159 -0
  249. package/dist/utils/N8nBinaryLoader.js.map +1 -0
  250. package/dist/utils/N8nJsonLoader.d.ts +11 -0
  251. package/dist/utils/N8nJsonLoader.js +67 -0
  252. package/dist/utils/N8nJsonLoader.js.map +1 -0
  253. package/dist/utils/N8nTool.d.ts +10 -0
  254. package/dist/utils/N8nTool.js +88 -0
  255. package/dist/utils/N8nTool.js.map +1 -0
  256. package/dist/utils/descriptions.d.ts +13 -0
  257. package/dist/utils/descriptions.js +112 -0
  258. package/dist/utils/descriptions.js.map +1 -0
  259. package/dist/utils/helpers.d.ts +23 -0
  260. package/dist/utils/helpers.js +172 -0
  261. package/dist/utils/helpers.js.map +1 -0
  262. package/dist/utils/logWrapper.d.ts +27 -0
  263. package/dist/utils/logWrapper.js +297 -0
  264. package/dist/utils/logWrapper.js.map +1 -0
  265. package/dist/utils/output_parsers/N8nItemListOutputParser.d.ts +13 -0
  266. package/dist/utils/output_parsers/N8nItemListOutputParser.js +43 -0
  267. package/dist/utils/output_parsers/N8nItemListOutputParser.js.map +1 -0
  268. package/dist/utils/output_parsers/N8nOutputFixingParser.d.ts +18 -0
  269. package/dist/utils/output_parsers/N8nOutputFixingParser.js +68 -0
  270. package/dist/utils/output_parsers/N8nOutputFixingParser.js.map +1 -0
  271. package/dist/utils/output_parsers/N8nOutputParser.d.ts +7 -0
  272. package/dist/utils/output_parsers/N8nOutputParser.js +19 -0
  273. package/dist/utils/output_parsers/N8nOutputParser.js.map +1 -0
  274. package/dist/utils/output_parsers/N8nStructuredOutputParser.d.ts +12 -0
  275. package/dist/utils/output_parsers/N8nStructuredOutputParser.js +84 -0
  276. package/dist/utils/output_parsers/N8nStructuredOutputParser.js.map +1 -0
  277. package/dist/utils/output_parsers/prompt.d.ts +3 -0
  278. package/dist/utils/output_parsers/prompt.js +22 -0
  279. package/dist/utils/output_parsers/prompt.js.map +1 -0
  280. package/dist/utils/schemaParsing.d.ts +6 -0
  281. package/dist/utils/schemaParsing.js +23 -0
  282. package/dist/utils/schemaParsing.js.map +1 -0
  283. package/dist/utils/sharedFields.d.ts +6 -0
  284. package/dist/utils/sharedFields.js +122 -0
  285. package/dist/utils/sharedFields.js.map +1 -0
  286. package/dist/utils/tracing.d.ts +7 -0
  287. package/dist/utils/tracing.js +20 -0
  288. package/dist/utils/tracing.js.map +1 -0
  289. package/package.json +93 -0
@@ -0,0 +1,371 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.unityCatalogParameters = void 0;
4
+ exports.unityCatalogParameters = [
5
+ {
6
+ displayName: 'Table',
7
+ name: 'fullName',
8
+ type: 'resourceLocator',
9
+ default: { mode: 'list', value: '' },
10
+ required: true,
11
+ description: 'The table to access',
12
+ displayOptions: {
13
+ show: {
14
+ operation: ['getTable'],
15
+ },
16
+ },
17
+ modes: [
18
+ {
19
+ displayName: 'From List',
20
+ name: 'list',
21
+ type: 'list',
22
+ typeOptions: {
23
+ searchListMethod: 'getTables',
24
+ searchable: true,
25
+ },
26
+ },
27
+ {
28
+ displayName: 'By Name',
29
+ name: 'string',
30
+ type: 'string',
31
+ placeholder: 'catalog.schema.table',
32
+ hint: 'Enter full table name in format: catalog.schema.table',
33
+ validation: [
34
+ {
35
+ type: 'regex',
36
+ properties: {
37
+ regex: '^[a-zA-Z0-9_-]+\\.[a-zA-Z0-9_-]+\\.[a-zA-Z0-9_-]+$',
38
+ errorMessage: 'Must be in format: catalog.schema.table (e.g., main.default.my_table)',
39
+ },
40
+ },
41
+ ],
42
+ },
43
+ ],
44
+ },
45
+ {
46
+ displayName: 'Function',
47
+ name: 'fullName',
48
+ type: 'resourceLocator',
49
+ default: { mode: 'list', value: '' },
50
+ required: true,
51
+ description: 'The function to access',
52
+ displayOptions: {
53
+ show: {
54
+ operation: ['getFunction', 'deleteFunction'],
55
+ },
56
+ },
57
+ modes: [
58
+ {
59
+ displayName: 'From List',
60
+ name: 'list',
61
+ type: 'list',
62
+ typeOptions: {
63
+ searchListMethod: 'getFunctions',
64
+ searchable: true,
65
+ },
66
+ },
67
+ {
68
+ displayName: 'By Name',
69
+ name: 'string',
70
+ type: 'string',
71
+ placeholder: 'catalog.schema.function',
72
+ hint: 'Enter full function name in format: catalog.schema.function',
73
+ validation: [
74
+ {
75
+ type: 'regex',
76
+ properties: {
77
+ regex: '^[a-zA-Z0-9_-]+\\.[a-zA-Z0-9_-]+\\.[a-zA-Z0-9_-]+$',
78
+ errorMessage: 'Must be in format: catalog.schema.function (e.g., main.default.my_function)',
79
+ },
80
+ },
81
+ ],
82
+ },
83
+ ],
84
+ },
85
+ {
86
+ displayName: 'Catalog',
87
+ name: 'catalogName',
88
+ type: 'resourceLocator',
89
+ default: { mode: 'list', value: '' },
90
+ required: true,
91
+ description: 'The catalog to use',
92
+ displayOptions: {
93
+ show: {
94
+ operation: [
95
+ 'getCatalog',
96
+ 'updateCatalog',
97
+ 'deleteCatalog',
98
+ 'createCatalog',
99
+ 'createVolume',
100
+ 'getVolume',
101
+ 'deleteVolume',
102
+ 'createFunction',
103
+ ],
104
+ },
105
+ },
106
+ modes: [
107
+ {
108
+ displayName: 'From List',
109
+ name: 'list',
110
+ type: 'list',
111
+ typeOptions: {
112
+ searchListMethod: 'getCatalogs',
113
+ searchable: true,
114
+ },
115
+ },
116
+ {
117
+ displayName: 'By Name',
118
+ name: 'string',
119
+ type: 'string',
120
+ placeholder: 'main',
121
+ hint: 'Enter catalog name or leave empty to list all',
122
+ },
123
+ ],
124
+ },
125
+ {
126
+ displayName: 'Catalog',
127
+ name: 'catalogName',
128
+ type: 'resourceLocator',
129
+ default: { mode: 'string', value: '' },
130
+ required: false,
131
+ description: 'Filter by catalog (optional)',
132
+ displayOptions: {
133
+ show: {
134
+ operation: [
135
+ 'listVolumes',
136
+ 'listTables',
137
+ 'listFunctions',
138
+ ],
139
+ },
140
+ },
141
+ modes: [
142
+ {
143
+ displayName: 'From List',
144
+ name: 'list',
145
+ type: 'list',
146
+ typeOptions: {
147
+ searchListMethod: 'getCatalogs',
148
+ searchable: true,
149
+ },
150
+ },
151
+ {
152
+ displayName: 'By Name',
153
+ name: 'string',
154
+ type: 'string',
155
+ placeholder: 'main',
156
+ hint: 'Enter catalog name or leave empty to list all',
157
+ },
158
+ ],
159
+ },
160
+ {
161
+ displayName: 'Schema',
162
+ name: 'schemaName',
163
+ type: 'resourceLocator',
164
+ default: { mode: 'list', value: '' },
165
+ required: true,
166
+ description: 'The schema to use',
167
+ displayOptions: {
168
+ show: {
169
+ operation: [
170
+ 'createVolume',
171
+ 'getVolume',
172
+ 'deleteVolume',
173
+ 'createFunction',
174
+ ],
175
+ },
176
+ },
177
+ modes: [
178
+ {
179
+ displayName: 'From List',
180
+ name: 'list',
181
+ type: 'list',
182
+ typeOptions: {
183
+ searchListMethod: 'getSchemas',
184
+ searchable: true,
185
+ },
186
+ },
187
+ {
188
+ displayName: 'By Name',
189
+ name: 'string',
190
+ type: 'string',
191
+ placeholder: 'default',
192
+ hint: 'Enter schema name or leave empty to list all',
193
+ },
194
+ ],
195
+ },
196
+ {
197
+ displayName: 'Schema',
198
+ name: 'schemaName',
199
+ type: 'resourceLocator',
200
+ default: { mode: 'string', value: '' },
201
+ required: false,
202
+ description: 'Filter by schema (optional, requires catalog)',
203
+ displayOptions: {
204
+ show: {
205
+ operation: [
206
+ 'listVolumes',
207
+ 'listTables',
208
+ 'listFunctions',
209
+ ],
210
+ },
211
+ },
212
+ modes: [
213
+ {
214
+ displayName: 'From List',
215
+ name: 'list',
216
+ type: 'list',
217
+ typeOptions: {
218
+ searchListMethod: 'getSchemas',
219
+ searchable: true,
220
+ },
221
+ },
222
+ {
223
+ displayName: 'By Name',
224
+ name: 'string',
225
+ type: 'string',
226
+ placeholder: 'schema',
227
+ hint: 'Enter full schema name or leave empty to list all',
228
+ },
229
+ ],
230
+ },
231
+ {
232
+ displayName: 'Volume Name',
233
+ name: 'volumeName',
234
+ type: 'string',
235
+ required: true,
236
+ default: '',
237
+ placeholder: 'my_volume',
238
+ description: 'Name of the volume',
239
+ displayOptions: {
240
+ show: {
241
+ operation: ['createVolume', 'getVolume', 'deleteVolume'],
242
+ },
243
+ },
244
+ },
245
+ {
246
+ displayName: 'Volume Type',
247
+ name: 'volumeType',
248
+ type: 'options',
249
+ required: true,
250
+ default: 'MANAGED',
251
+ description: 'The type of volume to create',
252
+ options: [
253
+ {
254
+ name: 'Managed',
255
+ value: 'MANAGED',
256
+ description: 'Databricks manages the volume storage',
257
+ },
258
+ {
259
+ name: 'External',
260
+ value: 'EXTERNAL',
261
+ description: 'Volume points to external storage',
262
+ },
263
+ ],
264
+ displayOptions: {
265
+ show: {
266
+ operation: ['createVolume'],
267
+ },
268
+ },
269
+ },
270
+ {
271
+ displayName: 'Function Name',
272
+ name: 'functionName',
273
+ type: 'string',
274
+ required: true,
275
+ default: '',
276
+ placeholder: 'my_function',
277
+ description: 'Name of the function to create',
278
+ displayOptions: {
279
+ show: {
280
+ operation: ['createFunction'],
281
+ },
282
+ },
283
+ },
284
+ {
285
+ displayName: 'Input Parameters',
286
+ name: 'inputParams',
287
+ type: 'json',
288
+ required: true,
289
+ default: '[]',
290
+ placeholder: '[{"name": "param1", "type_name": "STRING"}]',
291
+ description: 'Array of input parameters for the function',
292
+ displayOptions: {
293
+ show: {
294
+ operation: ['createFunction'],
295
+ },
296
+ },
297
+ },
298
+ {
299
+ displayName: 'Return Type',
300
+ name: 'returnType',
301
+ type: 'string',
302
+ required: true,
303
+ default: 'STRING',
304
+ placeholder: 'STRING',
305
+ description: 'The return type of the function (e.g., STRING, INT, DOUBLE)',
306
+ displayOptions: {
307
+ show: {
308
+ operation: ['createFunction'],
309
+ },
310
+ },
311
+ },
312
+ {
313
+ displayName: 'Routine Body',
314
+ name: 'routineBody',
315
+ type: 'string',
316
+ required: true,
317
+ default: 'SQL',
318
+ description: 'The language of the function body',
319
+ displayOptions: {
320
+ show: {
321
+ operation: ['createFunction'],
322
+ },
323
+ },
324
+ },
325
+ {
326
+ displayName: 'Comment',
327
+ name: 'comment',
328
+ type: 'string',
329
+ required: false,
330
+ default: '',
331
+ placeholder: 'Catalog description',
332
+ description: 'Optional comment or description',
333
+ displayOptions: {
334
+ show: {
335
+ operation: [
336
+ 'createCatalog',
337
+ 'updateCatalog',
338
+ ],
339
+ },
340
+ },
341
+ },
342
+ {
343
+ displayName: 'Additional Fields',
344
+ name: 'additionalFields',
345
+ type: 'collection',
346
+ placeholder: 'Add Field',
347
+ default: {},
348
+ displayOptions: {
349
+ show: {
350
+ operation: ['createVolume'],
351
+ },
352
+ },
353
+ options: [
354
+ {
355
+ displayName: 'Comment',
356
+ name: 'comment',
357
+ type: 'string',
358
+ default: '',
359
+ description: 'Optional comment or description for the volume',
360
+ },
361
+ {
362
+ displayName: 'Storage Location',
363
+ name: 'storage_location',
364
+ type: 'string',
365
+ default: '',
366
+ description: 'External storage location (required for EXTERNAL volumes)',
367
+ },
368
+ ],
369
+ },
370
+ ];
371
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../nodes/Databricks/resources/unityCatalog/parameters.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,OAAO;QACpB,IA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BACf;aACD;SACD;KACD;IAGD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,cAAc,CAAC;aAC3B;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,gDAAgD;aAC7D;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2DAA2D;aACxE;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const unityCatalogOperations: INodeProperties;
3
+ export declare const unityCatalogParameters: INodeProperties[];
@@ -0,0 +1,239 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.unityCatalogParameters = exports.unityCatalogOperations = void 0;
4
+ exports.unityCatalogOperations = {
5
+ displayName: 'Operation',
6
+ name: 'operation',
7
+ type: 'options',
8
+ noDataExpression: true,
9
+ displayOptions: {
10
+ show: {
11
+ resource: [
12
+ 'unityCatalog',
13
+ ],
14
+ },
15
+ },
16
+ options: [
17
+ {
18
+ name: 'Create Volume',
19
+ value: 'createVolume',
20
+ description: 'Create a new volume',
21
+ action: 'Create a volume',
22
+ routing: {
23
+ request: {
24
+ method: 'POST',
25
+ url: '/api/2.1/unity-catalog/volumes',
26
+ body: {
27
+ catalog_name: '={{$parameter.catalog}}',
28
+ schema_name: '={{$parameter.schema}}',
29
+ name: '={{$parameter.volumeName}}',
30
+ volume_type: '={{$parameter.volumeType}}',
31
+ },
32
+ },
33
+ },
34
+ },
35
+ {
36
+ name: 'Delete Volume',
37
+ value: 'deleteVolume',
38
+ description: 'Delete a volume',
39
+ action: 'Delete a volume',
40
+ routing: {
41
+ request: {
42
+ method: 'DELETE',
43
+ url: '=/api/2.1/unity-catalog/volumes/{{$parameter.catalog}}.{{$parameter.schema}}.{{$parameter.volumeName}}',
44
+ },
45
+ },
46
+ },
47
+ {
48
+ name: 'Get Volume',
49
+ value: 'getVolume',
50
+ description: 'Get volume information',
51
+ action: 'Get a volume',
52
+ routing: {
53
+ request: {
54
+ method: 'GET',
55
+ url: '/api/2.1/unity-catalog/volumes/{{$parameter.fullName}}',
56
+ },
57
+ },
58
+ },
59
+ {
60
+ name: 'List Volumes',
61
+ value: 'listVolumes',
62
+ description: 'List volumes in schema',
63
+ action: 'List volumes',
64
+ routing: {
65
+ request: {
66
+ method: 'GET',
67
+ url: '/api/2.1/unity-catalog/volumes',
68
+ qs: {
69
+ catalog_name: '={{$parameter.catalogName}}',
70
+ schema_name: '={{$parameter.schemaName}}',
71
+ },
72
+ },
73
+ },
74
+ },
75
+ {
76
+ name: 'Get Table',
77
+ value: 'getTable',
78
+ description: 'Get table information',
79
+ action: 'Get a table',
80
+ routing: {
81
+ request: {
82
+ method: 'GET',
83
+ url: '/api/2.1/unity-catalog/tables/{{$parameter.fullName}}',
84
+ },
85
+ },
86
+ },
87
+ {
88
+ name: 'List Tables',
89
+ value: 'listTables',
90
+ description: 'List tables in schema',
91
+ action: 'List tables',
92
+ routing: {
93
+ request: {
94
+ method: 'GET',
95
+ url: '/api/2.1/unity-catalog/tables',
96
+ qs: {
97
+ catalog_name: '={{$parameter.catalog}}',
98
+ schema_name: '={{$parameter.schema}}',
99
+ },
100
+ },
101
+ },
102
+ },
103
+ {
104
+ name: 'Create Function',
105
+ value: 'createFunction',
106
+ description: 'Create a new function',
107
+ action: 'Create a function',
108
+ routing: {
109
+ request: {
110
+ method: 'POST',
111
+ url: '/api/2.1/unity-catalog/functions',
112
+ body: {
113
+ name: '={{$parameter.functionName}}',
114
+ catalog_name: '={{$parameter.catalogName}}',
115
+ schema_name: '={{$parameter.schemaName}}',
116
+ input_params: '={{$parameter.inputParams}}',
117
+ data_type: '={{$parameter.returnType}}',
118
+ routine_body: '={{$parameter.routineBody}}',
119
+ },
120
+ },
121
+ },
122
+ },
123
+ {
124
+ name: 'Delete Function',
125
+ value: 'deleteFunction',
126
+ description: 'Delete a function',
127
+ action: 'Delete a function',
128
+ routing: {
129
+ request: {
130
+ method: 'DELETE',
131
+ url: '/api/2.1/unity-catalog/functions/{{$parameter.fullName}}',
132
+ },
133
+ },
134
+ },
135
+ {
136
+ name: 'Get Function',
137
+ value: 'getFunction',
138
+ description: 'Get function information',
139
+ action: 'Get a function',
140
+ routing: {
141
+ request: {
142
+ method: 'GET',
143
+ url: '/api/2.1/unity-catalog/functions/{{$parameter.fullName}}',
144
+ },
145
+ },
146
+ },
147
+ {
148
+ name: 'List Functions',
149
+ value: 'listFunctions',
150
+ description: 'List functions in schema',
151
+ action: 'List functions',
152
+ routing: {
153
+ request: {
154
+ method: 'GET',
155
+ url: '/api/2.1/unity-catalog/functions',
156
+ qs: {
157
+ catalog_name: '={{$parameter.catalog}}',
158
+ schema_name: '={{$parameter.schema}}',
159
+ },
160
+ },
161
+ },
162
+ },
163
+ ],
164
+ default: 'listTables',
165
+ };
166
+ exports.unityCatalogParameters = [
167
+ {
168
+ displayName: 'Catalog',
169
+ name: 'catalog',
170
+ type: 'string',
171
+ required: true,
172
+ default: '',
173
+ description: 'The catalog to use for the query',
174
+ displayOptions: {
175
+ show: {
176
+ resource: [
177
+ 'unityCatalog',
178
+ ],
179
+ },
180
+ },
181
+ },
182
+ {
183
+ displayName: 'Schema',
184
+ name: 'schema',
185
+ type: 'string',
186
+ required: true,
187
+ default: '',
188
+ description: 'The schema to use for the query',
189
+ displayOptions: {
190
+ show: {
191
+ resource: [
192
+ 'unityCatalog',
193
+ ],
194
+ },
195
+ },
196
+ },
197
+ {
198
+ displayName: 'Volume Name',
199
+ name: 'volumeName',
200
+ type: 'string',
201
+ required: true,
202
+ default: '',
203
+ description: 'The volume to use for the query',
204
+ displayOptions: {
205
+ show: {
206
+ operation: [
207
+ 'createVolume',
208
+ 'deleteVolume',
209
+ ],
210
+ },
211
+ },
212
+ },
213
+ {
214
+ displayName: 'Volume Type',
215
+ name: 'volumeType',
216
+ type: 'options',
217
+ required: true,
218
+ default: '',
219
+ description: 'The type of volume to create',
220
+ options: [
221
+ {
222
+ name: 'EXTERNAL',
223
+ value: 'EXTERNAL',
224
+ },
225
+ {
226
+ name: 'MANAGED',
227
+ value: 'MANAGED',
228
+ },
229
+ ],
230
+ displayOptions: {
231
+ show: {
232
+ operation: [
233
+ 'createVolume',
234
+ ],
235
+ },
236
+ },
237
+ },
238
+ ];
239
+ //# sourceMappingURL=unityCatalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unityCatalog.js","sourceRoot":"","sources":["../../../../nodes/Databricks/resources/unityCatalog.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAoB;IACnD,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACZ,IAAI,EAAE;YACF,QAAQ,EAAE;gBACN,cAAc;aACjB;SACJ;KACJ;IACD,OAAO,EAAE;QAEL;YACI,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,qBAAqB;YAClC,MAAM,EAAE,iBAAiB;YACzB,OAAO,EAAE;gBACL,OAAO,EAAE;oBACL,MAAM,EAAE,MAAM;oBACd,GAAG,EAAE,gCAAgC;oBACrC,IAAI,EAAE;wBACF,YAAY,EAAE,yBAAyB;wBACvC,WAAW,EAAE,wBAAwB;wBACrC,IAAI,EAAE,4BAA4B;wBAClC,WAAW,EAAE,4BAA4B;qBAC5C;iBACJ;aACJ;SACJ;QACD;YACI,IAAI,EAAE,eAAe;YACr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,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kCAAkC;QAC/C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE;oBACN,cAAc;iBACjB;aACJ;SACJ;KACJ;IACD;QACI,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;QAC9C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE;oBACN,cAAc;iBACjB;aACJ;SACJ;KACJ;IACD;QACI,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;QAC9C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,SAAS,EAAE;oBACP,cAAc;oBACd,cAAc;iBACjB;aACJ;SACJ;KACJ;IACD;QACI,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8BAA8B;QAC3C,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;aACpB;YACD;gBACI,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,SAAS;aACnB;SACJ;QACD,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,SAAS,EAAE;oBACP,cAAc;iBACjB;aACJ;SACJ;KACJ;CACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const vectorSearchOperations: INodeProperties;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.vectorSearchOperations = void 0;
4
+ exports.vectorSearchOperations = {
5
+ displayName: 'Operation',
6
+ name: 'operation',
7
+ type: 'options',
8
+ noDataExpression: true,
9
+ displayOptions: {
10
+ show: {
11
+ resource: ['vectorSearch'],
12
+ },
13
+ },
14
+ options: [
15
+ {
16
+ name: 'Get Index',
17
+ value: 'getIndex',
18
+ description: 'Get details of a vector search index',
19
+ action: 'Get a vector search index',
20
+ routing: {
21
+ request: {
22
+ method: 'GET',
23
+ url: '=/api/2.0/vector-search/indexes/{{$parameter.indexName}}',
24
+ },
25
+ },
26
+ },
27
+ {
28
+ name: 'List Indexes',
29
+ value: 'listIndexes',
30
+ description: 'List all vector search indexes',
31
+ action: 'List vector search indexes',
32
+ routing: {
33
+ request: {
34
+ method: 'GET',
35
+ url: '/api/2.0/vector-search/indexes',
36
+ },
37
+ },
38
+ },
39
+ {
40
+ name: 'Query Index',
41
+ value: 'queryIndex',
42
+ description: 'Query a vector search index with text or vectors',
43
+ action: 'Query a vector search index',
44
+ },
45
+ ],
46
+ default: 'listIndexes',
47
+ };
48
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../../nodes/Databricks/resources/vectorSearch/operations.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAoB;IACnD,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACZ,IAAI,EAAE;YACF,QAAQ,EAAE,CAAC,cAAc,CAAC;SAC7B;KACJ;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,UAAU;YACjB,WAAW,EAAE,sCAAsC;YACnD,MAAM,EAAE,2BAA2B;YACnC,OAAO,EAAE;gBACL,OAAO,EAAE;oBACL,MAAM,EAAE,KAAK;oBACb,GAAG,EAAE,0DAA0D;iBAClE;aACJ;SACJ;QACD;YACI,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,gCAAgC;YAC7C,MAAM,EAAE,4BAA4B;YACpC,OAAO,EAAE;gBACL,OAAO,EAAE;oBACL,MAAM,EAAE,KAAK;oBACb,GAAG,EAAE,gCAAgC;iBACxC;aACJ;SACJ;QACD;YACI,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,kDAAkD;YAC/D,MAAM,EAAE,6BAA6B;SACxC;KACJ;IACD,OAAO,EAAE,aAAa;CACzB,CAAC"}