@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,10 +4,7 @@
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
7
  import { ClosedEnum } from "../../types/enums.js";
9
- import { Result as SafeParseResult } from "../../types/fp.js";
10
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
8
 
12
9
  /**
13
10
  * Filter knowledge bases by type
@@ -54,259 +51,6 @@ export type ListKnowledgeBasesRequest = {
54
51
  projectId?: string | undefined;
55
52
  };
56
53
 
57
- export const ListKnowledgeBasesObject = {
58
- List: "list",
59
- } as const;
60
- export type ListKnowledgeBasesObject = ClosedEnum<
61
- typeof ListKnowledgeBasesObject
62
- >;
63
-
64
- export const ListKnowledgeBasesDataKnowledgeType = {
65
- External: "external",
66
- } as const;
67
- export type ListKnowledgeBasesDataKnowledgeType = ClosedEnum<
68
- typeof ListKnowledgeBasesDataKnowledgeType
69
- >;
70
-
71
- /**
72
- * The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision.
73
- */
74
- export type DataRerankConfig = {
75
- /**
76
- * The number of results to return by the reranking model
77
- */
78
- topK: number;
79
- /**
80
- * The threshold value used to filter the rerank results, only documents with a relevance score greater than the threshold will be returned
81
- */
82
- rerankThreshold: number;
83
- /**
84
- * The rerank model to use for the knowledge base.
85
- */
86
- rerankModel: string;
87
- };
88
-
89
- /**
90
- * The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
91
- */
92
- export type DataAgenticRagConfig = {
93
- /**
94
- * The model to use for the Agentic RAG
95
- */
96
- model: string;
97
- };
98
-
99
- /**
100
- * The retrieval settings for the knowledge base.
101
- */
102
- export type DataRetrievalSettings = {
103
- /**
104
- * The number of results to return from the search.
105
- */
106
- topK: number;
107
- /**
108
- * The threshold value used to filter the search results, only documents with a relevance score greater than the threshold will be returned
109
- */
110
- threshold: number;
111
- /**
112
- * The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision.
113
- */
114
- rerankConfig?: DataRerankConfig | null | undefined;
115
- /**
116
- * The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
117
- */
118
- agenticRagConfig?: DataAgenticRagConfig | null | undefined;
119
- };
120
-
121
- export type DataExternalConfig = {
122
- /**
123
- * The name of the external knowledge base.
124
- */
125
- name: string;
126
- /**
127
- * The API URL of the external knowledge base.
128
- */
129
- apiUrl: string;
130
- };
131
-
132
- export type Data2 = {
133
- /**
134
- * The unique identifier of the knowledge base.
135
- */
136
- id: string;
137
- /**
138
- * The creation date of the knowledge base.
139
- */
140
- created: string;
141
- /**
142
- * The description of the knowledge base.
143
- */
144
- description?: string | null | undefined;
145
- /**
146
- * The unique key of the knowledge base.
147
- */
148
- key: string;
149
- /**
150
- * The project/domain ID of the knowledge base.
151
- */
152
- domainId: string;
153
- /**
154
- * Entity storage path.
155
- *
156
- * @remarks
157
- *
158
- * 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`.
159
- *
160
- * 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.
161
- */
162
- path?: string | undefined;
163
- createdById?: string | null | undefined;
164
- updatedById?: string | null | undefined;
165
- /**
166
- * The last update date of the knowledge base.
167
- */
168
- updated: string;
169
- type: ListKnowledgeBasesDataKnowledgeType;
170
- /**
171
- * The retrieval settings for the knowledge base.
172
- */
173
- retrievalSettings?: DataRetrievalSettings | undefined;
174
- externalConfig: DataExternalConfig;
175
- };
176
-
177
- export const ListKnowledgeBasesDataType = {
178
- Internal: "internal",
179
- } as const;
180
- export type ListKnowledgeBasesDataType = ClosedEnum<
181
- typeof ListKnowledgeBasesDataType
182
- >;
183
-
184
- /**
185
- * The retrieval type to use for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
186
- */
187
- export const DataRetrievalType = {
188
- VectorSearch: "vector_search",
189
- KeywordSearch: "keyword_search",
190
- HybridSearch: "hybrid_search",
191
- } as const;
192
- /**
193
- * The retrieval type to use for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
194
- */
195
- export type DataRetrievalType = ClosedEnum<typeof DataRetrievalType>;
196
-
197
- /**
198
- * The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision.
199
- */
200
- export type ListKnowledgeBasesDataRerankConfig = {
201
- /**
202
- * The number of results to return by the reranking model
203
- */
204
- topK: number;
205
- /**
206
- * The threshold value used to filter the rerank results, only documents with a relevance score greater than the threshold will be returned
207
- */
208
- rerankThreshold: number;
209
- /**
210
- * The rerank model to use for the knowledge base.
211
- */
212
- rerankModel: string;
213
- };
214
-
215
- /**
216
- * The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
217
- */
218
- export type ListKnowledgeBasesDataAgenticRagConfig = {
219
- /**
220
- * The model to use for the Agentic RAG
221
- */
222
- model: string;
223
- };
224
-
225
- /**
226
- * The retrieval settings for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
227
- */
228
- export type ListKnowledgeBasesDataRetrievalSettings = {
229
- /**
230
- * The retrieval type to use for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
231
- */
232
- retrievalType: DataRetrievalType;
233
- /**
234
- * The number of results to return from the search.
235
- */
236
- topK: number;
237
- /**
238
- * The threshold value used to filter the search results, only documents with a relevance score greater than the threshold will be returned
239
- */
240
- threshold: number;
241
- /**
242
- * The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision.
243
- */
244
- rerankConfig?: ListKnowledgeBasesDataRerankConfig | null | undefined;
245
- /**
246
- * The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
247
- */
248
- agenticRagConfig?: ListKnowledgeBasesDataAgenticRagConfig | null | undefined;
249
- };
250
-
251
- export type Data1 = {
252
- /**
253
- * The unique identifier of the knowledge base.
254
- */
255
- id: string;
256
- /**
257
- * The creation date of the knowledge base.
258
- */
259
- created: string;
260
- /**
261
- * The description of the knowledge base.
262
- */
263
- description?: string | null | undefined;
264
- /**
265
- * The unique key of the knowledge base.
266
- */
267
- key: string;
268
- /**
269
- * The project/domain ID of the knowledge base.
270
- */
271
- domainId: string;
272
- /**
273
- * Entity storage path.
274
- *
275
- * @remarks
276
- *
277
- * 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`.
278
- *
279
- * 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.
280
- */
281
- path?: string | undefined;
282
- createdById?: string | null | undefined;
283
- updatedById?: string | null | undefined;
284
- /**
285
- * The last update date of the knowledge base.
286
- */
287
- updated: string;
288
- type: ListKnowledgeBasesDataType;
289
- /**
290
- * The retrieval settings for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy.
291
- */
292
- retrievalSettings?: ListKnowledgeBasesDataRetrievalSettings | undefined;
293
- /**
294
- * The embeddings model used for the knowledge base.
295
- */
296
- model: string;
297
- };
298
-
299
- export type ListKnowledgeBasesData = Data1 | Data2;
300
-
301
- /**
302
- * Knowledge bases retrieved
303
- */
304
- export type ListKnowledgeBasesResponseBody = {
305
- object: ListKnowledgeBasesObject;
306
- data: Array<Data1 | Data2>;
307
- hasMore: boolean;
308
- };
309
-
310
54
  /** @internal */
