@llamaindex/llama-cloud 2.9.0 → 2.10.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 (292) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +11 -8
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -8
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/batches.d.mts +4 -4
  12. package/resources/batches.d.mts.map +1 -1
  13. package/resources/batches.d.ts +4 -4
  14. package/resources/batches.d.ts.map +1 -1
  15. package/resources/beta/agent-data.d.mts +94 -94
  16. package/resources/beta/agent-data.d.mts.map +1 -1
  17. package/resources/beta/agent-data.d.ts +94 -94
  18. package/resources/beta/agent-data.d.ts.map +1 -1
  19. package/resources/beta/agent-data.js +41 -41
  20. package/resources/beta/agent-data.js.map +1 -1
  21. package/resources/beta/agent-data.mjs +41 -41
  22. package/resources/beta/agent-data.mjs.map +1 -1
  23. package/resources/beta/batch/batch.d.mts +36 -29
  24. package/resources/beta/batch/batch.d.mts.map +1 -1
  25. package/resources/beta/batch/batch.d.ts +36 -29
  26. package/resources/beta/batch/batch.d.ts.map +1 -1
  27. package/resources/beta/batch/batch.js +16 -16
  28. package/resources/beta/batch/batch.js.map +1 -1
  29. package/resources/beta/batch/batch.mjs +16 -16
  30. package/resources/beta/batch/batch.mjs.map +1 -1
  31. package/resources/beta/batch/index.d.mts +1 -1
  32. package/resources/beta/batch/index.d.mts.map +1 -1
  33. package/resources/beta/batch/index.d.ts +1 -1
  34. package/resources/beta/batch/index.d.ts.map +1 -1
  35. package/resources/beta/batch/job-items.d.mts +14 -7
  36. package/resources/beta/batch/job-items.d.mts.map +1 -1
  37. package/resources/beta/batch/job-items.d.ts +14 -7
  38. package/resources/beta/batch/job-items.d.ts.map +1 -1
  39. package/resources/beta/beta.d.mts +6 -6
  40. package/resources/beta/beta.d.mts.map +1 -1
  41. package/resources/beta/beta.d.ts +6 -6
  42. package/resources/beta/beta.d.ts.map +1 -1
  43. package/resources/beta/chat.d.mts +39 -39
  44. package/resources/beta/chat.d.mts.map +1 -1
  45. package/resources/beta/chat.d.ts +39 -39
  46. package/resources/beta/chat.d.ts.map +1 -1
  47. package/resources/beta/chat.js +14 -14
  48. package/resources/beta/chat.js.map +1 -1
  49. package/resources/beta/chat.mjs +14 -14
  50. package/resources/beta/chat.mjs.map +1 -1
  51. package/resources/beta/directories/directories.d.mts +48 -39
  52. package/resources/beta/directories/directories.d.mts.map +1 -1
  53. package/resources/beta/directories/directories.d.ts +48 -39
  54. package/resources/beta/directories/directories.d.ts.map +1 -1
  55. package/resources/beta/directories/directories.js +30 -30
  56. package/resources/beta/directories/directories.js.map +1 -1
  57. package/resources/beta/directories/directories.mjs +30 -30
  58. package/resources/beta/directories/directories.mjs.map +1 -1
  59. package/resources/beta/directories/files.d.mts +47 -47
  60. package/resources/beta/directories/files.d.mts.map +1 -1
  61. package/resources/beta/directories/files.d.ts +47 -47
  62. package/resources/beta/directories/files.d.ts.map +1 -1
  63. package/resources/beta/directories/files.js +32 -32
  64. package/resources/beta/directories/files.js.map +1 -1
  65. package/resources/beta/directories/files.mjs +32 -32
  66. package/resources/beta/directories/files.mjs.map +1 -1
  67. package/resources/beta/directories/index.d.mts +2 -2
  68. package/resources/beta/directories/index.d.mts.map +1 -1
  69. package/resources/beta/directories/index.d.ts +2 -2
  70. package/resources/beta/directories/index.d.ts.map +1 -1
  71. package/resources/beta/index.d.mts +6 -6
  72. package/resources/beta/index.d.mts.map +1 -1
  73. package/resources/beta/index.d.ts +6 -6
  74. package/resources/beta/index.d.ts.map +1 -1
  75. package/resources/beta/indexes.d.mts +44 -32
  76. package/resources/beta/indexes.d.mts.map +1 -1
  77. package/resources/beta/indexes.d.ts +44 -32
  78. package/resources/beta/indexes.d.ts.map +1 -1
  79. package/resources/beta/indexes.js +28 -28
  80. package/resources/beta/indexes.js.map +1 -1
  81. package/resources/beta/indexes.mjs +28 -28
  82. package/resources/beta/indexes.mjs.map +1 -1
  83. package/resources/beta/retrieval.d.mts +3 -3
  84. package/resources/beta/retrieval.d.mts.map +1 -1
  85. package/resources/beta/retrieval.d.ts +3 -3
  86. package/resources/beta/retrieval.d.ts.map +1 -1
  87. package/resources/beta/sheets.d.mts +37 -56
  88. package/resources/beta/sheets.d.mts.map +1 -1
  89. package/resources/beta/sheets.d.ts +37 -56
  90. package/resources/beta/sheets.d.ts.map +1 -1
  91. package/resources/beta/sheets.js +19 -52
  92. package/resources/beta/sheets.js.map +1 -1
  93. package/resources/beta/sheets.mjs +19 -52
  94. package/resources/beta/sheets.mjs.map +1 -1
  95. package/resources/beta/split.d.mts +2 -2
  96. package/resources/beta/split.d.mts.map +1 -1
  97. package/resources/beta/split.d.ts +2 -2
  98. package/resources/beta/split.d.ts.map +1 -1
  99. package/resources/classifier/jobs.d.mts +8 -1
  100. package/resources/classifier/jobs.d.mts.map +1 -1
  101. package/resources/classifier/jobs.d.ts +8 -1
  102. package/resources/classifier/jobs.d.ts.map +1 -1
  103. package/resources/classify.d.mts +27 -11
  104. package/resources/classify.d.mts.map +1 -1
  105. package/resources/classify.d.ts +27 -11
  106. package/resources/classify.d.ts.map +1 -1
  107. package/resources/configurations.d.mts +73 -43
  108. package/resources/configurations.d.mts.map +1 -1
  109. package/resources/configurations.d.ts +73 -43
  110. package/resources/configurations.d.ts.map +1 -1
  111. package/resources/configurations.js +9 -9
  112. package/resources/configurations.js.map +1 -1
  113. package/resources/configurations.mjs +9 -9
  114. package/resources/configurations.mjs.map +1 -1
  115. package/resources/data-sinks.d.mts +16 -16
  116. package/resources/data-sinks.d.mts.map +1 -1
  117. package/resources/data-sinks.d.ts +16 -16
  118. package/resources/data-sinks.d.ts.map +1 -1
  119. package/resources/data-sinks.js +12 -12
  120. package/resources/data-sinks.js.map +1 -1
  121. package/resources/data-sinks.mjs +12 -12
  122. package/resources/data-sinks.mjs.map +1 -1
  123. package/resources/data-sources.d.mts +17 -17
  124. package/resources/data-sources.d.mts.map +1 -1
  125. package/resources/data-sources.d.ts +17 -17
  126. package/resources/data-sources.d.ts.map +1 -1
  127. package/resources/data-sources.js +13 -13
  128. package/resources/data-sources.js.map +1 -1
  129. package/resources/data-sources.mjs +13 -13
  130. package/resources/data-sources.mjs.map +1 -1
  131. package/resources/extract.d.mts +62 -46
  132. package/resources/extract.d.mts.map +1 -1
  133. package/resources/extract.d.ts +62 -46
  134. package/resources/extract.d.ts.map +1 -1
  135. package/resources/extract.js +33 -33
  136. package/resources/extract.js.map +1 -1
  137. package/resources/extract.mjs +33 -33
  138. package/resources/extract.mjs.map +1 -1
  139. package/resources/files.d.mts +41 -41
  140. package/resources/files.d.mts.map +1 -1
  141. package/resources/files.d.ts +41 -41
  142. package/resources/files.d.ts.map +1 -1
  143. package/resources/files.js +13 -13
  144. package/resources/files.js.map +1 -1
  145. package/resources/files.mjs +13 -13
  146. package/resources/files.mjs.map +1 -1
  147. package/resources/index.d.mts +9 -8
  148. package/resources/index.d.mts.map +1 -1
  149. package/resources/index.d.ts +9 -8
  150. package/resources/index.d.ts.map +1 -1
  151. package/resources/index.js +3 -1
  152. package/resources/index.js.map +1 -1
  153. package/resources/index.mjs +1 -0
  154. package/resources/index.mjs.map +1 -1
  155. package/resources/parsing.d.mts +131 -51
  156. package/resources/parsing.d.mts.map +1 -1
  157. package/resources/parsing.d.ts +131 -51
  158. package/resources/parsing.d.ts.map +1 -1
  159. package/resources/parsing.js +33 -12
  160. package/resources/parsing.js.map +1 -1
  161. package/resources/parsing.mjs +33 -12
  162. package/resources/parsing.mjs.map +1 -1
  163. package/resources/pipelines/data-sources.d.mts +40 -30
  164. package/resources/pipelines/data-sources.d.mts.map +1 -1
  165. package/resources/pipelines/data-sources.d.ts +40 -30
  166. package/resources/pipelines/data-sources.d.ts.map +1 -1
  167. package/resources/pipelines/data-sources.js +23 -13
  168. package/resources/pipelines/data-sources.js.map +1 -1
  169. package/resources/pipelines/data-sources.mjs +23 -13
  170. package/resources/pipelines/data-sources.mjs.map +1 -1
  171. package/resources/pipelines/documents.d.mts +28 -12
  172. package/resources/pipelines/documents.d.mts.map +1 -1
  173. package/resources/pipelines/documents.d.ts +28 -12
  174. package/resources/pipelines/documents.d.ts.map +1 -1
  175. package/resources/pipelines/documents.js +30 -14
  176. package/resources/pipelines/documents.js.map +1 -1
  177. package/resources/pipelines/documents.mjs +30 -14
  178. package/resources/pipelines/documents.mjs.map +1 -1
  179. package/resources/pipelines/files.d.mts +34 -24
  180. package/resources/pipelines/files.d.mts.map +1 -1
  181. package/resources/pipelines/files.d.ts +34 -24
  182. package/resources/pipelines/files.d.ts.map +1 -1
  183. package/resources/pipelines/files.js +27 -17
  184. package/resources/pipelines/files.js.map +1 -1
  185. package/resources/pipelines/files.mjs +27 -17
  186. package/resources/pipelines/files.mjs.map +1 -1
  187. package/resources/pipelines/images.d.mts +17 -17
  188. package/resources/pipelines/images.d.mts.map +1 -1
  189. package/resources/pipelines/images.d.ts +17 -17
  190. package/resources/pipelines/images.d.ts.map +1 -1
  191. package/resources/pipelines/images.js +13 -13
  192. package/resources/pipelines/images.js.map +1 -1
  193. package/resources/pipelines/images.mjs +13 -13
  194. package/resources/pipelines/images.mjs.map +1 -1
  195. package/resources/pipelines/index.d.mts +5 -5
  196. package/resources/pipelines/index.d.mts.map +1 -1
  197. package/resources/pipelines/index.d.ts +5 -5
  198. package/resources/pipelines/index.d.ts.map +1 -1
  199. package/resources/pipelines/metadata.d.mts +4 -0
  200. package/resources/pipelines/metadata.d.mts.map +1 -1
  201. package/resources/pipelines/metadata.d.ts +4 -0
  202. package/resources/pipelines/metadata.d.ts.map +1 -1
  203. package/resources/pipelines/metadata.js +4 -0
  204. package/resources/pipelines/metadata.js.map +1 -1
  205. package/resources/pipelines/metadata.mjs +4 -0
  206. package/resources/pipelines/metadata.mjs.map +1 -1
  207. package/resources/pipelines/pipelines.d.mts +149 -126
  208. package/resources/pipelines/pipelines.d.mts.map +1 -1
  209. package/resources/pipelines/pipelines.d.ts +149 -126
  210. package/resources/pipelines/pipelines.d.ts.map +1 -1
  211. package/resources/pipelines/pipelines.js +39 -23
  212. package/resources/pipelines/pipelines.js.map +1 -1
  213. package/resources/pipelines/pipelines.mjs +39 -23
  214. package/resources/pipelines/pipelines.mjs.map +1 -1
  215. package/resources/pipelines/sync.d.mts +4 -0
  216. package/resources/pipelines/sync.d.mts.map +1 -1
  217. package/resources/pipelines/sync.d.ts +4 -0
  218. package/resources/pipelines/sync.d.ts.map +1 -1
  219. package/resources/pipelines/sync.js +4 -0
  220. package/resources/pipelines/sync.js.map +1 -1
  221. package/resources/pipelines/sync.mjs +4 -0
  222. package/resources/pipelines/sync.mjs.map +1 -1
  223. package/resources/retrievers/index.d.mts +1 -1
  224. package/resources/retrievers/index.d.mts.map +1 -1
  225. package/resources/retrievers/index.d.ts +1 -1
  226. package/resources/retrievers/index.d.ts.map +1 -1
  227. package/resources/retrievers/retrievers.d.mts +39 -39
  228. package/resources/retrievers/retrievers.d.mts.map +1 -1
  229. package/resources/retrievers/retrievers.d.ts +39 -39
  230. package/resources/retrievers/retrievers.d.ts.map +1 -1
  231. package/resources/retrievers/retrievers.js +20 -20
  232. package/resources/retrievers/retrievers.js.map +1 -1
  233. package/resources/retrievers/retrievers.mjs +20 -20
  234. package/resources/retrievers/retrievers.mjs.map +1 -1
  235. package/resources/shared.d.mts +11 -3
  236. package/resources/shared.d.mts.map +1 -1
  237. package/resources/shared.d.ts +11 -3
  238. package/resources/shared.d.ts.map +1 -1
  239. package/resources/sheets.d.mts +206 -0
  240. package/resources/sheets.d.mts.map +1 -0
  241. package/resources/sheets.d.ts +206 -0
  242. package/resources/sheets.d.ts.map +1 -0
  243. package/resources/sheets.js +101 -0
  244. package/resources/sheets.js.map +1 -0
  245. package/resources/sheets.mjs +97 -0
  246. package/resources/sheets.mjs.map +1 -0
  247. package/src/client.ts +33 -12
  248. package/src/resources/batches.ts +4 -4
  249. package/src/resources/beta/agent-data.ts +131 -131
  250. package/src/resources/beta/batch/batch.ts +67 -54
  251. package/src/resources/beta/batch/index.ts +1 -1
  252. package/src/resources/beta/batch/job-items.ts +34 -21
  253. package/src/resources/beta/beta.ts +12 -12
  254. package/src/resources/beta/chat.ts +57 -57
  255. package/src/resources/beta/directories/directories.ts +80 -71
  256. package/src/resources/beta/directories/files.ts +66 -66
  257. package/src/resources/beta/directories/index.ts +5 -5
  258. package/src/resources/beta/index.ts +12 -12
  259. package/src/resources/beta/indexes.ts +68 -53
  260. package/src/resources/beta/retrieval.ts +3 -3
  261. package/src/resources/beta/sheets.ts +90 -97
  262. package/src/resources/beta/split.ts +2 -2
  263. package/src/resources/classifier/jobs.ts +9 -1
  264. package/src/resources/classify.ts +67 -39
  265. package/src/resources/configurations.ts +97 -63
  266. package/src/resources/data-sinks.ts +26 -26
  267. package/src/resources/data-sources.ts +43 -43
  268. package/src/resources/extract.ts +125 -97
  269. package/src/resources/files.ts +61 -61
  270. package/src/resources/index.ts +21 -12
  271. package/src/resources/parsing.ts +285 -204
  272. package/src/resources/pipelines/data-sources.ts +59 -49
  273. package/src/resources/pipelines/documents.ts +42 -26
  274. package/src/resources/pipelines/files.ts +62 -52
  275. package/src/resources/pipelines/images.ts +36 -36
  276. package/src/resources/pipelines/index.ts +10 -10
  277. package/src/resources/pipelines/metadata.ts +4 -0
  278. package/src/resources/pipelines/pipelines.ts +236 -207
  279. package/src/resources/pipelines/sync.ts +4 -0
  280. package/src/resources/retrievers/index.ts +3 -3
  281. package/src/resources/retrievers/retrievers.ts +64 -64
  282. package/src/resources/shared.ts +12 -3
  283. package/src/resources/sheets.ts +322 -0
  284. package/src/version.ts +1 -1
  285. package/version.d.mts +1 -1
  286. package/version.d.mts.map +1 -1
  287. package/version.d.ts +1 -1
  288. package/version.d.ts.map +1 -1
  289. package/version.js +1 -1
  290. package/version.js.map +1 -1
  291. package/version.mjs +1 -1
  292. package/version.mjs.map +1 -1
