@orq-ai/node 4.10.9 → 4.10.12
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/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +13 -4
- package/lib/sdks.js.map +1 -1
- 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.js +6 -6
- package/models/operations/getalltools.js +6 -6
- 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/modelcreateawsbedrock.d.ts +4 -0
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +4 -0
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +4 -0
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +4 -0
- package/models/operations/modelupdateawsbedrock.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.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 -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.js +7 -7
- package/package.json +6 -6
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +55 -48
- package/packages/orq-rc/src/models/operations/createtool.ts +26 -26
- package/packages/orq-rc/src/models/operations/getalltools.ts +26 -26
- package/packages/orq-rc/src/models/operations/getevals.ts +33 -30
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +3 -6
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +26 -26
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +33 -30
- package/packages/orq-rc/src/models/operations/updatetool.ts +27 -27
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +13 -4
- 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 +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- 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/modelcreateawsbedrock.ts +8 -0
- package/src/models/operations/modelupdateawsbedrock.ts +8 -0
- 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 +33 -30
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +1 -4
|
@@ -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(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-06-
|
|
274
|
+
"2026-06-08T13:07:17.066Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-06-
|
|
319
|
+
"2026-06-08T13:07:17.066Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -1207,7 +1207,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1207
1207
|
.default("orq"),
|
|
1208
1208
|
reviewed_by_id: z.string(),
|
|
1209
1209
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1210
|
-
"2026-06-
|
|
1210
|
+
"2026-06-08T13:07:39.435Z",
|
|
1211
1211
|
).transform(v => new Date(v)),
|
|
1212
1212
|
type: z.literal("string_array"),
|
|
1213
1213
|
values: z.array(z.string()),
|
|
@@ -1255,7 +1255,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1255
1255
|
),
|
|
1256
1256
|
reviewed_by_id: z.string(),
|
|
1257
1257
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1258
|
-
"2026-06-
|
|
1258
|
+
"2026-06-08T13:07:39.434Z",
|
|
1259
1259
|
).transform(v => new Date(v)),
|
|
1260
1260
|
type: z.literal("number"),
|
|
1261
1261
|
value: z.number(),
|
|
@@ -1300,7 +1300,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1300
1300
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
1301
1301
|
reviewed_by_id: z.string(),
|
|
1302
1302
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1303
|
-
"2026-06-
|
|
1303
|
+
"2026-06-08T13:07:39.434Z",
|
|
1304
1304
|
).transform(v => new Date(v)),
|
|
1305
1305
|
type: z.literal("string"),
|
|
1306
1306
|
value: z.string(),
|
|
@@ -1377,7 +1377,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1377
1377
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1378
1378
|
.optional(),
|
|
1379
1379
|
updated: z.string().datetime({ offset: true }).default(
|
|
1380
|
-
"2026-06-
|
|
1380
|
+
"2026-06-08T13:07:17.066Z",
|
|
1381
1381
|
).transform(v => new Date(v)),
|
|
1382
1382
|
}).transform((v) => {
|
|
1383
1383
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-06-
|
|
129
|
+
"2026-06-08T13:07:17.066Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -118,7 +118,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
118
118
|
z.ZodTypeDef,
|
|
119
119
|
unknown
|
|
120
120
|
> = z.object({
|
|
121
|
-
_id: z.string().default("
|
|
121
|
+
_id: z.string().default("01KTKNH3Q9HF3Q99C6RHZBWYJC"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.nullable(z.string()).optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|