@orq-ai/node 4.11.3 → 4.11.9
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 +40 -36
- package/funcs/modelsImportLitellm.d.ts +17 -0
- package/funcs/modelsImportLitellm.d.ts.map +1 -0
- package/funcs/modelsImportLitellm.js +118 -0
- package/funcs/modelsImportLitellm.js.map +1 -0
- package/funcs/modelsListLitellm.d.ts +18 -0
- package/funcs/modelsListLitellm.d.ts.map +1 -0
- package/funcs/modelsListLitellm.js +105 -0
- package/funcs/modelsListLitellm.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/http.d.ts +1 -1
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +1 -1
- package/lib/http.js.map +1 -1
- package/lib/security.d.ts +5 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -7
- package/lib/security.js.map +1 -1
- 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/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/litellmmodel.d.ts +18 -0
- package/models/components/litellmmodel.d.ts.map +1 -0
- package/models/components/litellmmodel.js +60 -0
- package/models/components/litellmmodel.js.map +1 -0
- package/models/components/litellmmodelinfo.d.ts +44 -0
- package/models/components/litellmmodelinfo.d.ts.map +1 -0
- package/models/components/litellmmodelinfo.js +83 -0
- package/models/components/litellmmodelinfo.js.map +1 -0
- package/models/components/litellmparams.d.ts +18 -0
- package/models/components/litellmparams.d.ts.map +1 -0
- package/models/components/litellmparams.js +59 -0
- package/models/components/litellmparams.js.map +1 -0
- package/models/components/modeldocument.d.ts +39 -0
- package/models/components/modeldocument.d.ts.map +1 -0
- package/models/components/modeldocument.js +99 -0
- package/models/components/modeldocument.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createprompt.d.ts +3 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +3 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +3 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +3 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +3 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +3 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +3 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +3 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +3 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +3 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getoneprompt.d.ts +3 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +3 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +3 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +3 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/invokeeval.d.ts +1 -1
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +1 -1
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +3 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +3 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- 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/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateprompt.d.ts +3 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +3 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +2 -0
- package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +2 -0
- package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +166 -0
- package/packages/orq-rc/src/funcs/modelsListLitellm.ts +144 -0
- package/packages/orq-rc/src/funcs/notifiersList.ts +2 -0
- package/packages/orq-rc/src/funcs/reportingQuery.ts +3 -1
- package/packages/orq-rc/src/funcs/telemetryQuery.ts +162 -0
- package/packages/orq-rc/src/funcs/tracesAggregate.ts +3 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/http.ts +3 -1
- package/packages/orq-rc/src/lib/security.ts +10 -5
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +6 -0
- package/packages/orq-rc/src/models/components/apikey.ts +6 -0
- package/packages/orq-rc/src/models/components/budget.ts +6 -0
- package/packages/orq-rc/src/models/components/budgetalert.ts +92 -0
- package/packages/orq-rc/src/models/components/budgetalertdimension.ts +22 -0
- package/packages/orq-rc/src/models/components/config.ts +44 -0
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +14 -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/filepurpose.ts +1 -0
- package/packages/orq-rc/src/models/components/identity.ts +6 -0
- package/packages/orq-rc/src/models/components/index.ts +11 -0
- package/packages/orq-rc/src/models/components/litellmmodel.ts +50 -0
- package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +97 -0
- package/packages/orq-rc/src/models/components/litellmparams.ts +43 -0
- package/packages/orq-rc/src/models/components/modeldocument.ts +115 -0
- package/packages/orq-rc/src/models/components/modelsconfig.ts +1 -0
- package/packages/orq-rc/src/models/components/querytelemetrymeta.ts +38 -0
- package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +85 -0
- package/packages/orq-rc/src/models/components/querytelemetryresponse.ts +42 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/telemetryrow.ts +42 -0
- package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +1 -0
- package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +21 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +127 -40
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +1 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +237 -19
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +179 -175
- package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -10
- package/packages/orq-rc/src/models/operations/createprompt.ts +6 -0
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +127 -26
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +3 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +3 -0
- package/packages/orq-rc/src/models/operations/getallmemories.ts +1 -1
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +1 -1
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1 -1
- package/packages/orq-rc/src/models/operations/getallprompts.ts +6 -1
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +1 -1
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +5 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +5 -0
- package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +1 -1
- 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/getv2toolstoolidversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/invokeeval.ts +2 -2
- package/packages/orq-rc/src/models/operations/listagents.ts +8 -0
- package/packages/orq-rc/src/models/operations/listchunks.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +314 -85
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +6 -1
- package/packages/orq-rc/src/models/operations/modelcreate.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelupdate.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +2 -0
- package/packages/orq-rc/src/models/operations/notifierlist.ts +13 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +119 -11
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +8 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +234 -9
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +95 -33
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +101 -33
- package/packages/orq-rc/src/models/operations/updateagent.ts +129 -40
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +229 -9
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +6 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/packages/orq-rc/src/sdk/humanreviewsets.ts +4 -1
- package/packages/orq-rc/src/sdk/models.ts +35 -0
- package/packages/orq-rc/src/sdk/orqresponses.ts +4 -0
- package/packages/orq-rc/src/sdk/reporting.ts +3 -1
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/sdk/telemetry.ts +27 -0
- package/packages/orq-rc/src/sdk/traces.ts +3 -1
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/sdk/models.d.ts +17 -0
- package/sdk/models.d.ts.map +1 -1
- package/sdk/models.js +20 -0
- package/sdk/models.js.map +1 -1
- package/src/funcs/modelsImportLitellm.ts +166 -0
- package/src/funcs/modelsListLitellm.ts +144 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- 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/index.ts +4 -0
- package/src/models/components/litellmmodel.ts +50 -0
- package/src/models/components/litellmmodelinfo.ts +97 -0
- package/src/models/components/litellmparams.ts +43 -0
- package/src/models/components/modeldocument.ts +112 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createprompt.ts +3 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +3 -0
- package/src/models/operations/deployments.ts +3 -0
- package/src/models/operations/deploymentstream.ts +3 -0
- package/src/models/operations/getallprompts.ts +3 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +3 -0
- package/src/models/operations/getpromptversion.ts +3 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/invokeeval.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listpromptversions.ts +3 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- 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/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateprompt.ts +3 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
- package/src/sdk/models.ts +35 -0
|
@@ -125,7 +125,7 @@ export type RetrievalSettings = {
|
|
|
125
125
|
| undefined;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export type
|
|
128
|
+
export type CreateKnowledgeRequestBody1 = {
|
|
129
129
|
type?: CreateKnowledgeRequestBodyType | undefined;
|
|
130
130
|
key: string;
|
|
131
131
|
description?: string | undefined;
|
|
@@ -149,7 +149,9 @@ export type RequestBody1 = {
|
|
|
149
149
|
path: string;
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
export type CreateKnowledgeRequestBody =
|
|
152
|
+
export type CreateKnowledgeRequestBody =
|
|
153
|
+
| CreateKnowledgeRequestBody1
|
|
154
|
+
| RequestBody2;
|
|
153
155
|
|
|
154
156
|
export const CreateKnowledgeResponseBodyKnowledgeType = {
|
|
155
157
|
External: "external",
|
|
@@ -579,7 +581,7 @@ export function retrievalSettingsToJSON(
|
|
|
579
581
|
}
|
|
580
582
|
|
|
581
583
|
/** @internal */
|
|
582
|
-
export type
|
|
584
|
+
export type CreateKnowledgeRequestBody1$Outbound = {
|
|
583
585
|
type: string;
|
|
584
586
|
key: string;
|
|
585
587
|
description?: string | undefined;
|
|
@@ -589,10 +591,10 @@ export type RequestBody1$Outbound = {
|
|
|
589
591
|
};
|
|
590
592
|
|
|
591
593
|
/** @internal */
|
|
592
|
-
export const
|
|
593
|
-
|
|
594
|
+
export const CreateKnowledgeRequestBody1$outboundSchema: z.ZodType<
|
|
595
|
+
CreateKnowledgeRequestBody1$Outbound,
|
|
594
596
|
z.ZodTypeDef,
|
|
595
|
-
|
|
597
|
+
CreateKnowledgeRequestBody1
|
|
596
598
|
> = z.object({
|
|
597
599
|
type: CreateKnowledgeRequestBodyType$outboundSchema.default("internal"),
|
|
598
600
|
key: z.string(),
|
|
@@ -607,13 +609,19 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
607
609
|
});
|
|
608
610
|
});
|
|
609
611
|
|
|
610
|
-
export function
|
|
611
|
-
|
|
612
|
+
export function createKnowledgeRequestBody1ToJSON(
|
|
613
|
+
createKnowledgeRequestBody1: CreateKnowledgeRequestBody1,
|
|
614
|
+
): string {
|
|
615
|
+
return JSON.stringify(
|
|
616
|
+
CreateKnowledgeRequestBody1$outboundSchema.parse(
|
|
617
|
+
createKnowledgeRequestBody1,
|
|
618
|
+
),
|
|
619
|
+
);
|
|
612
620
|
}
|
|
613
621
|
|
|
614
622
|
/** @internal */
|
|
615
623
|
export type CreateKnowledgeRequestBody$Outbound =
|
|
616
|
-
|
|
|
624
|
+
| CreateKnowledgeRequestBody1$Outbound
|
|
617
625
|
| RequestBody2$Outbound;
|
|
618
626
|
|
|
619
627
|
/** @internal */
|
|
@@ -622,7 +630,7 @@ export const CreateKnowledgeRequestBody$outboundSchema: z.ZodType<
|
|
|
622
630
|
z.ZodTypeDef,
|
|
623
631
|
CreateKnowledgeRequestBody
|
|
624
632
|
> = z.union([
|
|
625
|
-
z.lazy(() =>
|
|
633
|
+
z.lazy(() => CreateKnowledgeRequestBody1$outboundSchema),
|
|
626
634
|
z.lazy(() => RequestBody2$outboundSchema),
|
|
627
635
|
]);
|
|
628
636
|
|
|
@@ -602,6 +602,7 @@ export type CreatePromptModalities = ClosedEnum<typeof CreatePromptModalities>;
|
|
|
602
602
|
*/
|
|
603
603
|
export const CreatePromptId1 = {
|
|
604
604
|
OrqPiiDetection: "orq_pii_detection",
|
|
605
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
605
606
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
606
607
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
607
608
|
} as const;
|
|
@@ -1234,6 +1235,7 @@ export type CreatePromptVerbosity = ClosedEnum<typeof CreatePromptVerbosity>;
|
|
|
1234
1235
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1235
1236
|
*/
|
|
1236
1237
|
export const CreatePromptThinkingLevel = {
|
|
1238
|
+
Minimal: "minimal",
|
|
1237
1239
|
Low: "low",
|
|
1238
1240
|
Medium: "medium",
|
|
1239
1241
|
High: "high",
|
|
@@ -1364,6 +1366,7 @@ export const CreatePromptProvider = {
|
|
|
1364
1366
|
Nvidia: "nvidia",
|
|
1365
1367
|
Jina: "jina",
|
|
1366
1368
|
Elevenlabs: "elevenlabs",
|
|
1369
|
+
Litellm: "litellm",
|
|
1367
1370
|
Cerebras: "cerebras",
|
|
1368
1371
|
Openailike: "openailike",
|
|
1369
1372
|
Bytedance: "bytedance",
|
|
@@ -1381,6 +1384,8 @@ export const CreatePromptProvider = {
|
|
|
1381
1384
|
Wafer: "wafer",
|
|
1382
1385
|
Poolside: "poolside",
|
|
1383
1386
|
Tencent: "tencent",
|
|
1387
|
+
Nebius: "nebius",
|
|
1388
|
+
Reson8: "reson8",
|
|
1384
1389
|
Slack: "slack",
|
|
1385
1390
|
Orq: "orq",
|
|
1386
1391
|
} as const;
|
|
@@ -1760,6 +1765,7 @@ export type CreatePromptPromptsModalities = ClosedEnum<
|
|
|
1760
1765
|
*/
|
|
1761
1766
|
export const CreatePromptIdPrompts1 = {
|
|
1762
1767
|
OrqPiiDetection: "orq_pii_detection",
|
|
1768
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
1763
1769
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
1764
1770
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
1765
1771
|
} as const;
|
|
@@ -409,19 +409,26 @@ export const TemplateEngine = {
|
|
|
409
409
|
*/
|
|
410
410
|
export type TemplateEngine = ClosedEnum<typeof TemplateEngine>;
|
|
411
411
|
|
|
412
|
-
/**
|
|
413
|
-
* The JSON Schema the output must conform to.
|
|
414
|
-
*/
|
|
415
|
-
export type FormatSchema = {};
|
|
416
|
-
|
|
417
412
|
export type FormatJSONSchema = {
|
|
413
|
+
/**
|
|
414
|
+
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
415
|
+
*/
|
|
418
416
|
description?: string | undefined;
|
|
419
|
-
name?: string | undefined;
|
|
420
417
|
/**
|
|
421
|
-
* The
|
|
418
|
+
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
419
|
+
*/
|
|
420
|
+
name: string;
|
|
421
|
+
/**
|
|
422
|
+
* The schema for the response format, described as a JSON Schema object.
|
|
423
|
+
*/
|
|
424
|
+
schema: { [k: string]: any };
|
|
425
|
+
/**
|
|
426
|
+
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field.
|
|
422
427
|
*/
|
|
423
|
-
schema?: FormatSchema | undefined;
|
|
424
428
|
strict?: boolean | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* The type of response format being defined. Always `json_schema`.
|
|
431
|
+
*/
|
|
425
432
|
type: "json_schema";
|
|
426
433
|
};
|
|
427
434
|
|
|
@@ -538,6 +545,43 @@ export type ToolsMCPTool = {
|
|
|
538
545
|
type: "mcp";
|
|
539
546
|
};
|
|
540
547
|
|
|
548
|
+
export type Files = {
|
|
549
|
+
/**
|
|
550
|
+
* The workspace file ID.
|
|
551
|
+
*/
|
|
552
|
+
fileId: string;
|
|
553
|
+
/**
|
|
554
|
+
* The file name exposed under /workspace.
|
|
555
|
+
*/
|
|
556
|
+
name: string;
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Network mode. Defaults to disabled.
|
|
561
|
+
*/
|
|
562
|
+
export const ToolsMode = {
|
|
563
|
+
Disabled: "disabled",
|
|
564
|
+
Allowlist: "allowlist",
|
|
565
|
+
} as const;
|
|
566
|
+
/**
|
|
567
|
+
* Network mode. Defaults to disabled.
|
|
568
|
+
*/
|
|
569
|
+
export type ToolsMode = ClosedEnum<typeof ToolsMode>;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Network access intent for orq:code_interpreter. Stored and validated today; runtime enforcement by the sandbox egress layer is rolling out and until then sandbox executions retain default public internet egress.
|
|
573
|
+
*/
|
|
574
|
+
export type Network = {
|
|
575
|
+
/**
|
|
576
|
+
* Allowed network hostnames or IPv4 addresses when mode is allowlist. Maximum 50 entries.
|
|
577
|
+
*/
|
|
578
|
+
allowlist?: Array<string> | undefined;
|
|
579
|
+
/**
|
|
580
|
+
* Network mode. Defaults to disabled.
|
|
581
|
+
*/
|
|
582
|
+
mode?: ToolsMode | undefined;
|
|
583
|
+
};
|
|
584
|
+
|
|
541
585
|
/**
|
|
542
586
|
* The orq.ai tool type.
|
|
543
587
|
*/
|
|
@@ -545,6 +589,7 @@ export const CreateRouterResponseToolsResponsesType = {
|
|
|
545
589
|
OrqCurrentDate: "orq:current_date",
|
|
546
590
|
OrqGoogleSearch: "orq:google_search",
|
|
547
591
|
OrqWebScraper: "orq:web_scraper",
|
|
592
|
+
OrqCodeInterpreter: "orq:code_interpreter",
|
|
548
593
|
OrqMcp: "orq:mcp",
|
|
549
594
|
OrqHttp: "orq:http",
|
|
550
595
|
OrqFunction: "orq:function",
|
|
@@ -560,6 +605,14 @@ export type CreateRouterResponseToolsResponsesType = ClosedEnum<
|
|
|
560
605
|
* An orq.ai platform tool reference. For MCP tools, prefer type 'mcp' with 'key' instead of 'orq:mcp' with 'tool_id'.
|
|
561
606
|
*/
|
|
562
607
|
export type OrqAiTool = {
|
|
608
|
+
/**
|
|
609
|
+
* Files to stage in /workspace for orq:code_interpreter. Maximum 10 files.
|
|
610
|
+
*/
|
|
611
|
+
files?: Array<Files> | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* Network access intent for orq:code_interpreter. Stored and validated today; runtime enforcement by the sandbox egress layer is rolling out and until then sandbox executions retain default public internet egress.
|
|
614
|
+
*/
|
|
615
|
+
network?: Network | undefined;
|
|
563
616
|
/**
|
|
564
617
|
* The tool ID (for orq:mcp, orq:http, orq:function).
|
|
565
618
|
*/
|
|
@@ -657,6 +710,7 @@ export type CreateRouterResponseTools =
|
|
|
657
710
|
| (OrqAiTool & { type: "orq:current_date" })
|
|
658
711
|
| (OrqAiTool & { type: "orq:google_search" })
|
|
659
712
|
| (OrqAiTool & { type: "orq:web_scraper" })
|
|
713
|
+
| (OrqAiTool & { type: "orq:code_interpreter" })
|
|
660
714
|
| (OrqAiTool & { type: "orq:mcp" })
|
|
661
715
|
| (OrqAiTool & { type: "orq:http" })
|
|
662
716
|
| (OrqAiTool & { type: "orq:function" })
|
|
@@ -768,6 +822,7 @@ export type CreateRouterResponseRequestBody = {
|
|
|
768
822
|
| (OrqAiTool & { type: "orq:current_date" })
|
|
769
823
|
| (OrqAiTool & { type: "orq:google_search" })
|
|
770
824
|
| (OrqAiTool & { type: "orq:web_scraper" })
|
|
825
|
+
| (OrqAiTool & { type: "orq:code_interpreter" })
|
|
771
826
|
| (OrqAiTool & { type: "orq:mcp" })
|
|
772
827
|
| (OrqAiTool & { type: "orq:http" })
|
|
773
828
|
| (OrqAiTool & { type: "orq:function" })
|
|
@@ -1283,25 +1338,11 @@ export const TemplateEngine$outboundSchema: z.ZodNativeEnum<
|
|
|
1283
1338
|
typeof TemplateEngine
|
|
1284
1339
|
> = z.nativeEnum(TemplateEngine);
|
|
1285
1340
|
|
|
1286
|
-
/** @internal */
|
|
1287
|
-
export type FormatSchema$Outbound = {};
|
|
1288
|
-
|
|
1289
|
-
/** @internal */
|
|
1290
|
-
export const FormatSchema$outboundSchema: z.ZodType<
|
|
1291
|
-
FormatSchema$Outbound,
|
|
1292
|
-
z.ZodTypeDef,
|
|
1293
|
-
FormatSchema
|
|
1294
|
-
> = z.object({});
|
|
1295
|
-
|
|
1296
|
-
export function formatSchemaToJSON(formatSchema: FormatSchema): string {
|
|
1297
|
-
return JSON.stringify(FormatSchema$outboundSchema.parse(formatSchema));
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
1341
|
/** @internal */
|
|
1301
1342
|
export type FormatJSONSchema$Outbound = {
|
|
1302
1343
|
description?: string | undefined;
|
|
1303
|
-
name
|
|
1304
|
-
schema
|
|
1344
|
+
name: string;
|
|
1345
|
+
schema: { [k: string]: any };
|
|
1305
1346
|
strict?: boolean | undefined;
|
|
1306
1347
|
type: "json_schema";
|
|
1307
1348
|
};
|
|
@@ -1313,8 +1354,8 @@ export const FormatJSONSchema$outboundSchema: z.ZodType<
|
|
|
1313
1354
|
FormatJSONSchema
|
|
1314
1355
|
> = z.object({
|
|
1315
1356
|
description: z.string().optional(),
|
|
1316
|
-
name: z.string()
|
|
1317
|
-
schema: z.
|
|
1357
|
+
name: z.string(),
|
|
1358
|
+
schema: z.record(z.any()),
|
|
1318
1359
|
strict: z.boolean().optional(),
|
|
1319
1360
|
type: z.literal("json_schema"),
|
|
1320
1361
|
});
|
|
@@ -1516,6 +1557,54 @@ export function toolsMCPToolToJSON(toolsMCPTool: ToolsMCPTool): string {
|
|
|
1516
1557
|
return JSON.stringify(ToolsMCPTool$outboundSchema.parse(toolsMCPTool));
|
|
1517
1558
|
}
|
|
1518
1559
|
|
|
1560
|
+
/** @internal */
|
|
1561
|
+
export type Files$Outbound = {
|
|
1562
|
+
file_id: string;
|
|
1563
|
+
name: string;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
/** @internal */
|
|
1567
|
+
export const Files$outboundSchema: z.ZodType<
|
|
1568
|
+
Files$Outbound,
|
|
1569
|
+
z.ZodTypeDef,
|
|
1570
|
+
Files
|
|
1571
|
+
> = z.object({
|
|
1572
|
+
fileId: z.string(),
|
|
1573
|
+
name: z.string(),
|
|
1574
|
+
}).transform((v) => {
|
|
1575
|
+
return remap$(v, {
|
|
1576
|
+
fileId: "file_id",
|
|
1577
|
+
});
|
|
1578
|
+
});
|
|
1579
|
+
|
|
1580
|
+
export function filesToJSON(files: Files): string {
|
|
1581
|
+
return JSON.stringify(Files$outboundSchema.parse(files));
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export const ToolsMode$outboundSchema: z.ZodNativeEnum<typeof ToolsMode> = z
|
|
1586
|
+
.nativeEnum(ToolsMode);
|
|
1587
|
+
|
|
1588
|
+
/** @internal */
|
|
1589
|
+
export type Network$Outbound = {
|
|
1590
|
+
allowlist?: Array<string> | undefined;
|
|
1591
|
+
mode: string;
|
|
1592
|
+
};
|
|
1593
|
+
|
|
1594
|
+
/** @internal */
|
|
1595
|
+
export const Network$outboundSchema: z.ZodType<
|
|
1596
|
+
Network$Outbound,
|
|
1597
|
+
z.ZodTypeDef,
|
|
1598
|
+
Network
|
|
1599
|
+
> = z.object({
|
|
1600
|
+
allowlist: z.array(z.string()).optional(),
|
|
1601
|
+
mode: ToolsMode$outboundSchema.default("disabled"),
|
|
1602
|
+
});
|
|
1603
|
+
|
|
1604
|
+
export function networkToJSON(network: Network): string {
|
|
1605
|
+
return JSON.stringify(Network$outboundSchema.parse(network));
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1519
1608
|
/** @internal */
|
|
1520
1609
|
export const CreateRouterResponseToolsResponsesType$outboundSchema:
|
|
1521
1610
|
z.ZodNativeEnum<typeof CreateRouterResponseToolsResponsesType> = z.nativeEnum(
|
|
@@ -1524,6 +1613,8 @@ export const CreateRouterResponseToolsResponsesType$outboundSchema:
|
|
|
1524
1613
|
|
|
1525
1614
|
/** @internal */
|
|
1526
1615
|
export type OrqAiTool$Outbound = {
|
|
1616
|
+
files?: Array<Files$Outbound> | undefined;
|
|
1617
|
+
network?: Network$Outbound | undefined;
|
|
1527
1618
|
tool_id?: string | undefined;
|
|
1528
1619
|
type: string;
|
|
1529
1620
|
};
|
|
@@ -1534,6 +1625,8 @@ export const OrqAiTool$outboundSchema: z.ZodType<
|
|
|
1534
1625
|
z.ZodTypeDef,
|
|
1535
1626
|
OrqAiTool
|
|
1536
1627
|
> = z.object({
|
|
1628
|
+
files: z.array(z.lazy(() => Files$outboundSchema)).optional(),
|
|
1629
|
+
network: z.lazy(() => Network$outboundSchema).optional(),
|
|
1537
1630
|
toolId: z.string().optional(),
|
|
1538
1631
|
type: CreateRouterResponseToolsResponsesType$outboundSchema,
|
|
1539
1632
|
}).transform((v) => {
|
|
@@ -1616,6 +1709,7 @@ export type CreateRouterResponseTools$Outbound =
|
|
|
1616
1709
|
| (OrqAiTool$Outbound & { type: "orq:current_date" })
|
|
1617
1710
|
| (OrqAiTool$Outbound & { type: "orq:google_search" })
|
|
1618
1711
|
| (OrqAiTool$Outbound & { type: "orq:web_scraper" })
|
|
1712
|
+
| (OrqAiTool$Outbound & { type: "orq:code_interpreter" })
|
|
1619
1713
|
| (OrqAiTool$Outbound & { type: "orq:mcp" })
|
|
1620
1714
|
| (OrqAiTool$Outbound & { type: "orq:http" })
|
|
1621
1715
|
| (OrqAiTool$Outbound & { type: "orq:function" })
|
|
@@ -1637,6 +1731,9 @@ export const CreateRouterResponseTools$outboundSchema: z.ZodType<
|
|
|
1637
1731
|
z.lazy(() => OrqAiTool$outboundSchema).and(
|
|
1638
1732
|
z.object({ type: z.literal("orq:web_scraper") }),
|
|
1639
1733
|
),
|
|
1734
|
+
z.lazy(() => OrqAiTool$outboundSchema).and(
|
|
1735
|
+
z.object({ type: z.literal("orq:code_interpreter") }),
|
|
1736
|
+
),
|
|
1640
1737
|
z.lazy(() => OrqAiTool$outboundSchema).and(
|
|
1641
1738
|
z.object({ type: z.literal("orq:mcp") }),
|
|
1642
1739
|
),
|
|
@@ -1698,6 +1795,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
|
|
|
1698
1795
|
| (OrqAiTool$Outbound & { type: "orq:current_date" })
|
|
1699
1796
|
| (OrqAiTool$Outbound & { type: "orq:google_search" })
|
|
1700
1797
|
| (OrqAiTool$Outbound & { type: "orq:web_scraper" })
|
|
1798
|
+
| (OrqAiTool$Outbound & { type: "orq:code_interpreter" })
|
|
1701
1799
|
| (OrqAiTool$Outbound & { type: "orq:mcp" })
|
|
1702
1800
|
| (OrqAiTool$Outbound & { type: "orq:http" })
|
|
1703
1801
|
| (OrqAiTool$Outbound & { type: "orq:function" })
|
|
@@ -1767,6 +1865,9 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
|
|
|
1767
1865
|
z.lazy(() =>
|
|
1768
1866
|
OrqAiTool$outboundSchema
|
|
1769
1867
|
).and(z.object({ type: z.literal("orq:web_scraper") })),
|
|
1868
|
+
z.lazy(() =>
|
|
1869
|
+
OrqAiTool$outboundSchema
|
|
1870
|
+
).and(z.object({ type: z.literal("orq:code_interpreter") })),
|
|
1770
1871
|
z.lazy(() =>
|
|
1771
1872
|
OrqAiTool$outboundSchema
|
|
1772
1873
|
).and(z.object({ type: z.literal("orq:mcp") })),
|
|
@@ -1896,7 +1896,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1896
1896
|
z.ZodTypeDef,
|
|
1897
1897
|
unknown
|
|
1898
1898
|
> = z.object({
|
|
1899
|
-
_id: z.string().default("
|
|
1899
|
+
_id: z.string().default("tool_01KXN9FG3Q0ZSA1QNBVRK6R859"),
|
|
1900
1900
|
path: z.string(),
|
|
1901
1901
|
key: z.string(),
|
|
1902
1902
|
display_name: z.string().optional(),
|
|
@@ -1993,7 +1993,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1993
1993
|
z.ZodTypeDef,
|
|
1994
1994
|
unknown
|
|
1995
1995
|
> = z.object({
|
|
1996
|
-
id: z.string().default("
|
|
1996
|
+
id: z.string().default("01KXN9FG3PGT9RTXE0R7P58X6X"),
|
|
1997
1997
|
name: z.string(),
|
|
1998
1998
|
description: z.string().optional(),
|
|
1999
1999
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2049,7 +2049,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2049
2049
|
z.ZodTypeDef,
|
|
2050
2050
|
unknown
|
|
2051
2051
|
> = z.object({
|
|
2052
|
-
_id: z.string().default("
|
|
2052
|
+
_id: z.string().default("tool_01KXN9FG3NMP16F4HAPW65SRRB"),
|
|
2053
2053
|
path: z.string(),
|
|
2054
2054
|
key: z.string(),
|
|
2055
2055
|
display_name: z.string().optional(),
|
|
@@ -2235,7 +2235,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2235
2235
|
z.ZodTypeDef,
|
|
2236
2236
|
unknown
|
|
2237
2237
|
> = z.object({
|
|
2238
|
-
_id: z.string().default("
|
|
2238
|
+
_id: z.string().default("tool_01KXN9FG3KA1ESPQWMN1VMM0RQ"),
|
|
2239
2239
|
path: z.string(),
|
|
2240
2240
|
key: z.string(),
|
|
2241
2241
|
display_name: z.string().optional(),
|
|
@@ -2328,7 +2328,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2328
2328
|
z.ZodTypeDef,
|
|
2329
2329
|
unknown
|
|
2330
2330
|
> = z.object({
|
|
2331
|
-
_id: z.string().default("
|
|
2331
|
+
_id: z.string().default("tool_01KXN9FG3HX9WHEEZN5Y1FJBJW"),
|
|
2332
2332
|
path: z.string(),
|
|
2333
2333
|
key: z.string(),
|
|
2334
2334
|
display_name: z.string().optional(),
|
|
@@ -2429,7 +2429,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2429
2429
|
z.ZodTypeDef,
|
|
2430
2430
|
unknown
|
|
2431
2431
|
> = z.object({
|
|
2432
|
-
_id: z.string().default("
|
|
2432
|
+
_id: z.string().default("tool_01KXN9FG3GQGYRZA9Y93RT26TN"),
|
|
2433
2433
|
path: z.string(),
|
|
2434
2434
|
key: z.string(),
|
|
2435
2435
|
display_name: z.string().optional(),
|
|
@@ -1491,6 +1491,7 @@ export type DeploymentGetConfigVerbosity = ClosedEnum<
|
|
|
1491
1491
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1492
1492
|
*/
|
|
1493
1493
|
export const ThinkingLevel = {
|
|
1494
|
+
Minimal: "minimal",
|
|
1494
1495
|
Low: "low",
|
|
1495
1496
|
Medium: "medium",
|
|
1496
1497
|
High: "high",
|
|
@@ -42,6 +42,7 @@ export const Provider = {
|
|
|
42
42
|
Nvidia: "nvidia",
|
|
43
43
|
Jina: "jina",
|
|
44
44
|
Elevenlabs: "elevenlabs",
|
|
45
|
+
Litellm: "litellm",
|
|
45
46
|
Cerebras: "cerebras",
|
|
46
47
|
Openailike: "openailike",
|
|
47
48
|
Bytedance: "bytedance",
|
|
@@ -59,6 +60,8 @@ export const Provider = {
|
|
|
59
60
|
Wafer: "wafer",
|
|
60
61
|
Poolside: "poolside",
|
|
61
62
|
Tencent: "tencent",
|
|
63
|
+
Nebius: "nebius",
|
|
64
|
+
Reson8: "reson8",
|
|
62
65
|
Slack: "slack",
|
|
63
66
|
Orq: "orq",
|
|
64
67
|
} as const;
|
|
@@ -340,6 +340,7 @@ export type DeploymentsVerbosity = ClosedEnum<typeof DeploymentsVerbosity>;
|
|
|
340
340
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
341
341
|
*/
|
|
342
342
|
export const DeploymentsThinkingLevel = {
|
|
343
|
+
Minimal: "minimal",
|
|
343
344
|
Low: "low",
|
|
344
345
|
Medium: "medium",
|
|
345
346
|
High: "high",
|
|
@@ -470,6 +471,7 @@ export const DeploymentsProvider = {
|
|
|
470
471
|
Nvidia: "nvidia",
|
|
471
472
|
Jina: "jina",
|
|
472
473
|
Elevenlabs: "elevenlabs",
|
|
474
|
+
Litellm: "litellm",
|
|
473
475
|
Cerebras: "cerebras",
|
|
474
476
|
Openailike: "openailike",
|
|
475
477
|
Bytedance: "bytedance",
|
|
@@ -487,6 +489,8 @@ export const DeploymentsProvider = {
|
|
|
487
489
|
Wafer: "wafer",
|
|
488
490
|
Poolside: "poolside",
|
|
489
491
|
Tencent: "tencent",
|
|
492
|
+
Nebius: "nebius",
|
|
493
|
+
Reson8: "reson8",
|
|
490
494
|
Slack: "slack",
|
|
491
495
|
Orq: "orq",
|
|
492
496
|
} as const;
|
|
@@ -1189,6 +1189,7 @@ export const DeploymentStreamProvider = {
|
|
|
1189
1189
|
Nvidia: "nvidia",
|
|
1190
1190
|
Jina: "jina",
|
|
1191
1191
|
Elevenlabs: "elevenlabs",
|
|
1192
|
+
Litellm: "litellm",
|
|
1192
1193
|
Cerebras: "cerebras",
|
|
1193
1194
|
Openailike: "openailike",
|
|
1194
1195
|
Bytedance: "bytedance",
|
|
@@ -1206,6 +1207,8 @@ export const DeploymentStreamProvider = {
|
|
|
1206
1207
|
Wafer: "wafer",
|
|
1207
1208
|
Poolside: "poolside",
|
|
1208
1209
|
Tencent: "tencent",
|
|
1210
|
+
Nebius: "nebius",
|
|
1211
|
+
Reson8: "reson8",
|
|
1209
1212
|
Slack: "slack",
|
|
1210
1213
|
Orq: "orq",
|
|
1211
1214
|
} as const;
|
|
@@ -15,7 +15,7 @@ export type GetAllMemoriesRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
memoryStoreKey: string;
|
|
17
17
|
/**
|
|
18
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
18
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
19
19
|
*/
|
|
20
20
|
limit?: number | undefined;
|
|
21
21
|
/**
|
|
@@ -19,7 +19,7 @@ export type GetAllMemoryDocumentsRequest = {
|
|
|
19
19
|
*/
|
|
20
20
|
memoryEntityId: string;
|
|
21
21
|
/**
|
|
22
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
22
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
23
23
|
*/
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
/**
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type GetAllMemoryStoresRequest = {
|
|
13
13
|
/**
|
|
14
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
14
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
15
15
|
*/
|
|
16
16
|
limit?: number | undefined;
|
|
17
17
|
/**
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
|
|
13
13
|
export type GetAllPromptsRequest = {
|
|
14
14
|
/**
|
|
15
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
15
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
16
16
|
*/
|
|
17
17
|
limit?: number | undefined;
|
|
18
18
|
/**
|
|
@@ -291,6 +291,7 @@ export type GetAllPromptsVerbosity = ClosedEnum<typeof GetAllPromptsVerbosity>;
|
|
|
291
291
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
292
292
|
*/
|
|
293
293
|
export const GetAllPromptsThinkingLevel = {
|
|
294
|
+
Minimal: "minimal",
|
|
294
295
|
Low: "low",
|
|
295
296
|
Medium: "medium",
|
|
296
297
|
High: "high",
|
|
@@ -421,6 +422,7 @@ export const GetAllPromptsProvider = {
|
|
|
421
422
|
Nvidia: "nvidia",
|
|
422
423
|
Jina: "jina",
|
|
423
424
|
Elevenlabs: "elevenlabs",
|
|
425
|
+
Litellm: "litellm",
|
|
424
426
|
Cerebras: "cerebras",
|
|
425
427
|
Openailike: "openailike",
|
|
426
428
|
Bytedance: "bytedance",
|
|
@@ -438,6 +440,8 @@ export const GetAllPromptsProvider = {
|
|
|
438
440
|
Wafer: "wafer",
|
|
439
441
|
Poolside: "poolside",
|
|
440
442
|
Tencent: "tencent",
|
|
443
|
+
Nebius: "nebius",
|
|
444
|
+
Reson8: "reson8",
|
|
441
445
|
Slack: "slack",
|
|
442
446
|
Orq: "orq",
|
|
443
447
|
} as const;
|
|
@@ -814,6 +818,7 @@ export type GetAllPromptsModalities = ClosedEnum<
|
|
|
814
818
|
*/
|
|
815
819
|
export const GetAllPromptsId1 = {
|
|
816
820
|
OrqPiiDetection: "orq_pii_detection",
|
|
821
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
817
822
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
818
823
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
819
824
|
} as const;
|
|
@@ -766,7 +766,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
766
766
|
z.ZodTypeDef,
|
|
767
767
|
unknown
|
|
768
768
|
> = z.object({
|
|
769
|
-
_id: z.string().default("
|
|
769
|
+
_id: z.string().default("tool_01KXN9FG33DES1ZQ6Q9VCFWW93"),
|
|
770
770
|
path: z.string(),
|
|
771
771
|
key: z.string(),
|
|
772
772
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KXN9FG32BV909A0ZZ23K4W9N"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -916,7 +916,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01KXN9FG309CAWABZHT8MG17MC"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1100,7 +1100,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1100
1100
|
z.ZodTypeDef,
|
|
1101
1101
|
unknown
|
|
1102
1102
|
> = z.object({
|
|
1103
|
-
_id: z.string().default("
|
|
1103
|
+
_id: z.string().default("tool_01KXN9FG2YZF1ZYZFZQTYT47Q8"),
|
|
1104
1104
|
path: z.string(),
|
|
1105
1105
|
key: z.string(),
|
|
1106
1106
|
display_name: z.string().optional(),
|
|
@@ -1193,7 +1193,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1193
1193
|
z.ZodTypeDef,
|
|
1194
1194
|
unknown
|
|
1195
1195
|
> = z.object({
|
|
1196
|
-
_id: z.string().default("
|
|
1196
|
+
_id: z.string().default("tool_01KXN9FG2WDCJM7PE2RYNTMSB0"),
|
|
1197
1197
|
path: z.string(),
|
|
1198
1198
|
key: z.string(),
|
|
1199
1199
|
display_name: z.string().optional(),
|
|
@@ -1291,7 +1291,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1291
1291
|
z.ZodTypeDef,
|
|
1292
1292
|
unknown
|
|
1293
1293
|
> = z.object({
|
|
1294
|
-
_id: z.string().default("
|
|
1294
|
+
_id: z.string().default("tool_01KXN9FG2VE7QNSTT57ZKHE4ZD"),
|
|
1295
1295
|
path: z.string(),
|
|
1296
1296
|
key: z.string(),
|
|
1297
1297
|
display_name: z.string().optional(),
|
|
@@ -18,7 +18,7 @@ export type Sort = ClosedEnum<typeof Sort>;
|
|
|
18
18
|
|
|
19
19
|
export type GetEvalsRequest = {
|
|
20
20
|
/**
|
|
21
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
21
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
22
22
|
*/
|
|
23
23
|
limit?: number | undefined;
|
|
24
24
|
/**
|
|
@@ -275,6 +275,7 @@ export type GetOnePromptVerbosity = ClosedEnum<typeof GetOnePromptVerbosity>;
|
|
|
275
275
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
276
276
|
*/
|
|
277
277
|
export const GetOnePromptThinkingLevel = {
|
|
278
|
+
Minimal: "minimal",
|
|
278
279
|
Low: "low",
|
|
279
280
|
Medium: "medium",
|
|
280
281
|
High: "high",
|
|
@@ -405,6 +406,7 @@ export const GetOnePromptProvider = {
|
|
|
405
406
|
Nvidia: "nvidia",
|
|
406
407
|
Jina: "jina",
|
|
407
408
|
Elevenlabs: "elevenlabs",
|
|
409
|
+
Litellm: "litellm",
|
|
408
410
|
Cerebras: "cerebras",
|
|
409
411
|
Openailike: "openailike",
|
|
410
412
|
Bytedance: "bytedance",
|
|
@@ -422,6 +424,8 @@ export const GetOnePromptProvider = {
|
|
|
422
424
|
Wafer: "wafer",
|
|
423
425
|
Poolside: "poolside",
|
|
424
426
|
Tencent: "tencent",
|
|
427
|
+
Nebius: "nebius",
|
|
428
|
+
Reson8: "reson8",
|
|
425
429
|
Slack: "slack",
|
|
426
430
|
Orq: "orq",
|
|
427
431
|
} as const;
|
|
@@ -796,6 +800,7 @@ export type GetOnePromptModalities = ClosedEnum<typeof GetOnePromptModalities>;
|
|
|
796
800
|
*/
|
|
797
801
|
export const GetOnePromptId1 = {
|
|
798
802
|
OrqPiiDetection: "orq_pii_detection",
|
|
803
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
799
804
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
800
805
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
801
806
|
} as const;
|