@orq-ai/node 4.11.0-rc.2 → 4.11.0-rc.3
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 +18 -18
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +28 -28
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -10
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +16 -16
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +16 -16
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.d.ts +6 -6
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +22 -22
- 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/listknowledgebases.d.ts +2 -5
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +1 -1
- package/models/operations/listknowledgebases.js.map +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.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +16 -16
- package/models/operations/retrievetool.js.map +1 -1
- 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 -6
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +22 -22
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.d.ts +10 -10
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +17 -17
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +6 -6
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- 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 +55 -48
- package/src/models/operations/createtool.ts +26 -26
- package/src/models/operations/getalltools.ts +26 -26
- package/src/models/operations/getevals.ts +33 -30
- 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/listknowledgebases.ts +3 -6
- 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 +26 -26
- 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 +33 -30
- package/src/models/operations/updatetool.ts +27 -27
- package/src/sdk/feedback.ts +2 -2
|
@@ -630,11 +630,11 @@ export type ResponseBodyCodeExecutionTool = {
|
|
|
630
630
|
/**
|
|
631
631
|
* The id of the user that created the tool
|
|
632
632
|
*/
|
|
633
|
-
createdById?: string | undefined;
|
|
633
|
+
createdById?: string | null | undefined;
|
|
634
634
|
/**
|
|
635
635
|
* The id of the user that last updated the tool
|
|
636
636
|
*/
|
|
637
|
-
updatedById?: string | undefined;
|
|
637
|
+
updatedById?: string | null | undefined;
|
|
638
638
|
projectId: string;
|
|
639
639
|
workspaceId: string;
|
|
640
640
|
created: string;
|
|
@@ -754,11 +754,11 @@ export type ResponseBodyMCPTool = {
|
|
|
754
754
|
/**
|
|
755
755
|
* The id of the user that created the tool
|
|
756
756
|
*/
|
|
757
|
-
createdById?: string | undefined;
|
|
757
|
+
createdById?: string | null | undefined;
|
|
758
758
|
/**
|
|
759
759
|
* The id of the user that last updated the tool
|
|
760
760
|
*/
|
|
761
|
-
updatedById?: string | undefined;
|
|
761
|
+
updatedById?: string | null | undefined;
|
|
762
762
|
projectId: string;
|
|
763
763
|
workspaceId: string;
|
|
764
764
|
created: string;
|
|
@@ -911,11 +911,11 @@ export type ResponseBodyHTTPTool = {
|
|
|
911
911
|
/**
|
|
912
912
|
* The id of the user that created the tool
|
|
913
913
|
*/
|
|
914
|
-
createdById?: string | undefined;
|
|
914
|
+
createdById?: string | null | undefined;
|
|
915
915
|
/**
|
|
916
916
|
* The id of the user that last updated the tool
|
|
917
917
|
*/
|
|
918
|
-
updatedById?: string | undefined;
|
|
918
|
+
updatedById?: string | null | undefined;
|
|
919
919
|
projectId: string;
|
|
920
920
|
workspaceId: string;
|
|
921
921
|
created: string;
|
|
@@ -1012,11 +1012,11 @@ export type ResponseBodyJSONSchemaTool = {
|
|
|
1012
1012
|
/**
|
|
1013
1013
|
* The id of the user that created the tool
|
|
1014
1014
|
*/
|
|
1015
|
-
createdById?: string | undefined;
|
|
1015
|
+
createdById?: string | null | undefined;
|
|
1016
1016
|
/**
|
|
1017
1017
|
* The id of the user that last updated the tool
|
|
1018
1018
|
*/
|
|
1019
|
-
updatedById?: string | undefined;
|
|
1019
|
+
updatedById?: string | null | undefined;
|
|
1020
1020
|
projectId: string;
|
|
1021
1021
|
workspaceId: string;
|
|
1022
1022
|
created: string;
|
|
@@ -1123,11 +1123,11 @@ export type ResponseBodyFunctionTool = {
|
|
|
1123
1123
|
/**
|
|
1124
1124
|
* The id of the user that created the tool
|
|
1125
1125
|
*/
|
|
1126
|
-
createdById?: string | undefined;
|
|
1126
|
+
createdById?: string | null | undefined;
|
|
1127
1127
|
/**
|
|
1128
1128
|
* The id of the user that last updated the tool
|
|
1129
1129
|
*/
|
|
1130
|
-
updatedById?: string | undefined;
|
|
1130
|
+
updatedById?: string | null | undefined;
|
|
1131
1131
|
projectId: string;
|
|
1132
1132
|
workspaceId: string;
|
|
1133
1133
|
created: string;
|
|
@@ -1898,13 +1898,13 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1898
1898
|
z.ZodTypeDef,
|
|
1899
1899
|
unknown
|
|
1900
1900
|
> = z.object({
|
|
1901
|
-
_id: z.string().default("
|
|
1901
|
+
_id: z.string().default("tool_01KTKNH3JS307Q33APXZFP9WMB"),
|
|
1902
1902
|
path: z.string(),
|
|
1903
1903
|
key: z.string(),
|
|
1904
1904
|
display_name: z.string().optional(),
|
|
1905
1905
|
description: z.string(),
|
|
1906
|
-
created_by_id: z.string().optional(),
|
|
1907
|
-
updated_by_id: z.string().optional(),
|
|
1906
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1907
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1908
1908
|
project_id: z.string(),
|
|
1909
1909
|
workspace_id: z.string(),
|
|
1910
1910
|
created: z.string(),
|
|
@@ -1995,7 +1995,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1995
1995
|
z.ZodTypeDef,
|
|
1996
1996
|
unknown
|
|
1997
1997
|
> = z.object({
|
|
1998
|
-
id: z.string().default("
|
|
1998
|
+
id: z.string().default("01KTKNH3JRRK1GVXWT4S5D1W6K"),
|
|
1999
1999
|
name: z.string(),
|
|
2000
2000
|
description: z.string().optional(),
|
|
2001
2001
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2051,13 +2051,13 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2051
2051
|
z.ZodTypeDef,
|
|
2052
2052
|
unknown
|
|
2053
2053
|
> = z.object({
|
|
2054
|
-
_id: z.string().default("
|
|
2054
|
+
_id: z.string().default("tool_01KTKNH3JPWD6EVJGQAVWCFXQX"),
|
|
2055
2055
|
path: z.string(),
|
|
2056
2056
|
key: z.string(),
|
|
2057
2057
|
display_name: z.string().optional(),
|
|
2058
2058
|
description: z.string(),
|
|
2059
|
-
created_by_id: z.string().optional(),
|
|
2060
|
-
updated_by_id: z.string().optional(),
|
|
2059
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2060
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2061
2061
|
project_id: z.string(),
|
|
2062
2062
|
workspace_id: z.string(),
|
|
2063
2063
|
created: z.string(),
|
|
@@ -2237,13 +2237,13 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2237
2237
|
z.ZodTypeDef,
|
|
2238
2238
|
unknown
|
|
2239
2239
|
> = z.object({
|
|
2240
|
-
_id: z.string().default("
|
|
2240
|
+
_id: z.string().default("tool_01KTKNH3JM5HA7TZVPCJGGC684"),
|
|
2241
2241
|
path: z.string(),
|
|
2242
2242
|
key: z.string(),
|
|
2243
2243
|
display_name: z.string().optional(),
|
|
2244
2244
|
description: z.string(),
|
|
2245
|
-
created_by_id: z.string().optional(),
|
|
2246
|
-
updated_by_id: z.string().optional(),
|
|
2245
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2246
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2247
2247
|
project_id: z.string(),
|
|
2248
2248
|
workspace_id: z.string(),
|
|
2249
2249
|
created: z.string(),
|
|
@@ -2330,13 +2330,13 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2330
2330
|
z.ZodTypeDef,
|
|
2331
2331
|
unknown
|
|
2332
2332
|
> = z.object({
|
|
2333
|
-
_id: z.string().default("
|
|
2333
|
+
_id: z.string().default("tool_01KTKNH3JK84Q0SWRTWVKERNA9"),
|
|
2334
2334
|
path: z.string(),
|
|
2335
2335
|
key: z.string(),
|
|
2336
2336
|
display_name: z.string().optional(),
|
|
2337
2337
|
description: z.string(),
|
|
2338
|
-
created_by_id: z.string().optional(),
|
|
2339
|
-
updated_by_id: z.string().optional(),
|
|
2338
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2339
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2340
2340
|
project_id: z.string(),
|
|
2341
2341
|
workspace_id: z.string(),
|
|
2342
2342
|
created: z.string(),
|
|
@@ -2431,13 +2431,13 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2431
2431
|
z.ZodTypeDef,
|
|
2432
2432
|
unknown
|
|
2433
2433
|
> = z.object({
|
|
2434
|
-
_id: z.string().default("
|
|
2434
|
+
_id: z.string().default("tool_01KTKNH3JHP4YRF6T5FPX1WEE2"),
|
|
2435
2435
|
path: z.string(),
|
|
2436
2436
|
key: z.string(),
|
|
2437
2437
|
display_name: z.string().optional(),
|
|
2438
2438
|
description: z.string(),
|
|
2439
|
-
created_by_id: z.string().optional(),
|
|
2440
|
-
updated_by_id: z.string().optional(),
|
|
2439
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
2440
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
2441
2441
|
project_id: z.string(),
|
|
2442
2442
|
workspace_id: z.string(),
|
|
2443
2443
|
created: z.string(),
|
|
@@ -128,11 +128,11 @@ export type DataCodeExecutionTool = {
|
|
|
128
128
|
/**
|
|
129
129
|
* The id of the user that created the tool
|
|
130
130
|
*/
|
|
131
|
-
createdById?: string | undefined;
|
|
131
|
+
createdById?: string | null | undefined;
|
|
132
132
|
/**
|
|
133
133
|
* The id of the user that last updated the tool
|
|
134
134
|
*/
|
|
135
|
-
updatedById?: string | undefined;
|
|
135
|
+
updatedById?: string | null | undefined;
|
|
136
136
|
projectId: string;
|
|
137
137
|
workspaceId: string;
|
|
138
138
|
created: string;
|
|
@@ -252,11 +252,11 @@ export type DataMCPTool = {
|
|
|
252
252
|
/**
|
|
253
253
|
* The id of the user that created the tool
|
|
254
254
|
*/
|
|
255
|
-
createdById?: string | undefined;
|
|
255
|
+
createdById?: string | null | undefined;
|
|
256
256
|
/**
|
|
257
257
|
* The id of the user that last updated the tool
|
|
258
258
|
*/
|
|
259
|
-
updatedById?: string | undefined;
|
|
259
|
+
updatedById?: string | null | undefined;
|
|
260
260
|
projectId: string;
|
|
261
261
|
workspaceId: string;
|
|
262
262
|
created: string;
|
|
@@ -409,11 +409,11 @@ export type DataHTTPTool = {
|
|
|
409
409
|
/**
|
|
410
410
|
* The id of the user that created the tool
|
|
411
411
|
*/
|
|
412
|
-
createdById?: string | undefined;
|
|
412
|
+
createdById?: string | null | undefined;
|
|
413
413
|
/**
|
|
414
414
|
* The id of the user that last updated the tool
|
|
415
415
|
*/
|
|
416
|
-
updatedById?: string | undefined;
|
|
416
|
+
updatedById?: string | null | undefined;
|
|
417
417
|
projectId: string;
|
|
418
418
|
workspaceId: string;
|
|
419
419
|
created: string;
|
|
@@ -508,11 +508,11 @@ export type DataJSONSchemaTool = {
|
|
|
508
508
|
/**
|
|
509
509
|
* The id of the user that created the tool
|
|
510
510
|
*/
|
|
511
|
-
createdById?: string | undefined;
|
|
511
|
+
createdById?: string | null | undefined;
|
|
512
512
|
/**
|
|
513
513
|
* The id of the user that last updated the tool
|
|
514
514
|
*/
|
|
515
|
-
updatedById?: string | undefined;
|
|
515
|
+
updatedById?: string | null | undefined;
|
|
516
516
|
projectId: string;
|
|
517
517
|
workspaceId: string;
|
|
518
518
|
created: string;
|
|
@@ -621,11 +621,11 @@ export type DataFunctionTool = {
|
|
|
621
621
|
/**
|
|
622
622
|
* The id of the user that created the tool
|
|
623
623
|
*/
|
|
624
|
-
createdById?: string | undefined;
|
|
624
|
+
createdById?: string | null | undefined;
|
|
625
625
|
/**
|
|
626
626
|
* The id of the user that last updated the tool
|
|
627
627
|
*/
|
|
628
|
-
updatedById?: string | undefined;
|
|
628
|
+
updatedById?: string | null | undefined;
|
|
629
629
|
projectId: string;
|
|
630
630
|
workspaceId: string;
|
|
631
631
|
created: string;
|
|
@@ -767,13 +767,13 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
767
767
|
z.ZodTypeDef,
|
|
768
768
|
unknown
|
|
769
769
|
> = z.object({
|
|
770
|
-
_id: z.string().default("
|
|
770
|
+
_id: z.string().default("tool_01KTKNH3J5C4ZG45Z5DHP9XGZ6"),
|
|
771
771
|
path: z.string(),
|
|
772
772
|
key: z.string(),
|
|
773
773
|
display_name: z.string().optional(),
|
|
774
774
|
description: z.string(),
|
|
775
|
-
created_by_id: z.string().optional(),
|
|
776
|
-
updated_by_id: z.string().optional(),
|
|
775
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
776
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
777
777
|
project_id: z.string(),
|
|
778
778
|
workspace_id: z.string(),
|
|
779
779
|
created: z.string(),
|
|
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
864
864
|
z.ZodTypeDef,
|
|
865
865
|
unknown
|
|
866
866
|
> = z.object({
|
|
867
|
-
id: z.string().default("
|
|
867
|
+
id: z.string().default("01KTKNH3J4SGYSVG64HA9J781Z"),
|
|
868
868
|
name: z.string(),
|
|
869
869
|
description: z.string().optional(),
|
|
870
870
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -917,13 +917,13 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KTKNH3J39KK469TG2ED48TMJ"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
924
924
|
description: z.string(),
|
|
925
|
-
created_by_id: z.string().optional(),
|
|
926
|
-
updated_by_id: z.string().optional(),
|
|
925
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
926
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
927
927
|
project_id: z.string(),
|
|
928
928
|
workspace_id: z.string(),
|
|
929
929
|
created: z.string(),
|
|
@@ -1102,13 +1102,13 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
z.ZodTypeDef,
|
|
1103
1103
|
unknown
|
|
1104
1104
|
> = z.object({
|
|
1105
|
-
_id: z.string().default("
|
|
1105
|
+
_id: z.string().default("tool_01KTKNH3J1F239D1SBNHREYWK7"),
|
|
1106
1106
|
path: z.string(),
|
|
1107
1107
|
key: z.string(),
|
|
1108
1108
|
display_name: z.string().optional(),
|
|
1109
1109
|
description: z.string(),
|
|
1110
|
-
created_by_id: z.string().optional(),
|
|
1111
|
-
updated_by_id: z.string().optional(),
|
|
1110
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1111
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1112
1112
|
project_id: z.string(),
|
|
1113
1113
|
workspace_id: z.string(),
|
|
1114
1114
|
created: z.string(),
|
|
@@ -1195,13 +1195,13 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1195
1195
|
z.ZodTypeDef,
|
|
1196
1196
|
unknown
|
|
1197
1197
|
> = z.object({
|
|
1198
|
-
_id: z.string().default("
|
|
1198
|
+
_id: z.string().default("tool_01KTKNH3HZ8JV7S39A9C6XSFZP"),
|
|
1199
1199
|
path: z.string(),
|
|
1200
1200
|
key: z.string(),
|
|
1201
1201
|
display_name: z.string().optional(),
|
|
1202
1202
|
description: z.string(),
|
|
1203
|
-
created_by_id: z.string().optional(),
|
|
1204
|
-
updated_by_id: z.string().optional(),
|
|
1203
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1204
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1205
1205
|
project_id: z.string(),
|
|
1206
1206
|
workspace_id: z.string(),
|
|
1207
1207
|
created: z.string(),
|
|
@@ -1297,13 +1297,13 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1297
1297
|
z.ZodTypeDef,
|
|
1298
1298
|
unknown
|
|
1299
1299
|
> = z.object({
|
|
1300
|
-
_id: z.string().default("
|
|
1300
|
+
_id: z.string().default("tool_01KTKNH3HXB32FX22DC8GKHAG0"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|
|
1304
1304
|
description: z.string(),
|
|
1305
|
-
created_by_id: z.string().optional(),
|
|
1306
|
-
updated_by_id: z.string().optional(),
|
|
1305
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1306
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1307
1307
|
project_id: z.string(),
|
|
1308
1308
|
workspace_id: z.string(),
|
|
1309
1309
|
created: z.string(),
|
|
@@ -759,10 +759,13 @@ export type GetEvalsLlm2 = {
|
|
|
759
759
|
| null
|
|
760
760
|
| undefined;
|
|
761
761
|
type: GetEvalsLLMEvalsType;
|
|
762
|
-
repetitions?: number | undefined;
|
|
762
|
+
repetitions?: number | null | undefined;
|
|
763
763
|
prompt: string;
|
|
764
|
-
categories?: Array<string> | undefined;
|
|
765
|
-
categoricalLabels?:
|
|
764
|
+
categories?: Array<string> | null | undefined;
|
|
765
|
+
categoricalLabels?:
|
|
766
|
+
| Array<GetEvalsLLMEvalsCategoricalLabels>
|
|
767
|
+
| null
|
|
768
|
+
| undefined;
|
|
766
769
|
datasetId?: string | undefined;
|
|
767
770
|
key: string;
|
|
768
771
|
mode: "jury";
|
|
@@ -837,10 +840,10 @@ export type GetEvalsLlm1 = {
|
|
|
837
840
|
| null
|
|
838
841
|
| undefined;
|
|
839
842
|
type: GetEvalsLLMType;
|
|
840
|
-
repetitions?: number | undefined;
|
|
843
|
+
repetitions?: number | null | undefined;
|
|
841
844
|
prompt: string;
|
|
842
|
-
categories?: Array<string> | undefined;
|
|
843
|
-
categoricalLabels?: Array<GetEvalsLLMCategoricalLabels> | undefined;
|
|
845
|
+
categories?: Array<string> | null | undefined;
|
|
846
|
+
categoricalLabels?: Array<GetEvalsLLMCategoricalLabels> | null | undefined;
|
|
844
847
|
datasetId?: string | undefined;
|
|
845
848
|
key: string;
|
|
846
849
|
mode: "single";
|
|
@@ -1067,8 +1070,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1067
1070
|
> = z.object({
|
|
1068
1071
|
_id: z.string(),
|
|
1069
1072
|
description: z.string(),
|
|
1070
|
-
created: z.string().default("2026-06-
|
|
1071
|
-
updated: z.string().default("2026-06-
|
|
1073
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
1074
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
1072
1075
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1073
1076
|
guardrail_config: z.nullable(
|
|
1074
1077
|
z.union([
|
|
@@ -1249,8 +1252,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1249
1252
|
> = z.object({
|
|
1250
1253
|
_id: z.string(),
|
|
1251
1254
|
description: z.string(),
|
|
1252
|
-
created: z.string().default("2026-06-
|
|
1253
|
-
updated: z.string().default("2026-06-
|
|
1255
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
1256
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
1254
1257
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1255
1258
|
guardrail_config: z.nullable(
|
|
1256
1259
|
z.union([
|
|
@@ -2081,8 +2084,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2081
2084
|
> = z.object({
|
|
2082
2085
|
_id: z.string(),
|
|
2083
2086
|
description: z.string(),
|
|
2084
|
-
created: z.string().default("2026-06-
|
|
2085
|
-
updated: z.string().default("2026-06-
|
|
2087
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2088
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2086
2089
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2087
2090
|
guardrail_config: z.nullable(
|
|
2088
2091
|
z.union([
|
|
@@ -2265,8 +2268,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2265
2268
|
> = z.object({
|
|
2266
2269
|
_id: z.string(),
|
|
2267
2270
|
description: z.string(),
|
|
2268
|
-
created: z.string().default("2026-06-
|
|
2269
|
-
updated: z.string().default("2026-06-
|
|
2271
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2272
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2270
2273
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2271
2274
|
guardrail_config: z.nullable(
|
|
2272
2275
|
z.union([
|
|
@@ -2445,8 +2448,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2445
2448
|
> = z.object({
|
|
2446
2449
|
_id: z.string(),
|
|
2447
2450
|
description: z.string(),
|
|
2448
|
-
created: z.string().default("2026-06-
|
|
2449
|
-
updated: z.string().default("2026-06-
|
|
2451
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2452
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2450
2453
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2451
2454
|
guardrail_config: z.nullable(
|
|
2452
2455
|
z.union([
|
|
@@ -2637,8 +2640,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2637
2640
|
> = z.object({
|
|
2638
2641
|
_id: z.string(),
|
|
2639
2642
|
description: z.string(),
|
|
2640
|
-
created: z.string().default("2026-06-
|
|
2641
|
-
updated: z.string().default("2026-06-
|
|
2643
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2644
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
2642
2645
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2643
2646
|
guardrail_config: z.nullable(
|
|
2644
2647
|
z.union([
|
|
@@ -3005,8 +3008,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
3005
3008
|
> = z.object({
|
|
3006
3009
|
_id: z.string(),
|
|
3007
3010
|
description: z.string(),
|
|
3008
|
-
created: z.string().default("2026-06-
|
|
3009
|
-
updated: z.string().default("2026-06-
|
|
3011
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3012
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3010
3013
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3011
3014
|
guardrail_config: z.nullable(
|
|
3012
3015
|
z.union([
|
|
@@ -3022,11 +3025,11 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
3022
3025
|
]),
|
|
3023
3026
|
).optional(),
|
|
3024
3027
|
type: GetEvalsLLMEvalsType$inboundSchema,
|
|
3025
|
-
repetitions: z.number().int().optional(),
|
|
3028
|
+
repetitions: z.nullable(z.number().int()).optional(),
|
|
3026
3029
|
prompt: z.string(),
|
|
3027
|
-
categories: z.array(z.string()).optional(),
|
|
3028
|
-
categorical_labels: z.
|
|
3029
|
-
z.lazy(() => GetEvalsLLMEvalsCategoricalLabels$inboundSchema),
|
|
3030
|
+
categories: z.nullable(z.array(z.string())).optional(),
|
|
3031
|
+
categorical_labels: z.nullable(
|
|
3032
|
+
z.array(z.lazy(() => GetEvalsLLMEvalsCategoricalLabels$inboundSchema)),
|
|
3030
3033
|
).optional(),
|
|
3031
3034
|
dataset_id: z.string().optional(),
|
|
3032
3035
|
key: z.string(),
|
|
@@ -3218,8 +3221,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3218
3221
|
> = z.object({
|
|
3219
3222
|
_id: z.string(),
|
|
3220
3223
|
description: z.string(),
|
|
3221
|
-
created: z.string().default("2026-06-
|
|
3222
|
-
updated: z.string().default("2026-06-
|
|
3224
|
+
created: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3225
|
+
updated: z.string().default("2026-06-08T13:07:18.574Z"),
|
|
3223
3226
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3224
3227
|
guardrail_config: z.nullable(
|
|
3225
3228
|
z.union([
|
|
@@ -3235,11 +3238,11 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3235
3238
|
]),
|
|
3236
3239
|
).optional(),
|
|
3237
3240
|
type: GetEvalsLLMType$inboundSchema,
|
|
3238
|
-
repetitions: z.number().int().optional(),
|
|
3241
|
+
repetitions: z.nullable(z.number().int()).optional(),
|
|
3239
3242
|
prompt: z.string(),
|
|
3240
|
-
categories: z.array(z.string()).optional(),
|
|
3241
|
-
categorical_labels: z.
|
|
3242
|
-
z.lazy(() => GetEvalsLLMCategoricalLabels$inboundSchema),
|
|
3243
|
+
categories: z.nullable(z.array(z.string())).optional(),
|
|
3244
|
+
categorical_labels: z.nullable(
|
|
3245
|
+
z.array(z.lazy(() => GetEvalsLLMCategoricalLabels$inboundSchema)),
|
|
3243
3246
|
).optional(),
|
|
3244
3247
|
dataset_id: z.string().optional(),
|
|
3245
3248
|
key: z.string(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-06-
|
|
143
|
+
"2026-06-08T13:07:17.066Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-06-
|
|
188
|
+
"2026-06-08T13:07:17.066Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-06-
|
|
144
|
+
"2026-06-08T13:07:17.066Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-06-
|
|
189
|
+
"2026-06-08T13:07:17.066Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1270
1270
|
),
|
|
1271
1271
|
reviewed_by_id: z.string(),
|
|
1272
1272
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1273
|
-
"2026-06-
|
|
1273
|
+
"2026-06-08T13:07:39.427Z",
|
|
1274
1274
|
).transform(v => new Date(v)),
|
|
1275
1275
|
type: z.literal("string_array"),
|
|
1276
1276
|
values: z.array(z.string()),
|
|
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1320
1320
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
1321
1321
|
reviewed_by_id: z.string(),
|
|
1322
1322
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1323
|
-
"2026-06-
|
|
1323
|
+
"2026-06-08T13:07:39.427Z",
|
|
1324
1324
|
).transform(v => new Date(v)),
|
|
1325
1325
|
type: z.literal("number"),
|
|
1326
1326
|
value: z.number(),
|
|
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1369
1369
|
.default("orq"),
|
|
1370
1370
|
reviewed_by_id: z.string(),
|
|
1371
1371
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1372
|
-
"2026-06-
|
|
1372
|
+
"2026-06-08T13:07:39.426Z",
|
|
1373
1373
|
).transform(v => new Date(v)),
|
|
1374
1374
|
type: z.literal("string"),
|
|
1375
1375
|
value: z.string(),
|
|
@@ -1448,7 +1448,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1448
1448
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1449
1449
|
.optional(),
|
|
1450
1450
|
updated: z.string().datetime({ offset: true }).default(
|
|
1451
|
-
"2026-06-
|
|
1451
|
+
"2026-06-08T13:07:17.066Z",
|
|
1452
1452
|
).transform(v => new Date(v)),
|
|
1453
1453
|
}).transform((v) => {
|
|
1454
1454
|
return remap$(v, {
|
|
@@ -156,7 +156,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
156
156
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
157
157
|
.optional(),
|
|
158
158
|
updated: z.string().datetime({ offset: true }).default(
|
|
159
|
-
"2026-06-
|
|
159
|
+
"2026-06-08T13:07:17.066Z",
|
|
160
160
|
).transform(v => new Date(v)),
|
|
161
161
|
}).transform((v) => {
|
|
162
162
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
182
182
|
z.ZodTypeDef,
|
|
183
183
|
unknown
|
|
184
184
|
> = z.object({
|
|
185
|
-
_id: z.string().default("
|
|
185
|
+
_id: z.string().default("01KTKNH3Q7EJAMJQJ8ZSC9YB2V"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -10,10 +10,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type ListKnowledgeBasesRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
15
|
-
*/
|
|
16
|
-
limit?: number | undefined;
|
|
17
13
|
/**
|
|
18
14
|
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
19
15
|
*/
|
|
@@ -22,6 +18,7 @@ export type ListKnowledgeBasesRequest = {
|
|
|
22
18
|
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
23
19
|
*/
|
|
24
20
|
endingBefore?: string | undefined;
|
|
21
|
+
limit?: number | undefined;
|
|
25
22
|
};
|
|
26
23
|
|
|
27
24
|
export const ListKnowledgeBasesObject = {
|
|
@@ -279,9 +276,9 @@ export type ListKnowledgeBasesResponseBody = {
|
|
|
279
276
|
|
|
280
277
|
/** @internal */
|
|
281
278
|
export type ListKnowledgeBasesRequest$Outbound = {
|
|
282
|
-
limit: number;
|
|
283
279
|
starting_after?: string | undefined;
|
|
284
280
|
ending_before?: string | undefined;
|
|
281
|
+
limit: number;
|
|
285
282
|
};
|
|
286
283
|
|
|
287
284
|
/** @internal */
|
|
@@ -290,9 +287,9 @@ export const ListKnowledgeBasesRequest$outboundSchema: z.ZodType<
|
|
|
290
287
|
z.ZodTypeDef,
|
|
291
288
|
ListKnowledgeBasesRequest
|
|
292
289
|
> = z.object({
|
|
293
|
-
limit: z.number().int().default(10),
|
|
294
290
|
startingAfter: z.string().optional(),
|
|
295
291
|
endingBefore: z.string().optional(),
|
|
292
|
+
limit: z.number().default(300),
|
|
296
293
|
}).transform((v) => {
|
|
297
294
|
return remap$(v, {
|
|
298
295
|
startingAfter: "starting_after",
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-06-
|
|
321
|
+
"2026-06-08T13:07:17.066Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-06-
|
|
367
|
+
"2026-06-08T13:07:17.066Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -173,7 +173,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
173
173
|
humanReviewId: z.string(),
|
|
174
174
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
175
175
|
.default("orq"),
|
|
176
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
176
|
+
reviewedAt: z.date().default(() => new Date("2026-06-08T13:07:39.574Z"))
|
|
177
177
|
.transform(v => v.toISOString()),
|
|
178
178
|
type: z.literal("string_array"),
|
|
179
179
|
values: z.array(z.string()),
|
|
@@ -225,7 +225,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
225
225
|
source: PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default(
|
|
226
226
|
"orq",
|
|
227
227
|
),
|
|
228
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
228
|
+
reviewedAt: z.date().default(() => new Date("2026-06-08T13:07:39.574Z"))
|
|
229
229
|
.transform(v => v.toISOString()),
|
|
230
230
|
type: z.literal("number"),
|
|
231
231
|
value: z.number(),
|
|
@@ -281,7 +281,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
281
281
|
evaluationType: EvaluationType$outboundSchema,
|
|
282
282
|
humanReviewId: z.string(),
|
|
283
283
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
284
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
284
|
+
reviewedAt: z.date().default(() => new Date("2026-06-08T13:07:39.573Z"))
|
|
285
285
|
.transform(v => v.toISOString()),
|
|
286
286
|
type: z.literal("string"),
|
|
287
287
|
value: z.string(),
|