@orq-ai/node 4.7.0-rc.37 → 4.7.0-rc.39
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 +2 -1
- package/funcs/identitiesRetrieve.d.ts +1 -1
- package/funcs/identitiesRetrieve.d.ts.map +1 -1
- package/funcs/identitiesRetrieve.js +6 -2
- package/funcs/identitiesRetrieve.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +4 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +3 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +4 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +3 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +4 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +3 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/errors/retrieveidentity.d.ts +27 -0
- package/models/errors/retrieveidentity.d.ts.map +1 -1
- package/models/errors/retrieveidentity.js +30 -1
- package/models/errors/retrieveidentity.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +19 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +22 -5
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +19 -0
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +12 -1
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createcontact.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/createeval.d.ts +18 -18
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +42 -42
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createimage.d.ts +9 -0
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +1 -0
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createprompt.d.ts +1 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +1 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -0
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +10 -6
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.d.ts +4 -0
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +8 -6
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.d.ts +8 -8
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +32 -32
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/invokeagent.d.ts +19 -0
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +12 -1
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +9 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +11 -3
- package/models/operations/listagents.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/listidentities.js +1 -1
- package/models/operations/listpromptversions.d.ts +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/parse.d.ts +5 -0
- package/models/operations/parse.d.ts.map +1 -1
- package/models/operations/parse.js +2 -0
- package/models/operations/parse.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2agentsa2a.d.ts +4 -4
- package/models/operations/postv2agentsa2a.d.ts.map +1 -1
- package/models/operations/postv2agentsa2a.js +6 -6
- package/models/operations/postv2agentsa2a.js.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +9 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +11 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.d.ts +27 -0
- package/models/operations/retrieveidentity.d.ts.map +1 -1
- package/models/operations/retrieveidentity.js +26 -2
- package/models/operations/retrieveidentity.js.map +1 -1
- package/models/operations/retrievetool.d.ts +4 -0
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +8 -6
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +19 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +16 -5
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +19 -0
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +12 -1
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +19 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +15 -4
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +19 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +21 -5
- package/models/operations/updateagent.js.map +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/updateeval.d.ts +8 -8
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +32 -32
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updateprompt.d.ts +1 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.d.ts +10 -0
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +11 -7
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/identitiesRetrieve.ts +11 -2
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/toolexecutionfailedstreamingevent.ts +5 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +5 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +5 -0
- package/src/models/errors/retrieveidentity.ts +56 -0
- package/src/models/operations/createagentrequest.ts +30 -0
- package/src/models/operations/createagentresponserequest.ts +26 -0
- package/src/models/operations/createcontact.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/createeval.ts +148 -97
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createimage.ts +6 -0
- package/src/models/operations/createprompt.ts +1 -0
- package/src/models/operations/createtool.ts +16 -6
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +1 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +12 -6
- package/src/models/operations/getevals.ts +90 -64
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- package/src/models/operations/invokeagent.ts +24 -0
- package/src/models/operations/listagents.ts +14 -0
- 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/listidentities.ts +1 -1
- package/src/models/operations/listpromptversions.ts +1 -0
- package/src/models/operations/parse.ts +7 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2agentsa2a.ts +17 -14
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +16 -0
- 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/retrieveidentity.ts +58 -1
- package/src/models/operations/retrievetool.ts +12 -6
- package/src/models/operations/runagent.ts +25 -1
- package/src/models/operations/streamagent.ts +24 -0
- package/src/models/operations/streamrunagent.ts +25 -1
- package/src/models/operations/updateagent.ts +31 -0
- 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/updateeval.ts +92 -66
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +17 -7
|
@@ -1398,6 +1398,13 @@ export const Source = {
|
|
|
1398
1398
|
} as const;
|
|
1399
1399
|
export type Source = ClosedEnum<typeof Source>;
|
|
1400
1400
|
|
|
1401
|
+
export const Engine = {
|
|
1402
|
+
Text: "text",
|
|
1403
|
+
Jinja: "jinja",
|
|
1404
|
+
Mustache: "mustache",
|
|
1405
|
+
} as const;
|
|
1406
|
+
export type Engine = ClosedEnum<typeof Engine>;
|
|
1407
|
+
|
|
1401
1408
|
export type CreateAgentRequestRequestBody = {
|
|
1402
1409
|
/**
|
|
1403
1410
|
* Unique identifier for the agent within the workspace
|
|
@@ -1457,6 +1464,7 @@ export type CreateAgentRequestRequestBody = {
|
|
|
1457
1464
|
teamOfAgents?: Array<TeamOfAgents> | undefined;
|
|
1458
1465
|
variables?: { [k: string]: any } | undefined;
|
|
1459
1466
|
source?: Source | undefined;
|
|
1467
|
+
engine?: Engine | undefined;
|
|
1460
1468
|
};
|
|
1461
1469
|
|
|
1462
1470
|
/**
|
|
@@ -1506,6 +1514,15 @@ export type CreateAgentRequestSource = ClosedEnum<
|
|
|
1506
1514
|
typeof CreateAgentRequestSource
|
|
1507
1515
|
>;
|
|
1508
1516
|
|
|
1517
|
+
export const CreateAgentRequestEngine = {
|
|
1518
|
+
Text: "text",
|
|
1519
|
+
Jinja: "jinja",
|
|
1520
|
+
Mustache: "mustache",
|
|
1521
|
+
} as const;
|
|
1522
|
+
export type CreateAgentRequestEngine = ClosedEnum<
|
|
1523
|
+
typeof CreateAgentRequestEngine
|
|
1524
|
+
>;
|
|
1525
|
+
|
|
1509
1526
|
/**
|
|
1510
1527
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
1511
1528
|
*/
|
|
@@ -2584,6 +2601,7 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2584
2601
|
*/
|
|
2585
2602
|
knowledgeBases?: Array<CreateAgentRequestKnowledgeBases> | undefined;
|
|
2586
2603
|
source?: CreateAgentRequestSource | undefined;
|
|
2604
|
+
engine: CreateAgentRequestEngine;
|
|
2587
2605
|
/**
|
|
2588
2606
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
2589
2607
|
*/
|
|
@@ -4714,6 +4732,10 @@ export function teamOfAgentsToJSON(teamOfAgents: TeamOfAgents): string {
|
|
|
4714
4732
|
export const Source$outboundSchema: z.ZodNativeEnum<typeof Source> = z
|
|
4715
4733
|
.nativeEnum(Source);
|
|
4716
4734
|
|
|
4735
|
+
/** @internal */
|
|
4736
|
+
export const Engine$outboundSchema: z.ZodNativeEnum<typeof Engine> = z
|
|
4737
|
+
.nativeEnum(Engine);
|
|
4738
|
+
|
|
4717
4739
|
/** @internal */
|
|
4718
4740
|
export type CreateAgentRequestRequestBody$Outbound = {
|
|
4719
4741
|
key: string;
|
|
@@ -4733,6 +4755,7 @@ export type CreateAgentRequestRequestBody$Outbound = {
|
|
|
4733
4755
|
team_of_agents?: Array<TeamOfAgents$Outbound> | undefined;
|
|
4734
4756
|
variables?: { [k: string]: any } | undefined;
|
|
4735
4757
|
source?: string | undefined;
|
|
4758
|
+
engine: string;
|
|
4736
4759
|
};
|
|
4737
4760
|
|
|
4738
4761
|
/** @internal */
|
|
@@ -4765,6 +4788,7 @@ export const CreateAgentRequestRequestBody$outboundSchema: z.ZodType<
|
|
|
4765
4788
|
teamOfAgents: z.array(z.lazy(() => TeamOfAgents$outboundSchema)).optional(),
|
|
4766
4789
|
variables: z.record(z.any()).optional(),
|
|
4767
4790
|
source: Source$outboundSchema.optional(),
|
|
4791
|
+
engine: Engine$outboundSchema.default("text"),
|
|
4768
4792
|
}).transform((v) => {
|
|
4769
4793
|
return remap$(v, {
|
|
4770
4794
|
displayName: "display_name",
|
|
@@ -4862,6 +4886,11 @@ export const CreateAgentRequestSource$inboundSchema: z.ZodNativeEnum<
|
|
|
4862
4886
|
typeof CreateAgentRequestSource
|
|
4863
4887
|
> = z.nativeEnum(CreateAgentRequestSource);
|
|
4864
4888
|
|
|
4889
|
+
/** @internal */
|
|
4890
|
+
export const CreateAgentRequestEngine$inboundSchema: z.ZodNativeEnum<
|
|
4891
|
+
typeof CreateAgentRequestEngine
|
|
4892
|
+
> = z.nativeEnum(CreateAgentRequestEngine);
|
|
4893
|
+
|
|
4865
4894
|
/** @internal */
|
|
4866
4895
|
export const CreateAgentRequestType$inboundSchema: z.ZodNativeEnum<
|
|
4867
4896
|
typeof CreateAgentRequestType
|
|
@@ -6395,6 +6424,7 @@ export const CreateAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
|
6395
6424
|
z.lazy(() => CreateAgentRequestKnowledgeBases$inboundSchema),
|
|
6396
6425
|
).optional(),
|
|
6397
6426
|
source: CreateAgentRequestSource$inboundSchema.optional(),
|
|
6427
|
+
engine: CreateAgentRequestEngine$inboundSchema.default("text"),
|
|
6398
6428
|
type: CreateAgentRequestType$inboundSchema.default("internal"),
|
|
6399
6429
|
role: z.string(),
|
|
6400
6430
|
description: z.string(),
|
|
@@ -156,6 +156,21 @@ export type Memory = {
|
|
|
156
156
|
entityId: string;
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
+
/**
|
|
160
|
+
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
161
|
+
*/
|
|
162
|
+
export const CreateAgentResponseRequestEngine = {
|
|
163
|
+
Text: "text",
|
|
164
|
+
Jinja: "jinja",
|
|
165
|
+
Mustache: "mustache",
|
|
166
|
+
} as const;
|
|
167
|
+
/**
|
|
168
|
+
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
169
|
+
*/
|
|
170
|
+
export type CreateAgentResponseRequestEngine = ClosedEnum<
|
|
171
|
+
typeof CreateAgentResponseRequestEngine
|
|
172
|
+
>;
|
|
173
|
+
|
|
159
174
|
/**
|
|
160
175
|
* Configuration options for the agent invocation
|
|
161
176
|
*/
|
|
@@ -211,6 +226,10 @@ export type CreateAgentResponseRequestRequestBody = {
|
|
|
211
226
|
* Optional metadata for the agent invocation as key-value pairs that will be included in traces
|
|
212
227
|
*/
|
|
213
228
|
metadata?: { [k: string]: any } | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
231
|
+
*/
|
|
232
|
+
engine?: CreateAgentResponseRequestEngine | undefined;
|
|
214
233
|
/**
|
|
215
234
|
* Configuration options for the agent invocation
|
|
216
235
|
*/
|
|
@@ -459,6 +478,11 @@ export function memoryToJSON(memory: Memory): string {
|
|
|
459
478
|
return JSON.stringify(Memory$outboundSchema.parse(memory));
|
|
460
479
|
}
|
|
461
480
|
|
|
481
|
+
/** @internal */
|
|
482
|
+
export const CreateAgentResponseRequestEngine$outboundSchema: z.ZodNativeEnum<
|
|
483
|
+
typeof CreateAgentResponseRequestEngine
|
|
484
|
+
> = z.nativeEnum(CreateAgentResponseRequestEngine);
|
|
485
|
+
|
|
462
486
|
/** @internal */
|
|
463
487
|
export type Configuration$Outbound = {
|
|
464
488
|
blocking: boolean;
|
|
@@ -509,6 +533,7 @@ export type CreateAgentResponseRequestRequestBody$Outbound = {
|
|
|
509
533
|
thread?: CreateAgentResponseRequestThread$Outbound | undefined;
|
|
510
534
|
memory?: Memory$Outbound | undefined;
|
|
511
535
|
metadata?: { [k: string]: any } | undefined;
|
|
536
|
+
engine?: string | undefined;
|
|
512
537
|
configuration?: Configuration$Outbound | undefined;
|
|
513
538
|
background: boolean;
|
|
514
539
|
stream: boolean;
|
|
@@ -530,6 +555,7 @@ export const CreateAgentResponseRequestRequestBody$outboundSchema: z.ZodType<
|
|
|
530
555
|
.optional(),
|
|
531
556
|
memory: z.lazy(() => Memory$outboundSchema).optional(),
|
|
532
557
|
metadata: z.record(z.any()).optional(),
|
|
558
|
+
engine: CreateAgentResponseRequestEngine$outboundSchema.optional(),
|
|
533
559
|
configuration: z.lazy(() => Configuration$outboundSchema).optional(),
|
|
534
560
|
background: z.boolean().default(false),
|
|
535
561
|
stream: z.boolean().default(false),
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-04-
|
|
137
|
+
"2026-04-01T14:17:40.247Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-04-
|
|
141
|
+
"2026-04-01T14:17:40.247Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-04-
|
|
2358
|
+
"2026-04-01T14:17:57.295Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-04-
|
|
2403
|
+
"2026-04-01T14:17:57.295Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-04-
|
|
2449
|
+
"2026-04-01T14:17:57.294Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-04-
|
|
2532
|
+
"2026-04-01T14:17:40.247Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KN4PGYQ638A3CNMWD6GWABXS"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -59,6 +59,7 @@ export type Python = {
|
|
|
59
59
|
guardrailConfig?:
|
|
60
60
|
| CreateEvalGuardrailConfigBoolean
|
|
61
61
|
| CreateEvalGuardrailConfigNumber
|
|
62
|
+
| null
|
|
62
63
|
| undefined;
|
|
63
64
|
outputType?: CreateEvalRequestBodyOutputType | undefined;
|
|
64
65
|
code: string;
|
|
@@ -136,7 +137,11 @@ export const RequestBodyMethod = {
|
|
|
136
137
|
export type RequestBodyMethod = ClosedEnum<typeof RequestBodyMethod>;
|
|
137
138
|
|
|
138
139
|
export type RequestBodyHTTP = {
|
|
139
|
-
guardrailConfig?:
|
|
140
|
+
guardrailConfig?:
|
|
141
|
+
| GuardrailConfigBoolean
|
|
142
|
+
| GuardrailConfigNumber
|
|
143
|
+
| null
|
|
144
|
+
| undefined;
|
|
140
145
|
/**
|
|
141
146
|
* The type of output expected from the evaluator
|
|
142
147
|
*/
|
|
@@ -200,7 +205,7 @@ export type CreateEvalRequestBodyEvalsType = ClosedEnum<
|
|
|
200
205
|
>;
|
|
201
206
|
|
|
202
207
|
export type Json = {
|
|
203
|
-
guardrailConfig?: Boolean | NumberT | undefined;
|
|
208
|
+
guardrailConfig?: Boolean | NumberT | null | undefined;
|
|
204
209
|
outputType?: OutputType | undefined;
|
|
205
210
|
type: CreateEvalRequestBodyEvalsType;
|
|
206
211
|
schema: string;
|
|
@@ -314,6 +319,7 @@ export type Llm2 = {
|
|
|
314
319
|
guardrailConfig?:
|
|
315
320
|
| CreateEvalGuardrailConfigEvalsBoolean
|
|
316
321
|
| CreateEvalGuardrailConfigEvalsNumber
|
|
322
|
+
| null
|
|
317
323
|
| undefined;
|
|
318
324
|
/**
|
|
319
325
|
* The type of output expected from the evaluator
|
|
@@ -394,6 +400,7 @@ export type Llm1 = {
|
|
|
394
400
|
guardrailConfig?:
|
|
395
401
|
| CreateEvalGuardrailConfigEvalsRequestBoolean
|
|
396
402
|
| CreateEvalGuardrailConfigEvalsRequestNumber
|
|
403
|
+
| null
|
|
397
404
|
| undefined;
|
|
398
405
|
/**
|
|
399
406
|
* The type of output expected from the evaluator
|
|
@@ -477,6 +484,7 @@ export type Typescript = {
|
|
|
477
484
|
guardrailConfig?:
|
|
478
485
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean
|
|
479
486
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number
|
|
487
|
+
| null
|
|
480
488
|
| undefined;
|
|
481
489
|
code: string;
|
|
482
490
|
type: CreateEvalResponseBodyEvalsResponse200ApplicationJSONType;
|
|
@@ -550,6 +558,7 @@ export type Ragas = {
|
|
|
550
558
|
guardrailConfig?:
|
|
551
559
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean
|
|
552
560
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number
|
|
561
|
+
| null
|
|
553
562
|
| undefined;
|
|
554
563
|
type: CreateEvalResponseBodyEvalsResponse200Type;
|
|
555
564
|
ragasMetric: RagasMetric;
|
|
@@ -782,6 +791,7 @@ export type CreateEvalResponseBodyFunction = {
|
|
|
782
791
|
guardrailConfig?:
|
|
783
792
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean
|
|
784
793
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber
|
|
794
|
+
| null
|
|
785
795
|
| undefined;
|
|
786
796
|
type: CreateEvalResponseBodyEvalsResponseType;
|
|
787
797
|
functionParams:
|
|
@@ -868,6 +878,7 @@ export type ResponseBodyPython = {
|
|
|
868
878
|
guardrailConfig?:
|
|
869
879
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean
|
|
870
880
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber
|
|
881
|
+
| null
|
|
871
882
|
| undefined;
|
|
872
883
|
code: string;
|
|
873
884
|
type: CreateEvalResponseBodyEvalsType;
|
|
@@ -926,6 +937,7 @@ export type ResponseBodyHTTP = {
|
|
|
926
937
|
guardrailConfig?:
|
|
927
938
|
| CreateEvalGuardrailConfigEvalsResponse200Boolean
|
|
928
939
|
| CreateEvalGuardrailConfigEvalsResponse200Number
|
|
940
|
+
| null
|
|
929
941
|
| undefined;
|
|
930
942
|
type: CreateEvalResponseBodyType;
|
|
931
943
|
url: string;
|
|
@@ -980,6 +992,7 @@ export type ResponseBodyJSON = {
|
|
|
980
992
|
guardrailConfig?:
|
|
981
993
|
| CreateEvalGuardrailConfigEvalsResponseBoolean
|
|
982
994
|
| CreateEvalGuardrailConfigEvalsResponseNumber
|
|
995
|
+
| null
|
|
983
996
|
| undefined;
|
|
984
997
|
type: CreateEvalResponseBodyEvalsResponse200ApplicationJson2Type;
|
|
985
998
|
schema: string;
|
|
@@ -1079,6 +1092,7 @@ export type CreateEvalLlm2 = {
|
|
|
1079
1092
|
guardrailConfig?:
|
|
1080
1093
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean
|
|
1081
1094
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMNumber
|
|
1095
|
+
| null
|
|
1082
1096
|
| undefined;
|
|
1083
1097
|
type: CreateEvalLLMEvalsResponseType;
|
|
1084
1098
|
repetitions?: number | undefined;
|
|
@@ -1137,6 +1151,7 @@ export type CreateEvalLlm1 = {
|
|
|
1137
1151
|
guardrailConfig?:
|
|
1138
1152
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean
|
|
1139
1153
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Number
|
|
1154
|
+
| null
|
|
1140
1155
|
| undefined;
|
|
1141
1156
|
type: CreateEvalLLMEvalsType;
|
|
1142
1157
|
repetitions?: number | undefined;
|
|
@@ -1276,6 +1291,7 @@ export type Python$Outbound = {
|
|
|
1276
1291
|
guardrail_config?:
|
|
1277
1292
|
| CreateEvalGuardrailConfigBoolean$Outbound
|
|
1278
1293
|
| CreateEvalGuardrailConfigNumber$Outbound
|
|
1294
|
+
| null
|
|
1279
1295
|
| undefined;
|
|
1280
1296
|
output_type?: string | undefined;
|
|
1281
1297
|
code: string;
|
|
@@ -1291,10 +1307,12 @@ export const Python$outboundSchema: z.ZodType<
|
|
|
1291
1307
|
z.ZodTypeDef,
|
|
1292
1308
|
Python
|
|
1293
1309
|
> = z.object({
|
|
1294
|
-
guardrailConfig: z.
|
|
1295
|
-
z.
|
|
1296
|
-
|
|
1297
|
-
|
|
1310
|
+
guardrailConfig: z.nullable(
|
|
1311
|
+
z.union([
|
|
1312
|
+
z.lazy(() => CreateEvalGuardrailConfigBoolean$outboundSchema),
|
|
1313
|
+
z.lazy(() => CreateEvalGuardrailConfigNumber$outboundSchema),
|
|
1314
|
+
]),
|
|
1315
|
+
).optional(),
|
|
1298
1316
|
outputType: CreateEvalRequestBodyOutputType$outboundSchema.optional(),
|
|
1299
1317
|
code: z.string(),
|
|
1300
1318
|
type: CreateEvalRequestBodyType$outboundSchema,
|
|
@@ -1427,6 +1445,7 @@ export type RequestBodyHTTP$Outbound = {
|
|
|
1427
1445
|
guardrail_config?:
|
|
1428
1446
|
| GuardrailConfigBoolean$Outbound
|
|
1429
1447
|
| GuardrailConfigNumber$Outbound
|
|
1448
|
+
| null
|
|
1430
1449
|
| undefined;
|
|
1431
1450
|
output_type?: string | undefined;
|
|
1432
1451
|
type: string;
|
|
@@ -1445,10 +1464,12 @@ export const RequestBodyHTTP$outboundSchema: z.ZodType<
|
|
|
1445
1464
|
z.ZodTypeDef,
|
|
1446
1465
|
RequestBodyHTTP
|
|
1447
1466
|
> = z.object({
|
|
1448
|
-
guardrailConfig: z.
|
|
1449
|
-
z.
|
|
1450
|
-
|
|
1451
|
-
|
|
1467
|
+
guardrailConfig: z.nullable(
|
|
1468
|
+
z.union([
|
|
1469
|
+
z.lazy(() => GuardrailConfigBoolean$outboundSchema),
|
|
1470
|
+
z.lazy(() => GuardrailConfigNumber$outboundSchema),
|
|
1471
|
+
]),
|
|
1472
|
+
).optional(),
|
|
1452
1473
|
outputType: RequestBodyOutputType$outboundSchema.optional(),
|
|
1453
1474
|
type: CreateEvalRequestBodyEvalsRequestType$outboundSchema,
|
|
1454
1475
|
url: z.string(),
|
|
@@ -1563,7 +1584,7 @@ export const CreateEvalRequestBodyEvalsType$outboundSchema: z.ZodNativeEnum<
|
|
|
1563
1584
|
|
|
1564
1585
|
/** @internal */
|
|
1565
1586
|
export type Json$Outbound = {
|
|
1566
|
-
guardrail_config?: Boolean$Outbound | NumberT$Outbound | undefined;
|
|
1587
|
+
guardrail_config?: Boolean$Outbound | NumberT$Outbound | null | undefined;
|
|
1567
1588
|
output_type?: string | undefined;
|
|
1568
1589
|
type: string;
|
|
1569
1590
|
schema: string;
|
|
@@ -1575,10 +1596,12 @@ export type Json$Outbound = {
|
|
|
1575
1596
|
/** @internal */
|
|
1576
1597
|
export const Json$outboundSchema: z.ZodType<Json$Outbound, z.ZodTypeDef, Json> =
|
|
1577
1598
|
z.object({
|
|
1578
|
-
guardrailConfig: z.
|
|
1579
|
-
z.
|
|
1580
|
-
|
|
1581
|
-
|
|
1599
|
+
guardrailConfig: z.nullable(
|
|
1600
|
+
z.union([
|
|
1601
|
+
z.lazy(() => Boolean$outboundSchema),
|
|
1602
|
+
z.lazy(() => NumberT$outboundSchema),
|
|
1603
|
+
]),
|
|
1604
|
+
).optional(),
|
|
1582
1605
|
outputType: OutputType$outboundSchema.optional(),
|
|
1583
1606
|
type: CreateEvalRequestBodyEvalsType$outboundSchema,
|
|
1584
1607
|
schema: z.string(),
|
|
@@ -1885,6 +1908,7 @@ export type Llm2$Outbound = {
|
|
|
1885
1908
|
guardrail_config?:
|
|
1886
1909
|
| CreateEvalGuardrailConfigEvalsBoolean$Outbound
|
|
1887
1910
|
| CreateEvalGuardrailConfigEvalsNumber$Outbound
|
|
1911
|
+
| null
|
|
1888
1912
|
| undefined;
|
|
1889
1913
|
output_type?: string | undefined;
|
|
1890
1914
|
type: string;
|
|
@@ -1900,10 +1924,12 @@ export type Llm2$Outbound = {
|
|
|
1900
1924
|
/** @internal */
|
|
1901
1925
|
export const Llm2$outboundSchema: z.ZodType<Llm2$Outbound, z.ZodTypeDef, Llm2> =
|
|
1902
1926
|
z.object({
|
|
1903
|
-
guardrailConfig: z.
|
|
1904
|
-
z.
|
|
1905
|
-
|
|
1906
|
-
|
|
1927
|
+
guardrailConfig: z.nullable(
|
|
1928
|
+
z.union([
|
|
1929
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$outboundSchema),
|
|
1930
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsNumber$outboundSchema),
|
|
1931
|
+
]),
|
|
1932
|
+
).optional(),
|
|
1907
1933
|
outputType: LLMOutputType$outboundSchema.optional(),
|
|
1908
1934
|
type: LLMType$outboundSchema,
|
|
1909
1935
|
repetitions: z.number().int().optional(),
|
|
@@ -2043,6 +2069,7 @@ export type Llm1$Outbound = {
|
|
|
2043
2069
|
guardrail_config?:
|
|
2044
2070
|
| CreateEvalGuardrailConfigEvalsRequestBoolean$Outbound
|
|
2045
2071
|
| CreateEvalGuardrailConfigEvalsRequestNumber$Outbound
|
|
2072
|
+
| null
|
|
2046
2073
|
| undefined;
|
|
2047
2074
|
output_type?: string | undefined;
|
|
2048
2075
|
type: string;
|
|
@@ -2058,10 +2085,16 @@ export type Llm1$Outbound = {
|
|
|
2058
2085
|
/** @internal */
|
|
2059
2086
|
export const Llm1$outboundSchema: z.ZodType<Llm1$Outbound, z.ZodTypeDef, Llm1> =
|
|
2060
2087
|
z.object({
|
|
2061
|
-
guardrailConfig: z.
|
|
2062
|
-
z.
|
|
2063
|
-
|
|
2064
|
-
|
|
2088
|
+
guardrailConfig: z.nullable(
|
|
2089
|
+
z.union([
|
|
2090
|
+
z.lazy(() =>
|
|
2091
|
+
CreateEvalGuardrailConfigEvalsRequestBoolean$outboundSchema
|
|
2092
|
+
),
|
|
2093
|
+
z.lazy(() =>
|
|
2094
|
+
CreateEvalGuardrailConfigEvalsRequestNumber$outboundSchema
|
|
2095
|
+
),
|
|
2096
|
+
]),
|
|
2097
|
+
).optional(),
|
|
2065
2098
|
outputType: CreateEvalLLMOutputType$outboundSchema.optional(),
|
|
2066
2099
|
type: CreateEvalLLMType$outboundSchema,
|
|
2067
2100
|
repetitions: z.number().int().optional(),
|
|
@@ -2245,16 +2278,18 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2245
2278
|
> = z.object({
|
|
2246
2279
|
_id: z.string(),
|
|
2247
2280
|
description: z.string(),
|
|
2248
|
-
created: z.string().default("2026-04-
|
|
2249
|
-
updated: z.string().default("2026-04-
|
|
2250
|
-
guardrail_config: z.
|
|
2251
|
-
z.
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2281
|
+
created: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
2282
|
+
updated: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
2283
|
+
guardrail_config: z.nullable(
|
|
2284
|
+
z.union([
|
|
2285
|
+
z.lazy(() =>
|
|
2286
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
2287
|
+
),
|
|
2288
|
+
z.lazy(() =>
|
|
2289
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
2290
|
+
),
|
|
2291
|
+
]),
|
|
2292
|
+
).optional(),
|
|
2258
2293
|
code: z.string(),
|
|
2259
2294
|
type: CreateEvalResponseBodyEvalsResponse200ApplicationJSONType$inboundSchema,
|
|
2260
2295
|
key: z.string(),
|
|
@@ -2394,16 +2429,18 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2394
2429
|
.object({
|
|
2395
2430
|
_id: z.string(),
|
|
2396
2431
|
description: z.string(),
|
|
2397
|
-
created: z.string().default("2026-04-
|
|
2398
|
-
updated: z.string().default("2026-04-
|
|
2399
|
-
guardrail_config: z.
|
|
2400
|
-
z.
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2432
|
+
created: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
2433
|
+
updated: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
2434
|
+
guardrail_config: z.nullable(
|
|
2435
|
+
z.union([
|
|
2436
|
+
z.lazy(() =>
|
|
2437
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
2438
|
+
),
|
|
2439
|
+
z.lazy(() =>
|
|
2440
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
2441
|
+
),
|
|
2442
|
+
]),
|
|
2443
|
+
).optional(),
|
|
2407
2444
|
type: CreateEvalResponseBodyEvalsResponse200Type$inboundSchema,
|
|
2408
2445
|
ragas_metric: RagasMetric$inboundSchema,
|
|
2409
2446
|
key: z.string(),
|
|
@@ -3184,16 +3221,18 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3184
3221
|
> = z.object({
|
|
3185
3222
|
_id: z.string(),
|
|
3186
3223
|
description: z.string(),
|
|
3187
|
-
created: z.string().default("2026-04-
|
|
3188
|
-
updated: z.string().default("2026-04-
|
|
3189
|
-
guardrail_config: z.
|
|
3190
|
-
z.
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3224
|
+
created: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
3225
|
+
updated: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
3226
|
+
guardrail_config: z.nullable(
|
|
3227
|
+
z.union([
|
|
3228
|
+
z.lazy(() =>
|
|
3229
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
3230
|
+
),
|
|
3231
|
+
z.lazy(() =>
|
|
3232
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
3233
|
+
),
|
|
3234
|
+
]),
|
|
3235
|
+
).optional(),
|
|
3197
3236
|
type: CreateEvalResponseBodyEvalsResponseType$inboundSchema,
|
|
3198
3237
|
function_params: z.union([
|
|
3199
3238
|
z.lazy(() => FunctionParams1$inboundSchema),
|
|
@@ -3363,16 +3402,18 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3363
3402
|
> = z.object({
|
|
3364
3403
|
_id: z.string(),
|
|
3365
3404
|
description: z.string(),
|
|
3366
|
-
created: z.string().default("2026-04-
|
|
3367
|
-
updated: z.string().default("2026-04-
|
|
3368
|
-
guardrail_config: z.
|
|
3369
|
-
z.
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3405
|
+
created: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
3406
|
+
updated: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
3407
|
+
guardrail_config: z.nullable(
|
|
3408
|
+
z.union([
|
|
3409
|
+
z.lazy(() =>
|
|
3410
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
3411
|
+
),
|
|
3412
|
+
z.lazy(() =>
|
|
3413
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
3414
|
+
),
|
|
3415
|
+
]),
|
|
3416
|
+
).optional(),
|
|
3376
3417
|
code: z.string(),
|
|
3377
3418
|
type: CreateEvalResponseBodyEvalsType$inboundSchema,
|
|
3378
3419
|
key: z.string(),
|
|
@@ -3504,14 +3545,18 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3504
3545
|
> = z.object({
|
|
3505
3546
|
_id: z.string(),
|
|
3506
3547
|
description: z.string(),
|
|
3507
|
-
created: z.string().default("2026-04-
|
|
3508
|
-
updated: z.string().default("2026-04-
|
|
3509
|
-
guardrail_config: z.
|
|
3510
|
-
z.
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3548
|
+
created: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
3549
|
+
updated: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
3550
|
+
guardrail_config: z.nullable(
|
|
3551
|
+
z.union([
|
|
3552
|
+
z.lazy(() =>
|
|
3553
|
+
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
3554
|
+
),
|
|
3555
|
+
z.lazy(() =>
|
|
3556
|
+
CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema
|
|
3557
|
+
),
|
|
3558
|
+
]),
|
|
3559
|
+
).optional(),
|
|
3515
3560
|
type: CreateEvalResponseBodyType$inboundSchema,
|
|
3516
3561
|
url: z.string(),
|
|
3517
3562
|
method: ResponseBodyMethod$inboundSchema,
|
|
@@ -3641,12 +3686,14 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3641
3686
|
> = z.object({
|
|
3642
3687
|
_id: z.string(),
|
|
3643
3688
|
description: z.string(),
|
|
3644
|
-
created: z.string().default("2026-04-
|
|
3645
|
-
updated: z.string().default("2026-04-
|
|
3646
|
-
guardrail_config: z.
|
|
3647
|
-
z.
|
|
3648
|
-
|
|
3649
|
-
|
|
3689
|
+
created: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
3690
|
+
updated: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
3691
|
+
guardrail_config: z.nullable(
|
|
3692
|
+
z.union([
|
|
3693
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3694
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3695
|
+
]),
|
|
3696
|
+
).optional(),
|
|
3650
3697
|
type:
|
|
3651
3698
|
CreateEvalResponseBodyEvalsResponse200ApplicationJson2Type$inboundSchema,
|
|
3652
3699
|
schema: z.string(),
|
|
@@ -3952,16 +3999,18 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3952
3999
|
> = z.object({
|
|
3953
4000
|
_id: z.string(),
|
|
3954
4001
|
description: z.string(),
|
|
3955
|
-
created: z.string().default("2026-04-
|
|
3956
|
-
updated: z.string().default("2026-04-
|
|
3957
|
-
guardrail_config: z.
|
|
3958
|
-
z.
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
4002
|
+
created: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
4003
|
+
updated: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
4004
|
+
guardrail_config: z.nullable(
|
|
4005
|
+
z.union([
|
|
4006
|
+
z.lazy(() =>
|
|
4007
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema
|
|
4008
|
+
),
|
|
4009
|
+
z.lazy(() =>
|
|
4010
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMNumber$inboundSchema
|
|
4011
|
+
),
|
|
4012
|
+
]),
|
|
4013
|
+
).optional(),
|
|
3965
4014
|
type: CreateEvalLLMEvalsResponseType$inboundSchema,
|
|
3966
4015
|
repetitions: z.number().int().optional(),
|
|
3967
4016
|
prompt: z.string(),
|
|
@@ -4096,16 +4145,18 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4096
4145
|
> = z.object({
|
|
4097
4146
|
_id: z.string(),
|
|
4098
4147
|
description: z.string(),
|
|
4099
|
-
created: z.string().default("2026-04-
|
|
4100
|
-
updated: z.string().default("2026-04-
|
|
4101
|
-
guardrail_config: z.
|
|
4102
|
-
z.
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4148
|
+
created: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
4149
|
+
updated: z.string().default("2026-04-01T14:17:42.592Z"),
|
|
4150
|
+
guardrail_config: z.nullable(
|
|
4151
|
+
z.union([
|
|
4152
|
+
z.lazy(() =>
|
|
4153
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema
|
|
4154
|
+
),
|
|
4155
|
+
z.lazy(() =>
|
|
4156
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Number$inboundSchema
|
|
4157
|
+
),
|
|
4158
|
+
]),
|
|
4159
|
+
).optional(),
|
|
4109
4160
|
type: CreateEvalLLMEvalsType$inboundSchema,
|
|
4110
4161
|
repetitions: z.number().int().optional(),
|
|
4111
4162
|
prompt: z.string(),
|