@orq-ai/node 4.15.13 → 4.15.15
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/apiKeysCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsGet.ts +1 -1
- package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +3 -0
- package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +3 -0
- package/packages/orq-rc/src/funcs/feedbackSubmit.ts +162 -0
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/modelFusionsCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/modelFusionsDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/modelFusionsGet.ts +168 -0
- package/packages/orq-rc/src/funcs/modelFusionsList.ts +173 -0
- package/packages/orq-rc/src/funcs/modelFusionsSetEnabled.ts +174 -0
- package/packages/orq-rc/src/funcs/modelFusionsUpdate.ts +171 -0
- package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +1 -1
- package/packages/orq-rc/src/funcs/tracesGetConversation.ts +174 -0
- package/packages/orq-rc/src/funcs/tracesListFilters.ts +170 -0
- package/packages/orq-rc/src/funcs/tracesQuery.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/aggregatetracesrequest.ts +6 -0
- package/packages/orq-rc/src/models/components/alert.ts +7 -7
- package/packages/orq-rc/src/models/components/alerttrigger.ts +5 -4
- package/packages/orq-rc/src/models/components/allprojectsscope.ts +25 -0
- package/packages/orq-rc/src/models/components/annotationfilter.ts +43 -0
- package/packages/orq-rc/src/models/components/budgetlimits.ts +2 -4
- package/packages/orq-rc/src/models/components/budgetlimitsrestresponse.ts +2 -4
- package/packages/orq-rc/src/models/components/budgetrestresponse.ts +11 -12
- package/packages/orq-rc/src/models/components/budgetscope.ts +1 -1
- package/packages/orq-rc/src/models/components/budgetscoperestresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/createdatasetrequest.ts +6 -0
- package/packages/orq-rc/src/models/components/createmodelfusionrequest.ts +95 -0
- package/packages/orq-rc/src/models/components/createmodelfusionresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/datapoint.ts +3 -5
- package/packages/orq-rc/src/models/components/deletemodelfusionresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/evaluatorfilter.ts +43 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +28 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +27 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +29 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +24 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +28 -0
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +27 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +29 -0
- package/packages/orq-rc/src/models/components/fieldinfo.ts +2 -0
- package/packages/orq-rc/src/models/components/getmodelfusionresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/gettraceconversationresponse.ts +63 -0
- package/packages/orq-rc/src/models/components/identity.ts +11 -12
- package/packages/orq-rc/src/models/components/index.ts +24 -2
- package/packages/orq-rc/src/models/components/knowledgesettings.ts +5 -5
- package/packages/orq-rc/src/models/components/listmodelfusionsresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/listtracefiltersresponse.ts +47 -0
- package/packages/orq-rc/src/models/components/memorystoreembeddingconfig.ts +1 -1
- package/packages/orq-rc/src/models/components/metadatafilter.ts +33 -0
- package/packages/orq-rc/src/models/components/modelbudgetscope.ts +1 -1
- package/packages/orq-rc/src/models/components/modelbudgetscoperestresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/modelfusion.ts +110 -0
- package/packages/orq-rc/src/models/components/modelfusionconfig.ts +104 -0
- package/packages/orq-rc/src/models/components/modelfusionpreset.ts +25 -0
- package/packages/orq-rc/src/models/components/modelfusionsynthesismode.ts +26 -0
- package/packages/orq-rc/src/models/components/modelmetadata.ts +16 -0
- package/packages/orq-rc/src/models/components/pricing.ts +8 -0
- package/packages/orq-rc/src/models/components/pricingvariant.ts +8 -0
- package/packages/orq-rc/src/models/components/project.ts +1 -4
- package/packages/orq-rc/src/models/components/publicresponseresource.ts +1 -0
- package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +14 -0
- package/packages/orq-rc/src/models/components/ratelimit.ts +2 -2
- package/packages/orq-rc/src/models/components/ratelimitrestresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/requestprojectscope.ts +71 -0
- package/packages/orq-rc/src/models/components/responsemeta.ts +3 -3
- package/packages/orq-rc/src/models/components/{internalretrievalconfig.ts → retrievalconfig.ts} +7 -7
- package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +4 -4
- package/packages/orq-rc/src/models/components/searchlogsresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/searchrerankconfig.ts +1 -1
- package/packages/orq-rc/src/models/components/servertoolusedetails.ts +3 -0
- package/packages/orq-rc/src/models/components/setmodelfusionenabledrequest.ts +33 -0
- package/packages/orq-rc/src/models/components/setmodelfusionenabledresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/sharing.ts +2 -3
- package/packages/orq-rc/src/models/components/singleprojectscope.ts +36 -0
- package/packages/orq-rc/src/models/components/submitfeedbackrequest.ts +48 -0
- package/packages/orq-rc/src/models/components/submitfeedbackresponse.ts +39 -0
- package/packages/orq-rc/src/models/components/updatemodelfusionrequest.ts +77 -0
- package/packages/orq-rc/src/models/components/updatemodelfusionresponse.ts +37 -0
- package/packages/orq-rc/src/models/operations/apikeycreate.ts +6 -26
- package/packages/orq-rc/src/models/operations/apikeyupdate.ts +6 -3
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +31 -1
- package/packages/orq-rc/src/models/operations/createannotation.ts +15 -29
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +5 -5
- package/packages/orq-rc/src/models/operations/createcompletion.ts +4 -4
- package/packages/orq-rc/src/models/operations/createimage.ts +1 -1
- package/packages/orq-rc/src/models/operations/createimageedit.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +1 -1
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +30 -9
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- 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 +7 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +30 -1
- package/packages/orq-rc/src/models/operations/modelfusiondelete.ts +36 -0
- package/packages/orq-rc/src/models/operations/modelfusionget.ts +36 -0
- package/packages/orq-rc/src/models/operations/modelfusionlist.ts +53 -0
- package/packages/orq-rc/src/models/operations/modelfusionsetenabled.ts +45 -0
- package/packages/orq-rc/src/models/operations/modelfusionupdate.ts +41 -0
- package/packages/orq-rc/src/models/operations/parse.ts +3 -3
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedback.ts +31 -30
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +17 -14
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +31 -1
- package/packages/orq-rc/src/models/operations/retrieveresponse.ts +1 -0
- 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/skilllist.ts +2 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/tracesgetconversation.ts +45 -0
- package/packages/orq-rc/src/models/operations/traceslistfilters.ts +39 -0
- package/packages/orq-rc/src/models/operations/updateagent.ts +60 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/apikeys.ts +1 -1
- package/packages/orq-rc/src/sdk/evals.ts +1 -1
- package/packages/orq-rc/src/sdk/feedback.ts +29 -4
- package/packages/orq-rc/src/sdk/knowledge.ts +5 -5
- package/packages/orq-rc/src/sdk/modelfusions.ts +118 -0
- package/packages/orq-rc/src/sdk/models.ts +1 -1
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/sdk/traces.ts +37 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- 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/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/models/components/projectscope.ts +0 -35
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type SetModelFusionEnabledRequest = {
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type SetModelFusionEnabledRequest$Outbound = {
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const SetModelFusionEnabledRequest$outboundSchema: z.ZodType<
|
|
18
|
+
SetModelFusionEnabledRequest$Outbound,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
SetModelFusionEnabledRequest
|
|
21
|
+
> = z.object({
|
|
22
|
+
enabled: z.boolean(),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export function setModelFusionEnabledRequestToJSON(
|
|
26
|
+
setModelFusionEnabledRequest: SetModelFusionEnabledRequest,
|
|
27
|
+
): string {
|
|
28
|
+
return JSON.stringify(
|
|
29
|
+
SetModelFusionEnabledRequest$outboundSchema.parse(
|
|
30
|
+
setModelFusionEnabledRequest,
|
|
31
|
+
),
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import { ModelFusion, ModelFusion$inboundSchema } from "./modelfusion.js";
|
|
11
|
+
|
|
12
|
+
export type SetModelFusionEnabledResponse = {
|
|
13
|
+
modelFusion: ModelFusion;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const SetModelFusionEnabledResponse$inboundSchema: z.ZodType<
|
|
18
|
+
SetModelFusionEnabledResponse,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
model_fusion: ModelFusion$inboundSchema,
|
|
23
|
+
}).transform((v) => {
|
|
24
|
+
return remap$(v, {
|
|
25
|
+
"model_fusion": "modelFusion",
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function setModelFusionEnabledResponseFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<SetModelFusionEnabledResponse, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => SetModelFusionEnabledResponse$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'SetModelFusionEnabledResponse' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -39,7 +39,7 @@ export type Sharing = {
|
|
|
39
39
|
* Consuming projects may pin a specific version instead of tracking
|
|
40
40
|
*
|
|
41
41
|
* @remarks
|
|
42
|
-
*
|
|
42
|
+
* the latest version.
|
|
43
43
|
*/
|
|
44
44
|
allowVersionPin?: boolean | undefined;
|
|
45
45
|
/**
|
|
@@ -53,8 +53,7 @@ export type Sharing = {
|
|
|
53
53
|
* New projects created after this sharing config is applied should
|
|
54
54
|
*
|
|
55
55
|
* @remarks
|
|
56
|
-
* receive access automatically.
|
|
57
|
-
* creation and entity-specific adoption code.
|
|
56
|
+
* receive access automatically.
|
|
58
57
|
*/
|
|
59
58
|
autoGrantNewProjects?: boolean | undefined;
|
|
60
59
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type SingleProjectScope = {
|
|
9
|
+
projectId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type SingleProjectScope$Outbound = {
|
|
14
|
+
project_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const SingleProjectScope$outboundSchema: z.ZodType<
|
|
19
|
+
SingleProjectScope$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
SingleProjectScope
|
|
22
|
+
> = z.object({
|
|
23
|
+
projectId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
projectId: "project_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function singleProjectScopeToJSON(
|
|
31
|
+
singleProjectScope: SingleProjectScope,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
SingleProjectScope$outboundSchema.parse(singleProjectScope),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type SubmitFeedbackRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* What happened, what was expected, and steps to reproduce. Do not include secrets.
|
|
11
|
+
*/
|
|
12
|
+
message: string;
|
|
13
|
+
category: string;
|
|
14
|
+
requestId?: string | undefined;
|
|
15
|
+
url?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type SubmitFeedbackRequest$Outbound = {
|
|
20
|
+
message: string;
|
|
21
|
+
category: string;
|
|
22
|
+
request_id?: string | undefined;
|
|
23
|
+
url?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const SubmitFeedbackRequest$outboundSchema: z.ZodType<
|
|
28
|
+
SubmitFeedbackRequest$Outbound,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
SubmitFeedbackRequest
|
|
31
|
+
> = z.object({
|
|
32
|
+
message: z.string(),
|
|
33
|
+
category: z.string(),
|
|
34
|
+
requestId: z.string().optional(),
|
|
35
|
+
url: z.string().optional(),
|
|
36
|
+
}).transform((v) => {
|
|
37
|
+
return remap$(v, {
|
|
38
|
+
requestId: "request_id",
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function submitFeedbackRequestToJSON(
|
|
43
|
+
submitFeedbackRequest: SubmitFeedbackRequest,
|
|
44
|
+
): string {
|
|
45
|
+
return JSON.stringify(
|
|
46
|
+
SubmitFeedbackRequest$outboundSchema.parse(submitFeedbackRequest),
|
|
47
|
+
);
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type SubmitFeedbackResponse = {
|
|
12
|
+
/**
|
|
13
|
+
* Reference included in the support email.
|
|
14
|
+
*/
|
|
15
|
+
feedbackId: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const SubmitFeedbackResponse$inboundSchema: z.ZodType<
|
|
20
|
+
SubmitFeedbackResponse,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
feedback_id: z.string(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"feedback_id": "feedbackId",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export function submitFeedbackResponseFromJSON(
|
|
32
|
+
jsonString: string,
|
|
33
|
+
): SafeParseResult<SubmitFeedbackResponse, SDKValidationError> {
|
|
34
|
+
return safeParse(
|
|
35
|
+
jsonString,
|
|
36
|
+
(x) => SubmitFeedbackResponse$inboundSchema.parse(JSON.parse(x)),
|
|
37
|
+
`Failed to parse 'SubmitFeedbackResponse' from JSON`,
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
ModelFusionPreset,
|
|
9
|
+
ModelFusionPreset$outboundSchema,
|
|
10
|
+
} from "./modelfusionpreset.js";
|
|
11
|
+
import {
|
|
12
|
+
ModelFusionSynthesisMode,
|
|
13
|
+
ModelFusionSynthesisMode$outboundSchema,
|
|
14
|
+
} from "./modelfusionsynthesismode.js";
|
|
15
|
+
|
|
16
|
+
export type UpdateModelFusionRequest = {
|
|
17
|
+
panelModels: Array<string>;
|
|
18
|
+
judgeModel: string;
|
|
19
|
+
synthesisMode: ModelFusionSynthesisMode;
|
|
20
|
+
preset: ModelFusionPreset;
|
|
21
|
+
/**
|
|
22
|
+
* Required for analysis mode and omitted for judge_writes_final mode.
|
|
23
|
+
*/
|
|
24
|
+
orchestratorModel?: string | undefined;
|
|
25
|
+
webTools: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Required. Must be between 0 and 20. Zero disables Fusion-managed tool calls.
|
|
28
|
+
*/
|
|
29
|
+
maxToolCalls: number;
|
|
30
|
+
feedRawToSynth: boolean;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type UpdateModelFusionRequest$Outbound = {
|
|
35
|
+
panel_models: Array<string>;
|
|
36
|
+
judge_model: string;
|
|
37
|
+
synthesis_mode: string;
|
|
38
|
+
preset: string;
|
|
39
|
+
orchestrator_model?: string | undefined;
|
|
40
|
+
web_tools: boolean;
|
|
41
|
+
max_tool_calls: number;
|
|
42
|
+
feed_raw_to_synth: boolean;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const UpdateModelFusionRequest$outboundSchema: z.ZodType<
|
|
47
|
+
UpdateModelFusionRequest$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
UpdateModelFusionRequest
|
|
50
|
+
> = z.object({
|
|
51
|
+
panelModels: z.array(z.string()),
|
|
52
|
+
judgeModel: z.string(),
|
|
53
|
+
synthesisMode: ModelFusionSynthesisMode$outboundSchema,
|
|
54
|
+
preset: ModelFusionPreset$outboundSchema,
|
|
55
|
+
orchestratorModel: z.string().optional(),
|
|
56
|
+
webTools: z.boolean(),
|
|
57
|
+
maxToolCalls: z.number().int(),
|
|
58
|
+
feedRawToSynth: z.boolean(),
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return remap$(v, {
|
|
61
|
+
panelModels: "panel_models",
|
|
62
|
+
judgeModel: "judge_model",
|
|
63
|
+
synthesisMode: "synthesis_mode",
|
|
64
|
+
orchestratorModel: "orchestrator_model",
|
|
65
|
+
webTools: "web_tools",
|
|
66
|
+
maxToolCalls: "max_tool_calls",
|
|
67
|
+
feedRawToSynth: "feed_raw_to_synth",
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export function updateModelFusionRequestToJSON(
|
|
72
|
+
updateModelFusionRequest: UpdateModelFusionRequest,
|
|
73
|
+
): string {
|
|
74
|
+
return JSON.stringify(
|
|
75
|
+
UpdateModelFusionRequest$outboundSchema.parse(updateModelFusionRequest),
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import { ModelFusion, ModelFusion$inboundSchema } from "./modelfusion.js";
|
|
11
|
+
|
|
12
|
+
export type UpdateModelFusionResponse = {
|
|
13
|
+
modelFusion: ModelFusion;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const UpdateModelFusionResponse$inboundSchema: z.ZodType<
|
|
18
|
+
UpdateModelFusionResponse,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
model_fusion: ModelFusion$inboundSchema,
|
|
23
|
+
}).transform((v) => {
|
|
24
|
+
return remap$(v, {
|
|
25
|
+
"model_fusion": "modelFusion",
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function updateModelFusionResponseFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<UpdateModelFusionResponse, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => UpdateModelFusionResponse$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'UpdateModelFusionResponse' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -14,24 +14,15 @@ export const PermissionMode = {
|
|
|
14
14
|
All: "all",
|
|
15
15
|
Restricted: "restricted",
|
|
16
16
|
ReadOnly: "read_only",
|
|
17
|
+
PermissionModeAll: "PERMISSION_MODE_ALL",
|
|
18
|
+
PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED",
|
|
19
|
+
PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY",
|
|
17
20
|
} as const;
|
|
18
21
|
/**
|
|
19
22
|
* Permission preset; restricted keys hold only the domains granted in access.
|
|
20
23
|
*/
|
|
21
24
|
export type PermissionMode = ClosedEnum<typeof PermissionMode>;
|
|
22
25
|
|
|
23
|
-
/**
|
|
24
|
-
* Origin of the key; router keys are minted for the AI router.
|
|
25
|
-
*/
|
|
26
|
-
export const ApiKeyCreateSource = {
|
|
27
|
-
Workspace: "workspace",
|
|
28
|
-
Router: "router",
|
|
29
|
-
} as const;
|
|
30
|
-
/**
|
|
31
|
-
* Origin of the key; router keys are minted for the AI router.
|
|
32
|
-
*/
|
|
33
|
-
export type ApiKeyCreateSource = ClosedEnum<typeof ApiKeyCreateSource>;
|
|
34
|
-
|
|
35
26
|
export type ApiKeyCreateRequestBody = {
|
|
36
27
|
/**
|
|
37
28
|
* Per-domain access level (none, read or write) for restricted keys; domain ids come from the capability catalog.
|
|
@@ -51,15 +42,11 @@ export type ApiKeyCreateRequestBody = {
|
|
|
51
42
|
* Permission preset; restricted keys hold only the domains granted in access.
|
|
52
43
|
*/
|
|
53
44
|
permissionMode?: PermissionMode | undefined;
|
|
54
|
-
projectScope?: components.
|
|
45
|
+
projectScope?: components.RequestProjectScope | undefined;
|
|
55
46
|
/**
|
|
56
47
|
* Legacy single-project binding; prefer project_scope.
|
|
57
48
|
*/
|
|
58
49
|
projects?: Array<string> | null | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* Origin of the key; router keys are minted for the AI router.
|
|
61
|
-
*/
|
|
62
|
-
source?: ApiKeyCreateSource | undefined;
|
|
63
50
|
};
|
|
64
51
|
|
|
65
52
|
/** @internal */
|
|
@@ -67,11 +54,6 @@ export const PermissionMode$outboundSchema: z.ZodNativeEnum<
|
|
|
67
54
|
typeof PermissionMode
|
|
68
55
|
> = z.nativeEnum(PermissionMode);
|
|
69
56
|
|
|
70
|
-
/** @internal */
|
|
71
|
-
export const ApiKeyCreateSource$outboundSchema: z.ZodNativeEnum<
|
|
72
|
-
typeof ApiKeyCreateSource
|
|
73
|
-
> = z.nativeEnum(ApiKeyCreateSource);
|
|
74
|
-
|
|
75
57
|
/** @internal */
|
|
76
58
|
export type ApiKeyCreateRequestBody$Outbound = {
|
|
77
59
|
access?: { [k: string]: string } | undefined;
|
|
@@ -80,9 +62,8 @@ export type ApiKeyCreateRequestBody$Outbound = {
|
|
|
80
62
|
name: string;
|
|
81
63
|
owner?: components.Owner$Outbound | undefined;
|
|
82
64
|
permission_mode?: string | undefined;
|
|
83
|
-
project_scope?: components.
|
|
65
|
+
project_scope?: components.RequestProjectScope$Outbound | undefined;
|
|
84
66
|
projects?: Array<string> | null | undefined;
|
|
85
|
-
source?: string | undefined;
|
|
86
67
|
};
|
|
87
68
|
|
|
88
69
|
/** @internal */
|
|
@@ -97,9 +78,8 @@ export const ApiKeyCreateRequestBody$outboundSchema: z.ZodType<
|
|
|
97
78
|
name: z.string(),
|
|
98
79
|
owner: components.Owner$outboundSchema.optional(),
|
|
99
80
|
permissionMode: PermissionMode$outboundSchema.optional(),
|
|
100
|
-
projectScope: components.
|
|
81
|
+
projectScope: components.RequestProjectScope$outboundSchema.optional(),
|
|
101
82
|
projects: z.nullable(z.array(z.string())).optional(),
|
|
102
|
-
source: ApiKeyCreateSource$outboundSchema.optional(),
|
|
103
83
|
}).transform((v) => {
|
|
104
84
|
return remap$(v, {
|
|
105
85
|
permissionMode: "permission_mode",
|
|
@@ -14,6 +14,9 @@ export const ApiKeyUpdatePermissionMode = {
|
|
|
14
14
|
All: "all",
|
|
15
15
|
Restricted: "restricted",
|
|
16
16
|
ReadOnly: "read_only",
|
|
17
|
+
PermissionModeAll: "PERMISSION_MODE_ALL",
|
|
18
|
+
PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED",
|
|
19
|
+
PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY",
|
|
17
20
|
} as const;
|
|
18
21
|
/**
|
|
19
22
|
* Permission preset; a restricted key must keep at least one granted domain.
|
|
@@ -53,7 +56,7 @@ export type ApiKeyUpdateRequestBody = {
|
|
|
53
56
|
* Permission preset; a restricted key must keep at least one granted domain.
|
|
54
57
|
*/
|
|
55
58
|
permissionMode?: ApiKeyUpdatePermissionMode | undefined;
|
|
56
|
-
projectScope?: components.
|
|
59
|
+
projectScope?: components.RequestProjectScope | undefined;
|
|
57
60
|
/**
|
|
58
61
|
* Lifecycle status; revoked is terminal.
|
|
59
62
|
*/
|
|
@@ -84,7 +87,7 @@ export type ApiKeyUpdateRequestBody$Outbound = {
|
|
|
84
87
|
constraints?: components.Constraints$Outbound | undefined;
|
|
85
88
|
name?: string | undefined;
|
|
86
89
|
permission_mode?: string | undefined;
|
|
87
|
-
project_scope?: components.
|
|
90
|
+
project_scope?: components.RequestProjectScope$Outbound | undefined;
|
|
88
91
|
status?: string | undefined;
|
|
89
92
|
};
|
|
90
93
|
|
|
@@ -99,7 +102,7 @@ export const ApiKeyUpdateRequestBody$outboundSchema: z.ZodType<
|
|
|
99
102
|
constraints: components.Constraints$outboundSchema.optional(),
|
|
100
103
|
name: z.string().optional(),
|
|
101
104
|
permissionMode: ApiKeyUpdatePermissionMode$outboundSchema.optional(),
|
|
102
|
-
projectScope: components.
|
|
105
|
+
projectScope: components.RequestProjectScope$outboundSchema.optional(),
|
|
103
106
|
status: Status$outboundSchema.optional(),
|
|
104
107
|
}).transform((v) => {
|
|
105
108
|
return remap$(v, {
|
|
@@ -1211,6 +1211,11 @@ export type CreateAgentRequestTeamOfAgents = {
|
|
|
1211
1211
|
role?: string | undefined;
|
|
1212
1212
|
};
|
|
1213
1213
|
|
|
1214
|
+
export type CreateAgentRequestAgentPlugins = {
|
|
1215
|
+
id: string;
|
|
1216
|
+
version: string;
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1214
1219
|
export type Metrics = {
|
|
1215
1220
|
totalCost: number;
|
|
1216
1221
|
};
|
|
@@ -2403,7 +2408,7 @@ export type CreateAgentRequestFallbackModelConfiguration =
|
|
|
2403
2408
|
|
|
2404
2409
|
export type Model = {
|
|
2405
2410
|
/**
|
|
2406
|
-
*
|
|
2411
|
+
* ID of the primary model, in provider/model-id format (for example `openai/gpt-5.6-sol`)
|
|
2407
2412
|
*/
|
|
2408
2413
|
id: string;
|
|
2409
2414
|
/**
|
|
@@ -2472,6 +2477,7 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2472
2477
|
* List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
|
|
2473
2478
|
*/
|
|
2474
2479
|
skills?: Array<string> | undefined;
|
|
2480
|
+
agentPlugins?: Array<CreateAgentRequestAgentPlugins> | undefined;
|
|
2475
2481
|
metrics?: Metrics | undefined;
|
|
2476
2482
|
/**
|
|
2477
2483
|
* Extracted variables from agent instructions
|
|
@@ -4178,6 +4184,26 @@ export function createAgentRequestTeamOfAgentsFromJSON(
|
|
|
4178
4184
|
);
|
|
4179
4185
|
}
|
|
4180
4186
|
|
|
4187
|
+
/** @internal */
|
|
4188
|
+
export const CreateAgentRequestAgentPlugins$inboundSchema: z.ZodType<
|
|
4189
|
+
CreateAgentRequestAgentPlugins,
|
|
4190
|
+
z.ZodTypeDef,
|
|
4191
|
+
unknown
|
|
4192
|
+
> = z.object({
|
|
4193
|
+
id: z.string(),
|
|
4194
|
+
version: z.string(),
|
|
4195
|
+
});
|
|
4196
|
+
|
|
4197
|
+
export function createAgentRequestAgentPluginsFromJSON(
|
|
4198
|
+
jsonString: string,
|
|
4199
|
+
): SafeParseResult<CreateAgentRequestAgentPlugins, SDKValidationError> {
|
|
4200
|
+
return safeParse(
|
|
4201
|
+
jsonString,
|
|
4202
|
+
(x) => CreateAgentRequestAgentPlugins$inboundSchema.parse(JSON.parse(x)),
|
|
4203
|
+
`Failed to parse 'CreateAgentRequestAgentPlugins' from JSON`,
|
|
4204
|
+
);
|
|
4205
|
+
}
|
|
4206
|
+
|
|
4181
4207
|
/** @internal */
|
|
4182
4208
|
export const Metrics$inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown> =
|
|
4183
4209
|
z.object({
|
|
@@ -5871,6 +5897,9 @@ export const CreateAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
|
5871
5897
|
z.lazy(() => CreateAgentRequestTeamOfAgents$inboundSchema),
|
|
5872
5898
|
).optional(),
|
|
5873
5899
|
skills: z.array(z.string()).optional(),
|
|
5900
|
+
agent_plugins: z.array(
|
|
5901
|
+
z.lazy(() => CreateAgentRequestAgentPlugins$inboundSchema),
|
|
5902
|
+
).optional(),
|
|
5874
5903
|
metrics: z.lazy(() => Metrics$inboundSchema).optional(),
|
|
5875
5904
|
variables: z.record(z.any()).optional(),
|
|
5876
5905
|
knowledge_bases: z.array(
|
|
@@ -5894,6 +5923,7 @@ export const CreateAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
|
5894
5923
|
"updated_by_id": "updatedById",
|
|
5895
5924
|
"memory_stores": "memoryStores",
|
|
5896
5925
|
"team_of_agents": "teamOfAgents",
|
|
5926
|
+
"agent_plugins": "agentPlugins",
|
|
5897
5927
|
"knowledge_bases": "knowledgeBases",
|
|
5898
5928
|
"system_prompt": "systemPrompt",
|
|
5899
5929
|
});
|
|
@@ -8,11 +8,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* The feedback value. For single-select, provide a string or single-element array. For multi-select, provide an array of strings. For range evaluations, provide a number. For boolean, provide a boolean. For text/correction, provide a string.
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
| string
|
|
13
|
-
| number
|
|
14
|
-
| boolean
|
|
15
|
-
| Array<string>;
|
|
11
|
+
export type AnnotationsValue = string | number | boolean | Array<string>;
|
|
16
12
|
|
|
17
13
|
export type Annotations2 = {
|
|
18
14
|
/**
|
|
@@ -32,7 +28,7 @@ export type Annotations2 = {
|
|
|
32
28
|
/**
|
|
33
29
|
* The feedback value. For single-select, provide a string or single-element array. For multi-select, provide an array of strings. For range evaluations, provide a number. For boolean, provide a boolean. For text/correction, provide a string.
|
|
34
30
|
*/
|
|
35
|
-
export type
|
|
31
|
+
export type Value = string | number | boolean | Array<string>;
|
|
36
32
|
|
|
37
33
|
export type Annotations1 = {
|
|
38
34
|
/**
|
|
@@ -69,26 +65,24 @@ export type CreateAnnotationRequest = {
|
|
|
69
65
|
};
|
|
70
66
|
|
|
71
67
|
/** @internal */
|
|
72
|
-
export type
|
|
68
|
+
export type AnnotationsValue$Outbound =
|
|
73
69
|
| string
|
|
74
70
|
| number
|
|
75
71
|
| boolean
|
|
76
72
|
| Array<string>;
|
|
77
73
|
|
|
78
74
|
/** @internal */
|
|
79
|
-
export const
|
|
80
|
-
|
|
75
|
+
export const AnnotationsValue$outboundSchema: z.ZodType<
|
|
76
|
+
AnnotationsValue$Outbound,
|
|
81
77
|
z.ZodTypeDef,
|
|
82
|
-
|
|
78
|
+
AnnotationsValue
|
|
83
79
|
> = z.union([z.string(), z.number(), z.boolean(), z.array(z.string())]);
|
|
84
80
|
|
|
85
|
-
export function
|
|
86
|
-
|
|
81
|
+
export function annotationsValueToJSON(
|
|
82
|
+
annotationsValue: AnnotationsValue,
|
|
87
83
|
): string {
|
|
88
84
|
return JSON.stringify(
|
|
89
|
-
|
|
90
|
-
createAnnotationAnnotationsValue,
|
|
91
|
-
),
|
|
85
|
+
AnnotationsValue$outboundSchema.parse(annotationsValue),
|
|
92
86
|
);
|
|
93
87
|
}
|
|
94
88
|
|
|
@@ -119,25 +113,17 @@ export function annotations2ToJSON(annotations2: Annotations2): string {
|
|
|
119
113
|
}
|
|
120
114
|
|
|
121
115
|
/** @internal */
|
|
122
|
-
export type
|
|
123
|
-
| string
|
|
124
|
-
| number
|
|
125
|
-
| boolean
|
|
126
|
-
| Array<string>;
|
|
116
|
+
export type Value$Outbound = string | number | boolean | Array<string>;
|
|
127
117
|
|
|
128
118
|
/** @internal */
|
|
129
|
-
export const
|
|
130
|
-
|
|
119
|
+
export const Value$outboundSchema: z.ZodType<
|
|
120
|
+
Value$Outbound,
|
|
131
121
|
z.ZodTypeDef,
|
|
132
|
-
|
|
122
|
+
Value
|
|
133
123
|
> = z.union([z.string(), z.number(), z.boolean(), z.array(z.string())]);
|
|
134
124
|
|
|
135
|
-
export function
|
|
136
|
-
|
|
137
|
-
): string {
|
|
138
|
-
return JSON.stringify(
|
|
139
|
-
AnnotationsValue$outboundSchema.parse(annotationsValue),
|
|
140
|
-
);
|
|
125
|
+
export function valueToJSON(value: Value): string {
|
|
126
|
+
return JSON.stringify(Value$outboundSchema.parse(value));
|
|
141
127
|
}
|
|
142
128
|
|
|
143
129
|
/** @internal */
|
|
@@ -1247,7 +1247,7 @@ export type FilterBy1 =
|
|
|
1247
1247
|
| CreateChatCompletion1Nin;
|
|
1248
1248
|
|
|
1249
1249
|
/**
|
|
1250
|
-
* The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/
|
|
1250
|
+
* The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/ai-studio/ai-engineering/knowledge-bases#search-a-knowledge-base) for more information.
|
|
1251
1251
|
*/
|
|
1252
1252
|
export type FilterBy = FilterByAnd | FilterByOr | {
|
|
1253
1253
|
[k: string]:
|
|
@@ -1284,7 +1284,7 @@ export type SearchOptions = {
|
|
|
1284
1284
|
*/
|
|
1285
1285
|
export type RerankConfig = {
|
|
1286
1286
|
/**
|
|
1287
|
-
* The name of the rerank model to use. Refer to the [model list](https://docs.orq.ai/
|
|
1287
|
+
* The name of the rerank model to use. Refer to the [model list](https://docs.orq.ai/ai-gateway/supported-models#rerank-models).
|
|
1288
1288
|
*/
|
|
1289
1289
|
model: string;
|
|
1290
1290
|
/**
|
|
@@ -1302,7 +1302,7 @@ export type RerankConfig = {
|
|
|
1302
1302
|
*/
|
|
1303
1303
|
export type AgenticRagConfig = {
|
|
1304
1304
|
/**
|
|
1305
|
-
* The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/
|
|
1305
|
+
* The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/ai-gateway/supported-models#chat-models).
|
|
1306
1306
|
*/
|
|
1307
1307
|
model: string;
|
|
1308
1308
|
};
|
|
@@ -1321,7 +1321,7 @@ export type CreateChatCompletionKnowledgeBases = {
|
|
|
1321
1321
|
*/
|
|
1322
1322
|
searchType?: SearchType | null | undefined;
|
|
1323
1323
|
/**
|
|
1324
|
-
* The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/
|
|
1324
|
+
* The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/ai-studio/ai-engineering/knowledge-bases#search-a-knowledge-base) for more information.
|
|
1325
1325
|
*/
|
|
1326
1326
|
filterBy?: FilterByAnd | FilterByOr | {
|
|
1327
1327
|
[k: string]:
|
|
@@ -1467,7 +1467,7 @@ export type CreateChatCompletionRequestBody = {
|
|
|
1467
1467
|
| CreateChatCompletionMessagesToolMessage
|
|
1468
1468
|
>;
|
|
1469
1469
|
/**
|
|
1470
|
-
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. The AI Gateway offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [Supported models](/
|
|
1470
|
+
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. The AI Gateway offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [Supported models](/ai-gateway/supported-models) to browse available models.
|
|
1471
1471
|
*/
|
|
1472
1472
|
model: string;
|
|
1473
1473
|
/**
|