@orq-ai/node 3.8.9 → 3.9.0-rc.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 (592) hide show
  1. package/README.md +86 -82
  2. package/bin/mcp-server.js +1654 -1037
  3. package/bin/mcp-server.js.map +49 -43
  4. package/docs/sdks/datasets/README.md +83 -0
  5. package/docs/sdks/deployments/README.md +85 -0
  6. package/docs/sdks/knowledge/README.md +87 -77
  7. package/funcs/{knowledgeCreate.d.ts → datasetsCreateExperiment.d.ts} +6 -3
  8. package/funcs/datasetsCreateExperiment.d.ts.map +1 -0
  9. package/funcs/datasetsCreateExperiment.js +120 -0
  10. package/funcs/datasetsCreateExperiment.js.map +1 -0
  11. package/funcs/deploymentsCreateExperiment.d.ts +17 -0
  12. package/funcs/deploymentsCreateExperiment.d.ts.map +1 -0
  13. package/funcs/deploymentsCreateExperiment.js +120 -0
  14. package/funcs/deploymentsCreateExperiment.js.map +1 -0
  15. package/funcs/knowledgeChunkText.d.ts +17 -0
  16. package/funcs/knowledgeChunkText.d.ts.map +1 -0
  17. package/funcs/{knowledgeCreate.js → knowledgeChunkText.js} +10 -7
  18. package/funcs/knowledgeChunkText.js.map +1 -0
  19. package/jsr.json +1 -1
  20. package/lib/config.d.ts +3 -3
  21. package/lib/config.js +3 -3
  22. package/lib/config.js.map +1 -1
  23. package/mcp-server/mcp-server.js +1 -1
  24. package/mcp-server/mcp-server.js.map +1 -1
  25. package/mcp-server/server.d.ts.map +1 -1
  26. package/mcp-server/server.js +7 -3
  27. package/mcp-server/server.js.map +1 -1
  28. package/mcp-server/tools/datasetsCreateExperiment.d.ts +8 -0
  29. package/mcp-server/tools/datasetsCreateExperiment.d.ts.map +1 -0
  30. package/mcp-server/tools/{knowledgeCreate.js → datasetsCreateExperiment.js} +10 -8
  31. package/mcp-server/tools/datasetsCreateExperiment.js.map +1 -0
  32. package/mcp-server/tools/deploymentsCreateExperiment.d.ts +8 -0
  33. package/mcp-server/tools/deploymentsCreateExperiment.d.ts.map +1 -0
  34. package/mcp-server/tools/deploymentsCreateExperiment.js +64 -0
  35. package/mcp-server/tools/deploymentsCreateExperiment.js.map +1 -0
  36. package/mcp-server/tools/knowledgeChunkText.d.ts +8 -0
  37. package/mcp-server/tools/knowledgeChunkText.d.ts.map +1 -0
  38. package/mcp-server/tools/knowledgeChunkText.js +64 -0
  39. package/mcp-server/tools/knowledgeChunkText.js.map +1 -0
  40. package/models/operations/chunktext.d.ts +961 -0
  41. package/models/operations/chunktext.d.ts.map +1 -0
  42. package/models/operations/chunktext.js +884 -0
  43. package/models/operations/chunktext.js.map +1 -0
  44. package/models/operations/createcontact.js +2 -2
  45. package/models/operations/createdataset.js +2 -2
  46. package/models/operations/createdatasetexperiment.d.ts +140 -0
  47. package/models/operations/createdatasetexperiment.d.ts.map +1 -0
  48. package/models/operations/createdatasetexperiment.js +188 -0
  49. package/models/operations/createdatasetexperiment.js.map +1 -0
  50. package/models/operations/createdatasetitem.js +2 -2
  51. package/models/operations/createdatasource.js +2 -2
  52. package/models/operations/createdeploymentexperiment.d.ts +152 -0
  53. package/models/operations/createdeploymentexperiment.d.ts.map +1 -0
  54. package/models/operations/createdeploymentexperiment.js +189 -0
  55. package/models/operations/createdeploymentexperiment.js.map +1 -0
  56. package/models/operations/createeval.js +16 -16
  57. package/models/operations/createprompt.d.ts +0 -6
  58. package/models/operations/createprompt.d.ts.map +1 -1
  59. package/models/operations/createprompt.js +0 -2
  60. package/models/operations/createprompt.js.map +1 -1
  61. package/models/operations/deploymentgetconfig.d.ts +0 -3
  62. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  63. package/models/operations/deploymentgetconfig.js +0 -1
  64. package/models/operations/deploymentgetconfig.js.map +1 -1
  65. package/models/operations/deployments.d.ts +0 -3
  66. package/models/operations/deployments.d.ts.map +1 -1
  67. package/models/operations/deployments.js +0 -1
  68. package/models/operations/deployments.js.map +1 -1
  69. package/models/operations/fileget.js +2 -2
  70. package/models/operations/filelist.js +2 -2
  71. package/models/operations/fileupload.js +2 -2
  72. package/models/operations/getallprompts.d.ts +0 -3
  73. package/models/operations/getallprompts.d.ts.map +1 -1
  74. package/models/operations/getallprompts.js +0 -1
  75. package/models/operations/getallprompts.js.map +1 -1
  76. package/models/operations/getevals.js +28 -28
  77. package/models/operations/getoneprompt.d.ts +0 -3
  78. package/models/operations/getoneprompt.d.ts.map +1 -1
  79. package/models/operations/getoneprompt.js +0 -1
  80. package/models/operations/getoneprompt.js.map +1 -1
  81. package/models/operations/getpromptversion.d.ts +0 -3
  82. package/models/operations/getpromptversion.d.ts.map +1 -1
  83. package/models/operations/getpromptversion.js +0 -1
  84. package/models/operations/getpromptversion.js.map +1 -1
  85. package/models/operations/index.d.ts +3 -1
  86. package/models/operations/index.d.ts.map +1 -1
  87. package/models/operations/index.js +3 -1
  88. package/models/operations/index.js.map +1 -1
  89. package/models/operations/listcontacts.js +2 -2
  90. package/models/operations/listdatasetdatapoints.js +2 -2
  91. package/models/operations/listdatasets.js +2 -2
  92. package/models/operations/listdatasources.js +2 -2
  93. package/models/operations/listpromptversions.d.ts +0 -3
  94. package/models/operations/listpromptversions.d.ts.map +1 -1
  95. package/models/operations/listpromptversions.js +0 -1
  96. package/models/operations/listpromptversions.js.map +1 -1
  97. package/models/operations/retrievecontact.js +2 -2
  98. package/models/operations/retrievedatapoint.js +2 -2
  99. package/models/operations/retrievedataset.js +2 -2
  100. package/models/operations/retrievedatasource.js +2 -2
  101. package/models/operations/updatecontact.js +2 -2
  102. package/models/operations/updatedatapoint.js +2 -2
  103. package/models/operations/updatedataset.js +2 -2
  104. package/models/operations/updatedatasource.js +2 -2
  105. package/models/operations/updateeval.js +16 -16
  106. package/models/operations/updateknowledge.d.ts +106 -106
  107. package/models/operations/updateknowledge.d.ts.map +1 -1
  108. package/models/operations/updateknowledge.js +129 -125
  109. package/models/operations/updateknowledge.js.map +1 -1
  110. package/models/operations/updateprompt.d.ts +0 -6
  111. package/models/operations/updateprompt.d.ts.map +1 -1
  112. package/models/operations/updateprompt.js +0 -2
  113. package/models/operations/updateprompt.js.map +1 -1
  114. package/package.json +3 -2
  115. package/sdk/datasets.d.ts +7 -0
  116. package/sdk/datasets.d.ts.map +1 -1
  117. package/sdk/datasets.js +10 -0
  118. package/sdk/datasets.js.map +1 -1
  119. package/sdk/deployments.d.ts +7 -0
  120. package/sdk/deployments.d.ts.map +1 -1
  121. package/sdk/deployments.js +10 -0
  122. package/sdk/deployments.js.map +1 -1
  123. package/sdk/knowledge.d.ts +7 -4
  124. package/sdk/knowledge.d.ts.map +1 -1
  125. package/sdk/knowledge.js +10 -7
  126. package/sdk/knowledge.js.map +1 -1
  127. package/{packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts → src/funcs/datasetsCreateExperiment.ts} +13 -12
  128. package/{packages/orq-rc/src/funcs/knowledgeSearch.ts → src/funcs/deploymentsCreateExperiment.ts} +19 -13
  129. package/src/lib/config.ts +3 -3
  130. package/src/mcp-server/mcp-server.ts +1 -1
  131. package/src/mcp-server/server.ts +7 -3
  132. package/{packages/orq-rc/src/mcp-server/tools/deploymentsMetricsCreate.ts → src/mcp-server/tools/datasetsCreateExperiment.ts} +7 -7
  133. package/{packages/orq-rc/src/mcp-server/tools/evalsRagasResponseRelevancy.ts → src/mcp-server/tools/deploymentsCreateExperiment.ts} +8 -7
  134. package/src/models/operations/createcontact.ts +2 -2
  135. package/src/models/operations/createdataset.ts +2 -2
  136. package/src/models/operations/createdatasetexperiment.ts +307 -0
  137. package/src/models/operations/createdatasetitem.ts +2 -2
  138. package/src/models/operations/createdatasource.ts +2 -2
  139. package/src/models/operations/createdeploymentexperiment.ts +321 -0
  140. package/src/models/operations/createeval.ts +16 -16
  141. package/src/models/operations/createprompt.ts +0 -2
  142. package/src/models/operations/deploymentgetconfig.ts +0 -1
  143. package/src/models/operations/deployments.ts +0 -1
  144. package/src/models/operations/fileget.ts +2 -2
  145. package/src/models/operations/filelist.ts +2 -2
  146. package/src/models/operations/fileupload.ts +2 -2
  147. package/src/models/operations/getallprompts.ts +0 -1
  148. package/src/models/operations/getevals.ts +28 -28
  149. package/src/models/operations/getoneprompt.ts +0 -1
  150. package/src/models/operations/getpromptversion.ts +0 -1
  151. package/src/models/operations/index.ts +3 -1
  152. package/src/models/operations/listcontacts.ts +2 -2
  153. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  154. package/src/models/operations/listdatasets.ts +2 -2
  155. package/src/models/operations/listdatasources.ts +2 -2
  156. package/src/models/operations/listpromptversions.ts +0 -1
  157. package/src/models/operations/retrievecontact.ts +2 -2
  158. package/src/models/operations/retrievedatapoint.ts +2 -2
  159. package/src/models/operations/retrievedataset.ts +2 -2
  160. package/src/models/operations/retrievedatasource.ts +2 -2
  161. package/src/models/operations/updatecontact.ts +2 -2
  162. package/src/models/operations/updatedatapoint.ts +2 -2
  163. package/src/models/operations/updatedataset.ts +2 -2
  164. package/src/models/operations/updatedatasource.ts +2 -2
  165. package/src/models/operations/updateeval.ts +16 -16
  166. package/src/models/operations/updateknowledge.ts +206 -266
  167. package/src/models/operations/updateprompt.ts +0 -2
  168. package/src/sdk/datasets.ts +18 -0
  169. package/src/sdk/deployments.ts +18 -0
  170. package/src/sdk/knowledge.ts +18 -15
  171. package/funcs/knowledgeCreate.d.ts.map +0 -1
  172. package/funcs/knowledgeCreate.js.map +0 -1
  173. package/mcp-server/tools/knowledgeCreate.d.ts +0 -8
  174. package/mcp-server/tools/knowledgeCreate.d.ts.map +0 -1
  175. package/mcp-server/tools/knowledgeCreate.js.map +0 -1
  176. package/models/operations/createknowledge.d.ts +0 -426
  177. package/models/operations/createknowledge.d.ts.map +0 -1
  178. package/models/operations/createknowledge.js +0 -431
  179. package/models/operations/createknowledge.js.map +0 -1
  180. package/packages/orq-rc/FUNCTIONS.md +0 -103
  181. package/packages/orq-rc/README.md +0 -955
  182. package/packages/orq-rc/RUNTIMES.md +0 -48
  183. package/packages/orq-rc/docs/sdks/contacts/README.md +0 -445
  184. package/packages/orq-rc/docs/sdks/datasets/README.md +0 -825
  185. package/packages/orq-rc/docs/sdks/deployments/README.md +0 -310
  186. package/packages/orq-rc/docs/sdks/evals/README.md +0 -3035
  187. package/packages/orq-rc/docs/sdks/feedback/README.md +0 -88
  188. package/packages/orq-rc/docs/sdks/files/README.md +0 -297
  189. package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -1237
  190. package/packages/orq-rc/docs/sdks/metrics/README.md +0 -82
  191. package/packages/orq-rc/docs/sdks/models/README.md +0 -75
  192. package/packages/orq-rc/docs/sdks/orq/README.md +0 -10
  193. package/packages/orq-rc/docs/sdks/prompts/README.md +0 -550
  194. package/packages/orq-rc/docs/sdks/remoteconfigs/README.md +0 -76
  195. package/packages/orq-rc/jsr.json +0 -28
  196. package/packages/orq-rc/package-lock.json +0 -3217
  197. package/packages/orq-rc/package.json +0 -45
  198. package/packages/orq-rc/src/core.ts +0 -13
  199. package/packages/orq-rc/src/funcs/contactsCreate.ts +0 -165
  200. package/packages/orq-rc/src/funcs/contactsDelete.ts +0 -176
  201. package/packages/orq-rc/src/funcs/contactsList.ts +0 -169
  202. package/packages/orq-rc/src/funcs/contactsRetrieve.ts +0 -175
  203. package/packages/orq-rc/src/funcs/contactsUpdate.ts +0 -176
  204. package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -167
  205. package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -165
  206. package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -167
  207. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -182
  208. package/packages/orq-rc/src/funcs/datasetsList.ts +0 -167
  209. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -174
  210. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -175
  211. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -181
  212. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -176
  213. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -179
  214. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -168
  215. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -176
  216. package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -176
  217. package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +0 -168
  218. package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -184
  219. package/packages/orq-rc/src/funcs/evalsAgeAppropriate.ts +0 -175
  220. package/packages/orq-rc/src/funcs/evalsAll.ts +0 -173
  221. package/packages/orq-rc/src/funcs/evalsBertScore.ts +0 -175
  222. package/packages/orq-rc/src/funcs/evalsBleuScore.ts +0 -175
  223. package/packages/orq-rc/src/funcs/evalsBotDetection.ts +0 -175
  224. package/packages/orq-rc/src/funcs/evalsContains.ts +0 -175
  225. package/packages/orq-rc/src/funcs/evalsContainsAll.ts +0 -175
  226. package/packages/orq-rc/src/funcs/evalsContainsAny.ts +0 -175
  227. package/packages/orq-rc/src/funcs/evalsContainsEmail.ts +0 -175
  228. package/packages/orq-rc/src/funcs/evalsContainsNone.ts +0 -175
  229. package/packages/orq-rc/src/funcs/evalsContainsUrl.ts +0 -175
  230. package/packages/orq-rc/src/funcs/evalsContainsValidLink.ts +0 -177
  231. package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -169
  232. package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -173
  233. package/packages/orq-rc/src/funcs/evalsEndsWith.ts +0 -175
  234. package/packages/orq-rc/src/funcs/evalsExactMatch.ts +0 -175
  235. package/packages/orq-rc/src/funcs/evalsFactCheckingKnowledgeBase.ts +0 -183
  236. package/packages/orq-rc/src/funcs/evalsGrammar.ts +0 -173
  237. package/packages/orq-rc/src/funcs/evalsInvoke.ts +0 -177
  238. package/packages/orq-rc/src/funcs/evalsLengthBetween.ts +0 -175
  239. package/packages/orq-rc/src/funcs/evalsLengthGreaterThan.ts +0 -177
  240. package/packages/orq-rc/src/funcs/evalsLengthLessThan.ts +0 -175
  241. package/packages/orq-rc/src/funcs/evalsLocalization.ts +0 -175
  242. package/packages/orq-rc/src/funcs/evalsPii.ts +0 -173
  243. package/packages/orq-rc/src/funcs/evalsRagasCoherence.ts +0 -175
  244. package/packages/orq-rc/src/funcs/evalsRagasConciseness.ts +0 -174
  245. package/packages/orq-rc/src/funcs/evalsRagasContextEntitiesRecall.ts +0 -183
  246. package/packages/orq-rc/src/funcs/evalsRagasContextPrecision.ts +0 -180
  247. package/packages/orq-rc/src/funcs/evalsRagasContextRecall.ts +0 -177
  248. package/packages/orq-rc/src/funcs/evalsRagasCorrectness.ts +0 -174
  249. package/packages/orq-rc/src/funcs/evalsRagasFaithfulness.ts +0 -177
  250. package/packages/orq-rc/src/funcs/evalsRagasHarmfulness.ts +0 -174
  251. package/packages/orq-rc/src/funcs/evalsRagasMaliciousness.ts +0 -177
  252. package/packages/orq-rc/src/funcs/evalsRagasNoiseSensitivity.ts +0 -180
  253. package/packages/orq-rc/src/funcs/evalsRagasResponseRelevancy.ts +0 -183
  254. package/packages/orq-rc/src/funcs/evalsRagasSummarization.ts +0 -177
  255. package/packages/orq-rc/src/funcs/evalsSentimentClassification.ts +0 -183
  256. package/packages/orq-rc/src/funcs/evalsSummarization.ts +0 -175
  257. package/packages/orq-rc/src/funcs/evalsToneOfVoice.ts +0 -175
  258. package/packages/orq-rc/src/funcs/evalsTranslation.ts +0 -175
  259. package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -173
  260. package/packages/orq-rc/src/funcs/evalsValidJson.ts +0 -175
  261. package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -160
  262. package/packages/orq-rc/src/funcs/filesCreate.ts +0 -187
  263. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -164
  264. package/packages/orq-rc/src/funcs/filesGet.ts +0 -166
  265. package/packages/orq-rc/src/funcs/filesList.ts +0 -167
  266. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -171
  267. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -166
  268. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -167
  269. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -174
  270. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -173
  271. package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -169
  272. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -178
  273. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -174
  274. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -166
  275. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -173
  276. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -169
  277. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -164
  278. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -174
  279. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -170
  280. package/packages/orq-rc/src/funcs/modelsList.ts +0 -142
  281. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -160
  282. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -164
  283. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -181
  284. package/packages/orq-rc/src/funcs/promptsList.ts +0 -167
  285. package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -173
  286. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -166
  287. package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -173
  288. package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +0 -161
  289. package/packages/orq-rc/src/hooks/global.ts +0 -44
  290. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  291. package/packages/orq-rc/src/hooks/index.ts +0 -6
  292. package/packages/orq-rc/src/hooks/registration.ts +0 -15
  293. package/packages/orq-rc/src/hooks/types.ts +0 -112
  294. package/packages/orq-rc/src/index.ts +0 -9
  295. package/packages/orq-rc/src/lib/base64.ts +0 -37
  296. package/packages/orq-rc/src/lib/config.ts +0 -74
  297. package/packages/orq-rc/src/lib/dlv.ts +0 -53
  298. package/packages/orq-rc/src/lib/encodings.ts +0 -483
  299. package/packages/orq-rc/src/lib/env.ts +0 -73
  300. package/packages/orq-rc/src/lib/event-streams.ts +0 -264
  301. package/packages/orq-rc/src/lib/files.ts +0 -82
  302. package/packages/orq-rc/src/lib/http.ts +0 -323
  303. package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
  304. package/packages/orq-rc/src/lib/logger.ts +0 -9
  305. package/packages/orq-rc/src/lib/matchers.ts +0 -348
  306. package/packages/orq-rc/src/lib/primitives.ts +0 -150
  307. package/packages/orq-rc/src/lib/retries.ts +0 -218
  308. package/packages/orq-rc/src/lib/schemas.ts +0 -91
  309. package/packages/orq-rc/src/lib/sdks.ts +0 -407
  310. package/packages/orq-rc/src/lib/security.ts +0 -261
  311. package/packages/orq-rc/src/lib/url.ts +0 -33
  312. package/packages/orq-rc/src/mcp-server/cli/start/command.ts +0 -125
  313. package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +0 -140
  314. package/packages/orq-rc/src/mcp-server/cli.ts +0 -13
  315. package/packages/orq-rc/src/mcp-server/console-logger.ts +0 -71
  316. package/packages/orq-rc/src/mcp-server/extensions.ts +0 -17
  317. package/packages/orq-rc/src/mcp-server/mcp-server.ts +0 -26
  318. package/packages/orq-rc/src/mcp-server/prompts.ts +0 -117
  319. package/packages/orq-rc/src/mcp-server/resources.ts +0 -172
  320. package/packages/orq-rc/src/mcp-server/scopes.ts +0 -7
  321. package/packages/orq-rc/src/mcp-server/server.ts +0 -249
  322. package/packages/orq-rc/src/mcp-server/shared.ts +0 -75
  323. package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +0 -37
  324. package/packages/orq-rc/src/mcp-server/tools/contactsDelete.ts +0 -35
  325. package/packages/orq-rc/src/mcp-server/tools/contactsList.ts +0 -37
  326. package/packages/orq-rc/src/mcp-server/tools/contactsRetrieve.ts +0 -37
  327. package/packages/orq-rc/src/mcp-server/tools/contactsUpdate.ts +0 -37
  328. package/packages/orq-rc/src/mcp-server/tools/datasetsClear.ts +0 -35
  329. package/packages/orq-rc/src/mcp-server/tools/datasetsCreate.ts +0 -37
  330. package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoint.ts +0 -37
  331. package/packages/orq-rc/src/mcp-server/tools/datasetsDelete.ts +0 -35
  332. package/packages/orq-rc/src/mcp-server/tools/datasetsDeleteDatapoint.ts +0 -35
  333. package/packages/orq-rc/src/mcp-server/tools/datasetsList.ts +0 -37
  334. package/packages/orq-rc/src/mcp-server/tools/datasetsListDatapoints.ts +0 -37
  335. package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieve.ts +0 -37
  336. package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieveDatapoint.ts +0 -37
  337. package/packages/orq-rc/src/mcp-server/tools/datasetsUpdate.ts +0 -37
  338. package/packages/orq-rc/src/mcp-server/tools/datasetsUpdateDatapoint.ts +0 -35
  339. package/packages/orq-rc/src/mcp-server/tools/deploymentsGetConfig.ts +0 -37
  340. package/packages/orq-rc/src/mcp-server/tools/deploymentsInvoke.ts +0 -37
  341. package/packages/orq-rc/src/mcp-server/tools/deploymentsList.ts +0 -37
  342. package/packages/orq-rc/src/mcp-server/tools/deploymentsStream.ts +0 -37
  343. package/packages/orq-rc/src/mcp-server/tools/evalsAgeAppropriate.ts +0 -35
  344. package/packages/orq-rc/src/mcp-server/tools/evalsAll.ts +0 -35
  345. package/packages/orq-rc/src/mcp-server/tools/evalsBertScore.ts +0 -35
  346. package/packages/orq-rc/src/mcp-server/tools/evalsBleuScore.ts +0 -35
  347. package/packages/orq-rc/src/mcp-server/tools/evalsBotDetection.ts +0 -35
  348. package/packages/orq-rc/src/mcp-server/tools/evalsContains.ts +0 -35
  349. package/packages/orq-rc/src/mcp-server/tools/evalsContainsAll.ts +0 -35
  350. package/packages/orq-rc/src/mcp-server/tools/evalsContainsAny.ts +0 -35
  351. package/packages/orq-rc/src/mcp-server/tools/evalsContainsEmail.ts +0 -35
  352. package/packages/orq-rc/src/mcp-server/tools/evalsContainsNone.ts +0 -35
  353. package/packages/orq-rc/src/mcp-server/tools/evalsContainsUrl.ts +0 -35
  354. package/packages/orq-rc/src/mcp-server/tools/evalsContainsValidLink.ts +0 -36
  355. package/packages/orq-rc/src/mcp-server/tools/evalsCreate.ts +0 -35
  356. package/packages/orq-rc/src/mcp-server/tools/evalsDelete.ts +0 -33
  357. package/packages/orq-rc/src/mcp-server/tools/evalsEndsWith.ts +0 -35
  358. package/packages/orq-rc/src/mcp-server/tools/evalsExactMatch.ts +0 -35
  359. package/packages/orq-rc/src/mcp-server/tools/evalsFactCheckingKnowledgeBase.ts +0 -37
  360. package/packages/orq-rc/src/mcp-server/tools/evalsGrammar.ts +0 -35
  361. package/packages/orq-rc/src/mcp-server/tools/evalsInvoke.ts +0 -35
  362. package/packages/orq-rc/src/mcp-server/tools/evalsLengthBetween.ts +0 -35
  363. package/packages/orq-rc/src/mcp-server/tools/evalsLengthGreaterThan.ts +0 -36
  364. package/packages/orq-rc/src/mcp-server/tools/evalsLengthLessThan.ts +0 -35
  365. package/packages/orq-rc/src/mcp-server/tools/evalsLocalization.ts +0 -35
  366. package/packages/orq-rc/src/mcp-server/tools/evalsPii.ts +0 -35
  367. package/packages/orq-rc/src/mcp-server/tools/evalsRagasCoherence.ts +0 -35
  368. package/packages/orq-rc/src/mcp-server/tools/evalsRagasConciseness.ts +0 -35
  369. package/packages/orq-rc/src/mcp-server/tools/evalsRagasContextEntitiesRecall.ts +0 -37
  370. package/packages/orq-rc/src/mcp-server/tools/evalsRagasContextPrecision.ts +0 -36
  371. package/packages/orq-rc/src/mcp-server/tools/evalsRagasContextRecall.ts +0 -36
  372. package/packages/orq-rc/src/mcp-server/tools/evalsRagasCorrectness.ts +0 -35
  373. package/packages/orq-rc/src/mcp-server/tools/evalsRagasFaithfulness.ts +0 -36
  374. package/packages/orq-rc/src/mcp-server/tools/evalsRagasHarmfulness.ts +0 -35
  375. package/packages/orq-rc/src/mcp-server/tools/evalsRagasMaliciousness.ts +0 -36
  376. package/packages/orq-rc/src/mcp-server/tools/evalsRagasNoiseSensitivity.ts +0 -36
  377. package/packages/orq-rc/src/mcp-server/tools/evalsRagasSummarization.ts +0 -36
  378. package/packages/orq-rc/src/mcp-server/tools/evalsSentimentClassification.ts +0 -36
  379. package/packages/orq-rc/src/mcp-server/tools/evalsSummarization.ts +0 -35
  380. package/packages/orq-rc/src/mcp-server/tools/evalsToneOfVoice.ts +0 -35
  381. package/packages/orq-rc/src/mcp-server/tools/evalsTranslation.ts +0 -35
  382. package/packages/orq-rc/src/mcp-server/tools/evalsUpdate.ts +0 -35
  383. package/packages/orq-rc/src/mcp-server/tools/evalsValidJson.ts +0 -35
  384. package/packages/orq-rc/src/mcp-server/tools/feedbackCreate.ts +0 -37
  385. package/packages/orq-rc/src/mcp-server/tools/filesCreate.ts +0 -37
  386. package/packages/orq-rc/src/mcp-server/tools/filesDelete.ts +0 -33
  387. package/packages/orq-rc/src/mcp-server/tools/filesGet.ts +0 -37
  388. package/packages/orq-rc/src/mcp-server/tools/filesList.ts +0 -37
  389. package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateChunks.ts +0 -35
  390. package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateDatasource.ts +0 -35
  391. package/packages/orq-rc/src/mcp-server/tools/knowledgeDelete.ts +0 -35
  392. package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunk.ts +0 -33
  393. package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteDatasource.ts +0 -35
  394. package/packages/orq-rc/src/mcp-server/tools/knowledgeList.ts +0 -37
  395. package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunks.ts +0 -35
  396. package/packages/orq-rc/src/mcp-server/tools/knowledgeListDatasources.ts +0 -35
  397. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieve.ts +0 -37
  398. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveChunk.ts +0 -35
  399. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveDatasource.ts +0 -35
  400. package/packages/orq-rc/src/mcp-server/tools/knowledgeSearch.ts +0 -37
  401. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdate.ts +0 -35
  402. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateChunk.ts +0 -35
  403. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateDatasource.ts +0 -35
  404. package/packages/orq-rc/src/mcp-server/tools/modelsList.ts +0 -30
  405. package/packages/orq-rc/src/mcp-server/tools/promptsCreate.ts +0 -35
  406. package/packages/orq-rc/src/mcp-server/tools/promptsDelete.ts +0 -33
  407. package/packages/orq-rc/src/mcp-server/tools/promptsGetVersion.ts +0 -37
  408. package/packages/orq-rc/src/mcp-server/tools/promptsList.ts +0 -37
  409. package/packages/orq-rc/src/mcp-server/tools/promptsListVersions.ts +0 -37
  410. package/packages/orq-rc/src/mcp-server/tools/promptsRetrieve.ts +0 -37
  411. package/packages/orq-rc/src/mcp-server/tools/promptsUpdate.ts +0 -35
  412. package/packages/orq-rc/src/mcp-server/tools/remoteconfigsRetrieve.ts +0 -36
  413. package/packages/orq-rc/src/mcp-server/tools.ts +0 -129
  414. package/packages/orq-rc/src/models/components/deployments.ts +0 -7289
  415. package/packages/orq-rc/src/models/components/index.ts +0 -6
  416. package/packages/orq-rc/src/models/components/security.ts +0 -71
  417. package/packages/orq-rc/src/models/errors/apierror.ts +0 -34
  418. package/packages/orq-rc/src/models/errors/createeval.ts +0 -82
  419. package/packages/orq-rc/src/models/errors/deletecontact.ts +0 -91
  420. package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -82
  421. package/packages/orq-rc/src/models/errors/evalsageappropriate.ts +0 -160
  422. package/packages/orq-rc/src/models/errors/evalsbertscore.ts +0 -158
  423. package/packages/orq-rc/src/models/errors/evalsbleuscore.ts +0 -158
  424. package/packages/orq-rc/src/models/errors/evalsbotdetection.ts +0 -159
  425. package/packages/orq-rc/src/models/errors/evalscontains.ts +0 -158
  426. package/packages/orq-rc/src/models/errors/evalscontainsall.ts +0 -159
  427. package/packages/orq-rc/src/models/errors/evalscontainsany.ts +0 -159
  428. package/packages/orq-rc/src/models/errors/evalscontainsemail.ts +0 -160
  429. package/packages/orq-rc/src/models/errors/evalscontainsnone.ts +0 -159
  430. package/packages/orq-rc/src/models/errors/evalscontainsurl.ts +0 -159
  431. package/packages/orq-rc/src/models/errors/evalscontainsvalidlink.ts +0 -161
  432. package/packages/orq-rc/src/models/errors/evalsendswith.ts +0 -158
  433. package/packages/orq-rc/src/models/errors/evalsexactmatch.ts +0 -158
  434. package/packages/orq-rc/src/models/errors/evalsfactcheckingknowledgebase.ts +0 -164
  435. package/packages/orq-rc/src/models/errors/evalsgrammar.ts +0 -158
  436. package/packages/orq-rc/src/models/errors/evalslengthbetween.ts +0 -160
  437. package/packages/orq-rc/src/models/errors/evalslengthgreaterthan.ts +0 -161
  438. package/packages/orq-rc/src/models/errors/evalslengthlessthan.ts +0 -160
  439. package/packages/orq-rc/src/models/errors/evalslocalization.ts +0 -159
  440. package/packages/orq-rc/src/models/errors/evalspii.ts +0 -158
  441. package/packages/orq-rc/src/models/errors/evalsragascoherence.ts +0 -160
  442. package/packages/orq-rc/src/models/errors/evalsragasconciseness.ts +0 -161
  443. package/packages/orq-rc/src/models/errors/evalsragascontextentitiesrecall.ts +0 -167
  444. package/packages/orq-rc/src/models/errors/evalsragascontextprecision.ts +0 -164
  445. package/packages/orq-rc/src/models/errors/evalsragascontextrecall.ts +0 -162
  446. package/packages/orq-rc/src/models/errors/evalsragascorrectness.ts +0 -161
  447. package/packages/orq-rc/src/models/errors/evalsragasfaithfulness.ts +0 -161
  448. package/packages/orq-rc/src/models/errors/evalsragasharmfulness.ts +0 -161
  449. package/packages/orq-rc/src/models/errors/evalsragasmaliciousness.ts +0 -162
  450. package/packages/orq-rc/src/models/errors/evalsragasnoisesensitivity.ts +0 -164
  451. package/packages/orq-rc/src/models/errors/evalsragasresponserelevancy.ts +0 -164
  452. package/packages/orq-rc/src/models/errors/evalsragassummarization.ts +0 -162
  453. package/packages/orq-rc/src/models/errors/evalssentimentclassification.ts +0 -164
  454. package/packages/orq-rc/src/models/errors/evalssummarization.ts +0 -160
  455. package/packages/orq-rc/src/models/errors/evalstoneofvoice.ts +0 -159
  456. package/packages/orq-rc/src/models/errors/evalstranslation.ts +0 -159
  457. package/packages/orq-rc/src/models/errors/evalsvalidjson.ts +0 -158
  458. package/packages/orq-rc/src/models/errors/getevals.ts +0 -82
  459. package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -82
  460. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -92
  461. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  462. package/packages/orq-rc/src/models/errors/index.ts +0 -56
  463. package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -158
  464. package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
  465. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
  466. package/packages/orq-rc/src/models/errors/retrievecontact.ts +0 -91
  467. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
  468. package/packages/orq-rc/src/models/errors/updatecontact.ts +0 -85
  469. package/packages/orq-rc/src/models/errors/updateeval.ts +0 -82
  470. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -82
  471. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -75
  472. package/packages/orq-rc/src/models/operations/createchunk.ts +0 -428
  473. package/packages/orq-rc/src/models/operations/createcontact.ts +0 -267
  474. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -296
  475. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -5222
  476. package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -852
  477. package/packages/orq-rc/src/models/operations/createeval.ts +0 -3830
  478. package/packages/orq-rc/src/models/operations/createfeedback.ts +0 -286
  479. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -4083
  480. package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -96
  481. package/packages/orq-rc/src/models/operations/deletecontact.ts +0 -69
  482. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -81
  483. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -75
  484. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -87
  485. package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -66
  486. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -78
  487. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -69
  488. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -5439
  489. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -9379
  490. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -1256
  491. package/packages/orq-rc/src/models/operations/deployments.ts +0 -2328
  492. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -9499
  493. package/packages/orq-rc/src/models/operations/evalsageappropriate.ts +0 -253
  494. package/packages/orq-rc/src/models/operations/evalsbertscore.ts +0 -197
  495. package/packages/orq-rc/src/models/operations/evalsbleuscore.ts +0 -131
  496. package/packages/orq-rc/src/models/operations/evalsbotdetection.ts +0 -249
  497. package/packages/orq-rc/src/models/operations/evalscontains.ts +0 -250
  498. package/packages/orq-rc/src/models/operations/evalscontainsall.ts +0 -248
  499. package/packages/orq-rc/src/models/operations/evalscontainsany.ts +0 -254
  500. package/packages/orq-rc/src/models/operations/evalscontainsemail.ts +0 -181
  501. package/packages/orq-rc/src/models/operations/evalscontainsnone.ts +0 -254
  502. package/packages/orq-rc/src/models/operations/evalscontainsurl.ts +0 -181
  503. package/packages/orq-rc/src/models/operations/evalscontainsvalidlink.ts +0 -186
  504. package/packages/orq-rc/src/models/operations/evalsendswith.ts +0 -250
  505. package/packages/orq-rc/src/models/operations/evalsexactmatch.ts +0 -183
  506. package/packages/orq-rc/src/models/operations/evalsfactcheckingknowledgebase.ts +0 -299
  507. package/packages/orq-rc/src/models/operations/evalsgrammar.ts +0 -243
  508. package/packages/orq-rc/src/models/operations/evalslengthbetween.ts +0 -268
  509. package/packages/orq-rc/src/models/operations/evalslengthgreaterthan.ts +0 -266
  510. package/packages/orq-rc/src/models/operations/evalslengthlessthan.ts +0 -259
  511. package/packages/orq-rc/src/models/operations/evalslocalization.ts +0 -253
  512. package/packages/orq-rc/src/models/operations/evalspii.ts +0 -243
  513. package/packages/orq-rc/src/models/operations/evalsragascoherence.ts +0 -152
  514. package/packages/orq-rc/src/models/operations/evalsragasconciseness.ts +0 -153
  515. package/packages/orq-rc/src/models/operations/evalsragascontextentitiesrecall.ts +0 -164
  516. package/packages/orq-rc/src/models/operations/evalsragascontextprecision.ts +0 -166
  517. package/packages/orq-rc/src/models/operations/evalsragascontextrecall.ts +0 -164
  518. package/packages/orq-rc/src/models/operations/evalsragascorrectness.ts +0 -153
  519. package/packages/orq-rc/src/models/operations/evalsragasfaithfulness.ts +0 -155
  520. package/packages/orq-rc/src/models/operations/evalsragasharmfulness.ts +0 -146
  521. package/packages/orq-rc/src/models/operations/evalsragasmaliciousness.ts +0 -157
  522. package/packages/orq-rc/src/models/operations/evalsragasnoisesensitivity.ts +0 -166
  523. package/packages/orq-rc/src/models/operations/evalsragasresponserelevancy.ts +0 -165
  524. package/packages/orq-rc/src/models/operations/evalsragassummarization.ts +0 -150
  525. package/packages/orq-rc/src/models/operations/evalssentimentclassification.ts +0 -285
  526. package/packages/orq-rc/src/models/operations/evalssummarization.ts +0 -253
  527. package/packages/orq-rc/src/models/operations/evalstoneofvoice.ts +0 -251
  528. package/packages/orq-rc/src/models/operations/evalstranslation.ts +0 -251
  529. package/packages/orq-rc/src/models/operations/evalsvalidjson.ts +0 -177
  530. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -78
  531. package/packages/orq-rc/src/models/operations/fileget.ts +0 -223
  532. package/packages/orq-rc/src/models/operations/filelist.ts +0 -337
  533. package/packages/orq-rc/src/models/operations/fileupload.ts +0 -327
  534. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -2296
  535. package/packages/orq-rc/src/models/operations/getevals.ts +0 -6163
  536. package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -315
  537. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -537
  538. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -2157
  539. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -2162
  540. package/packages/orq-rc/src/models/operations/index.ts +0 -97
  541. package/packages/orq-rc/src/models/operations/invokeeval.ts +0 -2520
  542. package/packages/orq-rc/src/models/operations/listchunks.ts +0 -494
  543. package/packages/orq-rc/src/models/operations/listcontacts.ts +0 -490
  544. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -2784
  545. package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -406
  546. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -447
  547. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -663
  548. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -273
  549. package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -2294
  550. package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +0 -190
  551. package/packages/orq-rc/src/models/operations/retrievecontact.ts +0 -210
  552. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -2586
  553. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -288
  554. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -273
  555. package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -3367
  556. package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -448
  557. package/packages/orq-rc/src/models/operations/updatecontact.ts +0 -325
  558. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -5155
  559. package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -393
  560. package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -345
  561. package/packages/orq-rc/src/models/operations/updateeval.ts +0 -4131
  562. package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -920
  563. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -4220
  564. package/packages/orq-rc/src/sdk/contacts.ts +0 -99
  565. package/packages/orq-rc/src/sdk/datasets.ts +0 -204
  566. package/packages/orq-rc/src/sdk/deployments.ts +0 -89
  567. package/packages/orq-rc/src/sdk/evals.ts +0 -639
  568. package/packages/orq-rc/src/sdk/feedback.ts +0 -27
  569. package/packages/orq-rc/src/sdk/files.ts +0 -78
  570. package/packages/orq-rc/src/sdk/index.ts +0 -5
  571. package/packages/orq-rc/src/sdk/knowledge.ts +0 -267
  572. package/packages/orq-rc/src/sdk/metrics.ts +0 -27
  573. package/packages/orq-rc/src/sdk/models.ts +0 -25
  574. package/packages/orq-rc/src/sdk/prompts.ts +0 -126
  575. package/packages/orq-rc/src/sdk/remoteconfigs.ts +0 -24
  576. package/packages/orq-rc/src/sdk/sdk.ts +0 -67
  577. package/packages/orq-rc/src/types/async.ts +0 -68
  578. package/packages/orq-rc/src/types/blobs.ts +0 -31
  579. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  580. package/packages/orq-rc/src/types/enums.ts +0 -16
  581. package/packages/orq-rc/src/types/fp.ts +0 -50
  582. package/packages/orq-rc/src/types/index.ts +0 -11
  583. package/packages/orq-rc/src/types/operations.ts +0 -105
  584. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  585. package/packages/orq-rc/src/types/streams.ts +0 -21
  586. package/packages/orq-rc/tsconfig.json +0 -41
  587. package/src/funcs/knowledgeCreate.ts +0 -158
  588. package/src/mcp-server/tools/knowledgeCreate.ts +0 -35
  589. package/src/models/operations/createknowledge.ts +0 -846
  590. /package/{packages/orq-rc/src → src}/funcs/knowledgeChunkText.ts +0 -0
  591. /package/{packages/orq-rc/src → src}/mcp-server/tools/knowledgeChunkText.ts +0 -0
  592. /package/{packages/orq-rc/src → src}/models/operations/chunktext.ts +0 -0
