@orq-ai/node 3.12.11 → 3.12.13
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 +259 -250
- package/bin/mcp-server.js.map +32 -32
- package/docs/sdks/evals/README.md +2 -0
- package/docs/sdks/knowledge/README.md +12 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.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/createeval.d.ts +114 -0
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +117 -21
- package/models/operations/createeval.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/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/searchknowledge.d.ts +17 -246
- package/models/operations/searchknowledge.d.ts.map +1 -1
- package/models/operations/searchknowledge.js +16 -167
- package/models/operations/searchknowledge.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.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/updateeval.d.ts +114 -0
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +122 -21
- package/models/operations/updateeval.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.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/createeval.ts +155 -16
- 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/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- 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/retrievecontact.ts +2 -2
- 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/searchknowledge.ts +29 -259
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.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/updateeval.ts +169 -16
|
@@ -51,6 +51,15 @@ export type UpdateEvalRequestBodyEvalsRequest4GuardrailConfig =
|
|
|
51
51
|
| UpdateEvalGuardrailConfigEvalsRequestRequestBodyNumber
|
|
52
52
|
| UpdateEvalGuardrailConfigEvalsRequestRequestBodyBoolean;
|
|
53
53
|
|
|
54
|
+
export const UpdateEvalRequestBodyEvalsRequest4OutputType = {
|
|
55
|
+
Boolean: "boolean",
|
|
56
|
+
Number: "number",
|
|
57
|
+
String: "string",
|
|
58
|
+
} as const;
|
|
59
|
+
export type UpdateEvalRequestBodyEvalsRequest4OutputType = ClosedEnum<
|
|
60
|
+
typeof UpdateEvalRequestBodyEvalsRequest4OutputType
|
|
61
|
+
>;
|
|
62
|
+
|
|
54
63
|
export const UpdateEvalRequestBodyEvalsRequest4Type = {
|
|
55
64
|
PythonEval: "python_eval",
|
|
56
65
|
} as const;
|
|
@@ -63,6 +72,7 @@ export type RequestBodyPython = {
|
|
|
63
72
|
| UpdateEvalGuardrailConfigEvalsRequestRequestBodyNumber
|
|
64
73
|
| UpdateEvalGuardrailConfigEvalsRequestRequestBodyBoolean
|
|
65
74
|
| undefined;
|
|
75
|
+
outputType?: UpdateEvalRequestBodyEvalsRequest4OutputType | undefined;
|
|
66
76
|
code?: string | undefined;
|
|
67
77
|
type: UpdateEvalRequestBodyEvalsRequest4Type;
|
|
68
78
|
/**
|
|
@@ -116,6 +126,15 @@ export type UpdateEvalRequestBodyEvalsRequestGuardrailConfig =
|
|
|
116
126
|
| UpdateEvalGuardrailConfigEvalsRequestNumber
|
|
117
127
|
| UpdateEvalGuardrailConfigEvalsRequestBoolean;
|
|
118
128
|
|
|
129
|
+
export const UpdateEvalRequestBodyEvalsRequestOutputType = {
|
|
130
|
+
Boolean: "boolean",
|
|
131
|
+
Number: "number",
|
|
132
|
+
String: "string",
|
|
133
|
+
} as const;
|
|
134
|
+
export type UpdateEvalRequestBodyEvalsRequestOutputType = ClosedEnum<
|
|
135
|
+
typeof UpdateEvalRequestBodyEvalsRequestOutputType
|
|
136
|
+
>;
|
|
137
|
+
|
|
119
138
|
export const UpdateEvalRequestBodyEvalsRequestType = {
|
|
120
139
|
HttpEval: "http_eval",
|
|
121
140
|
} as const;
|
|
@@ -134,6 +153,7 @@ export type RequestBodyHTTP = {
|
|
|
134
153
|
| UpdateEvalGuardrailConfigEvalsRequestNumber
|
|
135
154
|
| UpdateEvalGuardrailConfigEvalsRequestBoolean
|
|
136
155
|
| undefined;
|
|
156
|
+
outputType?: UpdateEvalRequestBodyEvalsRequestOutputType | undefined;
|
|
137
157
|
type: UpdateEvalRequestBodyEvalsRequestType;
|
|
138
158
|
url?: string | undefined;
|
|
139
159
|
method?: RequestBodyMethod | undefined;
|
|
@@ -190,6 +210,13 @@ export type UpdateEvalRequestBodyEvalsGuardrailConfig =
|
|
|
190
210
|
| UpdateEvalGuardrailConfigEvalsNumber
|
|
191
211
|
| UpdateEvalGuardrailConfigEvalsBoolean;
|
|
192
212
|
|
|
213
|
+
export const UpdateEvalRequestBodyEvalsOutputType = {
|
|
214
|
+
Boolean: "boolean",
|
|
215
|
+
} as const;
|
|
216
|
+
export type UpdateEvalRequestBodyEvalsOutputType = ClosedEnum<
|
|
217
|
+
typeof UpdateEvalRequestBodyEvalsOutputType
|
|
218
|
+
>;
|
|
219
|
+
|
|
193
220
|
export const UpdateEvalRequestBodyEvalsType = {
|
|
194
221
|
JsonSchema: "json_schema",
|
|
195
222
|
} as const;
|
|
@@ -202,6 +229,7 @@ export type RequestBodyJSON = {
|
|
|
202
229
|
| UpdateEvalGuardrailConfigEvalsNumber
|
|
203
230
|
| UpdateEvalGuardrailConfigEvalsBoolean
|
|
204
231
|
| undefined;
|
|
232
|
+
outputType?: UpdateEvalRequestBodyEvalsOutputType | undefined;
|
|
205
233
|
type: UpdateEvalRequestBodyEvalsType;
|
|
206
234
|
schema?: string | undefined;
|
|
207
235
|
/**
|
|
@@ -255,6 +283,15 @@ export type UpdateEvalRequestBodyGuardrailConfig =
|
|
|
255
283
|
| UpdateEvalGuardrailConfigNumber
|
|
256
284
|
| UpdateEvalGuardrailConfigBoolean;
|
|
257
285
|
|
|
286
|
+
export const UpdateEvalRequestBodyOutputType = {
|
|
287
|
+
Boolean: "boolean",
|
|
288
|
+
Number: "number",
|
|
289
|
+
String: "string",
|
|
290
|
+
} as const;
|
|
291
|
+
export type UpdateEvalRequestBodyOutputType = ClosedEnum<
|
|
292
|
+
typeof UpdateEvalRequestBodyOutputType
|
|
293
|
+
>;
|
|
294
|
+
|
|
258
295
|
export const UpdateEvalRequestBodyType = {
|
|
259
296
|
LlmEval: "llm_eval",
|
|
260
297
|
} as const;
|
|
@@ -267,6 +304,7 @@ export type RequestBodyLLM = {
|
|
|
267
304
|
| UpdateEvalGuardrailConfigNumber
|
|
268
305
|
| UpdateEvalGuardrailConfigBoolean
|
|
269
306
|
| undefined;
|
|
307
|
+
outputType?: UpdateEvalRequestBodyOutputType | undefined;
|
|
270
308
|
type: UpdateEvalRequestBodyType;
|
|
271
309
|
prompt?: string | undefined;
|
|
272
310
|
/**
|
|
@@ -897,6 +935,29 @@ export function updateEvalRequestBodyEvalsRequest4GuardrailConfigFromJSON(
|
|
|
897
935
|
);
|
|
898
936
|
}
|
|
899
937
|
|
|
938
|
+
/** @internal */
|
|
939
|
+
export const UpdateEvalRequestBodyEvalsRequest4OutputType$inboundSchema:
|
|
940
|
+
z.ZodNativeEnum<typeof UpdateEvalRequestBodyEvalsRequest4OutputType> = z
|
|
941
|
+
.nativeEnum(UpdateEvalRequestBodyEvalsRequest4OutputType);
|
|
942
|
+
|
|
943
|
+
/** @internal */
|
|
944
|
+
export const UpdateEvalRequestBodyEvalsRequest4OutputType$outboundSchema:
|
|
945
|
+
z.ZodNativeEnum<typeof UpdateEvalRequestBodyEvalsRequest4OutputType> =
|
|
946
|
+
UpdateEvalRequestBodyEvalsRequest4OutputType$inboundSchema;
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* @internal
|
|
950
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
951
|
+
*/
|
|
952
|
+
export namespace UpdateEvalRequestBodyEvalsRequest4OutputType$ {
|
|
953
|
+
/** @deprecated use `UpdateEvalRequestBodyEvalsRequest4OutputType$inboundSchema` instead. */
|
|
954
|
+
export const inboundSchema =
|
|
955
|
+
UpdateEvalRequestBodyEvalsRequest4OutputType$inboundSchema;
|
|
956
|
+
/** @deprecated use `UpdateEvalRequestBodyEvalsRequest4OutputType$outboundSchema` instead. */
|
|
957
|
+
export const outboundSchema =
|
|
958
|
+
UpdateEvalRequestBodyEvalsRequest4OutputType$outboundSchema;
|
|
959
|
+
}
|
|
960
|
+
|
|
900
961
|
/** @internal */
|
|
901
962
|
export const UpdateEvalRequestBodyEvalsRequest4Type$inboundSchema:
|
|
902
963
|
z.ZodNativeEnum<typeof UpdateEvalRequestBodyEvalsRequest4Type> = z.nativeEnum(
|
|
@@ -935,6 +996,8 @@ export const RequestBodyPython$inboundSchema: z.ZodType<
|
|
|
935
996
|
UpdateEvalGuardrailConfigEvalsRequestRequestBodyBoolean$inboundSchema
|
|
936
997
|
),
|
|
937
998
|
]).optional(),
|
|
999
|
+
output_type: UpdateEvalRequestBodyEvalsRequest4OutputType$inboundSchema
|
|
1000
|
+
.optional(),
|
|
938
1001
|
code: z.string().optional(),
|
|
939
1002
|
type: UpdateEvalRequestBodyEvalsRequest4Type$inboundSchema,
|
|
940
1003
|
path: z.string(),
|
|
@@ -943,6 +1006,7 @@ export const RequestBodyPython$inboundSchema: z.ZodType<
|
|
|
943
1006
|
}).transform((v) => {
|
|
944
1007
|
return remap$(v, {
|
|
945
1008
|
"guardrail_config": "guardrailConfig",
|
|
1009
|
+
"output_type": "outputType",
|
|
946
1010
|
});
|
|
947
1011
|
});
|
|
948
1012
|
|
|
@@ -952,6 +1016,7 @@ export type RequestBodyPython$Outbound = {
|
|
|
952
1016
|
| UpdateEvalGuardrailConfigEvalsRequestRequestBodyNumber$Outbound
|
|
953
1017
|
| UpdateEvalGuardrailConfigEvalsRequestRequestBodyBoolean$Outbound
|
|
954
1018
|
| undefined;
|
|
1019
|
+
output_type?: string | undefined;
|
|
955
1020
|
code?: string | undefined;
|
|
956
1021
|
type: string;
|
|
957
1022
|
path: string;
|
|
@@ -973,6 +1038,8 @@ export const RequestBodyPython$outboundSchema: z.ZodType<
|
|
|
973
1038
|
UpdateEvalGuardrailConfigEvalsRequestRequestBodyBoolean$outboundSchema
|
|
974
1039
|
),
|
|
975
1040
|
]).optional(),
|
|
1041
|
+
outputType: UpdateEvalRequestBodyEvalsRequest4OutputType$outboundSchema
|
|
1042
|
+
.optional(),
|
|
976
1043
|
code: z.string().optional(),
|
|
977
1044
|
type: UpdateEvalRequestBodyEvalsRequest4Type$outboundSchema,
|
|
978
1045
|
path: z.string(),
|
|
@@ -981,6 +1048,7 @@ export const RequestBodyPython$outboundSchema: z.ZodType<
|
|
|
981
1048
|
}).transform((v) => {
|
|
982
1049
|
return remap$(v, {
|
|
983
1050
|
guardrailConfig: "guardrail_config",
|
|
1051
|
+
outputType: "output_type",
|
|
984
1052
|
});
|
|
985
1053
|
});
|
|
986
1054
|
|
|
@@ -1307,6 +1375,29 @@ export function updateEvalRequestBodyEvalsRequestGuardrailConfigFromJSON(
|
|
|
1307
1375
|
);
|
|
1308
1376
|
}
|
|
1309
1377
|
|
|
1378
|
+
/** @internal */
|
|
1379
|
+
export const UpdateEvalRequestBodyEvalsRequestOutputType$inboundSchema:
|
|
1380
|
+
z.ZodNativeEnum<typeof UpdateEvalRequestBodyEvalsRequestOutputType> = z
|
|
1381
|
+
.nativeEnum(UpdateEvalRequestBodyEvalsRequestOutputType);
|
|
1382
|
+
|
|
1383
|
+
/** @internal */
|
|
1384
|
+
export const UpdateEvalRequestBodyEvalsRequestOutputType$outboundSchema:
|
|
1385
|
+
z.ZodNativeEnum<typeof UpdateEvalRequestBodyEvalsRequestOutputType> =
|
|
1386
|
+
UpdateEvalRequestBodyEvalsRequestOutputType$inboundSchema;
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* @internal
|
|
1390
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1391
|
+
*/
|
|
1392
|
+
export namespace UpdateEvalRequestBodyEvalsRequestOutputType$ {
|
|
1393
|
+
/** @deprecated use `UpdateEvalRequestBodyEvalsRequestOutputType$inboundSchema` instead. */
|
|
1394
|
+
export const inboundSchema =
|
|
1395
|
+
UpdateEvalRequestBodyEvalsRequestOutputType$inboundSchema;
|
|
1396
|
+
/** @deprecated use `UpdateEvalRequestBodyEvalsRequestOutputType$outboundSchema` instead. */
|
|
1397
|
+
export const outboundSchema =
|
|
1398
|
+
UpdateEvalRequestBodyEvalsRequestOutputType$outboundSchema;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1310
1401
|
/** @internal */
|
|
1311
1402
|
export const UpdateEvalRequestBodyEvalsRequestType$inboundSchema:
|
|
1312
1403
|
z.ZodNativeEnum<typeof UpdateEvalRequestBodyEvalsRequestType> = z.nativeEnum(
|
|
@@ -1362,6 +1453,8 @@ export const RequestBodyHTTP$inboundSchema: z.ZodType<
|
|
|
1362
1453
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsRequestNumber$inboundSchema),
|
|
1363
1454
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsRequestBoolean$inboundSchema),
|
|
1364
1455
|
]).optional(),
|
|
1456
|
+
output_type: UpdateEvalRequestBodyEvalsRequestOutputType$inboundSchema
|
|
1457
|
+
.optional(),
|
|
1365
1458
|
type: UpdateEvalRequestBodyEvalsRequestType$inboundSchema,
|
|
1366
1459
|
url: z.string().optional(),
|
|
1367
1460
|
method: RequestBodyMethod$inboundSchema.optional(),
|
|
@@ -1373,6 +1466,7 @@ export const RequestBodyHTTP$inboundSchema: z.ZodType<
|
|
|
1373
1466
|
}).transform((v) => {
|
|
1374
1467
|
return remap$(v, {
|
|
1375
1468
|
"guardrail_config": "guardrailConfig",
|
|
1469
|
+
"output_type": "outputType",
|
|
1376
1470
|
});
|
|
1377
1471
|
});
|
|
1378
1472
|
|
|
@@ -1382,6 +1476,7 @@ export type RequestBodyHTTP$Outbound = {
|
|
|
1382
1476
|
| UpdateEvalGuardrailConfigEvalsRequestNumber$Outbound
|
|
1383
1477
|
| UpdateEvalGuardrailConfigEvalsRequestBoolean$Outbound
|
|
1384
1478
|
| undefined;
|
|
1479
|
+
output_type?: string | undefined;
|
|
1385
1480
|
type: string;
|
|
1386
1481
|
url?: string | undefined;
|
|
1387
1482
|
method?: string | undefined;
|
|
@@ -1402,6 +1497,8 @@ export const RequestBodyHTTP$outboundSchema: z.ZodType<
|
|
|
1402
1497
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsRequestNumber$outboundSchema),
|
|
1403
1498
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsRequestBoolean$outboundSchema),
|
|
1404
1499
|
]).optional(),
|
|
1500
|
+
outputType: UpdateEvalRequestBodyEvalsRequestOutputType$outboundSchema
|
|
1501
|
+
.optional(),
|
|
1405
1502
|
type: UpdateEvalRequestBodyEvalsRequestType$outboundSchema,
|
|
1406
1503
|
url: z.string().optional(),
|
|
1407
1504
|
method: RequestBodyMethod$outboundSchema.optional(),
|
|
@@ -1413,6 +1510,7 @@ export const RequestBodyHTTP$outboundSchema: z.ZodType<
|
|
|
1413
1510
|
}).transform((v) => {
|
|
1414
1511
|
return remap$(v, {
|
|
1415
1512
|
guardrailConfig: "guardrail_config",
|
|
1513
|
+
outputType: "output_type",
|
|
1416
1514
|
});
|
|
1417
1515
|
});
|
|
1418
1516
|
|
|
@@ -1716,6 +1814,30 @@ export function updateEvalRequestBodyEvalsGuardrailConfigFromJSON(
|
|
|
1716
1814
|
);
|
|
1717
1815
|
}
|
|
1718
1816
|
|
|
1817
|
+
/** @internal */
|
|
1818
|
+
export const UpdateEvalRequestBodyEvalsOutputType$inboundSchema:
|
|
1819
|
+
z.ZodNativeEnum<typeof UpdateEvalRequestBodyEvalsOutputType> = z.nativeEnum(
|
|
1820
|
+
UpdateEvalRequestBodyEvalsOutputType,
|
|
1821
|
+
);
|
|
1822
|
+
|
|
1823
|
+
/** @internal */
|
|
1824
|
+
export const UpdateEvalRequestBodyEvalsOutputType$outboundSchema:
|
|
1825
|
+
z.ZodNativeEnum<typeof UpdateEvalRequestBodyEvalsOutputType> =
|
|
1826
|
+
UpdateEvalRequestBodyEvalsOutputType$inboundSchema;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* @internal
|
|
1830
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1831
|
+
*/
|
|
1832
|
+
export namespace UpdateEvalRequestBodyEvalsOutputType$ {
|
|
1833
|
+
/** @deprecated use `UpdateEvalRequestBodyEvalsOutputType$inboundSchema` instead. */
|
|
1834
|
+
export const inboundSchema =
|
|
1835
|
+
UpdateEvalRequestBodyEvalsOutputType$inboundSchema;
|
|
1836
|
+
/** @deprecated use `UpdateEvalRequestBodyEvalsOutputType$outboundSchema` instead. */
|
|
1837
|
+
export const outboundSchema =
|
|
1838
|
+
UpdateEvalRequestBodyEvalsOutputType$outboundSchema;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1719
1841
|
/** @internal */
|
|
1720
1842
|
export const UpdateEvalRequestBodyEvalsType$inboundSchema: z.ZodNativeEnum<
|
|
1721
1843
|
typeof UpdateEvalRequestBodyEvalsType
|
|
@@ -1747,6 +1869,7 @@ export const RequestBodyJSON$inboundSchema: z.ZodType<
|
|
|
1747
1869
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsNumber$inboundSchema),
|
|
1748
1870
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
1749
1871
|
]).optional(),
|
|
1872
|
+
output_type: UpdateEvalRequestBodyEvalsOutputType$inboundSchema.optional(),
|
|
1750
1873
|
type: UpdateEvalRequestBodyEvalsType$inboundSchema,
|
|
1751
1874
|
schema: z.string().optional(),
|
|
1752
1875
|
path: z.string(),
|
|
@@ -1755,6 +1878,7 @@ export const RequestBodyJSON$inboundSchema: z.ZodType<
|
|
|
1755
1878
|
}).transform((v) => {
|
|
1756
1879
|
return remap$(v, {
|
|
1757
1880
|
"guardrail_config": "guardrailConfig",
|
|
1881
|
+
"output_type": "outputType",
|
|
1758
1882
|
});
|
|
1759
1883
|
});
|
|
1760
1884
|
|
|
@@ -1764,6 +1888,7 @@ export type RequestBodyJSON$Outbound = {
|
|
|
1764
1888
|
| UpdateEvalGuardrailConfigEvalsNumber$Outbound
|
|
1765
1889
|
| UpdateEvalGuardrailConfigEvalsBoolean$Outbound
|
|
1766
1890
|
| undefined;
|
|
1891
|
+
output_type?: string | undefined;
|
|
1767
1892
|
type: string;
|
|
1768
1893
|
schema?: string | undefined;
|
|
1769
1894
|
path: string;
|
|
@@ -1781,6 +1906,7 @@ export const RequestBodyJSON$outboundSchema: z.ZodType<
|
|
|
1781
1906
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsNumber$outboundSchema),
|
|
1782
1907
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsBoolean$outboundSchema),
|
|
1783
1908
|
]).optional(),
|
|
1909
|
+
outputType: UpdateEvalRequestBodyEvalsOutputType$outboundSchema.optional(),
|
|
1784
1910
|
type: UpdateEvalRequestBodyEvalsType$outboundSchema,
|
|
1785
1911
|
schema: z.string().optional(),
|
|
1786
1912
|
path: z.string(),
|
|
@@ -1789,6 +1915,7 @@ export const RequestBodyJSON$outboundSchema: z.ZodType<
|
|
|
1789
1915
|
}).transform((v) => {
|
|
1790
1916
|
return remap$(v, {
|
|
1791
1917
|
guardrailConfig: "guardrail_config",
|
|
1918
|
+
outputType: "output_type",
|
|
1792
1919
|
});
|
|
1793
1920
|
});
|
|
1794
1921
|
|
|
@@ -2074,6 +2201,27 @@ export function updateEvalRequestBodyGuardrailConfigFromJSON(
|
|
|
2074
2201
|
);
|
|
2075
2202
|
}
|
|
2076
2203
|
|
|
2204
|
+
/** @internal */
|
|
2205
|
+
export const UpdateEvalRequestBodyOutputType$inboundSchema: z.ZodNativeEnum<
|
|
2206
|
+
typeof UpdateEvalRequestBodyOutputType
|
|
2207
|
+
> = z.nativeEnum(UpdateEvalRequestBodyOutputType);
|
|
2208
|
+
|
|
2209
|
+
/** @internal */
|
|
2210
|
+
export const UpdateEvalRequestBodyOutputType$outboundSchema: z.ZodNativeEnum<
|
|
2211
|
+
typeof UpdateEvalRequestBodyOutputType
|
|
2212
|
+
> = UpdateEvalRequestBodyOutputType$inboundSchema;
|
|
2213
|
+
|
|
2214
|
+
/**
|
|
2215
|
+
* @internal
|
|
2216
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2217
|
+
*/
|
|
2218
|
+
export namespace UpdateEvalRequestBodyOutputType$ {
|
|
2219
|
+
/** @deprecated use `UpdateEvalRequestBodyOutputType$inboundSchema` instead. */
|
|
2220
|
+
export const inboundSchema = UpdateEvalRequestBodyOutputType$inboundSchema;
|
|
2221
|
+
/** @deprecated use `UpdateEvalRequestBodyOutputType$outboundSchema` instead. */
|
|
2222
|
+
export const outboundSchema = UpdateEvalRequestBodyOutputType$outboundSchema;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2077
2225
|
/** @internal */
|
|
2078
2226
|
export const UpdateEvalRequestBodyType$inboundSchema: z.ZodNativeEnum<
|
|
2079
2227
|
typeof UpdateEvalRequestBodyType
|
|
@@ -2105,6 +2253,7 @@ export const RequestBodyLLM$inboundSchema: z.ZodType<
|
|
|
2105
2253
|
z.lazy(() => UpdateEvalGuardrailConfigNumber$inboundSchema),
|
|
2106
2254
|
z.lazy(() => UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
2107
2255
|
]).optional(),
|
|
2256
|
+
output_type: UpdateEvalRequestBodyOutputType$inboundSchema.optional(),
|
|
2108
2257
|
type: UpdateEvalRequestBodyType$inboundSchema,
|
|
2109
2258
|
prompt: z.string().optional(),
|
|
2110
2259
|
path: z.string(),
|
|
@@ -2114,6 +2263,7 @@ export const RequestBodyLLM$inboundSchema: z.ZodType<
|
|
|
2114
2263
|
}).transform((v) => {
|
|
2115
2264
|
return remap$(v, {
|
|
2116
2265
|
"guardrail_config": "guardrailConfig",
|
|
2266
|
+
"output_type": "outputType",
|
|
2117
2267
|
});
|
|
2118
2268
|
});
|
|
2119
2269
|
|
|
@@ -2123,6 +2273,7 @@ export type RequestBodyLLM$Outbound = {
|
|
|
2123
2273
|
| UpdateEvalGuardrailConfigNumber$Outbound
|
|
2124
2274
|
| UpdateEvalGuardrailConfigBoolean$Outbound
|
|
2125
2275
|
| undefined;
|
|
2276
|
+
output_type?: string | undefined;
|
|
2126
2277
|
type: string;
|
|
2127
2278
|
prompt?: string | undefined;
|
|
2128
2279
|
path: string;
|
|
@@ -2141,6 +2292,7 @@ export const RequestBodyLLM$outboundSchema: z.ZodType<
|
|
|
2141
2292
|
z.lazy(() => UpdateEvalGuardrailConfigNumber$outboundSchema),
|
|
2142
2293
|
z.lazy(() => UpdateEvalGuardrailConfigBoolean$outboundSchema),
|
|
2143
2294
|
]).optional(),
|
|
2295
|
+
outputType: UpdateEvalRequestBodyOutputType$outboundSchema.optional(),
|
|
2144
2296
|
type: UpdateEvalRequestBodyType$outboundSchema,
|
|
2145
2297
|
prompt: z.string().optional(),
|
|
2146
2298
|
path: z.string(),
|
|
@@ -2150,6 +2302,7 @@ export const RequestBodyLLM$outboundSchema: z.ZodType<
|
|
|
2150
2302
|
}).transform((v) => {
|
|
2151
2303
|
return remap$(v, {
|
|
2152
2304
|
guardrailConfig: "guardrail_config",
|
|
2305
|
+
outputType: "output_type",
|
|
2153
2306
|
});
|
|
2154
2307
|
});
|
|
2155
2308
|
|
|
@@ -2674,8 +2827,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2674
2827
|
> = z.object({
|
|
2675
2828
|
_id: z.string(),
|
|
2676
2829
|
description: z.string(),
|
|
2677
|
-
created: z.string().default("2025-09-
|
|
2678
|
-
updated: z.string().default("2025-09-
|
|
2830
|
+
created: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
2831
|
+
updated: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
2679
2832
|
guardrail_config: z.union([
|
|
2680
2833
|
z.lazy(() =>
|
|
2681
2834
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -2717,8 +2870,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2717
2870
|
> = z.object({
|
|
2718
2871
|
id: z.string(),
|
|
2719
2872
|
description: z.string(),
|
|
2720
|
-
created: z.string().default("2025-09-
|
|
2721
|
-
updated: z.string().default("2025-09-
|
|
2873
|
+
created: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
2874
|
+
updated: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
2722
2875
|
guardrailConfig: z.union([
|
|
2723
2876
|
z.lazy(() =>
|
|
2724
2877
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -3139,8 +3292,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3139
3292
|
> = z.object({
|
|
3140
3293
|
_id: z.string(),
|
|
3141
3294
|
description: z.string(),
|
|
3142
|
-
created: z.string().default("2025-09-
|
|
3143
|
-
updated: z.string().default("2025-09-
|
|
3295
|
+
created: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3296
|
+
updated: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3144
3297
|
guardrail_config: z.union([
|
|
3145
3298
|
z.lazy(() =>
|
|
3146
3299
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -3188,8 +3341,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
3188
3341
|
> = z.object({
|
|
3189
3342
|
id: z.string(),
|
|
3190
3343
|
description: z.string(),
|
|
3191
|
-
created: z.string().default("2025-09-
|
|
3192
|
-
updated: z.string().default("2025-09-
|
|
3344
|
+
created: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3345
|
+
updated: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3193
3346
|
guardrailConfig: z.union([
|
|
3194
3347
|
z.lazy(() =>
|
|
3195
3348
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -3579,8 +3732,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3579
3732
|
> = z.object({
|
|
3580
3733
|
_id: z.string(),
|
|
3581
3734
|
description: z.string(),
|
|
3582
|
-
created: z.string().default("2025-09-
|
|
3583
|
-
updated: z.string().default("2025-09-
|
|
3735
|
+
created: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3736
|
+
updated: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3584
3737
|
guardrail_config: z.union([
|
|
3585
3738
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3586
3739
|
z.lazy(() =>
|
|
@@ -3620,8 +3773,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3620
3773
|
> = z.object({
|
|
3621
3774
|
id: z.string(),
|
|
3622
3775
|
description: z.string(),
|
|
3623
|
-
created: z.string().default("2025-09-
|
|
3624
|
-
updated: z.string().default("2025-09-
|
|
3776
|
+
created: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3777
|
+
updated: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3625
3778
|
guardrailConfig: z.union([
|
|
3626
3779
|
z.lazy(() =>
|
|
3627
3780
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -3979,8 +4132,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3979
4132
|
> = z.object({
|
|
3980
4133
|
_id: z.string(),
|
|
3981
4134
|
description: z.string(),
|
|
3982
|
-
created: z.string().default("2025-09-
|
|
3983
|
-
updated: z.string().default("2025-09-
|
|
4135
|
+
created: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
4136
|
+
updated: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
3984
4137
|
guardrail_config: z.union([
|
|
3985
4138
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3986
4139
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -4020,8 +4173,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
4020
4173
|
> = z.object({
|
|
4021
4174
|
id: z.string(),
|
|
4022
4175
|
description: z.string(),
|
|
4023
|
-
created: z.string().default("2025-09-
|
|
4024
|
-
updated: z.string().default("2025-09-
|
|
4176
|
+
created: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
4177
|
+
updated: z.string().default("2025-09-18T21:41:50.865Z"),
|
|
4025
4178
|
guardrailConfig: z.union([
|
|
4026
4179
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
4027
4180
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|