@@ -9,12 +9,16 @@ const path_1 = require("../../internal/utils/path.js");
9
9
  class Metadata extends resource_1.APIResource {
10
10
  /**
11
11
  * Import metadata for a pipeline.
12
+ *
13
+ * @deprecated
12
14
  */
13
15
  create(pipelineID, body, options) {
14
16
  return this._client.put((0, path_1.path) `/api/v1/pipelines/${pipelineID}/metadata`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
15
17
  }
16
18
  /**
17
19
  * Delete metadata for all files in a pipeline.
20
+ *
21
+ * @deprecated
18
22
  */
19
23
  deleteAll(pipelineID, options) {
20
24
  return this._client.delete((0, path_1.path) `/api/v1/pipelines/${pipelineID}/metadata`, {
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAsD;AAEtD,uDAAqE;AACrE,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,WAAI,EAAA,qBAAqB,UAAU,WAAW,EAC9C,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,UAAkB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,qBAAqB,UAAU,WAAW,EAAE;YACzE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAxBD,4BAwBC"}
1
+ {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAsD;AAEtD,uDAAqE;AACrE,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;OAIG;IACH,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,WAAI,EAAA,qBAAqB,UAAU,WAAW,EAC9C,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,SAAS,CAAC,UAAkB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,qBAAqB,UAAU,WAAW,EAAE;YACzE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA5BD,4BA4BC"}
@@ -6,12 +6,16 @@ import { path } from "../../internal/utils/path.mjs";
6
6
  export class Metadata extends APIResource {
7
7
  /**
8
8
  * Import metadata for a pipeline.
9
+ *
10
+ * @deprecated
9
11
  */
10
12
  create(pipelineID, body, options) {
11
13
  return this._client.put(path `/api/v1/pipelines/${pipelineID}/metadata`, multipartFormRequestOptions({ body, ...options }, this._client));
12
14
  }
13
15
  /**
14
16
  * Delete metadata for all files in a pipeline.
17
+ *
18
+ * @deprecated
15
19
  */
16
20
  deleteAll(pipelineID, options) {
17
21
  return this._client.delete(path `/api/v1/pipelines/${pipelineID}/metadata`, {
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.mjs","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,2BAA2B,EAAE,mCAA+B;AACrE,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAI,CAAA,qBAAqB,UAAU,WAAW,EAC9C,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,UAAkB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,qBAAqB,UAAU,WAAW,EAAE;YACzE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"metadata.mjs","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,2BAA2B,EAAE,mCAA+B;AACrE,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAI,CAAA,qBAAqB,UAAU,WAAW,EAC9C,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,SAAS,CAAC,UAAkB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,qBAAqB,UAAU,WAAW,EAAE;YACzE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -24,45 +24,49 @@ export declare class Pipelines extends APIResource {
24
24
  files: FilesAPI.Files;
25
25
  metadata: MetadataAPI.Metadata;
26
26
  documents: DocumentsAPI.Documents;
27
+ /**
28
+ * Search for pipelines by name, type, or project.
29
+ *
30
+ * @deprecated
31
+ */
32
+ list(query?: PipelineListParams | null | undefined, options?: RequestOptions): APIPromise<PipelineListResponse>;
27
33
  /**
28
34
  * Create a new managed ingestion pipeline.
29
35
  *
30
36
  * A pipeline connects data sources to a vector store for RAG. After creation, call
31
37
  * `POST /pipelines/{id}/sync` to start ingesting documents.
38
+ *
39
+ * @deprecated
32
40
  */
33
41
  create(params: PipelineCreateParams, options?: RequestOptions): APIPromise<Pipeline>;
34
42
  /**
35
- * Run a retrieval query against a managed pipeline.
43
+ * Get a pipeline by ID.
36
44
  *
37
- * Searches the pipeline's vector store using the provided query and retrieval
38
- * parameters. Supports dense, sparse, and hybrid search modes with configurable
39
- * top-k and reranking.
45
+ * @deprecated
40
46
  */
41
- retrieve(pipelineID: string, params: PipelineRetrieveParams, options?: RequestOptions): APIPromise<PipelineRetrieveResponse>;
47
+ get(pipelineID: string, options?: RequestOptions): APIPromise<Pipeline>;
42
48
  /**
43
49
  * Update an existing pipeline's configuration.
50
+ *
51
+ * @deprecated
44
52
  */
45
53
  update(pipelineID: string, body: PipelineUpdateParams, options?: RequestOptions): APIPromise<Pipeline>;
46
- /**
47
- * Search for pipelines by name, type, or project.
48
- */
49
- list(query?: PipelineListParams | null | undefined, options?: RequestOptions): APIPromise<PipelineListResponse>;
50
54
  /**
51
55
  * Delete a pipeline and all associated resources.
52
56
  *
53
57
  * Removes pipeline files, data sources, and vector store data. This operation is
54
58
  * irreversible.
59
+ *
60
+ * @deprecated
55
61
  */
56
62
  delete(pipelineID: string, options?: RequestOptions): APIPromise<void>;
57
- /**
58
- * Get a pipeline by ID.
59
- */
60
- get(pipelineID: string, options?: RequestOptions): APIPromise<Pipeline>;
61
63
  /**
62
64
  * Get the ingestion status of a managed pipeline.
63
65
  *
64
66
  * Returns document counts, sync progress, and the last effective timestamp. Only
65
67
  * available for managed pipelines.
68
+ *
69
+ * @deprecated
66
70
  */
67
71
  getStatus(pipelineID: string, query?: PipelineGetStatusParams | null | undefined, options?: RequestOptions): APIPromise<ManagedIngestionStatusResponse>;
68
72
  /**
@@ -70,8 +74,20 @@ export declare class Pipelines extends APIResource {
70
74
  *
71
75
  * Updates the pipeline if one with the same name and project already exists,
72
76
  * otherwise creates a new one.
77
+ *
78
+ * @deprecated
73
79
  */
74
80
  upsert(params: PipelineUpsertParams, options?: RequestOptions): APIPromise<Pipeline>;
81
+ /**
82
+ * Run a retrieval query against a managed pipeline.
83
+ *
84
+ * Searches the pipeline's vector store using the provided query and retrieval
85
+ * parameters. Supports dense, sparse, and hybrid search modes with configurable
86
+ * top-k and reranking.
87
+ *
88
+ * @deprecated
89
+ */
90
+ retrieve(pipelineID: string, params: PipelineRetrieveParams, options?: RequestOptions): APIPromise<PipelineRetrieveResponse>;
75
91
  }
76
92
  export interface AdvancedModeTransformConfig {
77
93
  /**
@@ -324,7 +340,7 @@ export interface DataSinkCreate {
324
340
  * The name of the data sink.
325
341
  */
326
342
  name: string;
327
- sink_type: 'PINECONE' | 'POSTGRES' | 'QDRANT' | 'AZUREAI_SEARCH' | 'MONGODB_ATLAS' | 'MILVUS' | 'ASTRA_DB';
343
+ sink_type: 'ASTRA_DB' | 'AZUREAI_SEARCH' | 'MILVUS' | 'MONGODB_ATLAS' | 'PINECONE' | 'POSTGRES' | 'QDRANT';
328
344
  }
329
345
  export interface GeminiEmbedding {
330
346
  /**
@@ -414,7 +430,7 @@ export interface HuggingFaceInferenceAPIEmbedding {
414
430
  /**
415
431
  * Enum of possible pooling choices with pooling behaviors.
416
432
  */
417
- pooling?: 'cls' | 'mean' | 'last' | null;
433
+ pooling?: 'cls' | 'last' | 'mean' | null;
418
434
  /**
419
435
  * Instruction to prepend during query embedding.
420
436
  */
@@ -490,7 +506,7 @@ export interface LlamaParseParameters {
490
506
  html_remove_navigation_elements?: boolean | null;
491
507
  http_proxy?: string | null;
492
508
  ignore_document_elements_for_layout_detection?: boolean | null;
493
- images_to_save?: Array<'screenshot' | 'embedded' | 'layout'> | null;
509
+ images_to_save?: Array<'embedded' | 'layout' | 'screenshot'> | null;
494
510
  inline_images_in_markdown?: boolean | null;
495
511
  input_s3_path?: string | null;
496
512
  input_s3_region?: string | null;
@@ -538,7 +554,7 @@ export interface LlamaParseParameters {
538
554
  * The priority for the request. This field may be ignored or overwritten depending
539
555
  * on the organization tier.
540
556
  */
541
- priority?: 'low' | 'medium' | 'high' | 'critical' | null;
557
+ priority?: 'critical' | 'high' | 'low' | 'medium' | null;
542
558
  project_id?: string | null;
543
559
  remove_hidden_text?: boolean | null;
544
560
  /**
@@ -588,7 +604,7 @@ export declare namespace LlamaParseParameters {
588
604
  * Events to subscribe to (e.g. 'parse.success', 'extract.error'). If null, all
589
605
  * events are delivered.
590
606
  */
591
- webhook_events?: Array<'extract.pending' | 'extract.success' | 'extract.error' | 'extract.partial_success' | 'extract.cancelled' | 'parse.pending' | 'parse.running' | 'parse.success' | 'parse.error' | 'parse.partial_success' | 'parse.cancelled' | 'classify.pending' | 'classify.running' | 'classify.success' | 'classify.error' | 'classify.partial_success' | 'classify.cancelled' | 'sheets.pending' | 'sheets.success' | 'sheets.error' | 'sheets.partial_success' | 'sheets.cancelled' | 'unmapped_event'> | null;
607
+ webhook_events?: Array<'classify.cancelled' | 'classify.error' | 'classify.partial_success' | 'classify.pending' | 'classify.running' | 'classify.success' | 'extract.cancelled' | 'extract.error' | 'extract.partial_success' | 'extract.pending' | 'extract.success' | 'parse.cancelled' | 'parse.error' | 'parse.partial_success' | 'parse.pending' | 'parse.running' | 'parse.success' | 'sheets.cancelled' | 'sheets.error' | 'sheets.partial_success' | 'sheets.pending' | 'sheets.success' | 'split.cancelled' | 'split.error' | 'split.pending' | 'split.processing' | 'split.success' | 'unmapped_event'> | null;
592
608
  /**
593
609
  * Custom HTTP headers sent with each webhook request (e.g. auth tokens)
594
610
  */
@@ -599,6 +615,13 @@ export declare namespace LlamaParseParameters {
599
615
  * Response format sent to the webhook: 'string' (default) or 'json'
600
616
  */
601
617
  webhook_output_format?: string | null;
618
+ /**
619
+ * Shared signing secret used to sign webhook deliveries. When set, each request
620
+ * includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
621
+ * header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
622
+ * this secret to verify the delivery is authentic.
623
+ */
624
+ webhook_signing_secret?: string | null;
602
625
  /**
603
626
  * URL to receive webhook POST notifications
604
627
  */
@@ -610,7 +633,7 @@ export interface LlmParameters {
610
633
  /**
611
634
  * The name of the model to use for LLM completions.
612
635
  */
613
- model_name?: 'GPT_4O' | 'GPT_4O_MINI' | 'GPT_4_1' | 'GPT_4_1_NANO' | 'GPT_4_1_MINI' | 'AZURE_OPENAI_GPT_4O' | 'AZURE_OPENAI_GPT_4O_MINI' | 'AZURE_OPENAI_GPT_4_1' | 'AZURE_OPENAI_GPT_4_1_MINI' | 'AZURE_OPENAI_GPT_4_1_NANO' | 'CLAUDE_4_5_SONNET' | 'BEDROCK_CLAUDE_3_5_SONNET_V1' | 'BEDROCK_CLAUDE_3_5_SONNET_V2';
636
+ model_name?: 'AZURE_OPENAI_GPT_4O' | 'AZURE_OPENAI_GPT_4O_MINI' | 'AZURE_OPENAI_GPT_4_1' | 'AZURE_OPENAI_GPT_4_1_MINI' | 'AZURE_OPENAI_GPT_4_1_NANO' | 'BEDROCK_CLAUDE_3_5_SONNET_V1' | 'BEDROCK_CLAUDE_3_5_SONNET_V2' | 'CLAUDE_4_5_SONNET' | 'GPT_4O' | 'GPT_4O_MINI' | 'GPT_4_1' | 'GPT_4_1_MINI' | 'GPT_4_1_NANO';
614
637
  /**
615
638
  * The system prompt to use for the completion.
616
639
  */
@@ -632,7 +655,7 @@ export interface ManagedIngestionStatusResponse {
632
655
  /**
633
656
  * Status of the ingestion.
634
657
  */
635
- status: 'NOT_STARTED' | 'IN_PROGRESS' | 'SUCCESS' | 'ERROR' | 'PARTIAL_SUCCESS' | 'CANCELLED';
658
+ status: 'CANCELLED' | 'ERROR' | 'IN_PROGRESS' | 'NOT_STARTED' | 'PARTIAL_SUCCESS' | 'SUCCESS';
636
659
  /**
637
660
  * Date of the deployment.
638
661
  */
@@ -663,13 +686,13 @@ export declare namespace ManagedIngestionStatusResponse {
663
686
  /**
664
687
  * Name of the job that failed.
665
688
  */
666
- step: 'MANAGED_INGESTION' | 'DATA_SOURCE' | 'FILE_UPDATER' | 'PARSE' | 'TRANSFORM' | 'INGESTION' | 'METADATA_UPDATE';
689
+ step: 'DATA_SOURCE' | 'FILE_UPDATER' | 'INGESTION' | 'MANAGED_INGESTION' | 'METADATA_UPDATE' | 'PARSE' | 'TRANSFORM';
667
690
  }
668
691
  }
669
692
  /**
670
693
  * Message role.
671
694
  */
672
- export type MessageRole = 'system' | 'developer' | 'user' | 'assistant' | 'function' | 'tool' | 'chatbot' | 'model';
695
+ export type MessageRole = 'assistant' | 'chatbot' | 'developer' | 'function' | 'model' | 'system' | 'tool' | 'user';
673
696
  /**
674
697
  * Metadata filters for vector stores.
675
698
  */
@@ -678,7 +701,7 @@ export interface MetadataFilters {
678
701
  /**
679
702
  * Vector store filter conditions to combine different filters.
680
703
  */
681
- condition?: 'and' | 'or' | 'not' | null;
704
+ condition?: 'and' | 'not' | 'or' | null;
682
705
  }
683
706
  export declare namespace MetadataFilters {
684
707
  /**
@@ -695,7 +718,7 @@ export declare namespace MetadataFilters {
695
718
  /**
696
719
  * Vector store filter operator.
697
720
  */
698
- operator?: '==' | '>' | '<' | '!=' | '>=' | '<=' | 'in' | 'nin' | 'any' | 'all' | 'text_match' | 'text_match_insensitive' | 'contains' | 'is_empty';
721
+ operator?: '!=' | '<' | '<=' | '==' | '>' | '>=' | 'all' | 'any' | 'contains' | 'in' | 'is_empty' | 'nin' | 'text_match' | 'text_match_insensitive';
699
722
  }
700
723
  }
701
724
  export interface OpenAIEmbedding {
@@ -851,7 +874,7 @@ export interface Pipeline {
851
874
  * Unique identifier
852
875
  */
853
876
  id: string;
854
- embedding_config: Pipeline.ManagedOpenAIEmbeddingConfig | AzureOpenAIEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | BedrockEmbeddingConfig;
877
+ embedding_config: AzureOpenAIEmbeddingConfig | BedrockEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | Pipeline.ManagedOpenAIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig;
855
878
  name: string;
856
879
  project_id: string;
857
880
  /**
@@ -974,7 +997,7 @@ export declare namespace Pipeline {
974
997
  /**
975
998
  * The embedding configuration for the embedding model config.
976
999
  */
977
- embedding_config: PipelinesAPI.AzureOpenAIEmbeddingConfig | PipelinesAPI.CohereEmbeddingConfig | PipelinesAPI.GeminiEmbeddingConfig | PipelinesAPI.HuggingFaceInferenceAPIEmbeddingConfig | PipelinesAPI.OpenAIEmbeddingConfig | PipelinesAPI.VertexAIEmbeddingConfig | PipelinesAPI.BedrockEmbeddingConfig;
1000
+ embedding_config: PipelinesAPI.AzureOpenAIEmbeddingConfig | PipelinesAPI.BedrockEmbeddingConfig | PipelinesAPI.CohereEmbeddingConfig | PipelinesAPI.GeminiEmbeddingConfig | PipelinesAPI.HuggingFaceInferenceAPIEmbeddingConfig | PipelinesAPI.OpenAIEmbeddingConfig | PipelinesAPI.VertexAIEmbeddingConfig;
978
1001
  /**
979
1002
  * The name of the embedding model config.
980
1003
  */
@@ -1004,7 +1027,7 @@ export interface PipelineCreate {
1004
1027
  * up by ID.
1005
1028
  */
1006
1029
  data_sink_id?: string | null;
1007
- embedding_config?: AzureOpenAIEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | BedrockEmbeddingConfig | null;
1030
+ embedding_config?: AzureOpenAIEmbeddingConfig | BedrockEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | null;
1008
1031
  /**
1009
1032
  * Embedding model config ID. When provided instead of embedding_config, the
1010
1033
  * embedding model config will be looked up by ID.
@@ -1060,7 +1083,7 @@ export interface PipelineMetadataConfig {
1060
1083
  /**
1061
1084
  * Enum for representing the type of a pipeline
1062
1085
  */
1063
- export type PipelineType = 'PLAYGROUND' | 'MANAGED';
1086
+ export type PipelineType = 'MANAGED' | 'PLAYGROUND';
1064
1087
  /**
1065
1088
  * Schema for the search params for an retrieval execution that can be preset for a
1066
1089
  * pipeline.
@@ -1127,7 +1150,7 @@ export interface PresetRetrievalParams {
1127
1150
  */
1128
1151
  sparse_similarity_top_k?: number | null;
1129
1152
  }
1130
- export type RetrievalMode = 'chunks' | 'files_via_metadata' | 'files_via_content' | 'auto_routed';
1153
+ export type RetrievalMode = 'auto_routed' | 'chunks' | 'files_via_content' | 'files_via_metadata';
1131
1154
  /**
1132
1155
  * Configuration for sparse embedding models used in hybrid search.
1133
1156
  *
@@ -1141,7 +1164,7 @@ export interface SparseModelConfig {
1141
1164
  * for new pipelines), 'splade' uses HuggingFace Splade model, 'auto' selects based
1142
1165
  * on deployment mode (BYOC uses term frequency, Cloud uses Splade).
1143
1166
  */
1144
- model_type?: 'splade' | 'bm25' | 'auto';
1167
+ model_type?: 'auto' | 'bm25' | 'splade';
1145
1168
  }
1146
1169
  export interface VertexAIEmbeddingConfig {
1147
1170
  /**
@@ -1192,7 +1215,7 @@ export interface VertexTextEmbedding {
1192
1215
  /**
1193
1216
  * The embedding mode to use.
1194
1217
  */
1195
- embed_mode?: 'default' | 'classification' | 'clustering' | 'similarity' | 'retrieval';
1218
+ embed_mode?: 'classification' | 'clustering' | 'default' | 'retrieval' | 'similarity';
1196
1219
  /**
1197
1220
  * The modelId of the VertexAI model to use.
1198
1221
  */
@@ -1256,6 +1279,16 @@ export declare namespace PipelineRetrieveResponse {
1256
1279
  }
1257
1280
  }
1258
1281
  export type PipelineListResponse = Array<Pipeline>;
1282
+ export interface PipelineListParams {
1283
+ organization_id?: string | null;
1284
+ pipeline_name?: string | null;
1285
+ /**
1286
+ * Enum for representing the type of a pipeline
1287
+ */
1288
+ pipeline_type?: PipelineType | null;
1289
+ project_id?: string | null;
1290
+ project_name?: string | null;
1291
+ }
1259
1292
  export interface PipelineCreateParams {
1260
1293
  /**
1261
1294
  * Body param
@@ -1281,7 +1314,7 @@ export interface PipelineCreateParams {
1281
1314
  /**
1282
1315
  * Body param
1283
1316
  */
1284
- embedding_config?: AzureOpenAIEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | BedrockEmbeddingConfig | null;
1317
+ embedding_config?: AzureOpenAIEmbeddingConfig | BedrockEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | null;
1285
1318
  /**
1286
1319
  * Body param: Embedding model config ID. When provided instead of
1287
1320
  * embedding_config, the embedding model config will be looked up by ID.
@@ -1324,83 +1357,6 @@ export interface PipelineCreateParams {
1324
1357
  */
1325
1358
  transform_config?: AutoTransformConfig | AdvancedModeTransformConfig | null;
1326
1359
  }
1327
- export interface PipelineRetrieveParams {
1328
- /**
1329
- * Body param: The query to retrieve against.
1330
- */
1331
- query: string;
1332
- /**
1333
- * Query param
1334
- */
1335
- organization_id?: string | null;
1336
- /**
1337
- * Query param
1338
- */
1339
- project_id?: string | null;
1340
- /**
1341
- * Body param: Alpha value for hybrid retrieval to determine the weights between
1342
- * dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
1343
- */
1344
- alpha?: number | null;
1345
- /**
1346
- * Body param
1347
- */
1348
- class_name?: string;
1349
- /**
1350
- * Body param: Minimum similarity score wrt query for retrieval
1351
- */
1352
- dense_similarity_cutoff?: number | null;
1353
- /**
1354
- * Body param: Number of nodes for dense retrieval.
1355
- */
1356
- dense_similarity_top_k?: number | null;
1357
- /**
1358
- * Body param: Enable reranking for retrieval
1359
- */
1360
- enable_reranking?: boolean | null;
1361
- /**
1362
- * Body param: Number of files to retrieve (only for retrieval mode
1363
- * files_via_metadata and files_via_content).
1364
- */
1365
- files_top_k?: number | null;
1366
- /**
1367
- * Body param: Number of reranked nodes for returning.
1368
- */
1369
- rerank_top_n?: number | null;
1370
- /**
1371
- * Body param: The retrieval mode for the query.
1372
- */
1373
- retrieval_mode?: RetrievalMode;
1374
- /**
1375
- * @deprecated Body param: Whether to retrieve image nodes.
1376
- */
1377
- retrieve_image_nodes?: boolean;
1378
- /**
1379
- * Body param: Whether to retrieve page figure nodes.
1380
- */
1381
- retrieve_page_figure_nodes?: boolean;
1382
- /**
1383
- * Body param: Whether to retrieve page screenshot nodes.
1384
- */
1385
- retrieve_page_screenshot_nodes?: boolean;
1386
- /**
1387
- * Body param: Metadata filters for vector stores.
1388
- */
1389
- search_filters?: MetadataFilters | null;
1390
- /**
1391
- * Body param: JSON Schema that will be used to infer search_filters. Omit or leave
1392
- * as null to skip inference.
1393
- */
1394
- search_filters_inference_schema?: {
1395
- [key: string]: {
1396
- [key: string]: unknown;
1397
- } | Array<unknown> | string | number | boolean | null;
1398
- } | null;
1399
- /**
1400
- * Body param: Number of nodes for sparse retrieval.
1401
- */
1402
- sparse_similarity_top_k?: number | null;
1403
- }
1404
1360
  export interface PipelineUpdateParams {
1405
1361
  /**
1406
1362
  * Schema for creating a data sink.
@@ -1411,7 +1367,7 @@ export interface PipelineUpdateParams {
1411
1367
  * up by ID.
1412
1368
  */
1413
1369
  data_sink_id?: string | null;
1414
- embedding_config?: AzureOpenAIEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | BedrockEmbeddingConfig | null;
1370
+ embedding_config?: AzureOpenAIEmbeddingConfig | BedrockEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | null;
1415
1371
  /**
1416
1372
  * Embedding model config ID. When provided instead of embedding_config, the
1417
1373
  * embedding model config will be looked up by ID.
@@ -1452,16 +1408,6 @@ export interface PipelineUpdateParams {
1452
1408
  */
1453
1409
  transform_config?: AutoTransformConfig | AdvancedModeTransformConfig | null;
1454
1410
  }
1455
- export interface PipelineListParams {
1456
- organization_id?: string | null;
1457
- pipeline_name?: string | null;
1458
- /**
1459
- * Enum for representing the type of a pipeline
1460
- */
1461
- pipeline_type?: PipelineType | null;
1462
- project_id?: string | null;
1463
- project_name?: string | null;
1464
- }
1465
1411
  export interface PipelineGetStatusParams {
1466
1412
  full_details?: boolean | null;
1467
1413
  }
@@ -1490,7 +1436,7 @@ export interface PipelineUpsertParams {
1490
1436
  /**
1491
1437
  * Body param
1492
1438
  */
1493
- embedding_config?: AzureOpenAIEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | BedrockEmbeddingConfig | null;
1439
+ embedding_config?: AzureOpenAIEmbeddingConfig | BedrockEmbeddingConfig | CohereEmbeddingConfig | GeminiEmbeddingConfig | HuggingFaceInferenceAPIEmbeddingConfig | OpenAIEmbeddingConfig | VertexAIEmbeddingConfig | null;
1494
1440
  /**
1495
1441
  * Body param: Embedding model config ID. When provided instead of
1496
1442
  * embedding_config, the embedding model config will be looked up by ID.
@@ -1533,13 +1479,90 @@ export interface PipelineUpsertParams {
1533
1479
  */
1534
1480
  transform_config?: AutoTransformConfig | AdvancedModeTransformConfig | null;
1535
1481
  }
1482
+ export interface PipelineRetrieveParams {
1483
+ /**
1484
+ * Body param: The query to retrieve against.
1485
+ */
1486
+ query: string;
1487
+ /**
1488
+ * Query param
1489
+ */
1490
+ organization_id?: string | null;
1491
+ /**
1492
+ * Query param
1493
+ */
1494
+ project_id?: string | null;
1495
+ /**
1496
+ * Body param: Alpha value for hybrid retrieval to determine the weights between
1497
+ * dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
1498
+ */
1499
+ alpha?: number | null;
1500
+ /**
1501
+ * Body param
1502
+ */
1503
+ class_name?: string;
1504
+ /**
1505
+ * Body param: Minimum similarity score wrt query for retrieval
1506
+ */
1507
+ dense_similarity_cutoff?: number | null;
1508
+ /**
1509
+ * Body param: Number of nodes for dense retrieval.
1510
+ */
1511
+ dense_similarity_top_k?: number | null;
1512
+ /**
1513
+ * Body param: Enable reranking for retrieval
1514
+ */
1515
+ enable_reranking?: boolean | null;
1516
+ /**
1517
+ * Body param: Number of files to retrieve (only for retrieval mode
1518
+ * files_via_metadata and files_via_content).
1519
+ */
1520
+ files_top_k?: number | null;
1521
+ /**
1522
+ * Body param: Number of reranked nodes for returning.
1523
+ */
1524
+ rerank_top_n?: number | null;
1525
+ /**
1526
+ * Body param: The retrieval mode for the query.
1527
+ */
1528
+ retrieval_mode?: RetrievalMode;
1529
+ /**
1530
+ * @deprecated Body param: Whether to retrieve image nodes.
1531
+ */
1532
+ retrieve_image_nodes?: boolean;
1533
+ /**
1534
+ * Body param: Whether to retrieve page figure nodes.
1535
+ */
1536
+ retrieve_page_figure_nodes?: boolean;
1537
+ /**
1538
+ * Body param: Whether to retrieve page screenshot nodes.
1539
+ */
1540
+ retrieve_page_screenshot_nodes?: boolean;
1541
+ /**
1542
+ * Body param: Metadata filters for vector stores.
1543
+ */
1544
+ search_filters?: MetadataFilters | null;
1545
+ /**
1546
+ * Body param: JSON Schema that will be used to infer search_filters. Omit or leave
1547
+ * as null to skip inference.
1548
+ */
1549
+ search_filters_inference_schema?: {
1550
+ [key: string]: {
1551
+ [key: string]: unknown;
1552
+ } | Array<unknown> | string | number | boolean | null;
1553
+ } | null;
1554
+ /**
1555
+ * Body param: Number of nodes for sparse retrieval.
1556
+ */
1557
+ sparse_similarity_top_k?: number | null;
1558
+ }
1536
1559
  export declare namespace Pipelines {
1537
- export { type AdvancedModeTransformConfig as AdvancedModeTransformConfig, type AutoTransformConfig as AutoTransformConfig, type AzureOpenAIEmbedding as AzureOpenAIEmbedding, type AzureOpenAIEmbeddingConfig as AzureOpenAIEmbeddingConfig, type BedrockEmbedding as BedrockEmbedding, type BedrockEmbeddingConfig as BedrockEmbeddingConfig, type CohereEmbedding as CohereEmbedding, type CohereEmbeddingConfig as CohereEmbeddingConfig, type DataSinkCreate as DataSinkCreate, type GeminiEmbedding as GeminiEmbedding, type GeminiEmbeddingConfig as GeminiEmbeddingConfig, type HuggingFaceInferenceAPIEmbedding as HuggingFaceInferenceAPIEmbedding, type HuggingFaceInferenceAPIEmbeddingConfig as HuggingFaceInferenceAPIEmbeddingConfig, type LlamaParseParameters as LlamaParseParameters, type LlmParameters as LlmParameters, type ManagedIngestionStatusResponse as ManagedIngestionStatusResponse, type MessageRole as MessageRole, type MetadataFilters as MetadataFilters, type OpenAIEmbedding as OpenAIEmbedding, type OpenAIEmbeddingConfig as OpenAIEmbeddingConfig, type PageFigureNodeWithScore as PageFigureNodeWithScore, type PageScreenshotNodeWithScore as PageScreenshotNodeWithScore, type Pipeline as Pipeline, type PipelineCreate as PipelineCreate, type PipelineMetadataConfig as PipelineMetadataConfig, type PipelineType as PipelineType, type PresetRetrievalParams as PresetRetrievalParams, type RetrievalMode as RetrievalMode, type SparseModelConfig as SparseModelConfig, type VertexAIEmbeddingConfig as VertexAIEmbeddingConfig, type VertexTextEmbedding as VertexTextEmbedding, type PipelineRetrieveResponse as PipelineRetrieveResponse, type PipelineListResponse as PipelineListResponse, type PipelineCreateParams as PipelineCreateParams, type PipelineRetrieveParams as PipelineRetrieveParams, type PipelineUpdateParams as PipelineUpdateParams, type PipelineListParams as PipelineListParams, type PipelineGetStatusParams as PipelineGetStatusParams, type PipelineUpsertParams as PipelineUpsertParams, };
1560
+ export { type AdvancedModeTransformConfig as AdvancedModeTransformConfig, type AutoTransformConfig as AutoTransformConfig, type AzureOpenAIEmbedding as AzureOpenAIEmbedding, type AzureOpenAIEmbeddingConfig as AzureOpenAIEmbeddingConfig, type BedrockEmbedding as BedrockEmbedding, type BedrockEmbeddingConfig as BedrockEmbeddingConfig, type CohereEmbedding as CohereEmbedding, type CohereEmbeddingConfig as CohereEmbeddingConfig, type DataSinkCreate as DataSinkCreate, type GeminiEmbedding as GeminiEmbedding, type GeminiEmbeddingConfig as GeminiEmbeddingConfig, type HuggingFaceInferenceAPIEmbedding as HuggingFaceInferenceAPIEmbedding, type HuggingFaceInferenceAPIEmbeddingConfig as HuggingFaceInferenceAPIEmbeddingConfig, type LlamaParseParameters as LlamaParseParameters, type LlmParameters as LlmParameters, type ManagedIngestionStatusResponse as ManagedIngestionStatusResponse, type MessageRole as MessageRole, type MetadataFilters as MetadataFilters, type OpenAIEmbedding as OpenAIEmbedding, type OpenAIEmbeddingConfig as OpenAIEmbeddingConfig, type PageFigureNodeWithScore as PageFigureNodeWithScore, type PageScreenshotNodeWithScore as PageScreenshotNodeWithScore, type Pipeline as Pipeline, type PipelineCreate as PipelineCreate, type PipelineMetadataConfig as PipelineMetadataConfig, type PipelineType as PipelineType, type PresetRetrievalParams as PresetRetrievalParams, type RetrievalMode as RetrievalMode, type SparseModelConfig as SparseModelConfig, type VertexAIEmbeddingConfig as VertexAIEmbeddingConfig, type VertexTextEmbedding as VertexTextEmbedding, type PipelineRetrieveResponse as PipelineRetrieveResponse, type PipelineListResponse as PipelineListResponse, type PipelineListParams as PipelineListParams, type PipelineCreateParams as PipelineCreateParams, type PipelineUpdateParams as PipelineUpdateParams, type PipelineGetStatusParams as PipelineGetStatusParams, type PipelineUpsertParams as PipelineUpsertParams, type PipelineRetrieveParams as PipelineRetrieveParams, };
1538
1561
  export { Sync as Sync };
1539
- export { DataSources as DataSources, type PipelineDataSource as PipelineDataSource, type DataSourceGetDataSourcesResponse as DataSourceGetDataSourcesResponse, type DataSourceUpdateDataSourcesResponse as DataSourceUpdateDataSourcesResponse, type DataSourceUpdateParams as DataSourceUpdateParams, type DataSourceGetStatusParams as DataSourceGetStatusParams, type DataSourceSyncParams as DataSourceSyncParams, type DataSourceUpdateDataSourcesParams as DataSourceUpdateDataSourcesParams, };
1540
- export { Images as Images, type ImageGetPageFigureResponse as ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse as ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse as ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse as ImageListPageScreenshotsResponse, type ImageGetPageFigureParams as ImageGetPageFigureParams, type ImageGetPageScreenshotParams as ImageGetPageScreenshotParams, type ImageListPageFiguresParams as ImageListPageFiguresParams, type ImageListPageScreenshotsParams as ImageListPageScreenshotsParams, };
1541
- export { Files as Files, type PipelineFile as PipelineFile, type FileCreateResponse as FileCreateResponse, type FileGetStatusCountsResponse as FileGetStatusCountsResponse, type PipelineFilesPaginatedPipelineFiles as PipelineFilesPaginatedPipelineFiles, type FileCreateParams as FileCreateParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileGetStatusParams as FileGetStatusParams, type FileGetStatusCountsParams as FileGetStatusCountsParams, };
1562
+ export { DataSources as DataSources, type PipelineDataSource as PipelineDataSource, type DataSourceGetDataSourcesResponse as DataSourceGetDataSourcesResponse, type DataSourceUpdateDataSourcesResponse as DataSourceUpdateDataSourcesResponse, type DataSourceUpdateDataSourcesParams as DataSourceUpdateDataSourcesParams, type DataSourceUpdateParams as DataSourceUpdateParams, type DataSourceGetStatusParams as DataSourceGetStatusParams, type DataSourceSyncParams as DataSourceSyncParams, };
1563
+ export { Images as Images, type ImageGetPageFigureResponse as ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse as ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse as ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse as ImageListPageScreenshotsResponse, type ImageListPageScreenshotsParams as ImageListPageScreenshotsParams, type ImageGetPageScreenshotParams as ImageGetPageScreenshotParams, type ImageGetPageFigureParams as ImageGetPageFigureParams, type ImageListPageFiguresParams as ImageListPageFiguresParams, };
1564
+ export { Files as Files, type PipelineFile as PipelineFile, type FileCreateResponse as FileCreateResponse, type FileGetStatusCountsResponse as FileGetStatusCountsResponse, type PipelineFilesPaginatedPipelineFiles as PipelineFilesPaginatedPipelineFiles, type FileGetStatusCountsParams as FileGetStatusCountsParams, type FileGetStatusParams as FileGetStatusParams, type FileCreateParams as FileCreateParams, type FileUpdateParams as FileUpdateParams, type FileDeleteParams as FileDeleteParams, type FileListParams as FileListParams, };
1542
1565
  export { Metadata as Metadata, type MetadataCreateResponse as MetadataCreateResponse, type MetadataCreateParams as MetadataCreateParams, };
1543
- export { Documents as Documents, type CloudDocument as CloudDocument, type CloudDocumentCreate as CloudDocumentCreate, type TextNode as TextNode, type DocumentCreateResponse as DocumentCreateResponse, type DocumentGetChunksResponse as DocumentGetChunksResponse, type DocumentSyncResponse as DocumentSyncResponse, type DocumentUpsertResponse as DocumentUpsertResponse, type CloudDocumentsPaginatedCloudDocuments as CloudDocumentsPaginatedCloudDocuments, type DocumentCreateParams as DocumentCreateParams, type DocumentListParams as DocumentListParams, type DocumentDeleteParams as DocumentDeleteParams, type DocumentGetParams as DocumentGetParams, type DocumentGetChunksParams as DocumentGetChunksParams, type DocumentGetStatusParams as DocumentGetStatusParams, type DocumentSyncParams as DocumentSyncParams, type DocumentUpsertParams as DocumentUpsertParams, };
1566
+ export { Documents as Documents, type CloudDocument as CloudDocument, type CloudDocumentCreate as CloudDocumentCreate, type TextNode as TextNode, type DocumentCreateResponse as DocumentCreateResponse, type DocumentGetChunksResponse as DocumentGetChunksResponse, type DocumentSyncResponse as DocumentSyncResponse, type DocumentUpsertResponse as DocumentUpsertResponse, type CloudDocumentsPaginatedCloudDocuments as CloudDocumentsPaginatedCloudDocuments, type DocumentCreateParams as DocumentCreateParams, type DocumentListParams as DocumentListParams, type DocumentGetParams as DocumentGetParams, type DocumentDeleteParams as DocumentDeleteParams, type DocumentGetStatusParams as DocumentGetStatusParams, type DocumentSyncParams as DocumentSyncParams, type DocumentGetChunksParams as DocumentGetChunksParams, type DocumentUpsertParams as DocumentUpsertParams, };
1544
1567
  }
1545
1568
  //# sourceMappingURL=pipelines.d.mts.map