@@ -0,0 +1,961 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ /**
6
+ * Return format: chunks (with metadata) or texts (plain strings)
7
+ */
8
+ export declare const ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType: {
9
+ readonly Chunks: "chunks";
10
+ readonly Texts: "texts";
11
+ };
12
+ /**
13
+ * Return format: chunks (with metadata) or texts (plain strings)
14
+ */
15
+ export type ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType = ClosedEnum<typeof ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType>;
16
+ export declare const AgenticChunker: {
17
+ readonly Agentic: "agentic";
18
+ };
19
+ export type AgenticChunker = ClosedEnum<typeof AgenticChunker>;
20
+ /**
21
+ * Agentic LLM-powered chunker that uses AI to determine optimal split points. Best for complex documents requiring intelligent segmentation.
22
+ */
23
+ export type AgenticChunkerStrategy = {
24
+ /**
25
+ * The text content to be chunked
26
+ */
27
+ text: string;
28
+ /**
29
+ * Whether to include metadata for each chunk
30
+ */
31
+ metadata?: boolean | undefined;
32
+ /**
33
+ * Return format: chunks (with metadata) or texts (plain strings)
34
+ */
35
+ returnType?: ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType | undefined;
36
+ strategy: AgenticChunker;
37
+ /**
38
+ * Chat model to use for chunking. (Available models)[https://docs.orq.ai/docs/proxy#chat-models]
39
+ */
40
+ model: string;
41
+ /**
42
+ * Maximum tokens per chunk
43
+ */
44
+ chunkSize?: number | undefined;
45
+ /**
46
+ * Size of candidate splits for LLM evaluation
47
+ */
48
+ candidateSize?: number | undefined;
49
+ /**
50
+ * Minimum characters allowed per chunk
51
+ */
52
+ minCharactersPerChunk?: number | undefined;
53
+ };
54
+ /**
55
+ * Return format: chunks (with metadata) or texts (plain strings)
56
+ */
57
+ export declare const ChunkTextChunkingRequestKnowledgeRequestReturnType: {
58
+ readonly Chunks: "chunks";
59
+ readonly Texts: "texts";
60
+ };
61
+ /**
62
+ * Return format: chunks (with metadata) or texts (plain strings)
63
+ */
64
+ export type ChunkTextChunkingRequestKnowledgeRequestReturnType = ClosedEnum<typeof ChunkTextChunkingRequestKnowledgeRequestReturnType>;
65
+ export declare const SDPMChunker: {
66
+ readonly Sdpm: "sdpm";
67
+ };
68
+ export type SDPMChunker = ClosedEnum<typeof SDPMChunker>;
69
+ export declare const ChunkTextThreshold2: {
70
+ readonly Auto: "auto";
71
+ };
72
+ export type ChunkTextThreshold2 = ClosedEnum<typeof ChunkTextThreshold2>;
73
+ /**
74
+ * Similarity threshold for grouping (0-1) or "auto" for automatic detection
75
+ */
76
+ export type ChunkingRequestThreshold = number | ChunkTextThreshold2;
77
+ /**
78
+ * Chunking mode: window-based or sentence-based similarity
79
+ */
80
+ export declare const ChunkingRequestMode: {
81
+ readonly Window: "window";
82
+ readonly Sentence: "sentence";
83
+ };
84
+ /**
85
+ * Chunking mode: window-based or sentence-based similarity
86
+ */
87
+ export type ChunkingRequestMode = ClosedEnum<typeof ChunkingRequestMode>;
88
+ /**
89
+ * Sub-Document Prose Model chunker that uses skip-gram patterns to identify optimal split points. Good for technical documents with structured content.
90
+ */
91
+ export type SDPMChunkerStrategy = {
92
+ /**
93
+ * The text content to be chunked
94
+ */
95
+ text: string;
96
+ /**
97
+ * Whether to include metadata for each chunk
98
+ */
99
+ metadata?: boolean | undefined;
100
+ /**
101
+ * Return format: chunks (with metadata) or texts (plain strings)
102
+ */
103
+ returnType?: ChunkTextChunkingRequestKnowledgeRequestReturnType | undefined;
104
+ strategy: SDPMChunker;
105
+ /**
106
+ * Maximum tokens per chunk
107
+ */
108
+ chunkSize?: number | undefined;
109
+ /**
110
+ * Window size for skip-gram patterns
111
+ */
112
+ skipWindow?: number | undefined;
113
+ /**
114
+ * Similarity threshold for grouping (0-1) or "auto" for automatic detection
115
+ */
116
+ threshold?: number | ChunkTextThreshold2 | undefined;
117
+ /**
118
+ * Embedding model to use for semantic similarity. (Available embedding models)[https://docs.orq.ai/docs/proxy#embedding-models]
119
+ */
120
+ embeddingModel: string;
121
+ /**
122
+ * Chunking mode: window-based or sentence-based similarity
123
+ */
124
+ mode?: ChunkingRequestMode | undefined;
125
+ };
126
+ /**
127
+ * Return format: chunks (with metadata) or texts (plain strings)
128
+ */
129
+ export declare const ChunkTextChunkingRequestKnowledgeReturnType: {
130
+ readonly Chunks: "chunks";
131
+ readonly Texts: "texts";
132
+ };
133
+ /**
134
+ * Return format: chunks (with metadata) or texts (plain strings)
135
+ */
136
+ export type ChunkTextChunkingRequestKnowledgeReturnType = ClosedEnum<typeof ChunkTextChunkingRequestKnowledgeReturnType>;
137
+ export declare const SemanticChunker: {
138
+ readonly Semantic: "semantic";
139
+ };
140
+ export type SemanticChunker = ClosedEnum<typeof SemanticChunker>;
141
+ export declare const Threshold2: {
142
+ readonly Auto: "auto";
143
+ };
144
+ export type Threshold2 = ClosedEnum<typeof Threshold2>;
145
+ /**
146
+ * Similarity threshold for grouping (0-1) or "auto" for automatic detection
147
+ */
148
+ export type Threshold = number | Threshold2;
149
+ /**
150
+ * Chunking mode: window-based or sentence-based similarity
151
+ */
152
+ export declare const Mode: {
153
+ readonly Window: "window";
154
+ readonly Sentence: "sentence";
155
+ };
156
+ /**
157
+ * Chunking mode: window-based or sentence-based similarity
158
+ */
159
+ export type Mode = ClosedEnum<typeof Mode>;
160
+ /**
161
+ * Groups semantically similar sentences using embeddings. Excellent for maintaining topic coherence and context within chunks.
162
+ */
163
+ export type SemanticChunkerStrategy = {
164
+ /**
165
+ * The text content to be chunked
166
+ */
167
+ text: string;
168
+ /**
169
+ * Whether to include metadata for each chunk
170
+ */
171
+ metadata?: boolean | undefined;
172
+ /**
173
+ * Return format: chunks (with metadata) or texts (plain strings)
174
+ */
175
+ returnType?: ChunkTextChunkingRequestKnowledgeReturnType | undefined;
176
+ strategy: SemanticChunker;
177
+ /**
178
+ * Maximum tokens per chunk
179
+ */
180
+ chunkSize?: number | undefined;
181
+ /**
182
+ * Similarity threshold for grouping (0-1) or "auto" for automatic detection
183
+ */
184
+ threshold?: number | Threshold2 | undefined;
185
+ /**
186
+ * Embedding model to use for semantic similarity. (Available embedding models)[https://docs.orq.ai/docs/proxy#embedding-models]
187
+ */
188
+ embeddingModel: string;
189
+ /**
190
+ * Chunking mode: window-based or sentence-based similarity
191
+ */
192
+ mode?: Mode | undefined;
193
+ /**
194
+ * Window size for similarity comparison
195
+ */
196
+ similarityWindow?: number | undefined;
197
+ };
198
+ /**
199
+ * Return format: chunks (with metadata) or texts (plain strings)
200
+ */
201
+ export declare const ChunkTextChunkingRequestReturnType: {
202
+ readonly Chunks: "chunks";
203
+ readonly Texts: "texts";
204
+ };
205
+ /**
206
+ * Return format: chunks (with metadata) or texts (plain strings)
207
+ */
208
+ export type ChunkTextChunkingRequestReturnType = ClosedEnum<typeof ChunkTextChunkingRequestReturnType>;
209
+ export declare const RecursiveChunker: {
210
+ readonly Recursive: "recursive";
211
+ };
212
+ export type RecursiveChunker = ClosedEnum<typeof RecursiveChunker>;
213
+ /**
214
+ * Recursively splits text using a hierarchy of separators (paragraphs, sentences, words). Versatile general-purpose chunker that preserves document structure.
215
+ */
216
+ export type RecursiveChunkerStrategy = {
217
+ /**
218
+ * The text content to be chunked
219
+ */
220
+ text: string;
221
+ /**
222
+ * Whether to include metadata for each chunk
223
+ */
224
+ metadata?: boolean | undefined;
225
+ /**
226
+ * Return format: chunks (with metadata) or texts (plain strings)
227
+ */
228
+ returnType?: ChunkTextChunkingRequestReturnType | undefined;
229
+ strategy: RecursiveChunker;
230
+ /**
231
+ * Maximum tokens per chunk
232
+ */
233
+ chunkSize?: number | undefined;
234
+ /**
235
+ * Hierarchy of separators to use for splitting
236
+ */
237
+ separators?: Array<string> | undefined;
238
+ /**
239
+ * Minimum characters allowed per chunk
240
+ */
241
+ minCharactersPerChunk?: number | undefined;
242
+ };
243
+ /**
244
+ * Return format: chunks (with metadata) or texts (plain strings)
245
+ */
246
+ export declare const ChunkingRequestReturnType: {
247
+ readonly Chunks: "chunks";
248
+ readonly Texts: "texts";
249
+ };
250
+ /**
251
+ * Return format: chunks (with metadata) or texts (plain strings)
252
+ */
253
+ export type ChunkingRequestReturnType = ClosedEnum<typeof ChunkingRequestReturnType>;
254
+ export declare const SentenceChunker: {
255
+ readonly Sentence: "sentence";
256
+ };
257
+ export type SentenceChunker = ClosedEnum<typeof SentenceChunker>;
258
+ /**
259
+ * Splits text at sentence boundaries while respecting token limits. Ideal for maintaining semantic coherence and readability.
260
+ */
261
+ export type SentenceChunkerStrategy = {
262
+ /**
263
+ * The text content to be chunked
264
+ */
265
+ text: string;
266
+ /**
267
+ * Whether to include metadata for each chunk
268
+ */
269
+ metadata?: boolean | undefined;
270
+ /**
271
+ * Return format: chunks (with metadata) or texts (plain strings)
272
+ */
273
+ returnType?: ChunkingRequestReturnType | undefined;
274
+ strategy: SentenceChunker;
275
+ /**
276
+ * Maximum tokens per chunk
277
+ */
278
+ chunkSize?: number | undefined;
279
+ /**
280
+ * Number of overlapping tokens between chunks
281
+ */
282
+ chunkOverlap?: number | undefined;
283
+ /**
284
+ * Minimum number of sentences per chunk
285
+ */
286
+ minSentencesPerChunk?: number | undefined;
287
+ };
288
+ /**
289
+ * Return format: chunks (with metadata) or texts (plain strings)
290
+ */
291
+ export declare const ReturnTypeT: {
292
+ readonly Chunks: "chunks";
293
+ readonly Texts: "texts";
294
+ };
295
+ /**
296
+ * Return format: chunks (with metadata) or texts (plain strings)
297
+ */
298
+ export type ReturnTypeT = ClosedEnum<typeof ReturnTypeT>;
299
+ export declare const TokenChunker: {
300
+ readonly Token: "token";
301
+ };
302
+ export type TokenChunker = ClosedEnum<typeof TokenChunker>;
303
+ /**
304
+ * Splits text based on token count. Best for ensuring chunks fit within LLM context windows and maintaining consistent chunk sizes for embedding models.
305
+ */
306
+ export type TokenChunkerStrategy = {
307
+ /**
308
+ * The text content to be chunked
309
+ */
310
+ text: string;
311
+ /**
312
+ * Whether to include metadata for each chunk
313
+ */
314
+ metadata?: boolean | undefined;
315
+ /**
316
+ * Return format: chunks (with metadata) or texts (plain strings)
317
+ */
318
+ returnType?: ReturnTypeT | undefined;
319
+ strategy: TokenChunker;
320
+ /**
321
+ * Maximum tokens per chunk
322
+ */
323
+ chunkSize?: number | undefined;
324
+ /**
325
+ * Number of tokens to overlap between chunks
326
+ */
327
+ chunkOverlap?: number | undefined;
328
+ };
329
+ /**
330
+ * Request payload for text chunking with strategy-specific configuration
331
+ */
332
+ export type ChunkTextChunkingRequest = SemanticChunkerStrategy | SDPMChunkerStrategy | AgenticChunkerStrategy | TokenChunkerStrategy | SentenceChunkerStrategy | RecursiveChunkerStrategy;
333
+ export type ChunkTextMetadata = {
334
+ startIndex: number | null;
335
+ endIndex: number | null;
336
+ tokenCount: number | null;
337
+ };
338
+ export type Chunks = {
339
+ /**
340
+ * The text content of the chunk
341
+ */
342
+ text: string;
343
+ /**
344
+ * The position index of this chunk in the sequence
345
+ */
346
+ index: number;
347
+ metadata?: ChunkTextMetadata | undefined;
348
+ };
349
+ /**
350
+ * Text successfully chunked
351
+ */
352
+ export type ChunkTextResponseBody = {
353
+ chunks: Array<Chunks>;
354
+ };
355
+ /** @internal */
356
+ export declare const ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType$inboundSchema: z.ZodNativeEnum<typeof ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType>;
357
+ /** @internal */
358
+ export declare const ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType$outboundSchema: z.ZodNativeEnum<typeof ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType>;
359
+ /**
360
+ * @internal
361
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
362
+ */
363
+ export declare namespace ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType$ {
364
+ /** @deprecated use `ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType$inboundSchema` instead. */
365
+ const inboundSchema: z.ZodNativeEnum<{
366
+ readonly Chunks: "chunks";
367
+ readonly Texts: "texts";
368
+ }>;
369
+ /** @deprecated use `ChunkTextChunkingRequestKnowledgeRequestRequestBodyReturnType$outboundSchema` instead. */
370
+ const outboundSchema: z.ZodNativeEnum<{
371
+ readonly Chunks: "chunks";
372
+ readonly Texts: "texts";
373
+ }>;
374
+ }
375
+ /** @internal */
376
+ export declare const AgenticChunker$inboundSchema: z.ZodNativeEnum<typeof AgenticChunker>;
377
+ /** @internal */
378
+ export declare const AgenticChunker$outboundSchema: z.ZodNativeEnum<typeof AgenticChunker>;
379
+ /**
380
+ * @internal
381
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
382
+ */
383
+ export declare namespace AgenticChunker$ {
384
+ /** @deprecated use `AgenticChunker$inboundSchema` instead. */
385
+ const inboundSchema: z.ZodNativeEnum<{
386
+ readonly Agentic: "agentic";
387
+ }>;
388
+ /** @deprecated use `AgenticChunker$outboundSchema` instead. */
389
+ const outboundSchema: z.ZodNativeEnum<{
390
+ readonly Agentic: "agentic";
391
+ }>;
392
+ }
393
+ /** @internal */
394
+ export declare const AgenticChunkerStrategy$inboundSchema: z.ZodType<AgenticChunkerStrategy, z.ZodTypeDef, unknown>;
395
+ /** @internal */
396
+ export type AgenticChunkerStrategy$Outbound = {
397
+ text: string;
398
+ metadata: boolean;
399
+ return_type: string;
400
+ strategy: string;
401
+ model: string;
402
+ chunk_size: number;
403
+ candidate_size: number;
404
+ min_characters_per_chunk: number;
405
+ };
406
+ /** @internal */
407
+ export declare const AgenticChunkerStrategy$outboundSchema: z.ZodType<AgenticChunkerStrategy$Outbound, z.ZodTypeDef, AgenticChunkerStrategy>;
408
+ /**
409
+ * @internal
410
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
411
+ */
412
+ export declare namespace AgenticChunkerStrategy$ {
413
+ /** @deprecated use `AgenticChunkerStrategy$inboundSchema` instead. */
414
+ const inboundSchema: z.ZodType<AgenticChunkerStrategy, z.ZodTypeDef, unknown>;
415
+ /** @deprecated use `AgenticChunkerStrategy$outboundSchema` instead. */
416
+ const outboundSchema: z.ZodType<AgenticChunkerStrategy$Outbound, z.ZodTypeDef, AgenticChunkerStrategy>;
417
+ /** @deprecated use `AgenticChunkerStrategy$Outbound` instead. */
418
+ type Outbound = AgenticChunkerStrategy$Outbound;
419
+ }
420
+ export declare function agenticChunkerStrategyToJSON(agenticChunkerStrategy: AgenticChunkerStrategy): string;
421
+ export declare function agenticChunkerStrategyFromJSON(jsonString: string): SafeParseResult<AgenticChunkerStrategy, SDKValidationError>;
422
+ /** @internal */
423
+ export declare const ChunkTextChunkingRequestKnowledgeRequestReturnType$inboundSchema: z.ZodNativeEnum<typeof ChunkTextChunkingRequestKnowledgeRequestReturnType>;
424
+ /** @internal */
425
+ export declare const ChunkTextChunkingRequestKnowledgeRequestReturnType$outboundSchema: z.ZodNativeEnum<typeof ChunkTextChunkingRequestKnowledgeRequestReturnType>;
426
+ /**
427
+ * @internal
428
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
429
+ */
430
+ export declare namespace ChunkTextChunkingRequestKnowledgeRequestReturnType$ {
431
+ /** @deprecated use `ChunkTextChunkingRequestKnowledgeRequestReturnType$inboundSchema` instead. */
432
+ const inboundSchema: z.ZodNativeEnum<{
433
+ readonly Chunks: "chunks";
434
+ readonly Texts: "texts";
435
+ }>;
436
+ /** @deprecated use `ChunkTextChunkingRequestKnowledgeRequestReturnType$outboundSchema` instead. */
437
+ const outboundSchema: z.ZodNativeEnum<{
438
+ readonly Chunks: "chunks";
439
+ readonly Texts: "texts";
440
+ }>;
441
+ }
442
+ /** @internal */
443
+ export declare const SDPMChunker$inboundSchema: z.ZodNativeEnum<typeof SDPMChunker>;
444
+ /** @internal */
445
+ export declare const SDPMChunker$outboundSchema: z.ZodNativeEnum<typeof SDPMChunker>;
446
+ /**
447
+ * @internal
448
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
449
+ */
450
+ export declare namespace SDPMChunker$ {
451
+ /** @deprecated use `SDPMChunker$inboundSchema` instead. */
452
+ const inboundSchema: z.ZodNativeEnum<{
453
+ readonly Sdpm: "sdpm";
454
+ }>;
455
+ /** @deprecated use `SDPMChunker$outboundSchema` instead. */
456
+ const outboundSchema: z.ZodNativeEnum<{
457
+ readonly Sdpm: "sdpm";
458
+ }>;
459
+ }
460
+ /** @internal */
461
+ export declare const ChunkTextThreshold2$inboundSchema: z.ZodNativeEnum<typeof ChunkTextThreshold2>;
462
+ /** @internal */
463
+ export declare const ChunkTextThreshold2$outboundSchema: z.ZodNativeEnum<typeof ChunkTextThreshold2>;
464
+ /**
465
+ * @internal
466
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
467
+ */
468
+ export declare namespace ChunkTextThreshold2$ {
469
+ /** @deprecated use `ChunkTextThreshold2$inboundSchema` instead. */
470
+ const inboundSchema: z.ZodNativeEnum<{
471
+ readonly Auto: "auto";
472
+ }>;
473
+ /** @deprecated use `ChunkTextThreshold2$outboundSchema` instead. */
474
+ const outboundSchema: z.ZodNativeEnum<{
475
+ readonly Auto: "auto";
476
+ }>;
477
+ }
478
+ /** @internal */
479
+ export declare const ChunkingRequestThreshold$inboundSchema: z.ZodType<ChunkingRequestThreshold, z.ZodTypeDef, unknown>;
480
+ /** @internal */
481
+ export type ChunkingRequestThreshold$Outbound = number | string;
482
+ /** @internal */
483
+ export declare const ChunkingRequestThreshold$outboundSchema: z.ZodType<ChunkingRequestThreshold$Outbound, z.ZodTypeDef, ChunkingRequestThreshold>;
484
+ /**
485
+ * @internal
486
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
487
+ */
488
+ export declare namespace ChunkingRequestThreshold$ {
489
+ /** @deprecated use `ChunkingRequestThreshold$inboundSchema` instead. */
490
+ const inboundSchema: z.ZodType<ChunkingRequestThreshold, z.ZodTypeDef, unknown>;
491
+ /** @deprecated use `ChunkingRequestThreshold$outboundSchema` instead. */
492
+ const outboundSchema: z.ZodType<ChunkingRequestThreshold$Outbound, z.ZodTypeDef, ChunkingRequestThreshold>;
493
+ /** @deprecated use `ChunkingRequestThreshold$Outbound` instead. */
494
+ type Outbound = ChunkingRequestThreshold$Outbound;
495
+ }
496
+ export declare function chunkingRequestThresholdToJSON(chunkingRequestThreshold: ChunkingRequestThreshold): string;
497
+ export declare function chunkingRequestThresholdFromJSON(jsonString: string): SafeParseResult<ChunkingRequestThreshold, SDKValidationError>;
498
+ /** @internal */
499
+ export declare const ChunkingRequestMode$inboundSchema: z.ZodNativeEnum<typeof ChunkingRequestMode>;
500
+ /** @internal */
501
+ export declare const ChunkingRequestMode$outboundSchema: z.ZodNativeEnum<typeof ChunkingRequestMode>;
502
+ /**
503
+ * @internal
504
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
505
+ */
506
+ export declare namespace ChunkingRequestMode$ {
507
+ /** @deprecated use `ChunkingRequestMode$inboundSchema` instead. */
508
+ const inboundSchema: z.ZodNativeEnum<{
509
+ readonly Window: "window";
510
+ readonly Sentence: "sentence";
511
+ }>;
512
+ /** @deprecated use `ChunkingRequestMode$outboundSchema` instead. */
513
+ const outboundSchema: z.ZodNativeEnum<{
514
+ readonly Window: "window";
515
+ readonly Sentence: "sentence";
516
+ }>;
517
+ }
518
+ /** @internal */
519
+ export declare const SDPMChunkerStrategy$inboundSchema: z.ZodType<SDPMChunkerStrategy, z.ZodTypeDef, unknown>;
520
+ /** @internal */
521
+ export type SDPMChunkerStrategy$Outbound = {
522
+ text: string;
523
+ metadata: boolean;
524
+ return_type: string;
525
+ strategy: string;
526
+ chunk_size: number;
527
+ skip_window: number;
528
+ threshold?: number | string | undefined;
529
+ embedding_model: string;
530
+ mode: string;
531
+ };
532
+ /** @internal */
533
+ export declare const SDPMChunkerStrategy$outboundSchema: z.ZodType<SDPMChunkerStrategy$Outbound, z.ZodTypeDef, SDPMChunkerStrategy>;
534
+ /**
535
+ * @internal
536
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
537
+ */
538
+ export declare namespace SDPMChunkerStrategy$ {
539
+ /** @deprecated use `SDPMChunkerStrategy$inboundSchema` instead. */
540
+ const inboundSchema: z.ZodType<SDPMChunkerStrategy, z.ZodTypeDef, unknown>;
541
+ /** @deprecated use `SDPMChunkerStrategy$outboundSchema` instead. */
542
+ const outboundSchema: z.ZodType<SDPMChunkerStrategy$Outbound, z.ZodTypeDef, SDPMChunkerStrategy>;
543
+ /** @deprecated use `SDPMChunkerStrategy$Outbound` instead. */
544
+ type Outbound = SDPMChunkerStrategy$Outbound;
545
+ }
546
+ export declare function sdpmChunkerStrategyToJSON(sdpmChunkerStrategy: SDPMChunkerStrategy): string;
547
+ export declare function sdpmChunkerStrategyFromJSON(jsonString: string): SafeParseResult<SDPMChunkerStrategy, SDKValidationError>;
548
+ /** @internal */
549
+ export declare const ChunkTextChunkingRequestKnowledgeReturnType$inboundSchema: z.ZodNativeEnum<typeof ChunkTextChunkingRequestKnowledgeReturnType>;
550
+ /** @internal */
551
+ export declare const ChunkTextChunkingRequestKnowledgeReturnType$outboundSchema: z.ZodNativeEnum<typeof ChunkTextChunkingRequestKnowledgeReturnType>;
552
+ /**
553
+ * @internal
554
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
555
+ */
556
+ export declare namespace ChunkTextChunkingRequestKnowledgeReturnType$ {
557
+ /** @deprecated use `ChunkTextChunkingRequestKnowledgeReturnType$inboundSchema` instead. */
558
+ const inboundSchema: z.ZodNativeEnum<{
559
+ readonly Chunks: "chunks";
560
+ readonly Texts: "texts";
561
+ }>;
562
+ /** @deprecated use `ChunkTextChunkingRequestKnowledgeReturnType$outboundSchema` instead. */
563
+ const outboundSchema: z.ZodNativeEnum<{
564
+ readonly Chunks: "chunks";
565
+ readonly Texts: "texts";
566
+ }>;
567
+ }
568
+ /** @internal */
569
+ export declare const SemanticChunker$inboundSchema: z.ZodNativeEnum<typeof SemanticChunker>;
570
+ /** @internal */
571
+ export declare const SemanticChunker$outboundSchema: z.ZodNativeEnum<typeof SemanticChunker>;
572
+ /**
573
+ * @internal
574
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
575
+ */
576
+ export declare namespace SemanticChunker$ {
577
+ /** @deprecated use `SemanticChunker$inboundSchema` instead. */
578
+ const inboundSchema: z.ZodNativeEnum<{
579
+ readonly Semantic: "semantic";
580
+ }>;
581
+ /** @deprecated use `SemanticChunker$outboundSchema` instead. */
582
+ const outboundSchema: z.ZodNativeEnum<{
583
+ readonly Semantic: "semantic";
584
+ }>;
585
+ }
586
+ /** @internal */
587
+ export declare const Threshold2$inboundSchema: z.ZodNativeEnum<typeof Threshold2>;
588
+ /** @internal */
589
+ export declare const Threshold2$outboundSchema: z.ZodNativeEnum<typeof Threshold2>;
590
+ /**
591
+ * @internal
592
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
593
+ */
594
+ export declare namespace Threshold2$ {
595
+ /** @deprecated use `Threshold2$inboundSchema` instead. */
596
+ const inboundSchema: z.ZodNativeEnum<{
597
+ readonly Auto: "auto";
598
+ }>;
599
+ /** @deprecated use `Threshold2$outboundSchema` instead. */
600
+ const outboundSchema: z.ZodNativeEnum<{
601
+ readonly Auto: "auto";
602
+ }>;
603
+ }
604
+ /** @internal */
605
+ export declare const Threshold$inboundSchema: z.ZodType<Threshold, z.ZodTypeDef, unknown>;
606
+ /** @internal */
607
+ export type Threshold$Outbound = number | string;
608
+ /** @internal */
609
+ export declare const Threshold$outboundSchema: z.ZodType<Threshold$Outbound, z.ZodTypeDef, Threshold>;
610
+ /**
611
+ * @internal
612
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
613
+ */
614
+ export declare namespace Threshold$ {
615
+ /** @deprecated use `Threshold$inboundSchema` instead. */
616
+ const inboundSchema: z.ZodType<Threshold, z.ZodTypeDef, unknown>;
617
+ /** @deprecated use `Threshold$outboundSchema` instead. */
618
+ const outboundSchema: z.ZodType<Threshold$Outbound, z.ZodTypeDef, Threshold>;
619
+ /** @deprecated use `Threshold$Outbound` instead. */
620
+ type Outbound = Threshold$Outbound;
621
+ }
622
+ export declare function thresholdToJSON(threshold: Threshold): string;
623
+ export declare function thresholdFromJSON(jsonString: string): SafeParseResult<Threshold, SDKValidationError>;
624
+ /** @internal */
625
+ export declare const Mode$inboundSchema: z.ZodNativeEnum<typeof Mode>;
626
+ /** @internal */
627
+ export declare const Mode$outboundSchema: z.ZodNativeEnum<typeof Mode>;
628
+ /**
629
+ * @internal
630
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
631
+ */
632
+ export declare namespace Mode$ {
633
+ /** @deprecated use `Mode$inboundSchema` instead. */
634
+ const inboundSchema: z.ZodNativeEnum<{
635
+ readonly Window: "window";
636
+ readonly Sentence: "sentence";
637
+ }>;
638
+ /** @deprecated use `Mode$outboundSchema` instead. */
639
+ const outboundSchema: z.ZodNativeEnum<{
640
+ readonly Window: "window";
641
+ readonly Sentence: "sentence";
642
+ }>;
643
+ }
644
+ /** @internal */
645
+ export declare const SemanticChunkerStrategy$inboundSchema: z.ZodType<SemanticChunkerStrategy, z.ZodTypeDef, unknown>;
646
+ /** @internal */
647
+ export type SemanticChunkerStrategy$Outbound = {
648
+ text: string;
649
+ metadata: boolean;
650
+ return_type: string;
651
+ strategy: string;
652
+ chunk_size: number;
653
+ threshold?: number | string | undefined;
654
+ embedding_model: string;
655
+ mode: string;
656
+ similarity_window: number;
657
+ };
658
+ /** @internal */
659
+ export declare const SemanticChunkerStrategy$outboundSchema: z.ZodType<SemanticChunkerStrategy$Outbound, z.ZodTypeDef, SemanticChunkerStrategy>;
660
+ /**
661
+ * @internal
662
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
663
+ */
664
+ export declare namespace SemanticChunkerStrategy$ {
665
+ /** @deprecated use `SemanticChunkerStrategy$inboundSchema` instead. */
666
+ const inboundSchema: z.ZodType<SemanticChunkerStrategy, z.ZodTypeDef, unknown>;
667
+ /** @deprecated use `SemanticChunkerStrategy$outboundSchema` instead. */
668
+ const outboundSchema: z.ZodType<SemanticChunkerStrategy$Outbound, z.ZodTypeDef, SemanticChunkerStrategy>;
669
+ /** @deprecated use `SemanticChunkerStrategy$Outbound` instead. */
670
+ type Outbound = SemanticChunkerStrategy$Outbound;
671
+ }
672
+ export declare function semanticChunkerStrategyToJSON(semanticChunkerStrategy: SemanticChunkerStrategy): string;
673
+ export declare function semanticChunkerStrategyFromJSON(jsonString: string): SafeParseResult<SemanticChunkerStrategy, SDKValidationError>;
674
+ /** @internal */
675
+ export declare const ChunkTextChunkingRequestReturnType$inboundSchema: z.ZodNativeEnum<typeof ChunkTextChunkingRequestReturnType>;
676
+ /** @internal */
677
+ export declare const ChunkTextChunkingRequestReturnType$outboundSchema: z.ZodNativeEnum<typeof ChunkTextChunkingRequestReturnType>;
678
+ /**
679
+ * @internal
680
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
681
+ */
682
+ export declare namespace ChunkTextChunkingRequestReturnType$ {
683
+ /** @deprecated use `ChunkTextChunkingRequestReturnType$inboundSchema` instead. */
684
+ const inboundSchema: z.ZodNativeEnum<{
685
+ readonly Chunks: "chunks";
686
+ readonly Texts: "texts";
687
+ }>;
688
+ /** @deprecated use `ChunkTextChunkingRequestReturnType$outboundSchema` instead. */
689
+ const outboundSchema: z.ZodNativeEnum<{
690
+ readonly Chunks: "chunks";
691
+ readonly Texts: "texts";
692
+ }>;
693
+ }
694
+ /** @internal */
695
+ export declare const RecursiveChunker$inboundSchema: z.ZodNativeEnum<typeof RecursiveChunker>;
696
+ /** @internal */
697
+ export declare const RecursiveChunker$outboundSchema: z.ZodNativeEnum<typeof RecursiveChunker>;
698
+ /**
699
+ * @internal
700
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
701
+ */
702
+ export declare namespace RecursiveChunker$ {
703
+ /** @deprecated use `RecursiveChunker$inboundSchema` instead. */
704
+ const inboundSchema: z.ZodNativeEnum<{
705
+ readonly Recursive: "recursive";
706
+ }>;
707
+ /** @deprecated use `RecursiveChunker$outboundSchema` instead. */
708
+ const outboundSchema: z.ZodNativeEnum<{
709
+ readonly Recursive: "recursive";
710
+ }>;
711
+ }
712
+ /** @internal */
713
+ export declare const RecursiveChunkerStrategy$inboundSchema: z.ZodType<RecursiveChunkerStrategy, z.ZodTypeDef, unknown>;
714
+ /** @internal */
715
+ export type RecursiveChunkerStrategy$Outbound = {
716
+ text: string;
717
+ metadata: boolean;
718
+ return_type: string;
719
+ strategy: string;
720
+ chunk_size: number;
721
+ separators?: Array<string> | undefined;
722
+ min_characters_per_chunk: number;
723
+ };
724
+ /** @internal */
725
+ export declare const RecursiveChunkerStrategy$outboundSchema: z.ZodType<RecursiveChunkerStrategy$Outbound, z.ZodTypeDef, RecursiveChunkerStrategy>;
726
+ /**
727
+ * @internal
728
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
729
+ */
730
+ export declare namespace RecursiveChunkerStrategy$ {
731
+ /** @deprecated use `RecursiveChunkerStrategy$inboundSchema` instead. */
732
+ const inboundSchema: z.ZodType<RecursiveChunkerStrategy, z.ZodTypeDef, unknown>;
733
+ /** @deprecated use `RecursiveChunkerStrategy$outboundSchema` instead. */
734
+ const outboundSchema: z.ZodType<RecursiveChunkerStrategy$Outbound, z.ZodTypeDef, RecursiveChunkerStrategy>;
735
+ /** @deprecated use `RecursiveChunkerStrategy$Outbound` instead. */
736
+ type Outbound = RecursiveChunkerStrategy$Outbound;
737
+ }
738
+ export declare function recursiveChunkerStrategyToJSON(recursiveChunkerStrategy: RecursiveChunkerStrategy): string;
739
+ export declare function recursiveChunkerStrategyFromJSON(jsonString: string): SafeParseResult<RecursiveChunkerStrategy, SDKValidationError>;
740
+ /** @internal */
741
+ export declare const ChunkingRequestReturnType$inboundSchema: z.ZodNativeEnum<typeof ChunkingRequestReturnType>;
742
+ /** @internal */
743
+ export declare const ChunkingRequestReturnType$outboundSchema: z.ZodNativeEnum<typeof ChunkingRequestReturnType>;
744
+ /**
745
+ * @internal
746
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
747
+ */
748
+ export declare namespace ChunkingRequestReturnType$ {
749
+ /** @deprecated use `ChunkingRequestReturnType$inboundSchema` instead. */
750
+ const inboundSchema: z.ZodNativeEnum<{
751
+ readonly Chunks: "chunks";
752
+ readonly Texts: "texts";
753
+ }>;
754
+ /** @deprecated use `ChunkingRequestReturnType$outboundSchema` instead. */
755
+ const outboundSchema: z.ZodNativeEnum<{
756
+ readonly Chunks: "chunks";
757
+ readonly Texts: "texts";
758
+ }>;
759
+ }
760
+ /** @internal */
761
+ export declare const SentenceChunker$inboundSchema: z.ZodNativeEnum<typeof SentenceChunker>;
762
+ /** @internal */
763
+ export declare const SentenceChunker$outboundSchema: z.ZodNativeEnum<typeof SentenceChunker>;
764
+ /**
765
+ * @internal
766
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
767
+ */
768
+ export declare namespace SentenceChunker$ {
769
+ /** @deprecated use `SentenceChunker$inboundSchema` instead. */
770
+ const inboundSchema: z.ZodNativeEnum<{
771
+ readonly Sentence: "sentence";
772
+ }>;
773
+ /** @deprecated use `SentenceChunker$outboundSchema` instead. */
774
+ const outboundSchema: z.ZodNativeEnum<{
775
+ readonly Sentence: "sentence";
776
+ }>;
777
+ }
778
+ /** @internal */
779
+ export declare const SentenceChunkerStrategy$inboundSchema: z.ZodType<SentenceChunkerStrategy, z.ZodTypeDef, unknown>;
780
+ /** @internal */
781
+ export type SentenceChunkerStrategy$Outbound = {
782
+ text: string;
783
+ metadata: boolean;
784
+ return_type: string;
785
+ strategy: string;
786
+ chunk_size: number;
787
+ chunk_overlap: number;
788
+ min_sentences_per_chunk: number;
789
+ };
790
+ /** @internal */
791
+ export declare const SentenceChunkerStrategy$outboundSchema: z.ZodType<SentenceChunkerStrategy$Outbound, z.ZodTypeDef, SentenceChunkerStrategy>;
792
+ /**
793
+ * @internal
794
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
795
+ */
796
+ export declare namespace SentenceChunkerStrategy$ {
797
+ /** @deprecated use `SentenceChunkerStrategy$inboundSchema` instead. */
798
+ const inboundSchema: z.ZodType<SentenceChunkerStrategy, z.ZodTypeDef, unknown>;
799
+ /** @deprecated use `SentenceChunkerStrategy$outboundSchema` instead. */
800
+ const outboundSchema: z.ZodType<SentenceChunkerStrategy$Outbound, z.ZodTypeDef, SentenceChunkerStrategy>;
801
+ /** @deprecated use `SentenceChunkerStrategy$Outbound` instead. */
802
+ type Outbound = SentenceChunkerStrategy$Outbound;
803
+ }
804
+ export declare function sentenceChunkerStrategyToJSON(sentenceChunkerStrategy: SentenceChunkerStrategy): string;
805
+ export declare function sentenceChunkerStrategyFromJSON(jsonString: string): SafeParseResult<SentenceChunkerStrategy, SDKValidationError>;
806
+ /** @internal */
807
+ export declare const ReturnTypeT$inboundSchema: z.ZodNativeEnum<typeof ReturnTypeT>;
808
+ /** @internal */
809
+ export declare const ReturnTypeT$outboundSchema: z.ZodNativeEnum<typeof ReturnTypeT>;
810
+ /**
811
+ * @internal
812
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
813
+ */
814
+ export declare namespace ReturnTypeT$ {
815
+ /** @deprecated use `ReturnTypeT$inboundSchema` instead. */
816
+ const inboundSchema: z.ZodNativeEnum<{
817
+ readonly Chunks: "chunks";
818
+ readonly Texts: "texts";
819
+ }>;
820
+ /** @deprecated use `ReturnTypeT$outboundSchema` instead. */
821
+ const outboundSchema: z.ZodNativeEnum<{
822
+ readonly Chunks: "chunks";
823
+ readonly Texts: "texts";
824
+ }>;
825
+ }
826
+ /** @internal */
827
+ export declare const TokenChunker$inboundSchema: z.ZodNativeEnum<typeof TokenChunker>;
828
+ /** @internal */
829
+ export declare const TokenChunker$outboundSchema: z.ZodNativeEnum<typeof TokenChunker>;
830
+ /**
831
+ * @internal
832
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
833
+ */
834
+ export declare namespace TokenChunker$ {
835
+ /** @deprecated use `TokenChunker$inboundSchema` instead. */
836
+ const inboundSchema: z.ZodNativeEnum<{
837
+ readonly Token: "token";
838
+ }>;
839
+ /** @deprecated use `TokenChunker$outboundSchema` instead. */
840
+ const outboundSchema: z.ZodNativeEnum<{
841
+ readonly Token: "token";
842
+ }>;
843
+ }
844
+ /** @internal */
845
+ export declare const TokenChunkerStrategy$inboundSchema: z.ZodType<TokenChunkerStrategy, z.ZodTypeDef, unknown>;
846
+ /** @internal */
847
+ export type TokenChunkerStrategy$Outbound = {
848
+ text: string;
849
+ metadata: boolean;
850
+ return_type: string;
851
+ strategy: string;
852
+ chunk_size: number;
853
+ chunk_overlap: number;
854
+ };
855
+ /** @internal */
856
+ export declare const TokenChunkerStrategy$outboundSchema: z.ZodType<TokenChunkerStrategy$Outbound, z.ZodTypeDef, TokenChunkerStrategy>;
857
+ /**
858
+ * @internal
859
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
860
+ */
861
+ export declare namespace TokenChunkerStrategy$ {
862
+ /** @deprecated use `TokenChunkerStrategy$inboundSchema` instead. */
863
+ const inboundSchema: z.ZodType<TokenChunkerStrategy, z.ZodTypeDef, unknown>;
864
+ /** @deprecated use `TokenChunkerStrategy$outboundSchema` instead. */
865
+ const outboundSchema: z.ZodType<TokenChunkerStrategy$Outbound, z.ZodTypeDef, TokenChunkerStrategy>;
866
+ /** @deprecated use `TokenChunkerStrategy$Outbound` instead. */
867
+ type Outbound = TokenChunkerStrategy$Outbound;
868
+ }
869
+ export declare function tokenChunkerStrategyToJSON(tokenChunkerStrategy: TokenChunkerStrategy): string;
870
+ export declare function tokenChunkerStrategyFromJSON(jsonString: string): SafeParseResult<TokenChunkerStrategy, SDKValidationError>;
871
+ /** @internal */
872
+ export declare const ChunkTextChunkingRequest$inboundSchema: z.ZodType<ChunkTextChunkingRequest, z.ZodTypeDef, unknown>;
873
+ /** @internal */
874
+ export type ChunkTextChunkingRequest$Outbound = SemanticChunkerStrategy$Outbound | SDPMChunkerStrategy$Outbound | AgenticChunkerStrategy$Outbound | TokenChunkerStrategy$Outbound | SentenceChunkerStrategy$Outbound | RecursiveChunkerStrategy$Outbound;
875
+ /** @internal */
876
+ export declare const ChunkTextChunkingRequest$outboundSchema: z.ZodType<ChunkTextChunkingRequest$Outbound, z.ZodTypeDef, ChunkTextChunkingRequest>;
877
+ /**
878
+ * @internal
879
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
880
+ */
881
+ export declare namespace ChunkTextChunkingRequest$ {
882
+ /** @deprecated use `ChunkTextChunkingRequest$inboundSchema` instead. */
883
+ const inboundSchema: z.ZodType<ChunkTextChunkingRequest, z.ZodTypeDef, unknown>;
884
+ /** @deprecated use `ChunkTextChunkingRequest$outboundSchema` instead. */
885
+ const outboundSchema: z.ZodType<ChunkTextChunkingRequest$Outbound, z.ZodTypeDef, ChunkTextChunkingRequest>;
886
+ /** @deprecated use `ChunkTextChunkingRequest$Outbound` instead. */
887
+ type Outbound = ChunkTextChunkingRequest$Outbound;
888
+ }
889
+ export declare function chunkTextChunkingRequestToJSON(chunkTextChunkingRequest: ChunkTextChunkingRequest): string;
890
+ export declare function chunkTextChunkingRequestFromJSON(jsonString: string): SafeParseResult<ChunkTextChunkingRequest, SDKValidationError>;
891
+ /** @internal */
892
+ export declare const ChunkTextMetadata$inboundSchema: z.ZodType<ChunkTextMetadata, z.ZodTypeDef, unknown>;
893
+ /** @internal */
894
+ export type ChunkTextMetadata$Outbound = {
895
+ start_index: number | null;
896
+ end_index: number | null;
897
+ token_count: number | null;
898
+ };
899
+ /** @internal */
900
+ export declare const ChunkTextMetadata$outboundSchema: z.ZodType<ChunkTextMetadata$Outbound, z.ZodTypeDef, ChunkTextMetadata>;
901
+ /**
902
+ * @internal
903
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
904
+ */
905
+ export declare namespace ChunkTextMetadata$ {
906
+ /** @deprecated use `ChunkTextMetadata$inboundSchema` instead. */
907
+ const inboundSchema: z.ZodType<ChunkTextMetadata, z.ZodTypeDef, unknown>;
908
+ /** @deprecated use `ChunkTextMetadata$outboundSchema` instead. */
909
+ const outboundSchema: z.ZodType<ChunkTextMetadata$Outbound, z.ZodTypeDef, ChunkTextMetadata>;
910
+ /** @deprecated use `ChunkTextMetadata$Outbound` instead. */
911
+ type Outbound = ChunkTextMetadata$Outbound;
912
+ }
913
+ export declare function chunkTextMetadataToJSON(chunkTextMetadata: ChunkTextMetadata): string;
914
+ export declare function chunkTextMetadataFromJSON(jsonString: string): SafeParseResult<ChunkTextMetadata, SDKValidationError>;
915
+ /** @internal */
916
+ export declare const Chunks$inboundSchema: z.ZodType<Chunks, z.ZodTypeDef, unknown>;
917
+ /** @internal */
918
+ export type Chunks$Outbound = {
919
+ text: string;
920
+ index: number;
921
+ metadata?: ChunkTextMetadata$Outbound | undefined;
922
+ };
923
+ /** @internal */
924
+ export declare const Chunks$outboundSchema: z.ZodType<Chunks$Outbound, z.ZodTypeDef, Chunks>;
925
+ /**
926
+ * @internal
927
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
928
+ */
929
+ export declare namespace Chunks$ {
930
+ /** @deprecated use `Chunks$inboundSchema` instead. */
931
+ const inboundSchema: z.ZodType<Chunks, z.ZodTypeDef, unknown>;
932
+ /** @deprecated use `Chunks$outboundSchema` instead. */
933
+ const outboundSchema: z.ZodType<Chunks$Outbound, z.ZodTypeDef, Chunks>;
934
+ /** @deprecated use `Chunks$Outbound` instead. */
935
+ type Outbound = Chunks$Outbound;
936
+ }
937
+ export declare function chunksToJSON(chunks: Chunks): string;
938
+ export declare function chunksFromJSON(jsonString: string): SafeParseResult<Chunks, SDKValidationError>;
939
+ /** @internal */
940
+ export declare const ChunkTextResponseBody$inboundSchema: z.ZodType<ChunkTextResponseBody, z.ZodTypeDef, unknown>;
941
+ /** @internal */
942
+ export type ChunkTextResponseBody$Outbound = {
943
+ chunks: Array<Chunks$Outbound>;
944
+ };
945
+ /** @internal */
946
+ export declare const ChunkTextResponseBody$outboundSchema: z.ZodType<ChunkTextResponseBody$Outbound, z.ZodTypeDef, ChunkTextResponseBody>;
947
+ /**
948
+ * @internal
949
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
950
+ */
951
+ export declare namespace ChunkTextResponseBody$ {
952
+ /** @deprecated use `ChunkTextResponseBody$inboundSchema` instead. */
953
+ const inboundSchema: z.ZodType<ChunkTextResponseBody, z.ZodTypeDef, unknown>;
954
+ /** @deprecated use `ChunkTextResponseBody$outboundSchema` instead. */
955
+ const outboundSchema: z.ZodType<ChunkTextResponseBody$Outbound, z.ZodTypeDef, ChunkTextResponseBody>;
956
+ /** @deprecated use `ChunkTextResponseBody$Outbound` instead. */
957
+ type Outbound = ChunkTextResponseBody$Outbound;
958
+ }
959
+ export declare function chunkTextResponseBodyToJSON(chunkTextResponseBody: ChunkTextResponseBody): string;
960
+ export declare function chunkTextResponseBodyFromJSON(jsonString: string): SafeParseResult<ChunkTextResponseBody, SDKValidationError>;
961
+ //# sourceMappingURL=chunktext.d.ts.map