@orq-ai/node 4.13.13 → 4.13.16

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 (580) hide show
  1. package/README.md +46 -37
  2. package/funcs/modelCatalogGet.d.ts +18 -0
  3. package/funcs/modelCatalogGet.d.ts.map +1 -0
  4. package/funcs/modelCatalogGet.js +121 -0
  5. package/funcs/modelCatalogGet.js.map +1 -0
  6. package/funcs/modelCatalogList.d.ts +18 -0
  7. package/funcs/modelCatalogList.d.ts.map +1 -0
  8. package/funcs/modelCatalogList.js +133 -0
  9. package/funcs/modelCatalogList.js.map +1 -0
  10. package/funcs/modelCatalogListOfferings.d.ts +18 -0
  11. package/funcs/modelCatalogListOfferings.d.ts.map +1 -0
  12. package/funcs/modelCatalogListOfferings.js +138 -0
  13. package/funcs/modelCatalogListOfferings.js.map +1 -0
  14. package/jsr.json +1 -1
  15. package/lib/config.d.ts +3 -3
  16. package/lib/config.js +3 -3
  17. package/models/components/evaluatorresponsefunction.js +2 -2
  18. package/models/components/evaluatorresponsehttp.js +2 -2
  19. package/models/components/evaluatorresponsejsonschema.js +2 -2
  20. package/models/components/evaluatorresponsellm.js +2 -2
  21. package/models/components/evaluatorresponsepython.js +2 -2
  22. package/models/components/evaluatorresponseragas.js +2 -2
  23. package/models/components/evaluatorresponsetypescript.js +2 -2
  24. package/models/components/getmodelcatalogmodelresponse.d.ts +14 -0
  25. package/models/components/getmodelcatalogmodelresponse.d.ts.map +1 -0
  26. package/models/components/getmodelcatalogmodelresponse.js +51 -0
  27. package/models/components/getmodelcatalogmodelresponse.js.map +1 -0
  28. package/models/components/index.d.ts +6 -0
  29. package/models/components/index.d.ts.map +1 -1
  30. package/models/components/index.js +6 -0
  31. package/models/components/index.js.map +1 -1
  32. package/models/components/listmodelcatalogofferingsresponse.d.ts +25 -0
  33. package/models/components/listmodelcatalogofferingsresponse.d.ts.map +1 -0
  34. package/models/components/listmodelcatalogofferingsresponse.js +58 -0
  35. package/models/components/listmodelcatalogofferingsresponse.js.map +1 -0
  36. package/models/components/listmodelcatalogresponse.d.ts +25 -0
  37. package/models/components/listmodelcatalogresponse.d.ts.map +1 -0
  38. package/models/components/listmodelcatalogresponse.js +58 -0
  39. package/models/components/listmodelcatalogresponse.js.map +1 -0
  40. package/models/components/model.d.ts +129 -0
  41. package/models/components/model.d.ts.map +1 -0
  42. package/models/components/model.js +91 -0
  43. package/models/components/model.js.map +1 -0
  44. package/models/components/modelmodalities.d.ts +17 -0
  45. package/models/components/modelmodalities.d.ts.map +1 -0
  46. package/models/components/modelmodalities.js +51 -0
  47. package/models/components/modelmodalities.js.map +1 -0
  48. package/models/components/modelprovider.d.ts +17 -0
  49. package/models/components/modelprovider.d.ts.map +1 -0
  50. package/models/components/modelprovider.js +51 -0
  51. package/models/components/modelprovider.js.map +1 -0
  52. package/models/components/reasoningpart.js +1 -1
  53. package/models/operations/billing.js +1 -1
  54. package/models/operations/createannotationqueue.js +1 -1
  55. package/models/operations/createdataset.js +1 -1
  56. package/models/operations/createdatasetitem.js +5 -5
  57. package/models/operations/createdatasource.js +1 -1
  58. package/models/operations/createtool.js +6 -6
  59. package/models/operations/getalltools.js +6 -6
  60. package/models/operations/geteval.js +16 -16
  61. package/models/operations/getv2humanevalsets.js +2 -2
  62. package/models/operations/getv2humanevalsetsid.js +2 -2
  63. package/models/operations/index.d.ts +3 -0
  64. package/models/operations/index.d.ts.map +1 -1
  65. package/models/operations/index.js +3 -0
  66. package/models/operations/index.js.map +1 -1
  67. package/models/operations/listannotationqueues.js +1 -1
  68. package/models/operations/listdatasetdatapoints.js +5 -5
  69. package/models/operations/listdatasets.js +1 -1
  70. package/models/operations/listdatasources.js +1 -1
  71. package/models/operations/modelcatalogget.d.ts +15 -0
  72. package/models/operations/modelcatalogget.d.ts.map +1 -0
  73. package/models/operations/modelcatalogget.js +49 -0
  74. package/models/operations/modelcatalogget.js.map +1 -0
  75. package/models/operations/modelcataloglist.d.ts +103 -0
  76. package/models/operations/modelcataloglist.d.ts.map +1 -0
  77. package/models/operations/modelcataloglist.js +74 -0
  78. package/models/operations/modelcataloglist.js.map +1 -0
  79. package/models/operations/modelcataloglistofferings.d.ts +106 -0
  80. package/models/operations/modelcataloglistofferings.d.ts.map +1 -0
  81. package/models/operations/modelcataloglistofferings.js +73 -0
  82. package/models/operations/modelcataloglistofferings.js.map +1 -0
  83. package/models/operations/patchv2humanevalsetsid.js +2 -2
  84. package/models/operations/postv2feedbackevaluation.js +4 -4
  85. package/models/operations/postv2humanevalsets.js +2 -2
  86. package/models/operations/retrieveannotationqueue.js +1 -1
  87. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
  88. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
  89. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
  90. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
  91. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
  92. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
  93. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
  94. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
  95. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
  96. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
  97. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
  98. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
  99. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
  100. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
  101. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
  102. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
  103. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
  104. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
  105. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
  106. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
  107. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
  108. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
  109. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
  110. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
  111. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
  112. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
  113. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
  114. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
  115. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
  116. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
  117. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
  118. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
  119. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
  120. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
  121. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
  122. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
  123. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
  124. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
  125. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
  126. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +2 -2
  127. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
  128. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
  129. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
  130. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
  131. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
  132. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
  133. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
  134. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
  135. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
  136. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
  137. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
  138. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
  139. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
  140. package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
  141. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
  142. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
  143. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
  144. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
  145. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
  146. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
  147. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
  148. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
  149. package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
  150. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
  151. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
  152. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
  153. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
  154. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
  155. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
  156. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
  157. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
  158. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
  159. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
  160. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
  161. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
  162. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
  163. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
  164. package/models/operations/retrievedatapoint.js +5 -5
  165. package/models/operations/retrievedataset.js +1 -1
  166. package/models/operations/retrievedatasource.js +1 -1
  167. package/models/operations/retrievetool.js +6 -6
  168. package/models/operations/runagent.js +1 -1
  169. package/models/operations/streamrunagent.js +1 -1
  170. package/models/operations/twenty.js +1 -1
  171. package/models/operations/updateannotationqueue.js +1 -1
  172. package/models/operations/updatedatapoint.js +5 -5
  173. package/models/operations/updatedataset.js +1 -1
  174. package/models/operations/updatedatasource.js +1 -1
  175. package/models/operations/updatetool.js +7 -7
  176. package/package.json +7 -7
  177. package/packages/orq-rc/src/funcs/agentsCreate.ts +1 -1
  178. package/packages/orq-rc/src/funcs/agentsDelete.ts +1 -1
  179. package/packages/orq-rc/src/funcs/agentsInvoke.ts +1 -1
  180. package/packages/orq-rc/src/funcs/agentsList.ts +1 -1
  181. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +1 -1
  182. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +1 -1
  183. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +1 -1
  184. package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
  185. package/packages/orq-rc/src/funcs/agentsStream.ts +1 -1
  186. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
  187. package/packages/orq-rc/src/funcs/agentsUpdate.ts +1 -1
  188. package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +3 -0
  189. package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +3 -0
  190. package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +1 -1
  191. package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +3 -0
  192. package/packages/orq-rc/src/funcs/chunkingParse.ts +5 -4
  193. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +4 -7
  194. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +3 -0
  195. package/packages/orq-rc/src/funcs/evalsAll.ts +3 -0
  196. package/packages/orq-rc/src/funcs/evalsCreate.ts +3 -0
  197. package/packages/orq-rc/src/funcs/evalsDelete.ts +3 -0
  198. package/packages/orq-rc/src/funcs/evalsGet.ts +1 -5
  199. package/packages/orq-rc/src/funcs/evalsInvoke.ts +13 -24
  200. package/packages/orq-rc/src/funcs/evalsUpdate.ts +3 -0
  201. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +1 -1
  202. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +11 -8
  203. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +8 -4
  204. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +11 -5
  205. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +3 -0
  206. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +11 -5
  207. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +8 -5
  208. package/packages/orq-rc/src/funcs/knowledgeList.ts +5 -4
  209. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +8 -4
  210. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +11 -5
  211. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +8 -5
  212. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +5 -4
  213. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +8 -4
  214. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +8 -4
  215. package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +187 -0
  216. package/packages/orq-rc/src/funcs/knowledgeRetrieveProcessingStatus.ts +180 -0
  217. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +8 -5
  218. package/packages/orq-rc/src/funcs/knowledgeToggleChunk.ts +181 -0
  219. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +11 -5
  220. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +11 -5
  221. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +11 -5
  222. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +9 -14
  223. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +8 -5
  224. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +8 -5
  225. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +4 -4
  226. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +4 -4
  227. package/packages/orq-rc/src/funcs/memoryStoresList.ts +5 -4
  228. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +5 -4
  229. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +5 -4
  230. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +5 -4
  231. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +5 -4
  232. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +5 -4
  233. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +8 -5
  234. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +8 -5
  235. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +8 -5
  236. package/packages/orq-rc/src/funcs/modelCatalogGet.ts +168 -0
  237. package/packages/orq-rc/src/funcs/modelCatalogList.ts +184 -0
  238. package/packages/orq-rc/src/funcs/modelCatalogListOfferings.ts +186 -0
  239. package/packages/orq-rc/src/funcs/promptsCreate.ts +3 -0
  240. package/packages/orq-rc/src/funcs/promptsDelete.ts +3 -0
  241. package/packages/orq-rc/src/funcs/promptsUpdate.ts +3 -0
  242. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +3 -0
  243. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +3 -0
  244. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +3 -0
  245. package/packages/orq-rc/src/funcs/toolsList.ts +1 -1
  246. package/packages/orq-rc/src/lib/config.ts +3 -3
  247. package/packages/orq-rc/src/models/components/agenticragconfig.ts +43 -0
  248. package/packages/orq-rc/src/models/components/agentresponserequest.ts +14 -10
  249. package/packages/orq-rc/src/models/components/alertcondition.ts +3 -4
  250. package/packages/orq-rc/src/models/components/chunk.ts +35 -0
  251. package/packages/orq-rc/src/models/components/chunkingcleanupoptions.ts +64 -0
  252. package/packages/orq-rc/src/models/components/chunkingconfiguration.ts +111 -0
  253. package/packages/orq-rc/src/models/components/chunkmetadata.ts +42 -0
  254. package/packages/orq-rc/src/models/components/chunkprocessingattempts.ts +42 -0
  255. package/packages/orq-rc/src/models/components/chunksservicecountrequest.ts +63 -0
  256. package/packages/orq-rc/src/models/components/chunksservicecountresponse.ts +31 -0
  257. package/packages/orq-rc/src/models/components/chunksservicedeletemanyrequest.ts +41 -0
  258. package/packages/orq-rc/src/models/components/chunksservicedeletemanyresponse.ts +39 -0
  259. package/packages/orq-rc/src/models/components/chunksservicelistpaginatedrequest.ts +71 -0
  260. package/packages/orq-rc/src/models/components/chunksservicelistpaginatedresponse.ts +58 -0
  261. package/packages/orq-rc/src/models/components/chunksservicelistresponse.ts +57 -0
  262. package/packages/orq-rc/src/models/components/chunksservicesetenabledrequest.ts +33 -0
  263. package/packages/orq-rc/src/models/components/chunksserviceupdaterequest.ts +68 -0
  264. package/packages/orq-rc/src/models/components/countmetadata.ts +86 -0
  265. package/packages/orq-rc/src/models/components/createguardrailrulerequest.ts +0 -3
  266. package/packages/orq-rc/src/models/components/creatememorydocumentrequest.ts +42 -0
  267. package/packages/orq-rc/src/models/components/creatememoryrequest.ts +39 -0
  268. package/packages/orq-rc/src/models/components/creatememorystorerequest.ts +59 -0
  269. package/packages/orq-rc/src/models/components/datasource.ts +108 -0
  270. package/packages/orq-rc/src/models/components/datasourceattachment.ts +64 -0
  271. package/packages/orq-rc/src/models/components/datasourcechunkingoptions.ts +53 -0
  272. package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +79 -0
  273. package/packages/orq-rc/src/models/components/datasourcesservicegetprocessingstatusresponse.ts +69 -0
  274. package/packages/orq-rc/src/models/components/datasourcesservicelistresponse.ts +55 -0
  275. package/packages/orq-rc/src/models/components/datasourcesserviceupdaterequest.ts +41 -0
  276. package/packages/orq-rc/src/models/components/domain.ts +12 -1
  277. package/packages/orq-rc/src/models/components/embeddingsconfig.ts +92 -0
  278. package/packages/orq-rc/src/models/components/embeddingsmodelparameters.ts +64 -0
  279. package/packages/orq-rc/src/models/components/evaluationcontext.ts +84 -0
  280. package/packages/orq-rc/src/models/components/evaluationresult.ts +108 -0
  281. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
  282. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
  283. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  284. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
  285. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
  286. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
  287. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
  288. package/packages/orq-rc/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
  289. package/packages/orq-rc/src/models/components/getuploadfileurlresponse.ts +37 -0
  290. package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -5
  291. package/packages/orq-rc/src/models/components/index.ts +78 -1
  292. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +3 -0
  293. package/packages/orq-rc/src/models/components/internalretrievalconfig.ts +44 -0
  294. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +100 -160
  295. package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +133 -0
  296. package/packages/orq-rc/src/models/components/invokeevaluatorresponse.ts +47 -0
  297. package/packages/orq-rc/src/models/components/knowledge.ts +558 -0
  298. package/packages/orq-rc/src/models/components/knowledgebasesservicecreaterequest.ts +439 -0
  299. package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +51 -0
  300. package/packages/orq-rc/src/models/components/knowledgebasesserviceupdaterequest.ts +649 -0
  301. package/packages/orq-rc/src/models/components/knowledgechunk.ts +120 -0
  302. package/packages/orq-rc/src/models/components/knowledgemetadata.ts +48 -0
  303. package/packages/orq-rc/src/models/components/knowledgesettings.ts +54 -0
  304. package/packages/orq-rc/src/models/components/knowledgeupdatesettings.ts +55 -0
  305. package/packages/orq-rc/src/models/components/listmemoriesresponse.ts +54 -0
  306. package/packages/orq-rc/src/models/components/listmemorydocumentsresponse.ts +57 -0
  307. package/packages/orq-rc/src/models/components/listmemorystoresresponse.ts +54 -0
  308. package/packages/orq-rc/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
  309. package/packages/orq-rc/src/models/components/listmodelcatalogresponse.ts +53 -0
  310. package/packages/orq-rc/src/models/components/memory.ts +74 -0
  311. package/packages/orq-rc/src/models/components/memorydocument.ts +65 -0
  312. package/packages/orq-rc/src/models/components/memorystore.ts +80 -0
  313. package/packages/orq-rc/src/models/components/memorystoreembeddingconfig.ts +54 -0
  314. package/packages/orq-rc/src/models/components/model.ts +203 -0
  315. package/packages/orq-rc/src/models/components/modelartificialanalysis.ts +95 -0
  316. package/packages/orq-rc/src/models/components/modelmodalities.ts +39 -0
  317. package/packages/orq-rc/src/models/components/modelparameter.ts +49 -0
  318. package/packages/orq-rc/src/models/components/modelprovider.ts +60 -0
  319. package/packages/orq-rc/src/models/components/parseresponse.ts +32 -0
  320. package/packages/orq-rc/src/models/components/processingattempt.ts +52 -0
  321. package/packages/orq-rc/src/models/components/processingerror.ts +33 -0
  322. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +9 -6
  323. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  324. package/packages/orq-rc/src/models/components/rerankconfig.ts +58 -0
  325. package/packages/orq-rc/src/models/components/rerankmodelparameters.ts +31 -0
  326. package/packages/orq-rc/src/models/components/searchknowledgematch.ts +77 -0
  327. package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +1656 -0
  328. package/packages/orq-rc/src/models/components/searchknowledgeresponse.ts +38 -0
  329. package/packages/orq-rc/src/models/components/searchknowledgescores.ts +39 -0
  330. package/packages/orq-rc/src/models/components/searchoptions.ts +49 -0
  331. package/packages/orq-rc/src/models/components/searchrerankconfig.ts +51 -0
  332. package/packages/orq-rc/src/models/components/searchretrievalconfig.ts +153 -0
  333. package/packages/orq-rc/src/models/components/searchtype.ts +17 -0
  334. package/packages/orq-rc/src/models/components/structuredinput.ts +51 -0
  335. package/packages/orq-rc/src/models/components/structuredoutput.ts +44 -0
  336. package/packages/orq-rc/src/models/components/structuredtoolcall.ts +43 -0
  337. package/packages/orq-rc/src/models/components/updateguardrailrulerequest.ts +0 -3
  338. package/packages/orq-rc/src/models/components/updatememorydocumentrequest.ts +42 -0
  339. package/packages/orq-rc/src/models/components/updatememoryrequest.ts +31 -0
  340. package/packages/orq-rc/src/models/components/updatememorystorerequest.ts +37 -0
  341. package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +17 -10
  342. package/packages/orq-rc/src/models/components/uploadpostpolicy.ts +33 -0
  343. package/packages/orq-rc/src/models/components/upsertchunk.ts +59 -0
  344. package/packages/orq-rc/src/models/errors/index.ts +1 -1
  345. package/packages/orq-rc/src/models/errors/knowledgeapierror.ts +59 -0
  346. package/packages/orq-rc/src/models/operations/createannotationqueue.ts +1 -1
  347. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +171 -353
  348. package/packages/orq-rc/src/models/operations/createchunk.ts +4 -181
  349. package/packages/orq-rc/src/models/operations/createcompletion.ts +17 -125
  350. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  351. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +35 -41
  352. package/packages/orq-rc/src/models/operations/createdatasource.ts +7 -486
  353. package/packages/orq-rc/src/models/operations/creatememory.ts +5 -106
  354. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +6 -110
  355. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +6 -6
  356. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  357. package/packages/orq-rc/src/models/operations/createtranscription.ts +28 -33
  358. package/packages/orq-rc/src/models/operations/deletechunk.ts +8 -17
  359. package/packages/orq-rc/src/models/operations/deletechunks.ts +7 -85
  360. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -6
  361. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -3
  362. package/packages/orq-rc/src/models/operations/deletememory.ts +0 -6
  363. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -9
  364. package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -3
  365. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +227 -398
  366. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +24 -24
  367. package/packages/orq-rc/src/models/operations/deploymentstream.ts +45 -160
  368. package/packages/orq-rc/src/models/operations/getallmemories.ts +1 -109
  369. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +1 -107
  370. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1 -149
  371. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  372. package/packages/orq-rc/src/models/operations/getchunkscount.ts +6 -141
  373. package/packages/orq-rc/src/models/operations/geteval.ts +25 -25
  374. package/packages/orq-rc/src/models/operations/getonechunk.ts +8 -135
  375. package/packages/orq-rc/src/models/operations/getonedatasourceprocessingstatus.ts +43 -0
  376. package/packages/orq-rc/src/models/operations/getonefileuploadurl.ts +54 -0
  377. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -616
  378. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  379. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  380. package/packages/orq-rc/src/models/operations/index.ts +6 -2
  381. package/packages/orq-rc/src/models/operations/invokeeval.ts +5 -1298
  382. package/packages/orq-rc/src/models/operations/listannotationqueueitems.ts +50 -58
  383. package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
  384. package/packages/orq-rc/src/models/operations/listchunks.ts +1 -159
  385. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +8 -269
  386. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
  387. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  388. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -242
  389. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -589
  390. package/packages/orq-rc/src/models/operations/modelcatalogget.ts +34 -0
  391. package/packages/orq-rc/src/models/operations/modelcataloglist.ts +163 -0
  392. package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +175 -0
  393. package/packages/orq-rc/src/models/operations/parse.ts +114 -89
  394. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  395. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +24 -30
  396. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  397. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +7 -11
  398. package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
  399. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +16 -16
  400. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  401. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -182
  402. package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -72
  403. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -72
  404. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -108
  405. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  406. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  407. package/packages/orq-rc/src/models/operations/searchknowledge.ts +13 -1728
  408. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  409. package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
  410. package/packages/orq-rc/src/models/operations/updatechunk.ts +14 -200
  411. package/packages/orq-rc/src/models/operations/updatechunkenabled.ts +51 -0
  412. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
  413. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  414. package/packages/orq-rc/src/models/operations/updatedatasource.ts +7 -216
  415. package/packages/orq-rc/src/models/operations/updateknowledge.ts +8 -1223
  416. package/packages/orq-rc/src/models/operations/updatememory.ts +5 -102
  417. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +6 -113
  418. package/packages/orq-rc/src/models/operations/updatememorystore.ts +5 -152
  419. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  420. package/packages/orq-rc/src/sdk/agents.ts +9 -9
  421. package/packages/orq-rc/src/sdk/annotationqueues.ts +10 -1
  422. package/packages/orq-rc/src/sdk/chunking.ts +2 -1
  423. package/packages/orq-rc/src/sdk/datasets.ts +4 -1
  424. package/packages/orq-rc/src/sdk/evals.ts +18 -6
  425. package/packages/orq-rc/src/sdk/feedback.ts +0 -6
  426. package/packages/orq-rc/src/sdk/guardrailrules.ts +1 -1
  427. package/packages/orq-rc/src/sdk/knowledge.ts +151 -57
  428. package/packages/orq-rc/src/sdk/memorystores.ts +57 -56
  429. package/packages/orq-rc/src/sdk/modelcatalog.ts +64 -0
  430. package/packages/orq-rc/src/sdk/moderations.ts +3 -0
  431. package/packages/orq-rc/src/sdk/orqresponses.ts +2 -2
  432. package/packages/orq-rc/src/sdk/prompts.ts +9 -0
  433. package/packages/orq-rc/src/sdk/sdk.ts +21 -15
  434. package/packages/orq-rc/src/sdk/tools.ts +1 -1
  435. package/packages/orq-rc/src/sdk/transcriptions.ts +3 -0
  436. package/packages/orq-rc/src/sdk/translations.ts +3 -0
  437. package/sdk/modelcatalog.d.ts +27 -0
  438. package/sdk/modelcatalog.d.ts.map +1 -0
  439. package/sdk/modelcatalog.js +42 -0
  440. package/sdk/modelcatalog.js.map +1 -0
  441. package/sdk/sdk.d.ts +3 -0
  442. package/sdk/sdk.d.ts.map +1 -1
  443. package/sdk/sdk.js +4 -0
  444. package/sdk/sdk.js.map +1 -1
  445. package/src/funcs/modelCatalogGet.ts +168 -0
  446. package/src/funcs/modelCatalogList.ts +182 -0
  447. package/src/funcs/modelCatalogListOfferings.ts +187 -0
  448. package/src/lib/config.ts +3 -3
  449. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  450. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  451. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  452. package/src/models/components/evaluatorresponsellm.ts +2 -2
  453. package/src/models/components/evaluatorresponsepython.ts +2 -2
  454. package/src/models/components/evaluatorresponseragas.ts +2 -2
  455. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  456. package/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
  457. package/src/models/components/index.ts +6 -0
  458. package/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
  459. package/src/models/components/listmodelcatalogresponse.ts +53 -0
  460. package/src/models/components/model.ts +206 -0
  461. package/src/models/components/modelmodalities.ts +39 -0
  462. package/src/models/components/modelprovider.ts +39 -0
  463. package/src/models/components/reasoningpart.ts +1 -1
  464. package/src/models/operations/billing.ts +1 -1
  465. package/src/models/operations/createannotationqueue.ts +1 -1
  466. package/src/models/operations/createdataset.ts +1 -1
  467. package/src/models/operations/createdatasetitem.ts +5 -5
  468. package/src/models/operations/createdatasource.ts +1 -1
  469. package/src/models/operations/createtool.ts +6 -6
  470. package/src/models/operations/getalltools.ts +6 -6
  471. package/src/models/operations/geteval.ts +16 -16
  472. package/src/models/operations/getv2humanevalsets.ts +2 -2
  473. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  474. package/src/models/operations/index.ts +3 -0
  475. package/src/models/operations/listannotationqueues.ts +1 -1
  476. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  477. package/src/models/operations/listdatasets.ts +1 -1
  478. package/src/models/operations/listdatasources.ts +1 -1
  479. package/src/models/operations/modelcatalogget.ts +34 -0
  480. package/src/models/operations/modelcataloglist.ts +147 -0
  481. package/src/models/operations/modelcataloglistofferings.ts +151 -0
  482. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  483. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  484. package/src/models/operations/postv2humanevalsets.ts +2 -2
  485. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  486. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
  487. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
  488. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
  489. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
  490. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
  491. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
  492. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
  493. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
  494. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
  495. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
  496. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
  497. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
  498. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
  499. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
  500. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
  501. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
  502. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
  503. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
  504. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
  505. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
  506. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
  507. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
  508. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
  509. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
  510. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
  511. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
  512. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
  513. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
  514. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
  515. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
  516. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
  517. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
  518. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
  519. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
  520. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
  521. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
  522. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
  523. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
  524. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
  525. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
  526. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
  527. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
  528. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
  529. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
  530. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
  531. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
  532. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
  533. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
  534. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
  535. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
  536. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
  537. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
  538. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
  539. package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
  540. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
  541. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
  542. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
  543. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
  544. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
  545. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
  546. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
  547. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
  548. package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
  549. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
  550. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
  551. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
  552. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
  553. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
  554. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
  555. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
  556. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
  557. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
  558. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
  559. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
  560. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
  561. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
  562. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
  563. package/src/models/operations/retrievedatapoint.ts +5 -5
  564. package/src/models/operations/retrievedataset.ts +1 -1
  565. package/src/models/operations/retrievedatasource.ts +1 -1
  566. package/src/models/operations/retrievetool.ts +6 -6
  567. package/src/models/operations/runagent.ts +1 -1
  568. package/src/models/operations/streamrunagent.ts +1 -1
  569. package/src/models/operations/twenty.ts +1 -1
  570. package/src/models/operations/updateannotationqueue.ts +1 -1
  571. package/src/models/operations/updatedatapoint.ts +5 -5
  572. package/src/models/operations/updatedataset.ts +1 -1
  573. package/src/models/operations/updatedatasource.ts +1 -1
  574. package/src/models/operations/updatetool.ts +7 -7
  575. package/src/sdk/modelcatalog.ts +64 -0
  576. package/src/sdk/sdk.ts +6 -0
  577. package/packages/orq-rc/src/models/components/evaluatorvariablevalue.ts +0 -38
  578. package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -141
  579. package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -1117
  580. package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -199
