@orq-ai/node 3.8.0-rc.30 → 3.8.0-rc.32
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 +570 -570
- package/bin/mcp-server.js.map +40 -40
- 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/components/deployments.d.ts +12 -12
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +12 -12
- package/models/components/deployments.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +12 -12
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +14 -14
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +36 -36
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +56 -56
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createprompt.d.ts +8 -8
- package/models/operations/createprompt.js +8 -8
- package/models/operations/deploymentcreatemetric.d.ts +12 -12
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +12 -12
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +16 -16
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +16 -16
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +4 -4
- package/models/operations/deploymentinvoke.js +8 -8
- package/models/operations/deployments.d.ts +4 -4
- package/models/operations/deployments.js +4 -4
- package/models/operations/deploymentstream.d.ts +16 -16
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +16 -16
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +4 -4
- package/models/operations/getallprompts.js +4 -4
- package/models/operations/getevals.d.ts +36 -36
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +108 -108
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +4 -4
- package/models/operations/getoneprompt.js +4 -4
- package/models/operations/getpromptversion.d.ts +4 -4
- package/models/operations/getpromptversion.js +4 -4
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.d.ts +6 -6
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +4 -4
- package/models/operations/listpromptversions.js +4 -4
- package/models/operations/postv2modelslitellmimport.d.ts +4 -4
- package/models/operations/postv2modelslitellmimport.js +8 -8
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.d.ts +6 -6
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.d.ts +12 -12
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +14 -14
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.d.ts +38 -38
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +60 -60
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateprompt.d.ts +8 -8
- package/models/operations/updateprompt.js +8 -8
- 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/components/deployments.ts +24 -24
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +26 -26
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +121 -121
- package/src/models/operations/createprompt.ts +19 -19
- package/src/models/operations/deploymentcreatemetric.ts +30 -26
- package/src/models/operations/deploymentgetconfig.ts +34 -34
- package/src/models/operations/deploymentinvoke.ts +13 -13
- package/src/models/operations/deployments.ts +10 -10
- package/src/models/operations/deploymentstream.ts +34 -34
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getallprompts.ts +10 -10
- package/src/models/operations/getevals.ts +220 -220
- package/src/models/operations/getoneprompt.ts +10 -10
- package/src/models/operations/getpromptversion.ts +10 -10
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +20 -16
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +10 -10
- package/src/models/operations/postv2modelslitellmimport.ts +18 -18
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +14 -14
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +29 -27
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +139 -139
- package/src/models/operations/updateprompt.ts +20 -20
- package/src/types/constdatetime.ts +1 -1
- package/types/constdatetime.js +1 -1
|
@@ -108,7 +108,7 @@ exports.FileGetResponseBody$inboundSchema = z.object({
|
|
|
108
108
|
bytes: z.number(),
|
|
109
109
|
file_name: z.string(),
|
|
110
110
|
workspace_id: z.string(),
|
|
111
|
-
created: z.string().datetime({ offset: true }).default("2025-06-
|
|
111
|
+
created: z.string().datetime({ offset: true }).default("2025-06-17T22:56:21.116Z").transform(v => new Date(v)),
|
|
112
112
|
}).transform((v) => {
|
|
113
113
|
return (0, primitives_js_1.remap)(v, {
|
|
114
114
|
"_id": "id",
|
|
@@ -125,7 +125,7 @@ exports.FileGetResponseBody$outboundSchema = z.object({
|
|
|
125
125
|
bytes: z.number(),
|
|
126
126
|
fileName: z.string(),
|
|
127
127
|
workspaceId: z.string(),
|
|
128
|
-
created: z.date().default(() => new Date("2025-06-
|
|
128
|
+
created: z.date().default(() => new Date("2025-06-17T22:56:21.116Z"))
|
|
129
129
|
.transform(v => v.toISOString()),
|
|
130
130
|
}).transform((v) => {
|
|
131
131
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -134,7 +134,7 @@ exports.FileListData$inboundSchema = z.object({
|
|
|
134
134
|
bytes: z.number(),
|
|
135
135
|
file_name: z.string(),
|
|
136
136
|
workspace_id: z.string(),
|
|
137
|
-
created: z.string().datetime({ offset: true }).default("2025-06-
|
|
137
|
+
created: z.string().datetime({ offset: true }).default("2025-06-17T22:56:21.116Z").transform(v => new Date(v)),
|
|
138
138
|
}).transform((v) => {
|
|
139
139
|
return (0, primitives_js_1.remap)(v, {
|
|
140
140
|
"_id": "id",
|
|
@@ -151,7 +151,7 @@ exports.FileListData$outboundSchema = z.object({
|
|
|
151
151
|
bytes: z.number(),
|
|
152
152
|
fileName: z.string(),
|
|
153
153
|
workspaceId: z.string(),
|
|
154
|
-
created: z.date().default(() => new Date("2025-06-
|
|
154
|
+
created: z.date().default(() => new Date("2025-06-17T22:56:21.116Z"))
|
|
155
155
|
.transform(v => v.toISOString()),
|
|
156
156
|
}).transform((v) => {
|
|
157
157
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -166,7 +166,7 @@ exports.FileUploadResponseBody$inboundSchema = z.object({
|
|
|
166
166
|
bytes: z.number(),
|
|
167
167
|
file_name: z.string(),
|
|
168
168
|
workspace_id: z.string(),
|
|
169
|
-
created: z.string().datetime({ offset: true }).default("2025-06-
|
|
169
|
+
created: z.string().datetime({ offset: true }).default("2025-06-17T22:56:21.116Z").transform(v => new Date(v)),
|
|
170
170
|
}).transform((v) => {
|
|
171
171
|
return (0, primitives_js_1.remap)(v, {
|
|
172
172
|
"_id": "id",
|
|
@@ -183,7 +183,7 @@ exports.FileUploadResponseBody$outboundSchema = z.object({
|
|
|
183
183
|
bytes: z.number(),
|
|
184
184
|
fileName: z.string(),
|
|
185
185
|
workspaceId: z.string(),
|
|
186
|
-
created: z.date().default(() => new Date("2025-06-
|
|
186
|
+
created: z.date().default(() => new Date("2025-06-17T22:56:21.116Z"))
|
|
187
187
|
.transform(v => v.toISOString()),
|
|
188
188
|
}).transform((v) => {
|
|
189
189
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -88,7 +88,7 @@ export type GetAllPromptsResponseFormat1 = {
|
|
|
88
88
|
*
|
|
89
89
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
90
90
|
*/
|
|
91
|
-
export type GetAllPromptsResponseFormat =
|
|
91
|
+
export type GetAllPromptsResponseFormat = GetAllPromptsResponseFormat1 | GetAllPromptsResponseFormat2;
|
|
92
92
|
/**
|
|
93
93
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
94
94
|
*/
|
|
@@ -186,7 +186,7 @@ export type GetAllPromptsModelParameters = {
|
|
|
186
186
|
*
|
|
187
187
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
188
188
|
*/
|
|
189
|
-
responseFormat?:
|
|
189
|
+
responseFormat?: GetAllPromptsResponseFormat1 | GetAllPromptsResponseFormat2 | null | undefined;
|
|
190
190
|
/**
|
|
191
191
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
192
192
|
*/
|
|
@@ -674,7 +674,7 @@ export declare function getAllPromptsResponseFormat1FromJSON(jsonString: string)
|
|
|
674
674
|
/** @internal */
|
|
675
675
|
export declare const GetAllPromptsResponseFormat$inboundSchema: z.ZodType<GetAllPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
676
676
|
/** @internal */
|
|
677
|
-
export type GetAllPromptsResponseFormat$Outbound =
|
|
677
|
+
export type GetAllPromptsResponseFormat$Outbound = GetAllPromptsResponseFormat1$Outbound | GetAllPromptsResponseFormat2$Outbound;
|
|
678
678
|
/** @internal */
|
|
679
679
|
export declare const GetAllPromptsResponseFormat$outboundSchema: z.ZodType<GetAllPromptsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat>;
|
|
680
680
|
/**
|
|
@@ -769,7 +769,7 @@ export type GetAllPromptsModelParameters$Outbound = {
|
|
|
769
769
|
dimensions?: string | undefined;
|
|
770
770
|
quality?: string | undefined;
|
|
771
771
|
style?: string | undefined;
|
|
772
|
-
responseFormat?:
|
|
772
|
+
responseFormat?: GetAllPromptsResponseFormat1$Outbound | GetAllPromptsResponseFormat2$Outbound | null | undefined;
|
|
773
773
|
photoRealVersion?: string | undefined;
|
|
774
774
|
encoding_format?: string | undefined;
|
|
775
775
|
reasoningEffort?: string | undefined;
|
|
@@ -442,13 +442,13 @@ function getAllPromptsResponseFormat1FromJSON(jsonString) {
|
|
|
442
442
|
}
|
|
443
443
|
/** @internal */
|
|
444
444
|
exports.GetAllPromptsResponseFormat$inboundSchema = z.union([
|
|
445
|
-
z.lazy(() => exports.GetAllPromptsResponseFormat2$inboundSchema),
|
|
446
445
|
z.lazy(() => exports.GetAllPromptsResponseFormat1$inboundSchema),
|
|
446
|
+
z.lazy(() => exports.GetAllPromptsResponseFormat2$inboundSchema),
|
|
447
447
|
]);
|
|
448
448
|
/** @internal */
|
|
449
449
|
exports.GetAllPromptsResponseFormat$outboundSchema = z.union([
|
|
450
|
-
z.lazy(() => exports.GetAllPromptsResponseFormat2$outboundSchema),
|
|
451
450
|
z.lazy(() => exports.GetAllPromptsResponseFormat1$outboundSchema),
|
|
451
|
+
z.lazy(() => exports.GetAllPromptsResponseFormat2$outboundSchema),
|
|
452
452
|
]);
|
|
453
453
|
/**
|
|
454
454
|
* @internal
|
|
@@ -527,8 +527,8 @@ exports.GetAllPromptsModelParameters$inboundSchema = z.object({
|
|
|
527
527
|
quality: z.string().optional(),
|
|
528
528
|
style: z.string().optional(),
|
|
529
529
|
responseFormat: z.nullable(z.union([
|
|
530
|
-
z.lazy(() => exports.GetAllPromptsResponseFormat2$inboundSchema),
|
|
531
530
|
z.lazy(() => exports.GetAllPromptsResponseFormat1$inboundSchema),
|
|
531
|
+
z.lazy(() => exports.GetAllPromptsResponseFormat2$inboundSchema),
|
|
532
532
|
])).optional(),
|
|
533
533
|
photoRealVersion: exports.GetAllPromptsPhotoRealVersion$inboundSchema.optional(),
|
|
534
534
|
encoding_format: exports.GetAllPromptsEncodingFormat$inboundSchema.optional(),
|
|
@@ -554,8 +554,8 @@ exports.GetAllPromptsModelParameters$outboundSchema = z.object({
|
|
|
554
554
|
quality: z.string().optional(),
|
|
555
555
|
style: z.string().optional(),
|
|
556
556
|
responseFormat: z.nullable(z.union([
|
|
557
|
-
z.lazy(() => exports.GetAllPromptsResponseFormat2$outboundSchema),
|
|
558
557
|
z.lazy(() => exports.GetAllPromptsResponseFormat1$outboundSchema),
|
|
558
|
+
z.lazy(() => exports.GetAllPromptsResponseFormat2$outboundSchema),
|
|
559
559
|
])).optional(),
|
|
560
560
|
photoRealVersion: exports.GetAllPromptsPhotoRealVersion$outboundSchema.optional(),
|
|
561
561
|
encodingFormat: exports.GetAllPromptsEncodingFormat$outboundSchema.optional(),
|
|
@@ -48,7 +48,7 @@ export type GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean = {
|
|
|
48
48
|
type: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyData7Type;
|
|
49
49
|
value: boolean;
|
|
50
50
|
};
|
|
51
|
-
export type GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig =
|
|
51
|
+
export type GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig = GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean;
|
|
52
52
|
export declare const GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyType: {
|
|
53
53
|
readonly TypescriptEval: "typescript_eval";
|
|
54
54
|
};
|
|
@@ -58,7 +58,7 @@ export type Typescript = {
|
|
|
58
58
|
description: string;
|
|
59
59
|
created?: string | undefined;
|
|
60
60
|
updated?: string | undefined;
|
|
61
|
-
guardrailConfig?:
|
|
61
|
+
guardrailConfig?: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean | undefined;
|
|
62
62
|
code: string;
|
|
63
63
|
type: GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyType;
|
|
64
64
|
key: string;
|
|
@@ -91,7 +91,7 @@ export type GetEvalsGuardrailConfigEvalsResponse200Boolean = {
|
|
|
91
91
|
type: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyData6Type;
|
|
92
92
|
value: boolean;
|
|
93
93
|
};
|
|
94
|
-
export type GetEvalsDataEvalsResponse200GuardrailConfig =
|
|
94
|
+
export type GetEvalsDataEvalsResponse200GuardrailConfig = GetEvalsGuardrailConfigEvalsResponse200Number | GetEvalsGuardrailConfigEvalsResponse200Boolean;
|
|
95
95
|
export declare const GetEvalsDataEvalsResponse200ApplicationJSONType: {
|
|
96
96
|
readonly Ragas: "ragas";
|
|
97
97
|
};
|
|
@@ -115,7 +115,7 @@ export type Ragas = {
|
|
|
115
115
|
description: string;
|
|
116
116
|
created?: string | undefined;
|
|
117
117
|
updated?: string | undefined;
|
|
118
|
-
guardrailConfig?:
|
|
118
|
+
guardrailConfig?: GetEvalsGuardrailConfigEvalsResponse200Number | GetEvalsGuardrailConfigEvalsResponse200Boolean | undefined;
|
|
119
119
|
type: GetEvalsDataEvalsResponse200ApplicationJSONType;
|
|
120
120
|
ragasMetric: RagasMetric;
|
|
121
121
|
key: string;
|
|
@@ -149,7 +149,7 @@ export type GetEvalsGuardrailConfigEvalsResponseBoolean = {
|
|
|
149
149
|
type: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyData5Type;
|
|
150
150
|
value: boolean;
|
|
151
151
|
};
|
|
152
|
-
export type GetEvalsDataEvalsResponseGuardrailConfig =
|
|
152
|
+
export type GetEvalsDataEvalsResponseGuardrailConfig = GetEvalsGuardrailConfigEvalsResponseNumber | GetEvalsGuardrailConfigEvalsResponseBoolean;
|
|
153
153
|
export declare const GetEvalsDataEvalsResponse200Type: {
|
|
154
154
|
readonly FunctionEval: "function_eval";
|
|
155
155
|
};
|
|
@@ -333,15 +333,15 @@ export type FunctionParams1 = {
|
|
|
333
333
|
type: FunctionParamsType;
|
|
334
334
|
value: string;
|
|
335
335
|
};
|
|
336
|
-
export type DataFunctionParams =
|
|
336
|
+
export type DataFunctionParams = Twelve | FunctionParams1 | FunctionParams2 | FunctionParams3 | FunctionParams4 | Eight | Nine | Eleven | Thirteen | Fifteen | Five | Six | Seven | Ten | Fourteen | Sixteen | Seventeen | Eighteen | Nineteen | Twenty | TwentyOne | TwentyTwo | TwentyThree | TwentyFour;
|
|
337
337
|
export type DataFunction = {
|
|
338
338
|
id: string;
|
|
339
339
|
description: string;
|
|
340
340
|
created?: string | undefined;
|
|
341
341
|
updated?: string | undefined;
|
|
342
|
-
guardrailConfig?:
|
|
342
|
+
guardrailConfig?: GetEvalsGuardrailConfigEvalsResponseNumber | GetEvalsGuardrailConfigEvalsResponseBoolean | undefined;
|
|
343
343
|
type: GetEvalsDataEvalsResponse200Type;
|
|
344
|
-
functionParams:
|
|
344
|
+
functionParams: Twelve | FunctionParams1 | FunctionParams2 | FunctionParams3 | FunctionParams4 | Eight | Nine | Eleven | Thirteen | Fifteen | Five | Six | Seven | Ten | Fourteen | Sixteen | Seventeen | Eighteen | Nineteen | Twenty | TwentyOne | TwentyTwo | TwentyThree | TwentyFour;
|
|
345
345
|
key: string;
|
|
346
346
|
};
|
|
347
347
|
export declare const GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataType: {
|
|
@@ -372,7 +372,7 @@ export type GetEvalsGuardrailConfigEvalsBoolean = {
|
|
|
372
372
|
type: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType;
|
|
373
373
|
value: boolean;
|
|
374
374
|
};
|
|
375
|
-
export type GetEvalsDataEvalsGuardrailConfig =
|
|
375
|
+
export type GetEvalsDataEvalsGuardrailConfig = GetEvalsGuardrailConfigEvalsNumber | GetEvalsGuardrailConfigEvalsBoolean;
|
|
376
376
|
export declare const GetEvalsDataEvalsResponseType: {
|
|
377
377
|
readonly PythonEval: "python_eval";
|
|
378
378
|
};
|
|
@@ -382,7 +382,7 @@ export type DataPython = {
|
|
|
382
382
|
description: string;
|
|
383
383
|
created?: string | undefined;
|
|
384
384
|
updated?: string | undefined;
|
|
385
|
-
guardrailConfig?:
|
|
385
|
+
guardrailConfig?: GetEvalsGuardrailConfigEvalsNumber | GetEvalsGuardrailConfigEvalsBoolean | undefined;
|
|
386
386
|
code: string;
|
|
387
387
|
type: GetEvalsDataEvalsResponseType;
|
|
388
388
|
key: string;
|
|
@@ -415,7 +415,7 @@ export type GetEvalsGuardrailConfigBoolean = {
|
|
|
415
415
|
type: GetEvalsGuardrailConfigEvalsResponse200Type;
|
|
416
416
|
value: boolean;
|
|
417
417
|
};
|
|
418
|
-
export type GetEvalsDataGuardrailConfig =
|
|
418
|
+
export type GetEvalsDataGuardrailConfig = GetEvalsGuardrailConfigNumber | GetEvalsGuardrailConfigBoolean;
|
|
419
419
|
export declare const GetEvalsDataEvalsType: {
|
|
420
420
|
readonly HttpEval: "http_eval";
|
|
421
421
|
};
|
|
@@ -430,7 +430,7 @@ export type DataHTTP = {
|
|
|
430
430
|
description: string;
|
|
431
431
|
created?: string | undefined;
|
|
432
432
|
updated?: string | undefined;
|
|
433
|
-
guardrailConfig?:
|
|
433
|
+
guardrailConfig?: GetEvalsGuardrailConfigNumber | GetEvalsGuardrailConfigBoolean | undefined;
|
|
434
434
|
type: GetEvalsDataEvalsType;
|
|
435
435
|
url: string;
|
|
436
436
|
method: DataMethod;
|
|
@@ -470,7 +470,7 @@ export type GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDa
|
|
|
470
470
|
type: GetEvalsGuardrailConfigEvalsType;
|
|
471
471
|
value: boolean;
|
|
472
472
|
};
|
|
473
|
-
export type DataGuardrailConfig =
|
|
473
|
+
export type DataGuardrailConfig = GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean;
|
|
474
474
|
export declare const GetEvalsDataType: {
|
|
475
475
|
readonly JsonSchema: "json_schema";
|
|
476
476
|
};
|
|
@@ -480,7 +480,7 @@ export type DataJSON = {
|
|
|
480
480
|
description: string;
|
|
481
481
|
created?: string | undefined;
|
|
482
482
|
updated?: string | undefined;
|
|
483
|
-
guardrailConfig?:
|
|
483
|
+
guardrailConfig?: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean | undefined;
|
|
484
484
|
type: GetEvalsDataType;
|
|
485
485
|
schema: string;
|
|
486
486
|
key: string;
|
|
@@ -513,7 +513,7 @@ export type GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBo
|
|
|
513
513
|
type: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyData1Type;
|
|
514
514
|
value: boolean;
|
|
515
515
|
};
|
|
516
|
-
export type GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig =
|
|
516
|
+
export type GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig = GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean;
|
|
517
517
|
export declare const DataType: {
|
|
518
518
|
readonly LlmEval: "llm_eval";
|
|
519
519
|
};
|
|
@@ -523,19 +523,19 @@ export type DataLLM = {
|
|
|
523
523
|
description: string;
|
|
524
524
|
created?: string | undefined;
|
|
525
525
|
updated?: string | undefined;
|
|
526
|
-
guardrailConfig?:
|
|
526
|
+
guardrailConfig?: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean | undefined;
|
|
527
527
|
type: DataType;
|
|
528
528
|
prompt: string;
|
|
529
529
|
key: string;
|
|
530
530
|
model: string;
|
|
531
531
|
};
|
|
532
|
-
export type GetEvalsData =
|
|
532
|
+
export type GetEvalsData = DataHTTP | DataLLM | Ragas | DataJSON | DataPython | DataFunction | Typescript;
|
|
533
533
|
/**
|
|
534
534
|
* Returns a list of evals
|
|
535
535
|
*/
|
|
536
536
|
export type GetEvalsResponseBody = {
|
|
537
537
|
object: GetEvalsObject;
|
|
538
|
-
data: Array<
|
|
538
|
+
data: Array<DataHTTP | DataLLM | Ragas | DataJSON | DataPython | DataFunction | Typescript>;
|
|
539
539
|
hasMore: boolean;
|
|
540
540
|
};
|
|
541
541
|
/** @internal */
|
|
@@ -696,7 +696,7 @@ export declare function getEvalsGuardrailConfigEvalsResponse200ApplicationJSONBo
|
|
|
696
696
|
/** @internal */
|
|
697
697
|
export declare const GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig$inboundSchema: z.ZodType<GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig, z.ZodTypeDef, unknown>;
|
|
698
698
|
/** @internal */
|
|
699
|
-
export type GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig$Outbound =
|
|
699
|
+
export type GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig$Outbound = GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$Outbound | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$Outbound;
|
|
700
700
|
/** @internal */
|
|
701
701
|
export declare const GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig$outboundSchema: z.ZodType<GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig$Outbound, z.ZodTypeDef, GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig>;
|
|
702
702
|
/**
|
|
@@ -739,7 +739,7 @@ export type Typescript$Outbound = {
|
|
|
739
739
|
description: string;
|
|
740
740
|
created: string;
|
|
741
741
|
updated: string;
|
|
742
|
-
guardrail_config?:
|
|
742
|
+
guardrail_config?: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$Outbound | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$Outbound | undefined;
|
|
743
743
|
code: string;
|
|
744
744
|
type: string;
|
|
745
745
|
key: string;
|
|
@@ -876,7 +876,7 @@ export declare function getEvalsGuardrailConfigEvalsResponse200BooleanFromJSON(j
|
|
|
876
876
|
/** @internal */
|
|
877
877
|
export declare const GetEvalsDataEvalsResponse200GuardrailConfig$inboundSchema: z.ZodType<GetEvalsDataEvalsResponse200GuardrailConfig, z.ZodTypeDef, unknown>;
|
|
878
878
|
/** @internal */
|
|
879
|
-
export type GetEvalsDataEvalsResponse200GuardrailConfig$Outbound =
|
|
879
|
+
export type GetEvalsDataEvalsResponse200GuardrailConfig$Outbound = GetEvalsGuardrailConfigEvalsResponse200Number$Outbound | GetEvalsGuardrailConfigEvalsResponse200Boolean$Outbound;
|
|
880
880
|
/** @internal */
|
|
881
881
|
export declare const GetEvalsDataEvalsResponse200GuardrailConfig$outboundSchema: z.ZodType<GetEvalsDataEvalsResponse200GuardrailConfig$Outbound, z.ZodTypeDef, GetEvalsDataEvalsResponse200GuardrailConfig>;
|
|
882
882
|
/**
|
|
@@ -957,7 +957,7 @@ export type Ragas$Outbound = {
|
|
|
957
957
|
description: string;
|
|
958
958
|
created: string;
|
|
959
959
|
updated: string;
|
|
960
|
-
guardrail_config?:
|
|
960
|
+
guardrail_config?: GetEvalsGuardrailConfigEvalsResponse200Number$Outbound | GetEvalsGuardrailConfigEvalsResponse200Boolean$Outbound | undefined;
|
|
961
961
|
type: string;
|
|
962
962
|
ragas_metric: string;
|
|
963
963
|
key: string;
|
|
@@ -1095,7 +1095,7 @@ export declare function getEvalsGuardrailConfigEvalsResponseBooleanFromJSON(json
|
|
|
1095
1095
|
/** @internal */
|
|
1096
1096
|
export declare const GetEvalsDataEvalsResponseGuardrailConfig$inboundSchema: z.ZodType<GetEvalsDataEvalsResponseGuardrailConfig, z.ZodTypeDef, unknown>;
|
|
1097
1097
|
/** @internal */
|
|
1098
|
-
export type GetEvalsDataEvalsResponseGuardrailConfig$Outbound =
|
|
1098
|
+
export type GetEvalsDataEvalsResponseGuardrailConfig$Outbound = GetEvalsGuardrailConfigEvalsResponseNumber$Outbound | GetEvalsGuardrailConfigEvalsResponseBoolean$Outbound;
|
|
1099
1099
|
/** @internal */
|
|
1100
1100
|
export declare const GetEvalsDataEvalsResponseGuardrailConfig$outboundSchema: z.ZodType<GetEvalsDataEvalsResponseGuardrailConfig$Outbound, z.ZodTypeDef, GetEvalsDataEvalsResponseGuardrailConfig>;
|
|
1101
1101
|
/**
|
|
@@ -2104,7 +2104,7 @@ export declare function functionParams1FromJSON(jsonString: string): SafeParseRe
|
|
|
2104
2104
|
/** @internal */
|
|
2105
2105
|
export declare const DataFunctionParams$inboundSchema: z.ZodType<DataFunctionParams, z.ZodTypeDef, unknown>;
|
|
2106
2106
|
/** @internal */
|
|
2107
|
-
export type DataFunctionParams$Outbound =
|
|
2107
|
+
export type DataFunctionParams$Outbound = Twelve$Outbound | FunctionParams1$Outbound | FunctionParams2$Outbound | FunctionParams3$Outbound | FunctionParams4$Outbound | Eight$Outbound | Nine$Outbound | Eleven$Outbound | Thirteen$Outbound | Fifteen$Outbound | Five$Outbound | Six$Outbound | Seven$Outbound | Ten$Outbound | Fourteen$Outbound | Sixteen$Outbound | Seventeen$Outbound | Eighteen$Outbound | Nineteen$Outbound | Twenty$Outbound | TwentyOne$Outbound | TwentyTwo$Outbound | TwentyThree$Outbound | TwentyFour$Outbound;
|
|
2108
2108
|
/** @internal */
|
|
2109
2109
|
export declare const DataFunctionParams$outboundSchema: z.ZodType<DataFunctionParams$Outbound, z.ZodTypeDef, DataFunctionParams>;
|
|
2110
2110
|
/**
|
|
@@ -2129,9 +2129,9 @@ export type DataFunction$Outbound = {
|
|
|
2129
2129
|
description: string;
|
|
2130
2130
|
created: string;
|
|
2131
2131
|
updated: string;
|
|
2132
|
-
guardrail_config?:
|
|
2132
|
+
guardrail_config?: GetEvalsGuardrailConfigEvalsResponseNumber$Outbound | GetEvalsGuardrailConfigEvalsResponseBoolean$Outbound | undefined;
|
|
2133
2133
|
type: string;
|
|
2134
|
-
function_params:
|
|
2134
|
+
function_params: Twelve$Outbound | FunctionParams1$Outbound | FunctionParams2$Outbound | FunctionParams3$Outbound | FunctionParams4$Outbound | Eight$Outbound | Nine$Outbound | Eleven$Outbound | Thirteen$Outbound | Fifteen$Outbound | Five$Outbound | Six$Outbound | Seven$Outbound | Ten$Outbound | Fourteen$Outbound | Sixteen$Outbound | Seventeen$Outbound | Eighteen$Outbound | Nineteen$Outbound | Twenty$Outbound | TwentyOne$Outbound | TwentyTwo$Outbound | TwentyThree$Outbound | TwentyFour$Outbound;
|
|
2135
2135
|
key: string;
|
|
2136
2136
|
};
|
|
2137
2137
|
/** @internal */
|
|
@@ -2266,7 +2266,7 @@ export declare function getEvalsGuardrailConfigEvalsBooleanFromJSON(jsonString:
|
|
|
2266
2266
|
/** @internal */
|
|
2267
2267
|
export declare const GetEvalsDataEvalsGuardrailConfig$inboundSchema: z.ZodType<GetEvalsDataEvalsGuardrailConfig, z.ZodTypeDef, unknown>;
|
|
2268
2268
|
/** @internal */
|
|
2269
|
-
export type GetEvalsDataEvalsGuardrailConfig$Outbound =
|
|
2269
|
+
export type GetEvalsDataEvalsGuardrailConfig$Outbound = GetEvalsGuardrailConfigEvalsNumber$Outbound | GetEvalsGuardrailConfigEvalsBoolean$Outbound;
|
|
2270
2270
|
/** @internal */
|
|
2271
2271
|
export declare const GetEvalsDataEvalsGuardrailConfig$outboundSchema: z.ZodType<GetEvalsDataEvalsGuardrailConfig$Outbound, z.ZodTypeDef, GetEvalsDataEvalsGuardrailConfig>;
|
|
2272
2272
|
/**
|
|
@@ -2309,7 +2309,7 @@ export type DataPython$Outbound = {
|
|
|
2309
2309
|
description: string;
|
|
2310
2310
|
created: string;
|
|
2311
2311
|
updated: string;
|
|
2312
|
-
guardrail_config?:
|
|
2312
|
+
guardrail_config?: GetEvalsGuardrailConfigEvalsNumber$Outbound | GetEvalsGuardrailConfigEvalsBoolean$Outbound | undefined;
|
|
2313
2313
|
code: string;
|
|
2314
2314
|
type: string;
|
|
2315
2315
|
key: string;
|
|
@@ -2446,7 +2446,7 @@ export declare function getEvalsGuardrailConfigBooleanFromJSON(jsonString: strin
|
|
|
2446
2446
|
/** @internal */
|
|
2447
2447
|
export declare const GetEvalsDataGuardrailConfig$inboundSchema: z.ZodType<GetEvalsDataGuardrailConfig, z.ZodTypeDef, unknown>;
|
|
2448
2448
|
/** @internal */
|
|
2449
|
-
export type GetEvalsDataGuardrailConfig$Outbound =
|
|
2449
|
+
export type GetEvalsDataGuardrailConfig$Outbound = GetEvalsGuardrailConfigNumber$Outbound | GetEvalsGuardrailConfigBoolean$Outbound;
|
|
2450
2450
|
/** @internal */
|
|
2451
2451
|
export declare const GetEvalsDataGuardrailConfig$outboundSchema: z.ZodType<GetEvalsDataGuardrailConfig$Outbound, z.ZodTypeDef, GetEvalsDataGuardrailConfig>;
|
|
2452
2452
|
/**
|
|
@@ -2509,7 +2509,7 @@ export type DataHTTP$Outbound = {
|
|
|
2509
2509
|
description: string;
|
|
2510
2510
|
created: string;
|
|
2511
2511
|
updated: string;
|
|
2512
|
-
guardrail_config?:
|
|
2512
|
+
guardrail_config?: GetEvalsGuardrailConfigNumber$Outbound | GetEvalsGuardrailConfigBoolean$Outbound | undefined;
|
|
2513
2513
|
type: string;
|
|
2514
2514
|
url: string;
|
|
2515
2515
|
method: string;
|
|
@@ -2653,7 +2653,7 @@ export declare function getEvalsGuardrailConfigEvalsResponse200ApplicationJSONRe
|
|
|
2653
2653
|
/** @internal */
|
|
2654
2654
|
export declare const DataGuardrailConfig$inboundSchema: z.ZodType<DataGuardrailConfig, z.ZodTypeDef, unknown>;
|
|
2655
2655
|
/** @internal */
|
|
2656
|
-
export type DataGuardrailConfig$Outbound =
|
|
2656
|
+
export type DataGuardrailConfig$Outbound = GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$Outbound | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$Outbound;
|
|
2657
2657
|
/** @internal */
|
|
2658
2658
|
export declare const DataGuardrailConfig$outboundSchema: z.ZodType<DataGuardrailConfig$Outbound, z.ZodTypeDef, DataGuardrailConfig>;
|
|
2659
2659
|
/**
|
|
@@ -2696,7 +2696,7 @@ export type DataJSON$Outbound = {
|
|
|
2696
2696
|
description: string;
|
|
2697
2697
|
created: string;
|
|
2698
2698
|
updated: string;
|
|
2699
|
-
guardrail_config?:
|
|
2699
|
+
guardrail_config?: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$Outbound | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$Outbound | undefined;
|
|
2700
2700
|
type: string;
|
|
2701
2701
|
schema: string;
|
|
2702
2702
|
key: string;
|
|
@@ -2833,7 +2833,7 @@ export declare function getEvalsGuardrailConfigEvalsResponse200ApplicationJSONRe
|
|
|
2833
2833
|
/** @internal */
|
|
2834
2834
|
export declare const GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig$inboundSchema: z.ZodType<GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig, z.ZodTypeDef, unknown>;
|
|
2835
2835
|
/** @internal */
|
|
2836
|
-
export type GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig$Outbound =
|
|
2836
|
+
export type GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig$Outbound = GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$Outbound | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$Outbound;
|
|
2837
2837
|
/** @internal */
|
|
2838
2838
|
export declare const GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig$outboundSchema: z.ZodType<GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig$Outbound, z.ZodTypeDef, GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig>;
|
|
2839
2839
|
/**
|
|
@@ -2876,7 +2876,7 @@ export type DataLLM$Outbound = {
|
|
|
2876
2876
|
description: string;
|
|
2877
2877
|
created: string;
|
|
2878
2878
|
updated: string;
|
|
2879
|
-
guardrail_config?:
|
|
2879
|
+
guardrail_config?: GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$Outbound | GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$Outbound | undefined;
|
|
2880
2880
|
type: string;
|
|
2881
2881
|
prompt: string;
|
|
2882
2882
|
key: string;
|
|
@@ -2901,7 +2901,7 @@ export declare function dataLLMFromJSON(jsonString: string): SafeParseResult<Dat
|
|
|
2901
2901
|
/** @internal */
|
|
2902
2902
|
export declare const GetEvalsData$inboundSchema: z.ZodType<GetEvalsData, z.ZodTypeDef, unknown>;
|
|
2903
2903
|
/** @internal */
|
|
2904
|
-
export type GetEvalsData$Outbound =
|
|
2904
|
+
export type GetEvalsData$Outbound = DataHTTP$Outbound | DataLLM$Outbound | Ragas$Outbound | DataJSON$Outbound | DataPython$Outbound | DataFunction$Outbound | Typescript$Outbound;
|
|
2905
2905
|
/** @internal */
|
|
2906
2906
|
export declare const GetEvalsData$outboundSchema: z.ZodType<GetEvalsData$Outbound, z.ZodTypeDef, GetEvalsData>;
|
|
2907
2907
|
/**
|
|
@@ -2923,7 +2923,7 @@ export declare const GetEvalsResponseBody$inboundSchema: z.ZodType<GetEvalsRespo
|
|
|
2923
2923
|
/** @internal */
|
|
2924
2924
|
export type GetEvalsResponseBody$Outbound = {
|
|
2925
2925
|
object: string;
|
|
2926
|
-
data: Array<
|
|
2926
|
+
data: Array<DataHTTP$Outbound | DataLLM$Outbound | Ragas$Outbound | DataJSON$Outbound | DataPython$Outbound | DataFunction$Outbound | Typescript$Outbound>;
|
|
2927
2927
|
has_more: boolean;
|
|
2928
2928
|
};
|
|
2929
2929
|
/** @internal */
|