@orq-ai/node 3.6.16 → 3.6.17
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/bin/mcp-server.js +188 -188
- package/bin/mcp-server.js.map +35 -35
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/security.d.ts +2 -2
- package/lib/security.d.ts.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/deployments.d.ts +8 -8
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +8 -8
- package/models/components/deployments.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createprompt.d.ts +12 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +12 -12
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentcreatemetric.d.ts +8 -8
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +8 -8
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +14 -14
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +14 -14
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +4 -4
- package/models/operations/deploymentinvoke.js +8 -8
- package/models/operations/deployments.d.ts +6 -6
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +6 -6
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +12 -12
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +12 -12
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +6 -6
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +6 -6
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +6 -6
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -6
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +6 -6
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -6
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +6 -6
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +6 -6
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateprompt.d.ts +12 -12
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +12 -12
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/security.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +16 -16
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +18 -18
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +121 -121
- package/packages/orq-rc/src/models/operations/createfeedback.ts +16 -16
- package/packages/orq-rc/src/models/operations/createprompt.ts +39 -39
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +22 -18
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +30 -30
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +13 -13
- package/packages/orq-rc/src/models/operations/deployments.ts +14 -14
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +26 -26
- package/packages/orq-rc/src/models/operations/evalsageappropriate.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsfactcheckingknowledgebase.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsgrammar.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalslocalization.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalspii.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascoherence.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasconciseness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascontextprecision.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascorrectness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasfaithfulness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasharmfulness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasmaliciousness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasresponserelevancy.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalssentimentclassification.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalssummarization.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalstoneofvoice.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalstranslation.ts +4 -4
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getallprompts.ts +22 -22
- package/packages/orq-rc/src/models/operations/getevals.ts +339 -364
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +22 -22
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +22 -22
- package/packages/orq-rc/src/models/operations/invokeeval.ts +251 -223
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +16 -12
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +22 -22
- package/packages/orq-rc/src/models/operations/postv2modelslitellmimport.ts +18 -18
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +10 -10
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +21 -19
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +139 -139
- package/packages/orq-rc/src/models/operations/updateprompt.ts +61 -106
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deployments.ts +16 -16
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createprompt.ts +27 -27
- package/src/models/operations/deploymentcreatemetric.ts +22 -18
- package/src/models/operations/deploymentgetconfig.ts +30 -30
- package/src/models/operations/deploymentinvoke.ts +13 -13
- package/src/models/operations/deployments.ts +14 -14
- package/src/models/operations/deploymentstream.ts +26 -26
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getallprompts.ts +14 -14
- package/src/models/operations/getoneprompt.ts +14 -14
- package/src/models/operations/getpromptversion.ts +14 -14
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +14 -14
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateprompt.ts +28 -28
|
@@ -49,8 +49,8 @@ export type CreateEvalGuardrailConfigEvalsBoolean = {
|
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
export type CreateEvalRequestBodyEvalsGuardrailConfig =
|
|
52
|
-
|
|
|
53
|
-
|
|
|
52
|
+
| CreateEvalGuardrailConfigEvalsNumber
|
|
53
|
+
| CreateEvalGuardrailConfigEvalsBoolean;
|
|
54
54
|
|
|
55
55
|
export const CreateEvalRequestBodyEvalsRequestType = {
|
|
56
56
|
PythonEval: "python_eval",
|
|
@@ -61,8 +61,8 @@ export type CreateEvalRequestBodyEvalsRequestType = ClosedEnum<
|
|
|
61
61
|
|
|
62
62
|
export type Python = {
|
|
63
63
|
guardrailConfig?:
|
|
64
|
-
| CreateEvalGuardrailConfigEvalsBoolean
|
|
65
64
|
| CreateEvalGuardrailConfigEvalsNumber
|
|
65
|
+
| CreateEvalGuardrailConfigEvalsBoolean
|
|
66
66
|
| undefined;
|
|
67
67
|
code: string;
|
|
68
68
|
type: CreateEvalRequestBodyEvalsRequestType;
|
|
@@ -114,8 +114,8 @@ export type CreateEvalGuardrailConfigBoolean = {
|
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
export type CreateEvalRequestBodyGuardrailConfig =
|
|
117
|
-
|
|
|
118
|
-
|
|
|
117
|
+
| CreateEvalGuardrailConfigNumber
|
|
118
|
+
| CreateEvalGuardrailConfigBoolean;
|
|
119
119
|
|
|
120
120
|
export const CreateEvalRequestBodyEvalsType = {
|
|
121
121
|
HttpEval: "http_eval",
|
|
@@ -132,8 +132,8 @@ export type Method = ClosedEnum<typeof Method>;
|
|
|
132
132
|
|
|
133
133
|
export type Http = {
|
|
134
134
|
guardrailConfig?:
|
|
135
|
-
| CreateEvalGuardrailConfigBoolean
|
|
136
135
|
| CreateEvalGuardrailConfigNumber
|
|
136
|
+
| CreateEvalGuardrailConfigBoolean
|
|
137
137
|
| undefined;
|
|
138
138
|
type: CreateEvalRequestBodyEvalsType;
|
|
139
139
|
url: string;
|
|
@@ -188,8 +188,8 @@ export type GuardrailConfigBoolean = {
|
|
|
188
188
|
};
|
|
189
189
|
|
|
190
190
|
export type RequestBodyGuardrailConfig =
|
|
191
|
-
|
|
|
192
|
-
|
|
|
191
|
+
| GuardrailConfigNumber
|
|
192
|
+
| GuardrailConfigBoolean;
|
|
193
193
|
|
|
194
194
|
export const CreateEvalRequestBodyType = {
|
|
195
195
|
JsonSchema: "json_schema",
|
|
@@ -199,7 +199,7 @@ export type CreateEvalRequestBodyType = ClosedEnum<
|
|
|
199
199
|
>;
|
|
200
200
|
|
|
201
201
|
export type Json = {
|
|
202
|
-
guardrailConfig?:
|
|
202
|
+
guardrailConfig?: GuardrailConfigNumber | GuardrailConfigBoolean | undefined;
|
|
203
203
|
type: CreateEvalRequestBodyType;
|
|
204
204
|
schema: string;
|
|
205
205
|
/**
|
|
@@ -245,7 +245,7 @@ export type Boolean = {
|
|
|
245
245
|
value: boolean;
|
|
246
246
|
};
|
|
247
247
|
|
|
248
|
-
export type GuardrailConfig =
|
|
248
|
+
export type GuardrailConfig = NumberT | Boolean;
|
|
249
249
|
|
|
250
250
|
export const RequestBodyType = {
|
|
251
251
|
LlmEval: "llm_eval",
|
|
@@ -253,7 +253,7 @@ export const RequestBodyType = {
|
|
|
253
253
|
export type RequestBodyType = ClosedEnum<typeof RequestBodyType>;
|
|
254
254
|
|
|
255
255
|
export type Llm = {
|
|
256
|
-
guardrailConfig?:
|
|
256
|
+
guardrailConfig?: NumberT | Boolean | undefined;
|
|
257
257
|
type: RequestBodyType;
|
|
258
258
|
prompt: string;
|
|
259
259
|
/**
|
|
@@ -265,7 +265,7 @@ export type Llm = {
|
|
|
265
265
|
key: string;
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export type CreateEvalRequestBody =
|
|
268
|
+
export type CreateEvalRequestBody = Http | Llm | Json | Python;
|
|
269
269
|
|
|
270
270
|
export const CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type =
|
|
271
271
|
{
|
|
@@ -318,8 +318,8 @@ export type CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody
|
|
|
318
318
|
};
|
|
319
319
|
|
|
320
320
|
export type CreateEvalResponseBodyEvalsResponseGuardrailConfig =
|
|
321
|
-
|
|
|
322
|
-
|
|
|
321
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber
|
|
322
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean;
|
|
323
323
|
|
|
324
324
|
export const CreateEvalResponseBodyEvalsResponseType = {
|
|
325
325
|
PythonEval: "python_eval",
|
|
@@ -334,8 +334,8 @@ export type ResponseBodyPython = {
|
|
|
334
334
|
created?: string | undefined;
|
|
335
335
|
updated?: string | undefined;
|
|
336
336
|
guardrailConfig?:
|
|
337
|
-
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean
|
|
338
337
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber
|
|
338
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean
|
|
339
339
|
| undefined;
|
|
340
340
|
code: string;
|
|
341
341
|
type: CreateEvalResponseBodyEvalsResponseType;
|
|
@@ -390,8 +390,8 @@ export type CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean = {
|
|
|
390
390
|
};
|
|
391
391
|
|
|
392
392
|
export type CreateEvalResponseBodyEvalsGuardrailConfig =
|
|
393
|
-
|
|
|
394
|
-
|
|
|
393
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber
|
|
394
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean;
|
|
395
395
|
|
|
396
396
|
export const CreateEvalResponseBodyEvalsType = {
|
|
397
397
|
HttpEval: "http_eval",
|
|
@@ -412,8 +412,8 @@ export type ResponseBodyHTTP = {
|
|
|
412
412
|
created?: string | undefined;
|
|
413
413
|
updated?: string | undefined;
|
|
414
414
|
guardrailConfig?:
|
|
415
|
-
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean
|
|
416
415
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber
|
|
416
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean
|
|
417
417
|
| undefined;
|
|
418
418
|
type: CreateEvalResponseBodyEvalsType;
|
|
419
419
|
url: string;
|
|
@@ -467,8 +467,8 @@ export type CreateEvalGuardrailConfigEvalsResponse200Boolean = {
|
|
|
467
467
|
};
|
|
468
468
|
|
|
469
469
|
export type CreateEvalResponseBodyGuardrailConfig =
|
|
470
|
-
|
|
|
471
|
-
|
|
|
470
|
+
| CreateEvalGuardrailConfigEvalsResponse200Number
|
|
471
|
+
| CreateEvalGuardrailConfigEvalsResponse200Boolean;
|
|
472
472
|
|
|
473
473
|
export const CreateEvalResponseBodyType = {
|
|
474
474
|
JsonSchema: "json_schema",
|
|
@@ -483,8 +483,8 @@ export type ResponseBodyJSON = {
|
|
|
483
483
|
created?: string | undefined;
|
|
484
484
|
updated?: string | undefined;
|
|
485
485
|
guardrailConfig?:
|
|
486
|
-
| CreateEvalGuardrailConfigEvalsResponse200Boolean
|
|
487
486
|
| CreateEvalGuardrailConfigEvalsResponse200Number
|
|
487
|
+
| CreateEvalGuardrailConfigEvalsResponse200Boolean
|
|
488
488
|
| undefined;
|
|
489
489
|
type: CreateEvalResponseBodyType;
|
|
490
490
|
schema: string;
|
|
@@ -531,8 +531,8 @@ export type CreateEvalGuardrailConfigEvalsResponseBoolean = {
|
|
|
531
531
|
};
|
|
532
532
|
|
|
533
533
|
export type ResponseBodyGuardrailConfig =
|
|
534
|
-
|
|
|
535
|
-
|
|
|
534
|
+
| CreateEvalGuardrailConfigEvalsResponseNumber
|
|
535
|
+
| CreateEvalGuardrailConfigEvalsResponseBoolean;
|
|
536
536
|
|
|
537
537
|
export const ResponseBodyType = {
|
|
538
538
|
LlmEval: "llm_eval",
|
|
@@ -545,8 +545,8 @@ export type ResponseBodyLLM = {
|
|
|
545
545
|
created?: string | undefined;
|
|
546
546
|
updated?: string | undefined;
|
|
547
547
|
guardrailConfig?:
|
|
548
|
-
| CreateEvalGuardrailConfigEvalsResponseBoolean
|
|
549
548
|
| CreateEvalGuardrailConfigEvalsResponseNumber
|
|
549
|
+
| CreateEvalGuardrailConfigEvalsResponseBoolean
|
|
550
550
|
| undefined;
|
|
551
551
|
type: ResponseBodyType;
|
|
552
552
|
prompt: string;
|
|
@@ -558,10 +558,10 @@ export type ResponseBodyLLM = {
|
|
|
558
558
|
* Successfully created an evaluator
|
|
559
559
|
*/
|
|
560
560
|
export type CreateEvalResponseBody =
|
|
561
|
-
|
|
|
562
|
-
| ResponseBodyPython
|
|
561
|
+
| ResponseBodyHTTP
|
|
563
562
|
| ResponseBodyLLM
|
|
564
|
-
|
|
|
563
|
+
| ResponseBodyJSON
|
|
564
|
+
| ResponseBodyPython;
|
|
565
565
|
|
|
566
566
|
/** @internal */
|
|
567
567
|
export const CreateEvalGuardrailConfigEvalsRequestRequestBody42Type$inboundSchema:
|
|
@@ -776,14 +776,14 @@ export const CreateEvalRequestBodyEvalsGuardrailConfig$inboundSchema: z.ZodType<
|
|
|
776
776
|
z.ZodTypeDef,
|
|
777
777
|
unknown
|
|
778
778
|
> = z.union([
|
|
779
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
780
779
|
z.lazy(() => CreateEvalGuardrailConfigEvalsNumber$inboundSchema),
|
|
780
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
781
781
|
]);
|
|
782
782
|
|
|
783
783
|
/** @internal */
|
|
784
784
|
export type CreateEvalRequestBodyEvalsGuardrailConfig$Outbound =
|
|
785
|
-
|
|
|
786
|
-
|
|
|
785
|
+
| CreateEvalGuardrailConfigEvalsNumber$Outbound
|
|
786
|
+
| CreateEvalGuardrailConfigEvalsBoolean$Outbound;
|
|
787
787
|
|
|
788
788
|
/** @internal */
|
|
789
789
|
export const CreateEvalRequestBodyEvalsGuardrailConfig$outboundSchema:
|
|
@@ -792,8 +792,8 @@ export const CreateEvalRequestBodyEvalsGuardrailConfig$outboundSchema:
|
|
|
792
792
|
z.ZodTypeDef,
|
|
793
793
|
CreateEvalRequestBodyEvalsGuardrailConfig
|
|
794
794
|
> = z.union([
|
|
795
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$outboundSchema),
|
|
796
795
|
z.lazy(() => CreateEvalGuardrailConfigEvalsNumber$outboundSchema),
|
|
796
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$outboundSchema),
|
|
797
797
|
]);
|
|
798
798
|
|
|
799
799
|
/**
|
|
@@ -866,8 +866,8 @@ export namespace CreateEvalRequestBodyEvalsRequestType$ {
|
|
|
866
866
|
export const Python$inboundSchema: z.ZodType<Python, z.ZodTypeDef, unknown> = z
|
|
867
867
|
.object({
|
|
868
868
|
guardrail_config: z.union([
|
|
869
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
870
869
|
z.lazy(() => CreateEvalGuardrailConfigEvalsNumber$inboundSchema),
|
|
870
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
871
871
|
]).optional(),
|
|
872
872
|
code: z.string(),
|
|
873
873
|
type: CreateEvalRequestBodyEvalsRequestType$inboundSchema,
|
|
@@ -883,8 +883,8 @@ export const Python$inboundSchema: z.ZodType<Python, z.ZodTypeDef, unknown> = z
|
|
|
883
883
|
/** @internal */
|
|
884
884
|
export type Python$Outbound = {
|
|
885
885
|
guardrail_config?:
|
|
886
|
-
| CreateEvalGuardrailConfigEvalsBoolean$Outbound
|
|
887
886
|
| CreateEvalGuardrailConfigEvalsNumber$Outbound
|
|
887
|
+
| CreateEvalGuardrailConfigEvalsBoolean$Outbound
|
|
888
888
|
| undefined;
|
|
889
889
|
code: string;
|
|
890
890
|
type: string;
|
|
@@ -900,8 +900,8 @@ export const Python$outboundSchema: z.ZodType<
|
|
|
900
900
|
Python
|
|
901
901
|
> = z.object({
|
|
902
902
|
guardrailConfig: z.union([
|
|
903
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$outboundSchema),
|
|
904
903
|
z.lazy(() => CreateEvalGuardrailConfigEvalsNumber$outboundSchema),
|
|
904
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsBoolean$outboundSchema),
|
|
905
905
|
]).optional(),
|
|
906
906
|
code: z.string(),
|
|
907
907
|
type: CreateEvalRequestBodyEvalsRequestType$outboundSchema,
|
|
@@ -1144,14 +1144,14 @@ export const CreateEvalRequestBodyGuardrailConfig$inboundSchema: z.ZodType<
|
|
|
1144
1144
|
z.ZodTypeDef,
|
|
1145
1145
|
unknown
|
|
1146
1146
|
> = z.union([
|
|
1147
|
-
z.lazy(() => CreateEvalGuardrailConfigBoolean$inboundSchema),
|
|
1148
1147
|
z.lazy(() => CreateEvalGuardrailConfigNumber$inboundSchema),
|
|
1148
|
+
z.lazy(() => CreateEvalGuardrailConfigBoolean$inboundSchema),
|
|
1149
1149
|
]);
|
|
1150
1150
|
|
|
1151
1151
|
/** @internal */
|
|
1152
1152
|
export type CreateEvalRequestBodyGuardrailConfig$Outbound =
|
|
1153
|
-
|
|
|
1154
|
-
|
|
|
1153
|
+
| CreateEvalGuardrailConfigNumber$Outbound
|
|
1154
|
+
| CreateEvalGuardrailConfigBoolean$Outbound;
|
|
1155
1155
|
|
|
1156
1156
|
/** @internal */
|
|
1157
1157
|
export const CreateEvalRequestBodyGuardrailConfig$outboundSchema: z.ZodType<
|
|
@@ -1159,8 +1159,8 @@ export const CreateEvalRequestBodyGuardrailConfig$outboundSchema: z.ZodType<
|
|
|
1159
1159
|
z.ZodTypeDef,
|
|
1160
1160
|
CreateEvalRequestBodyGuardrailConfig
|
|
1161
1161
|
> = z.union([
|
|
1162
|
-
z.lazy(() => CreateEvalGuardrailConfigBoolean$outboundSchema),
|
|
1163
1162
|
z.lazy(() => CreateEvalGuardrailConfigNumber$outboundSchema),
|
|
1163
|
+
z.lazy(() => CreateEvalGuardrailConfigBoolean$outboundSchema),
|
|
1164
1164
|
]);
|
|
1165
1165
|
|
|
1166
1166
|
/**
|
|
@@ -1243,8 +1243,8 @@ export namespace Method$ {
|
|
|
1243
1243
|
export const Http$inboundSchema: z.ZodType<Http, z.ZodTypeDef, unknown> = z
|
|
1244
1244
|
.object({
|
|
1245
1245
|
guardrail_config: z.union([
|
|
1246
|
-
z.lazy(() => CreateEvalGuardrailConfigBoolean$inboundSchema),
|
|
1247
1246
|
z.lazy(() => CreateEvalGuardrailConfigNumber$inboundSchema),
|
|
1247
|
+
z.lazy(() => CreateEvalGuardrailConfigBoolean$inboundSchema),
|
|
1248
1248
|
]).optional(),
|
|
1249
1249
|
type: CreateEvalRequestBodyEvalsType$inboundSchema,
|
|
1250
1250
|
url: z.string(),
|
|
@@ -1263,8 +1263,8 @@ export const Http$inboundSchema: z.ZodType<Http, z.ZodTypeDef, unknown> = z
|
|
|
1263
1263
|
/** @internal */
|
|
1264
1264
|
export type Http$Outbound = {
|
|
1265
1265
|
guardrail_config?:
|
|
1266
|
-
| CreateEvalGuardrailConfigBoolean$Outbound
|
|
1267
1266
|
| CreateEvalGuardrailConfigNumber$Outbound
|
|
1267
|
+
| CreateEvalGuardrailConfigBoolean$Outbound
|
|
1268
1268
|
| undefined;
|
|
1269
1269
|
type: string;
|
|
1270
1270
|
url: string;
|
|
@@ -1280,8 +1280,8 @@ export type Http$Outbound = {
|
|
|
1280
1280
|
export const Http$outboundSchema: z.ZodType<Http$Outbound, z.ZodTypeDef, Http> =
|
|
1281
1281
|
z.object({
|
|
1282
1282
|
guardrailConfig: z.union([
|
|
1283
|
-
z.lazy(() => CreateEvalGuardrailConfigBoolean$outboundSchema),
|
|
1284
1283
|
z.lazy(() => CreateEvalGuardrailConfigNumber$outboundSchema),
|
|
1284
|
+
z.lazy(() => CreateEvalGuardrailConfigBoolean$outboundSchema),
|
|
1285
1285
|
]).optional(),
|
|
1286
1286
|
type: CreateEvalRequestBodyEvalsType$outboundSchema,
|
|
1287
1287
|
url: z.string(),
|
|
@@ -1519,14 +1519,14 @@ export const RequestBodyGuardrailConfig$inboundSchema: z.ZodType<
|
|
|
1519
1519
|
z.ZodTypeDef,
|
|
1520
1520
|
unknown
|
|
1521
1521
|
> = z.union([
|
|
1522
|
-
z.lazy(() => GuardrailConfigBoolean$inboundSchema),
|
|
1523
1522
|
z.lazy(() => GuardrailConfigNumber$inboundSchema),
|
|
1523
|
+
z.lazy(() => GuardrailConfigBoolean$inboundSchema),
|
|
1524
1524
|
]);
|
|
1525
1525
|
|
|
1526
1526
|
/** @internal */
|
|
1527
1527
|
export type RequestBodyGuardrailConfig$Outbound =
|
|
1528
|
-
|
|
|
1529
|
-
|
|
|
1528
|
+
| GuardrailConfigNumber$Outbound
|
|
1529
|
+
| GuardrailConfigBoolean$Outbound;
|
|
1530
1530
|
|
|
1531
1531
|
/** @internal */
|
|
1532
1532
|
export const RequestBodyGuardrailConfig$outboundSchema: z.ZodType<
|
|
@@ -1534,8 +1534,8 @@ export const RequestBodyGuardrailConfig$outboundSchema: z.ZodType<
|
|
|
1534
1534
|
z.ZodTypeDef,
|
|
1535
1535
|
RequestBodyGuardrailConfig
|
|
1536
1536
|
> = z.union([
|
|
1537
|
-
z.lazy(() => GuardrailConfigBoolean$outboundSchema),
|
|
1538
1537
|
z.lazy(() => GuardrailConfigNumber$outboundSchema),
|
|
1538
|
+
z.lazy(() => GuardrailConfigBoolean$outboundSchema),
|
|
1539
1539
|
]);
|
|
1540
1540
|
|
|
1541
1541
|
/**
|
|
@@ -1594,8 +1594,8 @@ export namespace CreateEvalRequestBodyType$ {
|
|
|
1594
1594
|
export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
1595
1595
|
.object({
|
|
1596
1596
|
guardrail_config: z.union([
|
|
1597
|
-
z.lazy(() => GuardrailConfigBoolean$inboundSchema),
|
|
1598
1597
|
z.lazy(() => GuardrailConfigNumber$inboundSchema),
|
|
1598
|
+
z.lazy(() => GuardrailConfigBoolean$inboundSchema),
|
|
1599
1599
|
]).optional(),
|
|
1600
1600
|
type: CreateEvalRequestBodyType$inboundSchema,
|
|
1601
1601
|
schema: z.string(),
|
|
@@ -1611,8 +1611,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
1611
1611
|
/** @internal */
|
|
1612
1612
|
export type Json$Outbound = {
|
|
1613
1613
|
guardrail_config?:
|
|
1614
|
-
| GuardrailConfigBoolean$Outbound
|
|
1615
1614
|
| GuardrailConfigNumber$Outbound
|
|
1615
|
+
| GuardrailConfigBoolean$Outbound
|
|
1616
1616
|
| undefined;
|
|
1617
1617
|
type: string;
|
|
1618
1618
|
schema: string;
|
|
@@ -1625,8 +1625,8 @@ export type Json$Outbound = {
|
|
|
1625
1625
|
export const Json$outboundSchema: z.ZodType<Json$Outbound, z.ZodTypeDef, Json> =
|
|
1626
1626
|
z.object({
|
|
1627
1627
|
guardrailConfig: z.union([
|
|
1628
|
-
z.lazy(() => GuardrailConfigBoolean$outboundSchema),
|
|
1629
1628
|
z.lazy(() => GuardrailConfigNumber$outboundSchema),
|
|
1629
|
+
z.lazy(() => GuardrailConfigBoolean$outboundSchema),
|
|
1630
1630
|
]).optional(),
|
|
1631
1631
|
type: CreateEvalRequestBodyType$outboundSchema,
|
|
1632
1632
|
schema: z.string(),
|
|
@@ -1842,12 +1842,12 @@ export const GuardrailConfig$inboundSchema: z.ZodType<
|
|
|
1842
1842
|
z.ZodTypeDef,
|
|
1843
1843
|
unknown
|
|
1844
1844
|
> = z.union([
|
|
1845
|
-
z.lazy(() => Boolean$inboundSchema),
|
|
1846
1845
|
z.lazy(() => NumberT$inboundSchema),
|
|
1846
|
+
z.lazy(() => Boolean$inboundSchema),
|
|
1847
1847
|
]);
|
|
1848
1848
|
|
|
1849
1849
|
/** @internal */
|
|
1850
|
-
export type GuardrailConfig$Outbound =
|
|
1850
|
+
export type GuardrailConfig$Outbound = NumberT$Outbound | Boolean$Outbound;
|
|
1851
1851
|
|
|
1852
1852
|
/** @internal */
|
|
1853
1853
|
export const GuardrailConfig$outboundSchema: z.ZodType<
|
|
@@ -1855,8 +1855,8 @@ export const GuardrailConfig$outboundSchema: z.ZodType<
|
|
|
1855
1855
|
z.ZodTypeDef,
|
|
1856
1856
|
GuardrailConfig
|
|
1857
1857
|
> = z.union([
|
|
1858
|
-
z.lazy(() => Boolean$outboundSchema),
|
|
1859
1858
|
z.lazy(() => NumberT$outboundSchema),
|
|
1859
|
+
z.lazy(() => Boolean$outboundSchema),
|
|
1860
1860
|
]);
|
|
1861
1861
|
|
|
1862
1862
|
/**
|
|
@@ -1913,8 +1913,8 @@ export namespace RequestBodyType$ {
|
|
|
1913
1913
|
export const Llm$inboundSchema: z.ZodType<Llm, z.ZodTypeDef, unknown> = z
|
|
1914
1914
|
.object({
|
|
1915
1915
|
guardrail_config: z.union([
|
|
1916
|
-
z.lazy(() => Boolean$inboundSchema),
|
|
1917
1916
|
z.lazy(() => NumberT$inboundSchema),
|
|
1917
|
+
z.lazy(() => Boolean$inboundSchema),
|
|
1918
1918
|
]).optional(),
|
|
1919
1919
|
type: RequestBodyType$inboundSchema,
|
|
1920
1920
|
prompt: z.string(),
|
|
@@ -1930,7 +1930,7 @@ export const Llm$inboundSchema: z.ZodType<Llm, z.ZodTypeDef, unknown> = z
|
|
|
1930
1930
|
|
|
1931
1931
|
/** @internal */
|
|
1932
1932
|
export type Llm$Outbound = {
|
|
1933
|
-
guardrail_config?:
|
|
1933
|
+
guardrail_config?: NumberT$Outbound | Boolean$Outbound | undefined;
|
|
1934
1934
|
type: string;
|
|
1935
1935
|
prompt: string;
|
|
1936
1936
|
path: string;
|
|
@@ -1943,8 +1943,8 @@ export type Llm$Outbound = {
|
|
|
1943
1943
|
export const Llm$outboundSchema: z.ZodType<Llm$Outbound, z.ZodTypeDef, Llm> = z
|
|
1944
1944
|
.object({
|
|
1945
1945
|
guardrailConfig: z.union([
|
|
1946
|
-
z.lazy(() => Boolean$outboundSchema),
|
|
1947
1946
|
z.lazy(() => NumberT$outboundSchema),
|
|
1947
|
+
z.lazy(() => Boolean$outboundSchema),
|
|
1948
1948
|
]).optional(),
|
|
1949
1949
|
type: RequestBodyType$outboundSchema,
|
|
1950
1950
|
prompt: z.string(),
|
|
@@ -1991,18 +1991,18 @@ export const CreateEvalRequestBody$inboundSchema: z.ZodType<
|
|
|
1991
1991
|
z.ZodTypeDef,
|
|
1992
1992
|
unknown
|
|
1993
1993
|
> = z.union([
|
|
1994
|
+
z.lazy(() => Http$inboundSchema),
|
|
1995
|
+
z.lazy(() => Llm$inboundSchema),
|
|
1994
1996
|
z.lazy(() => Json$inboundSchema),
|
|
1995
1997
|
z.lazy(() => Python$inboundSchema),
|
|
1996
|
-
z.lazy(() => Llm$inboundSchema),
|
|
1997
|
-
z.lazy(() => Http$inboundSchema),
|
|
1998
1998
|
]);
|
|
1999
1999
|
|
|
2000
2000
|
/** @internal */
|
|
2001
2001
|
export type CreateEvalRequestBody$Outbound =
|
|
2002
|
-
|
|
|
2003
|
-
| Python$Outbound
|
|
2002
|
+
| Http$Outbound
|
|
2004
2003
|
| Llm$Outbound
|
|
2005
|
-
|
|
|
2004
|
+
| Json$Outbound
|
|
2005
|
+
| Python$Outbound;
|
|
2006
2006
|
|
|
2007
2007
|
/** @internal */
|
|
2008
2008
|
export const CreateEvalRequestBody$outboundSchema: z.ZodType<
|
|
@@ -2010,10 +2010,10 @@ export const CreateEvalRequestBody$outboundSchema: z.ZodType<
|
|
|
2010
2010
|
z.ZodTypeDef,
|
|
2011
2011
|
CreateEvalRequestBody
|
|
2012
2012
|
> = z.union([
|
|
2013
|
+
z.lazy(() => Http$outboundSchema),
|
|
2014
|
+
z.lazy(() => Llm$outboundSchema),
|
|
2013
2015
|
z.lazy(() => Json$outboundSchema),
|
|
2014
2016
|
z.lazy(() => Python$outboundSchema),
|
|
2015
|
-
z.lazy(() => Llm$outboundSchema),
|
|
2016
|
-
z.lazy(() => Http$outboundSchema),
|
|
2017
2017
|
]);
|
|
2018
2018
|
|
|
2019
2019
|
/**
|
|
@@ -2298,17 +2298,17 @@ export const CreateEvalResponseBodyEvalsResponseGuardrailConfig$inboundSchema:
|
|
|
2298
2298
|
unknown
|
|
2299
2299
|
> = z.union([
|
|
2300
2300
|
z.lazy(() =>
|
|
2301
|
-
|
|
2301
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
2302
2302
|
),
|
|
2303
2303
|
z.lazy(() =>
|
|
2304
|
-
|
|
2304
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
2305
2305
|
),
|
|
2306
2306
|
]);
|
|
2307
2307
|
|
|
2308
2308
|
/** @internal */
|
|
2309
2309
|
export type CreateEvalResponseBodyEvalsResponseGuardrailConfig$Outbound =
|
|
2310
|
-
|
|
|
2311
|
-
|
|
|
2310
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$Outbound
|
|
2311
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$Outbound;
|
|
2312
2312
|
|
|
2313
2313
|
/** @internal */
|
|
2314
2314
|
export const CreateEvalResponseBodyEvalsResponseGuardrailConfig$outboundSchema:
|
|
@@ -2318,10 +2318,10 @@ export const CreateEvalResponseBodyEvalsResponseGuardrailConfig$outboundSchema:
|
|
|
2318
2318
|
CreateEvalResponseBodyEvalsResponseGuardrailConfig
|
|
2319
2319
|
> = z.union([
|
|
2320
2320
|
z.lazy(() =>
|
|
2321
|
-
|
|
2321
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
2322
2322
|
),
|
|
2323
2323
|
z.lazy(() =>
|
|
2324
|
-
|
|
2324
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
2325
2325
|
),
|
|
2326
2326
|
]);
|
|
2327
2327
|
|
|
@@ -2399,14 +2399,14 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2399
2399
|
> = z.object({
|
|
2400
2400
|
_id: z.string(),
|
|
2401
2401
|
description: z.string(),
|
|
2402
|
-
created: z.string().default("2025-06-
|
|
2403
|
-
updated: z.string().default("2025-06-
|
|
2402
|
+
created: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
2403
|
+
updated: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
2404
2404
|
guardrail_config: z.union([
|
|
2405
2405
|
z.lazy(() =>
|
|
2406
|
-
|
|
2406
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
2407
2407
|
),
|
|
2408
2408
|
z.lazy(() =>
|
|
2409
|
-
|
|
2409
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
2410
2410
|
),
|
|
2411
2411
|
]).optional(),
|
|
2412
2412
|
code: z.string(),
|
|
@@ -2426,8 +2426,8 @@ export type ResponseBodyPython$Outbound = {
|
|
|
2426
2426
|
created: string;
|
|
2427
2427
|
updated: string;
|
|
2428
2428
|
guardrail_config?:
|
|
2429
|
-
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$Outbound
|
|
2430
2429
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$Outbound
|
|
2430
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$Outbound
|
|
2431
2431
|
| undefined;
|
|
2432
2432
|
code: string;
|
|
2433
2433
|
type: string;
|
|
@@ -2442,14 +2442,14 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2442
2442
|
> = z.object({
|
|
2443
2443
|
id: z.string(),
|
|
2444
2444
|
description: z.string(),
|
|
2445
|
-
created: z.string().default("2025-06-
|
|
2446
|
-
updated: z.string().default("2025-06-
|
|
2445
|
+
created: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
2446
|
+
updated: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
2447
2447
|
guardrailConfig: z.union([
|
|
2448
2448
|
z.lazy(() =>
|
|
2449
|
-
|
|
2449
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
2450
2450
|
),
|
|
2451
2451
|
z.lazy(() =>
|
|
2452
|
-
|
|
2452
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
2453
2453
|
),
|
|
2454
2454
|
]).optional(),
|
|
2455
2455
|
code: z.string(),
|
|
@@ -2737,17 +2737,17 @@ export const CreateEvalResponseBodyEvalsGuardrailConfig$inboundSchema:
|
|
|
2737
2737
|
z.ZodType<CreateEvalResponseBodyEvalsGuardrailConfig, z.ZodTypeDef, unknown> =
|
|
2738
2738
|
z.union([
|
|
2739
2739
|
z.lazy(() =>
|
|
2740
|
-
|
|
2740
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
2741
2741
|
),
|
|
2742
2742
|
z.lazy(() =>
|
|
2743
|
-
|
|
2743
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
2744
2744
|
),
|
|
2745
2745
|
]);
|
|
2746
2746
|
|
|
2747
2747
|
/** @internal */
|
|
2748
2748
|
export type CreateEvalResponseBodyEvalsGuardrailConfig$Outbound =
|
|
2749
|
-
|
|
|
2750
|
-
|
|
|
2749
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$Outbound
|
|
2750
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$Outbound;
|
|
2751
2751
|
|
|
2752
2752
|
/** @internal */
|
|
2753
2753
|
export const CreateEvalResponseBodyEvalsGuardrailConfig$outboundSchema:
|
|
@@ -2757,10 +2757,10 @@ export const CreateEvalResponseBodyEvalsGuardrailConfig$outboundSchema:
|
|
|
2757
2757
|
CreateEvalResponseBodyEvalsGuardrailConfig
|
|
2758
2758
|
> = z.union([
|
|
2759
2759
|
z.lazy(() =>
|
|
2760
|
-
|
|
2760
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
2761
2761
|
),
|
|
2762
2762
|
z.lazy(() =>
|
|
2763
|
-
|
|
2763
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
2764
2764
|
),
|
|
2765
2765
|
]);
|
|
2766
2766
|
|
|
@@ -2856,14 +2856,14 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2856
2856
|
> = z.object({
|
|
2857
2857
|
_id: z.string(),
|
|
2858
2858
|
description: z.string(),
|
|
2859
|
-
created: z.string().default("2025-06-
|
|
2860
|
-
updated: z.string().default("2025-06-
|
|
2859
|
+
created: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
2860
|
+
updated: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
2861
2861
|
guardrail_config: z.union([
|
|
2862
2862
|
z.lazy(() =>
|
|
2863
|
-
|
|
2863
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
2864
2864
|
),
|
|
2865
2865
|
z.lazy(() =>
|
|
2866
|
-
|
|
2866
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
2867
2867
|
),
|
|
2868
2868
|
]).optional(),
|
|
2869
2869
|
type: CreateEvalResponseBodyEvalsType$inboundSchema,
|
|
@@ -2886,8 +2886,8 @@ export type ResponseBodyHTTP$Outbound = {
|
|
|
2886
2886
|
created: string;
|
|
2887
2887
|
updated: string;
|
|
2888
2888
|
guardrail_config?:
|
|
2889
|
-
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$Outbound
|
|
2890
2889
|
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$Outbound
|
|
2890
|
+
| CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$Outbound
|
|
2891
2891
|
| undefined;
|
|
2892
2892
|
type: string;
|
|
2893
2893
|
url: string;
|
|
@@ -2905,14 +2905,14 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
2905
2905
|
> = z.object({
|
|
2906
2906
|
id: z.string(),
|
|
2907
2907
|
description: z.string(),
|
|
2908
|
-
created: z.string().default("2025-06-
|
|
2909
|
-
updated: z.string().default("2025-06-
|
|
2908
|
+
created: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
2909
|
+
updated: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
2910
2910
|
guardrailConfig: z.union([
|
|
2911
2911
|
z.lazy(() =>
|
|
2912
|
-
|
|
2912
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
2913
2913
|
),
|
|
2914
2914
|
z.lazy(() =>
|
|
2915
|
-
|
|
2915
|
+
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
2916
2916
|
),
|
|
2917
2917
|
]).optional(),
|
|
2918
2918
|
type: CreateEvalResponseBodyEvalsType$outboundSchema,
|
|
@@ -3199,14 +3199,14 @@ export const CreateEvalResponseBodyGuardrailConfig$inboundSchema: z.ZodType<
|
|
|
3199
3199
|
z.ZodTypeDef,
|
|
3200
3200
|
unknown
|
|
3201
3201
|
> = z.union([
|
|
3202
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
3203
3202
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3203
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
3204
3204
|
]);
|
|
3205
3205
|
|
|
3206
3206
|
/** @internal */
|
|
3207
3207
|
export type CreateEvalResponseBodyGuardrailConfig$Outbound =
|
|
3208
|
-
|
|
|
3209
|
-
|
|
|
3208
|
+
| CreateEvalGuardrailConfigEvalsResponse200Number$Outbound
|
|
3209
|
+
| CreateEvalGuardrailConfigEvalsResponse200Boolean$Outbound;
|
|
3210
3210
|
|
|
3211
3211
|
/** @internal */
|
|
3212
3212
|
export const CreateEvalResponseBodyGuardrailConfig$outboundSchema: z.ZodType<
|
|
@@ -3214,8 +3214,8 @@ export const CreateEvalResponseBodyGuardrailConfig$outboundSchema: z.ZodType<
|
|
|
3214
3214
|
z.ZodTypeDef,
|
|
3215
3215
|
CreateEvalResponseBodyGuardrailConfig
|
|
3216
3216
|
> = z.union([
|
|
3217
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
3218
3217
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
3218
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
3219
3219
|
]);
|
|
3220
3220
|
|
|
3221
3221
|
/**
|
|
@@ -3283,13 +3283,13 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3283
3283
|
> = z.object({
|
|
3284
3284
|
_id: z.string(),
|
|
3285
3285
|
description: z.string(),
|
|
3286
|
-
created: z.string().default("2025-06-
|
|
3287
|
-
updated: z.string().default("2025-06-
|
|
3286
|
+
created: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
3287
|
+
updated: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
3288
3288
|
guardrail_config: z.union([
|
|
3289
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3289
3290
|
z.lazy(() =>
|
|
3290
3291
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
3291
3292
|
),
|
|
3292
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3293
3293
|
]).optional(),
|
|
3294
3294
|
type: CreateEvalResponseBodyType$inboundSchema,
|
|
3295
3295
|
schema: z.string(),
|
|
@@ -3308,8 +3308,8 @@ export type ResponseBodyJSON$Outbound = {
|
|
|
3308
3308
|
created: string;
|
|
3309
3309
|
updated: string;
|
|
3310
3310
|
guardrail_config?:
|
|
3311
|
-
| CreateEvalGuardrailConfigEvalsResponse200Boolean$Outbound
|
|
3312
3311
|
| CreateEvalGuardrailConfigEvalsResponse200Number$Outbound
|
|
3312
|
+
| CreateEvalGuardrailConfigEvalsResponse200Boolean$Outbound
|
|
3313
3313
|
| undefined;
|
|
3314
3314
|
type: string;
|
|
3315
3315
|
schema: string;
|
|
@@ -3324,14 +3324,14 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3324
3324
|
> = z.object({
|
|
3325
3325
|
id: z.string(),
|
|
3326
3326
|
description: z.string(),
|
|
3327
|
-
created: z.string().default("2025-06-
|
|
3328
|
-
updated: z.string().default("2025-06-
|
|
3327
|
+
created: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
3328
|
+
updated: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
3329
3329
|
guardrailConfig: z.union([
|
|
3330
3330
|
z.lazy(() =>
|
|
3331
|
-
|
|
3331
|
+
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
3332
3332
|
),
|
|
3333
3333
|
z.lazy(() =>
|
|
3334
|
-
|
|
3334
|
+
CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema
|
|
3335
3335
|
),
|
|
3336
3336
|
]).optional(),
|
|
3337
3337
|
type: CreateEvalResponseBodyType$outboundSchema,
|
|
@@ -3599,14 +3599,14 @@ export const ResponseBodyGuardrailConfig$inboundSchema: z.ZodType<
|
|
|
3599
3599
|
z.ZodTypeDef,
|
|
3600
3600
|
unknown
|
|
3601
3601
|
> = z.union([
|
|
3602
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3603
3602
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3603
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3604
3604
|
]);
|
|
3605
3605
|
|
|
3606
3606
|
/** @internal */
|
|
3607
3607
|
export type ResponseBodyGuardrailConfig$Outbound =
|
|
3608
|
-
|
|
|
3609
|
-
|
|
|
3608
|
+
| CreateEvalGuardrailConfigEvalsResponseNumber$Outbound
|
|
3609
|
+
| CreateEvalGuardrailConfigEvalsResponseBoolean$Outbound;
|
|
3610
3610
|
|
|
3611
3611
|
/** @internal */
|
|
3612
3612
|
export const ResponseBodyGuardrailConfig$outboundSchema: z.ZodType<
|
|
@@ -3614,8 +3614,8 @@ export const ResponseBodyGuardrailConfig$outboundSchema: z.ZodType<
|
|
|
3614
3614
|
z.ZodTypeDef,
|
|
3615
3615
|
ResponseBodyGuardrailConfig
|
|
3616
3616
|
> = z.union([
|
|
3617
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
3618
3617
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
3618
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
3619
3619
|
]);
|
|
3620
3620
|
|
|
3621
3621
|
/**
|
|
@@ -3680,11 +3680,11 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3680
3680
|
> = z.object({
|
|
3681
3681
|
_id: z.string(),
|
|
3682
3682
|
description: z.string(),
|
|
3683
|
-
created: z.string().default("2025-06-
|
|
3684
|
-
updated: z.string().default("2025-06-
|
|
3683
|
+
created: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
3684
|
+
updated: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
3685
3685
|
guardrail_config: z.union([
|
|
3686
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3687
3686
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3687
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3688
3688
|
]).optional(),
|
|
3689
3689
|
type: ResponseBodyType$inboundSchema,
|
|
3690
3690
|
prompt: z.string(),
|
|
@@ -3704,8 +3704,8 @@ export type ResponseBodyLLM$Outbound = {
|
|
|
3704
3704
|
created: string;
|
|
3705
3705
|
updated: string;
|
|
3706
3706
|
guardrail_config?:
|
|
3707
|
-
| CreateEvalGuardrailConfigEvalsResponseBoolean$Outbound
|
|
3708
3707
|
| CreateEvalGuardrailConfigEvalsResponseNumber$Outbound
|
|
3708
|
+
| CreateEvalGuardrailConfigEvalsResponseBoolean$Outbound
|
|
3709
3709
|
| undefined;
|
|
3710
3710
|
type: string;
|
|
3711
3711
|
prompt: string;
|
|
@@ -3721,11 +3721,11 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
3721
3721
|
> = z.object({
|
|
3722
3722
|
id: z.string(),
|
|
3723
3723
|
description: z.string(),
|
|
3724
|
-
created: z.string().default("2025-06-
|
|
3725
|
-
updated: z.string().default("2025-06-
|
|
3724
|
+
created: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
3725
|
+
updated: z.string().default("2025-06-17T09:09:48.835Z"),
|
|
3726
3726
|
guardrailConfig: z.union([
|
|
3727
|
-
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
3728
3727
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
3728
|
+
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
3729
3729
|
]).optional(),
|
|
3730
3730
|
type: ResponseBodyType$outboundSchema,
|
|
3731
3731
|
prompt: z.string(),
|
|
@@ -3773,18 +3773,18 @@ export const CreateEvalResponseBody$inboundSchema: z.ZodType<
|
|
|
3773
3773
|
z.ZodTypeDef,
|
|
3774
3774
|
unknown
|
|
3775
3775
|
> = z.union([
|
|
3776
|
+
z.lazy(() => ResponseBodyHTTP$inboundSchema),
|
|
3777
|
+
z.lazy(() => ResponseBodyLLM$inboundSchema),
|
|
3776
3778
|
z.lazy(() => ResponseBodyJSON$inboundSchema),
|
|
3777
3779
|
z.lazy(() => ResponseBodyPython$inboundSchema),
|
|
3778
|
-
z.lazy(() => ResponseBodyLLM$inboundSchema),
|
|
3779
|
-
z.lazy(() => ResponseBodyHTTP$inboundSchema),
|
|
3780
3780
|
]);
|
|
3781
3781
|
|
|
3782
3782
|
/** @internal */
|
|
3783
3783
|
export type CreateEvalResponseBody$Outbound =
|
|
3784
|
-
|
|
|
3785
|
-
| ResponseBodyPython$Outbound
|
|
3784
|
+
| ResponseBodyHTTP$Outbound
|
|
3786
3785
|
| ResponseBodyLLM$Outbound
|
|
3787
|
-
|
|
|
3786
|
+
| ResponseBodyJSON$Outbound
|
|
3787
|
+
| ResponseBodyPython$Outbound;
|
|
3788
3788
|
|
|
3789
3789
|
/** @internal */
|
|
3790
3790
|
export const CreateEvalResponseBody$outboundSchema: z.ZodType<
|
|
@@ -3792,10 +3792,10 @@ export const CreateEvalResponseBody$outboundSchema: z.ZodType<
|
|
|
3792
3792
|
z.ZodTypeDef,
|
|
3793
3793
|
CreateEvalResponseBody
|
|
3794
3794
|
> = z.union([
|
|
3795
|
+
z.lazy(() => ResponseBodyHTTP$outboundSchema),
|
|
3796
|
+
z.lazy(() => ResponseBodyLLM$outboundSchema),
|
|
3795
3797
|
z.lazy(() => ResponseBodyJSON$outboundSchema),
|
|
3796
3798
|
z.lazy(() => ResponseBodyPython$outboundSchema),
|
|
3797
|
-
z.lazy(() => ResponseBodyLLM$outboundSchema),
|
|
3798
|
-
z.lazy(() => ResponseBodyHTTP$outboundSchema),
|
|
3799
3799
|
]);
|
|
3800
3800
|
|
|
3801
3801
|
/**
|