@@ -4,273 +4,11 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { ClosedEnum } from "../../types/enums.js";
9
- import { Result as SafeParseResult } from "../../types/fp.js";
10
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
7
 
12
8
  export type GetOneKnowledgeRequest = {
13
- /**
14
- * Unique identifier of the knowledge base
15
- */
16
9
  knowledgeId: string;
17
10
  };
18
11
 
19
- export const GetOneKnowledgeResponseBodyKnowledgeType = {
20
- External: "external",
21
- } as const;
22
- export type GetOneKnowledgeResponseBodyKnowledgeType = ClosedEnum<
23
- typeof GetOneKnowledgeResponseBodyKnowledgeType
24
- >;
25
-
26
- /**
27
- * The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision.
28
- */
29
- export type GetOneKnowledgeResponseBodyKnowledgeRerankConfig = {
30
- /**
31
- * The number of results to return by the reranking model
32
- */
33
- topK: number;
34
- /**
35
- * The threshold value used to filter the rerank results, only documents with a relevance score greater than the threshold will be returned
36
- */
37
- rerankThreshold: number;
38
- /**
39
- * The rerank model to use for the knowledge base.
40
- */
41
- rerankModel: string;
42
- };
43
-
44
- /**
45
- * The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
46
- */
47
- export type GetOneKnowledgeResponseBodyKnowledgeAgenticRagConfig = {
48
- /**
49
- * The model to use for the Agentic RAG
50
- */
51
- model: string;
52
- };
53
-
54
- /**
55
- * The retrieval settings for the knowledge base.
56
- */
57
- export type GetOneKnowledgeResponseBodyKnowledgeRetrievalSettings = {
58
- /**
59
- * The number of results to return from the search.
60
- */
61
- topK: number;
62
- /**
63
- * The threshold value used to filter the search results, only documents with a relevance score greater than the threshold will be returned
64
- */
65
- threshold: number;
66
- /**
67
- * The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision.
68
- */
69
- rerankConfig?:
70
- | GetOneKnowledgeResponseBodyKnowledgeRerankConfig
71
- | null
72
- | undefined;
73
- /**
74
- * The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
75
- */
76
- agenticRagConfig?:
77
- | GetOneKnowledgeResponseBodyKnowledgeAgenticRagConfig
78
- | null
79
- | undefined;
80
- };
81
-
82
- export type GetOneKnowledgeResponseBodyExternalConfig = {
83
- /**
84
- * The name of the external knowledge base.
85
- */
86
- name: string;
87
- /**
88
- * The API URL of the external knowledge base.
89
- */
90
- apiUrl: string;
91
- };
92
-
93
- export type GetOneKnowledgeResponseBody2 = {
94
- /**
95
- * The unique identifier of the knowledge base.
96
- */
97
- id: string;
98
- /**
99
- * The creation date of the knowledge base.
100
- */
101
- created: string;
102
- /**
103
- * The description of the knowledge base.
104
- */
105
- description?: string | null | undefined;
106
- /**
107
- * The unique key of the knowledge base.
108
- */
109
- key: string;
110
- /**
111
- * The project/domain ID of the knowledge base.
112
- */
113
- domainId: string;
114
- /**
115
- * Entity storage path.
116
- *
117
- * @remarks
118
- *
119
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
120
- *
121
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
122
- */
123
- path?: string | undefined;
124
- createdById?: string | null | undefined;
125
- updatedById?: string | null | undefined;
126
- /**
127
- * The last update date of the knowledge base.
128
- */
129
- updated: string;
130
- type: GetOneKnowledgeResponseBodyKnowledgeType;
131
- /**
132
- * The retrieval settings for the knowledge base.
133
- */
134
- retrievalSettings?:
135
- | GetOneKnowledgeResponseBodyKnowledgeRetrievalSettings
136
- | undefined;
137
- externalConfig: GetOneKnowledgeResponseBodyExternalConfig;
138
- };
139
-
140
- export const GetOneKnowledgeResponseBodyType = {
141
- Internal: "internal",
142
- } as const;
143
- export type GetOneKnowledgeResponseBodyType = ClosedEnum<
144
- typeof GetOneKnowledgeResponseBodyType
145
- >;
146
-
147
- /**
148
- * The retrieval type to use for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
149
- */
150
- export const GetOneKnowledgeResponseBodyRetrievalType = {
151
- VectorSearch: "vector_search",
152
- KeywordSearch: "keyword_search",
153
- HybridSearch: "hybrid_search",
154
- } as const;
155
- /**
156
- * The retrieval type to use for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
157
- */
158
- export type GetOneKnowledgeResponseBodyRetrievalType = ClosedEnum<
159
- typeof GetOneKnowledgeResponseBodyRetrievalType
160
- >;
161
-
162
- /**
163
- * The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision.
164
- */
165
- export type GetOneKnowledgeResponseBodyRerankConfig = {
166
- /**
167
- * The number of results to return by the reranking model
168
- */
169
- topK: number;
170
- /**
171
- * The threshold value used to filter the rerank results, only documents with a relevance score greater than the threshold will be returned
172
- */
173
- rerankThreshold: number;
174
- /**
175
- * The rerank model to use for the knowledge base.
176
- */
177
- rerankModel: string;
178
- };
179
-
180
- /**
181
- * The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
182
- */
183
- export type GetOneKnowledgeResponseBodyAgenticRagConfig = {
184
- /**
185
- * The model to use for the Agentic RAG
186
- */
187
- model: string;
188
- };
189
-
190
- /**
191
- * The retrieval settings for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
192
- */
193
- export type GetOneKnowledgeResponseBodyRetrievalSettings = {
194
- /**
195
- * The retrieval type to use for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
196
- */
197
- retrievalType: GetOneKnowledgeResponseBodyRetrievalType;
198
- /**
199
- * The number of results to return from the search.
200
- */
201
- topK: number;
202
- /**
203
- * The threshold value used to filter the search results, only documents with a relevance score greater than the threshold will be returned
204
- */
205
- threshold: number;
206
- /**
207
- * The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision.
208
- */
209
- rerankConfig?: GetOneKnowledgeResponseBodyRerankConfig | null | undefined;
210
- /**
211
- * The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
212
- */
213
- agenticRagConfig?:
214
- | GetOneKnowledgeResponseBodyAgenticRagConfig
215
- | null
216
- | undefined;
217
- };
218
-
219
- export type GetOneKnowledgeResponseBody1 = {
220
- /**
221
- * The unique identifier of the knowledge base.
222
- */
223
- id: string;
224
- /**
225
- * The creation date of the knowledge base.
226
- */
227
- created: string;
228
- /**
229
- * The description of the knowledge base.
230
- */
231
- description?: string | null | undefined;
232
- /**
233
- * The unique key of the knowledge base.
234
- */
235
- key: string;
236
- /**
237
- * The project/domain ID of the knowledge base.
238
- */
239
- domainId: string;
240
- /**
241
- * Entity storage path.
242
- *
243
- * @remarks
244
- *
245
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
246
- *
247
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
248
- */
249
- path?: string | undefined;
250
- createdById?: string | null | undefined;
251
- updatedById?: string | null | undefined;
252
- /**
253
- * The last update date of the knowledge base.
254
- */
255
- updated: string;
256
- type: GetOneKnowledgeResponseBodyType;
257
- /**
258
- * The retrieval settings for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
259
- */
260
- retrievalSettings?: GetOneKnowledgeResponseBodyRetrievalSettings | undefined;
261
- /**
262
- * The embeddings model used for the knowledge base.
263
- */
264
- model: string;
265
- };
266
-
267
- /**
268
- * Knowledge base retrieved
269
- */
270
- export type GetOneKnowledgeResponseBody =
271
- | GetOneKnowledgeResponseBody1
272
- | GetOneKnowledgeResponseBody2;
273
-
274
12
  /** @internal */
