@orq-ai/node 4.10.0-rc.11 → 4.10.0-rc.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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +6 -0
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +24 -16
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +2 -0
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +20 -16
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +6 -4
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +22 -19
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +9 -9
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +30 -16
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +22 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +30 -23
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -116,8 +116,8 @@ export type UpdateEvalRequestBody = {
|
|
|
116
116
|
description?: string | undefined;
|
|
117
117
|
prompt?: string | undefined;
|
|
118
118
|
outputType?: string | undefined;
|
|
119
|
-
categories?: Array<string> | undefined;
|
|
120
|
-
categoricalLabels?: Array<CategoricalLabels> | undefined;
|
|
119
|
+
categories?: Array<string> | null | undefined;
|
|
120
|
+
categoricalLabels?: Array<CategoricalLabels> | null | undefined;
|
|
121
121
|
repetitions?: number | undefined;
|
|
122
122
|
mode?: Mode | undefined;
|
|
123
123
|
model?: string | undefined;
|
|
@@ -866,6 +866,7 @@ export type UpdateEvalLlm2 = {
|
|
|
866
866
|
prompt: string;
|
|
867
867
|
categories?: Array<string> | undefined;
|
|
868
868
|
categoricalLabels?: Array<UpdateEvalLLMEvalsCategoricalLabels> | undefined;
|
|
869
|
+
datasetId?: string | undefined;
|
|
869
870
|
key: string;
|
|
870
871
|
mode: "jury";
|
|
871
872
|
jury: UpdateEvalLLMJury;
|
|
@@ -942,6 +943,7 @@ export type UpdateEvalLlm1 = {
|
|
|
942
943
|
prompt: string;
|
|
943
944
|
categories?: Array<string> | undefined;
|
|
944
945
|
categoricalLabels?: Array<UpdateEvalLLMCategoricalLabels> | undefined;
|
|
946
|
+
datasetId?: string | undefined;
|
|
945
947
|
key: string;
|
|
946
948
|
mode: "single";
|
|
947
949
|
model: string;
|
|
@@ -1288,8 +1290,8 @@ export type UpdateEvalRequestBody$Outbound = {
|
|
|
1288
1290
|
description?: string | undefined;
|
|
1289
1291
|
prompt?: string | undefined;
|
|
1290
1292
|
output_type?: string | undefined;
|
|
1291
|
-
categories?: Array<string> | undefined;
|
|
1292
|
-
categorical_labels?: Array<CategoricalLabels$Outbound> | undefined;
|
|
1293
|
+
categories?: Array<string> | null | undefined;
|
|
1294
|
+
categorical_labels?: Array<CategoricalLabels$Outbound> | null | undefined;
|
|
1293
1295
|
repetitions?: number | undefined;
|
|
1294
1296
|
mode?: string | undefined;
|
|
1295
1297
|
model?: string | undefined;
|
|
@@ -1322,9 +1324,10 @@ export const UpdateEvalRequestBody$outboundSchema: z.ZodType<
|
|
|
1322
1324
|
description: z.string().optional(),
|
|
1323
1325
|
prompt: z.string().optional(),
|
|
1324
1326
|
outputType: z.string().optional(),
|
|
1325
|
-
categories: z.array(z.string()).optional(),
|
|
1326
|
-
categoricalLabels: z.
|
|
1327
|
-
.
|
|
1327
|
+
categories: z.nullable(z.array(z.string())).optional(),
|
|
1328
|
+
categoricalLabels: z.nullable(
|
|
1329
|
+
z.array(z.lazy(() => CategoricalLabels$outboundSchema)),
|
|
1330
|
+
).optional(),
|
|
1328
1331
|
repetitions: z.number().optional(),
|
|
1329
1332
|
mode: Mode$outboundSchema.optional(),
|
|
1330
1333
|
model: z.string().optional(),
|
|
@@ -1541,8 +1544,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1541
1544
|
> = z.object({
|
|
1542
1545
|
_id: z.string(),
|
|
1543
1546
|
description: z.string(),
|
|
1544
|
-
created: z.string().default("2026-05-
|
|
1545
|
-
updated: z.string().default("2026-05-
|
|
1547
|
+
created: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
1548
|
+
updated: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
1546
1549
|
guardrail_config: z.nullable(
|
|
1547
1550
|
z.union([
|
|
1548
1551
|
z.lazy(() =>
|
|
@@ -1735,8 +1738,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1735
1738
|
> = z.object({
|
|
1736
1739
|
_id: z.string(),
|
|
1737
1740
|
description: z.string(),
|
|
1738
|
-
created: z.string().default("2026-05-
|
|
1739
|
-
updated: z.string().default("2026-05-
|
|
1741
|
+
created: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
1742
|
+
updated: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
1740
1743
|
guardrail_config: z.nullable(
|
|
1741
1744
|
z.union([
|
|
1742
1745
|
z.lazy(() =>
|
|
@@ -2592,8 +2595,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2592
2595
|
> = z.object({
|
|
2593
2596
|
_id: z.string(),
|
|
2594
2597
|
description: z.string(),
|
|
2595
|
-
created: z.string().default("2026-05-
|
|
2596
|
-
updated: z.string().default("2026-05-
|
|
2598
|
+
created: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
2599
|
+
updated: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
2597
2600
|
guardrail_config: z.nullable(
|
|
2598
2601
|
z.union([
|
|
2599
2602
|
z.lazy(() =>
|
|
@@ -2809,8 +2812,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2809
2812
|
> = z.object({
|
|
2810
2813
|
_id: z.string(),
|
|
2811
2814
|
description: z.string(),
|
|
2812
|
-
created: z.string().default("2026-05-
|
|
2813
|
-
updated: z.string().default("2026-05-
|
|
2815
|
+
created: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
2816
|
+
updated: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
2814
2817
|
guardrail_config: z.nullable(
|
|
2815
2818
|
z.union([
|
|
2816
2819
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -2976,8 +2979,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2976
2979
|
> = z.object({
|
|
2977
2980
|
_id: z.string(),
|
|
2978
2981
|
description: z.string(),
|
|
2979
|
-
created: z.string().default("2026-05-
|
|
2980
|
-
updated: z.string().default("2026-05-
|
|
2982
|
+
created: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
2983
|
+
updated: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
2981
2984
|
guardrail_config: z.nullable(
|
|
2982
2985
|
z.union([
|
|
2983
2986
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -3128,8 +3131,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3128
3131
|
> = z.object({
|
|
3129
3132
|
_id: z.string(),
|
|
3130
3133
|
description: z.string(),
|
|
3131
|
-
created: z.string().default("2026-05-
|
|
3132
|
-
updated: z.string().default("2026-05-
|
|
3134
|
+
created: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
3135
|
+
updated: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
3133
3136
|
guardrail_config: z.nullable(
|
|
3134
3137
|
z.union([
|
|
3135
3138
|
z.lazy(() => UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
@@ -3489,8 +3492,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3489
3492
|
> = z.object({
|
|
3490
3493
|
_id: z.string(),
|
|
3491
3494
|
description: z.string(),
|
|
3492
|
-
created: z.string().default("2026-05-
|
|
3493
|
-
updated: z.string().default("2026-05-
|
|
3495
|
+
created: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
3496
|
+
updated: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
3494
3497
|
guardrail_config: z.nullable(
|
|
3495
3498
|
z.union([
|
|
3496
3499
|
z.lazy(() =>
|
|
@@ -3511,6 +3514,7 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3511
3514
|
categorical_labels: z.array(
|
|
3512
3515
|
z.lazy(() => UpdateEvalLLMEvalsCategoricalLabels$inboundSchema),
|
|
3513
3516
|
).optional(),
|
|
3517
|
+
dataset_id: z.string().optional(),
|
|
3514
3518
|
key: z.string(),
|
|
3515
3519
|
mode: z.literal("jury"),
|
|
3516
3520
|
jury: z.lazy(() => UpdateEvalLLMJury$inboundSchema),
|
|
@@ -3519,6 +3523,7 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3519
3523
|
"_id": "id",
|
|
3520
3524
|
"guardrail_config": "guardrailConfig",
|
|
3521
3525
|
"categorical_labels": "categoricalLabels",
|
|
3526
|
+
"dataset_id": "datasetId",
|
|
3522
3527
|
});
|
|
3523
3528
|
});
|
|
3524
3529
|
|
|
@@ -3698,8 +3703,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3698
3703
|
> = z.object({
|
|
3699
3704
|
_id: z.string(),
|
|
3700
3705
|
description: z.string(),
|
|
3701
|
-
created: z.string().default("2026-05-
|
|
3702
|
-
updated: z.string().default("2026-05-
|
|
3706
|
+
created: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
3707
|
+
updated: z.string().default("2026-05-19T05:02:56.176Z"),
|
|
3703
3708
|
guardrail_config: z.nullable(
|
|
3704
3709
|
z.union([
|
|
3705
3710
|
z.lazy(() =>
|
|
@@ -3720,6 +3725,7 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3720
3725
|
categorical_labels: z.array(
|
|
3721
3726
|
z.lazy(() => UpdateEvalLLMCategoricalLabels$inboundSchema),
|
|
3722
3727
|
).optional(),
|
|
3728
|
+
dataset_id: z.string().optional(),
|
|
3723
3729
|
key: z.string(),
|
|
3724
3730
|
mode: z.literal("single"),
|
|
3725
3731
|
model: z.string(),
|
|
@@ -3728,6 +3734,7 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3728
3734
|
"_id": "id",
|
|
3729
3735
|
"guardrail_config": "guardrailConfig",
|
|
3730
3736
|
"categorical_labels": "categoricalLabels",
|
|
3737
|
+
"dataset_id": "datasetId",
|
|
3731
3738
|
});
|
|
3732
3739
|
});
|
|
3733
3740
|
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KRZ9VJYQ6XZ3V6CPSA4G5WTE"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KRZ9VJYKM10XZTZW13RY0DS1"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KRZ9VJYJMGEC3Z1TV3CWJXJ6"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KRZ9VJYHQ5XN6DSVJX5E9ZT4"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KRZ9VJYFGCEY8MXHC50JDBXP"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KRZ9VJYEJX6H7SBXZ9T948KC"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KRZ9VJYDFECCTRHG52GGQ4P2"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|