@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.
- package/README.md +46 -37
- package/funcs/modelCatalogGet.d.ts +18 -0
- package/funcs/modelCatalogGet.d.ts.map +1 -0
- package/funcs/modelCatalogGet.js +121 -0
- package/funcs/modelCatalogGet.js.map +1 -0
- package/funcs/modelCatalogList.d.ts +18 -0
- package/funcs/modelCatalogList.d.ts.map +1 -0
- package/funcs/modelCatalogList.js +133 -0
- package/funcs/modelCatalogList.js.map +1 -0
- package/funcs/modelCatalogListOfferings.d.ts +18 -0
- package/funcs/modelCatalogListOfferings.d.ts.map +1 -0
- package/funcs/modelCatalogListOfferings.js +138 -0
- package/funcs/modelCatalogListOfferings.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/getmodelcatalogmodelresponse.d.ts +14 -0
- package/models/components/getmodelcatalogmodelresponse.d.ts.map +1 -0
- package/models/components/getmodelcatalogmodelresponse.js +51 -0
- package/models/components/getmodelcatalogmodelresponse.js.map +1 -0
- package/models/components/index.d.ts +6 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -0
- package/models/components/index.js.map +1 -1
- package/models/components/listmodelcatalogofferingsresponse.d.ts +25 -0
- package/models/components/listmodelcatalogofferingsresponse.d.ts.map +1 -0
- package/models/components/listmodelcatalogofferingsresponse.js +58 -0
- package/models/components/listmodelcatalogofferingsresponse.js.map +1 -0
- package/models/components/listmodelcatalogresponse.d.ts +25 -0
- package/models/components/listmodelcatalogresponse.d.ts.map +1 -0
- package/models/components/listmodelcatalogresponse.js +58 -0
- package/models/components/listmodelcatalogresponse.js.map +1 -0
- package/models/components/model.d.ts +129 -0
- package/models/components/model.d.ts.map +1 -0
- package/models/components/model.js +91 -0
- package/models/components/model.js.map +1 -0
- package/models/components/modelmodalities.d.ts +17 -0
- package/models/components/modelmodalities.d.ts.map +1 -0
- package/models/components/modelmodalities.js +51 -0
- package/models/components/modelmodalities.js.map +1 -0
- package/models/components/modelprovider.d.ts +17 -0
- package/models/components/modelprovider.d.ts.map +1 -0
- package/models/components/modelprovider.js +51 -0
- package/models/components/modelprovider.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/billing.js +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/geteval.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/modelcatalogget.d.ts +15 -0
- package/models/operations/modelcatalogget.d.ts.map +1 -0
- package/models/operations/modelcatalogget.js +49 -0
- package/models/operations/modelcatalogget.js.map +1 -0
- package/models/operations/modelcataloglist.d.ts +103 -0
- package/models/operations/modelcataloglist.d.ts.map +1 -0
- package/models/operations/modelcataloglist.js +74 -0
- package/models/operations/modelcataloglist.js.map +1 -0
- package/models/operations/modelcataloglistofferings.d.ts +106 -0
- package/models/operations/modelcataloglistofferings.d.ts.map +1 -0
- package/models/operations/modelcataloglistofferings.js +73 -0
- package/models/operations/modelcataloglistofferings.js.map +1 -0
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
- package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/twenty.js +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/packages/orq-rc/src/funcs/agentsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsInvoke.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsList.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStream.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +1 -1
- package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/chunkingParse.ts +5 -4
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +4 -7
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsAll.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsGet.ts +1 -5
- package/packages/orq-rc/src/funcs/evalsInvoke.ts +13 -24
- package/packages/orq-rc/src/funcs/evalsUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +11 -8
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +3 -0
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeList.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +187 -0
- package/packages/orq-rc/src/funcs/knowledgeRetrieveProcessingStatus.ts +180 -0
- package/packages/orq-rc/src/funcs/knowledgeSearch.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeToggleChunk.ts +181 -0
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +11 -5
- package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +9 -14
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +4 -4
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +4 -4
- package/packages/orq-rc/src/funcs/memoryStoresList.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +8 -5
- package/packages/orq-rc/src/funcs/modelCatalogGet.ts +168 -0
- package/packages/orq-rc/src/funcs/modelCatalogList.ts +184 -0
- package/packages/orq-rc/src/funcs/modelCatalogListOfferings.ts +186 -0
- package/packages/orq-rc/src/funcs/promptsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/promptsDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/toolsList.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/agenticragconfig.ts +43 -0
- package/packages/orq-rc/src/models/components/agentresponserequest.ts +14 -10
- package/packages/orq-rc/src/models/components/alertcondition.ts +3 -4
- package/packages/orq-rc/src/models/components/chunk.ts +35 -0
- package/packages/orq-rc/src/models/components/chunkingcleanupoptions.ts +64 -0
- package/packages/orq-rc/src/models/components/chunkingconfiguration.ts +111 -0
- package/packages/orq-rc/src/models/components/chunkmetadata.ts +42 -0
- package/packages/orq-rc/src/models/components/chunkprocessingattempts.ts +42 -0
- package/packages/orq-rc/src/models/components/chunksservicecountrequest.ts +63 -0
- package/packages/orq-rc/src/models/components/chunksservicecountresponse.ts +31 -0
- package/packages/orq-rc/src/models/components/chunksservicedeletemanyrequest.ts +41 -0
- package/packages/orq-rc/src/models/components/chunksservicedeletemanyresponse.ts +39 -0
- package/packages/orq-rc/src/models/components/chunksservicelistpaginatedrequest.ts +71 -0
- package/packages/orq-rc/src/models/components/chunksservicelistpaginatedresponse.ts +58 -0
- package/packages/orq-rc/src/models/components/chunksservicelistresponse.ts +57 -0
- package/packages/orq-rc/src/models/components/chunksservicesetenabledrequest.ts +33 -0
- package/packages/orq-rc/src/models/components/chunksserviceupdaterequest.ts +68 -0
- package/packages/orq-rc/src/models/components/countmetadata.ts +86 -0
- package/packages/orq-rc/src/models/components/createguardrailrulerequest.ts +0 -3
- package/packages/orq-rc/src/models/components/creatememorydocumentrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/creatememoryrequest.ts +39 -0
- package/packages/orq-rc/src/models/components/creatememorystorerequest.ts +59 -0
- package/packages/orq-rc/src/models/components/datasource.ts +108 -0
- package/packages/orq-rc/src/models/components/datasourceattachment.ts +64 -0
- package/packages/orq-rc/src/models/components/datasourcechunkingoptions.ts +53 -0
- package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +79 -0
- package/packages/orq-rc/src/models/components/datasourcesservicegetprocessingstatusresponse.ts +69 -0
- package/packages/orq-rc/src/models/components/datasourcesservicelistresponse.ts +55 -0
- package/packages/orq-rc/src/models/components/datasourcesserviceupdaterequest.ts +41 -0
- package/packages/orq-rc/src/models/components/domain.ts +12 -1
- package/packages/orq-rc/src/models/components/embeddingsconfig.ts +92 -0
- package/packages/orq-rc/src/models/components/embeddingsmodelparameters.ts +64 -0
- package/packages/orq-rc/src/models/components/evaluationcontext.ts +84 -0
- package/packages/orq-rc/src/models/components/evaluationresult.ts +108 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/getuploadfileurlresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -5
- package/packages/orq-rc/src/models/components/index.ts +78 -1
- package/packages/orq-rc/src/models/components/inputtokensdetails.ts +3 -0
- package/packages/orq-rc/src/models/components/internalretrievalconfig.ts +44 -0
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +100 -160
- package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +133 -0
- package/packages/orq-rc/src/models/components/invokeevaluatorresponse.ts +47 -0
- package/packages/orq-rc/src/models/components/knowledge.ts +558 -0
- package/packages/orq-rc/src/models/components/knowledgebasesservicecreaterequest.ts +439 -0
- package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +51 -0
- package/packages/orq-rc/src/models/components/knowledgebasesserviceupdaterequest.ts +649 -0
- package/packages/orq-rc/src/models/components/knowledgechunk.ts +120 -0
- package/packages/orq-rc/src/models/components/knowledgemetadata.ts +48 -0
- package/packages/orq-rc/src/models/components/knowledgesettings.ts +54 -0
- package/packages/orq-rc/src/models/components/knowledgeupdatesettings.ts +55 -0
- package/packages/orq-rc/src/models/components/listmemoriesresponse.ts +54 -0
- package/packages/orq-rc/src/models/components/listmemorydocumentsresponse.ts +57 -0
- package/packages/orq-rc/src/models/components/listmemorystoresresponse.ts +54 -0
- package/packages/orq-rc/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
- package/packages/orq-rc/src/models/components/listmodelcatalogresponse.ts +53 -0
- package/packages/orq-rc/src/models/components/memory.ts +74 -0
- package/packages/orq-rc/src/models/components/memorydocument.ts +65 -0
- package/packages/orq-rc/src/models/components/memorystore.ts +80 -0
- package/packages/orq-rc/src/models/components/memorystoreembeddingconfig.ts +54 -0
- package/packages/orq-rc/src/models/components/model.ts +203 -0
- package/packages/orq-rc/src/models/components/modelartificialanalysis.ts +95 -0
- package/packages/orq-rc/src/models/components/modelmodalities.ts +39 -0
- package/packages/orq-rc/src/models/components/modelparameter.ts +49 -0
- package/packages/orq-rc/src/models/components/modelprovider.ts +60 -0
- package/packages/orq-rc/src/models/components/parseresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/processingattempt.ts +52 -0
- package/packages/orq-rc/src/models/components/processingerror.ts +33 -0
- package/packages/orq-rc/src/models/components/publicembeddingdata.ts +9 -6
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/rerankconfig.ts +58 -0
- package/packages/orq-rc/src/models/components/rerankmodelparameters.ts +31 -0
- package/packages/orq-rc/src/models/components/searchknowledgematch.ts +77 -0
- package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +1656 -0
- package/packages/orq-rc/src/models/components/searchknowledgeresponse.ts +38 -0
- package/packages/orq-rc/src/models/components/searchknowledgescores.ts +39 -0
- package/packages/orq-rc/src/models/components/searchoptions.ts +49 -0
- package/packages/orq-rc/src/models/components/searchrerankconfig.ts +51 -0
- package/packages/orq-rc/src/models/components/searchretrievalconfig.ts +153 -0
- package/packages/orq-rc/src/models/components/searchtype.ts +17 -0
- package/packages/orq-rc/src/models/components/structuredinput.ts +51 -0
- package/packages/orq-rc/src/models/components/structuredoutput.ts +44 -0
- package/packages/orq-rc/src/models/components/structuredtoolcall.ts +43 -0
- package/packages/orq-rc/src/models/components/updateguardrailrulerequest.ts +0 -3
- package/packages/orq-rc/src/models/components/updatememorydocumentrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/updatememoryrequest.ts +31 -0
- package/packages/orq-rc/src/models/components/updatememorystorerequest.ts +37 -0
- package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +17 -10
- package/packages/orq-rc/src/models/components/uploadpostpolicy.ts +33 -0
- package/packages/orq-rc/src/models/components/upsertchunk.ts +59 -0
- package/packages/orq-rc/src/models/errors/index.ts +1 -1
- package/packages/orq-rc/src/models/errors/knowledgeapierror.ts +59 -0
- package/packages/orq-rc/src/models/operations/createannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +171 -353
- package/packages/orq-rc/src/models/operations/createchunk.ts +4 -181
- package/packages/orq-rc/src/models/operations/createcompletion.ts +17 -125
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +35 -41
- package/packages/orq-rc/src/models/operations/createdatasource.ts +7 -486
- package/packages/orq-rc/src/models/operations/creatememory.ts +5 -106
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +6 -110
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +6 -6
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/createtranscription.ts +28 -33
- package/packages/orq-rc/src/models/operations/deletechunk.ts +8 -17
- package/packages/orq-rc/src/models/operations/deletechunks.ts +7 -85
- package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -6
- package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -3
- package/packages/orq-rc/src/models/operations/deletememory.ts +0 -6
- package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -9
- package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -3
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +227 -398
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +24 -24
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +45 -160
- package/packages/orq-rc/src/models/operations/getallmemories.ts +1 -109
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +1 -107
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1 -149
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getchunkscount.ts +6 -141
- package/packages/orq-rc/src/models/operations/geteval.ts +25 -25
- package/packages/orq-rc/src/models/operations/getonechunk.ts +8 -135
- package/packages/orq-rc/src/models/operations/getonedatasourceprocessingstatus.ts +43 -0
- package/packages/orq-rc/src/models/operations/getonefileuploadurl.ts +54 -0
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -616
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +6 -2
- package/packages/orq-rc/src/models/operations/invokeeval.ts +5 -1298
- package/packages/orq-rc/src/models/operations/listannotationqueueitems.ts +50 -58
- package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
- package/packages/orq-rc/src/models/operations/listchunks.ts +1 -159
- package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +8 -269
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -242
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -589
- package/packages/orq-rc/src/models/operations/modelcatalogget.ts +34 -0
- package/packages/orq-rc/src/models/operations/modelcataloglist.ts +163 -0
- package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +175 -0
- package/packages/orq-rc/src/models/operations/parse.ts +114 -89
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +24 -30
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2routerocr.ts +7 -11
- package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +16 -16
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -182
- package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -72
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -72
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -108
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +13 -1728
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatechunk.ts +14 -200
- package/packages/orq-rc/src/models/operations/updatechunkenabled.ts +51 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +7 -216
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +8 -1223
- package/packages/orq-rc/src/models/operations/updatememory.ts +5 -102
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +6 -113
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +5 -152
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/agents.ts +9 -9
- package/packages/orq-rc/src/sdk/annotationqueues.ts +10 -1
- package/packages/orq-rc/src/sdk/chunking.ts +2 -1
- package/packages/orq-rc/src/sdk/datasets.ts +4 -1
- package/packages/orq-rc/src/sdk/evals.ts +18 -6
- package/packages/orq-rc/src/sdk/feedback.ts +0 -6
- package/packages/orq-rc/src/sdk/guardrailrules.ts +1 -1
- package/packages/orq-rc/src/sdk/knowledge.ts +151 -57
- package/packages/orq-rc/src/sdk/memorystores.ts +57 -56
- package/packages/orq-rc/src/sdk/modelcatalog.ts +64 -0
- package/packages/orq-rc/src/sdk/moderations.ts +3 -0
- package/packages/orq-rc/src/sdk/orqresponses.ts +2 -2
- package/packages/orq-rc/src/sdk/prompts.ts +9 -0
- package/packages/orq-rc/src/sdk/sdk.ts +21 -15
- package/packages/orq-rc/src/sdk/tools.ts +1 -1
- package/packages/orq-rc/src/sdk/transcriptions.ts +3 -0
- package/packages/orq-rc/src/sdk/translations.ts +3 -0
- package/sdk/modelcatalog.d.ts +27 -0
- package/sdk/modelcatalog.d.ts.map +1 -0
- package/sdk/modelcatalog.js +42 -0
- package/sdk/modelcatalog.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/modelCatalogGet.ts +168 -0
- package/src/funcs/modelCatalogList.ts +182 -0
- package/src/funcs/modelCatalogListOfferings.ts +187 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
- package/src/models/components/index.ts +6 -0
- package/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
- package/src/models/components/listmodelcatalogresponse.ts +53 -0
- package/src/models/components/model.ts +206 -0
- package/src/models/components/modelmodalities.ts +39 -0
- package/src/models/components/modelprovider.ts +39 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/billing.ts +1 -1
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/modelcatalogget.ts +34 -0
- package/src/models/operations/modelcataloglist.ts +147 -0
- package/src/models/operations/modelcataloglistofferings.ts +151 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/twenty.ts +1 -1
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/modelcatalog.ts +64 -0
- package/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/models/components/evaluatorvariablevalue.ts +0 -38
- package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -141
- package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -1117
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -199
|
@@ -10,12 +10,16 @@ import { evalsInvoke } from "../funcs/evalsInvoke.js";
|
|
|
10
10
|
import { evalsListVersions } from "../funcs/evalsListVersions.js";
|
|
11
11
|
import { evalsUpdate } from "../funcs/evalsUpdate.js";
|
|
12
12
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
13
|
+
import * as components from "../models/components/index.js";
|
|
13
14
|
import * as operations from "../models/operations/index.js";
|
|
14
15
|
import { unwrapAsync } from "../types/fp.js";
|
|
15
16
|
|
|
16
17
|
export class Evals extends ClientSDK {
|
|
17
18
|
/**
|
|
18
19
|
* Get all Evaluators
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* List all evaluators in the workspace.
|
|
19
23
|
*/
|
|
20
24
|
async all(
|
|
21
25
|
request?: operations.GetEvalsRequest | undefined,
|
|
@@ -30,6 +34,9 @@ export class Evals extends ClientSDK {
|
|
|
30
34
|
|
|
31
35
|
/**
|
|
32
36
|
* Create an Evaluator
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* Create a new evaluator in the workspace.
|
|
33
40
|
*/
|
|
34
41
|
async create(
|
|
35
42
|
request?: operations.CreateEvalRequestBody | undefined,
|
|
@@ -46,11 +53,7 @@ export class Evals extends ClientSDK {
|
|
|
46
53
|
* Retrieve an Evaluator
|
|
47
54
|
*
|
|
48
55
|
* @remarks
|
|
49
|
-
* Retrieve a single evaluator by
|
|
50
|
-
*
|
|
51
|
-
* Use this when you already know the evaluator id (for example to refresh the state of a resource you manage declaratively). To discover evaluator ids, list them with `GET /v2/evaluators`.
|
|
52
|
-
*
|
|
53
|
-
* This endpoint returns the stored record, which carries more detail than the representation `GET /v2/evaluators` returns: `display_name` rather than `key`, `model` as an object rather than a provider-qualified string, plus the `owner`, `domain_id`, `metadata`, `enabled` and `output_type` fields.
|
|
56
|
+
* Retrieve a single evaluator by ID with more detail than the list endpoint: full type-specific config, owner, domain_id, metadata, enabled, and output_type.
|
|
54
57
|
*/
|
|
55
58
|
async get(
|
|
56
59
|
request: operations.GetEvalRequest,
|
|
@@ -65,6 +68,9 @@ export class Evals extends ClientSDK {
|
|
|
65
68
|
|
|
66
69
|
/**
|
|
67
70
|
* Update an Evaluator
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* Update an evaluator by ID with the provided fields.
|
|
68
74
|
*/
|
|
69
75
|
async update(
|
|
70
76
|
request: operations.UpdateEvalRequest,
|
|
@@ -79,6 +85,9 @@ export class Evals extends ClientSDK {
|
|
|
79
85
|
|
|
80
86
|
/**
|
|
81
87
|
* Delete an Evaluator
|
|
88
|
+
*
|
|
89
|
+
* @remarks
|
|
90
|
+
* Delete an evaluator by its unique identifier.
|
|
82
91
|
*/
|
|
83
92
|
async delete(
|
|
84
93
|
request: operations.DeleteEvalRequest,
|
|
@@ -93,11 +102,14 @@ export class Evals extends ClientSDK {
|
|
|
93
102
|
|
|
94
103
|
/**
|
|
95
104
|
* Invoke a Custom Evaluator
|
|
105
|
+
*
|
|
106
|
+
* @remarks
|
|
107
|
+
* Runs an evaluator that already exists in the workspace. Accepts either a conversation or the structured input and output fields; when both are present the conversation wins.
|
|
96
108
|
*/
|
|
97
109
|
async invoke(
|
|
98
110
|
request: operations.InvokeEvalRequest,
|
|
99
111
|
options?: RequestOptions,
|
|
100
|
-
): Promise<
|
|
112
|
+
): Promise<components.InvokeEvaluatorResponse> {
|
|
101
113
|
return unwrapAsync(evalsInvoke(
|
|
102
114
|
this,
|
|
103
115
|
request,
|
|
@@ -44,12 +44,6 @@ export class Feedback extends ClientSDK {
|
|
|
44
44
|
));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
/**
|
|
48
|
-
* Create completion
|
|
49
|
-
*
|
|
50
|
-
* @remarks
|
|
51
|
-
* For sending requests to legacy completion models
|
|
52
|
-
*/
|
|
53
47
|
async create(
|
|
54
48
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
|
55
49
|
options?: RequestOptions,
|
|
@@ -35,7 +35,7 @@ export class GuardrailRules extends ClientSDK {
|
|
|
35
35
|
* Create a guardrail rule
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
|
-
* Creates a guardrail rule with metadata and optional evaluator, plugin,
|
|
38
|
+
* Creates a guardrail rule with metadata and optional evaluator, plugin, and matching configuration. Rules default to disabled when `enabled` is omitted.
|
|
39
39
|
*/
|
|
40
40
|
async create(
|
|
41
41
|
request: components.CreateGuardrailRuleRequest,
|
|
@@ -17,11 +17,15 @@ import { knowledgeListDatasources } from "../funcs/knowledgeListDatasources.js";
|
|
|
17
17
|
import { knowledgeRetrieve } from "../funcs/knowledgeRetrieve.js";
|
|
18
18
|
import { knowledgeRetrieveChunk } from "../funcs/knowledgeRetrieveChunk.js";
|
|
19
19
|
import { knowledgeRetrieveDatasource } from "../funcs/knowledgeRetrieveDatasource.js";
|
|
20
|
+
import { knowledgeRetrieveFileUrl } from "../funcs/knowledgeRetrieveFileUrl.js";
|
|
21
|
+
import { knowledgeRetrieveProcessingStatus } from "../funcs/knowledgeRetrieveProcessingStatus.js";
|
|
20
22
|
import { knowledgeSearch } from "../funcs/knowledgeSearch.js";
|
|
23
|
+
import { knowledgeToggleChunk } from "../funcs/knowledgeToggleChunk.js";
|
|
21
24
|
import { knowledgeUpdate } from "../funcs/knowledgeUpdate.js";
|
|
22
25
|
import { knowledgeUpdateChunk } from "../funcs/knowledgeUpdateChunk.js";
|
|
23
26
|
import { knowledgeUpdateDatasource } from "../funcs/knowledgeUpdateDatasource.js";
|
|
24
27
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
28
|
+
import * as components from "../models/components/index.js";
|
|
25
29
|
import * as operations from "../models/operations/index.js";
|
|
26
30
|
import { unwrapAsync } from "../types/fp.js";
|
|
27
31
|
|
|
@@ -35,7 +39,7 @@ export class Knowledge extends ClientSDK {
|
|
|
35
39
|
async list(
|
|
36
40
|
request?: operations.ListKnowledgeBasesRequest | undefined,
|
|
37
41
|
options?: RequestOptions,
|
|
38
|
-
): Promise<
|
|
42
|
+
): Promise<components.KnowledgeBasesServiceListResponse> {
|
|
39
43
|
return unwrapAsync(knowledgeList(
|
|
40
44
|
this,
|
|
41
45
|
request,
|
|
@@ -45,11 +49,14 @@ export class Knowledge extends ClientSDK {
|
|
|
45
49
|
|
|
46
50
|
/**
|
|
47
51
|
* Create a knowledge
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Creates an internal or external knowledge base. Internal knowledge bases embed and index uploaded content; external knowledge bases query the configured external retrieval API.
|
|
48
55
|
*/
|
|
49
56
|
async create(
|
|
50
|
-
request:
|
|
57
|
+
request: components.KnowledgeBasesServiceCreateRequest,
|
|
51
58
|
options?: RequestOptions,
|
|
52
|
-
): Promise<
|
|
59
|
+
): Promise<components.Knowledge> {
|
|
53
60
|
return unwrapAsync(knowledgeCreate(
|
|
54
61
|
this,
|
|
55
62
|
request,
|
|
@@ -66,7 +73,7 @@ export class Knowledge extends ClientSDK {
|
|
|
66
73
|
async retrieve(
|
|
67
74
|
request: operations.GetOneKnowledgeRequest,
|
|
68
75
|
options?: RequestOptions,
|
|
69
|
-
): Promise<
|
|
76
|
+
): Promise<components.Knowledge> {
|
|
70
77
|
return unwrapAsync(knowledgeRetrieve(
|
|
71
78
|
this,
|
|
72
79
|
request,
|
|
@@ -74,20 +81,6 @@ export class Knowledge extends ClientSDK {
|
|
|
74
81
|
));
|
|
75
82
|
}
|
|
76
83
|
|
|
77
|
-
/**
|
|
78
|
-
* Updates a knowledge
|
|
79
|
-
*/
|
|
80
|
-
async update(
|
|
81
|
-
request: operations.UpdateKnowledgeRequest,
|
|
82
|
-
options?: RequestOptions,
|
|
83
|
-
): Promise<operations.UpdateKnowledgeResponseBody> {
|
|
84
|
-
return unwrapAsync(knowledgeUpdate(
|
|
85
|
-
this,
|
|
86
|
-
request,
|
|
87
|
-
options,
|
|
88
|
-
));
|
|
89
|
-
}
|
|
90
|
-
|
|
91
84
|
/**
|
|
92
85
|
* Deletes a knowledge
|
|
93
86
|
*
|
|
@@ -106,16 +99,16 @@ export class Knowledge extends ClientSDK {
|
|
|
106
99
|
}
|
|
107
100
|
|
|
108
101
|
/**
|
|
109
|
-
*
|
|
102
|
+
* Updates a knowledge
|
|
110
103
|
*
|
|
111
104
|
* @remarks
|
|
112
|
-
*
|
|
105
|
+
* Updates a knowledge base. Omitted optional fields retain their current values.
|
|
113
106
|
*/
|
|
114
|
-
async
|
|
115
|
-
request: operations.
|
|
107
|
+
async update(
|
|
108
|
+
request: operations.UpdateKnowledgeRequest,
|
|
116
109
|
options?: RequestOptions,
|
|
117
|
-
): Promise<
|
|
118
|
-
return unwrapAsync(
|
|
110
|
+
): Promise<components.Knowledge> {
|
|
111
|
+
return unwrapAsync(knowledgeUpdate(
|
|
119
112
|
this,
|
|
120
113
|
request,
|
|
121
114
|
options,
|
|
@@ -124,11 +117,14 @@ export class Knowledge extends ClientSDK {
|
|
|
124
117
|
|
|
125
118
|
/**
|
|
126
119
|
* List all datasources
|
|
120
|
+
*
|
|
121
|
+
* @remarks
|
|
122
|
+
* Returns the datasources in a knowledge base. Use cursors to page through results and optional query or status filters to narrow the list.
|
|
127
123
|
*/
|
|
128
124
|
async listDatasources(
|
|
129
125
|
request: operations.ListDatasourcesRequest,
|
|
130
126
|
options?: RequestOptions,
|
|
131
|
-
): Promise<
|
|
127
|
+
): Promise<components.DatasourcesServiceListResponse> {
|
|
132
128
|
return unwrapAsync(knowledgeListDatasources(
|
|
133
129
|
this,
|
|
134
130
|
request,
|
|
@@ -138,11 +134,14 @@ export class Knowledge extends ClientSDK {
|
|
|
138
134
|
|
|
139
135
|
/**
|
|
140
136
|
* Create a new datasource
|
|
137
|
+
*
|
|
138
|
+
* @remarks
|
|
139
|
+
* Creates a datasource shell when only a display name is provided. When file_id is provided, the uploaded file is queued for chunking and ingestion.
|
|
141
140
|
*/
|
|
142
141
|
async createDatasource(
|
|
143
142
|
request: operations.CreateDatasourceRequest,
|
|
144
143
|
options?: RequestOptions,
|
|
145
|
-
): Promise<
|
|
144
|
+
): Promise<components.Datasource> {
|
|
146
145
|
return unwrapAsync(knowledgeCreateDatasource(
|
|
147
146
|
this,
|
|
148
147
|
request,
|
|
@@ -152,11 +151,14 @@ export class Knowledge extends ClientSDK {
|
|
|
152
151
|
|
|
153
152
|
/**
|
|
154
153
|
* Retrieve a datasource
|
|
154
|
+
*
|
|
155
|
+
* @remarks
|
|
156
|
+
* Retrieves a datasource and its current processing status and chunk count.
|
|
155
157
|
*/
|
|
156
158
|
async retrieveDatasource(
|
|
157
159
|
request: operations.RetrieveDatasourceRequest,
|
|
158
160
|
options?: RequestOptions,
|
|
159
|
-
): Promise<
|
|
161
|
+
): Promise<components.Datasource> {
|
|
160
162
|
return unwrapAsync(knowledgeRetrieveDatasource(
|
|
161
163
|
this,
|
|
162
164
|
request,
|
|
@@ -183,11 +185,14 @@ export class Knowledge extends ClientSDK {
|
|
|
183
185
|
|
|
184
186
|
/**
|
|
185
187
|
* Update a datasource
|
|
188
|
+
*
|
|
189
|
+
* @remarks
|
|
190
|
+
* Updates the display name of a datasource.
|
|
186
191
|
*/
|
|
187
192
|
async updateDatasource(
|
|
188
193
|
request: operations.UpdateDatasourceRequest,
|
|
189
194
|
options?: RequestOptions,
|
|
190
|
-
): Promise<
|
|
195
|
+
): Promise<components.Datasource> {
|
|
191
196
|
return unwrapAsync(knowledgeUpdateDatasource(
|
|
192
197
|
this,
|
|
193
198
|
request,
|
|
@@ -196,13 +201,16 @@ export class Knowledge extends ClientSDK {
|
|
|
196
201
|
}
|
|
197
202
|
|
|
198
203
|
/**
|
|
199
|
-
*
|
|
204
|
+
* List all chunks for a datasource
|
|
205
|
+
*
|
|
206
|
+
* @remarks
|
|
207
|
+
* Returns chunks using cursor pagination, with optional text and processing-status filters.
|
|
200
208
|
*/
|
|
201
|
-
async
|
|
202
|
-
request: operations.
|
|
209
|
+
async listChunks(
|
|
210
|
+
request: operations.ListChunksRequest,
|
|
203
211
|
options?: RequestOptions,
|
|
204
|
-
): Promise<
|
|
205
|
-
return unwrapAsync(
|
|
212
|
+
): Promise<components.ChunksServiceListResponse> {
|
|
213
|
+
return unwrapAsync(knowledgeListChunks(
|
|
206
214
|
this,
|
|
207
215
|
request,
|
|
208
216
|
options,
|
|
@@ -210,13 +218,16 @@ export class Knowledge extends ClientSDK {
|
|
|
210
218
|
}
|
|
211
219
|
|
|
212
220
|
/**
|
|
213
|
-
*
|
|
221
|
+
* Create chunks for a datasource
|
|
222
|
+
*
|
|
223
|
+
* @remarks
|
|
224
|
+
* Creates between 1 and 100 chunks. Chunks with supplied embeddings are indexed immediately; chunks without embeddings are queued for embedding.
|
|
214
225
|
*/
|
|
215
|
-
async
|
|
216
|
-
request: operations.
|
|
226
|
+
async createChunks(
|
|
227
|
+
request: operations.CreateChunkRequest,
|
|
217
228
|
options?: RequestOptions,
|
|
218
|
-
): Promise<
|
|
219
|
-
return unwrapAsync(
|
|
229
|
+
): Promise<Array<components.KnowledgeChunk>> {
|
|
230
|
+
return unwrapAsync(knowledgeCreateChunks(
|
|
220
231
|
this,
|
|
221
232
|
request,
|
|
222
233
|
options,
|
|
@@ -225,11 +236,14 @@ export class Knowledge extends ClientSDK {
|
|
|
225
236
|
|
|
226
237
|
/**
|
|
227
238
|
* Delete multiple chunks
|
|
239
|
+
*
|
|
240
|
+
* @remarks
|
|
241
|
+
* Deletes up to 100 chunks and reports IDs that were not found or could not be deleted.
|
|
228
242
|
*/
|
|
229
243
|
async deleteChunks(
|
|
230
244
|
request: operations.DeleteChunksRequest,
|
|
231
245
|
options?: RequestOptions,
|
|
232
|
-
): Promise<
|
|
246
|
+
): Promise<components.ChunksServiceDeleteManyResponse> {
|
|
233
247
|
return unwrapAsync(knowledgeDeleteChunks(
|
|
234
248
|
this,
|
|
235
249
|
request,
|
|
@@ -237,13 +251,33 @@ export class Knowledge extends ClientSDK {
|
|
|
237
251
|
));
|
|
238
252
|
}
|
|
239
253
|
|
|
254
|
+
/**
|
|
255
|
+
* Get chunks total count
|
|
256
|
+
*
|
|
257
|
+
* @remarks
|
|
258
|
+
* Returns the total count of chunks in a datasource. When `q` is provided, the count reflects indexed chunks only — recently created chunks may not be counted until embedding completes.
|
|
259
|
+
*/
|
|
260
|
+
async getChunksCount(
|
|
261
|
+
request: operations.GetChunksCountRequest,
|
|
262
|
+
options?: RequestOptions,
|
|
263
|
+
): Promise<components.ChunksServiceCountResponse> {
|
|
264
|
+
return unwrapAsync(knowledgeGetChunksCount(
|
|
265
|
+
this,
|
|
266
|
+
request,
|
|
267
|
+
options,
|
|
268
|
+
));
|
|
269
|
+
}
|
|
270
|
+
|
|
240
271
|
/**
|
|
241
272
|
* List chunks with offset-based pagination
|
|
273
|
+
*
|
|
274
|
+
* @remarks
|
|
275
|
+
* Returns a page of chunks, with optional text, enabled-state, and processing-status filters.
|
|
242
276
|
*/
|
|
243
277
|
async listChunksPaginated(
|
|
244
278
|
request: operations.ListChunksPaginatedRequest,
|
|
245
279
|
options?: RequestOptions,
|
|
246
|
-
): Promise<
|
|
280
|
+
): Promise<components.ChunksServiceListPaginatedResponse> {
|
|
247
281
|
return unwrapAsync(knowledgeListChunksPaginated(
|
|
248
282
|
this,
|
|
249
283
|
request,
|
|
@@ -252,16 +286,33 @@ export class Knowledge extends ClientSDK {
|
|
|
252
286
|
}
|
|
253
287
|
|
|
254
288
|
/**
|
|
255
|
-
*
|
|
289
|
+
* Retrieve a chunk
|
|
256
290
|
*
|
|
257
291
|
* @remarks
|
|
258
|
-
*
|
|
292
|
+
* Retrieves a chunk by its chunk identifier.
|
|
259
293
|
*/
|
|
260
|
-
async
|
|
261
|
-
request: operations.
|
|
294
|
+
async retrieveChunk(
|
|
295
|
+
request: operations.GetOneChunkRequest,
|
|
262
296
|
options?: RequestOptions,
|
|
263
|
-
): Promise<
|
|
264
|
-
return unwrapAsync(
|
|
297
|
+
): Promise<components.KnowledgeChunk> {
|
|
298
|
+
return unwrapAsync(knowledgeRetrieveChunk(
|
|
299
|
+
this,
|
|
300
|
+
request,
|
|
301
|
+
options,
|
|
302
|
+
));
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Delete a chunk
|
|
307
|
+
*
|
|
308
|
+
* @remarks
|
|
309
|
+
* Deletes a chunk from the datasource and its vector index.
|
|
310
|
+
*/
|
|
311
|
+
async deleteChunk(
|
|
312
|
+
request: operations.DeleteChunkRequest,
|
|
313
|
+
options?: RequestOptions,
|
|
314
|
+
): Promise<void> {
|
|
315
|
+
return unwrapAsync(knowledgeDeleteChunk(
|
|
265
316
|
this,
|
|
266
317
|
request,
|
|
267
318
|
options,
|
|
@@ -270,11 +321,14 @@ export class Knowledge extends ClientSDK {
|
|
|
270
321
|
|
|
271
322
|
/**
|
|
272
323
|
* Update a chunk
|
|
324
|
+
*
|
|
325
|
+
* @remarks
|
|
326
|
+
* Updates chunk text, metadata, or a supplied embedding. Changing text without an embedding queues the chunk for re-embedding.
|
|
273
327
|
*/
|
|
274
328
|
async updateChunk(
|
|
275
329
|
request: operations.UpdateChunkRequest,
|
|
276
330
|
options?: RequestOptions,
|
|
277
|
-
): Promise<
|
|
331
|
+
): Promise<components.KnowledgeChunk> {
|
|
278
332
|
return unwrapAsync(knowledgeUpdateChunk(
|
|
279
333
|
this,
|
|
280
334
|
request,
|
|
@@ -283,13 +337,16 @@ export class Knowledge extends ClientSDK {
|
|
|
283
337
|
}
|
|
284
338
|
|
|
285
339
|
/**
|
|
286
|
-
*
|
|
340
|
+
* Set a chunk's enabled status
|
|
341
|
+
*
|
|
342
|
+
* @remarks
|
|
343
|
+
* Enables or disables a chunk for retrieval. If the vector-index document is missing, enabling the chunk queues it for embedding.
|
|
287
344
|
*/
|
|
288
|
-
async
|
|
289
|
-
request: operations.
|
|
345
|
+
async toggleChunk(
|
|
346
|
+
request: operations.UpdateChunkEnabledRequest,
|
|
290
347
|
options?: RequestOptions,
|
|
291
|
-
): Promise<
|
|
292
|
-
return unwrapAsync(
|
|
348
|
+
): Promise<components.KnowledgeChunk> {
|
|
349
|
+
return unwrapAsync(knowledgeToggleChunk(
|
|
293
350
|
this,
|
|
294
351
|
request,
|
|
295
352
|
options,
|
|
@@ -297,13 +354,50 @@ export class Knowledge extends ClientSDK {
|
|
|
297
354
|
}
|
|
298
355
|
|
|
299
356
|
/**
|
|
300
|
-
* Retrieve
|
|
357
|
+
* Retrieve datasource processing status
|
|
358
|
+
*
|
|
359
|
+
* @remarks
|
|
360
|
+
* Returns aggregate queued, completed, passed, and failed chunk counts together with the datasource and chunk processing attempts.
|
|
301
361
|
*/
|
|
302
|
-
async
|
|
303
|
-
request: operations.
|
|
362
|
+
async retrieveProcessingStatus(
|
|
363
|
+
request: operations.GetOneDatasourceProcessingStatusRequest,
|
|
304
364
|
options?: RequestOptions,
|
|
305
|
-
): Promise<
|
|
306
|
-
return unwrapAsync(
|
|
365
|
+
): Promise<components.DatasourcesServiceGetProcessingStatusResponse> {
|
|
366
|
+
return unwrapAsync(knowledgeRetrieveProcessingStatus(
|
|
367
|
+
this,
|
|
368
|
+
request,
|
|
369
|
+
options,
|
|
370
|
+
));
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Search knowledge base
|
|
375
|
+
*
|
|
376
|
+
* @remarks
|
|
377
|
+
* Search a Knowledge Base and return the most similar chunks, along with their search and rerank scores. Note that all configuration changes made in the API will override the settings in the UI.
|
|
378
|
+
*/
|
|
379
|
+
async search(
|
|
380
|
+
request: operations.SearchKnowledgeRequest,
|
|
381
|
+
options?: RequestOptions,
|
|
382
|
+
): Promise<components.SearchKnowledgeResponse> {
|
|
383
|
+
return unwrapAsync(knowledgeSearch(
|
|
384
|
+
this,
|
|
385
|
+
request,
|
|
386
|
+
options,
|
|
387
|
+
));
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Retrieve a file upload URL
|
|
392
|
+
*
|
|
393
|
+
* @remarks
|
|
394
|
+
* Creates a presigned upload policy for a file that will be attached to a knowledge-base datasource. Submit the returned form fields and file directly to the returned URL.
|
|
395
|
+
*/
|
|
396
|
+
async retrieveFileUrl(
|
|
397
|
+
request: operations.GetOneFileUploadUrlRequest,
|
|
398
|
+
options?: RequestOptions,
|
|
399
|
+
): Promise<components.GetUploadFileUrlResponse> {
|
|
400
|
+
return unwrapAsync(knowledgeRetrieveFileUrl(
|
|
307
401
|
this,
|
|
308
402
|
request,
|
|
309
403
|
options,
|