275
13
  export type GetOneKnowledgeRequest$Outbound = {
276
14
  knowledge_id: string;
@@ -296,357 +34,3 @@ export function getOneKnowledgeRequestToJSON(
296
34
  GetOneKnowledgeRequest$outboundSchema.parse(getOneKnowledgeRequest),
297
35
  );
298
36
  }
299
-
300
- /** @internal */
301
- export const GetOneKnowledgeResponseBodyKnowledgeType$inboundSchema:
302
- z.ZodNativeEnum<typeof GetOneKnowledgeResponseBodyKnowledgeType> = z
303
- .nativeEnum(GetOneKnowledgeResponseBodyKnowledgeType);
304
-
305
- /** @internal */
306
- export const GetOneKnowledgeResponseBodyKnowledgeRerankConfig$inboundSchema:
307
- z.ZodType<
308
- GetOneKnowledgeResponseBodyKnowledgeRerankConfig,
309
- z.ZodTypeDef,
310
- unknown
311
- > = z.object({
312
- top_k: z.number().int().default(5),
313
- rerank_threshold: z.number().default(0.5),
314
- rerank_model: z.string(),
315
- }).transform((v) => {
316
- return remap$(v, {
317
- "top_k": "topK",
318
- "rerank_threshold": "rerankThreshold",
319
- "rerank_model": "rerankModel",
320
- });
321
- });
322
-
323
- export function getOneKnowledgeResponseBodyKnowledgeRerankConfigFromJSON(
324
- jsonString: string,
325
- ): SafeParseResult<
326
- GetOneKnowledgeResponseBodyKnowledgeRerankConfig,
327
- SDKValidationError
328
- > {
329
- return safeParse(
330
- jsonString,
331
- (x) =>
332
- GetOneKnowledgeResponseBodyKnowledgeRerankConfig$inboundSchema.parse(
333
- JSON.parse(x),
334
- ),
335
- `Failed to parse 'GetOneKnowledgeResponseBodyKnowledgeRerankConfig' from JSON`,
336
- );
337
- }
338
-
339
- /** @internal */
340
- export const GetOneKnowledgeResponseBodyKnowledgeAgenticRagConfig$inboundSchema:
341
- z.ZodType<
342
- GetOneKnowledgeResponseBodyKnowledgeAgenticRagConfig,
343
- z.ZodTypeDef,
344
- unknown
345
- > = z.object({
346
- model: z.string(),
347
- });
348
-
349
- export function getOneKnowledgeResponseBodyKnowledgeAgenticRagConfigFromJSON(
350
- jsonString: string,
351
- ): SafeParseResult<
352
- GetOneKnowledgeResponseBodyKnowledgeAgenticRagConfig,
353
- SDKValidationError
354
- > {
355
- return safeParse(
356
- jsonString,
357
- (x) =>
358
- GetOneKnowledgeResponseBodyKnowledgeAgenticRagConfig$inboundSchema.parse(
359
- JSON.parse(x),
360
- ),
361
- `Failed to parse 'GetOneKnowledgeResponseBodyKnowledgeAgenticRagConfig' from JSON`,
362
- );
363
- }
364
-
365
- /** @internal */
366
- export const GetOneKnowledgeResponseBodyKnowledgeRetrievalSettings$inboundSchema:
367
- z.ZodType<
368
- GetOneKnowledgeResponseBodyKnowledgeRetrievalSettings,
369
- z.ZodTypeDef,
370
- unknown
371
- > = z.object({
372
- top_k: z.number().int().default(5),
373
- threshold: z.number().default(0),
374
- rerank_config: z.nullable(
375
- z.lazy(() =>
376
- GetOneKnowledgeResponseBodyKnowledgeRerankConfig$inboundSchema
377
- ),
378
- ).optional(),
379
- agentic_rag_config: z.nullable(
380
- z.lazy(() =>
381
- GetOneKnowledgeResponseBodyKnowledgeAgenticRagConfig$inboundSchema
382
- ),
383
- ).optional(),
384
- }).transform((v) => {
385
- return remap$(v, {
386
- "top_k": "topK",
387
- "rerank_config": "rerankConfig",
388
- "agentic_rag_config": "agenticRagConfig",
389
- });
390
- });
391
-
392
- export function getOneKnowledgeResponseBodyKnowledgeRetrievalSettingsFromJSON(
393
- jsonString: string,
394
- ): SafeParseResult<
395
- GetOneKnowledgeResponseBodyKnowledgeRetrievalSettings,
396
- SDKValidationError
397
- > {
398
- return safeParse(
399
- jsonString,
400
- (x) =>
401
- GetOneKnowledgeResponseBodyKnowledgeRetrievalSettings$inboundSchema.parse(
402
- JSON.parse(x),
403
- ),
404
- `Failed to parse 'GetOneKnowledgeResponseBodyKnowledgeRetrievalSettings' from JSON`,
405
- );
406
- }
407
-
408
- /** @internal */
409
- export const GetOneKnowledgeResponseBodyExternalConfig$inboundSchema: z.ZodType<
410
- GetOneKnowledgeResponseBodyExternalConfig,
411
- z.ZodTypeDef,
412
- unknown
413
- > = z.object({
414
- name: z.string(),
415
- api_url: z.string(),
416
- }).transform((v) => {
417
- return remap$(v, {
418
- "api_url": "apiUrl",
419
- });
420
- });
421
-
422
- export function getOneKnowledgeResponseBodyExternalConfigFromJSON(
423
- jsonString: string,
424
- ): SafeParseResult<
425
- GetOneKnowledgeResponseBodyExternalConfig,
426
- SDKValidationError
427
- > {
428
- return safeParse(
429
- jsonString,
430
- (x) =>
431
- GetOneKnowledgeResponseBodyExternalConfig$inboundSchema.parse(
432
- JSON.parse(x),
433
- ),
434
- `Failed to parse 'GetOneKnowledgeResponseBodyExternalConfig' from JSON`,
435
- );
436
- }
437
-
438
- /** @internal */
439
- export const GetOneKnowledgeResponseBody2$inboundSchema: z.ZodType<
440
- GetOneKnowledgeResponseBody2,
441
- z.ZodTypeDef,
442
- unknown
443
- > = z.object({
444
- _id: z.string(),
445
- created: z.string(),
446
- description: z.nullable(z.string()).optional(),
447
- key: z.string(),
448
- domain_id: z.string(),
449
- path: z.string().optional(),
450
- created_by_id: z.nullable(z.string()).optional(),
451
- updated_by_id: z.nullable(z.string()).optional(),
452
- updated: z.string(),
453
- type: GetOneKnowledgeResponseBodyKnowledgeType$inboundSchema.default(
454
- "external",
455
- ),
456
- retrieval_settings: z.lazy(() =>
457
- GetOneKnowledgeResponseBodyKnowledgeRetrievalSettings$inboundSchema
458
- ).optional(),
459
- external_config: z.lazy(() =>
460
- GetOneKnowledgeResponseBodyExternalConfig$inboundSchema
461
- ),
462
- }).transform((v) => {
463
- return remap$(v, {
464
- "_id": "id",
465
- "domain_id": "domainId",
466
- "created_by_id": "createdById",
467
- "updated_by_id": "updatedById",
468
- "retrieval_settings": "retrievalSettings",
469
- "external_config": "externalConfig",
470
- });
471
- });
472
-
473
- export function getOneKnowledgeResponseBody2FromJSON(
474
- jsonString: string,
475
- ): SafeParseResult<GetOneKnowledgeResponseBody2, SDKValidationError> {
476
- return safeParse(
477
- jsonString,
478
- (x) => GetOneKnowledgeResponseBody2$inboundSchema.parse(JSON.parse(x)),
479
- `Failed to parse 'GetOneKnowledgeResponseBody2' from JSON`,
480
- );
481
- }
482
-
483
- /** @internal */
484
- export const GetOneKnowledgeResponseBodyType$inboundSchema: z.ZodNativeEnum<
485
- typeof GetOneKnowledgeResponseBodyType
486
- > = z.nativeEnum(GetOneKnowledgeResponseBodyType);
487
-
488
- /** @internal */
489
- export const GetOneKnowledgeResponseBodyRetrievalType$inboundSchema:
490
- z.ZodNativeEnum<typeof GetOneKnowledgeResponseBodyRetrievalType> = z
491
- .nativeEnum(GetOneKnowledgeResponseBodyRetrievalType);
492
-
493
- /** @internal */
494
- export const GetOneKnowledgeResponseBodyRerankConfig$inboundSchema: z.ZodType<
495
- GetOneKnowledgeResponseBodyRerankConfig,
496
- z.ZodTypeDef,
497
- unknown
498
- > = z.object({
499
- top_k: z.number().int().default(5),
500
- rerank_threshold: z.number().default(0.5),
501
- rerank_model: z.string(),
502
- }).transform((v) => {
503
- return remap$(v, {
504
- "top_k": "topK",
505
- "rerank_threshold": "rerankThreshold",
506
- "rerank_model": "rerankModel",
507
- });
508
- });
509
-
510
- export function getOneKnowledgeResponseBodyRerankConfigFromJSON(
511
- jsonString: string,
512
- ): SafeParseResult<
513
- GetOneKnowledgeResponseBodyRerankConfig,
514
- SDKValidationError
515
- > {
516
- return safeParse(
517
- jsonString,
518
- (x) =>
519
- GetOneKnowledgeResponseBodyRerankConfig$inboundSchema.parse(
520
- JSON.parse(x),
521
- ),
522
- `Failed to parse 'GetOneKnowledgeResponseBodyRerankConfig' from JSON`,
523
- );
524
- }
525
-
526
- /** @internal */
527
- export const GetOneKnowledgeResponseBodyAgenticRagConfig$inboundSchema:
528
- z.ZodType<
529
- GetOneKnowledgeResponseBodyAgenticRagConfig,
530
- z.ZodTypeDef,
531
- unknown
532
- > = z.object({
533
- model: z.string(),
534
- });
535
-
536
- export function getOneKnowledgeResponseBodyAgenticRagConfigFromJSON(
537
- jsonString: string,
538
- ): SafeParseResult<
539
- GetOneKnowledgeResponseBodyAgenticRagConfig,
540
- SDKValidationError
541
- > {
542
- return safeParse(
543
- jsonString,
544
- (x) =>
545
- GetOneKnowledgeResponseBodyAgenticRagConfig$inboundSchema.parse(
546
- JSON.parse(x),
547
- ),
548
- `Failed to parse 'GetOneKnowledgeResponseBodyAgenticRagConfig' from JSON`,
549
- );
550
- }
551
-
552
- /** @internal */
553
- export const GetOneKnowledgeResponseBodyRetrievalSettings$inboundSchema:
554
- z.ZodType<
555
- GetOneKnowledgeResponseBodyRetrievalSettings,
556
- z.ZodTypeDef,
557
- unknown
558
- > = z.object({
559
- retrieval_type: GetOneKnowledgeResponseBodyRetrievalType$inboundSchema
560
- .default("hybrid_search"),
561
- top_k: z.number().int().default(5),
562
- threshold: z.number().default(0),
563
- rerank_config: z.nullable(
564
- z.lazy(() => GetOneKnowledgeResponseBodyRerankConfig$inboundSchema),
565
- ).optional(),
566
- agentic_rag_config: z.nullable(
567
- z.lazy(() => GetOneKnowledgeResponseBodyAgenticRagConfig$inboundSchema),
568
- ).optional(),
569
- }).transform((v) => {
570
- return remap$(v, {
571
- "retrieval_type": "retrievalType",
572
- "top_k": "topK",
573
- "rerank_config": "rerankConfig",
574
- "agentic_rag_config": "agenticRagConfig",
575
- });
576
- });
577
-
578
- export function getOneKnowledgeResponseBodyRetrievalSettingsFromJSON(
579
- jsonString: string,
580
- ): SafeParseResult<
581
- GetOneKnowledgeResponseBodyRetrievalSettings,
582
- SDKValidationError
583
- > {
584
- return safeParse(
585
- jsonString,
586
- (x) =>
587
- GetOneKnowledgeResponseBodyRetrievalSettings$inboundSchema.parse(
588
- JSON.parse(x),
589
- ),
590
- `Failed to parse 'GetOneKnowledgeResponseBodyRetrievalSettings' from JSON`,
591
- );
592
- }
593
-
594
- /** @internal */
595
- export const GetOneKnowledgeResponseBody1$inboundSchema: z.ZodType<
596
- GetOneKnowledgeResponseBody1,
597
- z.ZodTypeDef,
598
- unknown
599
- > = z.object({
600
- _id: z.string(),
601
- created: z.string(),
602
- description: z.nullable(z.string()).optional(),
603
- key: z.string(),
604
- domain_id: z.string(),
605
- path: z.string().optional(),
606
- created_by_id: z.nullable(z.string()).optional(),
607
- updated_by_id: z.nullable(z.string()).optional(),
608
- updated: z.string(),
609
- type: GetOneKnowledgeResponseBodyType$inboundSchema.default("internal"),
610
- retrieval_settings: z.lazy(() =>
611
- GetOneKnowledgeResponseBodyRetrievalSettings$inboundSchema
612
- ).optional(),
613
- model: z.string(),
614
- }).transform((v) => {
615
- return remap$(v, {
616
- "_id": "id",
617
- "domain_id": "domainId",
618
- "created_by_id": "createdById",
619
- "updated_by_id": "updatedById",
620
- "retrieval_settings": "retrievalSettings",
621
- });
622
- });
623
-
624
- export function getOneKnowledgeResponseBody1FromJSON(
625
- jsonString: string,
626
- ): SafeParseResult<GetOneKnowledgeResponseBody1, SDKValidationError> {
627
- return safeParse(
628
- jsonString,
629
- (x) => GetOneKnowledgeResponseBody1$inboundSchema.parse(JSON.parse(x)),
630
- `Failed to parse 'GetOneKnowledgeResponseBody1' from JSON`,
631
- );
632
- }
633
-
634
- /** @internal */
635
- export const GetOneKnowledgeResponseBody$inboundSchema: z.ZodType<
636
- GetOneKnowledgeResponseBody,
637
- z.ZodTypeDef,
638
- unknown
639
- > = z.union([
640
- z.lazy(() => GetOneKnowledgeResponseBody1$inboundSchema),
641
- z.lazy(() => GetOneKnowledgeResponseBody2$inboundSchema),
642
- ]);
643
-
644
- export function getOneKnowledgeResponseBodyFromJSON(
645
- jsonString: string,
646
- ): SafeParseResult<GetOneKnowledgeResponseBody, SDKValidationError> {
647
- return safeParse(
648
- jsonString,
649
- (x) => GetOneKnowledgeResponseBody$inboundSchema.parse(JSON.parse(x)),
650
- `Failed to parse 'GetOneKnowledgeResponseBody' from JSON`,
651
- );
652
- }
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-08-17T04:12:25.936Z",
143
+ "2026-08-20T18:41:40.524Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-08-17T04:12:25.936Z",
188
+ "2026-08-20T18:41:40.524Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-08-17T04:12:25.936Z",
144
+ "2026-08-20T18:41:40.524Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-08-17T04:12:25.936Z",
189
+ "2026-08-20T18:41:40.524Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -37,10 +37,8 @@ export * from "./createidentity.js";
37
37
  export * from "./createimage.js";
