@orq-ai/node 3.12.19 → 3.12.20
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 +112 -112
- package/bin/mcp-server.js.map +30 -30
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +39 -44
- package/packages/orq-rc/src/models/components/index.ts +0 -13
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +56 -60
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +18 -17
- package/packages/orq-rc/src/models/operations/createprompt.ts +34 -30
- package/packages/orq-rc/src/models/operations/createtool.ts +42 -68
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +27 -36
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +203 -141
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listagents.ts +202 -141
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +22 -29
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +2292 -1130
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +2590 -1252
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +17 -21
- package/packages/orq-rc/src/models/operations/updatetool.ts +43 -69
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/components/callsubagenttool.ts +0 -109
- package/packages/orq-rc/src/models/components/codeexecutiontool.ts +0 -293
- package/packages/orq-rc/src/models/components/currentdatetool.ts +0 -107
- package/packages/orq-rc/src/models/components/functiontool.ts +0 -195
- package/packages/orq-rc/src/models/components/googlesearchtool.ts +0 -108
- package/packages/orq-rc/src/models/components/httptool.ts +0 -532
- package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +0 -111
- package/packages/orq-rc/src/models/components/querymemorystoretool.ts +0 -111
- package/packages/orq-rc/src/models/components/retrieveagentstool.ts +0 -109
- package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +0 -111
- package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +0 -111
- package/packages/orq-rc/src/models/components/webscrapertool.ts +0 -105
- package/packages/orq-rc/src/models/components/writememorystoretool.ts +0 -111
|
@@ -692,7 +692,7 @@ export type CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody5
|
|
|
692
692
|
typeof CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type
|
|
693
693
|
>;
|
|
694
694
|
|
|
695
|
-
export type
|
|
695
|
+
export type TwentyFour = {
|
|
696
696
|
type:
|
|
697
697
|
CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type;
|
|
698
698
|
};
|
|
@@ -1036,7 +1036,7 @@ export type CreateEvalResponseBodyFunctionParams =
|
|
|
1036
1036
|
| FunctionParams21
|
|
1037
1037
|
| FunctionParams22
|
|
1038
1038
|
| TwentyThree
|
|
1039
|
-
|
|
|
1039
|
+
| TwentyFour
|
|
1040
1040
|
| TwentySeven
|
|
1041
1041
|
| TwentyEight
|
|
1042
1042
|
| TwentyNine
|
|
@@ -1083,7 +1083,7 @@ export type ResponseBodyFunction = {
|
|
|
1083
1083
|
| FunctionParams21
|
|
1084
1084
|
| FunctionParams22
|
|
1085
1085
|
| TwentyThree
|
|
1086
|
-
|
|
|
1086
|
+
| TwentyFour
|
|
1087
1087
|
| TwentySeven
|
|
1088
1088
|
| TwentyEight
|
|
1089
1089
|
| TwentyNine
|
|
@@ -3348,8 +3348,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
3348
3348
|
> = z.object({
|
|
3349
3349
|
_id: z.string(),
|
|
3350
3350
|
description: z.string(),
|
|
3351
|
-
created: z.string().default("2025-09-
|
|
3352
|
-
updated: z.string().default("2025-09-
|
|
3351
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
3352
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
3353
3353
|
guardrail_config: z.union([
|
|
3354
3354
|
z.lazy(() =>
|
|
3355
3355
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3392,8 +3392,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
3392
3392
|
> = z.object({
|
|
3393
3393
|
id: z.string(),
|
|
3394
3394
|
description: z.string(),
|
|
3395
|
-
created: z.string().default("2025-09-
|
|
3396
|
-
updated: z.string().default("2025-09-
|
|
3395
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
3396
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
3397
3397
|
guardrailConfig: z.union([
|
|
3398
3398
|
z.lazy(() =>
|
|
3399
3399
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3810,8 +3810,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3810
3810
|
.object({
|
|
3811
3811
|
_id: z.string(),
|
|
3812
3812
|
description: z.string(),
|
|
3813
|
-
created: z.string().default("2025-09-
|
|
3814
|
-
updated: z.string().default("2025-09-
|
|
3813
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
3814
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
3815
3815
|
guardrail_config: z.union([
|
|
3816
3816
|
z.lazy(() =>
|
|
3817
3817
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3857,8 +3857,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3857
3857
|
> = z.object({
|
|
3858
3858
|
id: z.string(),
|
|
3859
3859
|
description: z.string(),
|
|
3860
|
-
created: z.string().default("2025-09-
|
|
3861
|
-
updated: z.string().default("2025-09-
|
|
3860
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
3861
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
3862
3862
|
guardrailConfig: z.union([
|
|
3863
3863
|
z.lazy(() =>
|
|
3864
3864
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -5163,8 +5163,8 @@ export namespace CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponse
|
|
|
5163
5163
|
}
|
|
5164
5164
|
|
|
5165
5165
|
/** @internal */
|
|
5166
|
-
export const
|
|
5167
|
-
|
|
5166
|
+
export const TwentyFour$inboundSchema: z.ZodType<
|
|
5167
|
+
TwentyFour,
|
|
5168
5168
|
z.ZodTypeDef,
|
|
5169
5169
|
unknown
|
|
5170
5170
|
> = z.object({
|
|
@@ -5173,15 +5173,15 @@ export const FunctionParams24$inboundSchema: z.ZodType<
|
|
|
5173
5173
|
});
|
|
5174
5174
|
|
|
5175
5175
|
/** @internal */
|
|
5176
|
-
export type
|
|
5176
|
+
export type TwentyFour$Outbound = {
|
|
5177
5177
|
type: string;
|
|
5178
5178
|
};
|
|
5179
5179
|
|
|
5180
5180
|
/** @internal */
|
|
5181
|
-
export const
|
|
5182
|
-
|
|
5181
|
+
export const TwentyFour$outboundSchema: z.ZodType<
|
|
5182
|
+
TwentyFour$Outbound,
|
|
5183
5183
|
z.ZodTypeDef,
|
|
5184
|
-
|
|
5184
|
+
TwentyFour
|
|
5185
5185
|
> = z.object({
|
|
5186
5186
|
type:
|
|
5187
5187
|
CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type$outboundSchema,
|
|
@@ -5191,30 +5191,26 @@ export const FunctionParams24$outboundSchema: z.ZodType<
|
|
|
5191
5191
|
* @internal
|
|
5192
5192
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5193
5193
|
*/
|
|
5194
|
-
export namespace
|
|
5195
|
-
/** @deprecated use `
|
|
5196
|
-
export const inboundSchema =
|
|
5197
|
-
/** @deprecated use `
|
|
5198
|
-
export const outboundSchema =
|
|
5199
|
-
/** @deprecated use `
|
|
5200
|
-
export type Outbound =
|
|
5194
|
+
export namespace TwentyFour$ {
|
|
5195
|
+
/** @deprecated use `TwentyFour$inboundSchema` instead. */
|
|
5196
|
+
export const inboundSchema = TwentyFour$inboundSchema;
|
|
5197
|
+
/** @deprecated use `TwentyFour$outboundSchema` instead. */
|
|
5198
|
+
export const outboundSchema = TwentyFour$outboundSchema;
|
|
5199
|
+
/** @deprecated use `TwentyFour$Outbound` instead. */
|
|
5200
|
+
export type Outbound = TwentyFour$Outbound;
|
|
5201
5201
|
}
|
|
5202
5202
|
|
|
5203
|
-
export function
|
|
5204
|
-
|
|
5205
|
-
): string {
|
|
5206
|
-
return JSON.stringify(
|
|
5207
|
-
FunctionParams24$outboundSchema.parse(functionParams24),
|
|
5208
|
-
);
|
|
5203
|
+
export function twentyFourToJSON(twentyFour: TwentyFour): string {
|
|
5204
|
+
return JSON.stringify(TwentyFour$outboundSchema.parse(twentyFour));
|
|
5209
5205
|
}
|
|
5210
5206
|
|
|
5211
|
-
export function
|
|
5207
|
+
export function twentyFourFromJSON(
|
|
5212
5208
|
jsonString: string,
|
|
5213
|
-
): SafeParseResult<
|
|
5209
|
+
): SafeParseResult<TwentyFour, SDKValidationError> {
|
|
5214
5210
|
return safeParse(
|
|
5215
5211
|
jsonString,
|
|
5216
|
-
(x) =>
|
|
5217
|
-
`Failed to parse '
|
|
5212
|
+
(x) => TwentyFour$inboundSchema.parse(JSON.parse(x)),
|
|
5213
|
+
`Failed to parse 'TwentyFour' from JSON`,
|
|
5218
5214
|
);
|
|
5219
5215
|
}
|
|
5220
5216
|
|
|
@@ -7149,7 +7145,7 @@ export const CreateEvalResponseBodyFunctionParams$inboundSchema: z.ZodType<
|
|
|
7149
7145
|
z.lazy(() => FunctionParams21$inboundSchema),
|
|
7150
7146
|
z.lazy(() => FunctionParams22$inboundSchema),
|
|
7151
7147
|
z.lazy(() => TwentyThree$inboundSchema),
|
|
7152
|
-
z.lazy(() =>
|
|
7148
|
+
z.lazy(() => TwentyFour$inboundSchema),
|
|
7153
7149
|
z.lazy(() => TwentySeven$inboundSchema),
|
|
7154
7150
|
z.lazy(() => TwentyEight$inboundSchema),
|
|
7155
7151
|
z.lazy(() => TwentyNine$inboundSchema),
|
|
@@ -7188,7 +7184,7 @@ export type CreateEvalResponseBodyFunctionParams$Outbound =
|
|
|
7188
7184
|
| FunctionParams21$Outbound
|
|
7189
7185
|
| FunctionParams22$Outbound
|
|
7190
7186
|
| TwentyThree$Outbound
|
|
7191
|
-
|
|
|
7187
|
+
| TwentyFour$Outbound
|
|
7192
7188
|
| TwentySeven$Outbound
|
|
7193
7189
|
| TwentyEight$Outbound
|
|
7194
7190
|
| TwentyNine$Outbound
|
|
@@ -7230,7 +7226,7 @@ export const CreateEvalResponseBodyFunctionParams$outboundSchema: z.ZodType<
|
|
|
7230
7226
|
z.lazy(() => FunctionParams21$outboundSchema),
|
|
7231
7227
|
z.lazy(() => FunctionParams22$outboundSchema),
|
|
7232
7228
|
z.lazy(() => TwentyThree$outboundSchema),
|
|
7233
|
-
z.lazy(() =>
|
|
7229
|
+
z.lazy(() => TwentyFour$outboundSchema),
|
|
7234
7230
|
z.lazy(() => TwentySeven$outboundSchema),
|
|
7235
7231
|
z.lazy(() => TwentyEight$outboundSchema),
|
|
7236
7232
|
z.lazy(() => TwentyNine$outboundSchema),
|
|
@@ -7286,8 +7282,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7286
7282
|
> = z.object({
|
|
7287
7283
|
_id: z.string(),
|
|
7288
7284
|
description: z.string(),
|
|
7289
|
-
created: z.string().default("2025-09-
|
|
7290
|
-
updated: z.string().default("2025-09-
|
|
7285
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
7286
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
7291
7287
|
guardrail_config: z.union([
|
|
7292
7288
|
z.lazy(() =>
|
|
7293
7289
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7323,7 +7319,7 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7323
7319
|
z.lazy(() => FunctionParams21$inboundSchema),
|
|
7324
7320
|
z.lazy(() => FunctionParams22$inboundSchema),
|
|
7325
7321
|
z.lazy(() => TwentyThree$inboundSchema),
|
|
7326
|
-
z.lazy(() =>
|
|
7322
|
+
z.lazy(() => TwentyFour$inboundSchema),
|
|
7327
7323
|
z.lazy(() => TwentySeven$inboundSchema),
|
|
7328
7324
|
z.lazy(() => TwentyEight$inboundSchema),
|
|
7329
7325
|
z.lazy(() => TwentyNine$inboundSchema),
|
|
@@ -7380,7 +7376,7 @@ export type ResponseBodyFunction$Outbound = {
|
|
|
7380
7376
|
| FunctionParams21$Outbound
|
|
7381
7377
|
| FunctionParams22$Outbound
|
|
7382
7378
|
| TwentyThree$Outbound
|
|
7383
|
-
|
|
|
7379
|
+
| TwentyFour$Outbound
|
|
7384
7380
|
| TwentySeven$Outbound
|
|
7385
7381
|
| TwentyEight$Outbound
|
|
7386
7382
|
| TwentyNine$Outbound
|
|
@@ -7401,8 +7397,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7401
7397
|
> = z.object({
|
|
7402
7398
|
id: z.string(),
|
|
7403
7399
|
description: z.string(),
|
|
7404
|
-
created: z.string().default("2025-09-
|
|
7405
|
-
updated: z.string().default("2025-09-
|
|
7400
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
7401
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
7406
7402
|
guardrailConfig: z.union([
|
|
7407
7403
|
z.lazy(() =>
|
|
7408
7404
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -7438,7 +7434,7 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7438
7434
|
z.lazy(() => FunctionParams21$outboundSchema),
|
|
7439
7435
|
z.lazy(() => FunctionParams22$outboundSchema),
|
|
7440
7436
|
z.lazy(() => TwentyThree$outboundSchema),
|
|
7441
|
-
z.lazy(() =>
|
|
7437
|
+
z.lazy(() => TwentyFour$outboundSchema),
|
|
7442
7438
|
z.lazy(() => TwentySeven$outboundSchema),
|
|
7443
7439
|
z.lazy(() => TwentyEight$outboundSchema),
|
|
7444
7440
|
z.lazy(() => TwentyNine$outboundSchema),
|
|
@@ -7841,8 +7837,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
7841
7837
|
> = z.object({
|
|
7842
7838
|
_id: z.string(),
|
|
7843
7839
|
description: z.string(),
|
|
7844
|
-
created: z.string().default("2025-09-
|
|
7845
|
-
updated: z.string().default("2025-09-
|
|
7840
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
7841
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
7846
7842
|
guardrail_config: z.union([
|
|
7847
7843
|
z.lazy(() =>
|
|
7848
7844
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7884,8 +7880,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
7884
7880
|
> = z.object({
|
|
7885
7881
|
id: z.string(),
|
|
7886
7882
|
description: z.string(),
|
|
7887
|
-
created: z.string().default("2025-09-
|
|
7888
|
-
updated: z.string().default("2025-09-
|
|
7883
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
7884
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
7889
7885
|
guardrailConfig: z.union([
|
|
7890
7886
|
z.lazy(() =>
|
|
7891
7887
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8298,8 +8294,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8298
8294
|
> = z.object({
|
|
8299
8295
|
_id: z.string(),
|
|
8300
8296
|
description: z.string(),
|
|
8301
|
-
created: z.string().default("2025-09-
|
|
8302
|
-
updated: z.string().default("2025-09-
|
|
8297
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
8298
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
8303
8299
|
guardrail_config: z.union([
|
|
8304
8300
|
z.lazy(() =>
|
|
8305
8301
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8347,8 +8343,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8347
8343
|
> = z.object({
|
|
8348
8344
|
id: z.string(),
|
|
8349
8345
|
description: z.string(),
|
|
8350
|
-
created: z.string().default("2025-09-
|
|
8351
|
-
updated: z.string().default("2025-09-
|
|
8346
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
8347
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
8352
8348
|
guardrailConfig: z.union([
|
|
8353
8349
|
z.lazy(() =>
|
|
8354
8350
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8725,8 +8721,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8725
8721
|
> = z.object({
|
|
8726
8722
|
_id: z.string(),
|
|
8727
8723
|
description: z.string(),
|
|
8728
|
-
created: z.string().default("2025-09-
|
|
8729
|
-
updated: z.string().default("2025-09-
|
|
8724
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
8725
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
8730
8726
|
guardrail_config: z.union([
|
|
8731
8727
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8732
8728
|
z.lazy(() =>
|
|
@@ -8766,8 +8762,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
8766
8762
|
> = z.object({
|
|
8767
8763
|
id: z.string(),
|
|
8768
8764
|
description: z.string(),
|
|
8769
|
-
created: z.string().default("2025-09-
|
|
8770
|
-
updated: z.string().default("2025-09-
|
|
8765
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
8766
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
8771
8767
|
guardrailConfig: z.union([
|
|
8772
8768
|
z.lazy(() =>
|
|
8773
8769
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9122,8 +9118,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9122
9118
|
> = z.object({
|
|
9123
9119
|
_id: z.string(),
|
|
9124
9120
|
description: z.string(),
|
|
9125
|
-
created: z.string().default("2025-09-
|
|
9126
|
-
updated: z.string().default("2025-09-
|
|
9121
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
9122
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
9127
9123
|
guardrail_config: z.union([
|
|
9128
9124
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9129
9125
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9163,8 +9159,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9163
9159
|
> = z.object({
|
|
9164
9160
|
id: z.string(),
|
|
9165
9161
|
description: z.string(),
|
|
9166
|
-
created: z.string().default("2025-09-
|
|
9167
|
-
updated: z.string().default("2025-09-
|
|
9162
|
+
created: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
9163
|
+
updated: z.string().default("2025-09-29T07:35:49.919Z"),
|
|
9168
9164
|
guardrailConfig: z.union([
|
|
9169
9165
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9170
9166
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -94,10 +94,10 @@ export const Six = {
|
|
|
94
94
|
} as const;
|
|
95
95
|
export type Six = ClosedEnum<typeof Six>;
|
|
96
96
|
|
|
97
|
-
export const
|
|
97
|
+
export const Five = {
|
|
98
98
|
AzureTextEmbeddingAda002: "azure/text-embedding-ada-002",
|
|
99
99
|
} as const;
|
|
100
|
-
export type
|
|
100
|
+
export type Five = ClosedEnum<typeof Five>;
|
|
101
101
|
|
|
102
102
|
export const Model4 = {
|
|
103
103
|
CohereEmbedEnglishV30: "cohere/embed-english-v3.0",
|
|
@@ -124,7 +124,7 @@ export type Model =
|
|
|
124
124
|
| Model2
|
|
125
125
|
| Model3
|
|
126
126
|
| Model4
|
|
127
|
-
|
|
|
127
|
+
| Five
|
|
128
128
|
| Six
|
|
129
129
|
| Seven
|
|
130
130
|
| Eight
|
|
@@ -149,7 +149,7 @@ export type EmbeddingConfig = {
|
|
|
149
149
|
| Model2
|
|
150
150
|
| Model3
|
|
151
151
|
| Model4
|
|
152
|
-
|
|
|
152
|
+
| Five
|
|
153
153
|
| Six
|
|
154
154
|
| Seven
|
|
155
155
|
| Eight
|
|
@@ -757,22 +757,23 @@ export namespace Six$ {
|
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
/** @internal */
|
|
760
|
-
export const
|
|
761
|
-
|
|
760
|
+
export const Five$inboundSchema: z.ZodNativeEnum<typeof Five> = z.nativeEnum(
|
|
761
|
+
Five,
|
|
762
|
+
);
|
|
762
763
|
|
|
763
764
|
/** @internal */
|
|
764
|
-
export const
|
|
765
|
-
|
|
765
|
+
export const Five$outboundSchema: z.ZodNativeEnum<typeof Five> =
|
|
766
|
+
Five$inboundSchema;
|
|
766
767
|
|
|
767
768
|
/**
|
|
768
769
|
* @internal
|
|
769
770
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
770
771
|
*/
|
|
771
|
-
export namespace
|
|
772
|
-
/** @deprecated use `
|
|
773
|
-
export const inboundSchema =
|
|
774
|
-
/** @deprecated use `
|
|
775
|
-
export const outboundSchema =
|
|
772
|
+
export namespace Five$ {
|
|
773
|
+
/** @deprecated use `Five$inboundSchema` instead. */
|
|
774
|
+
export const inboundSchema = Five$inboundSchema;
|
|
775
|
+
/** @deprecated use `Five$outboundSchema` instead. */
|
|
776
|
+
export const outboundSchema = Five$outboundSchema;
|
|
776
777
|
}
|
|
777
778
|
|
|
778
779
|
/** @internal */
|
|
@@ -858,7 +859,7 @@ export const Model$inboundSchema: z.ZodType<Model, z.ZodTypeDef, unknown> = z
|
|
|
858
859
|
Model2$inboundSchema,
|
|
859
860
|
Model3$inboundSchema,
|
|
860
861
|
Model4$inboundSchema,
|
|
861
|
-
|
|
862
|
+
Five$inboundSchema,
|
|
862
863
|
Six$inboundSchema,
|
|
863
864
|
Seven$inboundSchema,
|
|
864
865
|
Eight$inboundSchema,
|
|
@@ -913,7 +914,7 @@ export const Model$outboundSchema: z.ZodType<
|
|
|
913
914
|
Model2$outboundSchema,
|
|
914
915
|
Model3$outboundSchema,
|
|
915
916
|
Model4$outboundSchema,
|
|
916
|
-
|
|
917
|
+
Five$outboundSchema,
|
|
917
918
|
Six$outboundSchema,
|
|
918
919
|
Seven$outboundSchema,
|
|
919
920
|
Eight$outboundSchema,
|
|
@@ -971,7 +972,7 @@ export const EmbeddingConfig$inboundSchema: z.ZodType<
|
|
|
971
972
|
Model2$inboundSchema,
|
|
972
973
|
Model3$inboundSchema,
|
|
973
974
|
Model4$inboundSchema,
|
|
974
|
-
|
|
975
|
+
Five$inboundSchema,
|
|
975
976
|
Six$inboundSchema,
|
|
976
977
|
Seven$inboundSchema,
|
|
977
978
|
Eight$inboundSchema,
|
|
@@ -1030,7 +1031,7 @@ export const EmbeddingConfig$outboundSchema: z.ZodType<
|
|
|
1030
1031
|
Model2$outboundSchema,
|
|
1031
1032
|
Model3$outboundSchema,
|
|
1032
1033
|
Model4$outboundSchema,
|
|
1033
|
-
|
|
1034
|
+
Five$outboundSchema,
|
|
1034
1035
|
Six$outboundSchema,
|
|
1035
1036
|
Seven$outboundSchema,
|
|
1036
1037
|
Eight$outboundSchema,
|
|
@@ -476,7 +476,7 @@ export type UseCases = ClosedEnum<typeof UseCases>;
|
|
|
476
476
|
/**
|
|
477
477
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
478
478
|
*/
|
|
479
|
-
export const
|
|
479
|
+
export const CreatePromptLanguage = {
|
|
480
480
|
Chinese: "Chinese",
|
|
481
481
|
Dutch: "Dutch",
|
|
482
482
|
English: "English",
|
|
@@ -488,7 +488,7 @@ export const Language = {
|
|
|
488
488
|
/**
|
|
489
489
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
490
490
|
*/
|
|
491
|
-
export type
|
|
491
|
+
export type CreatePromptLanguage = ClosedEnum<typeof CreatePromptLanguage>;
|
|
492
492
|
|
|
493
493
|
export type CreatePromptMetadata = {
|
|
494
494
|
/**
|
|
@@ -498,7 +498,7 @@ export type CreatePromptMetadata = {
|
|
|
498
498
|
/**
|
|
499
499
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
500
500
|
*/
|
|
501
|
-
language?:
|
|
501
|
+
language?: CreatePromptLanguage | null | undefined;
|
|
502
502
|
};
|
|
503
503
|
|
|
504
504
|
export type CreatePromptRequestBody = {
|
|
@@ -1040,7 +1040,7 @@ export type CreatePromptUseCases = ClosedEnum<typeof CreatePromptUseCases>;
|
|
|
1040
1040
|
/**
|
|
1041
1041
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1042
1042
|
*/
|
|
1043
|
-
export const
|
|
1043
|
+
export const CreatePromptPromptsLanguage = {
|
|
1044
1044
|
Chinese: "Chinese",
|
|
1045
1045
|
Dutch: "Dutch",
|
|
1046
1046
|
English: "English",
|
|
@@ -1052,7 +1052,9 @@ export const CreatePromptLanguage = {
|
|
|
1052
1052
|
/**
|
|
1053
1053
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1054
1054
|
*/
|
|
1055
|
-
export type
|
|
1055
|
+
export type CreatePromptPromptsLanguage = ClosedEnum<
|
|
1056
|
+
typeof CreatePromptPromptsLanguage
|
|
1057
|
+
>;
|
|
1056
1058
|
|
|
1057
1059
|
export type CreatePromptPromptsMetadata = {
|
|
1058
1060
|
/**
|
|
@@ -1062,7 +1064,7 @@ export type CreatePromptPromptsMetadata = {
|
|
|
1062
1064
|
/**
|
|
1063
1065
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1064
1066
|
*/
|
|
1065
|
-
language?:
|
|
1067
|
+
language?: CreatePromptPromptsLanguage | null | undefined;
|
|
1066
1068
|
};
|
|
1067
1069
|
|
|
1068
1070
|
/**
|
|
@@ -2660,22 +2662,24 @@ export namespace UseCases$ {
|
|
|
2660
2662
|
}
|
|
2661
2663
|
|
|
2662
2664
|
/** @internal */
|
|
2663
|
-
export const
|
|
2664
|
-
|
|
2665
|
+
export const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<
|
|
2666
|
+
typeof CreatePromptLanguage
|
|
2667
|
+
> = z.nativeEnum(CreatePromptLanguage);
|
|
2665
2668
|
|
|
2666
2669
|
/** @internal */
|
|
2667
|
-
export const
|
|
2668
|
-
|
|
2670
|
+
export const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<
|
|
2671
|
+
typeof CreatePromptLanguage
|
|
2672
|
+
> = CreatePromptLanguage$inboundSchema;
|
|
2669
2673
|
|
|
2670
2674
|
/**
|
|
2671
2675
|
* @internal
|
|
2672
2676
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2673
2677
|
*/
|
|
2674
|
-
export namespace
|
|
2675
|
-
/** @deprecated use `
|
|
2676
|
-
export const inboundSchema =
|
|
2677
|
-
/** @deprecated use `
|
|
2678
|
-
export const outboundSchema =
|
|
2678
|
+
export namespace CreatePromptLanguage$ {
|
|
2679
|
+
/** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
|
|
2680
|
+
export const inboundSchema = CreatePromptLanguage$inboundSchema;
|
|
2681
|
+
/** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
|
|
2682
|
+
export const outboundSchema = CreatePromptLanguage$outboundSchema;
|
|
2679
2683
|
}
|
|
2680
2684
|
|
|
2681
2685
|
/** @internal */
|
|
@@ -2685,7 +2689,7 @@ export const CreatePromptMetadata$inboundSchema: z.ZodType<
|
|
|
2685
2689
|
unknown
|
|
2686
2690
|
> = z.object({
|
|
2687
2691
|
use_cases: z.array(UseCases$inboundSchema).optional(),
|
|
2688
|
-
language: z.nullable(
|
|
2692
|
+
language: z.nullable(CreatePromptLanguage$inboundSchema).optional(),
|
|
2689
2693
|
}).transform((v) => {
|
|
2690
2694
|
return remap$(v, {
|
|
2691
2695
|
"use_cases": "useCases",
|
|
@@ -2705,7 +2709,7 @@ export const CreatePromptMetadata$outboundSchema: z.ZodType<
|
|
|
2705
2709
|
CreatePromptMetadata
|
|
2706
2710
|
> = z.object({
|
|
2707
2711
|
useCases: z.array(UseCases$outboundSchema).optional(),
|
|
2708
|
-
language: z.nullable(
|
|
2712
|
+
language: z.nullable(CreatePromptLanguage$outboundSchema).optional(),
|
|
2709
2713
|
}).transform((v) => {
|
|
2710
2714
|
return remap$(v, {
|
|
2711
2715
|
useCases: "use_cases",
|
|
@@ -4501,24 +4505,24 @@ export namespace CreatePromptUseCases$ {
|
|
|
4501
4505
|
}
|
|
4502
4506
|
|
|
4503
4507
|
/** @internal */
|
|
4504
|
-
export const
|
|
4505
|
-
typeof
|
|
4506
|
-
> = z.nativeEnum(
|
|
4508
|
+
export const CreatePromptPromptsLanguage$inboundSchema: z.ZodNativeEnum<
|
|
4509
|
+
typeof CreatePromptPromptsLanguage
|
|
4510
|
+
> = z.nativeEnum(CreatePromptPromptsLanguage);
|
|
4507
4511
|
|
|
4508
4512
|
/** @internal */
|
|
4509
|
-
export const
|
|
4510
|
-
typeof
|
|
4511
|
-
> =
|
|
4513
|
+
export const CreatePromptPromptsLanguage$outboundSchema: z.ZodNativeEnum<
|
|
4514
|
+
typeof CreatePromptPromptsLanguage
|
|
4515
|
+
> = CreatePromptPromptsLanguage$inboundSchema;
|
|
4512
4516
|
|
|
4513
4517
|
/**
|
|
4514
4518
|
* @internal
|
|
4515
4519
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4516
4520
|
*/
|
|
4517
|
-
export namespace
|
|
4518
|
-
/** @deprecated use `
|
|
4519
|
-
export const inboundSchema =
|
|
4520
|
-
/** @deprecated use `
|
|
4521
|
-
export const outboundSchema =
|
|
4521
|
+
export namespace CreatePromptPromptsLanguage$ {
|
|
4522
|
+
/** @deprecated use `CreatePromptPromptsLanguage$inboundSchema` instead. */
|
|
4523
|
+
export const inboundSchema = CreatePromptPromptsLanguage$inboundSchema;
|
|
4524
|
+
/** @deprecated use `CreatePromptPromptsLanguage$outboundSchema` instead. */
|
|
4525
|
+
export const outboundSchema = CreatePromptPromptsLanguage$outboundSchema;
|
|
4522
4526
|
}
|
|
4523
4527
|
|
|
4524
4528
|
/** @internal */
|
|
@@ -4528,7 +4532,7 @@ export const CreatePromptPromptsMetadata$inboundSchema: z.ZodType<
|
|
|
4528
4532
|
unknown
|
|
4529
4533
|
> = z.object({
|
|
4530
4534
|
use_cases: z.array(CreatePromptUseCases$inboundSchema).optional(),
|
|
4531
|
-
language: z.nullable(
|
|
4535
|
+
language: z.nullable(CreatePromptPromptsLanguage$inboundSchema).optional(),
|
|
4532
4536
|
}).transform((v) => {
|
|
4533
4537
|
return remap$(v, {
|
|
4534
4538
|
"use_cases": "useCases",
|
|
@@ -4548,7 +4552,7 @@ export const CreatePromptPromptsMetadata$outboundSchema: z.ZodType<
|
|
|
4548
4552
|
CreatePromptPromptsMetadata
|
|
4549
4553
|
> = z.object({
|
|
4550
4554
|
useCases: z.array(CreatePromptUseCases$outboundSchema).optional(),
|
|
4551
|
-
language: z.nullable(
|
|
4555
|
+
language: z.nullable(CreatePromptPromptsLanguage$outboundSchema).optional(),
|
|
4552
4556
|
}).transform((v) => {
|
|
4553
4557
|
return remap$(v, {
|
|
4554
4558
|
useCases: "use_cases",
|