@orq-ai/node 4.15.0-rc.2 → 4.15.0-rc.4
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 +73 -74
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentresponserequest.d.ts +14 -14
- package/models/components/agentresponserequest.d.ts.map +1 -1
- package/models/components/agentresponserequest.js +14 -15
- package/models/components/agentresponserequest.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +12 -12
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +17 -17
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/evaluationcontext.d.ts +6 -6
- package/models/components/evaluationcontext.d.ts.map +1 -1
- package/models/components/evaluationcontext.js +6 -7
- package/models/components/evaluationcontext.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 +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/searchknowledgerequest.d.ts +174 -174
- package/models/components/searchknowledgerequest.d.ts.map +1 -1
- package/models/components/searchknowledgerequest.js +217 -207
- package/models/components/searchknowledgerequest.js.map +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createchatcompletion.d.ts +58 -58
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +80 -81
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createprompt.d.ts +5 -4
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +7 -5
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- 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/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.js +4 -4
- package/models/operations/geteval.js +16 -16
- 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/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +0 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/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/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/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/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.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.js +4 -4
- package/package.json +6 -6
- package/sdk/deployments.d.ts +0 -16
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +0 -20
- package/sdk/deployments.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentresponserequest.ts +22 -31
- package/src/models/components/agentthoughtstreamingevent.ts +43 -55
- package/src/models/components/evaluationcontext.ts +10 -15
- 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 +0 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/searchknowledgerequest.ts +469 -668
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createchatcompletion.ts +248 -313
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createprompt.ts +7 -7
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +0 -2
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listpromptversions.ts +1 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/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/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/deployments.ts +0 -38
- package/funcs/deploymentsInvoke.d.ts +0 -18
- package/funcs/deploymentsInvoke.d.ts.map +0 -1
- package/funcs/deploymentsInvoke.js +0 -116
- package/funcs/deploymentsInvoke.js.map +0 -1
- package/funcs/deploymentsStream.d.ts +0 -18
- package/funcs/deploymentsStream.d.ts.map +0 -1
- package/funcs/deploymentsStream.js +0 -129
- package/funcs/deploymentsStream.js.map +0 -1
- package/models/components/invokedeploymentrequest.d.ts +0 -1544
- package/models/components/invokedeploymentrequest.d.ts.map +0 -1
- package/models/components/invokedeploymentrequest.js +0 -1108
- package/models/components/invokedeploymentrequest.js.map +0 -1
- package/models/operations/deploymentinvoke.d.ts +0 -365
- package/models/operations/deploymentinvoke.d.ts.map +0 -1
- package/models/operations/deploymentinvoke.js +0 -370
- package/models/operations/deploymentinvoke.js.map +0 -1
- package/models/operations/deploymentstream.d.ts +0 -1897
- package/models/operations/deploymentstream.d.ts.map +0 -1
- package/models/operations/deploymentstream.js +0 -1483
- package/models/operations/deploymentstream.js.map +0 -1
- package/src/funcs/deploymentsInvoke.ts +0 -170
- package/src/funcs/deploymentsStream.ts +0 -180
- package/src/models/components/invokedeploymentrequest.ts +0 -3446
- package/src/models/operations/deploymentinvoke.ts +0 -731
- package/src/models/operations/deploymentstream.ts +0 -4562
|
@@ -83,7 +83,7 @@ export type AgentThoughtStreamingEventFunction = {
|
|
|
83
83
|
arguments?: string | undefined;
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
-
export type
|
|
86
|
+
export type ToolCalls = {
|
|
87
87
|
index?: number | undefined;
|
|
88
88
|
id?: string | undefined;
|
|
89
89
|
type?: AgentThoughtStreamingEventDataType | undefined;
|
|
@@ -104,7 +104,7 @@ export type AgentThoughtStreamingEventDataRole = ClosedEnum<
|
|
|
104
104
|
/**
|
|
105
105
|
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
106
106
|
*/
|
|
107
|
-
export type
|
|
107
|
+
export type Audio = {
|
|
108
108
|
id: string;
|
|
109
109
|
expiresAt: number;
|
|
110
110
|
data: string;
|
|
@@ -117,7 +117,7 @@ export type AgentThoughtStreamingEventAudio = {
|
|
|
117
117
|
export type AgentThoughtStreamingEventMessage = {
|
|
118
118
|
content?: string | null | undefined;
|
|
119
119
|
refusal?: string | null | undefined;
|
|
120
|
-
toolCalls?: Array<
|
|
120
|
+
toolCalls?: Array<ToolCalls> | undefined;
|
|
121
121
|
role?: AgentThoughtStreamingEventDataRole | undefined;
|
|
122
122
|
/**
|
|
123
123
|
* Internal thought process of the model
|
|
@@ -134,7 +134,7 @@ export type AgentThoughtStreamingEventMessage = {
|
|
|
134
134
|
/**
|
|
135
135
|
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
136
136
|
*/
|
|
137
|
-
audio?:
|
|
137
|
+
audio?: Audio | null | undefined;
|
|
138
138
|
};
|
|
139
139
|
|
|
140
140
|
export type TopLogprobs = {
|
|
@@ -152,7 +152,7 @@ export type TopLogprobs = {
|
|
|
152
152
|
bytes: Array<number> | null;
|
|
153
153
|
};
|
|
154
154
|
|
|
155
|
-
export type
|
|
155
|
+
export type Content = {
|
|
156
156
|
/**
|
|
157
157
|
* The token.
|
|
158
158
|
*/
|
|
@@ -212,7 +212,7 @@ export type Logprobs = {
|
|
|
212
212
|
/**
|
|
213
213
|
* A list of message content tokens with log probability information.
|
|
214
214
|
*/
|
|
215
|
-
content: Array<
|
|
215
|
+
content: Array<Content> | null;
|
|
216
216
|
/**
|
|
217
217
|
* A list of message refusal tokens with log probability information.
|
|
218
218
|
*/
|
|
@@ -411,8 +411,8 @@ export function agentThoughtStreamingEventFunctionFromJSON(
|
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
/** @internal */
|
|
414
|
-
export const
|
|
415
|
-
|
|
414
|
+
export const ToolCalls$inboundSchema: z.ZodType<
|
|
415
|
+
ToolCalls,
|
|
416
416
|
z.ZodTypeDef,
|
|
417
417
|
unknown
|
|
418
418
|
> = z.object({
|
|
@@ -428,14 +428,13 @@ export const AgentThoughtStreamingEventToolCalls$inboundSchema: z.ZodType<
|
|
|
428
428
|
});
|
|
429
429
|
});
|
|
430
430
|
|
|
431
|
-
export function
|
|
431
|
+
export function toolCallsFromJSON(
|
|
432
432
|
jsonString: string,
|
|
433
|
-
): SafeParseResult<
|
|
433
|
+
): SafeParseResult<ToolCalls, SDKValidationError> {
|
|
434
434
|
return safeParse(
|
|
435
435
|
jsonString,
|
|
436
|
-
(x) =>
|
|
437
|
-
|
|
438
|
-
`Failed to parse 'AgentThoughtStreamingEventToolCalls' from JSON`,
|
|
436
|
+
(x) => ToolCalls$inboundSchema.parse(JSON.parse(x)),
|
|
437
|
+
`Failed to parse 'ToolCalls' from JSON`,
|
|
439
438
|
);
|
|
440
439
|
}
|
|
441
440
|
|
|
@@ -445,28 +444,25 @@ export const AgentThoughtStreamingEventDataRole$inboundSchema: z.ZodNativeEnum<
|
|
|
445
444
|
> = z.nativeEnum(AgentThoughtStreamingEventDataRole);
|
|
446
445
|
|
|
447
446
|
/** @internal */
|
|
448
|
-
export const
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
})
|
|
458
|
-
return remap$(v, {
|
|
459
|
-
"expires_at": "expiresAt",
|
|
447
|
+
export const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown> = z
|
|
448
|
+
.object({
|
|
449
|
+
id: z.string(),
|
|
450
|
+
expires_at: z.number().int(),
|
|
451
|
+
data: z.string(),
|
|
452
|
+
transcript: z.string(),
|
|
453
|
+
}).transform((v) => {
|
|
454
|
+
return remap$(v, {
|
|
455
|
+
"expires_at": "expiresAt",
|
|
456
|
+
});
|
|
460
457
|
});
|
|
461
|
-
});
|
|
462
458
|
|
|
463
|
-
export function
|
|
459
|
+
export function audioFromJSON(
|
|
464
460
|
jsonString: string,
|
|
465
|
-
): SafeParseResult<
|
|
461
|
+
): SafeParseResult<Audio, SDKValidationError> {
|
|
466
462
|
return safeParse(
|
|
467
463
|
jsonString,
|
|
468
|
-
(x) =>
|
|
469
|
-
`Failed to parse '
|
|
464
|
+
(x) => Audio$inboundSchema.parse(JSON.parse(x)),
|
|
465
|
+
`Failed to parse 'Audio' from JSON`,
|
|
470
466
|
);
|
|
471
467
|
}
|
|
472
468
|
|
|
@@ -478,15 +474,12 @@ export const AgentThoughtStreamingEventMessage$inboundSchema: z.ZodType<
|
|
|
478
474
|
> = z.object({
|
|
479
475
|
content: z.nullable(z.string()).optional(),
|
|
480
476
|
refusal: z.nullable(z.string()).optional(),
|
|
481
|
-
tool_calls: z.array(
|
|
482
|
-
z.lazy(() => AgentThoughtStreamingEventToolCalls$inboundSchema),
|
|
483
|
-
).optional(),
|
|
477
|
+
tool_calls: z.array(z.lazy(() => ToolCalls$inboundSchema)).optional(),
|
|
484
478
|
role: AgentThoughtStreamingEventDataRole$inboundSchema.optional(),
|
|
485
479
|
reasoning: z.nullable(z.string()).optional(),
|
|
486
480
|
reasoning_signature: z.nullable(z.string()).optional(),
|
|
487
481
|
redacted_reasoning: z.string().optional(),
|
|
488
|
-
audio: z.nullable(z.lazy(() =>
|
|
489
|
-
.optional(),
|
|
482
|
+
audio: z.nullable(z.lazy(() => Audio$inboundSchema)).optional(),
|
|
490
483
|
}).transform((v) => {
|
|
491
484
|
return remap$(v, {
|
|
492
485
|
"tool_calls": "toolCalls",
|
|
@@ -527,28 +520,25 @@ export function topLogprobsFromJSON(
|
|
|
527
520
|
}
|
|
528
521
|
|
|
529
522
|
/** @internal */
|
|
530
|
-
export const
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
})
|
|
540
|
-
return remap$(v, {
|
|
541
|
-
"top_logprobs": "topLogprobs",
|
|
523
|
+
export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
|
|
524
|
+
z.object({
|
|
525
|
+
token: z.string(),
|
|
526
|
+
logprob: z.number(),
|
|
527
|
+
bytes: z.nullable(z.array(z.number())),
|
|
528
|
+
top_logprobs: z.array(z.lazy(() => TopLogprobs$inboundSchema)),
|
|
529
|
+
}).transform((v) => {
|
|
530
|
+
return remap$(v, {
|
|
531
|
+
"top_logprobs": "topLogprobs",
|
|
532
|
+
});
|
|
542
533
|
});
|
|
543
|
-
});
|
|
544
534
|
|
|
545
|
-
export function
|
|
535
|
+
export function contentFromJSON(
|
|
546
536
|
jsonString: string,
|
|
547
|
-
): SafeParseResult<
|
|
537
|
+
): SafeParseResult<Content, SDKValidationError> {
|
|
548
538
|
return safeParse(
|
|
549
539
|
jsonString,
|
|
550
|
-
(x) =>
|
|
551
|
-
`Failed to parse '
|
|
540
|
+
(x) => Content$inboundSchema.parse(JSON.parse(x)),
|
|
541
|
+
`Failed to parse 'Content' from JSON`,
|
|
552
542
|
);
|
|
553
543
|
}
|
|
554
544
|
|
|
@@ -605,9 +595,7 @@ export const Logprobs$inboundSchema: z.ZodType<
|
|
|
605
595
|
z.ZodTypeDef,
|
|
606
596
|
unknown
|
|
607
597
|
> = z.object({
|
|
608
|
-
content: z.nullable(
|
|
609
|
-
z.array(z.lazy(() => AgentThoughtStreamingEventContent$inboundSchema)),
|
|
610
|
-
),
|
|
598
|
+
content: z.nullable(z.array(z.lazy(() => Content$inboundSchema))),
|
|
611
599
|
refusal: z.nullable(z.array(z.lazy(() => Refusal$inboundSchema))),
|
|
612
600
|
});
|
|
613
601
|
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
StructuredOutput$outboundSchema,
|
|
15
15
|
} from "./structuredoutput.js";
|
|
16
16
|
|
|
17
|
-
export type
|
|
17
|
+
export type Messages = {};
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* The data to grade. When `messages` is present it is the conversation and
|
|
@@ -24,7 +24,7 @@ export type EvaluationContextMessages = {};
|
|
|
24
24
|
* conversation carries no assistant turn. Mirrors graders-api buildGraderRequest.
|
|
25
25
|
*/
|
|
26
26
|
export type EvaluationContext = {
|
|
27
|
-
messages?: Array<
|
|
27
|
+
messages?: Array<Messages> | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* StructuredInput names its fields after the template variables they feed, so
|
|
30
30
|
*
|
|
@@ -37,26 +37,22 @@ export type EvaluationContext = {
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
40
|
-
export type
|
|
40
|
+
export type Messages$Outbound = {};
|
|
41
41
|
|
|
42
42
|
/** @internal */
|
|
43
|
-
export const
|
|
44
|
-
|
|
43
|
+
export const Messages$outboundSchema: z.ZodType<
|
|
44
|
+
Messages$Outbound,
|
|
45
45
|
z.ZodTypeDef,
|
|
46
|
-
|
|
46
|
+
Messages
|
|
47
47
|
> = z.object({});
|
|
48
48
|
|
|
49
|
-
export function
|
|
50
|
-
|
|
51
|
-
): string {
|
|
52
|
-
return JSON.stringify(
|
|
53
|
-
EvaluationContextMessages$outboundSchema.parse(evaluationContextMessages),
|
|
54
|
-
);
|
|
49
|
+
export function messagesToJSON(messages: Messages): string {
|
|
50
|
+
return JSON.stringify(Messages$outboundSchema.parse(messages));
|
|
55
51
|
}
|
|
56
52
|
|
|
57
53
|
/** @internal */
|
|
58
54
|
export type EvaluationContext$Outbound = {
|
|
59
|
-
messages?: Array<
|
|
55
|
+
messages?: Array<Messages$Outbound> | undefined;
|
|
60
56
|
input?: StructuredInput$Outbound | undefined;
|
|
61
57
|
output?: StructuredOutput$Outbound | undefined;
|
|
62
58
|
variables?: { [k: string]: any } | undefined;
|
|
@@ -68,8 +64,7 @@ export const EvaluationContext$outboundSchema: z.ZodType<
|
|
|
68
64
|
z.ZodTypeDef,
|
|
69
65
|
EvaluationContext
|
|
70
66
|
> = z.object({
|
|
71
|
-
messages: z.array(z.lazy(() =>
|
|
72
|
-
.optional(),
|
|
67
|
+
messages: z.array(z.lazy(() => Messages$outboundSchema)).optional(),
|
|
73
68
|
input: StructuredInput$outboundSchema.optional(),
|
|
74
69
|
output: StructuredOutput$outboundSchema.optional(),
|
|
75
70
|
variables: z.record(z.any()).optional(),
|
|
@@ -860,8 +860,8 @@ export const EvaluatorResponseFunction$inboundSchema: z.ZodType<
|
|
|
860
860
|
> = z.object({
|
|
861
861
|
_id: z.string(),
|
|
862
862
|
description: z.string(),
|
|
863
|
-
created: z.string().default("2026-08-
|
|
864
|
-
updated: z.string().default("2026-08-
|
|
863
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
864
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
865
865
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
866
866
|
project_id: z.string().optional(),
|
|
867
867
|
guardrail_config: z.any().optional(),
|
|
@@ -46,8 +46,8 @@ export const EvaluatorResponseHttp$inboundSchema: z.ZodType<
|
|
|
46
46
|
> = z.object({
|
|
47
47
|
_id: z.string(),
|
|
48
48
|
description: z.string(),
|
|
49
|
-
created: z.string().default("2026-08-
|
|
50
|
-
updated: z.string().default("2026-08-
|
|
49
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
50
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
51
51
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
52
52
|
project_id: z.string().optional(),
|
|
53
53
|
guardrail_config: z.any().optional(),
|
|
@@ -32,8 +32,8 @@ export const EvaluatorResponseJsonSchema$inboundSchema: z.ZodType<
|
|
|
32
32
|
> = z.object({
|
|
33
33
|
_id: z.string(),
|
|
34
34
|
description: z.string(),
|
|
35
|
-
created: z.string().default("2026-08-
|
|
36
|
-
updated: z.string().default("2026-08-
|
|
35
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
37
37
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
38
38
|
project_id: z.string().optional(),
|
|
39
39
|
guardrail_config: z.any().optional(),
|
|
@@ -271,8 +271,8 @@ export const EvaluatorResponseLlm$inboundSchema: z.ZodType<
|
|
|
271
271
|
> = z.object({
|
|
272
272
|
_id: z.string(),
|
|
273
273
|
description: z.string(),
|
|
274
|
-
created: z.string().default("2026-08-
|
|
275
|
-
updated: z.string().default("2026-08-
|
|
274
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
275
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
276
276
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
277
277
|
project_id: z.string().optional(),
|
|
278
278
|
guardrail_config: z.any().optional(),
|
|
@@ -32,8 +32,8 @@ export const EvaluatorResponsePython$inboundSchema: z.ZodType<
|
|
|
32
32
|
> = z.object({
|
|
33
33
|
_id: z.string(),
|
|
34
34
|
description: z.string(),
|
|
35
|
-
created: z.string().default("2026-08-
|
|
36
|
-
updated: z.string().default("2026-08-
|
|
35
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
37
37
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
38
38
|
project_id: z.string().optional(),
|
|
39
39
|
guardrail_config: z.any().optional(),
|
|
@@ -54,8 +54,8 @@ export const EvaluatorResponseRagas$inboundSchema: z.ZodType<
|
|
|
54
54
|
> = z.object({
|
|
55
55
|
_id: z.string(),
|
|
56
56
|
description: z.string(),
|
|
57
|
-
created: z.string().default("2026-08-
|
|
58
|
-
updated: z.string().default("2026-08-
|
|
57
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
58
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
59
59
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
60
60
|
project_id: z.string().optional(),
|
|
61
61
|
guardrail_config: z.any().optional(),
|
|
@@ -32,8 +32,8 @@ export const EvaluatorResponseTypescript$inboundSchema: z.ZodType<
|
|
|
32
32
|
> = z.object({
|
|
33
33
|
_id: z.string(),
|
|
34
34
|
description: z.string(),
|
|
35
|
-
created: z.string().default("2026-08-
|
|
36
|
-
updated: z.string().default("2026-08-
|
|
35
|
+
created: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
36
|
+
updated: z.string().default("2026-08-26T13:26:44.323Z"),
|
|
37
37
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
38
38
|
project_id: z.string().optional(),
|
|
39
39
|
guardrail_config: z.any().optional(),
|
|
@@ -232,7 +232,6 @@ export * from "./imagecontentpartschema.js";
|
|
|
232
232
|
export * from "./incompletedetails.js";
|
|
233
233
|
export * from "./inputtokensdetails.js";
|
|
234
234
|
export * from "./internalretrievalconfig.js";
|
|
235
|
-
export * from "./invokedeploymentrequest.js";
|
|
236
235
|
export * from "./invokeevaluatorrequest.js";
|
|
237
236
|
export * from "./invokeevaluatorresponse.js";
|
|
238
237
|
export * from "./ipallowlist.js";
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01m0z413ry15xqe8vgjsmr7a7c"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|