38
38
  export * from "./createimageedit.js";
39
39
  export * from "./createimagevariation.js";
40
- export * from "./createknowledge.js";
41
40
  export * from "./creatememory.js";
42
41
  export * from "./creatememorydocument.js";
43
- export * from "./creatememorystore.js";
44
42
  export * from "./createmoderation.js";
45
43
  export * from "./createprompt.js";
46
44
  export * from "./creatererank.js";
@@ -88,6 +86,8 @@ export * from "./getevals.js";
88
86
  export * from "./getlog.js";
89
87
  export * from "./getlogcontext.js";
90
88
  export * from "./getonechunk.js";
89
+ export * from "./getonedatasourceprocessingstatus.js";
90
+ export * from "./getonefileuploadurl.js";
91
91
  export * from "./getoneknowledge.js";
92
92
  export * from "./getoneprompt.js";
93
93
  export * from "./getpromptversion.js";
@@ -124,6 +124,9 @@ export * from "./managementkeyget.js";
124
124
  export * from "./managementkeylist.js";
125
125
  export * from "./managementkeyupdate.js";
126
126
  export * from "./modelazurefoundrydeployments.js";
127
+ export * from "./modelcatalogget.js";
128
+ export * from "./modelcataloglist.js";
129
+ export * from "./modelcataloglistofferings.js";
127
130
  export * from "./modelcreate.js";
128
131
  export * from "./modelcreateawsbedrock.js";
129
132
  export * from "./modelcreateopenailike.js";
@@ -197,6 +200,7 @@ export * from "./updateagent.js";
197
200
  export * from "./updateagentschedule.js";
198
201
  export * from "./updateannotationqueue.js";
199
202
  export * from "./updatechunk.js";
203
+ export * from "./updatechunkenabled.js";
200
204
  export * from "./updatedatapoint.js";
201
205
  export * from "./updatedataset.js";
202
206
  export * from "./updatedatasource.js";