311
55
  export const ListKnowledgeBasesQueryParamType$outboundSchema: z.ZodNativeEnum<
312
56
  typeof ListKnowledgeBasesQueryParamType
@@ -352,336 +96,3 @@ export function listKnowledgeBasesRequestToJSON(
352
96
  ListKnowledgeBasesRequest$outboundSchema.parse(listKnowledgeBasesRequest),
353
97
  );
354
98
  }
355
-
356
- /** @internal */
357
- export const ListKnowledgeBasesObject$inboundSchema: z.ZodNativeEnum<
358
- typeof ListKnowledgeBasesObject
359
- > = z.nativeEnum(ListKnowledgeBasesObject);
360
-
361
- /** @internal */
362
- export const ListKnowledgeBasesDataKnowledgeType$inboundSchema: z.ZodNativeEnum<
363
- typeof ListKnowledgeBasesDataKnowledgeType
364
- > = z.nativeEnum(ListKnowledgeBasesDataKnowledgeType);
365
-
366
- /** @internal */
367
- export const DataRerankConfig$inboundSchema: z.ZodType<
368
- DataRerankConfig,
369
- z.ZodTypeDef,
370
- unknown
371
- > = z.object({
372
- top_k: z.number().int().default(5),
373
- rerank_threshold: z.number().default(0.5),
374
- rerank_model: z.string(),
375
- }).transform((v) => {
376
- return remap$(v, {
377
- "top_k": "topK",
378
- "rerank_threshold": "rerankThreshold",
379
- "rerank_model": "rerankModel",
380
- });
381
- });
382
-
383
- export function dataRerankConfigFromJSON(
384
- jsonString: string,
385
- ): SafeParseResult<DataRerankConfig, SDKValidationError> {
386
- return safeParse(
387
- jsonString,
388
- (x) => DataRerankConfig$inboundSchema.parse(JSON.parse(x)),
389
- `Failed to parse 'DataRerankConfig' from JSON`,
390
- );
391
- }
392
-
393
- /** @internal */
394
- export const DataAgenticRagConfig$inboundSchema: z.ZodType<
395
- DataAgenticRagConfig,
396
- z.ZodTypeDef,
397
- unknown
398
- > = z.object({
399
- model: z.string(),
400
- });
401
-
402
- export function dataAgenticRagConfigFromJSON(
403
- jsonString: string,
404
- ): SafeParseResult<DataAgenticRagConfig, SDKValidationError> {
405
- return safeParse(
406
- jsonString,
407
- (x) => DataAgenticRagConfig$inboundSchema.parse(JSON.parse(x)),
408
- `Failed to parse 'DataAgenticRagConfig' from JSON`,
409
- );
410
- }
411
-
412
- /** @internal */
413
- export const DataRetrievalSettings$inboundSchema: z.ZodType<
414
- DataRetrievalSettings,
415
- z.ZodTypeDef,
416
- unknown
417
- > = z.object({
418
- top_k: z.number().int().default(5),
419
- threshold: z.number().default(0),
420
- rerank_config: z.nullable(z.lazy(() => DataRerankConfig$inboundSchema))
421
- .optional(),
422
- agentic_rag_config: z.nullable(
423
- z.lazy(() => DataAgenticRagConfig$inboundSchema),
424
- ).optional(),
425
- }).transform((v) => {
426
- return remap$(v, {
427
- "top_k": "topK",
428
- "rerank_config": "rerankConfig",
429
- "agentic_rag_config": "agenticRagConfig",
430
- });
431
- });
432
-
433
- export function dataRetrievalSettingsFromJSON(
434
- jsonString: string,
435
- ): SafeParseResult<DataRetrievalSettings, SDKValidationError> {
436
- return safeParse(
437
- jsonString,
438
- (x) => DataRetrievalSettings$inboundSchema.parse(JSON.parse(x)),
439
- `Failed to parse 'DataRetrievalSettings' from JSON`,
440
- );
441
- }
442
-
443
- /** @internal */
444
- export const DataExternalConfig$inboundSchema: z.ZodType<
445
- DataExternalConfig,
446
- z.ZodTypeDef,
447
- unknown
448
- > = z.object({
449
- name: z.string(),
450
- api_url: z.string(),
451
- }).transform((v) => {
452
- return remap$(v, {
453
- "api_url": "apiUrl",
454
- });
455
- });
456
-
457
- export function dataExternalConfigFromJSON(
458
- jsonString: string,
459
- ): SafeParseResult<DataExternalConfig, SDKValidationError> {
460
- return safeParse(
461
- jsonString,
462
- (x) => DataExternalConfig$inboundSchema.parse(JSON.parse(x)),
463
- `Failed to parse 'DataExternalConfig' from JSON`,
464
- );
465
- }
466
-
467
- /** @internal */
468
- export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
469
- .object({
470
- _id: z.string(),
471
- created: z.string(),
472
- description: z.nullable(z.string()).optional(),
473
- key: z.string(),
474
- domain_id: z.string(),
475
- path: z.string().optional(),
476
- created_by_id: z.nullable(z.string()).optional(),
477
- updated_by_id: z.nullable(z.string()).optional(),
478
- updated: z.string(),
479
- type: ListKnowledgeBasesDataKnowledgeType$inboundSchema.default("external"),
480
- retrieval_settings: z.lazy(() => DataRetrievalSettings$inboundSchema)
481
- .optional(),
482
- external_config: z.lazy(() => DataExternalConfig$inboundSchema),
483
- }).transform((v) => {
484
- return remap$(v, {
485
- "_id": "id",
486
- "domain_id": "domainId",
487
- "created_by_id": "createdById",
488
- "updated_by_id": "updatedById",
489
- "retrieval_settings": "retrievalSettings",
490
- "external_config": "externalConfig",
491
- });
492
- });
493
-
494
- export function data2FromJSON(
495
- jsonString: string,
496
- ): SafeParseResult<Data2, SDKValidationError> {
497
- return safeParse(
498
- jsonString,
499
- (x) => Data2$inboundSchema.parse(JSON.parse(x)),
500
- `Failed to parse 'Data2' from JSON`,
501
- );
502
- }
503
-
504
- /** @internal */
505
- export const ListKnowledgeBasesDataType$inboundSchema: z.ZodNativeEnum<
506
- typeof ListKnowledgeBasesDataType
507
- > = z.nativeEnum(ListKnowledgeBasesDataType);
508
-
509
- /** @internal */
510
- export const DataRetrievalType$inboundSchema: z.ZodNativeEnum<
511
- typeof DataRetrievalType
512
- > = z.nativeEnum(DataRetrievalType);
513
-
514
- /** @internal */
515
- export const ListKnowledgeBasesDataRerankConfig$inboundSchema: z.ZodType<
516
- ListKnowledgeBasesDataRerankConfig,
517
- z.ZodTypeDef,
518
- unknown
519
- > = z.object({
520
- top_k: z.number().int().default(5),
521
- rerank_threshold: z.number().default(0.5),
522
- rerank_model: z.string(),
523
- }).transform((v) => {
524
- return remap$(v, {
525
- "top_k": "topK",
526
- "rerank_threshold": "rerankThreshold",
527
- "rerank_model": "rerankModel",
528
- });
529
- });
530
-
531
- export function listKnowledgeBasesDataRerankConfigFromJSON(
532
- jsonString: string,
533
- ): SafeParseResult<ListKnowledgeBasesDataRerankConfig, SDKValidationError> {
534
- return safeParse(
535
- jsonString,
536
- (x) =>
537
- ListKnowledgeBasesDataRerankConfig$inboundSchema.parse(JSON.parse(x)),
538
- `Failed to parse 'ListKnowledgeBasesDataRerankConfig' from JSON`,
539
- );
540
- }
541
-
542
- /** @internal */
543
- export const ListKnowledgeBasesDataAgenticRagConfig$inboundSchema: z.ZodType<
544
- ListKnowledgeBasesDataAgenticRagConfig,
545
- z.ZodTypeDef,
546
- unknown
547
- > = z.object({
548
- model: z.string(),
549
- });
550
-
551
- export function listKnowledgeBasesDataAgenticRagConfigFromJSON(
552
- jsonString: string,
553
- ): SafeParseResult<ListKnowledgeBasesDataAgenticRagConfig, SDKValidationError> {
554
- return safeParse(
555
- jsonString,
556
- (x) =>
557
- ListKnowledgeBasesDataAgenticRagConfig$inboundSchema.parse(JSON.parse(x)),
558
- `Failed to parse 'ListKnowledgeBasesDataAgenticRagConfig' from JSON`,
559
- );
560
- }
561
-
562
- /** @internal */
563
- export const ListKnowledgeBasesDataRetrievalSettings$inboundSchema: z.ZodType<
564
- ListKnowledgeBasesDataRetrievalSettings,
565
- z.ZodTypeDef,
566
- unknown
567
- > = z.object({
568
- retrieval_type: DataRetrievalType$inboundSchema.default("hybrid_search"),
569
- top_k: z.number().int().default(5),
570
- threshold: z.number().default(0),
571
- rerank_config: z.nullable(
572
- z.lazy(() => ListKnowledgeBasesDataRerankConfig$inboundSchema),
573
- ).optional(),
574
- agentic_rag_config: z.nullable(
575
- z.lazy(() => ListKnowledgeBasesDataAgenticRagConfig$inboundSchema),
576
- ).optional(),
577
- }).transform((v) => {
578
- return remap$(v, {
579
- "retrieval_type": "retrievalType",
580
- "top_k": "topK",
581
- "rerank_config": "rerankConfig",
582
- "agentic_rag_config": "agenticRagConfig",
583
- });
584
- });
585
-
586
- export function listKnowledgeBasesDataRetrievalSettingsFromJSON(
587
- jsonString: string,
588
- ): SafeParseResult<
589
- ListKnowledgeBasesDataRetrievalSettings,
590
- SDKValidationError
591
- > {
592
- return safeParse(
593
- jsonString,
594
- (x) =>
595
- ListKnowledgeBasesDataRetrievalSettings$inboundSchema.parse(
596
- JSON.parse(x),
597
- ),
598
- `Failed to parse 'ListKnowledgeBasesDataRetrievalSettings' from JSON`,
599
- );
600
- }
601
-
602
- /** @internal */
603
- export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
604
- .object({
605
- _id: z.string(),
606
- created: z.string(),
607
- description: z.nullable(z.string()).optional(),
608
- key: z.string(),
609
- domain_id: z.string(),
610
- path: z.string().optional(),
611
- created_by_id: z.nullable(z.string()).optional(),
612
- updated_by_id: z.nullable(z.string()).optional(),
613
- updated: z.string(),
614
- type: ListKnowledgeBasesDataType$inboundSchema.default("internal"),
615
- retrieval_settings: z.lazy(() =>
616
- ListKnowledgeBasesDataRetrievalSettings$inboundSchema
617
- ).optional(),
618
- model: z.string(),
619
- }).transform((v) => {
620
- return remap$(v, {
621
- "_id": "id",
622
- "domain_id": "domainId",
623
- "created_by_id": "createdById",
624
- "updated_by_id": "updatedById",
625
- "retrieval_settings": "retrievalSettings",
626
- });
627
- });
628
-
629
- export function data1FromJSON(
630
- jsonString: string,
631
- ): SafeParseResult<Data1, SDKValidationError> {
632
- return safeParse(
633
- jsonString,
634
- (x) => Data1$inboundSchema.parse(JSON.parse(x)),
635
- `Failed to parse 'Data1' from JSON`,
636
- );
637
- }
638
-
639
- /** @internal */
640
- export const ListKnowledgeBasesData$inboundSchema: z.ZodType<
641
- ListKnowledgeBasesData,
642
- z.ZodTypeDef,
643
- unknown
644
- > = z.union([
645
- z.lazy(() => Data1$inboundSchema),
646
- z.lazy(() => Data2$inboundSchema),
647
- ]);
648
-
649
- export function listKnowledgeBasesDataFromJSON(
650
- jsonString: string,
651
- ): SafeParseResult<ListKnowledgeBasesData, SDKValidationError> {
652
- return safeParse(
653
- jsonString,
654
- (x) => ListKnowledgeBasesData$inboundSchema.parse(JSON.parse(x)),
655
- `Failed to parse 'ListKnowledgeBasesData' from JSON`,
656
- );
657
- }
658
-
659
- /** @internal */
660
- export const ListKnowledgeBasesResponseBody$inboundSchema: z.ZodType<
661
- ListKnowledgeBasesResponseBody,
662
- z.ZodTypeDef,
663
- unknown
664
- > = z.object({
665
- object: ListKnowledgeBasesObject$inboundSchema,
666
- data: z.array(
667
- z.union([
668
- z.lazy(() => Data1$inboundSchema),
669
- z.lazy(() => Data2$inboundSchema),
670
- ]),
671
- ),
672
- has_more: z.boolean(),
673
- }).transform((v) => {
674
- return remap$(v, {
675
- "has_more": "hasMore",
676
- });
677
- });
678
-
679
- export function listKnowledgeBasesResponseBodyFromJSON(
680
- jsonString: string,
681
- ): SafeParseResult<ListKnowledgeBasesResponseBody, SDKValidationError> {
682
- return safeParse(
683
- jsonString,
684
- (x) => ListKnowledgeBasesResponseBody$inboundSchema.parse(JSON.parse(x)),
685
- `Failed to parse 'ListKnowledgeBasesResponseBody' from JSON`,
686
- );
687
- }
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+
7
+ export type ModelCatalogGetRequest = {
8
+ /**
9
+ * Catalog identifier, `<provider>/<model>` (for example `openai/gpt-4o`).
10
+ */
11
+ id: string;
12
+ };
13
+
14
+ /** @internal */
15
+ export type ModelCatalogGetRequest$Outbound = {
16
+ id: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const ModelCatalogGetRequest$outboundSchema: z.ZodType<
21
+ ModelCatalogGetRequest$Outbound,
22
+ z.ZodTypeDef,
23
+ ModelCatalogGetRequest
24
+ > = z.object({
25
+ id: z.string(),
26
+ });
27
+
28
+ export function modelCatalogGetRequestToJSON(
29
+ modelCatalogGetRequest: ModelCatalogGetRequest,
30
+ ): string {
31
+ return JSON.stringify(
32
+ ModelCatalogGetRequest$outboundSchema.parse(modelCatalogGetRequest),
33
+ );
34
+ }