@orq-ai/node 3.8.6 → 3.8.8
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/README.md +80 -84
- package/bin/mcp-server.js +688 -1076
- package/bin/mcp-server.js.map +37 -43
- package/docs/sdks/datasets/README.md +0 -83
- package/docs/sdks/deployments/README.md +0 -85
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -5
- package/mcp-server/server.js.map +1 -1
- 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/createprompt.d.ts +6 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +3 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +3 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.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 +3 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +3 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +3 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +0 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -2
- package/models/operations/index.js.map +1 -1
- 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/listpromptversions.d.ts +3 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- 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/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/models/operations/updateprompt.d.ts +6 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/package.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 +2 -2
- 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/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 +16 -16
- 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/getevals.ts +28 -28
- 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 +2 -2
- 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/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 +16 -16
- package/sdk/datasets.d.ts +0 -7
- package/sdk/datasets.d.ts.map +1 -1
- package/sdk/datasets.js +0 -10
- package/sdk/datasets.js.map +1 -1
- package/sdk/deployments.d.ts +0 -7
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +0 -10
- package/sdk/deployments.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -5
- 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/createprompt.ts +2 -0
- package/src/models/operations/deploymentgetconfig.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- 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 +1 -0
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/index.ts +0 -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/listpromptversions.ts +1 -0
- 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/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/src/models/operations/updateprompt.ts +2 -0
- package/src/sdk/datasets.ts +0 -18
- package/src/sdk/deployments.ts +0 -18
- package/funcs/datasetsCreateExperiment.d.ts +0 -17
- package/funcs/datasetsCreateExperiment.d.ts.map +0 -1
- package/funcs/datasetsCreateExperiment.js +0 -120
- package/funcs/datasetsCreateExperiment.js.map +0 -1
- package/funcs/deploymentsCreateExperiment.d.ts +0 -17
- package/funcs/deploymentsCreateExperiment.d.ts.map +0 -1
- package/funcs/deploymentsCreateExperiment.js +0 -120
- package/funcs/deploymentsCreateExperiment.js.map +0 -1
- package/mcp-server/tools/datasetsCreateExperiment.d.ts +0 -8
- package/mcp-server/tools/datasetsCreateExperiment.d.ts.map +0 -1
- package/mcp-server/tools/datasetsCreateExperiment.js +0 -64
- package/mcp-server/tools/datasetsCreateExperiment.js.map +0 -1
- package/mcp-server/tools/deploymentsCreateExperiment.d.ts +0 -8
- package/mcp-server/tools/deploymentsCreateExperiment.d.ts.map +0 -1
- package/mcp-server/tools/deploymentsCreateExperiment.js +0 -64
- package/mcp-server/tools/deploymentsCreateExperiment.js.map +0 -1
- package/models/operations/createdatasetexperiment.d.ts +0 -140
- package/models/operations/createdatasetexperiment.d.ts.map +0 -1
- package/models/operations/createdatasetexperiment.js +0 -188
- package/models/operations/createdatasetexperiment.js.map +0 -1
- package/models/operations/createdeploymentexperiment.d.ts +0 -152
- package/models/operations/createdeploymentexperiment.d.ts.map +0 -1
- package/models/operations/createdeploymentexperiment.js +0 -189
- package/models/operations/createdeploymentexperiment.js.map +0 -1
- package/src/funcs/datasetsCreateExperiment.ts +0 -168
- package/src/funcs/deploymentsCreateExperiment.ts +0 -173
- package/src/mcp-server/tools/datasetsCreateExperiment.ts +0 -37
- package/src/mcp-server/tools/deploymentsCreateExperiment.ts +0 -37
- package/src/models/operations/createdatasetexperiment.ts +0 -307
- package/src/models/operations/createdeploymentexperiment.ts +0 -321
package/bin/mcp-server.js
CHANGED
|
@@ -34275,9 +34275,9 @@ var init_config = __esm(() => {
|
|
|
34275
34275
|
SDK_METADATA = {
|
|
34276
34276
|
language: "typescript",
|
|
34277
34277
|
openapiDocVersion: "2.0",
|
|
34278
|
-
sdkVersion: "3.8.
|
|
34278
|
+
sdkVersion: "3.8.8",
|
|
34279
34279
|
genVersion: "2.634.2",
|
|
34280
|
-
userAgent: "speakeasy-sdk/typescript 3.8.
|
|
34280
|
+
userAgent: "speakeasy-sdk/typescript 3.8.8 2.634.2 2.0 @orq-ai/node"
|
|
34281
34281
|
};
|
|
34282
34282
|
});
|
|
34283
34283
|
|
|
@@ -36149,7 +36149,7 @@ var init_createcontact = __esm(() => {
|
|
|
36149
36149
|
tags: arrayType(stringType()).optional(),
|
|
36150
36150
|
metadata: recordType(anyType()).optional(),
|
|
36151
36151
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36152
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
36152
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
36153
36153
|
}).transform((v2) => {
|
|
36154
36154
|
return remap(v2, {
|
|
36155
36155
|
_id: "id",
|
|
@@ -36169,7 +36169,7 @@ var init_createcontact = __esm(() => {
|
|
|
36169
36169
|
tags: arrayType(stringType()).optional(),
|
|
36170
36170
|
metadata: recordType(anyType()).optional(),
|
|
36171
36171
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36172
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
36172
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
36173
36173
|
}).transform((v2) => {
|
|
36174
36174
|
return remap(v2, {
|
|
36175
36175
|
id: "_id",
|
|
@@ -36241,7 +36241,7 @@ var init_createdataset = __esm(() => {
|
|
|
36241
36241
|
updated_by_id: stringType().optional(),
|
|
36242
36242
|
metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
|
|
36243
36243
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36244
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
36244
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
36245
36245
|
}).transform((v2) => {
|
|
36246
36246
|
return remap(v2, {
|
|
36247
36247
|
_id: "id",
|
|
@@ -36261,7 +36261,7 @@ var init_createdataset = __esm(() => {
|
|
|
36261
36261
|
updatedById: stringType().optional(),
|
|
36262
36262
|
metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
|
|
36263
36263
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36264
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
36264
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
36265
36265
|
}).transform((v2) => {
|
|
36266
36266
|
return remap(v2, {
|
|
36267
36267
|
id: "_id",
|
|
@@ -36278,96 +36278,6 @@ var init_createdataset = __esm(() => {
|
|
|
36278
36278
|
})(CreateDatasetResponseBody$ ||= {});
|
|
36279
36279
|
});
|
|
36280
36280
|
|
|
36281
|
-
// src/models/operations/createdatasetexperiment.ts
|
|
36282
|
-
var CreateDatasetExperimentType, CreateDatasetExperimentType$inboundSchema, CreateDatasetExperimentType$outboundSchema, CreateDatasetExperimentType$, CreateDatasetExperimentRequestBody$inboundSchema, CreateDatasetExperimentRequestBody$outboundSchema, CreateDatasetExperimentRequestBody$, CreateDatasetExperimentRequest$inboundSchema, CreateDatasetExperimentRequest$outboundSchema, CreateDatasetExperimentRequest$, CreateDatasetExperimentResponseBody$inboundSchema, CreateDatasetExperimentResponseBody$outboundSchema, CreateDatasetExperimentResponseBody$;
|
|
36283
|
-
var init_createdatasetexperiment = __esm(() => {
|
|
36284
|
-
init_esm();
|
|
36285
|
-
init_primitives();
|
|
36286
|
-
CreateDatasetExperimentType = {
|
|
36287
|
-
DatasetExperiment: "dataset_experiment"
|
|
36288
|
-
};
|
|
36289
|
-
CreateDatasetExperimentType$inboundSchema = nativeEnumType(CreateDatasetExperimentType);
|
|
36290
|
-
CreateDatasetExperimentType$outboundSchema = CreateDatasetExperimentType$inboundSchema;
|
|
36291
|
-
((CreateDatasetExperimentType$) => {
|
|
36292
|
-
CreateDatasetExperimentType$.inboundSchema = CreateDatasetExperimentType$inboundSchema;
|
|
36293
|
-
CreateDatasetExperimentType$.outboundSchema = CreateDatasetExperimentType$outboundSchema;
|
|
36294
|
-
})(CreateDatasetExperimentType$ ||= {});
|
|
36295
|
-
CreateDatasetExperimentRequestBody$inboundSchema = objectType({
|
|
36296
|
-
experiment_key: stringType(),
|
|
36297
|
-
evaluators: arrayType(stringType()).optional(),
|
|
36298
|
-
path: stringType().optional(),
|
|
36299
|
-
model_ids: arrayType(stringType()).optional(),
|
|
36300
|
-
type: CreateDatasetExperimentType$inboundSchema
|
|
36301
|
-
}).transform((v2) => {
|
|
36302
|
-
return remap(v2, {
|
|
36303
|
-
experiment_key: "experimentKey",
|
|
36304
|
-
model_ids: "modelIds"
|
|
36305
|
-
});
|
|
36306
|
-
});
|
|
36307
|
-
CreateDatasetExperimentRequestBody$outboundSchema = objectType({
|
|
36308
|
-
experimentKey: stringType(),
|
|
36309
|
-
evaluators: arrayType(stringType()).optional(),
|
|
36310
|
-
path: stringType().optional(),
|
|
36311
|
-
modelIds: arrayType(stringType()).optional(),
|
|
36312
|
-
type: CreateDatasetExperimentType$outboundSchema
|
|
36313
|
-
}).transform((v2) => {
|
|
36314
|
-
return remap(v2, {
|
|
36315
|
-
experimentKey: "experiment_key",
|
|
36316
|
-
modelIds: "model_ids"
|
|
36317
|
-
});
|
|
36318
|
-
});
|
|
36319
|
-
((CreateDatasetExperimentRequestBody$) => {
|
|
36320
|
-
CreateDatasetExperimentRequestBody$.inboundSchema = CreateDatasetExperimentRequestBody$inboundSchema;
|
|
36321
|
-
CreateDatasetExperimentRequestBody$.outboundSchema = CreateDatasetExperimentRequestBody$outboundSchema;
|
|
36322
|
-
})(CreateDatasetExperimentRequestBody$ ||= {});
|
|
36323
|
-
CreateDatasetExperimentRequest$inboundSchema = objectType({
|
|
36324
|
-
dataset_id: stringType(),
|
|
36325
|
-
RequestBody: lazyType(() => CreateDatasetExperimentRequestBody$inboundSchema).optional()
|
|
36326
|
-
}).transform((v2) => {
|
|
36327
|
-
return remap(v2, {
|
|
36328
|
-
dataset_id: "datasetId",
|
|
36329
|
-
RequestBody: "requestBody"
|
|
36330
|
-
});
|
|
36331
|
-
});
|
|
36332
|
-
CreateDatasetExperimentRequest$outboundSchema = objectType({
|
|
36333
|
-
datasetId: stringType(),
|
|
36334
|
-
requestBody: lazyType(() => CreateDatasetExperimentRequestBody$outboundSchema).optional()
|
|
36335
|
-
}).transform((v2) => {
|
|
36336
|
-
return remap(v2, {
|
|
36337
|
-
datasetId: "dataset_id",
|
|
36338
|
-
requestBody: "RequestBody"
|
|
36339
|
-
});
|
|
36340
|
-
});
|
|
36341
|
-
((CreateDatasetExperimentRequest$) => {
|
|
36342
|
-
CreateDatasetExperimentRequest$.inboundSchema = CreateDatasetExperimentRequest$inboundSchema;
|
|
36343
|
-
CreateDatasetExperimentRequest$.outboundSchema = CreateDatasetExperimentRequest$outboundSchema;
|
|
36344
|
-
})(CreateDatasetExperimentRequest$ ||= {});
|
|
36345
|
-
CreateDatasetExperimentResponseBody$inboundSchema = objectType({
|
|
36346
|
-
url: stringType(),
|
|
36347
|
-
experiment_id: stringType(),
|
|
36348
|
-
experiment_run_id: stringType()
|
|
36349
|
-
}).transform((v2) => {
|
|
36350
|
-
return remap(v2, {
|
|
36351
|
-
experiment_id: "experimentId",
|
|
36352
|
-
experiment_run_id: "experimentRunId"
|
|
36353
|
-
});
|
|
36354
|
-
});
|
|
36355
|
-
CreateDatasetExperimentResponseBody$outboundSchema = objectType({
|
|
36356
|
-
url: stringType(),
|
|
36357
|
-
experimentId: stringType(),
|
|
36358
|
-
experimentRunId: stringType()
|
|
36359
|
-
}).transform((v2) => {
|
|
36360
|
-
return remap(v2, {
|
|
36361
|
-
experimentId: "experiment_id",
|
|
36362
|
-
experimentRunId: "experiment_run_id"
|
|
36363
|
-
});
|
|
36364
|
-
});
|
|
36365
|
-
((CreateDatasetExperimentResponseBody$) => {
|
|
36366
|
-
CreateDatasetExperimentResponseBody$.inboundSchema = CreateDatasetExperimentResponseBody$inboundSchema;
|
|
36367
|
-
CreateDatasetExperimentResponseBody$.outboundSchema = CreateDatasetExperimentResponseBody$outboundSchema;
|
|
36368
|
-
})(CreateDatasetExperimentResponseBody$ ||= {});
|
|
36369
|
-
});
|
|
36370
|
-
|
|
36371
36281
|
// src/models/operations/createdatasetitem.ts
|
|
36372
36282
|
var CreateDatasetItemMessagesDatasetsRequestRequestBody5Role, CreateDatasetItem2DatasetsRequestRequestBodyMessages4Type, CreateDatasetItem2DatasetsRequestRequestBodyMessagesType, CreateDatasetItemMessagesDatasetsRequestRequestBodyRole, CreateDatasetItemMessagesType, CreateDatasetItemMessagesDatasetsRequestRole, CreateDatasetItem2DatasetsRequestRequestBodyType, CreateDatasetItem2DatasetsRequestType, CreateDatasetItem2Format, CreateDatasetItem2DatasetsType, CreateDatasetItem2Detail, CreateDatasetItem2Type, CreateDatasetItemMessagesDatasetsRole, CreateDatasetItemMessagesRole, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBody5Role, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessagesType, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole, CreateDatasetItemMessagesDatasetsType, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONRole, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyType, CreateDatasetItem2DatasetsResponse200ApplicationJSONType, CreateDatasetItem2DatasetsFormat, CreateDatasetItem2DatasetsResponse200Type, CreateDatasetItem2DatasetsDetail, CreateDatasetItem2DatasetsResponseType, CreateDatasetItemMessagesDatasetsResponse200Role, CreateDatasetItemMessagesDatasetsResponseRole, CreateDatasetItemMessagesDatasetsRequestRequestBody5Role$inboundSchema, CreateDatasetItemMessagesDatasetsRequestRequestBody5Role$outboundSchema, CreateDatasetItemMessagesDatasetsRequestRequestBody5Role$, CreateDatasetItemMessagesDatasetsRequestContent$inboundSchema, CreateDatasetItemMessagesDatasetsRequestContent$outboundSchema, CreateDatasetItemMessagesDatasetsRequestContent$, CreateDatasetItemMessagesToolMessage$inboundSchema, CreateDatasetItemMessagesToolMessage$outboundSchema, CreateDatasetItemMessagesToolMessage$, CreateDatasetItem2DatasetsRequestRequestBodyMessages4Type$inboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyMessages4Type$outboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyMessages4Type$, CreateDatasetItem2RefusalContentPart$inboundSchema, CreateDatasetItem2RefusalContentPart$outboundSchema, CreateDatasetItem2RefusalContentPart$, CreateDatasetItem2DatasetsRequestRequestBodyMessagesType$inboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyMessagesType$outboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyMessagesType$, CreateDatasetItem2TextContentPart$inboundSchema, CreateDatasetItem2TextContentPart$outboundSchema, CreateDatasetItem2TextContentPart$, CreateDatasetItemContentDatasets2$inboundSchema, CreateDatasetItemContentDatasets2$outboundSchema, CreateDatasetItemContentDatasets2$, CreateDatasetItemMessagesDatasetsContent$inboundSchema, CreateDatasetItemMessagesDatasetsContent$outboundSchema, CreateDatasetItemMessagesDatasetsContent$, CreateDatasetItemMessagesDatasetsRequestRequestBodyRole$inboundSchema, CreateDatasetItemMessagesDatasetsRequestRequestBodyRole$outboundSchema, CreateDatasetItemMessagesDatasetsRequestRequestBodyRole$, CreateDatasetItemMessagesAudio$inboundSchema, CreateDatasetItemMessagesAudio$outboundSchema, CreateDatasetItemMessagesAudio$, CreateDatasetItemMessagesType$inboundSchema, CreateDatasetItemMessagesType$outboundSchema, CreateDatasetItemMessagesType$, CreateDatasetItemMessagesFunction$inboundSchema, CreateDatasetItemMessagesFunction$outboundSchema, CreateDatasetItemMessagesFunction$, CreateDatasetItemMessagesToolCalls$inboundSchema, CreateDatasetItemMessagesToolCalls$outboundSchema, CreateDatasetItemMessagesToolCalls$, CreateDatasetItemMessagesAssistantMessage$inboundSchema, CreateDatasetItemMessagesAssistantMessage$outboundSchema, CreateDatasetItemMessagesAssistantMessage$, CreateDatasetItemMessagesDatasetsRequestRole$inboundSchema, CreateDatasetItemMessagesDatasetsRequestRole$outboundSchema, CreateDatasetItemMessagesDatasetsRequestRole$, CreateDatasetItem2DatasetsRequestRequestBodyType$inboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyType$outboundSchema, CreateDatasetItem2DatasetsRequestRequestBodyType$, CreateDatasetItem2File$inboundSchema, CreateDatasetItem2File$outboundSchema, CreateDatasetItem2File$, CreateDatasetItem24$inboundSchema, CreateDatasetItem24$outboundSchema, CreateDatasetItem24$, CreateDatasetItem2DatasetsRequestType$inboundSchema, CreateDatasetItem2DatasetsRequestType$outboundSchema, CreateDatasetItem2DatasetsRequestType$, CreateDatasetItem2Format$inboundSchema, CreateDatasetItem2Format$outboundSchema, CreateDatasetItem2Format$, CreateDatasetItem2InputAudio$inboundSchema, CreateDatasetItem2InputAudio$outboundSchema, CreateDatasetItem2InputAudio$, CreateDatasetItem23$inboundSchema, CreateDatasetItem23$outboundSchema, CreateDatasetItem23$, CreateDatasetItem2DatasetsType$inboundSchema, CreateDatasetItem2DatasetsType$outboundSchema, CreateDatasetItem2DatasetsType$, CreateDatasetItem2Detail$inboundSchema, CreateDatasetItem2Detail$outboundSchema, CreateDatasetItem2Detail$, CreateDatasetItem2ImageUrl$inboundSchema, CreateDatasetItem2ImageUrl$outboundSchema, CreateDatasetItem2ImageUrl$, CreateDatasetItem22$inboundSchema, CreateDatasetItem22$outboundSchema, CreateDatasetItem22$, CreateDatasetItem2Type$inboundSchema, CreateDatasetItem2Type$outboundSchema, CreateDatasetItem2Type$, CreateDatasetItem21$inboundSchema, CreateDatasetItem21$outboundSchema, CreateDatasetItem21$, CreateDatasetItemContent2$inboundSchema, CreateDatasetItemContent2$outboundSchema, CreateDatasetItemContent2$, CreateDatasetItemMessagesContent$inboundSchema, CreateDatasetItemMessagesContent$outboundSchema, CreateDatasetItemMessagesContent$, CreateDatasetItemMessagesUserMessage$inboundSchema, CreateDatasetItemMessagesUserMessage$outboundSchema, CreateDatasetItemMessagesUserMessage$, CreateDatasetItemMessagesDatasetsRole$inboundSchema, CreateDatasetItemMessagesDatasetsRole$outboundSchema, CreateDatasetItemMessagesDatasetsRole$, CreateDatasetItemMessagesSystemMessage$inboundSchema, CreateDatasetItemMessagesSystemMessage$outboundSchema, CreateDatasetItemMessagesSystemMessage$, CreateDatasetItemMessagesRole$inboundSchema, CreateDatasetItemMessagesRole$outboundSchema, CreateDatasetItemMessagesRole$, CreateDatasetItemMessagesDeveloperMessage$inboundSchema, CreateDatasetItemMessagesDeveloperMessage$outboundSchema, CreateDatasetItemMessagesDeveloperMessage$, CreateDatasetItemMessages$inboundSchema, CreateDatasetItemMessages$outboundSchema, CreateDatasetItemMessages$, CreateDatasetItemRequestBody$inboundSchema, CreateDatasetItemRequestBody$outboundSchema, CreateDatasetItemRequestBody$, CreateDatasetItemRequest$inboundSchema, CreateDatasetItemRequest$outboundSchema, CreateDatasetItemRequest$, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBody5Role$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBody5Role$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBody5Role$, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONContent$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONContent$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONContent$, CreateDatasetItemMessagesDatasetsToolMessage$inboundSchema, CreateDatasetItemMessagesDatasetsToolMessage$outboundSchema, CreateDatasetItemMessagesDatasetsToolMessage$, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type$inboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type$outboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type$, CreateDatasetItem2DatasetsRefusalContentPart$inboundSchema, CreateDatasetItem2DatasetsRefusalContentPart$outboundSchema, CreateDatasetItem2DatasetsRefusalContentPart$, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$inboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$outboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$, CreateDatasetItem2DatasetsTextContentPart$inboundSchema, CreateDatasetItem2DatasetsTextContentPart$outboundSchema, CreateDatasetItem2DatasetsTextContentPart$, CreateDatasetItemContentDatasetsResponse2002$inboundSchema, CreateDatasetItemContentDatasetsResponse2002$outboundSchema, CreateDatasetItemContentDatasetsResponse2002$, CreateDatasetItemMessagesDatasetsResponse200Content$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200Content$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200Content$, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole$, CreateDatasetItemMessagesDatasetsAudio$inboundSchema, CreateDatasetItemMessagesDatasetsAudio$outboundSchema, CreateDatasetItemMessagesDatasetsAudio$, CreateDatasetItemMessagesDatasetsType$inboundSchema, CreateDatasetItemMessagesDatasetsType$outboundSchema, CreateDatasetItemMessagesDatasetsType$, CreateDatasetItemMessagesDatasetsFunction$inboundSchema, CreateDatasetItemMessagesDatasetsFunction$outboundSchema, CreateDatasetItemMessagesDatasetsFunction$, CreateDatasetItemMessagesDatasetsToolCalls$inboundSchema, CreateDatasetItemMessagesDatasetsToolCalls$outboundSchema, CreateDatasetItemMessagesDatasetsToolCalls$, CreateDatasetItemMessagesDatasetsAssistantMessage$inboundSchema, CreateDatasetItemMessagesDatasetsAssistantMessage$outboundSchema, CreateDatasetItemMessagesDatasetsAssistantMessage$, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONRole$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONRole$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONRole$, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONResponseBodyType$, CreateDatasetItem2DatasetsFile$inboundSchema, CreateDatasetItem2DatasetsFile$outboundSchema, CreateDatasetItem2DatasetsFile$, CreateDatasetItem2Datasets4$inboundSchema, CreateDatasetItem2Datasets4$outboundSchema, CreateDatasetItem2Datasets4$, CreateDatasetItem2DatasetsResponse200ApplicationJSONType$inboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONType$outboundSchema, CreateDatasetItem2DatasetsResponse200ApplicationJSONType$, CreateDatasetItem2DatasetsFormat$inboundSchema, CreateDatasetItem2DatasetsFormat$outboundSchema, CreateDatasetItem2DatasetsFormat$, CreateDatasetItem2DatasetsInputAudio$inboundSchema, CreateDatasetItem2DatasetsInputAudio$outboundSchema, CreateDatasetItem2DatasetsInputAudio$, CreateDatasetItem2Datasets3$inboundSchema, CreateDatasetItem2Datasets3$outboundSchema, CreateDatasetItem2Datasets3$, CreateDatasetItem2DatasetsResponse200Type$inboundSchema, CreateDatasetItem2DatasetsResponse200Type$outboundSchema, CreateDatasetItem2DatasetsResponse200Type$, CreateDatasetItem2DatasetsDetail$inboundSchema, CreateDatasetItem2DatasetsDetail$outboundSchema, CreateDatasetItem2DatasetsDetail$, CreateDatasetItem2DatasetsImageUrl$inboundSchema, CreateDatasetItem2DatasetsImageUrl$outboundSchema, CreateDatasetItem2DatasetsImageUrl$, CreateDatasetItem2Datasets2$inboundSchema, CreateDatasetItem2Datasets2$outboundSchema, CreateDatasetItem2Datasets2$, CreateDatasetItem2DatasetsResponseType$inboundSchema, CreateDatasetItem2DatasetsResponseType$outboundSchema, CreateDatasetItem2DatasetsResponseType$, CreateDatasetItem2Datasets1$inboundSchema, CreateDatasetItem2Datasets1$outboundSchema, CreateDatasetItem2Datasets1$, CreateDatasetItemContentDatasetsResponse2$inboundSchema, CreateDatasetItemContentDatasetsResponse2$outboundSchema, CreateDatasetItemContentDatasetsResponse2$, CreateDatasetItemMessagesDatasetsResponseContent$inboundSchema, CreateDatasetItemMessagesDatasetsResponseContent$outboundSchema, CreateDatasetItemMessagesDatasetsResponseContent$, CreateDatasetItemMessagesDatasetsUserMessage$inboundSchema, CreateDatasetItemMessagesDatasetsUserMessage$outboundSchema, CreateDatasetItemMessagesDatasetsUserMessage$, CreateDatasetItemMessagesDatasetsResponse200Role$inboundSchema, CreateDatasetItemMessagesDatasetsResponse200Role$outboundSchema, CreateDatasetItemMessagesDatasetsResponse200Role$, CreateDatasetItemMessagesDatasetsSystemMessage$inboundSchema, CreateDatasetItemMessagesDatasetsSystemMessage$outboundSchema, CreateDatasetItemMessagesDatasetsSystemMessage$, CreateDatasetItemMessagesDatasetsResponseRole$inboundSchema, CreateDatasetItemMessagesDatasetsResponseRole$outboundSchema, CreateDatasetItemMessagesDatasetsResponseRole$, CreateDatasetItemMessagesDatasetsDeveloperMessage$inboundSchema, CreateDatasetItemMessagesDatasetsDeveloperMessage$outboundSchema, CreateDatasetItemMessagesDatasetsDeveloperMessage$, CreateDatasetItemDatasetsMessages$inboundSchema, CreateDatasetItemDatasetsMessages$outboundSchema, CreateDatasetItemDatasetsMessages$, CreateDatasetItemResponseBody$inboundSchema, CreateDatasetItemResponseBody$outboundSchema, CreateDatasetItemResponseBody$;
|
|
36373
36283
|
var init_createdatasetitem = __esm(() => {
|
|
@@ -37483,7 +37393,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37483
37393
|
created_by_id: stringType().optional(),
|
|
37484
37394
|
updated_by_id: stringType().optional(),
|
|
37485
37395
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
37486
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
37396
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
37487
37397
|
}).transform((v2) => {
|
|
37488
37398
|
return remap(v2, {
|
|
37489
37399
|
_id: "id",
|
|
@@ -37510,7 +37420,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37510
37420
|
createdById: stringType().optional(),
|
|
37511
37421
|
updatedById: stringType().optional(),
|
|
37512
37422
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
37513
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
37423
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
37514
37424
|
}).transform((v2) => {
|
|
37515
37425
|
return remap(v2, {
|
|
37516
37426
|
id: "_id",
|
|
@@ -37732,7 +37642,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37732
37642
|
CreateDatasourceStatus$.outboundSchema = CreateDatasourceStatus$outboundSchema;
|
|
37733
37643
|
})(CreateDatasourceStatus$ ||= {});
|
|
37734
37644
|
CreateDatasourceResponseBody$inboundSchema = objectType({
|
|
37735
|
-
_id: stringType().default("
|
|
37645
|
+
_id: stringType().default("01JYH76KR42Q33670F129F5Y4K"),
|
|
37736
37646
|
display_name: stringType(),
|
|
37737
37647
|
description: stringType().optional(),
|
|
37738
37648
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -37755,7 +37665,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37755
37665
|
});
|
|
37756
37666
|
});
|
|
37757
37667
|
CreateDatasourceResponseBody$outboundSchema = objectType({
|
|
37758
|
-
id: stringType().default("
|
|
37668
|
+
id: stringType().default("01JYH76KR42Q33670F129F5Y4K"),
|
|
37759
37669
|
displayName: stringType(),
|
|
37760
37670
|
description: stringType().optional(),
|
|
37761
37671
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -37783,98 +37693,6 @@ var init_createdatasource = __esm(() => {
|
|
|
37783
37693
|
})(CreateDatasourceResponseBody$ ||= {});
|
|
37784
37694
|
});
|
|
37785
37695
|
|
|
37786
|
-
// src/models/operations/createdeploymentexperiment.ts
|
|
37787
|
-
var CreateDeploymentExperimentType, CreateDeploymentExperimentType$inboundSchema, CreateDeploymentExperimentType$outboundSchema, CreateDeploymentExperimentType$, CreateDeploymentExperimentRequestBody$inboundSchema, CreateDeploymentExperimentRequestBody$outboundSchema, CreateDeploymentExperimentRequestBody$, CreateDeploymentExperimentRequest$inboundSchema, CreateDeploymentExperimentRequest$outboundSchema, CreateDeploymentExperimentRequest$, CreateDeploymentExperimentResponseBody$inboundSchema, CreateDeploymentExperimentResponseBody$outboundSchema, CreateDeploymentExperimentResponseBody$;
|
|
37788
|
-
var init_createdeploymentexperiment = __esm(() => {
|
|
37789
|
-
init_esm();
|
|
37790
|
-
init_primitives();
|
|
37791
|
-
CreateDeploymentExperimentType = {
|
|
37792
|
-
DeploymentExperiment: "deployment_experiment"
|
|
37793
|
-
};
|
|
37794
|
-
CreateDeploymentExperimentType$inboundSchema = nativeEnumType(CreateDeploymentExperimentType);
|
|
37795
|
-
CreateDeploymentExperimentType$outboundSchema = CreateDeploymentExperimentType$inboundSchema;
|
|
37796
|
-
((CreateDeploymentExperimentType$) => {
|
|
37797
|
-
CreateDeploymentExperimentType$.inboundSchema = CreateDeploymentExperimentType$inboundSchema;
|
|
37798
|
-
CreateDeploymentExperimentType$.outboundSchema = CreateDeploymentExperimentType$outboundSchema;
|
|
37799
|
-
})(CreateDeploymentExperimentType$ ||= {});
|
|
37800
|
-
CreateDeploymentExperimentRequestBody$inboundSchema = objectType({
|
|
37801
|
-
experiment_key: stringType(),
|
|
37802
|
-
evaluators: arrayType(stringType()).optional(),
|
|
37803
|
-
path: stringType().optional(),
|
|
37804
|
-
dataset_id: stringType(),
|
|
37805
|
-
type: CreateDeploymentExperimentType$inboundSchema,
|
|
37806
|
-
context: recordType(anyType()).optional()
|
|
37807
|
-
}).transform((v2) => {
|
|
37808
|
-
return remap(v2, {
|
|
37809
|
-
experiment_key: "experimentKey",
|
|
37810
|
-
dataset_id: "datasetId"
|
|
37811
|
-
});
|
|
37812
|
-
});
|
|
37813
|
-
CreateDeploymentExperimentRequestBody$outboundSchema = objectType({
|
|
37814
|
-
experimentKey: stringType(),
|
|
37815
|
-
evaluators: arrayType(stringType()).optional(),
|
|
37816
|
-
path: stringType().optional(),
|
|
37817
|
-
datasetId: stringType(),
|
|
37818
|
-
type: CreateDeploymentExperimentType$outboundSchema,
|
|
37819
|
-
context: recordType(anyType()).optional()
|
|
37820
|
-
}).transform((v2) => {
|
|
37821
|
-
return remap(v2, {
|
|
37822
|
-
experimentKey: "experiment_key",
|
|
37823
|
-
datasetId: "dataset_id"
|
|
37824
|
-
});
|
|
37825
|
-
});
|
|
37826
|
-
((CreateDeploymentExperimentRequestBody$) => {
|
|
37827
|
-
CreateDeploymentExperimentRequestBody$.inboundSchema = CreateDeploymentExperimentRequestBody$inboundSchema;
|
|
37828
|
-
CreateDeploymentExperimentRequestBody$.outboundSchema = CreateDeploymentExperimentRequestBody$outboundSchema;
|
|
37829
|
-
})(CreateDeploymentExperimentRequestBody$ ||= {});
|
|
37830
|
-
CreateDeploymentExperimentRequest$inboundSchema = objectType({
|
|
37831
|
-
deployment_key: stringType(),
|
|
37832
|
-
RequestBody: lazyType(() => CreateDeploymentExperimentRequestBody$inboundSchema).optional()
|
|
37833
|
-
}).transform((v2) => {
|
|
37834
|
-
return remap(v2, {
|
|
37835
|
-
deployment_key: "deploymentKey",
|
|
37836
|
-
RequestBody: "requestBody"
|
|
37837
|
-
});
|
|
37838
|
-
});
|
|
37839
|
-
CreateDeploymentExperimentRequest$outboundSchema = objectType({
|
|
37840
|
-
deploymentKey: stringType(),
|
|
37841
|
-
requestBody: lazyType(() => CreateDeploymentExperimentRequestBody$outboundSchema).optional()
|
|
37842
|
-
}).transform((v2) => {
|
|
37843
|
-
return remap(v2, {
|
|
37844
|
-
deploymentKey: "deployment_key",
|
|
37845
|
-
requestBody: "RequestBody"
|
|
37846
|
-
});
|
|
37847
|
-
});
|
|
37848
|
-
((CreateDeploymentExperimentRequest$) => {
|
|
37849
|
-
CreateDeploymentExperimentRequest$.inboundSchema = CreateDeploymentExperimentRequest$inboundSchema;
|
|
37850
|
-
CreateDeploymentExperimentRequest$.outboundSchema = CreateDeploymentExperimentRequest$outboundSchema;
|
|
37851
|
-
})(CreateDeploymentExperimentRequest$ ||= {});
|
|
37852
|
-
CreateDeploymentExperimentResponseBody$inboundSchema = objectType({
|
|
37853
|
-
url: stringType(),
|
|
37854
|
-
experiment_id: stringType(),
|
|
37855
|
-
experiment_run_id: stringType()
|
|
37856
|
-
}).transform((v2) => {
|
|
37857
|
-
return remap(v2, {
|
|
37858
|
-
experiment_id: "experimentId",
|
|
37859
|
-
experiment_run_id: "experimentRunId"
|
|
37860
|
-
});
|
|
37861
|
-
});
|
|
37862
|
-
CreateDeploymentExperimentResponseBody$outboundSchema = objectType({
|
|
37863
|
-
url: stringType(),
|
|
37864
|
-
experimentId: stringType(),
|
|
37865
|
-
experimentRunId: stringType()
|
|
37866
|
-
}).transform((v2) => {
|
|
37867
|
-
return remap(v2, {
|
|
37868
|
-
experimentId: "experiment_id",
|
|
37869
|
-
experimentRunId: "experiment_run_id"
|
|
37870
|
-
});
|
|
37871
|
-
});
|
|
37872
|
-
((CreateDeploymentExperimentResponseBody$) => {
|
|
37873
|
-
CreateDeploymentExperimentResponseBody$.inboundSchema = CreateDeploymentExperimentResponseBody$inboundSchema;
|
|
37874
|
-
CreateDeploymentExperimentResponseBody$.outboundSchema = CreateDeploymentExperimentResponseBody$outboundSchema;
|
|
37875
|
-
})(CreateDeploymentExperimentResponseBody$ ||= {});
|
|
37876
|
-
});
|
|
37877
|
-
|
|
37878
37696
|
// src/models/operations/createeval.ts
|
|
37879
37697
|
var CreateEvalGuardrailConfigEvalsRequestRequestBody42Type, CreateEvalGuardrailConfigEvalsOperator, CreateEvalGuardrailConfigEvalsRequestRequestBody4Type, CreateEvalRequestBodyEvalsRequestType, CreateEvalGuardrailConfigEvalsRequestRequestBody3Type, CreateEvalGuardrailConfigOperator, CreateEvalGuardrailConfigEvalsRequestRequestBodyType, CreateEvalRequestBodyEvalsType, Method, CreateEvalGuardrailConfigEvalsRequestType, GuardrailConfigOperator, CreateEvalGuardrailConfigEvalsType, CreateEvalRequestBodyType, CreateEvalGuardrailConfigType, Operator, GuardrailConfigType, RequestBodyType, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody4Type, CreateEvalResponseBodyEvalsResponseType, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody32Type, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody3Type, CreateEvalResponseBodyEvalsType, ResponseBodyMethod, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType, CreateEvalGuardrailConfigEvalsResponse200Operator, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONType, CreateEvalResponseBodyType, CreateEvalGuardrailConfigEvalsResponse200Type, CreateEvalGuardrailConfigEvalsResponseOperator, CreateEvalGuardrailConfigEvalsResponseType, ResponseBodyType, CreateEvalGuardrailConfigEvalsRequestRequestBody42Type$inboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody42Type$outboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody42Type$, CreateEvalGuardrailConfigEvalsOperator$inboundSchema, CreateEvalGuardrailConfigEvalsOperator$outboundSchema, CreateEvalGuardrailConfigEvalsOperator$, CreateEvalGuardrailConfigEvalsNumber$inboundSchema, CreateEvalGuardrailConfigEvalsNumber$outboundSchema, CreateEvalGuardrailConfigEvalsNumber$, CreateEvalGuardrailConfigEvalsRequestRequestBody4Type$inboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody4Type$outboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody4Type$, CreateEvalGuardrailConfigEvalsBoolean$inboundSchema, CreateEvalGuardrailConfigEvalsBoolean$outboundSchema, CreateEvalGuardrailConfigEvalsBoolean$, CreateEvalRequestBodyEvalsGuardrailConfig$inboundSchema, CreateEvalRequestBodyEvalsGuardrailConfig$outboundSchema, CreateEvalRequestBodyEvalsGuardrailConfig$, CreateEvalRequestBodyEvalsRequestType$inboundSchema, CreateEvalRequestBodyEvalsRequestType$outboundSchema, CreateEvalRequestBodyEvalsRequestType$, Python$inboundSchema, Python$outboundSchema, Python$, CreateEvalGuardrailConfigEvalsRequestRequestBody3Type$inboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody3Type$outboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBody3Type$, CreateEvalGuardrailConfigOperator$inboundSchema, CreateEvalGuardrailConfigOperator$outboundSchema, CreateEvalGuardrailConfigOperator$, CreateEvalGuardrailConfigNumber$inboundSchema, CreateEvalGuardrailConfigNumber$outboundSchema, CreateEvalGuardrailConfigNumber$, CreateEvalGuardrailConfigEvalsRequestRequestBodyType$inboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBodyType$outboundSchema, CreateEvalGuardrailConfigEvalsRequestRequestBodyType$, CreateEvalGuardrailConfigBoolean$inboundSchema, CreateEvalGuardrailConfigBoolean$outboundSchema, CreateEvalGuardrailConfigBoolean$, CreateEvalRequestBodyGuardrailConfig$inboundSchema, CreateEvalRequestBodyGuardrailConfig$outboundSchema, CreateEvalRequestBodyGuardrailConfig$, CreateEvalRequestBodyEvalsType$inboundSchema, CreateEvalRequestBodyEvalsType$outboundSchema, CreateEvalRequestBodyEvalsType$, Method$inboundSchema, Method$outboundSchema, Method$, Http$inboundSchema, Http$outboundSchema, Http$, CreateEvalGuardrailConfigEvalsRequestType$inboundSchema, CreateEvalGuardrailConfigEvalsRequestType$outboundSchema, CreateEvalGuardrailConfigEvalsRequestType$, GuardrailConfigOperator$inboundSchema, GuardrailConfigOperator$outboundSchema, GuardrailConfigOperator$, GuardrailConfigNumber$inboundSchema, GuardrailConfigNumber$outboundSchema, GuardrailConfigNumber$, CreateEvalGuardrailConfigEvalsType$inboundSchema, CreateEvalGuardrailConfigEvalsType$outboundSchema, CreateEvalGuardrailConfigEvalsType$, GuardrailConfigBoolean$inboundSchema, GuardrailConfigBoolean$outboundSchema, GuardrailConfigBoolean$, RequestBodyGuardrailConfig$inboundSchema, RequestBodyGuardrailConfig$outboundSchema, RequestBodyGuardrailConfig$, CreateEvalRequestBodyType$inboundSchema, CreateEvalRequestBodyType$outboundSchema, CreateEvalRequestBodyType$, Json$inboundSchema, Json$outboundSchema, Json$, CreateEvalGuardrailConfigType$inboundSchema, CreateEvalGuardrailConfigType$outboundSchema, CreateEvalGuardrailConfigType$, Operator$inboundSchema, Operator$outboundSchema, Operator$, NumberT$inboundSchema, NumberT$outboundSchema, NumberT$, GuardrailConfigType$inboundSchema, GuardrailConfigType$outboundSchema, GuardrailConfigType$, Boolean$inboundSchema, Boolean$outboundSchema, Boolean$, GuardrailConfig$inboundSchema, GuardrailConfig$outboundSchema, GuardrailConfig$, RequestBodyType$inboundSchema, RequestBodyType$outboundSchema, RequestBodyType$, Llm$inboundSchema, Llm$outboundSchema, Llm$, CreateEvalRequestBody$inboundSchema, CreateEvalRequestBody$outboundSchema, CreateEvalRequestBody$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody42Type$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody4Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody4Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody4Type$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$, CreateEvalResponseBodyEvalsResponseGuardrailConfig$inboundSchema, CreateEvalResponseBodyEvalsResponseGuardrailConfig$outboundSchema, CreateEvalResponseBodyEvalsResponseGuardrailConfig$, CreateEvalResponseBodyEvalsResponseType$inboundSchema, CreateEvalResponseBodyEvalsResponseType$outboundSchema, CreateEvalResponseBodyEvalsResponseType$, ResponseBodyPython$inboundSchema, ResponseBodyPython$outboundSchema, ResponseBodyPython$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody32Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody32Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody32Type$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody3Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody3Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody3Type$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$, CreateEvalResponseBodyEvalsGuardrailConfig$inboundSchema, CreateEvalResponseBodyEvalsGuardrailConfig$outboundSchema, CreateEvalResponseBodyEvalsGuardrailConfig$, CreateEvalResponseBodyEvalsType$inboundSchema, CreateEvalResponseBodyEvalsType$outboundSchema, CreateEvalResponseBodyEvalsType$, ResponseBodyMethod$inboundSchema, ResponseBodyMethod$outboundSchema, ResponseBodyMethod$, ResponseBodyHTTP$inboundSchema, ResponseBodyHTTP$outboundSchema, ResponseBodyHTTP$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyType$, CreateEvalGuardrailConfigEvalsResponse200Operator$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200Operator$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200Operator$, CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200Number$, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONType$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONType$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONType$, CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200Boolean$, CreateEvalResponseBodyGuardrailConfig$inboundSchema, CreateEvalResponseBodyGuardrailConfig$outboundSchema, CreateEvalResponseBodyGuardrailConfig$, CreateEvalResponseBodyType$inboundSchema, CreateEvalResponseBodyType$outboundSchema, CreateEvalResponseBodyType$, ResponseBodyJSON$inboundSchema, ResponseBodyJSON$outboundSchema, ResponseBodyJSON$, CreateEvalGuardrailConfigEvalsResponse200Type$inboundSchema, CreateEvalGuardrailConfigEvalsResponse200Type$outboundSchema, CreateEvalGuardrailConfigEvalsResponse200Type$, CreateEvalGuardrailConfigEvalsResponseOperator$inboundSchema, CreateEvalGuardrailConfigEvalsResponseOperator$outboundSchema, CreateEvalGuardrailConfigEvalsResponseOperator$, CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema, CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema, CreateEvalGuardrailConfigEvalsResponseNumber$, CreateEvalGuardrailConfigEvalsResponseType$inboundSchema, CreateEvalGuardrailConfigEvalsResponseType$outboundSchema, CreateEvalGuardrailConfigEvalsResponseType$, CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema, CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema, CreateEvalGuardrailConfigEvalsResponseBoolean$, ResponseBodyGuardrailConfig$inboundSchema, ResponseBodyGuardrailConfig$outboundSchema, ResponseBodyGuardrailConfig$, ResponseBodyType$inboundSchema, ResponseBodyType$outboundSchema, ResponseBodyType$, ResponseBodyLLM$inboundSchema, ResponseBodyLLM$outboundSchema, ResponseBodyLLM$, CreateEvalResponseBody$inboundSchema, CreateEvalResponseBody$outboundSchema, CreateEvalResponseBody$;
|
|
37880
37698
|
var init_createeval = __esm(() => {
|
|
@@ -38523,8 +38341,8 @@ var init_createeval = __esm(() => {
|
|
|
38523
38341
|
ResponseBodyPython$inboundSchema = objectType({
|
|
38524
38342
|
_id: stringType(),
|
|
38525
38343
|
description: stringType(),
|
|
38526
|
-
created: stringType().default("2025-06-
|
|
38527
|
-
updated: stringType().default("2025-06-
|
|
38344
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38345
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38528
38346
|
guardrail_config: unionType([
|
|
38529
38347
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
38530
38348
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -38541,8 +38359,8 @@ var init_createeval = __esm(() => {
|
|
|
38541
38359
|
ResponseBodyPython$outboundSchema = objectType({
|
|
38542
38360
|
id: stringType(),
|
|
38543
38361
|
description: stringType(),
|
|
38544
|
-
created: stringType().default("2025-06-
|
|
38545
|
-
updated: stringType().default("2025-06-
|
|
38362
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38363
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38546
38364
|
guardrailConfig: unionType([
|
|
38547
38365
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
38548
38366
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -38635,8 +38453,8 @@ var init_createeval = __esm(() => {
|
|
|
38635
38453
|
ResponseBodyHTTP$inboundSchema = objectType({
|
|
38636
38454
|
_id: stringType(),
|
|
38637
38455
|
description: stringType(),
|
|
38638
|
-
created: stringType().default("2025-06-
|
|
38639
|
-
updated: stringType().default("2025-06-
|
|
38456
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38457
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38640
38458
|
guardrail_config: unionType([
|
|
38641
38459
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
38642
38460
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -38656,8 +38474,8 @@ var init_createeval = __esm(() => {
|
|
|
38656
38474
|
ResponseBodyHTTP$outboundSchema = objectType({
|
|
38657
38475
|
id: stringType(),
|
|
38658
38476
|
description: stringType(),
|
|
38659
|
-
created: stringType().default("2025-06-
|
|
38660
|
-
updated: stringType().default("2025-06-
|
|
38477
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38478
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38661
38479
|
guardrailConfig: unionType([
|
|
38662
38480
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
38663
38481
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -38747,8 +38565,8 @@ var init_createeval = __esm(() => {
|
|
|
38747
38565
|
ResponseBodyJSON$inboundSchema = objectType({
|
|
38748
38566
|
_id: stringType(),
|
|
38749
38567
|
description: stringType(),
|
|
38750
|
-
created: stringType().default("2025-06-
|
|
38751
|
-
updated: stringType().default("2025-06-
|
|
38568
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38569
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38752
38570
|
guardrail_config: unionType([
|
|
38753
38571
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
38754
38572
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -38765,8 +38583,8 @@ var init_createeval = __esm(() => {
|
|
|
38765
38583
|
ResponseBodyJSON$outboundSchema = objectType({
|
|
38766
38584
|
id: stringType(),
|
|
38767
38585
|
description: stringType(),
|
|
38768
|
-
created: stringType().default("2025-06-
|
|
38769
|
-
updated: stringType().default("2025-06-
|
|
38586
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38587
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38770
38588
|
guardrailConfig: unionType([
|
|
38771
38589
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
38772
38590
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -38853,8 +38671,8 @@ var init_createeval = __esm(() => {
|
|
|
38853
38671
|
ResponseBodyLLM$inboundSchema = objectType({
|
|
38854
38672
|
_id: stringType(),
|
|
38855
38673
|
description: stringType(),
|
|
38856
|
-
created: stringType().default("2025-06-
|
|
38857
|
-
updated: stringType().default("2025-06-
|
|
38674
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38675
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38858
38676
|
guardrail_config: unionType([
|
|
38859
38677
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
38860
38678
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -38872,8 +38690,8 @@ var init_createeval = __esm(() => {
|
|
|
38872
38690
|
ResponseBodyLLM$outboundSchema = objectType({
|
|
38873
38691
|
id: stringType(),
|
|
38874
38692
|
description: stringType(),
|
|
38875
|
-
created: stringType().default("2025-06-
|
|
38876
|
-
updated: stringType().default("2025-06-
|
|
38693
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38694
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
38877
38695
|
guardrailConfig: unionType([
|
|
38878
38696
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
38879
38697
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -39245,6 +39063,7 @@ var init_createprompt = __esm(() => {
|
|
|
39245
39063
|
Base64: "base64"
|
|
39246
39064
|
};
|
|
39247
39065
|
ReasoningEffort = {
|
|
39066
|
+
Disable: "disable",
|
|
39248
39067
|
Low: "low",
|
|
39249
39068
|
Medium: "medium",
|
|
39250
39069
|
High: "high"
|
|
@@ -39358,6 +39177,7 @@ var init_createprompt = __esm(() => {
|
|
|
39358
39177
|
Base64: "base64"
|
|
39359
39178
|
};
|
|
39360
39179
|
CreatePromptReasoningEffort = {
|
|
39180
|
+
Disable: "disable",
|
|
39361
39181
|
Low: "low",
|
|
39362
39182
|
Medium: "medium",
|
|
39363
39183
|
High: "high"
|
|
@@ -41909,6 +41729,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
41909
41729
|
Base64: "base64"
|
|
41910
41730
|
};
|
|
41911
41731
|
DeploymentGetConfigReasoningEffort = {
|
|
41732
|
+
Disable: "disable",
|
|
41912
41733
|
Low: "low",
|
|
41913
41734
|
Medium: "medium",
|
|
41914
41735
|
High: "high"
|
|
@@ -44408,6 +44229,7 @@ var init_deployments = __esm(() => {
|
|
|
44408
44229
|
Base64: "base64"
|
|
44409
44230
|
};
|
|
44410
44231
|
DeploymentsReasoningEffort = {
|
|
44232
|
+
Disable: "disable",
|
|
44411
44233
|
Low: "low",
|
|
44412
44234
|
Medium: "medium",
|
|
44413
44235
|
High: "high"
|
|
@@ -48569,7 +48391,7 @@ var init_fileget = __esm(() => {
|
|
|
48569
48391
|
bytes: numberType(),
|
|
48570
48392
|
file_name: stringType(),
|
|
48571
48393
|
workspace_id: stringType(),
|
|
48572
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48394
|
+
created: stringType().datetime({ offset: true }).default("2025-06-24T14:59:10.803Z").transform((v2) => new Date(v2))
|
|
48573
48395
|
}).transform((v2) => {
|
|
48574
48396
|
return remap(v2, {
|
|
48575
48397
|
_id: "id",
|
|
@@ -48585,7 +48407,7 @@ var init_fileget = __esm(() => {
|
|
|
48585
48407
|
bytes: numberType(),
|
|
48586
48408
|
fileName: stringType(),
|
|
48587
48409
|
workspaceId: stringType(),
|
|
48588
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48410
|
+
created: dateType().default(() => new Date("2025-06-24T14:59:10.803Z")).transform((v2) => v2.toISOString())
|
|
48589
48411
|
}).transform((v2) => {
|
|
48590
48412
|
return remap(v2, {
|
|
48591
48413
|
id: "_id",
|
|
@@ -48656,7 +48478,7 @@ var init_filelist = __esm(() => {
|
|
|
48656
48478
|
bytes: numberType(),
|
|
48657
48479
|
file_name: stringType(),
|
|
48658
48480
|
workspace_id: stringType(),
|
|
48659
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48481
|
+
created: stringType().datetime({ offset: true }).default("2025-06-24T14:59:10.803Z").transform((v2) => new Date(v2))
|
|
48660
48482
|
}).transform((v2) => {
|
|
48661
48483
|
return remap(v2, {
|
|
48662
48484
|
_id: "id",
|
|
@@ -48672,7 +48494,7 @@ var init_filelist = __esm(() => {
|
|
|
48672
48494
|
bytes: numberType(),
|
|
48673
48495
|
fileName: stringType(),
|
|
48674
48496
|
workspaceId: stringType(),
|
|
48675
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48497
|
+
created: dateType().default(() => new Date("2025-06-24T14:59:10.803Z")).transform((v2) => v2.toISOString())
|
|
48676
48498
|
}).transform((v2) => {
|
|
48677
48499
|
return remap(v2, {
|
|
48678
48500
|
id: "_id",
|
|
@@ -48804,7 +48626,7 @@ var init_fileupload = __esm(() => {
|
|
|
48804
48626
|
bytes: numberType(),
|
|
48805
48627
|
file_name: stringType(),
|
|
48806
48628
|
workspace_id: stringType(),
|
|
48807
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48629
|
+
created: stringType().datetime({ offset: true }).default("2025-06-24T14:59:10.803Z").transform((v2) => new Date(v2))
|
|
48808
48630
|
}).transform((v2) => {
|
|
48809
48631
|
return remap(v2, {
|
|
48810
48632
|
_id: "id",
|
|
@@ -48820,7 +48642,7 @@ var init_fileupload = __esm(() => {
|
|
|
48820
48642
|
bytes: numberType(),
|
|
48821
48643
|
fileName: stringType(),
|
|
48822
48644
|
workspaceId: stringType(),
|
|
48823
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48645
|
+
created: dateType().default(() => new Date("2025-06-24T14:59:10.803Z")).transform((v2) => v2.toISOString())
|
|
48824
48646
|
}).transform((v2) => {
|
|
48825
48647
|
return remap(v2, {
|
|
48826
48648
|
id: "_id",
|
|
@@ -48878,6 +48700,7 @@ var init_getallprompts = __esm(() => {
|
|
|
48878
48700
|
Base64: "base64"
|
|
48879
48701
|
};
|
|
48880
48702
|
GetAllPromptsReasoningEffort = {
|
|
48703
|
+
Disable: "disable",
|
|
48881
48704
|
Low: "low",
|
|
48882
48705
|
Medium: "medium",
|
|
48883
48706
|
High: "high"
|
|
@@ -49823,8 +49646,8 @@ var init_getevals = __esm(() => {
|
|
|
49823
49646
|
Typescript$inboundSchema = objectType({
|
|
49824
49647
|
_id: stringType(),
|
|
49825
49648
|
description: stringType(),
|
|
49826
|
-
created: stringType().default("2025-06-
|
|
49827
|
-
updated: stringType().default("2025-06-
|
|
49649
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
49650
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
49828
49651
|
guardrail_config: unionType([
|
|
49829
49652
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
49830
49653
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -49841,8 +49664,8 @@ var init_getevals = __esm(() => {
|
|
|
49841
49664
|
Typescript$outboundSchema = objectType({
|
|
49842
49665
|
id: stringType(),
|
|
49843
49666
|
description: stringType(),
|
|
49844
|
-
created: stringType().default("2025-06-
|
|
49845
|
-
updated: stringType().default("2025-06-
|
|
49667
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
49668
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
49846
49669
|
guardrailConfig: unionType([
|
|
49847
49670
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
49848
49671
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -49935,8 +49758,8 @@ var init_getevals = __esm(() => {
|
|
|
49935
49758
|
Ragas$inboundSchema = objectType({
|
|
49936
49759
|
_id: stringType(),
|
|
49937
49760
|
description: stringType(),
|
|
49938
|
-
created: stringType().default("2025-06-
|
|
49939
|
-
updated: stringType().default("2025-06-
|
|
49761
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
49762
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
49940
49763
|
guardrail_config: unionType([
|
|
49941
49764
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
49942
49765
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -49955,8 +49778,8 @@ var init_getevals = __esm(() => {
|
|
|
49955
49778
|
Ragas$outboundSchema = objectType({
|
|
49956
49779
|
id: stringType(),
|
|
49957
49780
|
description: stringType(),
|
|
49958
|
-
created: stringType().default("2025-06-
|
|
49959
|
-
updated: stringType().default("2025-06-
|
|
49781
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
49782
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
49960
49783
|
guardrailConfig: unionType([
|
|
49961
49784
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
49962
49785
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -50507,8 +50330,8 @@ var init_getevals = __esm(() => {
|
|
|
50507
50330
|
DataFunction$inboundSchema = objectType({
|
|
50508
50331
|
_id: stringType(),
|
|
50509
50332
|
description: stringType(),
|
|
50510
|
-
created: stringType().default("2025-06-
|
|
50511
|
-
updated: stringType().default("2025-06-
|
|
50333
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50334
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50512
50335
|
guardrail_config: unionType([
|
|
50513
50336
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
50514
50337
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -50551,8 +50374,8 @@ var init_getevals = __esm(() => {
|
|
|
50551
50374
|
DataFunction$outboundSchema = objectType({
|
|
50552
50375
|
id: stringType(),
|
|
50553
50376
|
description: stringType(),
|
|
50554
|
-
created: stringType().default("2025-06-
|
|
50555
|
-
updated: stringType().default("2025-06-
|
|
50377
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50378
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50556
50379
|
guardrailConfig: unionType([
|
|
50557
50380
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
50558
50381
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -50665,8 +50488,8 @@ var init_getevals = __esm(() => {
|
|
|
50665
50488
|
DataPython$inboundSchema = objectType({
|
|
50666
50489
|
_id: stringType(),
|
|
50667
50490
|
description: stringType(),
|
|
50668
|
-
created: stringType().default("2025-06-
|
|
50669
|
-
updated: stringType().default("2025-06-
|
|
50491
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50492
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50670
50493
|
guardrail_config: unionType([
|
|
50671
50494
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
50672
50495
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema)
|
|
@@ -50683,8 +50506,8 @@ var init_getevals = __esm(() => {
|
|
|
50683
50506
|
DataPython$outboundSchema = objectType({
|
|
50684
50507
|
id: stringType(),
|
|
50685
50508
|
description: stringType(),
|
|
50686
|
-
created: stringType().default("2025-06-
|
|
50687
|
-
updated: stringType().default("2025-06-
|
|
50509
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50510
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50688
50511
|
guardrailConfig: unionType([
|
|
50689
50512
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
50690
50513
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema)
|
|
@@ -50777,8 +50600,8 @@ var init_getevals = __esm(() => {
|
|
|
50777
50600
|
DataHTTP$inboundSchema = objectType({
|
|
50778
50601
|
_id: stringType(),
|
|
50779
50602
|
description: stringType(),
|
|
50780
|
-
created: stringType().default("2025-06-
|
|
50781
|
-
updated: stringType().default("2025-06-
|
|
50603
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50604
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50782
50605
|
guardrail_config: unionType([
|
|
50783
50606
|
lazyType(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
50784
50607
|
lazyType(() => GetEvalsGuardrailConfigBoolean$inboundSchema)
|
|
@@ -50798,8 +50621,8 @@ var init_getevals = __esm(() => {
|
|
|
50798
50621
|
DataHTTP$outboundSchema = objectType({
|
|
50799
50622
|
id: stringType(),
|
|
50800
50623
|
description: stringType(),
|
|
50801
|
-
created: stringType().default("2025-06-
|
|
50802
|
-
updated: stringType().default("2025-06-
|
|
50624
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50625
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50803
50626
|
guardrailConfig: unionType([
|
|
50804
50627
|
lazyType(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
50805
50628
|
lazyType(() => GetEvalsGuardrailConfigBoolean$outboundSchema)
|
|
@@ -50889,8 +50712,8 @@ var init_getevals = __esm(() => {
|
|
|
50889
50712
|
DataJSON$inboundSchema = objectType({
|
|
50890
50713
|
_id: stringType(),
|
|
50891
50714
|
description: stringType(),
|
|
50892
|
-
created: stringType().default("2025-06-
|
|
50893
|
-
updated: stringType().default("2025-06-
|
|
50715
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50716
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50894
50717
|
guardrail_config: unionType([
|
|
50895
50718
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema),
|
|
50896
50719
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema)
|
|
@@ -50907,8 +50730,8 @@ var init_getevals = __esm(() => {
|
|
|
50907
50730
|
DataJSON$outboundSchema = objectType({
|
|
50908
50731
|
id: stringType(),
|
|
50909
50732
|
description: stringType(),
|
|
50910
|
-
created: stringType().default("2025-06-
|
|
50911
|
-
updated: stringType().default("2025-06-
|
|
50733
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50734
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50912
50735
|
guardrailConfig: unionType([
|
|
50913
50736
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema),
|
|
50914
50737
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema)
|
|
@@ -50995,8 +50818,8 @@ var init_getevals = __esm(() => {
|
|
|
50995
50818
|
DataLLM$inboundSchema = objectType({
|
|
50996
50819
|
_id: stringType(),
|
|
50997
50820
|
description: stringType(),
|
|
50998
|
-
created: stringType().default("2025-06-
|
|
50999
|
-
updated: stringType().default("2025-06-
|
|
50821
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50822
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
51000
50823
|
guardrail_config: unionType([
|
|
51001
50824
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
51002
50825
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -51014,8 +50837,8 @@ var init_getevals = __esm(() => {
|
|
|
51014
50837
|
DataLLM$outboundSchema = objectType({
|
|
51015
50838
|
id: stringType(),
|
|
51016
50839
|
description: stringType(),
|
|
51017
|
-
created: stringType().default("2025-06-
|
|
51018
|
-
updated: stringType().default("2025-06-
|
|
50840
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
50841
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
51019
50842
|
guardrailConfig: unionType([
|
|
51020
50843
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
51021
50844
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -51372,6 +51195,7 @@ var init_getoneprompt = __esm(() => {
|
|
|
51372
51195
|
Base64: "base64"
|
|
51373
51196
|
};
|
|
51374
51197
|
GetOnePromptReasoningEffort = {
|
|
51198
|
+
Disable: "disable",
|
|
51375
51199
|
Low: "low",
|
|
51376
51200
|
Medium: "medium",
|
|
51377
51201
|
High: "high"
|
|
@@ -51997,6 +51821,7 @@ var init_getpromptversion = __esm(() => {
|
|
|
51997
51821
|
Base64: "base64"
|
|
51998
51822
|
};
|
|
51999
51823
|
GetPromptVersionReasoningEffort = {
|
|
51824
|
+
Disable: "disable",
|
|
52000
51825
|
Low: "low",
|
|
52001
51826
|
Medium: "medium",
|
|
52002
51827
|
High: "high"
|
|
@@ -53410,7 +53235,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53410
53235
|
tags: arrayType(stringType()).optional(),
|
|
53411
53236
|
metadata: recordType(anyType()).optional(),
|
|
53412
53237
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
53413
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
53238
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2)),
|
|
53414
53239
|
metrics: lazyType(() => Metrics$inboundSchema)
|
|
53415
53240
|
}).transform((v2) => {
|
|
53416
53241
|
return remap(v2, {
|
|
@@ -53429,7 +53254,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53429
53254
|
tags: arrayType(stringType()).optional(),
|
|
53430
53255
|
metadata: recordType(anyType()).optional(),
|
|
53431
53256
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
53432
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
53257
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString()),
|
|
53433
53258
|
metrics: lazyType(() => Metrics$outboundSchema)
|
|
53434
53259
|
}).transform((v2) => {
|
|
53435
53260
|
return remap(v2, {
|
|
@@ -54044,7 +53869,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54044
53869
|
created_by_id: stringType().optional(),
|
|
54045
53870
|
updated_by_id: stringType().optional(),
|
|
54046
53871
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54047
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
53872
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
54048
53873
|
}).transform((v2) => {
|
|
54049
53874
|
return remap(v2, {
|
|
54050
53875
|
_id: "id",
|
|
@@ -54071,7 +53896,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54071
53896
|
createdById: stringType().optional(),
|
|
54072
53897
|
updatedById: stringType().optional(),
|
|
54073
53898
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54074
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
53899
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
54075
53900
|
}).transform((v2) => {
|
|
54076
53901
|
return remap(v2, {
|
|
54077
53902
|
id: "_id",
|
|
@@ -54179,7 +54004,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54179
54004
|
updated_by_id: stringType().optional(),
|
|
54180
54005
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
54181
54006
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54182
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
54007
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
54183
54008
|
}).transform((v2) => {
|
|
54184
54009
|
return remap(v2, {
|
|
54185
54010
|
_id: "id",
|
|
@@ -54199,7 +54024,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54199
54024
|
updatedById: stringType().optional(),
|
|
54200
54025
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
54201
54026
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54202
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
54027
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
54203
54028
|
}).transform((v2) => {
|
|
54204
54029
|
return remap(v2, {
|
|
54205
54030
|
id: "_id",
|
|
@@ -54304,7 +54129,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54304
54129
|
ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
|
|
54305
54130
|
})(ListDatasourcesStatus$ ||= {});
|
|
54306
54131
|
ListDatasourcesData$inboundSchema = objectType({
|
|
54307
|
-
_id: stringType().default("
|
|
54132
|
+
_id: stringType().default("01JYH76KR20QMA47C1TMSQ8ZWW"),
|
|
54308
54133
|
display_name: stringType(),
|
|
54309
54134
|
description: stringType().optional(),
|
|
54310
54135
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -54327,7 +54152,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54327
54152
|
});
|
|
54328
54153
|
});
|
|
54329
54154
|
ListDatasourcesData$outboundSchema = objectType({
|
|
54330
|
-
id: stringType().default("
|
|
54155
|
+
id: stringType().default("01JYH76KR20QMA47C1TMSQ8ZWW"),
|
|
54331
54156
|
displayName: stringType(),
|
|
54332
54157
|
description: stringType().optional(),
|
|
54333
54158
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -54689,6 +54514,7 @@ var init_listpromptversions = __esm(() => {
|
|
|
54689
54514
|
Base64: "base64"
|
|
54690
54515
|
};
|
|
54691
54516
|
ListPromptVersionsReasoningEffort = {
|
|
54517
|
+
Disable: "disable",
|
|
54692
54518
|
Low: "low",
|
|
54693
54519
|
Medium: "medium",
|
|
54694
54520
|
High: "high"
|
|
@@ -55374,7 +55200,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
55374
55200
|
tags: arrayType(stringType()).optional(),
|
|
55375
55201
|
metadata: recordType(anyType()).optional(),
|
|
55376
55202
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
55377
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55203
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
55378
55204
|
}).transform((v2) => {
|
|
55379
55205
|
return remap(v2, {
|
|
55380
55206
|
_id: "id",
|
|
@@ -55392,7 +55218,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
55392
55218
|
tags: arrayType(stringType()).optional(),
|
|
55393
55219
|
metadata: recordType(anyType()).optional(),
|
|
55394
55220
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
55395
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55221
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
55396
55222
|
}).transform((v2) => {
|
|
55397
55223
|
return remap(v2, {
|
|
55398
55224
|
id: "_id",
|
|
@@ -55969,7 +55795,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
55969
55795
|
created_by_id: stringType().optional(),
|
|
55970
55796
|
updated_by_id: stringType().optional(),
|
|
55971
55797
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
55972
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55798
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
55973
55799
|
}).transform((v2) => {
|
|
55974
55800
|
return remap(v2, {
|
|
55975
55801
|
_id: "id",
|
|
@@ -55996,7 +55822,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
55996
55822
|
createdById: stringType().optional(),
|
|
55997
55823
|
updatedById: stringType().optional(),
|
|
55998
55824
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
55999
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55825
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
56000
55826
|
}).transform((v2) => {
|
|
56001
55827
|
return remap(v2, {
|
|
56002
55828
|
id: "_id",
|
|
@@ -56067,7 +55893,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
56067
55893
|
updated_by_id: stringType().optional(),
|
|
56068
55894
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
56069
55895
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
56070
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55896
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
56071
55897
|
}).transform((v2) => {
|
|
56072
55898
|
return remap(v2, {
|
|
56073
55899
|
_id: "id",
|
|
@@ -56087,7 +55913,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
56087
55913
|
updatedById: stringType().optional(),
|
|
56088
55914
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
56089
55915
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
56090
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55916
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
56091
55917
|
}).transform((v2) => {
|
|
56092
55918
|
return remap(v2, {
|
|
56093
55919
|
id: "_id",
|
|
@@ -56145,7 +55971,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
56145
55971
|
RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
|
|
56146
55972
|
})(RetrieveDatasourceStatus$ ||= {});
|
|
56147
55973
|
RetrieveDatasourceResponseBody$inboundSchema = objectType({
|
|
56148
|
-
_id: stringType().default("
|
|
55974
|
+
_id: stringType().default("01JYH76KR31566P6G8VC36822A"),
|
|
56149
55975
|
display_name: stringType(),
|
|
56150
55976
|
description: stringType().optional(),
|
|
56151
55977
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -56168,7 +55994,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
56168
55994
|
});
|
|
56169
55995
|
});
|
|
56170
55996
|
RetrieveDatasourceResponseBody$outboundSchema = objectType({
|
|
56171
|
-
id: stringType().default("
|
|
55997
|
+
id: stringType().default("01JYH76KR31566P6G8VC36822A"),
|
|
56172
55998
|
displayName: stringType(),
|
|
56173
55999
|
description: stringType().optional(),
|
|
56174
56000
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -57049,7 +56875,7 @@ var init_updatecontact = __esm(() => {
|
|
|
57049
56875
|
tags: arrayType(stringType()).optional(),
|
|
57050
56876
|
metadata: recordType(anyType()).optional(),
|
|
57051
56877
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
57052
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
56878
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
57053
56879
|
}).transform((v2) => {
|
|
57054
56880
|
return remap(v2, {
|
|
57055
56881
|
_id: "id",
|
|
@@ -57067,7 +56893,7 @@ var init_updatecontact = __esm(() => {
|
|
|
57067
56893
|
tags: arrayType(stringType()).optional(),
|
|
57068
56894
|
metadata: recordType(anyType()).optional(),
|
|
57069
56895
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
57070
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
56896
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
57071
56897
|
}).transform((v2) => {
|
|
57072
56898
|
return remap(v2, {
|
|
57073
56899
|
id: "_id",
|
|
@@ -58201,7 +58027,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
58201
58027
|
created_by_id: stringType().optional(),
|
|
58202
58028
|
updated_by_id: stringType().optional(),
|
|
58203
58029
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58204
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58030
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
58205
58031
|
}).transform((v2) => {
|
|
58206
58032
|
return remap(v2, {
|
|
58207
58033
|
_id: "id",
|
|
@@ -58228,7 +58054,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
58228
58054
|
createdById: stringType().optional(),
|
|
58229
58055
|
updatedById: stringType().optional(),
|
|
58230
58056
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58231
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58057
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
58232
58058
|
}).transform((v2) => {
|
|
58233
58059
|
return remap(v2, {
|
|
58234
58060
|
id: "_id",
|
|
@@ -58329,7 +58155,7 @@ var init_updatedataset = __esm(() => {
|
|
|
58329
58155
|
parent_id: stringType().optional(),
|
|
58330
58156
|
version: stringType().optional(),
|
|
58331
58157
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58332
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58158
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-24T14:59:07.719Z").transform((v2) => new Date(v2))
|
|
58333
58159
|
}).transform((v2) => {
|
|
58334
58160
|
return remap(v2, {
|
|
58335
58161
|
_id: "id",
|
|
@@ -58352,7 +58178,7 @@ var init_updatedataset = __esm(() => {
|
|
|
58352
58178
|
parentId: stringType().optional(),
|
|
58353
58179
|
version: stringType().optional(),
|
|
58354
58180
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58355
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58181
|
+
updated: dateType().default(() => new Date("2025-06-24T14:59:07.719Z")).transform((v2) => v2.toISOString())
|
|
58356
58182
|
}).transform((v2) => {
|
|
58357
58183
|
return remap(v2, {
|
|
58358
58184
|
id: "_id",
|
|
@@ -58433,7 +58259,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
58433
58259
|
UpdateDatasourceStatus$.outboundSchema = UpdateDatasourceStatus$outboundSchema;
|
|
58434
58260
|
})(UpdateDatasourceStatus$ ||= {});
|
|
58435
58261
|
UpdateDatasourceResponseBody$inboundSchema = objectType({
|
|
58436
|
-
_id: stringType().default("
|
|
58262
|
+
_id: stringType().default("01JYH76KR59Q39MYFH9CG27045"),
|
|
58437
58263
|
display_name: stringType(),
|
|
58438
58264
|
description: stringType().optional(),
|
|
58439
58265
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -58456,7 +58282,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
58456
58282
|
});
|
|
58457
58283
|
});
|
|
58458
58284
|
UpdateDatasourceResponseBody$outboundSchema = objectType({
|
|
58459
|
-
id: stringType().default("
|
|
58285
|
+
id: stringType().default("01JYH76KR59Q39MYFH9CG27045"),
|
|
58460
58286
|
displayName: stringType(),
|
|
58461
58287
|
description: stringType().optional(),
|
|
58462
58288
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -59162,8 +58988,8 @@ var init_updateeval = __esm(() => {
|
|
|
59162
58988
|
UpdateEvalResponseBodyPython$inboundSchema = objectType({
|
|
59163
58989
|
_id: stringType(),
|
|
59164
58990
|
description: stringType(),
|
|
59165
|
-
created: stringType().default("2025-06-
|
|
59166
|
-
updated: stringType().default("2025-06-
|
|
58991
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
58992
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59167
58993
|
guardrail_config: unionType([
|
|
59168
58994
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
59169
58995
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -59180,8 +59006,8 @@ var init_updateeval = __esm(() => {
|
|
|
59180
59006
|
UpdateEvalResponseBodyPython$outboundSchema = objectType({
|
|
59181
59007
|
id: stringType(),
|
|
59182
59008
|
description: stringType(),
|
|
59183
|
-
created: stringType().default("2025-06-
|
|
59184
|
-
updated: stringType().default("2025-06-
|
|
59009
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59010
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59185
59011
|
guardrailConfig: unionType([
|
|
59186
59012
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
59187
59013
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -59274,8 +59100,8 @@ var init_updateeval = __esm(() => {
|
|
|
59274
59100
|
UpdateEvalResponseBodyHTTP$inboundSchema = objectType({
|
|
59275
59101
|
_id: stringType(),
|
|
59276
59102
|
description: stringType(),
|
|
59277
|
-
created: stringType().default("2025-06-
|
|
59278
|
-
updated: stringType().default("2025-06-
|
|
59103
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59104
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59279
59105
|
guardrail_config: unionType([
|
|
59280
59106
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
59281
59107
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -59295,8 +59121,8 @@ var init_updateeval = __esm(() => {
|
|
|
59295
59121
|
UpdateEvalResponseBodyHTTP$outboundSchema = objectType({
|
|
59296
59122
|
id: stringType(),
|
|
59297
59123
|
description: stringType(),
|
|
59298
|
-
created: stringType().default("2025-06-
|
|
59299
|
-
updated: stringType().default("2025-06-
|
|
59124
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59125
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59300
59126
|
guardrailConfig: unionType([
|
|
59301
59127
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
59302
59128
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -59386,8 +59212,8 @@ var init_updateeval = __esm(() => {
|
|
|
59386
59212
|
UpdateEvalResponseBodyJSON$inboundSchema = objectType({
|
|
59387
59213
|
_id: stringType(),
|
|
59388
59214
|
description: stringType(),
|
|
59389
|
-
created: stringType().default("2025-06-
|
|
59390
|
-
updated: stringType().default("2025-06-
|
|
59215
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59216
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59391
59217
|
guardrail_config: unionType([
|
|
59392
59218
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
59393
59219
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -59404,8 +59230,8 @@ var init_updateeval = __esm(() => {
|
|
|
59404
59230
|
UpdateEvalResponseBodyJSON$outboundSchema = objectType({
|
|
59405
59231
|
id: stringType(),
|
|
59406
59232
|
description: stringType(),
|
|
59407
|
-
created: stringType().default("2025-06-
|
|
59408
|
-
updated: stringType().default("2025-06-
|
|
59233
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59234
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59409
59235
|
guardrailConfig: unionType([
|
|
59410
59236
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
59411
59237
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -59492,8 +59318,8 @@ var init_updateeval = __esm(() => {
|
|
|
59492
59318
|
UpdateEvalResponseBodyLLM$inboundSchema = objectType({
|
|
59493
59319
|
_id: stringType(),
|
|
59494
59320
|
description: stringType(),
|
|
59495
|
-
created: stringType().default("2025-06-
|
|
59496
|
-
updated: stringType().default("2025-06-
|
|
59321
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59322
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59497
59323
|
guardrail_config: unionType([
|
|
59498
59324
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
59499
59325
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -59511,8 +59337,8 @@ var init_updateeval = __esm(() => {
|
|
|
59511
59337
|
UpdateEvalResponseBodyLLM$outboundSchema = objectType({
|
|
59512
59338
|
id: stringType(),
|
|
59513
59339
|
description: stringType(),
|
|
59514
|
-
created: stringType().default("2025-06-
|
|
59515
|
-
updated: stringType().default("2025-06-
|
|
59340
|
+
created: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59341
|
+
updated: stringType().default("2025-06-24T14:59:09.809Z"),
|
|
59516
59342
|
guardrailConfig: unionType([
|
|
59517
59343
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
59518
59344
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -59826,6 +59652,7 @@ var init_updateprompt = __esm(() => {
|
|
|
59826
59652
|
Base64: "base64"
|
|
59827
59653
|
};
|
|
59828
59654
|
UpdatePromptReasoningEffort = {
|
|
59655
|
+
Disable: "disable",
|
|
59829
59656
|
Low: "low",
|
|
59830
59657
|
Medium: "medium",
|
|
59831
59658
|
High: "high"
|
|
@@ -59939,6 +59766,7 @@ var init_updateprompt = __esm(() => {
|
|
|
59939
59766
|
Base64: "base64"
|
|
59940
59767
|
};
|
|
59941
59768
|
UpdatePromptPromptsReasoningEffort = {
|
|
59769
|
+
Disable: "disable",
|
|
59942
59770
|
Low: "low",
|
|
59943
59771
|
Medium: "medium",
|
|
59944
59772
|
High: "high"
|
|
@@ -61019,10 +60847,8 @@ var init_operations = __esm(() => {
|
|
|
61019
60847
|
init_createchunk();
|
|
61020
60848
|
init_createcontact();
|
|
61021
60849
|
init_createdataset();
|
|
61022
|
-
init_createdatasetexperiment();
|
|
61023
60850
|
init_createdatasetitem();
|
|
61024
60851
|
init_createdatasource();
|
|
61025
|
-
init_createdeploymentexperiment();
|
|
61026
60852
|
init_createeval();
|
|
61027
60853
|
init_createfeedback();
|
|
61028
60854
|
init_createknowledge();
|
|
@@ -64590,116 +64416,11 @@ Creates a new datapoint in the specified dataset.`,
|
|
|
64590
64416
|
};
|
|
64591
64417
|
});
|
|
64592
64418
|
|
|
64593
|
-
// src/funcs/datasetsCreateExperiment.ts
|
|
64594
|
-
function datasetsCreateExperiment(client, request, options) {
|
|
64595
|
-
return new APIPromise($do9(client, request, options));
|
|
64596
|
-
}
|
|
64597
|
-
async function $do9(client, request, options) {
|
|
64598
|
-
const parsed = safeParse(request, (value) => CreateDatasetExperimentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64599
|
-
if (!parsed.ok) {
|
|
64600
|
-
return [parsed, { status: "invalid" }];
|
|
64601
|
-
}
|
|
64602
|
-
const payload = parsed.value;
|
|
64603
|
-
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
64604
|
-
const pathParams = {
|
|
64605
|
-
dataset_id: encodeSimple("dataset_id", payload.dataset_id, {
|
|
64606
|
-
explode: false,
|
|
64607
|
-
charEncoding: "percent"
|
|
64608
|
-
})
|
|
64609
|
-
};
|
|
64610
|
-
const path = pathToFunc("/v2/datasets/{dataset_id}/experiment")(pathParams);
|
|
64611
|
-
const headers = new Headers(compactMap({
|
|
64612
|
-
"Content-Type": "application/json",
|
|
64613
|
-
Accept: "application/json"
|
|
64614
|
-
}));
|
|
64615
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
64616
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
64617
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
64618
|
-
const context = {
|
|
64619
|
-
options: client._options,
|
|
64620
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
64621
|
-
operationID: "CreateDatasetExperiment",
|
|
64622
|
-
oAuth2Scopes: [],
|
|
64623
|
-
resolvedSecurity: requestSecurity,
|
|
64624
|
-
securitySource: client._options.apiKey,
|
|
64625
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
64626
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
64627
|
-
};
|
|
64628
|
-
const requestRes = client._createRequest(context, {
|
|
64629
|
-
security: requestSecurity,
|
|
64630
|
-
method: "POST",
|
|
64631
|
-
baseURL: options?.serverURL,
|
|
64632
|
-
path,
|
|
64633
|
-
headers,
|
|
64634
|
-
body,
|
|
64635
|
-
userAgent: client._options.userAgent,
|
|
64636
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
64637
|
-
}, options);
|
|
64638
|
-
if (!requestRes.ok) {
|
|
64639
|
-
return [requestRes, { status: "invalid" }];
|
|
64640
|
-
}
|
|
64641
|
-
const req = requestRes.value;
|
|
64642
|
-
const doResult = await client._do(req, {
|
|
64643
|
-
context,
|
|
64644
|
-
errorCodes: ["4XX", "5XX"],
|
|
64645
|
-
retryConfig: context.retryConfig,
|
|
64646
|
-
retryCodes: context.retryCodes
|
|
64647
|
-
});
|
|
64648
|
-
if (!doResult.ok) {
|
|
64649
|
-
return [doResult, { status: "request-error", request: req }];
|
|
64650
|
-
}
|
|
64651
|
-
const response = doResult.value;
|
|
64652
|
-
const [result] = await match(json(200, CreateDatasetExperimentResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
64653
|
-
if (!result.ok) {
|
|
64654
|
-
return [result, { status: "complete", request: req, response }];
|
|
64655
|
-
}
|
|
64656
|
-
return [result, { status: "complete", request: req, response }];
|
|
64657
|
-
}
|
|
64658
|
-
var init_datasetsCreateExperiment = __esm(() => {
|
|
64659
|
-
init_encodings();
|
|
64660
|
-
init_matchers();
|
|
64661
|
-
init_primitives();
|
|
64662
|
-
init_schemas();
|
|
64663
|
-
init_security();
|
|
64664
|
-
init_url();
|
|
64665
|
-
init_operations();
|
|
64666
|
-
init_async();
|
|
64667
|
-
});
|
|
64668
|
-
|
|
64669
|
-
// src/mcp-server/tools/datasetsCreateExperiment.ts
|
|
64670
|
-
var args9, tool$datasetsCreateExperiment;
|
|
64671
|
-
var init_datasetsCreateExperiment2 = __esm(() => {
|
|
64672
|
-
init_datasetsCreateExperiment();
|
|
64673
|
-
init_operations();
|
|
64674
|
-
init_tools();
|
|
64675
|
-
args9 = {
|
|
64676
|
-
request: CreateDatasetExperimentRequest$inboundSchema
|
|
64677
|
-
};
|
|
64678
|
-
tool$datasetsCreateExperiment = {
|
|
64679
|
-
name: "datasets-create-experiment",
|
|
64680
|
-
description: `Create an experiment from a dataset
|
|
64681
|
-
|
|
64682
|
-
Create an experiment from a dataset`,
|
|
64683
|
-
args: args9,
|
|
64684
|
-
tool: async (client, args10, ctx) => {
|
|
64685
|
-
const [result, apiCall] = await datasetsCreateExperiment(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64686
|
-
if (!result.ok) {
|
|
64687
|
-
return {
|
|
64688
|
-
content: [{ type: "text", text: result.error.message }],
|
|
64689
|
-
isError: true
|
|
64690
|
-
};
|
|
64691
|
-
}
|
|
64692
|
-
const value = result.value;
|
|
64693
|
-
return formatResult(value, apiCall);
|
|
64694
|
-
}
|
|
64695
|
-
};
|
|
64696
|
-
});
|
|
64697
|
-
|
|
64698
64419
|
// src/funcs/datasetsDelete.ts
|
|
64699
64420
|
function datasetsDelete(client, request, options) {
|
|
64700
|
-
return new APIPromise($
|
|
64421
|
+
return new APIPromise($do9(client, request, options));
|
|
64701
64422
|
}
|
|
64702
|
-
async function $
|
|
64423
|
+
async function $do9(client, request, options) {
|
|
64703
64424
|
const parsed = safeParse(request, (value) => DeleteDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64704
64425
|
if (!parsed.ok) {
|
|
64705
64426
|
return [parsed, { status: "invalid" }];
|
|
@@ -64772,12 +64493,12 @@ var init_datasetsDelete = __esm(() => {
|
|
|
64772
64493
|
});
|
|
64773
64494
|
|
|
64774
64495
|
// src/mcp-server/tools/datasetsDelete.ts
|
|
64775
|
-
var
|
|
64496
|
+
var args9, tool$datasetsDelete;
|
|
64776
64497
|
var init_datasetsDelete2 = __esm(() => {
|
|
64777
64498
|
init_datasetsDelete();
|
|
64778
64499
|
init_operations();
|
|
64779
64500
|
init_tools();
|
|
64780
|
-
|
|
64501
|
+
args9 = {
|
|
64781
64502
|
request: DeleteDatasetRequest$inboundSchema
|
|
64782
64503
|
};
|
|
64783
64504
|
tool$datasetsDelete = {
|
|
@@ -64785,9 +64506,9 @@ var init_datasetsDelete2 = __esm(() => {
|
|
|
64785
64506
|
description: `Delete a dataset
|
|
64786
64507
|
|
|
64787
64508
|
Permanently deletes a dataset and all its datapoints. This action is irreversible.`,
|
|
64788
|
-
args:
|
|
64789
|
-
tool: async (client,
|
|
64790
|
-
const [result, apiCall] = await datasetsDelete(client,
|
|
64509
|
+
args: args9,
|
|
64510
|
+
tool: async (client, args10, ctx) => {
|
|
64511
|
+
const [result, apiCall] = await datasetsDelete(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64791
64512
|
if (!result.ok) {
|
|
64792
64513
|
return {
|
|
64793
64514
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64801,9 +64522,9 @@ Permanently deletes a dataset and all its datapoints. This action is irreversibl
|
|
|
64801
64522
|
|
|
64802
64523
|
// src/funcs/datasetsDeleteDatapoint.ts
|
|
64803
64524
|
function datasetsDeleteDatapoint(client, request, options) {
|
|
64804
|
-
return new APIPromise($
|
|
64525
|
+
return new APIPromise($do10(client, request, options));
|
|
64805
64526
|
}
|
|
64806
|
-
async function $
|
|
64527
|
+
async function $do10(client, request, options) {
|
|
64807
64528
|
const parsed = safeParse(request, (value) => DeleteDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64808
64529
|
if (!parsed.ok) {
|
|
64809
64530
|
return [parsed, { status: "invalid" }];
|
|
@@ -64884,12 +64605,12 @@ var init_datasetsDeleteDatapoint = __esm(() => {
|
|
|
64884
64605
|
});
|
|
64885
64606
|
|
|
64886
64607
|
// src/mcp-server/tools/datasetsDeleteDatapoint.ts
|
|
64887
|
-
var
|
|
64608
|
+
var args10, tool$datasetsDeleteDatapoint;
|
|
64888
64609
|
var init_datasetsDeleteDatapoint2 = __esm(() => {
|
|
64889
64610
|
init_datasetsDeleteDatapoint();
|
|
64890
64611
|
init_operations();
|
|
64891
64612
|
init_tools();
|
|
64892
|
-
|
|
64613
|
+
args10 = {
|
|
64893
64614
|
request: DeleteDatapointRequest$inboundSchema
|
|
64894
64615
|
};
|
|
64895
64616
|
tool$datasetsDeleteDatapoint = {
|
|
@@ -64897,9 +64618,9 @@ var init_datasetsDeleteDatapoint2 = __esm(() => {
|
|
|
64897
64618
|
description: `Delete a datapoint
|
|
64898
64619
|
|
|
64899
64620
|
Permanently deletes a specific datapoint from a dataset.`,
|
|
64900
|
-
args:
|
|
64901
|
-
tool: async (client,
|
|
64902
|
-
const [result, apiCall] = await datasetsDeleteDatapoint(client,
|
|
64621
|
+
args: args10,
|
|
64622
|
+
tool: async (client, args11, ctx) => {
|
|
64623
|
+
const [result, apiCall] = await datasetsDeleteDatapoint(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64903
64624
|
if (!result.ok) {
|
|
64904
64625
|
return {
|
|
64905
64626
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64913,9 +64634,9 @@ Permanently deletes a specific datapoint from a dataset.`,
|
|
|
64913
64634
|
|
|
64914
64635
|
// src/funcs/datasetsList.ts
|
|
64915
64636
|
function datasetsList(client, request, options) {
|
|
64916
|
-
return new APIPromise($
|
|
64637
|
+
return new APIPromise($do11(client, request, options));
|
|
64917
64638
|
}
|
|
64918
|
-
async function $
|
|
64639
|
+
async function $do11(client, request, options) {
|
|
64919
64640
|
const parsed = safeParse(request, (value) => ListDatasetsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
64920
64641
|
if (!parsed.ok) {
|
|
64921
64642
|
return [parsed, { status: "invalid" }];
|
|
@@ -64987,12 +64708,12 @@ var init_datasetsList = __esm(() => {
|
|
|
64987
64708
|
});
|
|
64988
64709
|
|
|
64989
64710
|
// src/mcp-server/tools/datasetsList.ts
|
|
64990
|
-
var
|
|
64711
|
+
var args11, tool$datasetsList;
|
|
64991
64712
|
var init_datasetsList2 = __esm(() => {
|
|
64992
64713
|
init_datasetsList();
|
|
64993
64714
|
init_operations();
|
|
64994
64715
|
init_tools();
|
|
64995
|
-
|
|
64716
|
+
args11 = {
|
|
64996
64717
|
request: ListDatasetsRequest$inboundSchema.optional()
|
|
64997
64718
|
};
|
|
64998
64719
|
tool$datasetsList = {
|
|
@@ -65000,9 +64721,9 @@ var init_datasetsList2 = __esm(() => {
|
|
|
65000
64721
|
description: `List datasets
|
|
65001
64722
|
|
|
65002
64723
|
Retrieves a paginated list of datasets for the current workspace. Results can be paginated using cursor-based pagination.`,
|
|
65003
|
-
args:
|
|
65004
|
-
tool: async (client,
|
|
65005
|
-
const [result, apiCall] = await datasetsList(client,
|
|
64724
|
+
args: args11,
|
|
64725
|
+
tool: async (client, args12, ctx) => {
|
|
64726
|
+
const [result, apiCall] = await datasetsList(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65006
64727
|
if (!result.ok) {
|
|
65007
64728
|
return {
|
|
65008
64729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65017,9 +64738,9 @@ Retrieves a paginated list of datasets for the current workspace. Results can be
|
|
|
65017
64738
|
|
|
65018
64739
|
// src/funcs/datasetsListDatapoints.ts
|
|
65019
64740
|
function datasetsListDatapoints(client, request, options) {
|
|
65020
|
-
return new APIPromise($
|
|
64741
|
+
return new APIPromise($do12(client, request, options));
|
|
65021
64742
|
}
|
|
65022
|
-
async function $
|
|
64743
|
+
async function $do12(client, request, options) {
|
|
65023
64744
|
const parsed = safeParse(request, (value) => ListDatasetDatapointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65024
64745
|
if (!parsed.ok) {
|
|
65025
64746
|
return [parsed, { status: "invalid" }];
|
|
@@ -65097,12 +64818,12 @@ var init_datasetsListDatapoints = __esm(() => {
|
|
|
65097
64818
|
});
|
|
65098
64819
|
|
|
65099
64820
|
// src/mcp-server/tools/datasetsListDatapoints.ts
|
|
65100
|
-
var
|
|
64821
|
+
var args12, tool$datasetsListDatapoints;
|
|
65101
64822
|
var init_datasetsListDatapoints2 = __esm(() => {
|
|
65102
64823
|
init_datasetsListDatapoints();
|
|
65103
64824
|
init_operations();
|
|
65104
64825
|
init_tools();
|
|
65105
|
-
|
|
64826
|
+
args12 = {
|
|
65106
64827
|
request: ListDatasetDatapointsRequest$inboundSchema
|
|
65107
64828
|
};
|
|
65108
64829
|
tool$datasetsListDatapoints = {
|
|
@@ -65110,9 +64831,9 @@ var init_datasetsListDatapoints2 = __esm(() => {
|
|
|
65110
64831
|
description: `List datapoints
|
|
65111
64832
|
|
|
65112
64833
|
Retrieves a paginated list of datapoints from a specific dataset.`,
|
|
65113
|
-
args:
|
|
65114
|
-
tool: async (client,
|
|
65115
|
-
const [result, apiCall] = await datasetsListDatapoints(client,
|
|
64834
|
+
args: args12,
|
|
64835
|
+
tool: async (client, args13, ctx) => {
|
|
64836
|
+
const [result, apiCall] = await datasetsListDatapoints(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65116
64837
|
if (!result.ok) {
|
|
65117
64838
|
return {
|
|
65118
64839
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65127,9 +64848,9 @@ Retrieves a paginated list of datapoints from a specific dataset.`,
|
|
|
65127
64848
|
|
|
65128
64849
|
// src/funcs/datasetsRetrieve.ts
|
|
65129
64850
|
function datasetsRetrieve(client, request, options) {
|
|
65130
|
-
return new APIPromise($
|
|
64851
|
+
return new APIPromise($do13(client, request, options));
|
|
65131
64852
|
}
|
|
65132
|
-
async function $
|
|
64853
|
+
async function $do13(client, request, options) {
|
|
65133
64854
|
const parsed = safeParse(request, (value) => RetrieveDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65134
64855
|
if (!parsed.ok) {
|
|
65135
64856
|
return [parsed, { status: "invalid" }];
|
|
@@ -65205,12 +64926,12 @@ var init_datasetsRetrieve = __esm(() => {
|
|
|
65205
64926
|
});
|
|
65206
64927
|
|
|
65207
64928
|
// src/mcp-server/tools/datasetsRetrieve.ts
|
|
65208
|
-
var
|
|
64929
|
+
var args13, tool$datasetsRetrieve;
|
|
65209
64930
|
var init_datasetsRetrieve2 = __esm(() => {
|
|
65210
64931
|
init_datasetsRetrieve();
|
|
65211
64932
|
init_operations();
|
|
65212
64933
|
init_tools();
|
|
65213
|
-
|
|
64934
|
+
args13 = {
|
|
65214
64935
|
request: RetrieveDatasetRequest$inboundSchema
|
|
65215
64936
|
};
|
|
65216
64937
|
tool$datasetsRetrieve = {
|
|
@@ -65218,9 +64939,9 @@ var init_datasetsRetrieve2 = __esm(() => {
|
|
|
65218
64939
|
description: `Retrieve a dataset
|
|
65219
64940
|
|
|
65220
64941
|
Retrieves a specific dataset by its unique identifier`,
|
|
65221
|
-
args:
|
|
65222
|
-
tool: async (client,
|
|
65223
|
-
const [result, apiCall] = await datasetsRetrieve(client,
|
|
64942
|
+
args: args13,
|
|
64943
|
+
tool: async (client, args14, ctx) => {
|
|
64944
|
+
const [result, apiCall] = await datasetsRetrieve(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65224
64945
|
if (!result.ok) {
|
|
65225
64946
|
return {
|
|
65226
64947
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65235,9 +64956,9 @@ Retrieves a specific dataset by its unique identifier`,
|
|
|
65235
64956
|
|
|
65236
64957
|
// src/funcs/datasetsRetrieveDatapoint.ts
|
|
65237
64958
|
function datasetsRetrieveDatapoint(client, request, options) {
|
|
65238
|
-
return new APIPromise($
|
|
64959
|
+
return new APIPromise($do14(client, request, options));
|
|
65239
64960
|
}
|
|
65240
|
-
async function $
|
|
64961
|
+
async function $do14(client, request, options) {
|
|
65241
64962
|
const parsed = safeParse(request, (value) => RetrieveDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65242
64963
|
if (!parsed.ok) {
|
|
65243
64964
|
return [parsed, { status: "invalid" }];
|
|
@@ -65317,12 +65038,12 @@ var init_datasetsRetrieveDatapoint = __esm(() => {
|
|
|
65317
65038
|
});
|
|
65318
65039
|
|
|
65319
65040
|
// src/mcp-server/tools/datasetsRetrieveDatapoint.ts
|
|
65320
|
-
var
|
|
65041
|
+
var args14, tool$datasetsRetrieveDatapoint;
|
|
65321
65042
|
var init_datasetsRetrieveDatapoint2 = __esm(() => {
|
|
65322
65043
|
init_datasetsRetrieveDatapoint();
|
|
65323
65044
|
init_operations();
|
|
65324
65045
|
init_tools();
|
|
65325
|
-
|
|
65046
|
+
args14 = {
|
|
65326
65047
|
request: RetrieveDatapointRequest$inboundSchema
|
|
65327
65048
|
};
|
|
65328
65049
|
tool$datasetsRetrieveDatapoint = {
|
|
@@ -65330,9 +65051,9 @@ var init_datasetsRetrieveDatapoint2 = __esm(() => {
|
|
|
65330
65051
|
description: `Retrieve a datapoint
|
|
65331
65052
|
|
|
65332
65053
|
Retrieves a datapoint object`,
|
|
65333
|
-
args:
|
|
65334
|
-
tool: async (client,
|
|
65335
|
-
const [result, apiCall] = await datasetsRetrieveDatapoint(client,
|
|
65054
|
+
args: args14,
|
|
65055
|
+
tool: async (client, args15, ctx) => {
|
|
65056
|
+
const [result, apiCall] = await datasetsRetrieveDatapoint(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65336
65057
|
if (!result.ok) {
|
|
65337
65058
|
return {
|
|
65338
65059
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65347,9 +65068,9 @@ Retrieves a datapoint object`,
|
|
|
65347
65068
|
|
|
65348
65069
|
// src/funcs/datasetsUpdate.ts
|
|
65349
65070
|
function datasetsUpdate(client, request, options) {
|
|
65350
|
-
return new APIPromise($
|
|
65071
|
+
return new APIPromise($do15(client, request, options));
|
|
65351
65072
|
}
|
|
65352
|
-
async function $
|
|
65073
|
+
async function $do15(client, request, options) {
|
|
65353
65074
|
const parsed = safeParse(request, (value) => UpdateDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65354
65075
|
if (!parsed.ok) {
|
|
65355
65076
|
return [parsed, { status: "invalid" }];
|
|
@@ -65426,12 +65147,12 @@ var init_datasetsUpdate = __esm(() => {
|
|
|
65426
65147
|
});
|
|
65427
65148
|
|
|
65428
65149
|
// src/mcp-server/tools/datasetsUpdate.ts
|
|
65429
|
-
var
|
|
65150
|
+
var args15, tool$datasetsUpdate;
|
|
65430
65151
|
var init_datasetsUpdate2 = __esm(() => {
|
|
65431
65152
|
init_datasetsUpdate();
|
|
65432
65153
|
init_operations();
|
|
65433
65154
|
init_tools();
|
|
65434
|
-
|
|
65155
|
+
args15 = {
|
|
65435
65156
|
request: UpdateDatasetRequest$inboundSchema
|
|
65436
65157
|
};
|
|
65437
65158
|
tool$datasetsUpdate = {
|
|
@@ -65439,9 +65160,9 @@ var init_datasetsUpdate2 = __esm(() => {
|
|
|
65439
65160
|
description: `Update a dataset
|
|
65440
65161
|
|
|
65441
65162
|
Update a dataset`,
|
|
65442
|
-
args:
|
|
65443
|
-
tool: async (client,
|
|
65444
|
-
const [result, apiCall] = await datasetsUpdate(client,
|
|
65163
|
+
args: args15,
|
|
65164
|
+
tool: async (client, args16, ctx) => {
|
|
65165
|
+
const [result, apiCall] = await datasetsUpdate(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65445
65166
|
if (!result.ok) {
|
|
65446
65167
|
return {
|
|
65447
65168
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65456,9 +65177,9 @@ Update a dataset`,
|
|
|
65456
65177
|
|
|
65457
65178
|
// src/funcs/datasetsUpdateDatapoint.ts
|
|
65458
65179
|
function datasetsUpdateDatapoint(client, request, options) {
|
|
65459
|
-
return new APIPromise($
|
|
65180
|
+
return new APIPromise($do16(client, request, options));
|
|
65460
65181
|
}
|
|
65461
|
-
async function $
|
|
65182
|
+
async function $do16(client, request, options) {
|
|
65462
65183
|
const parsed = safeParse(request, (value) => UpdateDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65463
65184
|
if (!parsed.ok) {
|
|
65464
65185
|
return [parsed, { status: "invalid" }];
|
|
@@ -65539,20 +65260,20 @@ var init_datasetsUpdateDatapoint = __esm(() => {
|
|
|
65539
65260
|
});
|
|
65540
65261
|
|
|
65541
65262
|
// src/mcp-server/tools/datasetsUpdateDatapoint.ts
|
|
65542
|
-
var
|
|
65263
|
+
var args16, tool$datasetsUpdateDatapoint;
|
|
65543
65264
|
var init_datasetsUpdateDatapoint2 = __esm(() => {
|
|
65544
65265
|
init_datasetsUpdateDatapoint();
|
|
65545
65266
|
init_operations();
|
|
65546
65267
|
init_tools();
|
|
65547
|
-
|
|
65268
|
+
args16 = {
|
|
65548
65269
|
request: UpdateDatapointRequest$inboundSchema
|
|
65549
65270
|
};
|
|
65550
65271
|
tool$datasetsUpdateDatapoint = {
|
|
65551
65272
|
name: "datasets-update-datapoint",
|
|
65552
65273
|
description: `Update a datapoint`,
|
|
65553
|
-
args:
|
|
65554
|
-
tool: async (client,
|
|
65555
|
-
const [result, apiCall] = await datasetsUpdateDatapoint(client,
|
|
65274
|
+
args: args16,
|
|
65275
|
+
tool: async (client, args17, ctx) => {
|
|
65276
|
+
const [result, apiCall] = await datasetsUpdateDatapoint(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65556
65277
|
if (!result.ok) {
|
|
65557
65278
|
return {
|
|
65558
65279
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65565,24 +65286,18 @@ var init_datasetsUpdateDatapoint2 = __esm(() => {
|
|
|
65565
65286
|
};
|
|
65566
65287
|
});
|
|
65567
65288
|
|
|
65568
|
-
// src/funcs/
|
|
65569
|
-
function
|
|
65570
|
-
return new APIPromise($
|
|
65289
|
+
// src/funcs/deploymentsGetConfig.ts
|
|
65290
|
+
function deploymentsGetConfig(client, request, options) {
|
|
65291
|
+
return new APIPromise($do17(client, request, options));
|
|
65571
65292
|
}
|
|
65572
|
-
async function $
|
|
65573
|
-
const parsed = safeParse(request, (value) =>
|
|
65293
|
+
async function $do17(client, request, options) {
|
|
65294
|
+
const parsed = safeParse(request, (value) => DeploymentGetConfigRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
65574
65295
|
if (!parsed.ok) {
|
|
65575
65296
|
return [parsed, { status: "invalid" }];
|
|
65576
65297
|
}
|
|
65577
65298
|
const payload = parsed.value;
|
|
65578
|
-
const body = encodeJSON("body", payload
|
|
65579
|
-
const
|
|
65580
|
-
deployment_key: encodeSimple("deployment_key", payload.deployment_key, {
|
|
65581
|
-
explode: false,
|
|
65582
|
-
charEncoding: "percent"
|
|
65583
|
-
})
|
|
65584
|
-
};
|
|
65585
|
-
const path = pathToFunc("/v2/deployments/{deployment_key}/experiment")(pathParams);
|
|
65299
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
65300
|
+
const path = pathToFunc("/v2/deployments/get_config")();
|
|
65586
65301
|
const headers = new Headers(compactMap({
|
|
65587
65302
|
"Content-Type": "application/json",
|
|
65588
65303
|
Accept: "application/json"
|
|
@@ -65593,106 +65308,7 @@ async function $do18(client, request, options) {
|
|
|
65593
65308
|
const context = {
|
|
65594
65309
|
options: client._options,
|
|
65595
65310
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
65596
|
-
operationID: "
|
|
65597
|
-
oAuth2Scopes: [],
|
|
65598
|
-
resolvedSecurity: requestSecurity,
|
|
65599
|
-
securitySource: client._options.apiKey,
|
|
65600
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
65601
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
65602
|
-
};
|
|
65603
|
-
const requestRes = client._createRequest(context, {
|
|
65604
|
-
security: requestSecurity,
|
|
65605
|
-
method: "POST",
|
|
65606
|
-
baseURL: options?.serverURL,
|
|
65607
|
-
path,
|
|
65608
|
-
headers,
|
|
65609
|
-
body,
|
|
65610
|
-
userAgent: client._options.userAgent,
|
|
65611
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
65612
|
-
}, options);
|
|
65613
|
-
if (!requestRes.ok) {
|
|
65614
|
-
return [requestRes, { status: "invalid" }];
|
|
65615
|
-
}
|
|
65616
|
-
const req = requestRes.value;
|
|
65617
|
-
const doResult = await client._do(req, {
|
|
65618
|
-
context,
|
|
65619
|
-
errorCodes: ["4XX", "5XX"],
|
|
65620
|
-
retryConfig: context.retryConfig,
|
|
65621
|
-
retryCodes: context.retryCodes
|
|
65622
|
-
});
|
|
65623
|
-
if (!doResult.ok) {
|
|
65624
|
-
return [doResult, { status: "request-error", request: req }];
|
|
65625
|
-
}
|
|
65626
|
-
const response = doResult.value;
|
|
65627
|
-
const [result] = await match(json(200, CreateDeploymentExperimentResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
65628
|
-
if (!result.ok) {
|
|
65629
|
-
return [result, { status: "complete", request: req, response }];
|
|
65630
|
-
}
|
|
65631
|
-
return [result, { status: "complete", request: req, response }];
|
|
65632
|
-
}
|
|
65633
|
-
var init_deploymentsCreateExperiment = __esm(() => {
|
|
65634
|
-
init_encodings();
|
|
65635
|
-
init_matchers();
|
|
65636
|
-
init_primitives();
|
|
65637
|
-
init_schemas();
|
|
65638
|
-
init_security();
|
|
65639
|
-
init_url();
|
|
65640
|
-
init_operations();
|
|
65641
|
-
init_async();
|
|
65642
|
-
});
|
|
65643
|
-
|
|
65644
|
-
// src/mcp-server/tools/deploymentsCreateExperiment.ts
|
|
65645
|
-
var args18, tool$deploymentsCreateExperiment;
|
|
65646
|
-
var init_deploymentsCreateExperiment2 = __esm(() => {
|
|
65647
|
-
init_deploymentsCreateExperiment();
|
|
65648
|
-
init_operations();
|
|
65649
|
-
init_tools();
|
|
65650
|
-
args18 = {
|
|
65651
|
-
request: CreateDeploymentExperimentRequest$inboundSchema
|
|
65652
|
-
};
|
|
65653
|
-
tool$deploymentsCreateExperiment = {
|
|
65654
|
-
name: "deployments-create-experiment",
|
|
65655
|
-
description: `Create an experiment from a deployment
|
|
65656
|
-
|
|
65657
|
-
Create an experiment from a deployment`,
|
|
65658
|
-
args: args18,
|
|
65659
|
-
tool: async (client, args19, ctx) => {
|
|
65660
|
-
const [result, apiCall] = await deploymentsCreateExperiment(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65661
|
-
if (!result.ok) {
|
|
65662
|
-
return {
|
|
65663
|
-
content: [{ type: "text", text: result.error.message }],
|
|
65664
|
-
isError: true
|
|
65665
|
-
};
|
|
65666
|
-
}
|
|
65667
|
-
const value = result.value;
|
|
65668
|
-
return formatResult(value, apiCall);
|
|
65669
|
-
}
|
|
65670
|
-
};
|
|
65671
|
-
});
|
|
65672
|
-
|
|
65673
|
-
// src/funcs/deploymentsGetConfig.ts
|
|
65674
|
-
function deploymentsGetConfig(client, request, options) {
|
|
65675
|
-
return new APIPromise($do19(client, request, options));
|
|
65676
|
-
}
|
|
65677
|
-
async function $do19(client, request, options) {
|
|
65678
|
-
const parsed = safeParse(request, (value) => DeploymentGetConfigRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
65679
|
-
if (!parsed.ok) {
|
|
65680
|
-
return [parsed, { status: "invalid" }];
|
|
65681
|
-
}
|
|
65682
|
-
const payload = parsed.value;
|
|
65683
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
65684
|
-
const path = pathToFunc("/v2/deployments/get_config")();
|
|
65685
|
-
const headers = new Headers(compactMap({
|
|
65686
|
-
"Content-Type": "application/json",
|
|
65687
|
-
Accept: "application/json"
|
|
65688
|
-
}));
|
|
65689
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
65690
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
65691
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
65692
|
-
const context = {
|
|
65693
|
-
options: client._options,
|
|
65694
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
65695
|
-
operationID: "DeploymentGetConfig",
|
|
65311
|
+
operationID: "DeploymentGetConfig",
|
|
65696
65312
|
oAuth2Scopes: [],
|
|
65697
65313
|
resolvedSecurity: requestSecurity,
|
|
65698
65314
|
securitySource: client._options.apiKey,
|
|
@@ -65741,12 +65357,12 @@ var init_deploymentsGetConfig = __esm(() => {
|
|
|
65741
65357
|
});
|
|
65742
65358
|
|
|
65743
65359
|
// src/mcp-server/tools/deploymentsGetConfig.ts
|
|
65744
|
-
var
|
|
65360
|
+
var args17, tool$deploymentsGetConfig;
|
|
65745
65361
|
var init_deploymentsGetConfig2 = __esm(() => {
|
|
65746
65362
|
init_deploymentsGetConfig();
|
|
65747
65363
|
init_operations();
|
|
65748
65364
|
init_tools();
|
|
65749
|
-
|
|
65365
|
+
args17 = {
|
|
65750
65366
|
request: DeploymentGetConfigRequestBody$inboundSchema
|
|
65751
65367
|
};
|
|
65752
65368
|
tool$deploymentsGetConfig = {
|
|
@@ -65754,9 +65370,9 @@ var init_deploymentsGetConfig2 = __esm(() => {
|
|
|
65754
65370
|
description: `Get config
|
|
65755
65371
|
|
|
65756
65372
|
Retrieve the deployment configuration`,
|
|
65757
|
-
args:
|
|
65758
|
-
tool: async (client,
|
|
65759
|
-
const [result, apiCall] = await deploymentsGetConfig(client,
|
|
65373
|
+
args: args17,
|
|
65374
|
+
tool: async (client, args18, ctx) => {
|
|
65375
|
+
const [result, apiCall] = await deploymentsGetConfig(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65760
65376
|
if (!result.ok) {
|
|
65761
65377
|
return {
|
|
65762
65378
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67551,9 +67167,9 @@ var init_components = __esm(() => {
|
|
|
67551
67167
|
|
|
67552
67168
|
// src/funcs/deploymentsInvoke.ts
|
|
67553
67169
|
function deploymentsInvoke(client, request, options) {
|
|
67554
|
-
return new APIPromise($
|
|
67170
|
+
return new APIPromise($do18(client, request, options));
|
|
67555
67171
|
}
|
|
67556
|
-
async function $
|
|
67172
|
+
async function $do18(client, request, options) {
|
|
67557
67173
|
const parsed = safeParse(request, (value) => Deployments$outboundSchema.parse(value), "Input validation failed");
|
|
67558
67174
|
if (!parsed.ok) {
|
|
67559
67175
|
return [parsed, { status: "invalid" }];
|
|
@@ -67629,12 +67245,12 @@ var init_deploymentsInvoke = __esm(() => {
|
|
|
67629
67245
|
});
|
|
67630
67246
|
|
|
67631
67247
|
// src/mcp-server/tools/deploymentsInvoke.ts
|
|
67632
|
-
var
|
|
67248
|
+
var args18, tool$deploymentsInvoke;
|
|
67633
67249
|
var init_deploymentsInvoke2 = __esm(() => {
|
|
67634
67250
|
init_deploymentsInvoke();
|
|
67635
67251
|
init_components();
|
|
67636
67252
|
init_tools();
|
|
67637
|
-
|
|
67253
|
+
args18 = {
|
|
67638
67254
|
request: Deployments$inboundSchema
|
|
67639
67255
|
};
|
|
67640
67256
|
tool$deploymentsInvoke = {
|
|
@@ -67642,9 +67258,9 @@ var init_deploymentsInvoke2 = __esm(() => {
|
|
|
67642
67258
|
description: `Invoke
|
|
67643
67259
|
|
|
67644
67260
|
Invoke a deployment with a given payload`,
|
|
67645
|
-
args:
|
|
67646
|
-
tool: async (client,
|
|
67647
|
-
const [result, apiCall] = await deploymentsInvoke(client,
|
|
67261
|
+
args: args18,
|
|
67262
|
+
tool: async (client, args19, ctx) => {
|
|
67263
|
+
const [result, apiCall] = await deploymentsInvoke(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67648
67264
|
if (!result.ok) {
|
|
67649
67265
|
return {
|
|
67650
67266
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67659,9 +67275,9 @@ Invoke a deployment with a given payload`,
|
|
|
67659
67275
|
|
|
67660
67276
|
// src/funcs/deploymentsList.ts
|
|
67661
67277
|
function deploymentsList(client, request, options) {
|
|
67662
|
-
return new APIPromise($
|
|
67278
|
+
return new APIPromise($do19(client, request, options));
|
|
67663
67279
|
}
|
|
67664
|
-
async function $
|
|
67280
|
+
async function $do19(client, request, options) {
|
|
67665
67281
|
const parsed = safeParse(request, (value) => DeploymentsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
67666
67282
|
if (!parsed.ok) {
|
|
67667
67283
|
return [parsed, { status: "invalid" }];
|
|
@@ -67737,12 +67353,12 @@ var init_deploymentsList = __esm(() => {
|
|
|
67737
67353
|
});
|
|
67738
67354
|
|
|
67739
67355
|
// src/mcp-server/tools/deploymentsList.ts
|
|
67740
|
-
var
|
|
67356
|
+
var args19, tool$deploymentsList;
|
|
67741
67357
|
var init_deploymentsList2 = __esm(() => {
|
|
67742
67358
|
init_deploymentsList();
|
|
67743
67359
|
init_operations();
|
|
67744
67360
|
init_tools();
|
|
67745
|
-
|
|
67361
|
+
args19 = {
|
|
67746
67362
|
request: DeploymentsRequest$inboundSchema.optional()
|
|
67747
67363
|
};
|
|
67748
67364
|
tool$deploymentsList = {
|
|
@@ -67750,9 +67366,9 @@ var init_deploymentsList2 = __esm(() => {
|
|
|
67750
67366
|
description: `List all deployments
|
|
67751
67367
|
|
|
67752
67368
|
Returns a list of your deployments. The deployments are returned sorted by creation date, with the most recent deployments appearing first.`,
|
|
67753
|
-
args:
|
|
67754
|
-
tool: async (client,
|
|
67755
|
-
const [result, apiCall] = await deploymentsList(client,
|
|
67369
|
+
args: args19,
|
|
67370
|
+
tool: async (client, args20, ctx) => {
|
|
67371
|
+
const [result, apiCall] = await deploymentsList(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67756
67372
|
if (!result.ok) {
|
|
67757
67373
|
return {
|
|
67758
67374
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67767,9 +67383,9 @@ Returns a list of your deployments. The deployments are returned sorted by creat
|
|
|
67767
67383
|
|
|
67768
67384
|
// src/funcs/deploymentsMetricsCreate.ts
|
|
67769
67385
|
function deploymentsMetricsCreate(client, request, options) {
|
|
67770
|
-
return new APIPromise($
|
|
67386
|
+
return new APIPromise($do20(client, request, options));
|
|
67771
67387
|
}
|
|
67772
|
-
async function $
|
|
67388
|
+
async function $do20(client, request, options) {
|
|
67773
67389
|
const parsed = safeParse(request, (value) => DeploymentCreateMetricRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67774
67390
|
if (!parsed.ok) {
|
|
67775
67391
|
return [parsed, { status: "invalid" }];
|
|
@@ -67842,12 +67458,12 @@ var init_deploymentsMetricsCreate = __esm(() => {
|
|
|
67842
67458
|
});
|
|
67843
67459
|
|
|
67844
67460
|
// src/mcp-server/tools/deploymentsMetricsCreate.ts
|
|
67845
|
-
var
|
|
67461
|
+
var args20, tool$deploymentsMetricsCreate;
|
|
67846
67462
|
var init_deploymentsMetricsCreate2 = __esm(() => {
|
|
67847
67463
|
init_deploymentsMetricsCreate();
|
|
67848
67464
|
init_operations();
|
|
67849
67465
|
init_tools();
|
|
67850
|
-
|
|
67466
|
+
args20 = {
|
|
67851
67467
|
request: DeploymentCreateMetricRequest$inboundSchema
|
|
67852
67468
|
};
|
|
67853
67469
|
tool$deploymentsMetricsCreate = {
|
|
@@ -67855,9 +67471,9 @@ var init_deploymentsMetricsCreate2 = __esm(() => {
|
|
|
67855
67471
|
description: `Add metrics
|
|
67856
67472
|
|
|
67857
67473
|
Add metrics to a deployment`,
|
|
67858
|
-
args:
|
|
67859
|
-
tool: async (client,
|
|
67860
|
-
const [result, apiCall] = await deploymentsMetricsCreate(client,
|
|
67474
|
+
args: args20,
|
|
67475
|
+
tool: async (client, args21, ctx) => {
|
|
67476
|
+
const [result, apiCall] = await deploymentsMetricsCreate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67861
67477
|
if (!result.ok) {
|
|
67862
67478
|
return {
|
|
67863
67479
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67872,9 +67488,9 @@ Add metrics to a deployment`,
|
|
|
67872
67488
|
|
|
67873
67489
|
// src/funcs/deploymentsStream.ts
|
|
67874
67490
|
function deploymentsStream(client, request, options) {
|
|
67875
|
-
return new APIPromise($
|
|
67491
|
+
return new APIPromise($do21(client, request, options));
|
|
67876
67492
|
}
|
|
67877
|
-
async function $
|
|
67493
|
+
async function $do21(client, request, options) {
|
|
67878
67494
|
const parsed = safeParse(request, (value) => DeploymentStreamRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
67879
67495
|
if (!parsed.ok) {
|
|
67880
67496
|
return [parsed, { status: "invalid" }];
|
|
@@ -67959,12 +67575,12 @@ var init_deploymentsStream = __esm(() => {
|
|
|
67959
67575
|
});
|
|
67960
67576
|
|
|
67961
67577
|
// src/mcp-server/tools/deploymentsStream.ts
|
|
67962
|
-
var
|
|
67578
|
+
var args21, tool$deploymentsStream;
|
|
67963
67579
|
var init_deploymentsStream2 = __esm(() => {
|
|
67964
67580
|
init_deploymentsStream();
|
|
67965
67581
|
init_operations();
|
|
67966
67582
|
init_tools();
|
|
67967
|
-
|
|
67583
|
+
args21 = {
|
|
67968
67584
|
request: DeploymentStreamRequestBody$inboundSchema
|
|
67969
67585
|
};
|
|
67970
67586
|
tool$deploymentsStream = {
|
|
@@ -67972,9 +67588,9 @@ var init_deploymentsStream2 = __esm(() => {
|
|
|
67972
67588
|
description: `Stream
|
|
67973
67589
|
|
|
67974
67590
|
Stream deployment generation. Only supported for completions and chat completions.`,
|
|
67975
|
-
args:
|
|
67976
|
-
tool: async (client,
|
|
67977
|
-
const [result, apiCall] = await deploymentsStream(client,
|
|
67591
|
+
args: args21,
|
|
67592
|
+
tool: async (client, args22, ctx) => {
|
|
67593
|
+
const [result, apiCall] = await deploymentsStream(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67978
67594
|
if (!result.ok) {
|
|
67979
67595
|
return {
|
|
67980
67596
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67989,9 +67605,9 @@ Stream deployment generation. Only supported for completions and chat completion
|
|
|
67989
67605
|
|
|
67990
67606
|
// src/funcs/evalsAgeAppropriate.ts
|
|
67991
67607
|
function evalsAgeAppropriate(client, request, options) {
|
|
67992
|
-
return new APIPromise($
|
|
67608
|
+
return new APIPromise($do22(client, request, options));
|
|
67993
67609
|
}
|
|
67994
|
-
async function $
|
|
67610
|
+
async function $do22(client, request, options) {
|
|
67995
67611
|
const parsed = safeParse(request, (value) => EvalsAgeAppropriateRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
67996
67612
|
if (!parsed.ok) {
|
|
67997
67613
|
return [parsed, { status: "invalid" }];
|
|
@@ -68062,20 +67678,20 @@ var init_evalsAgeAppropriate = __esm(() => {
|
|
|
68062
67678
|
});
|
|
68063
67679
|
|
|
68064
67680
|
// src/mcp-server/tools/evalsAgeAppropriate.ts
|
|
68065
|
-
var
|
|
67681
|
+
var args22, tool$evalsAgeAppropriate;
|
|
68066
67682
|
var init_evalsAgeAppropriate2 = __esm(() => {
|
|
68067
67683
|
init_evalsAgeAppropriate();
|
|
68068
67684
|
init_operations();
|
|
68069
67685
|
init_tools();
|
|
68070
|
-
|
|
67686
|
+
args22 = {
|
|
68071
67687
|
request: EvalsAgeAppropriateRequestBody$inboundSchema.optional()
|
|
68072
67688
|
};
|
|
68073
67689
|
tool$evalsAgeAppropriate = {
|
|
68074
67690
|
name: "evals-age-appropriate",
|
|
68075
67691
|
description: `Run Age Appropriate Evaluator`,
|
|
68076
|
-
args:
|
|
68077
|
-
tool: async (client,
|
|
68078
|
-
const [result, apiCall] = await evalsAgeAppropriate(client,
|
|
67692
|
+
args: args22,
|
|
67693
|
+
tool: async (client, args23, ctx) => {
|
|
67694
|
+
const [result, apiCall] = await evalsAgeAppropriate(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68079
67695
|
if (!result.ok) {
|
|
68080
67696
|
return {
|
|
68081
67697
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68090,9 +67706,9 @@ var init_evalsAgeAppropriate2 = __esm(() => {
|
|
|
68090
67706
|
|
|
68091
67707
|
// src/funcs/evalsAll.ts
|
|
68092
67708
|
function evalsAll(client, request, options) {
|
|
68093
|
-
return new APIPromise($
|
|
67709
|
+
return new APIPromise($do23(client, request, options));
|
|
68094
67710
|
}
|
|
68095
|
-
async function $
|
|
67711
|
+
async function $do23(client, request, options) {
|
|
68096
67712
|
const parsed = safeParse(request, (value) => GetEvalsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68097
67713
|
if (!parsed.ok) {
|
|
68098
67714
|
return [parsed, { status: "invalid" }];
|
|
@@ -68168,20 +67784,20 @@ var init_evalsAll = __esm(() => {
|
|
|
68168
67784
|
});
|
|
68169
67785
|
|
|
68170
67786
|
// src/mcp-server/tools/evalsAll.ts
|
|
68171
|
-
var
|
|
67787
|
+
var args23, tool$evalsAll;
|
|
68172
67788
|
var init_evalsAll2 = __esm(() => {
|
|
68173
67789
|
init_evalsAll();
|
|
68174
67790
|
init_operations();
|
|
68175
67791
|
init_tools();
|
|
68176
|
-
|
|
67792
|
+
args23 = {
|
|
68177
67793
|
request: GetEvalsRequest$inboundSchema.optional()
|
|
68178
67794
|
};
|
|
68179
67795
|
tool$evalsAll = {
|
|
68180
67796
|
name: "evals-all",
|
|
68181
67797
|
description: `Get all Evaluators`,
|
|
68182
|
-
args:
|
|
68183
|
-
tool: async (client,
|
|
68184
|
-
const [result, apiCall] = await evalsAll(client,
|
|
67798
|
+
args: args23,
|
|
67799
|
+
tool: async (client, args24, ctx) => {
|
|
67800
|
+
const [result, apiCall] = await evalsAll(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68185
67801
|
if (!result.ok) {
|
|
68186
67802
|
return {
|
|
68187
67803
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68196,9 +67812,9 @@ var init_evalsAll2 = __esm(() => {
|
|
|
68196
67812
|
|
|
68197
67813
|
// src/funcs/evalsBertScore.ts
|
|
68198
67814
|
function evalsBertScore(client, request, options) {
|
|
68199
|
-
return new APIPromise($
|
|
67815
|
+
return new APIPromise($do24(client, request, options));
|
|
68200
67816
|
}
|
|
68201
|
-
async function $
|
|
67817
|
+
async function $do24(client, request, options) {
|
|
68202
67818
|
const parsed = safeParse(request, (value) => EvalsBertScoreRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68203
67819
|
if (!parsed.ok) {
|
|
68204
67820
|
return [parsed, { status: "invalid" }];
|
|
@@ -68269,20 +67885,20 @@ var init_evalsBertScore = __esm(() => {
|
|
|
68269
67885
|
});
|
|
68270
67886
|
|
|
68271
67887
|
// src/mcp-server/tools/evalsBertScore.ts
|
|
68272
|
-
var
|
|
67888
|
+
var args24, tool$evalsBertScore;
|
|
68273
67889
|
var init_evalsBertScore2 = __esm(() => {
|
|
68274
67890
|
init_evalsBertScore();
|
|
68275
67891
|
init_operations();
|
|
68276
67892
|
init_tools();
|
|
68277
|
-
|
|
67893
|
+
args24 = {
|
|
68278
67894
|
request: EvalsBertScoreRequestBody$inboundSchema.optional()
|
|
68279
67895
|
};
|
|
68280
67896
|
tool$evalsBertScore = {
|
|
68281
67897
|
name: "evals-bert-score",
|
|
68282
67898
|
description: `Run BertScore Evaluator`,
|
|
68283
|
-
args:
|
|
68284
|
-
tool: async (client,
|
|
68285
|
-
const [result, apiCall] = await evalsBertScore(client,
|
|
67899
|
+
args: args24,
|
|
67900
|
+
tool: async (client, args25, ctx) => {
|
|
67901
|
+
const [result, apiCall] = await evalsBertScore(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68286
67902
|
if (!result.ok) {
|
|
68287
67903
|
return {
|
|
68288
67904
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68297,9 +67913,9 @@ var init_evalsBertScore2 = __esm(() => {
|
|
|
68297
67913
|
|
|
68298
67914
|
// src/funcs/evalsBleuScore.ts
|
|
68299
67915
|
function evalsBleuScore(client, request, options) {
|
|
68300
|
-
return new APIPromise($
|
|
67916
|
+
return new APIPromise($do25(client, request, options));
|
|
68301
67917
|
}
|
|
68302
|
-
async function $
|
|
67918
|
+
async function $do25(client, request, options) {
|
|
68303
67919
|
const parsed = safeParse(request, (value) => EvalsBleuScoreRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68304
67920
|
if (!parsed.ok) {
|
|
68305
67921
|
return [parsed, { status: "invalid" }];
|
|
@@ -68370,20 +67986,20 @@ var init_evalsBleuScore = __esm(() => {
|
|
|
68370
67986
|
});
|
|
68371
67987
|
|
|
68372
67988
|
// src/mcp-server/tools/evalsBleuScore.ts
|
|
68373
|
-
var
|
|
67989
|
+
var args25, tool$evalsBleuScore;
|
|
68374
67990
|
var init_evalsBleuScore2 = __esm(() => {
|
|
68375
67991
|
init_evalsBleuScore();
|
|
68376
67992
|
init_operations();
|
|
68377
67993
|
init_tools();
|
|
68378
|
-
|
|
67994
|
+
args25 = {
|
|
68379
67995
|
request: EvalsBleuScoreRequestBody$inboundSchema.optional()
|
|
68380
67996
|
};
|
|
68381
67997
|
tool$evalsBleuScore = {
|
|
68382
67998
|
name: "evals-bleu-score",
|
|
68383
67999
|
description: `Run BLEU Score Evaluator`,
|
|
68384
|
-
args:
|
|
68385
|
-
tool: async (client,
|
|
68386
|
-
const [result, apiCall] = await evalsBleuScore(client,
|
|
68000
|
+
args: args25,
|
|
68001
|
+
tool: async (client, args26, ctx) => {
|
|
68002
|
+
const [result, apiCall] = await evalsBleuScore(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68387
68003
|
if (!result.ok) {
|
|
68388
68004
|
return {
|
|
68389
68005
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68398,9 +68014,9 @@ var init_evalsBleuScore2 = __esm(() => {
|
|
|
68398
68014
|
|
|
68399
68015
|
// src/funcs/evalsBotDetection.ts
|
|
68400
68016
|
function evalsBotDetection(client, request, options) {
|
|
68401
|
-
return new APIPromise($
|
|
68017
|
+
return new APIPromise($do26(client, request, options));
|
|
68402
68018
|
}
|
|
68403
|
-
async function $
|
|
68019
|
+
async function $do26(client, request, options) {
|
|
68404
68020
|
const parsed = safeParse(request, (value) => EvalsBotDetectionRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68405
68021
|
if (!parsed.ok) {
|
|
68406
68022
|
return [parsed, { status: "invalid" }];
|
|
@@ -68471,20 +68087,20 @@ var init_evalsBotDetection = __esm(() => {
|
|
|
68471
68087
|
});
|
|
68472
68088
|
|
|
68473
68089
|
// src/mcp-server/tools/evalsBotDetection.ts
|
|
68474
|
-
var
|
|
68090
|
+
var args26, tool$evalsBotDetection;
|
|
68475
68091
|
var init_evalsBotDetection2 = __esm(() => {
|
|
68476
68092
|
init_evalsBotDetection();
|
|
68477
68093
|
init_operations();
|
|
68478
68094
|
init_tools();
|
|
68479
|
-
|
|
68095
|
+
args26 = {
|
|
68480
68096
|
request: EvalsBotDetectionRequestBody$inboundSchema.optional()
|
|
68481
68097
|
};
|
|
68482
68098
|
tool$evalsBotDetection = {
|
|
68483
68099
|
name: "evals-bot-detection",
|
|
68484
68100
|
description: `Run Bot Detection Evaluator`,
|
|
68485
|
-
args:
|
|
68486
|
-
tool: async (client,
|
|
68487
|
-
const [result, apiCall] = await evalsBotDetection(client,
|
|
68101
|
+
args: args26,
|
|
68102
|
+
tool: async (client, args27, ctx) => {
|
|
68103
|
+
const [result, apiCall] = await evalsBotDetection(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68488
68104
|
if (!result.ok) {
|
|
68489
68105
|
return {
|
|
68490
68106
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68499,9 +68115,9 @@ var init_evalsBotDetection2 = __esm(() => {
|
|
|
68499
68115
|
|
|
68500
68116
|
// src/funcs/evalsContains.ts
|
|
68501
68117
|
function evalsContains(client, request, options) {
|
|
68502
|
-
return new APIPromise($
|
|
68118
|
+
return new APIPromise($do27(client, request, options));
|
|
68503
68119
|
}
|
|
68504
|
-
async function $
|
|
68120
|
+
async function $do27(client, request, options) {
|
|
68505
68121
|
const parsed = safeParse(request, (value) => EvalsContainsRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68506
68122
|
if (!parsed.ok) {
|
|
68507
68123
|
return [parsed, { status: "invalid" }];
|
|
@@ -68572,20 +68188,20 @@ var init_evalsContains = __esm(() => {
|
|
|
68572
68188
|
});
|
|
68573
68189
|
|
|
68574
68190
|
// src/mcp-server/tools/evalsContains.ts
|
|
68575
|
-
var
|
|
68191
|
+
var args27, tool$evalsContains;
|
|
68576
68192
|
var init_evalsContains2 = __esm(() => {
|
|
68577
68193
|
init_evalsContains();
|
|
68578
68194
|
init_operations();
|
|
68579
68195
|
init_tools();
|
|
68580
|
-
|
|
68196
|
+
args27 = {
|
|
68581
68197
|
request: EvalsContainsRequestBody$inboundSchema.optional()
|
|
68582
68198
|
};
|
|
68583
68199
|
tool$evalsContains = {
|
|
68584
68200
|
name: "evals-contains",
|
|
68585
68201
|
description: `Run Contains Evaluator`,
|
|
68586
|
-
args:
|
|
68587
|
-
tool: async (client,
|
|
68588
|
-
const [result, apiCall] = await evalsContains(client,
|
|
68202
|
+
args: args27,
|
|
68203
|
+
tool: async (client, args28, ctx) => {
|
|
68204
|
+
const [result, apiCall] = await evalsContains(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68589
68205
|
if (!result.ok) {
|
|
68590
68206
|
return {
|
|
68591
68207
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68600,9 +68216,9 @@ var init_evalsContains2 = __esm(() => {
|
|
|
68600
68216
|
|
|
68601
68217
|
// src/funcs/evalsContainsAll.ts
|
|
68602
68218
|
function evalsContainsAll(client, request, options) {
|
|
68603
|
-
return new APIPromise($
|
|
68219
|
+
return new APIPromise($do28(client, request, options));
|
|
68604
68220
|
}
|
|
68605
|
-
async function $
|
|
68221
|
+
async function $do28(client, request, options) {
|
|
68606
68222
|
const parsed = safeParse(request, (value) => EvalsContainsAllRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68607
68223
|
if (!parsed.ok) {
|
|
68608
68224
|
return [parsed, { status: "invalid" }];
|
|
@@ -68673,20 +68289,20 @@ var init_evalsContainsAll = __esm(() => {
|
|
|
68673
68289
|
});
|
|
68674
68290
|
|
|
68675
68291
|
// src/mcp-server/tools/evalsContainsAll.ts
|
|
68676
|
-
var
|
|
68292
|
+
var args28, tool$evalsContainsAll;
|
|
68677
68293
|
var init_evalsContainsAll2 = __esm(() => {
|
|
68678
68294
|
init_evalsContainsAll();
|
|
68679
68295
|
init_operations();
|
|
68680
68296
|
init_tools();
|
|
68681
|
-
|
|
68297
|
+
args28 = {
|
|
68682
68298
|
request: EvalsContainsAllRequestBody$inboundSchema.optional()
|
|
68683
68299
|
};
|
|
68684
68300
|
tool$evalsContainsAll = {
|
|
68685
68301
|
name: "evals-contains-all",
|
|
68686
68302
|
description: `Run Contains All Evaluator`,
|
|
68687
|
-
args:
|
|
68688
|
-
tool: async (client,
|
|
68689
|
-
const [result, apiCall] = await evalsContainsAll(client,
|
|
68303
|
+
args: args28,
|
|
68304
|
+
tool: async (client, args29, ctx) => {
|
|
68305
|
+
const [result, apiCall] = await evalsContainsAll(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68690
68306
|
if (!result.ok) {
|
|
68691
68307
|
return {
|
|
68692
68308
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68701,9 +68317,9 @@ var init_evalsContainsAll2 = __esm(() => {
|
|
|
68701
68317
|
|
|
68702
68318
|
// src/funcs/evalsContainsAny.ts
|
|
68703
68319
|
function evalsContainsAny(client, request, options) {
|
|
68704
|
-
return new APIPromise($
|
|
68320
|
+
return new APIPromise($do29(client, request, options));
|
|
68705
68321
|
}
|
|
68706
|
-
async function $
|
|
68322
|
+
async function $do29(client, request, options) {
|
|
68707
68323
|
const parsed = safeParse(request, (value) => EvalsContainsAnyRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68708
68324
|
if (!parsed.ok) {
|
|
68709
68325
|
return [parsed, { status: "invalid" }];
|
|
@@ -68774,20 +68390,20 @@ var init_evalsContainsAny = __esm(() => {
|
|
|
68774
68390
|
});
|
|
68775
68391
|
|
|
68776
68392
|
// src/mcp-server/tools/evalsContainsAny.ts
|
|
68777
|
-
var
|
|
68393
|
+
var args29, tool$evalsContainsAny;
|
|
68778
68394
|
var init_evalsContainsAny2 = __esm(() => {
|
|
68779
68395
|
init_evalsContainsAny();
|
|
68780
68396
|
init_operations();
|
|
68781
68397
|
init_tools();
|
|
68782
|
-
|
|
68398
|
+
args29 = {
|
|
68783
68399
|
request: EvalsContainsAnyRequestBody$inboundSchema.optional()
|
|
68784
68400
|
};
|
|
68785
68401
|
tool$evalsContainsAny = {
|
|
68786
68402
|
name: "evals-contains-any",
|
|
68787
68403
|
description: `Run Contains Any Evaluator`,
|
|
68788
|
-
args:
|
|
68789
|
-
tool: async (client,
|
|
68790
|
-
const [result, apiCall] = await evalsContainsAny(client,
|
|
68404
|
+
args: args29,
|
|
68405
|
+
tool: async (client, args30, ctx) => {
|
|
68406
|
+
const [result, apiCall] = await evalsContainsAny(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68791
68407
|
if (!result.ok) {
|
|
68792
68408
|
return {
|
|
68793
68409
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68802,9 +68418,9 @@ var init_evalsContainsAny2 = __esm(() => {
|
|
|
68802
68418
|
|
|
68803
68419
|
// src/funcs/evalsContainsEmail.ts
|
|
68804
68420
|
function evalsContainsEmail(client, request, options) {
|
|
68805
|
-
return new APIPromise($
|
|
68421
|
+
return new APIPromise($do30(client, request, options));
|
|
68806
68422
|
}
|
|
68807
|
-
async function $
|
|
68423
|
+
async function $do30(client, request, options) {
|
|
68808
68424
|
const parsed = safeParse(request, (value) => EvalsContainsEmailRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68809
68425
|
if (!parsed.ok) {
|
|
68810
68426
|
return [parsed, { status: "invalid" }];
|
|
@@ -68875,20 +68491,20 @@ var init_evalsContainsEmail = __esm(() => {
|
|
|
68875
68491
|
});
|
|
68876
68492
|
|
|
68877
68493
|
// src/mcp-server/tools/evalsContainsEmail.ts
|
|
68878
|
-
var
|
|
68494
|
+
var args30, tool$evalsContainsEmail;
|
|
68879
68495
|
var init_evalsContainsEmail2 = __esm(() => {
|
|
68880
68496
|
init_evalsContainsEmail();
|
|
68881
68497
|
init_operations();
|
|
68882
68498
|
init_tools();
|
|
68883
|
-
|
|
68499
|
+
args30 = {
|
|
68884
68500
|
request: EvalsContainsEmailRequestBody$inboundSchema.optional()
|
|
68885
68501
|
};
|
|
68886
68502
|
tool$evalsContainsEmail = {
|
|
68887
68503
|
name: "evals-contains-email",
|
|
68888
68504
|
description: `Run Contains Email Evaluator`,
|
|
68889
|
-
args:
|
|
68890
|
-
tool: async (client,
|
|
68891
|
-
const [result, apiCall] = await evalsContainsEmail(client,
|
|
68505
|
+
args: args30,
|
|
68506
|
+
tool: async (client, args31, ctx) => {
|
|
68507
|
+
const [result, apiCall] = await evalsContainsEmail(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68892
68508
|
if (!result.ok) {
|
|
68893
68509
|
return {
|
|
68894
68510
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68903,9 +68519,9 @@ var init_evalsContainsEmail2 = __esm(() => {
|
|
|
68903
68519
|
|
|
68904
68520
|
// src/funcs/evalsContainsNone.ts
|
|
68905
68521
|
function evalsContainsNone(client, request, options) {
|
|
68906
|
-
return new APIPromise($
|
|
68522
|
+
return new APIPromise($do31(client, request, options));
|
|
68907
68523
|
}
|
|
68908
|
-
async function $
|
|
68524
|
+
async function $do31(client, request, options) {
|
|
68909
68525
|
const parsed = safeParse(request, (value) => EvalsContainsNoneRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68910
68526
|
if (!parsed.ok) {
|
|
68911
68527
|
return [parsed, { status: "invalid" }];
|
|
@@ -68976,20 +68592,20 @@ var init_evalsContainsNone = __esm(() => {
|
|
|
68976
68592
|
});
|
|
68977
68593
|
|
|
68978
68594
|
// src/mcp-server/tools/evalsContainsNone.ts
|
|
68979
|
-
var
|
|
68595
|
+
var args31, tool$evalsContainsNone;
|
|
68980
68596
|
var init_evalsContainsNone2 = __esm(() => {
|
|
68981
68597
|
init_evalsContainsNone();
|
|
68982
68598
|
init_operations();
|
|
68983
68599
|
init_tools();
|
|
68984
|
-
|
|
68600
|
+
args31 = {
|
|
68985
68601
|
request: EvalsContainsNoneRequestBody$inboundSchema.optional()
|
|
68986
68602
|
};
|
|
68987
68603
|
tool$evalsContainsNone = {
|
|
68988
68604
|
name: "evals-contains-none",
|
|
68989
68605
|
description: `Run Contains None Evaluator`,
|
|
68990
|
-
args:
|
|
68991
|
-
tool: async (client,
|
|
68992
|
-
const [result, apiCall] = await evalsContainsNone(client,
|
|
68606
|
+
args: args31,
|
|
68607
|
+
tool: async (client, args32, ctx) => {
|
|
68608
|
+
const [result, apiCall] = await evalsContainsNone(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68993
68609
|
if (!result.ok) {
|
|
68994
68610
|
return {
|
|
68995
68611
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69004,9 +68620,9 @@ var init_evalsContainsNone2 = __esm(() => {
|
|
|
69004
68620
|
|
|
69005
68621
|
// src/funcs/evalsContainsUrl.ts
|
|
69006
68622
|
function evalsContainsUrl(client, request, options) {
|
|
69007
|
-
return new APIPromise($
|
|
68623
|
+
return new APIPromise($do32(client, request, options));
|
|
69008
68624
|
}
|
|
69009
|
-
async function $
|
|
68625
|
+
async function $do32(client, request, options) {
|
|
69010
68626
|
const parsed = safeParse(request, (value) => EvalsContainsUrlRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69011
68627
|
if (!parsed.ok) {
|
|
69012
68628
|
return [parsed, { status: "invalid" }];
|
|
@@ -69077,20 +68693,20 @@ var init_evalsContainsUrl = __esm(() => {
|
|
|
69077
68693
|
});
|
|
69078
68694
|
|
|
69079
68695
|
// src/mcp-server/tools/evalsContainsUrl.ts
|
|
69080
|
-
var
|
|
68696
|
+
var args32, tool$evalsContainsUrl;
|
|
69081
68697
|
var init_evalsContainsUrl2 = __esm(() => {
|
|
69082
68698
|
init_evalsContainsUrl();
|
|
69083
68699
|
init_operations();
|
|
69084
68700
|
init_tools();
|
|
69085
|
-
|
|
68701
|
+
args32 = {
|
|
69086
68702
|
request: EvalsContainsUrlRequestBody$inboundSchema.optional()
|
|
69087
68703
|
};
|
|
69088
68704
|
tool$evalsContainsUrl = {
|
|
69089
68705
|
name: "evals-contains-url",
|
|
69090
68706
|
description: `Run Contains URL Evaluator`,
|
|
69091
|
-
args:
|
|
69092
|
-
tool: async (client,
|
|
69093
|
-
const [result, apiCall] = await evalsContainsUrl(client,
|
|
68707
|
+
args: args32,
|
|
68708
|
+
tool: async (client, args33, ctx) => {
|
|
68709
|
+
const [result, apiCall] = await evalsContainsUrl(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69094
68710
|
if (!result.ok) {
|
|
69095
68711
|
return {
|
|
69096
68712
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69105,9 +68721,9 @@ var init_evalsContainsUrl2 = __esm(() => {
|
|
|
69105
68721
|
|
|
69106
68722
|
// src/funcs/evalsContainsValidLink.ts
|
|
69107
68723
|
function evalsContainsValidLink(client, request, options) {
|
|
69108
|
-
return new APIPromise($
|
|
68724
|
+
return new APIPromise($do33(client, request, options));
|
|
69109
68725
|
}
|
|
69110
|
-
async function $
|
|
68726
|
+
async function $do33(client, request, options) {
|
|
69111
68727
|
const parsed = safeParse(request, (value) => EvalsContainsValidLinkRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69112
68728
|
if (!parsed.ok) {
|
|
69113
68729
|
return [parsed, { status: "invalid" }];
|
|
@@ -69178,20 +68794,20 @@ var init_evalsContainsValidLink = __esm(() => {
|
|
|
69178
68794
|
});
|
|
69179
68795
|
|
|
69180
68796
|
// src/mcp-server/tools/evalsContainsValidLink.ts
|
|
69181
|
-
var
|
|
68797
|
+
var args33, tool$evalsContainsValidLink;
|
|
69182
68798
|
var init_evalsContainsValidLink2 = __esm(() => {
|
|
69183
68799
|
init_evalsContainsValidLink();
|
|
69184
68800
|
init_operations();
|
|
69185
68801
|
init_tools();
|
|
69186
|
-
|
|
68802
|
+
args33 = {
|
|
69187
68803
|
request: EvalsContainsValidLinkRequestBody$inboundSchema.optional()
|
|
69188
68804
|
};
|
|
69189
68805
|
tool$evalsContainsValidLink = {
|
|
69190
68806
|
name: "evals-contains-valid-link",
|
|
69191
68807
|
description: `Run Contains Valid Link Evaluator`,
|
|
69192
|
-
args:
|
|
69193
|
-
tool: async (client,
|
|
69194
|
-
const [result, apiCall] = await evalsContainsValidLink(client,
|
|
68808
|
+
args: args33,
|
|
68809
|
+
tool: async (client, args34, ctx) => {
|
|
68810
|
+
const [result, apiCall] = await evalsContainsValidLink(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69195
68811
|
if (!result.ok) {
|
|
69196
68812
|
return {
|
|
69197
68813
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69206,9 +68822,9 @@ var init_evalsContainsValidLink2 = __esm(() => {
|
|
|
69206
68822
|
|
|
69207
68823
|
// src/funcs/evalsCreate.ts
|
|
69208
68824
|
function evalsCreate(client, request, options) {
|
|
69209
|
-
return new APIPromise($
|
|
68825
|
+
return new APIPromise($do34(client, request, options));
|
|
69210
68826
|
}
|
|
69211
|
-
async function $
|
|
68827
|
+
async function $do34(client, request, options) {
|
|
69212
68828
|
const parsed = safeParse(request, (value) => CreateEvalRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69213
68829
|
if (!parsed.ok) {
|
|
69214
68830
|
return [parsed, { status: "invalid" }];
|
|
@@ -69279,20 +68895,20 @@ var init_evalsCreate = __esm(() => {
|
|
|
69279
68895
|
});
|
|
69280
68896
|
|
|
69281
68897
|
// src/mcp-server/tools/evalsCreate.ts
|
|
69282
|
-
var
|
|
68898
|
+
var args34, tool$evalsCreate;
|
|
69283
68899
|
var init_evalsCreate2 = __esm(() => {
|
|
69284
68900
|
init_evalsCreate();
|
|
69285
68901
|
init_operations();
|
|
69286
68902
|
init_tools();
|
|
69287
|
-
|
|
68903
|
+
args34 = {
|
|
69288
68904
|
request: CreateEvalRequestBody$inboundSchema.optional()
|
|
69289
68905
|
};
|
|
69290
68906
|
tool$evalsCreate = {
|
|
69291
68907
|
name: "evals-create",
|
|
69292
68908
|
description: `Create an Evaluator`,
|
|
69293
|
-
args:
|
|
69294
|
-
tool: async (client,
|
|
69295
|
-
const [result, apiCall] = await evalsCreate(client,
|
|
68909
|
+
args: args34,
|
|
68910
|
+
tool: async (client, args35, ctx) => {
|
|
68911
|
+
const [result, apiCall] = await evalsCreate(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69296
68912
|
if (!result.ok) {
|
|
69297
68913
|
return {
|
|
69298
68914
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69307,9 +68923,9 @@ var init_evalsCreate2 = __esm(() => {
|
|
|
69307
68923
|
|
|
69308
68924
|
// src/funcs/evalsDelete.ts
|
|
69309
68925
|
function evalsDelete(client, request, options) {
|
|
69310
|
-
return new APIPromise($
|
|
68926
|
+
return new APIPromise($do35(client, request, options));
|
|
69311
68927
|
}
|
|
69312
|
-
async function $
|
|
68928
|
+
async function $do35(client, request, options) {
|
|
69313
68929
|
const parsed = safeParse(request, (value) => DeleteEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69314
68930
|
if (!parsed.ok) {
|
|
69315
68931
|
return [parsed, { status: "invalid" }];
|
|
@@ -69386,20 +69002,20 @@ var init_evalsDelete = __esm(() => {
|
|
|
69386
69002
|
});
|
|
69387
69003
|
|
|
69388
69004
|
// src/mcp-server/tools/evalsDelete.ts
|
|
69389
|
-
var
|
|
69005
|
+
var args35, tool$evalsDelete;
|
|
69390
69006
|
var init_evalsDelete2 = __esm(() => {
|
|
69391
69007
|
init_evalsDelete();
|
|
69392
69008
|
init_operations();
|
|
69393
69009
|
init_tools();
|
|
69394
|
-
|
|
69010
|
+
args35 = {
|
|
69395
69011
|
request: DeleteEvalRequest$inboundSchema
|
|
69396
69012
|
};
|
|
69397
69013
|
tool$evalsDelete = {
|
|
69398
69014
|
name: "evals-delete",
|
|
69399
69015
|
description: `Delete an Evaluator`,
|
|
69400
|
-
args:
|
|
69401
|
-
tool: async (client,
|
|
69402
|
-
const [result, apiCall] = await evalsDelete(client,
|
|
69016
|
+
args: args35,
|
|
69017
|
+
tool: async (client, args36, ctx) => {
|
|
69018
|
+
const [result, apiCall] = await evalsDelete(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69403
69019
|
if (!result.ok) {
|
|
69404
69020
|
return {
|
|
69405
69021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69413,9 +69029,9 @@ var init_evalsDelete2 = __esm(() => {
|
|
|
69413
69029
|
|
|
69414
69030
|
// src/funcs/evalsEndsWith.ts
|
|
69415
69031
|
function evalsEndsWith(client, request, options) {
|
|
69416
|
-
return new APIPromise($
|
|
69032
|
+
return new APIPromise($do36(client, request, options));
|
|
69417
69033
|
}
|
|
69418
|
-
async function $
|
|
69034
|
+
async function $do36(client, request, options) {
|
|
69419
69035
|
const parsed = safeParse(request, (value) => EvalsEndsWithRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69420
69036
|
if (!parsed.ok) {
|
|
69421
69037
|
return [parsed, { status: "invalid" }];
|
|
@@ -69486,20 +69102,20 @@ var init_evalsEndsWith = __esm(() => {
|
|
|
69486
69102
|
});
|
|
69487
69103
|
|
|
69488
69104
|
// src/mcp-server/tools/evalsEndsWith.ts
|
|
69489
|
-
var
|
|
69105
|
+
var args36, tool$evalsEndsWith;
|
|
69490
69106
|
var init_evalsEndsWith2 = __esm(() => {
|
|
69491
69107
|
init_evalsEndsWith();
|
|
69492
69108
|
init_operations();
|
|
69493
69109
|
init_tools();
|
|
69494
|
-
|
|
69110
|
+
args36 = {
|
|
69495
69111
|
request: EvalsEndsWithRequestBody$inboundSchema.optional()
|
|
69496
69112
|
};
|
|
69497
69113
|
tool$evalsEndsWith = {
|
|
69498
69114
|
name: "evals-ends-with",
|
|
69499
69115
|
description: `Run Ends With Evaluator`,
|
|
69500
|
-
args:
|
|
69501
|
-
tool: async (client,
|
|
69502
|
-
const [result, apiCall] = await evalsEndsWith(client,
|
|
69116
|
+
args: args36,
|
|
69117
|
+
tool: async (client, args37, ctx) => {
|
|
69118
|
+
const [result, apiCall] = await evalsEndsWith(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69503
69119
|
if (!result.ok) {
|
|
69504
69120
|
return {
|
|
69505
69121
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69514,9 +69130,9 @@ var init_evalsEndsWith2 = __esm(() => {
|
|
|
69514
69130
|
|
|
69515
69131
|
// src/funcs/evalsExactMatch.ts
|
|
69516
69132
|
function evalsExactMatch(client, request, options) {
|
|
69517
|
-
return new APIPromise($
|
|
69133
|
+
return new APIPromise($do37(client, request, options));
|
|
69518
69134
|
}
|
|
69519
|
-
async function $
|
|
69135
|
+
async function $do37(client, request, options) {
|
|
69520
69136
|
const parsed = safeParse(request, (value) => EvalsExactMatchRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69521
69137
|
if (!parsed.ok) {
|
|
69522
69138
|
return [parsed, { status: "invalid" }];
|
|
@@ -69587,20 +69203,20 @@ var init_evalsExactMatch = __esm(() => {
|
|
|
69587
69203
|
});
|
|
69588
69204
|
|
|
69589
69205
|
// src/mcp-server/tools/evalsExactMatch.ts
|
|
69590
|
-
var
|
|
69206
|
+
var args37, tool$evalsExactMatch;
|
|
69591
69207
|
var init_evalsExactMatch2 = __esm(() => {
|
|
69592
69208
|
init_evalsExactMatch();
|
|
69593
69209
|
init_operations();
|
|
69594
69210
|
init_tools();
|
|
69595
|
-
|
|
69211
|
+
args37 = {
|
|
69596
69212
|
request: EvalsExactMatchRequestBody$inboundSchema.optional()
|
|
69597
69213
|
};
|
|
69598
69214
|
tool$evalsExactMatch = {
|
|
69599
69215
|
name: "evals-exact-match",
|
|
69600
69216
|
description: `Run Exact Match Evaluator`,
|
|
69601
|
-
args:
|
|
69602
|
-
tool: async (client,
|
|
69603
|
-
const [result, apiCall] = await evalsExactMatch(client,
|
|
69217
|
+
args: args37,
|
|
69218
|
+
tool: async (client, args38, ctx) => {
|
|
69219
|
+
const [result, apiCall] = await evalsExactMatch(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69604
69220
|
if (!result.ok) {
|
|
69605
69221
|
return {
|
|
69606
69222
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69615,9 +69231,9 @@ var init_evalsExactMatch2 = __esm(() => {
|
|
|
69615
69231
|
|
|
69616
69232
|
// src/funcs/evalsFactCheckingKnowledgeBase.ts
|
|
69617
69233
|
function evalsFactCheckingKnowledgeBase(client, request, options) {
|
|
69618
|
-
return new APIPromise($
|
|
69234
|
+
return new APIPromise($do38(client, request, options));
|
|
69619
69235
|
}
|
|
69620
|
-
async function $
|
|
69236
|
+
async function $do38(client, request, options) {
|
|
69621
69237
|
const parsed = safeParse(request, (value) => EvalsFactCheckingKnowledgeBaseRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69622
69238
|
if (!parsed.ok) {
|
|
69623
69239
|
return [parsed, { status: "invalid" }];
|
|
@@ -69688,20 +69304,20 @@ var init_evalsFactCheckingKnowledgeBase = __esm(() => {
|
|
|
69688
69304
|
});
|
|
69689
69305
|
|
|
69690
69306
|
// src/mcp-server/tools/evalsFactCheckingKnowledgeBase.ts
|
|
69691
|
-
var
|
|
69307
|
+
var args38, tool$evalsFactCheckingKnowledgeBase;
|
|
69692
69308
|
var init_evalsFactCheckingKnowledgeBase2 = __esm(() => {
|
|
69693
69309
|
init_evalsFactCheckingKnowledgeBase();
|
|
69694
69310
|
init_operations();
|
|
69695
69311
|
init_tools();
|
|
69696
|
-
|
|
69312
|
+
args38 = {
|
|
69697
69313
|
request: EvalsFactCheckingKnowledgeBaseRequestBody$inboundSchema.optional()
|
|
69698
69314
|
};
|
|
69699
69315
|
tool$evalsFactCheckingKnowledgeBase = {
|
|
69700
69316
|
name: "evals-fact-checking-knowledge-base",
|
|
69701
69317
|
description: `Run Fact Checking Knowledge Base Evaluator`,
|
|
69702
|
-
args:
|
|
69703
|
-
tool: async (client,
|
|
69704
|
-
const [result, apiCall] = await evalsFactCheckingKnowledgeBase(client,
|
|
69318
|
+
args: args38,
|
|
69319
|
+
tool: async (client, args39, ctx) => {
|
|
69320
|
+
const [result, apiCall] = await evalsFactCheckingKnowledgeBase(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69705
69321
|
if (!result.ok) {
|
|
69706
69322
|
return {
|
|
69707
69323
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69716,9 +69332,9 @@ var init_evalsFactCheckingKnowledgeBase2 = __esm(() => {
|
|
|
69716
69332
|
|
|
69717
69333
|
// src/funcs/evalsGrammar.ts
|
|
69718
69334
|
function evalsGrammar(client, request, options) {
|
|
69719
|
-
return new APIPromise($
|
|
69335
|
+
return new APIPromise($do39(client, request, options));
|
|
69720
69336
|
}
|
|
69721
|
-
async function $
|
|
69337
|
+
async function $do39(client, request, options) {
|
|
69722
69338
|
const parsed = safeParse(request, (value) => EvalsGrammarRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69723
69339
|
if (!parsed.ok) {
|
|
69724
69340
|
return [parsed, { status: "invalid" }];
|
|
@@ -69789,20 +69405,20 @@ var init_evalsGrammar = __esm(() => {
|
|
|
69789
69405
|
});
|
|
69790
69406
|
|
|
69791
69407
|
// src/mcp-server/tools/evalsGrammar.ts
|
|
69792
|
-
var
|
|
69408
|
+
var args39, tool$evalsGrammar;
|
|
69793
69409
|
var init_evalsGrammar2 = __esm(() => {
|
|
69794
69410
|
init_evalsGrammar();
|
|
69795
69411
|
init_operations();
|
|
69796
69412
|
init_tools();
|
|
69797
|
-
|
|
69413
|
+
args39 = {
|
|
69798
69414
|
request: EvalsGrammarRequestBody$inboundSchema.optional()
|
|
69799
69415
|
};
|
|
69800
69416
|
tool$evalsGrammar = {
|
|
69801
69417
|
name: "evals-grammar",
|
|
69802
69418
|
description: `Run Grammar Evaluator`,
|
|
69803
|
-
args:
|
|
69804
|
-
tool: async (client,
|
|
69805
|
-
const [result, apiCall] = await evalsGrammar(client,
|
|
69419
|
+
args: args39,
|
|
69420
|
+
tool: async (client, args40, ctx) => {
|
|
69421
|
+
const [result, apiCall] = await evalsGrammar(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69806
69422
|
if (!result.ok) {
|
|
69807
69423
|
return {
|
|
69808
69424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69817,9 +69433,9 @@ var init_evalsGrammar2 = __esm(() => {
|
|
|
69817
69433
|
|
|
69818
69434
|
// src/funcs/evalsInvoke.ts
|
|
69819
69435
|
function evalsInvoke(client, request, options) {
|
|
69820
|
-
return new APIPromise($
|
|
69436
|
+
return new APIPromise($do40(client, request, options));
|
|
69821
69437
|
}
|
|
69822
|
-
async function $
|
|
69438
|
+
async function $do40(client, request, options) {
|
|
69823
69439
|
const parsed = safeParse(request, (value) => InvokeEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69824
69440
|
if (!parsed.ok) {
|
|
69825
69441
|
return [parsed, { status: "invalid" }];
|
|
@@ -69896,20 +69512,20 @@ var init_evalsInvoke = __esm(() => {
|
|
|
69896
69512
|
});
|
|
69897
69513
|
|
|
69898
69514
|
// src/mcp-server/tools/evalsInvoke.ts
|
|
69899
|
-
var
|
|
69515
|
+
var args40, tool$evalsInvoke;
|
|
69900
69516
|
var init_evalsInvoke2 = __esm(() => {
|
|
69901
69517
|
init_evalsInvoke();
|
|
69902
69518
|
init_operations();
|
|
69903
69519
|
init_tools();
|
|
69904
|
-
|
|
69520
|
+
args40 = {
|
|
69905
69521
|
request: InvokeEvalRequest$inboundSchema
|
|
69906
69522
|
};
|
|
69907
69523
|
tool$evalsInvoke = {
|
|
69908
69524
|
name: "evals-invoke",
|
|
69909
69525
|
description: `Invoke a Custom Evaluator`,
|
|
69910
|
-
args:
|
|
69911
|
-
tool: async (client,
|
|
69912
|
-
const [result, apiCall] = await evalsInvoke(client,
|
|
69526
|
+
args: args40,
|
|
69527
|
+
tool: async (client, args41, ctx) => {
|
|
69528
|
+
const [result, apiCall] = await evalsInvoke(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69913
69529
|
if (!result.ok) {
|
|
69914
69530
|
return {
|
|
69915
69531
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69924,9 +69540,9 @@ var init_evalsInvoke2 = __esm(() => {
|
|
|
69924
69540
|
|
|
69925
69541
|
// src/funcs/evalsLengthBetween.ts
|
|
69926
69542
|
function evalsLengthBetween(client, request, options) {
|
|
69927
|
-
return new APIPromise($
|
|
69543
|
+
return new APIPromise($do41(client, request, options));
|
|
69928
69544
|
}
|
|
69929
|
-
async function $
|
|
69545
|
+
async function $do41(client, request, options) {
|
|
69930
69546
|
const parsed = safeParse(request, (value) => EvalsLengthBetweenRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69931
69547
|
if (!parsed.ok) {
|
|
69932
69548
|
return [parsed, { status: "invalid" }];
|
|
@@ -69997,20 +69613,20 @@ var init_evalsLengthBetween = __esm(() => {
|
|
|
69997
69613
|
});
|
|
69998
69614
|
|
|
69999
69615
|
// src/mcp-server/tools/evalsLengthBetween.ts
|
|
70000
|
-
var
|
|
69616
|
+
var args41, tool$evalsLengthBetween;
|
|
70001
69617
|
var init_evalsLengthBetween2 = __esm(() => {
|
|
70002
69618
|
init_evalsLengthBetween();
|
|
70003
69619
|
init_operations();
|
|
70004
69620
|
init_tools();
|
|
70005
|
-
|
|
69621
|
+
args41 = {
|
|
70006
69622
|
request: EvalsLengthBetweenRequestBody$inboundSchema.optional()
|
|
70007
69623
|
};
|
|
70008
69624
|
tool$evalsLengthBetween = {
|
|
70009
69625
|
name: "evals-length-between",
|
|
70010
69626
|
description: `Run Length Between Evaluator`,
|
|
70011
|
-
args:
|
|
70012
|
-
tool: async (client,
|
|
70013
|
-
const [result, apiCall] = await evalsLengthBetween(client,
|
|
69627
|
+
args: args41,
|
|
69628
|
+
tool: async (client, args42, ctx) => {
|
|
69629
|
+
const [result, apiCall] = await evalsLengthBetween(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70014
69630
|
if (!result.ok) {
|
|
70015
69631
|
return {
|
|
70016
69632
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70025,9 +69641,9 @@ var init_evalsLengthBetween2 = __esm(() => {
|
|
|
70025
69641
|
|
|
70026
69642
|
// src/funcs/evalsLengthGreaterThan.ts
|
|
70027
69643
|
function evalsLengthGreaterThan(client, request, options) {
|
|
70028
|
-
return new APIPromise($
|
|
69644
|
+
return new APIPromise($do42(client, request, options));
|
|
70029
69645
|
}
|
|
70030
|
-
async function $
|
|
69646
|
+
async function $do42(client, request, options) {
|
|
70031
69647
|
const parsed = safeParse(request, (value) => EvalsLengthGreaterThanRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70032
69648
|
if (!parsed.ok) {
|
|
70033
69649
|
return [parsed, { status: "invalid" }];
|
|
@@ -70098,20 +69714,20 @@ var init_evalsLengthGreaterThan = __esm(() => {
|
|
|
70098
69714
|
});
|
|
70099
69715
|
|
|
70100
69716
|
// src/mcp-server/tools/evalsLengthGreaterThan.ts
|
|
70101
|
-
var
|
|
69717
|
+
var args42, tool$evalsLengthGreaterThan;
|
|
70102
69718
|
var init_evalsLengthGreaterThan2 = __esm(() => {
|
|
70103
69719
|
init_evalsLengthGreaterThan();
|
|
70104
69720
|
init_operations();
|
|
70105
69721
|
init_tools();
|
|
70106
|
-
|
|
69722
|
+
args42 = {
|
|
70107
69723
|
request: EvalsLengthGreaterThanRequestBody$inboundSchema.optional()
|
|
70108
69724
|
};
|
|
70109
69725
|
tool$evalsLengthGreaterThan = {
|
|
70110
69726
|
name: "evals-length-greater-than",
|
|
70111
69727
|
description: `Run Length Greater Than Evaluator`,
|
|
70112
|
-
args:
|
|
70113
|
-
tool: async (client,
|
|
70114
|
-
const [result, apiCall] = await evalsLengthGreaterThan(client,
|
|
69728
|
+
args: args42,
|
|
69729
|
+
tool: async (client, args43, ctx) => {
|
|
69730
|
+
const [result, apiCall] = await evalsLengthGreaterThan(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70115
69731
|
if (!result.ok) {
|
|
70116
69732
|
return {
|
|
70117
69733
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70126,9 +69742,9 @@ var init_evalsLengthGreaterThan2 = __esm(() => {
|
|
|
70126
69742
|
|
|
70127
69743
|
// src/funcs/evalsLengthLessThan.ts
|
|
70128
69744
|
function evalsLengthLessThan(client, request, options) {
|
|
70129
|
-
return new APIPromise($
|
|
69745
|
+
return new APIPromise($do43(client, request, options));
|
|
70130
69746
|
}
|
|
70131
|
-
async function $
|
|
69747
|
+
async function $do43(client, request, options) {
|
|
70132
69748
|
const parsed = safeParse(request, (value) => EvalsLengthLessThanRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70133
69749
|
if (!parsed.ok) {
|
|
70134
69750
|
return [parsed, { status: "invalid" }];
|
|
@@ -70199,20 +69815,20 @@ var init_evalsLengthLessThan = __esm(() => {
|
|
|
70199
69815
|
});
|
|
70200
69816
|
|
|
70201
69817
|
// src/mcp-server/tools/evalsLengthLessThan.ts
|
|
70202
|
-
var
|
|
69818
|
+
var args43, tool$evalsLengthLessThan;
|
|
70203
69819
|
var init_evalsLengthLessThan2 = __esm(() => {
|
|
70204
69820
|
init_evalsLengthLessThan();
|
|
70205
69821
|
init_operations();
|
|
70206
69822
|
init_tools();
|
|
70207
|
-
|
|
69823
|
+
args43 = {
|
|
70208
69824
|
request: EvalsLengthLessThanRequestBody$inboundSchema.optional()
|
|
70209
69825
|
};
|
|
70210
69826
|
tool$evalsLengthLessThan = {
|
|
70211
69827
|
name: "evals-length-less-than",
|
|
70212
69828
|
description: `Run Length Less Than Evaluator`,
|
|
70213
|
-
args:
|
|
70214
|
-
tool: async (client,
|
|
70215
|
-
const [result, apiCall] = await evalsLengthLessThan(client,
|
|
69829
|
+
args: args43,
|
|
69830
|
+
tool: async (client, args44, ctx) => {
|
|
69831
|
+
const [result, apiCall] = await evalsLengthLessThan(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70216
69832
|
if (!result.ok) {
|
|
70217
69833
|
return {
|
|
70218
69834
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70227,9 +69843,9 @@ var init_evalsLengthLessThan2 = __esm(() => {
|
|
|
70227
69843
|
|
|
70228
69844
|
// src/funcs/evalsLocalization.ts
|
|
70229
69845
|
function evalsLocalization(client, request, options) {
|
|
70230
|
-
return new APIPromise($
|
|
69846
|
+
return new APIPromise($do44(client, request, options));
|
|
70231
69847
|
}
|
|
70232
|
-
async function $
|
|
69848
|
+
async function $do44(client, request, options) {
|
|
70233
69849
|
const parsed = safeParse(request, (value) => EvalsLocalizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70234
69850
|
if (!parsed.ok) {
|
|
70235
69851
|
return [parsed, { status: "invalid" }];
|
|
@@ -70300,20 +69916,20 @@ var init_evalsLocalization = __esm(() => {
|
|
|
70300
69916
|
});
|
|
70301
69917
|
|
|
70302
69918
|
// src/mcp-server/tools/evalsLocalization.ts
|
|
70303
|
-
var
|
|
69919
|
+
var args44, tool$evalsLocalization;
|
|
70304
69920
|
var init_evalsLocalization2 = __esm(() => {
|
|
70305
69921
|
init_evalsLocalization();
|
|
70306
69922
|
init_operations();
|
|
70307
69923
|
init_tools();
|
|
70308
|
-
|
|
69924
|
+
args44 = {
|
|
70309
69925
|
request: EvalsLocalizationRequestBody$inboundSchema.optional()
|
|
70310
69926
|
};
|
|
70311
69927
|
tool$evalsLocalization = {
|
|
70312
69928
|
name: "evals-localization",
|
|
70313
69929
|
description: `Run Localization Evaluator`,
|
|
70314
|
-
args:
|
|
70315
|
-
tool: async (client,
|
|
70316
|
-
const [result, apiCall] = await evalsLocalization(client,
|
|
69930
|
+
args: args44,
|
|
69931
|
+
tool: async (client, args45, ctx) => {
|
|
69932
|
+
const [result, apiCall] = await evalsLocalization(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70317
69933
|
if (!result.ok) {
|
|
70318
69934
|
return {
|
|
70319
69935
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70328,9 +69944,9 @@ var init_evalsLocalization2 = __esm(() => {
|
|
|
70328
69944
|
|
|
70329
69945
|
// src/funcs/evalsPii.ts
|
|
70330
69946
|
function evalsPii(client, request, options) {
|
|
70331
|
-
return new APIPromise($
|
|
69947
|
+
return new APIPromise($do45(client, request, options));
|
|
70332
69948
|
}
|
|
70333
|
-
async function $
|
|
69949
|
+
async function $do45(client, request, options) {
|
|
70334
69950
|
const parsed = safeParse(request, (value) => EvalsPiiRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70335
69951
|
if (!parsed.ok) {
|
|
70336
69952
|
return [parsed, { status: "invalid" }];
|
|
@@ -70401,20 +70017,20 @@ var init_evalsPii = __esm(() => {
|
|
|
70401
70017
|
});
|
|
70402
70018
|
|
|
70403
70019
|
// src/mcp-server/tools/evalsPii.ts
|
|
70404
|
-
var
|
|
70020
|
+
var args45, tool$evalsPii;
|
|
70405
70021
|
var init_evalsPii2 = __esm(() => {
|
|
70406
70022
|
init_evalsPii();
|
|
70407
70023
|
init_operations();
|
|
70408
70024
|
init_tools();
|
|
70409
|
-
|
|
70025
|
+
args45 = {
|
|
70410
70026
|
request: EvalsPiiRequestBody$inboundSchema.optional()
|
|
70411
70027
|
};
|
|
70412
70028
|
tool$evalsPii = {
|
|
70413
70029
|
name: "evals-pii",
|
|
70414
70030
|
description: `Run PII Evaluator`,
|
|
70415
|
-
args:
|
|
70416
|
-
tool: async (client,
|
|
70417
|
-
const [result, apiCall] = await evalsPii(client,
|
|
70031
|
+
args: args45,
|
|
70032
|
+
tool: async (client, args46, ctx) => {
|
|
70033
|
+
const [result, apiCall] = await evalsPii(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70418
70034
|
if (!result.ok) {
|
|
70419
70035
|
return {
|
|
70420
70036
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70429,9 +70045,9 @@ var init_evalsPii2 = __esm(() => {
|
|
|
70429
70045
|
|
|
70430
70046
|
// src/funcs/evalsRagasCoherence.ts
|
|
70431
70047
|
function evalsRagasCoherence(client, request, options) {
|
|
70432
|
-
return new APIPromise($
|
|
70048
|
+
return new APIPromise($do46(client, request, options));
|
|
70433
70049
|
}
|
|
70434
|
-
async function $
|
|
70050
|
+
async function $do46(client, request, options) {
|
|
70435
70051
|
const parsed = safeParse(request, (value) => EvalsRagasCoherenceRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70436
70052
|
if (!parsed.ok) {
|
|
70437
70053
|
return [parsed, { status: "invalid" }];
|
|
@@ -70502,20 +70118,20 @@ var init_evalsRagasCoherence = __esm(() => {
|
|
|
70502
70118
|
});
|
|
70503
70119
|
|
|
70504
70120
|
// src/mcp-server/tools/evalsRagasCoherence.ts
|
|
70505
|
-
var
|
|
70121
|
+
var args46, tool$evalsRagasCoherence;
|
|
70506
70122
|
var init_evalsRagasCoherence2 = __esm(() => {
|
|
70507
70123
|
init_evalsRagasCoherence();
|
|
70508
70124
|
init_operations();
|
|
70509
70125
|
init_tools();
|
|
70510
|
-
|
|
70126
|
+
args46 = {
|
|
70511
70127
|
request: EvalsRagasCoherenceRequestBody$inboundSchema.optional()
|
|
70512
70128
|
};
|
|
70513
70129
|
tool$evalsRagasCoherence = {
|
|
70514
70130
|
name: "evals-ragas-coherence",
|
|
70515
70131
|
description: `Run Coherence Evaluator`,
|
|
70516
|
-
args:
|
|
70517
|
-
tool: async (client,
|
|
70518
|
-
const [result, apiCall] = await evalsRagasCoherence(client,
|
|
70132
|
+
args: args46,
|
|
70133
|
+
tool: async (client, args47, ctx) => {
|
|
70134
|
+
const [result, apiCall] = await evalsRagasCoherence(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70519
70135
|
if (!result.ok) {
|
|
70520
70136
|
return {
|
|
70521
70137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70530,9 +70146,9 @@ var init_evalsRagasCoherence2 = __esm(() => {
|
|
|
70530
70146
|
|
|
70531
70147
|
// src/funcs/evalsRagasConciseness.ts
|
|
70532
70148
|
function evalsRagasConciseness(client, request, options) {
|
|
70533
|
-
return new APIPromise($
|
|
70149
|
+
return new APIPromise($do47(client, request, options));
|
|
70534
70150
|
}
|
|
70535
|
-
async function $
|
|
70151
|
+
async function $do47(client, request, options) {
|
|
70536
70152
|
const parsed = safeParse(request, (value) => EvalsRagasConcisenessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70537
70153
|
if (!parsed.ok) {
|
|
70538
70154
|
return [parsed, { status: "invalid" }];
|
|
@@ -70603,20 +70219,20 @@ var init_evalsRagasConciseness = __esm(() => {
|
|
|
70603
70219
|
});
|
|
70604
70220
|
|
|
70605
70221
|
// src/mcp-server/tools/evalsRagasConciseness.ts
|
|
70606
|
-
var
|
|
70222
|
+
var args47, tool$evalsRagasConciseness;
|
|
70607
70223
|
var init_evalsRagasConciseness2 = __esm(() => {
|
|
70608
70224
|
init_evalsRagasConciseness();
|
|
70609
70225
|
init_operations();
|
|
70610
70226
|
init_tools();
|
|
70611
|
-
|
|
70227
|
+
args47 = {
|
|
70612
70228
|
request: EvalsRagasConcisenessRequestBody$inboundSchema.optional()
|
|
70613
70229
|
};
|
|
70614
70230
|
tool$evalsRagasConciseness = {
|
|
70615
70231
|
name: "evals-ragas-conciseness",
|
|
70616
70232
|
description: `Run Conciseness Evaluator`,
|
|
70617
|
-
args:
|
|
70618
|
-
tool: async (client,
|
|
70619
|
-
const [result, apiCall] = await evalsRagasConciseness(client,
|
|
70233
|
+
args: args47,
|
|
70234
|
+
tool: async (client, args48, ctx) => {
|
|
70235
|
+
const [result, apiCall] = await evalsRagasConciseness(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70620
70236
|
if (!result.ok) {
|
|
70621
70237
|
return {
|
|
70622
70238
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70631,9 +70247,9 @@ var init_evalsRagasConciseness2 = __esm(() => {
|
|
|
70631
70247
|
|
|
70632
70248
|
// src/funcs/evalsRagasContextPrecision.ts
|
|
70633
70249
|
function evalsRagasContextPrecision(client, request, options) {
|
|
70634
|
-
return new APIPromise($
|
|
70250
|
+
return new APIPromise($do48(client, request, options));
|
|
70635
70251
|
}
|
|
70636
|
-
async function $
|
|
70252
|
+
async function $do48(client, request, options) {
|
|
70637
70253
|
const parsed = safeParse(request, (value) => EvalsRagasContextPrecisionRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70638
70254
|
if (!parsed.ok) {
|
|
70639
70255
|
return [parsed, { status: "invalid" }];
|
|
@@ -70704,20 +70320,20 @@ var init_evalsRagasContextPrecision = __esm(() => {
|
|
|
70704
70320
|
});
|
|
70705
70321
|
|
|
70706
70322
|
// src/mcp-server/tools/evalsRagasContextPrecision.ts
|
|
70707
|
-
var
|
|
70323
|
+
var args48, tool$evalsRagasContextPrecision;
|
|
70708
70324
|
var init_evalsRagasContextPrecision2 = __esm(() => {
|
|
70709
70325
|
init_evalsRagasContextPrecision();
|
|
70710
70326
|
init_operations();
|
|
70711
70327
|
init_tools();
|
|
70712
|
-
|
|
70328
|
+
args48 = {
|
|
70713
70329
|
request: EvalsRagasContextPrecisionRequestBody$inboundSchema.optional()
|
|
70714
70330
|
};
|
|
70715
70331
|
tool$evalsRagasContextPrecision = {
|
|
70716
70332
|
name: "evals-ragas-context-precision",
|
|
70717
70333
|
description: `Run Context Precision Evaluator`,
|
|
70718
|
-
args:
|
|
70719
|
-
tool: async (client,
|
|
70720
|
-
const [result, apiCall] = await evalsRagasContextPrecision(client,
|
|
70334
|
+
args: args48,
|
|
70335
|
+
tool: async (client, args49, ctx) => {
|
|
70336
|
+
const [result, apiCall] = await evalsRagasContextPrecision(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70721
70337
|
if (!result.ok) {
|
|
70722
70338
|
return {
|
|
70723
70339
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70732,9 +70348,9 @@ var init_evalsRagasContextPrecision2 = __esm(() => {
|
|
|
70732
70348
|
|
|
70733
70349
|
// src/funcs/evalsRagasCorrectness.ts
|
|
70734
70350
|
function evalsRagasCorrectness(client, request, options) {
|
|
70735
|
-
return new APIPromise($
|
|
70351
|
+
return new APIPromise($do49(client, request, options));
|
|
70736
70352
|
}
|
|
70737
|
-
async function $
|
|
70353
|
+
async function $do49(client, request, options) {
|
|
70738
70354
|
const parsed = safeParse(request, (value) => EvalsRagasCorrectnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70739
70355
|
if (!parsed.ok) {
|
|
70740
70356
|
return [parsed, { status: "invalid" }];
|
|
@@ -70805,20 +70421,20 @@ var init_evalsRagasCorrectness = __esm(() => {
|
|
|
70805
70421
|
});
|
|
70806
70422
|
|
|
70807
70423
|
// src/mcp-server/tools/evalsRagasCorrectness.ts
|
|
70808
|
-
var
|
|
70424
|
+
var args49, tool$evalsRagasCorrectness;
|
|
70809
70425
|
var init_evalsRagasCorrectness2 = __esm(() => {
|
|
70810
70426
|
init_evalsRagasCorrectness();
|
|
70811
70427
|
init_operations();
|
|
70812
70428
|
init_tools();
|
|
70813
|
-
|
|
70429
|
+
args49 = {
|
|
70814
70430
|
request: EvalsRagasCorrectnessRequestBody$inboundSchema.optional()
|
|
70815
70431
|
};
|
|
70816
70432
|
tool$evalsRagasCorrectness = {
|
|
70817
70433
|
name: "evals-ragas-correctness",
|
|
70818
70434
|
description: `Run Correctness Evaluator`,
|
|
70819
|
-
args:
|
|
70820
|
-
tool: async (client,
|
|
70821
|
-
const [result, apiCall] = await evalsRagasCorrectness(client,
|
|
70435
|
+
args: args49,
|
|
70436
|
+
tool: async (client, args50, ctx) => {
|
|
70437
|
+
const [result, apiCall] = await evalsRagasCorrectness(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70822
70438
|
if (!result.ok) {
|
|
70823
70439
|
return {
|
|
70824
70440
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70833,9 +70449,9 @@ var init_evalsRagasCorrectness2 = __esm(() => {
|
|
|
70833
70449
|
|
|
70834
70450
|
// src/funcs/evalsRagasFaithfulness.ts
|
|
70835
70451
|
function evalsRagasFaithfulness(client, request, options) {
|
|
70836
|
-
return new APIPromise($
|
|
70452
|
+
return new APIPromise($do50(client, request, options));
|
|
70837
70453
|
}
|
|
70838
|
-
async function $
|
|
70454
|
+
async function $do50(client, request, options) {
|
|
70839
70455
|
const parsed = safeParse(request, (value) => EvalsRagasFaithfulnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70840
70456
|
if (!parsed.ok) {
|
|
70841
70457
|
return [parsed, { status: "invalid" }];
|
|
@@ -70906,20 +70522,20 @@ var init_evalsRagasFaithfulness = __esm(() => {
|
|
|
70906
70522
|
});
|
|
70907
70523
|
|
|
70908
70524
|
// src/mcp-server/tools/evalsRagasFaithfulness.ts
|
|
70909
|
-
var
|
|
70525
|
+
var args50, tool$evalsRagasFaithfulness;
|
|
70910
70526
|
var init_evalsRagasFaithfulness2 = __esm(() => {
|
|
70911
70527
|
init_evalsRagasFaithfulness();
|
|
70912
70528
|
init_operations();
|
|
70913
70529
|
init_tools();
|
|
70914
|
-
|
|
70530
|
+
args50 = {
|
|
70915
70531
|
request: EvalsRagasFaithfulnessRequestBody$inboundSchema.optional()
|
|
70916
70532
|
};
|
|
70917
70533
|
tool$evalsRagasFaithfulness = {
|
|
70918
70534
|
name: "evals-ragas-faithfulness",
|
|
70919
70535
|
description: `Run Faithfulness Evaluator`,
|
|
70920
|
-
args:
|
|
70921
|
-
tool: async (client,
|
|
70922
|
-
const [result, apiCall] = await evalsRagasFaithfulness(client,
|
|
70536
|
+
args: args50,
|
|
70537
|
+
tool: async (client, args51, ctx) => {
|
|
70538
|
+
const [result, apiCall] = await evalsRagasFaithfulness(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70923
70539
|
if (!result.ok) {
|
|
70924
70540
|
return {
|
|
70925
70541
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70934,9 +70550,9 @@ var init_evalsRagasFaithfulness2 = __esm(() => {
|
|
|
70934
70550
|
|
|
70935
70551
|
// src/funcs/evalsRagasHarmfulness.ts
|
|
70936
70552
|
function evalsRagasHarmfulness(client, request, options) {
|
|
70937
|
-
return new APIPromise($
|
|
70553
|
+
return new APIPromise($do51(client, request, options));
|
|
70938
70554
|
}
|
|
70939
|
-
async function $
|
|
70555
|
+
async function $do51(client, request, options) {
|
|
70940
70556
|
const parsed = safeParse(request, (value) => EvalsRagasHarmfulnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70941
70557
|
if (!parsed.ok) {
|
|
70942
70558
|
return [parsed, { status: "invalid" }];
|
|
@@ -71007,20 +70623,20 @@ var init_evalsRagasHarmfulness = __esm(() => {
|
|
|
71007
70623
|
});
|
|
71008
70624
|
|
|
71009
70625
|
// src/mcp-server/tools/evalsRagasHarmfulness.ts
|
|
71010
|
-
var
|
|
70626
|
+
var args51, tool$evalsRagasHarmfulness;
|
|
71011
70627
|
var init_evalsRagasHarmfulness2 = __esm(() => {
|
|
71012
70628
|
init_evalsRagasHarmfulness();
|
|
71013
70629
|
init_operations();
|
|
71014
70630
|
init_tools();
|
|
71015
|
-
|
|
70631
|
+
args51 = {
|
|
71016
70632
|
request: EvalsRagasHarmfulnessRequestBody$inboundSchema.optional()
|
|
71017
70633
|
};
|
|
71018
70634
|
tool$evalsRagasHarmfulness = {
|
|
71019
70635
|
name: "evals-ragas-harmfulness",
|
|
71020
70636
|
description: `Run Harmfulness Evaluator`,
|
|
71021
|
-
args:
|
|
71022
|
-
tool: async (client,
|
|
71023
|
-
const [result, apiCall] = await evalsRagasHarmfulness(client,
|
|
70637
|
+
args: args51,
|
|
70638
|
+
tool: async (client, args52, ctx) => {
|
|
70639
|
+
const [result, apiCall] = await evalsRagasHarmfulness(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71024
70640
|
if (!result.ok) {
|
|
71025
70641
|
return {
|
|
71026
70642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71035,9 +70651,9 @@ var init_evalsRagasHarmfulness2 = __esm(() => {
|
|
|
71035
70651
|
|
|
71036
70652
|
// src/funcs/evalsRagasMaliciousness.ts
|
|
71037
70653
|
function evalsRagasMaliciousness(client, request, options) {
|
|
71038
|
-
return new APIPromise($
|
|
70654
|
+
return new APIPromise($do52(client, request, options));
|
|
71039
70655
|
}
|
|
71040
|
-
async function $
|
|
70656
|
+
async function $do52(client, request, options) {
|
|
71041
70657
|
const parsed = safeParse(request, (value) => EvalsRagasMaliciousnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71042
70658
|
if (!parsed.ok) {
|
|
71043
70659
|
return [parsed, { status: "invalid" }];
|
|
@@ -71108,20 +70724,20 @@ var init_evalsRagasMaliciousness = __esm(() => {
|
|
|
71108
70724
|
});
|
|
71109
70725
|
|
|
71110
70726
|
// src/mcp-server/tools/evalsRagasMaliciousness.ts
|
|
71111
|
-
var
|
|
70727
|
+
var args52, tool$evalsRagasMaliciousness;
|
|
71112
70728
|
var init_evalsRagasMaliciousness2 = __esm(() => {
|
|
71113
70729
|
init_evalsRagasMaliciousness();
|
|
71114
70730
|
init_operations();
|
|
71115
70731
|
init_tools();
|
|
71116
|
-
|
|
70732
|
+
args52 = {
|
|
71117
70733
|
request: EvalsRagasMaliciousnessRequestBody$inboundSchema.optional()
|
|
71118
70734
|
};
|
|
71119
70735
|
tool$evalsRagasMaliciousness = {
|
|
71120
70736
|
name: "evals-ragas-maliciousness",
|
|
71121
70737
|
description: `Run Maliciousness Evaluator`,
|
|
71122
|
-
args:
|
|
71123
|
-
tool: async (client,
|
|
71124
|
-
const [result, apiCall] = await evalsRagasMaliciousness(client,
|
|
70738
|
+
args: args52,
|
|
70739
|
+
tool: async (client, args53, ctx) => {
|
|
70740
|
+
const [result, apiCall] = await evalsRagasMaliciousness(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71125
70741
|
if (!result.ok) {
|
|
71126
70742
|
return {
|
|
71127
70743
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71136,9 +70752,9 @@ var init_evalsRagasMaliciousness2 = __esm(() => {
|
|
|
71136
70752
|
|
|
71137
70753
|
// src/funcs/evalsRagasResponseRelevancy.ts
|
|
71138
70754
|
function evalsRagasResponseRelevancy(client, request, options) {
|
|
71139
|
-
return new APIPromise($
|
|
70755
|
+
return new APIPromise($do53(client, request, options));
|
|
71140
70756
|
}
|
|
71141
|
-
async function $
|
|
70757
|
+
async function $do53(client, request, options) {
|
|
71142
70758
|
const parsed = safeParse(request, (value) => EvalsRagasResponseRelevancyRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71143
70759
|
if (!parsed.ok) {
|
|
71144
70760
|
return [parsed, { status: "invalid" }];
|
|
@@ -71209,20 +70825,20 @@ var init_evalsRagasResponseRelevancy = __esm(() => {
|
|
|
71209
70825
|
});
|
|
71210
70826
|
|
|
71211
70827
|
// src/mcp-server/tools/evalsRagasResponseRelevancy.ts
|
|
71212
|
-
var
|
|
70828
|
+
var args53, tool$evalsRagasResponseRelevancy;
|
|
71213
70829
|
var init_evalsRagasResponseRelevancy2 = __esm(() => {
|
|
71214
70830
|
init_evalsRagasResponseRelevancy();
|
|
71215
70831
|
init_operations();
|
|
71216
70832
|
init_tools();
|
|
71217
|
-
|
|
70833
|
+
args53 = {
|
|
71218
70834
|
request: EvalsRagasResponseRelevancyRequestBody$inboundSchema.optional()
|
|
71219
70835
|
};
|
|
71220
70836
|
tool$evalsRagasResponseRelevancy = {
|
|
71221
70837
|
name: "evals-ragas-response-relevancy",
|
|
71222
70838
|
description: `Run Response Relevancy Evaluator`,
|
|
71223
|
-
args:
|
|
71224
|
-
tool: async (client,
|
|
71225
|
-
const [result, apiCall] = await evalsRagasResponseRelevancy(client,
|
|
70839
|
+
args: args53,
|
|
70840
|
+
tool: async (client, args54, ctx) => {
|
|
70841
|
+
const [result, apiCall] = await evalsRagasResponseRelevancy(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71226
70842
|
if (!result.ok) {
|
|
71227
70843
|
return {
|
|
71228
70844
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71237,9 +70853,9 @@ var init_evalsRagasResponseRelevancy2 = __esm(() => {
|
|
|
71237
70853
|
|
|
71238
70854
|
// src/funcs/evalsRagasSummarization.ts
|
|
71239
70855
|
function evalsRagasSummarization(client, request, options) {
|
|
71240
|
-
return new APIPromise($
|
|
70856
|
+
return new APIPromise($do54(client, request, options));
|
|
71241
70857
|
}
|
|
71242
|
-
async function $
|
|
70858
|
+
async function $do54(client, request, options) {
|
|
71243
70859
|
const parsed = safeParse(request, (value) => EvalsRagasSummarizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71244
70860
|
if (!parsed.ok) {
|
|
71245
70861
|
return [parsed, { status: "invalid" }];
|
|
@@ -71310,20 +70926,20 @@ var init_evalsRagasSummarization = __esm(() => {
|
|
|
71310
70926
|
});
|
|
71311
70927
|
|
|
71312
70928
|
// src/mcp-server/tools/evalsRagasSummarization.ts
|
|
71313
|
-
var
|
|
70929
|
+
var args54, tool$evalsRagasSummarization;
|
|
71314
70930
|
var init_evalsRagasSummarization2 = __esm(() => {
|
|
71315
70931
|
init_evalsRagasSummarization();
|
|
71316
70932
|
init_operations();
|
|
71317
70933
|
init_tools();
|
|
71318
|
-
|
|
70934
|
+
args54 = {
|
|
71319
70935
|
request: EvalsRagasSummarizationRequestBody$inboundSchema.optional()
|
|
71320
70936
|
};
|
|
71321
70937
|
tool$evalsRagasSummarization = {
|
|
71322
70938
|
name: "evals-ragas-summarization",
|
|
71323
70939
|
description: `Run Summarization Evaluator`,
|
|
71324
|
-
args:
|
|
71325
|
-
tool: async (client,
|
|
71326
|
-
const [result, apiCall] = await evalsRagasSummarization(client,
|
|
70940
|
+
args: args54,
|
|
70941
|
+
tool: async (client, args55, ctx) => {
|
|
70942
|
+
const [result, apiCall] = await evalsRagasSummarization(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71327
70943
|
if (!result.ok) {
|
|
71328
70944
|
return {
|
|
71329
70945
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71338,9 +70954,9 @@ var init_evalsRagasSummarization2 = __esm(() => {
|
|
|
71338
70954
|
|
|
71339
70955
|
// src/funcs/evalsSentimentClassification.ts
|
|
71340
70956
|
function evalsSentimentClassification(client, request, options) {
|
|
71341
|
-
return new APIPromise($
|
|
70957
|
+
return new APIPromise($do55(client, request, options));
|
|
71342
70958
|
}
|
|
71343
|
-
async function $
|
|
70959
|
+
async function $do55(client, request, options) {
|
|
71344
70960
|
const parsed = safeParse(request, (value) => EvalsSentimentClassificationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71345
70961
|
if (!parsed.ok) {
|
|
71346
70962
|
return [parsed, { status: "invalid" }];
|
|
@@ -71411,20 +71027,20 @@ var init_evalsSentimentClassification = __esm(() => {
|
|
|
71411
71027
|
});
|
|
71412
71028
|
|
|
71413
71029
|
// src/mcp-server/tools/evalsSentimentClassification.ts
|
|
71414
|
-
var
|
|
71030
|
+
var args55, tool$evalsSentimentClassification;
|
|
71415
71031
|
var init_evalsSentimentClassification2 = __esm(() => {
|
|
71416
71032
|
init_evalsSentimentClassification();
|
|
71417
71033
|
init_operations();
|
|
71418
71034
|
init_tools();
|
|
71419
|
-
|
|
71035
|
+
args55 = {
|
|
71420
71036
|
request: EvalsSentimentClassificationRequestBody$inboundSchema.optional()
|
|
71421
71037
|
};
|
|
71422
71038
|
tool$evalsSentimentClassification = {
|
|
71423
71039
|
name: "evals-sentiment-classification",
|
|
71424
71040
|
description: `Run Sentiment Classification Evaluator`,
|
|
71425
|
-
args:
|
|
71426
|
-
tool: async (client,
|
|
71427
|
-
const [result, apiCall] = await evalsSentimentClassification(client,
|
|
71041
|
+
args: args55,
|
|
71042
|
+
tool: async (client, args56, ctx) => {
|
|
71043
|
+
const [result, apiCall] = await evalsSentimentClassification(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71428
71044
|
if (!result.ok) {
|
|
71429
71045
|
return {
|
|
71430
71046
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71439,9 +71055,9 @@ var init_evalsSentimentClassification2 = __esm(() => {
|
|
|
71439
71055
|
|
|
71440
71056
|
// src/funcs/evalsSummarization.ts
|
|
71441
71057
|
function evalsSummarization(client, request, options) {
|
|
71442
|
-
return new APIPromise($
|
|
71058
|
+
return new APIPromise($do56(client, request, options));
|
|
71443
71059
|
}
|
|
71444
|
-
async function $
|
|
71060
|
+
async function $do56(client, request, options) {
|
|
71445
71061
|
const parsed = safeParse(request, (value) => EvalsSummarizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71446
71062
|
if (!parsed.ok) {
|
|
71447
71063
|
return [parsed, { status: "invalid" }];
|
|
@@ -71512,20 +71128,20 @@ var init_evalsSummarization = __esm(() => {
|
|
|
71512
71128
|
});
|
|
71513
71129
|
|
|
71514
71130
|
// src/mcp-server/tools/evalsSummarization.ts
|
|
71515
|
-
var
|
|
71131
|
+
var args56, tool$evalsSummarization;
|
|
71516
71132
|
var init_evalsSummarization2 = __esm(() => {
|
|
71517
71133
|
init_evalsSummarization();
|
|
71518
71134
|
init_operations();
|
|
71519
71135
|
init_tools();
|
|
71520
|
-
|
|
71136
|
+
args56 = {
|
|
71521
71137
|
request: EvalsSummarizationRequestBody$inboundSchema.optional()
|
|
71522
71138
|
};
|
|
71523
71139
|
tool$evalsSummarization = {
|
|
71524
71140
|
name: "evals-summarization",
|
|
71525
71141
|
description: `Run Summarization Evaluator`,
|
|
71526
|
-
args:
|
|
71527
|
-
tool: async (client,
|
|
71528
|
-
const [result, apiCall] = await evalsSummarization(client,
|
|
71142
|
+
args: args56,
|
|
71143
|
+
tool: async (client, args57, ctx) => {
|
|
71144
|
+
const [result, apiCall] = await evalsSummarization(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71529
71145
|
if (!result.ok) {
|
|
71530
71146
|
return {
|
|
71531
71147
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71540,9 +71156,9 @@ var init_evalsSummarization2 = __esm(() => {
|
|
|
71540
71156
|
|
|
71541
71157
|
// src/funcs/evalsToneOfVoice.ts
|
|
71542
71158
|
function evalsToneOfVoice(client, request, options) {
|
|
71543
|
-
return new APIPromise($
|
|
71159
|
+
return new APIPromise($do57(client, request, options));
|
|
71544
71160
|
}
|
|
71545
|
-
async function $
|
|
71161
|
+
async function $do57(client, request, options) {
|
|
71546
71162
|
const parsed = safeParse(request, (value) => EvalsToneOfVoiceRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71547
71163
|
if (!parsed.ok) {
|
|
71548
71164
|
return [parsed, { status: "invalid" }];
|
|
@@ -71613,20 +71229,20 @@ var init_evalsToneOfVoice = __esm(() => {
|
|
|
71613
71229
|
});
|
|
71614
71230
|
|
|
71615
71231
|
// src/mcp-server/tools/evalsToneOfVoice.ts
|
|
71616
|
-
var
|
|
71232
|
+
var args57, tool$evalsToneOfVoice;
|
|
71617
71233
|
var init_evalsToneOfVoice2 = __esm(() => {
|
|
71618
71234
|
init_evalsToneOfVoice();
|
|
71619
71235
|
init_operations();
|
|
71620
71236
|
init_tools();
|
|
71621
|
-
|
|
71237
|
+
args57 = {
|
|
71622
71238
|
request: EvalsToneOfVoiceRequestBody$inboundSchema.optional()
|
|
71623
71239
|
};
|
|
71624
71240
|
tool$evalsToneOfVoice = {
|
|
71625
71241
|
name: "evals-tone-of-voice",
|
|
71626
71242
|
description: `Run Tone of Voice Evaluator`,
|
|
71627
|
-
args:
|
|
71628
|
-
tool: async (client,
|
|
71629
|
-
const [result, apiCall] = await evalsToneOfVoice(client,
|
|
71243
|
+
args: args57,
|
|
71244
|
+
tool: async (client, args58, ctx) => {
|
|
71245
|
+
const [result, apiCall] = await evalsToneOfVoice(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71630
71246
|
if (!result.ok) {
|
|
71631
71247
|
return {
|
|
71632
71248
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71641,9 +71257,9 @@ var init_evalsToneOfVoice2 = __esm(() => {
|
|
|
71641
71257
|
|
|
71642
71258
|
// src/funcs/evalsTranslation.ts
|
|
71643
71259
|
function evalsTranslation(client, request, options) {
|
|
71644
|
-
return new APIPromise($
|
|
71260
|
+
return new APIPromise($do58(client, request, options));
|
|
71645
71261
|
}
|
|
71646
|
-
async function $
|
|
71262
|
+
async function $do58(client, request, options) {
|
|
71647
71263
|
const parsed = safeParse(request, (value) => EvalsTranslationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71648
71264
|
if (!parsed.ok) {
|
|
71649
71265
|
return [parsed, { status: "invalid" }];
|
|
@@ -71714,20 +71330,20 @@ var init_evalsTranslation = __esm(() => {
|
|
|
71714
71330
|
});
|
|
71715
71331
|
|
|
71716
71332
|
// src/mcp-server/tools/evalsTranslation.ts
|
|
71717
|
-
var
|
|
71333
|
+
var args58, tool$evalsTranslation;
|
|
71718
71334
|
var init_evalsTranslation2 = __esm(() => {
|
|
71719
71335
|
init_evalsTranslation();
|
|
71720
71336
|
init_operations();
|
|
71721
71337
|
init_tools();
|
|
71722
|
-
|
|
71338
|
+
args58 = {
|
|
71723
71339
|
request: EvalsTranslationRequestBody$inboundSchema.optional()
|
|
71724
71340
|
};
|
|
71725
71341
|
tool$evalsTranslation = {
|
|
71726
71342
|
name: "evals-translation",
|
|
71727
71343
|
description: `Run Translation Evaluator`,
|
|
71728
|
-
args:
|
|
71729
|
-
tool: async (client,
|
|
71730
|
-
const [result, apiCall] = await evalsTranslation(client,
|
|
71344
|
+
args: args58,
|
|
71345
|
+
tool: async (client, args59, ctx) => {
|
|
71346
|
+
const [result, apiCall] = await evalsTranslation(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71731
71347
|
if (!result.ok) {
|
|
71732
71348
|
return {
|
|
71733
71349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71742,9 +71358,9 @@ var init_evalsTranslation2 = __esm(() => {
|
|
|
71742
71358
|
|
|
71743
71359
|
// src/funcs/evalsUpdate.ts
|
|
71744
71360
|
function evalsUpdate(client, request, options) {
|
|
71745
|
-
return new APIPromise($
|
|
71361
|
+
return new APIPromise($do59(client, request, options));
|
|
71746
71362
|
}
|
|
71747
|
-
async function $
|
|
71363
|
+
async function $do59(client, request, options) {
|
|
71748
71364
|
const parsed = safeParse(request, (value) => UpdateEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71749
71365
|
if (!parsed.ok) {
|
|
71750
71366
|
return [parsed, { status: "invalid" }];
|
|
@@ -71821,20 +71437,20 @@ var init_evalsUpdate = __esm(() => {
|
|
|
71821
71437
|
});
|
|
71822
71438
|
|
|
71823
71439
|
// src/mcp-server/tools/evalsUpdate.ts
|
|
71824
|
-
var
|
|
71440
|
+
var args59, tool$evalsUpdate;
|
|
71825
71441
|
var init_evalsUpdate2 = __esm(() => {
|
|
71826
71442
|
init_evalsUpdate();
|
|
71827
71443
|
init_operations();
|
|
71828
71444
|
init_tools();
|
|
71829
|
-
|
|
71445
|
+
args59 = {
|
|
71830
71446
|
request: UpdateEvalRequest$inboundSchema
|
|
71831
71447
|
};
|
|
71832
71448
|
tool$evalsUpdate = {
|
|
71833
71449
|
name: "evals-update",
|
|
71834
71450
|
description: `Update an Evaluator`,
|
|
71835
|
-
args:
|
|
71836
|
-
tool: async (client,
|
|
71837
|
-
const [result, apiCall] = await evalsUpdate(client,
|
|
71451
|
+
args: args59,
|
|
71452
|
+
tool: async (client, args60, ctx) => {
|
|
71453
|
+
const [result, apiCall] = await evalsUpdate(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71838
71454
|
if (!result.ok) {
|
|
71839
71455
|
return {
|
|
71840
71456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71849,9 +71465,9 @@ var init_evalsUpdate2 = __esm(() => {
|
|
|
71849
71465
|
|
|
71850
71466
|
// src/funcs/evalsValidJson.ts
|
|
71851
71467
|
function evalsValidJson(client, request, options) {
|
|
71852
|
-
return new APIPromise($
|
|
71468
|
+
return new APIPromise($do60(client, request, options));
|
|
71853
71469
|
}
|
|
71854
|
-
async function $
|
|
71470
|
+
async function $do60(client, request, options) {
|
|
71855
71471
|
const parsed = safeParse(request, (value) => EvalsValidJsonRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71856
71472
|
if (!parsed.ok) {
|
|
71857
71473
|
return [parsed, { status: "invalid" }];
|
|
@@ -71922,20 +71538,20 @@ var init_evalsValidJson = __esm(() => {
|
|
|
71922
71538
|
});
|
|
71923
71539
|
|
|
71924
71540
|
// src/mcp-server/tools/evalsValidJson.ts
|
|
71925
|
-
var
|
|
71541
|
+
var args60, tool$evalsValidJson;
|
|
71926
71542
|
var init_evalsValidJson2 = __esm(() => {
|
|
71927
71543
|
init_evalsValidJson();
|
|
71928
71544
|
init_operations();
|
|
71929
71545
|
init_tools();
|
|
71930
|
-
|
|
71546
|
+
args60 = {
|
|
71931
71547
|
request: EvalsValidJsonRequestBody$inboundSchema.optional()
|
|
71932
71548
|
};
|
|
71933
71549
|
tool$evalsValidJson = {
|
|
71934
71550
|
name: "evals-valid-json",
|
|
71935
71551
|
description: `Run JSON Validation Evaluator`,
|
|
71936
|
-
args:
|
|
71937
|
-
tool: async (client,
|
|
71938
|
-
const [result, apiCall] = await evalsValidJson(client,
|
|
71552
|
+
args: args60,
|
|
71553
|
+
tool: async (client, args61, ctx) => {
|
|
71554
|
+
const [result, apiCall] = await evalsValidJson(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71939
71555
|
if (!result.ok) {
|
|
71940
71556
|
return {
|
|
71941
71557
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71950,9 +71566,9 @@ var init_evalsValidJson2 = __esm(() => {
|
|
|
71950
71566
|
|
|
71951
71567
|
// src/funcs/feedbackCreate.ts
|
|
71952
71568
|
function feedbackCreate(client, request, options) {
|
|
71953
|
-
return new APIPromise($
|
|
71569
|
+
return new APIPromise($do61(client, request, options));
|
|
71954
71570
|
}
|
|
71955
|
-
async function $
|
|
71571
|
+
async function $do61(client, request, options) {
|
|
71956
71572
|
const parsed = safeParse(request, (value) => CreateFeedbackRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
71957
71573
|
if (!parsed.ok) {
|
|
71958
71574
|
return [parsed, { status: "invalid" }];
|
|
@@ -72019,12 +71635,12 @@ var init_feedbackCreate = __esm(() => {
|
|
|
72019
71635
|
});
|
|
72020
71636
|
|
|
72021
71637
|
// src/mcp-server/tools/feedbackCreate.ts
|
|
72022
|
-
var
|
|
71638
|
+
var args61, tool$feedbackCreate;
|
|
72023
71639
|
var init_feedbackCreate2 = __esm(() => {
|
|
72024
71640
|
init_feedbackCreate();
|
|
72025
71641
|
init_operations();
|
|
72026
71642
|
init_tools();
|
|
72027
|
-
|
|
71643
|
+
args61 = {
|
|
72028
71644
|
request: CreateFeedbackRequestBody$inboundSchema
|
|
72029
71645
|
};
|
|
72030
71646
|
tool$feedbackCreate = {
|
|
@@ -72032,9 +71648,9 @@ var init_feedbackCreate2 = __esm(() => {
|
|
|
72032
71648
|
description: `Submit feedback
|
|
72033
71649
|
|
|
72034
71650
|
Submit feedback for the LLM transaction via the API`,
|
|
72035
|
-
args:
|
|
72036
|
-
tool: async (client,
|
|
72037
|
-
const [result, apiCall] = await feedbackCreate(client,
|
|
71651
|
+
args: args61,
|
|
71652
|
+
tool: async (client, args62, ctx) => {
|
|
71653
|
+
const [result, apiCall] = await feedbackCreate(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72038
71654
|
if (!result.ok) {
|
|
72039
71655
|
return {
|
|
72040
71656
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72118,9 +71734,9 @@ function isReadableStream(val) {
|
|
|
72118
71734
|
|
|
72119
71735
|
// src/funcs/filesCreate.ts
|
|
72120
71736
|
function filesCreate(client, request, options) {
|
|
72121
|
-
return new APIPromise($
|
|
71737
|
+
return new APIPromise($do62(client, request, options));
|
|
72122
71738
|
}
|
|
72123
|
-
async function $
|
|
71739
|
+
async function $do62(client, request, options) {
|
|
72124
71740
|
const parsed = safeParse(request, (value) => FileUploadRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
72125
71741
|
if (!parsed.ok) {
|
|
72126
71742
|
return [parsed, { status: "invalid" }];
|
|
@@ -72201,12 +71817,12 @@ var init_filesCreate = __esm(() => {
|
|
|
72201
71817
|
});
|
|
72202
71818
|
|
|
72203
71819
|
// src/mcp-server/tools/filesCreate.ts
|
|
72204
|
-
var
|
|
71820
|
+
var args62, tool$filesCreate;
|
|
72205
71821
|
var init_filesCreate2 = __esm(() => {
|
|
72206
71822
|
init_filesCreate();
|
|
72207
71823
|
init_operations();
|
|
72208
71824
|
init_tools();
|
|
72209
|
-
|
|
71825
|
+
args62 = {
|
|
72210
71826
|
request: FileUploadRequestBody$inboundSchema
|
|
72211
71827
|
};
|
|
72212
71828
|
tool$filesCreate = {
|
|
@@ -72214,9 +71830,9 @@ var init_filesCreate2 = __esm(() => {
|
|
|
72214
71830
|
description: `Create file
|
|
72215
71831
|
|
|
72216
71832
|
Files are used to upload documents that can be used with features like [Deployments](https://docs.orq.ai/reference/deploymentinvoke-1).`,
|
|
72217
|
-
args:
|
|
72218
|
-
tool: async (client,
|
|
72219
|
-
const [result, apiCall] = await filesCreate(client,
|
|
71833
|
+
args: args62,
|
|
71834
|
+
tool: async (client, args63, ctx) => {
|
|
71835
|
+
const [result, apiCall] = await filesCreate(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72220
71836
|
if (!result.ok) {
|
|
72221
71837
|
return {
|
|
72222
71838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72231,9 +71847,9 @@ Files are used to upload documents that can be used with features like [Deployme
|
|
|
72231
71847
|
|
|
72232
71848
|
// src/funcs/filesDelete.ts
|
|
72233
71849
|
function filesDelete(client, request, options) {
|
|
72234
|
-
return new APIPromise($
|
|
71850
|
+
return new APIPromise($do63(client, request, options));
|
|
72235
71851
|
}
|
|
72236
|
-
async function $
|
|
71852
|
+
async function $do63(client, request, options) {
|
|
72237
71853
|
const parsed = safeParse(request, (value) => FileDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72238
71854
|
if (!parsed.ok) {
|
|
72239
71855
|
return [parsed, { status: "invalid" }];
|
|
@@ -72306,20 +71922,20 @@ var init_filesDelete = __esm(() => {
|
|
|
72306
71922
|
});
|
|
72307
71923
|
|
|
72308
71924
|
// src/mcp-server/tools/filesDelete.ts
|
|
72309
|
-
var
|
|
71925
|
+
var args63, tool$filesDelete;
|
|
72310
71926
|
var init_filesDelete2 = __esm(() => {
|
|
72311
71927
|
init_filesDelete();
|
|
72312
71928
|
init_operations();
|
|
72313
71929
|
init_tools();
|
|
72314
|
-
|
|
71930
|
+
args63 = {
|
|
72315
71931
|
request: FileDeleteRequest$inboundSchema
|
|
72316
71932
|
};
|
|
72317
71933
|
tool$filesDelete = {
|
|
72318
71934
|
name: "files-delete",
|
|
72319
71935
|
description: `Delete file`,
|
|
72320
|
-
args:
|
|
72321
|
-
tool: async (client,
|
|
72322
|
-
const [result, apiCall] = await filesDelete(client,
|
|
71936
|
+
args: args63,
|
|
71937
|
+
tool: async (client, args64, ctx) => {
|
|
71938
|
+
const [result, apiCall] = await filesDelete(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72323
71939
|
if (!result.ok) {
|
|
72324
71940
|
return {
|
|
72325
71941
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72333,9 +71949,9 @@ var init_filesDelete2 = __esm(() => {
|
|
|
72333
71949
|
|
|
72334
71950
|
// src/funcs/filesGet.ts
|
|
72335
71951
|
function filesGet(client, request, options) {
|
|
72336
|
-
return new APIPromise($
|
|
71952
|
+
return new APIPromise($do64(client, request, options));
|
|
72337
71953
|
}
|
|
72338
|
-
async function $
|
|
71954
|
+
async function $do64(client, request, options) {
|
|
72339
71955
|
const parsed = safeParse(request, (value) => FileGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72340
71956
|
if (!parsed.ok) {
|
|
72341
71957
|
return [parsed, { status: "invalid" }];
|
|
@@ -72407,12 +72023,12 @@ var init_filesGet = __esm(() => {
|
|
|
72407
72023
|
});
|
|
72408
72024
|
|
|
72409
72025
|
// src/mcp-server/tools/filesGet.ts
|
|
72410
|
-
var
|
|
72026
|
+
var args64, tool$filesGet;
|
|
72411
72027
|
var init_filesGet2 = __esm(() => {
|
|
72412
72028
|
init_filesGet();
|
|
72413
72029
|
init_operations();
|
|
72414
72030
|
init_tools();
|
|
72415
|
-
|
|
72031
|
+
args64 = {
|
|
72416
72032
|
request: FileGetRequest$inboundSchema
|
|
72417
72033
|
};
|
|
72418
72034
|
tool$filesGet = {
|
|
@@ -72420,9 +72036,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
72420
72036
|
description: `Retrieve a file
|
|
72421
72037
|
|
|
72422
72038
|
Retrieves the details of an existing file object. After you supply a unique file ID, orq.ai returns the corresponding file object`,
|
|
72423
|
-
args:
|
|
72424
|
-
tool: async (client,
|
|
72425
|
-
const [result, apiCall] = await filesGet(client,
|
|
72039
|
+
args: args64,
|
|
72040
|
+
tool: async (client, args65, ctx) => {
|
|
72041
|
+
const [result, apiCall] = await filesGet(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72426
72042
|
if (!result.ok) {
|
|
72427
72043
|
return {
|
|
72428
72044
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72437,9 +72053,9 @@ Retrieves the details of an existing file object. After you supply a unique file
|
|
|
72437
72053
|
|
|
72438
72054
|
// src/funcs/filesList.ts
|
|
72439
72055
|
function filesList(client, request, options) {
|
|
72440
|
-
return new APIPromise($
|
|
72056
|
+
return new APIPromise($do65(client, request, options));
|
|
72441
72057
|
}
|
|
72442
|
-
async function $
|
|
72058
|
+
async function $do65(client, request, options) {
|
|
72443
72059
|
const parsed = safeParse(request, (value) => FileListRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72444
72060
|
if (!parsed.ok) {
|
|
72445
72061
|
return [parsed, { status: "invalid" }];
|
|
@@ -72511,12 +72127,12 @@ var init_filesList = __esm(() => {
|
|
|
72511
72127
|
});
|
|
72512
72128
|
|
|
72513
72129
|
// src/mcp-server/tools/filesList.ts
|
|
72514
|
-
var
|
|
72130
|
+
var args65, tool$filesList;
|
|
72515
72131
|
var init_filesList2 = __esm(() => {
|
|
72516
72132
|
init_filesList();
|
|
72517
72133
|
init_operations();
|
|
72518
72134
|
init_tools();
|
|
72519
|
-
|
|
72135
|
+
args65 = {
|
|
72520
72136
|
request: FileListRequest$inboundSchema.optional()
|
|
72521
72137
|
};
|
|
72522
72138
|
tool$filesList = {
|
|
@@ -72524,9 +72140,9 @@ var init_filesList2 = __esm(() => {
|
|
|
72524
72140
|
description: `List all files
|
|
72525
72141
|
|
|
72526
72142
|
Returns a list of the files that your account has access to. orq.ai sorts and returns the files by their creation dates, placing the most recently created files at the top.`,
|
|
72527
|
-
args:
|
|
72528
|
-
tool: async (client,
|
|
72529
|
-
const [result, apiCall] = await filesList(client,
|
|
72143
|
+
args: args65,
|
|
72144
|
+
tool: async (client, args66, ctx) => {
|
|
72145
|
+
const [result, apiCall] = await filesList(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72530
72146
|
if (!result.ok) {
|
|
72531
72147
|
return {
|
|
72532
72148
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72541,9 +72157,9 @@ Returns a list of the files that your account has access to. orq.ai sorts and re
|
|
|
72541
72157
|
|
|
72542
72158
|
// src/funcs/knowledgeCreate.ts
|
|
72543
72159
|
function knowledgeCreate(client, request, options) {
|
|
72544
|
-
return new APIPromise($
|
|
72160
|
+
return new APIPromise($do66(client, request, options));
|
|
72545
72161
|
}
|
|
72546
|
-
async function $
|
|
72162
|
+
async function $do66(client, request, options) {
|
|
72547
72163
|
const parsed = safeParse(request, (value) => CreateKnowledgeRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
72548
72164
|
if (!parsed.ok) {
|
|
72549
72165
|
return [parsed, { status: "invalid" }];
|
|
@@ -72610,20 +72226,20 @@ var init_knowledgeCreate = __esm(() => {
|
|
|
72610
72226
|
});
|
|
72611
72227
|
|
|
72612
72228
|
// src/mcp-server/tools/knowledgeCreate.ts
|
|
72613
|
-
var
|
|
72229
|
+
var args66, tool$knowledgeCreate;
|
|
72614
72230
|
var init_knowledgeCreate2 = __esm(() => {
|
|
72615
72231
|
init_knowledgeCreate();
|
|
72616
72232
|
init_operations();
|
|
72617
72233
|
init_tools();
|
|
72618
|
-
|
|
72234
|
+
args66 = {
|
|
72619
72235
|
request: CreateKnowledgeRequestBody$inboundSchema
|
|
72620
72236
|
};
|
|
72621
72237
|
tool$knowledgeCreate = {
|
|
72622
72238
|
name: "knowledge-create",
|
|
72623
72239
|
description: `Create a knowledge`,
|
|
72624
|
-
args:
|
|
72625
|
-
tool: async (client,
|
|
72626
|
-
const [result, apiCall] = await knowledgeCreate(client,
|
|
72240
|
+
args: args66,
|
|
72241
|
+
tool: async (client, args67, ctx) => {
|
|
72242
|
+
const [result, apiCall] = await knowledgeCreate(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72627
72243
|
if (!result.ok) {
|
|
72628
72244
|
return {
|
|
72629
72245
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72638,9 +72254,9 @@ var init_knowledgeCreate2 = __esm(() => {
|
|
|
72638
72254
|
|
|
72639
72255
|
// src/funcs/knowledgeCreateChunks.ts
|
|
72640
72256
|
function knowledgeCreateChunks(client, request, options) {
|
|
72641
|
-
return new APIPromise($
|
|
72257
|
+
return new APIPromise($do67(client, request, options));
|
|
72642
72258
|
}
|
|
72643
|
-
async function $
|
|
72259
|
+
async function $do67(client, request, options) {
|
|
72644
72260
|
const parsed = safeParse(request, (value) => CreateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72645
72261
|
if (!parsed.ok) {
|
|
72646
72262
|
return [parsed, { status: "invalid" }];
|
|
@@ -72718,20 +72334,20 @@ var init_knowledgeCreateChunks = __esm(() => {
|
|
|
72718
72334
|
});
|
|
72719
72335
|
|
|
72720
72336
|
// src/mcp-server/tools/knowledgeCreateChunks.ts
|
|
72721
|
-
var
|
|
72337
|
+
var args67, tool$knowledgeCreateChunks;
|
|
72722
72338
|
var init_knowledgeCreateChunks2 = __esm(() => {
|
|
72723
72339
|
init_knowledgeCreateChunks();
|
|
72724
72340
|
init_operations();
|
|
72725
72341
|
init_tools();
|
|
72726
|
-
|
|
72342
|
+
args67 = {
|
|
72727
72343
|
request: CreateChunkRequest$inboundSchema
|
|
72728
72344
|
};
|
|
72729
72345
|
tool$knowledgeCreateChunks = {
|
|
72730
72346
|
name: "knowledge-create-chunks",
|
|
72731
72347
|
description: `Create chunks for a datasource`,
|
|
72732
|
-
args:
|
|
72733
|
-
tool: async (client,
|
|
72734
|
-
const [result, apiCall] = await knowledgeCreateChunks(client,
|
|
72348
|
+
args: args67,
|
|
72349
|
+
tool: async (client, args68, ctx) => {
|
|
72350
|
+
const [result, apiCall] = await knowledgeCreateChunks(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72735
72351
|
if (!result.ok) {
|
|
72736
72352
|
return {
|
|
72737
72353
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72746,9 +72362,9 @@ var init_knowledgeCreateChunks2 = __esm(() => {
|
|
|
72746
72362
|
|
|
72747
72363
|
// src/funcs/knowledgeCreateDatasource.ts
|
|
72748
72364
|
function knowledgeCreateDatasource(client, request, options) {
|
|
72749
|
-
return new APIPromise($
|
|
72365
|
+
return new APIPromise($do68(client, request, options));
|
|
72750
72366
|
}
|
|
72751
|
-
async function $
|
|
72367
|
+
async function $do68(client, request, options) {
|
|
72752
72368
|
const parsed = safeParse(request, (value) => CreateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72753
72369
|
if (!parsed.ok) {
|
|
72754
72370
|
return [parsed, { status: "invalid" }];
|
|
@@ -72821,20 +72437,20 @@ var init_knowledgeCreateDatasource = __esm(() => {
|
|
|
72821
72437
|
});
|
|
72822
72438
|
|
|
72823
72439
|
// src/mcp-server/tools/knowledgeCreateDatasource.ts
|
|
72824
|
-
var
|
|
72440
|
+
var args68, tool$knowledgeCreateDatasource;
|
|
72825
72441
|
var init_knowledgeCreateDatasource2 = __esm(() => {
|
|
72826
72442
|
init_knowledgeCreateDatasource();
|
|
72827
72443
|
init_operations();
|
|
72828
72444
|
init_tools();
|
|
72829
|
-
|
|
72445
|
+
args68 = {
|
|
72830
72446
|
request: CreateDatasourceRequest$inboundSchema
|
|
72831
72447
|
};
|
|
72832
72448
|
tool$knowledgeCreateDatasource = {
|
|
72833
72449
|
name: "knowledge-create-datasource",
|
|
72834
72450
|
description: `Create a new datasource`,
|
|
72835
|
-
args:
|
|
72836
|
-
tool: async (client,
|
|
72837
|
-
const [result, apiCall] = await knowledgeCreateDatasource(client,
|
|
72451
|
+
args: args68,
|
|
72452
|
+
tool: async (client, args69, ctx) => {
|
|
72453
|
+
const [result, apiCall] = await knowledgeCreateDatasource(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72838
72454
|
if (!result.ok) {
|
|
72839
72455
|
return {
|
|
72840
72456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72849,9 +72465,9 @@ var init_knowledgeCreateDatasource2 = __esm(() => {
|
|
|
72849
72465
|
|
|
72850
72466
|
// src/funcs/knowledgeDelete.ts
|
|
72851
72467
|
function knowledgeDelete(client, request, options) {
|
|
72852
|
-
return new APIPromise($
|
|
72468
|
+
return new APIPromise($do69(client, request, options));
|
|
72853
72469
|
}
|
|
72854
|
-
async function $
|
|
72470
|
+
async function $do69(client, request, options) {
|
|
72855
72471
|
const parsed = safeParse(request, (value) => DeleteKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72856
72472
|
if (!parsed.ok) {
|
|
72857
72473
|
return [parsed, { status: "invalid" }];
|
|
@@ -72924,12 +72540,12 @@ var init_knowledgeDelete = __esm(() => {
|
|
|
72924
72540
|
});
|
|
72925
72541
|
|
|
72926
72542
|
// src/mcp-server/tools/knowledgeDelete.ts
|
|
72927
|
-
var
|
|
72543
|
+
var args69, tool$knowledgeDelete;
|
|
72928
72544
|
var init_knowledgeDelete2 = __esm(() => {
|
|
72929
72545
|
init_knowledgeDelete();
|
|
72930
72546
|
init_operations();
|
|
72931
72547
|
init_tools();
|
|
72932
|
-
|
|
72548
|
+
args69 = {
|
|
72933
72549
|
request: DeleteKnowledgeRequest$inboundSchema
|
|
72934
72550
|
};
|
|
72935
72551
|
tool$knowledgeDelete = {
|
|
@@ -72937,9 +72553,9 @@ var init_knowledgeDelete2 = __esm(() => {
|
|
|
72937
72553
|
description: `Deletes a knowledge
|
|
72938
72554
|
|
|
72939
72555
|
Deletes a knowledge base. Deleting a knowledge base will delete all the datasources and chunks associated with it.`,
|
|
72940
|
-
args:
|
|
72941
|
-
tool: async (client,
|
|
72942
|
-
const [result, apiCall] = await knowledgeDelete(client,
|
|
72556
|
+
args: args69,
|
|
72557
|
+
tool: async (client, args70, ctx) => {
|
|
72558
|
+
const [result, apiCall] = await knowledgeDelete(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72943
72559
|
if (!result.ok) {
|
|
72944
72560
|
return {
|
|
72945
72561
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72953,9 +72569,9 @@ Deletes a knowledge base. Deleting a knowledge base will delete all the datasour
|
|
|
72953
72569
|
|
|
72954
72570
|
// src/funcs/knowledgeDeleteChunk.ts
|
|
72955
72571
|
function knowledgeDeleteChunk(client, request, options) {
|
|
72956
|
-
return new APIPromise($
|
|
72572
|
+
return new APIPromise($do70(client, request, options));
|
|
72957
72573
|
}
|
|
72958
|
-
async function $
|
|
72574
|
+
async function $do70(client, request, options) {
|
|
72959
72575
|
const parsed = safeParse(request, (value) => DeleteChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72960
72576
|
if (!parsed.ok) {
|
|
72961
72577
|
return [parsed, { status: "invalid" }];
|
|
@@ -73036,20 +72652,20 @@ var init_knowledgeDeleteChunk = __esm(() => {
|
|
|
73036
72652
|
});
|
|
73037
72653
|
|
|
73038
72654
|
// src/mcp-server/tools/knowledgeDeleteChunk.ts
|
|
73039
|
-
var
|
|
72655
|
+
var args70, tool$knowledgeDeleteChunk;
|
|
73040
72656
|
var init_knowledgeDeleteChunk2 = __esm(() => {
|
|
73041
72657
|
init_knowledgeDeleteChunk();
|
|
73042
72658
|
init_operations();
|
|
73043
72659
|
init_tools();
|
|
73044
|
-
|
|
72660
|
+
args70 = {
|
|
73045
72661
|
request: DeleteChunkRequest$inboundSchema
|
|
73046
72662
|
};
|
|
73047
72663
|
tool$knowledgeDeleteChunk = {
|
|
73048
72664
|
name: "knowledge-delete-chunk",
|
|
73049
72665
|
description: `Delete a chunk`,
|
|
73050
|
-
args:
|
|
73051
|
-
tool: async (client,
|
|
73052
|
-
const [result, apiCall] = await knowledgeDeleteChunk(client,
|
|
72666
|
+
args: args70,
|
|
72667
|
+
tool: async (client, args71, ctx) => {
|
|
72668
|
+
const [result, apiCall] = await knowledgeDeleteChunk(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73053
72669
|
if (!result.ok) {
|
|
73054
72670
|
return {
|
|
73055
72671
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73063,9 +72679,9 @@ var init_knowledgeDeleteChunk2 = __esm(() => {
|
|
|
73063
72679
|
|
|
73064
72680
|
// src/funcs/knowledgeDeleteDatasource.ts
|
|
73065
72681
|
function knowledgeDeleteDatasource(client, request, options) {
|
|
73066
|
-
return new APIPromise($
|
|
72682
|
+
return new APIPromise($do71(client, request, options));
|
|
73067
72683
|
}
|
|
73068
|
-
async function $
|
|
72684
|
+
async function $do71(client, request, options) {
|
|
73069
72685
|
const parsed = safeParse(request, (value) => DeleteDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73070
72686
|
if (!parsed.ok) {
|
|
73071
72687
|
return [parsed, { status: "invalid" }];
|
|
@@ -73142,12 +72758,12 @@ var init_knowledgeDeleteDatasource = __esm(() => {
|
|
|
73142
72758
|
});
|
|
73143
72759
|
|
|
73144
72760
|
// src/mcp-server/tools/knowledgeDeleteDatasource.ts
|
|
73145
|
-
var
|
|
72761
|
+
var args71, tool$knowledgeDeleteDatasource;
|
|
73146
72762
|
var init_knowledgeDeleteDatasource2 = __esm(() => {
|
|
73147
72763
|
init_knowledgeDeleteDatasource();
|
|
73148
72764
|
init_operations();
|
|
73149
72765
|
init_tools();
|
|
73150
|
-
|
|
72766
|
+
args71 = {
|
|
73151
72767
|
request: DeleteDatasourceRequest$inboundSchema
|
|
73152
72768
|
};
|
|
73153
72769
|
tool$knowledgeDeleteDatasource = {
|
|
@@ -73155,9 +72771,9 @@ var init_knowledgeDeleteDatasource2 = __esm(() => {
|
|
|
73155
72771
|
description: `Deletes a datasource
|
|
73156
72772
|
|
|
73157
72773
|
Deletes a datasource from a knowledge base. Deleting a datasource will remove it from the knowledge base and all associated chunks. This action is irreversible and cannot be undone.`,
|
|
73158
|
-
args:
|
|
73159
|
-
tool: async (client,
|
|
73160
|
-
const [result, apiCall] = await knowledgeDeleteDatasource(client,
|
|
72774
|
+
args: args71,
|
|
72775
|
+
tool: async (client, args72, ctx) => {
|
|
72776
|
+
const [result, apiCall] = await knowledgeDeleteDatasource(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73161
72777
|
if (!result.ok) {
|
|
73162
72778
|
return {
|
|
73163
72779
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73171,9 +72787,9 @@ Deletes a datasource from a knowledge base. Deleting a datasource will remove it
|
|
|
73171
72787
|
|
|
73172
72788
|
// src/funcs/knowledgeList.ts
|
|
73173
72789
|
function knowledgeList(client, request, options) {
|
|
73174
|
-
return new APIPromise($
|
|
72790
|
+
return new APIPromise($do72(client, request, options));
|
|
73175
72791
|
}
|
|
73176
|
-
async function $
|
|
72792
|
+
async function $do72(client, request, options) {
|
|
73177
72793
|
const parsed = safeParse(request, (value) => ListKnowledgeBasesRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
73178
72794
|
if (!parsed.ok) {
|
|
73179
72795
|
return [parsed, { status: "invalid" }];
|
|
@@ -73245,12 +72861,12 @@ var init_knowledgeList = __esm(() => {
|
|
|
73245
72861
|
});
|
|
73246
72862
|
|
|
73247
72863
|
// src/mcp-server/tools/knowledgeList.ts
|
|
73248
|
-
var
|
|
72864
|
+
var args72, tool$knowledgeList;
|
|
73249
72865
|
var init_knowledgeList2 = __esm(() => {
|
|
73250
72866
|
init_knowledgeList();
|
|
73251
72867
|
init_operations();
|
|
73252
72868
|
init_tools();
|
|
73253
|
-
|
|
72869
|
+
args72 = {
|
|
73254
72870
|
request: ListKnowledgeBasesRequest$inboundSchema.optional()
|
|
73255
72871
|
};
|
|
73256
72872
|
tool$knowledgeList = {
|
|
@@ -73258,9 +72874,9 @@ var init_knowledgeList2 = __esm(() => {
|
|
|
73258
72874
|
description: `List all knowledge bases
|
|
73259
72875
|
|
|
73260
72876
|
Returns a list of your knowledge bases. The knowledge bases are returned sorted by creation date, with the most recent knowledge bases appearing first`,
|
|
73261
|
-
args:
|
|
73262
|
-
tool: async (client,
|
|
73263
|
-
const [result, apiCall] = await knowledgeList(client,
|
|
72877
|
+
args: args72,
|
|
72878
|
+
tool: async (client, args73, ctx) => {
|
|
72879
|
+
const [result, apiCall] = await knowledgeList(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73264
72880
|
if (!result.ok) {
|
|
73265
72881
|
return {
|
|
73266
72882
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73275,9 +72891,9 @@ Returns a list of your knowledge bases. The knowledge bases are returned sorted
|
|
|
73275
72891
|
|
|
73276
72892
|
// src/funcs/knowledgeListChunks.ts
|
|
73277
72893
|
function knowledgeListChunks(client, request, options) {
|
|
73278
|
-
return new APIPromise($
|
|
72894
|
+
return new APIPromise($do73(client, request, options));
|
|
73279
72895
|
}
|
|
73280
|
-
async function $
|
|
72896
|
+
async function $do73(client, request, options) {
|
|
73281
72897
|
const parsed = safeParse(request, (value) => ListChunksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73282
72898
|
if (!parsed.ok) {
|
|
73283
72899
|
return [parsed, { status: "invalid" }];
|
|
@@ -73361,20 +72977,20 @@ var init_knowledgeListChunks = __esm(() => {
|
|
|
73361
72977
|
});
|
|
73362
72978
|
|
|
73363
72979
|
// src/mcp-server/tools/knowledgeListChunks.ts
|
|
73364
|
-
var
|
|
72980
|
+
var args73, tool$knowledgeListChunks;
|
|
73365
72981
|
var init_knowledgeListChunks2 = __esm(() => {
|
|
73366
72982
|
init_knowledgeListChunks();
|
|
73367
72983
|
init_operations();
|
|
73368
72984
|
init_tools();
|
|
73369
|
-
|
|
72985
|
+
args73 = {
|
|
73370
72986
|
request: ListChunksRequest$inboundSchema
|
|
73371
72987
|
};
|
|
73372
72988
|
tool$knowledgeListChunks = {
|
|
73373
72989
|
name: "knowledge-list-chunks",
|
|
73374
72990
|
description: `List all chunks for a datasource`,
|
|
73375
|
-
args:
|
|
73376
|
-
tool: async (client,
|
|
73377
|
-
const [result, apiCall] = await knowledgeListChunks(client,
|
|
72991
|
+
args: args73,
|
|
72992
|
+
tool: async (client, args74, ctx) => {
|
|
72993
|
+
const [result, apiCall] = await knowledgeListChunks(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73378
72994
|
if (!result.ok) {
|
|
73379
72995
|
return {
|
|
73380
72996
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73389,9 +73005,9 @@ var init_knowledgeListChunks2 = __esm(() => {
|
|
|
73389
73005
|
|
|
73390
73006
|
// src/funcs/knowledgeListDatasources.ts
|
|
73391
73007
|
function knowledgeListDatasources(client, request, options) {
|
|
73392
|
-
return new APIPromise($
|
|
73008
|
+
return new APIPromise($do74(client, request, options));
|
|
73393
73009
|
}
|
|
73394
|
-
async function $
|
|
73010
|
+
async function $do74(client, request, options) {
|
|
73395
73011
|
const parsed = safeParse(request, (value) => ListDatasourcesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73396
73012
|
if (!parsed.ok) {
|
|
73397
73013
|
return [parsed, { status: "invalid" }];
|
|
@@ -73471,20 +73087,20 @@ var init_knowledgeListDatasources = __esm(() => {
|
|
|
73471
73087
|
});
|
|
73472
73088
|
|
|
73473
73089
|
// src/mcp-server/tools/knowledgeListDatasources.ts
|
|
73474
|
-
var
|
|
73090
|
+
var args74, tool$knowledgeListDatasources;
|
|
73475
73091
|
var init_knowledgeListDatasources2 = __esm(() => {
|
|
73476
73092
|
init_knowledgeListDatasources();
|
|
73477
73093
|
init_operations();
|
|
73478
73094
|
init_tools();
|
|
73479
|
-
|
|
73095
|
+
args74 = {
|
|
73480
73096
|
request: ListDatasourcesRequest$inboundSchema
|
|
73481
73097
|
};
|
|
73482
73098
|
tool$knowledgeListDatasources = {
|
|
73483
73099
|
name: "knowledge-list-datasources",
|
|
73484
73100
|
description: `List all datasources`,
|
|
73485
|
-
args:
|
|
73486
|
-
tool: async (client,
|
|
73487
|
-
const [result, apiCall] = await knowledgeListDatasources(client,
|
|
73101
|
+
args: args74,
|
|
73102
|
+
tool: async (client, args75, ctx) => {
|
|
73103
|
+
const [result, apiCall] = await knowledgeListDatasources(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73488
73104
|
if (!result.ok) {
|
|
73489
73105
|
return {
|
|
73490
73106
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73499,9 +73115,9 @@ var init_knowledgeListDatasources2 = __esm(() => {
|
|
|
73499
73115
|
|
|
73500
73116
|
// src/funcs/knowledgeRetrieve.ts
|
|
73501
73117
|
function knowledgeRetrieve(client, request, options) {
|
|
73502
|
-
return new APIPromise($
|
|
73118
|
+
return new APIPromise($do75(client, request, options));
|
|
73503
73119
|
}
|
|
73504
|
-
async function $
|
|
73120
|
+
async function $do75(client, request, options) {
|
|
73505
73121
|
const parsed = safeParse(request, (value) => GetOneKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73506
73122
|
if (!parsed.ok) {
|
|
73507
73123
|
return [parsed, { status: "invalid" }];
|
|
@@ -73573,12 +73189,12 @@ var init_knowledgeRetrieve = __esm(() => {
|
|
|
73573
73189
|
});
|
|
73574
73190
|
|
|
73575
73191
|
// src/mcp-server/tools/knowledgeRetrieve.ts
|
|
73576
|
-
var
|
|
73192
|
+
var args75, tool$knowledgeRetrieve;
|
|
73577
73193
|
var init_knowledgeRetrieve2 = __esm(() => {
|
|
73578
73194
|
init_knowledgeRetrieve();
|
|
73579
73195
|
init_operations();
|
|
73580
73196
|
init_tools();
|
|
73581
|
-
|
|
73197
|
+
args75 = {
|
|
73582
73198
|
request: GetOneKnowledgeRequest$inboundSchema
|
|
73583
73199
|
};
|
|
73584
73200
|
tool$knowledgeRetrieve = {
|
|
@@ -73586,9 +73202,9 @@ var init_knowledgeRetrieve2 = __esm(() => {
|
|
|
73586
73202
|
description: `Retrieves a knowledge base
|
|
73587
73203
|
|
|
73588
73204
|
Retrieve a knowledge base with the settings.`,
|
|
73589
|
-
args:
|
|
73590
|
-
tool: async (client,
|
|
73591
|
-
const [result, apiCall] = await knowledgeRetrieve(client,
|
|
73205
|
+
args: args75,
|
|
73206
|
+
tool: async (client, args76, ctx) => {
|
|
73207
|
+
const [result, apiCall] = await knowledgeRetrieve(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73592
73208
|
if (!result.ok) {
|
|
73593
73209
|
return {
|
|
73594
73210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73603,9 +73219,9 @@ Retrieve a knowledge base with the settings.`,
|
|
|
73603
73219
|
|
|
73604
73220
|
// src/funcs/knowledgeRetrieveChunk.ts
|
|
73605
73221
|
function knowledgeRetrieveChunk(client, request, options) {
|
|
73606
|
-
return new APIPromise($
|
|
73222
|
+
return new APIPromise($do76(client, request, options));
|
|
73607
73223
|
}
|
|
73608
|
-
async function $
|
|
73224
|
+
async function $do76(client, request, options) {
|
|
73609
73225
|
const parsed = safeParse(request, (value) => GetOneChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73610
73226
|
if (!parsed.ok) {
|
|
73611
73227
|
return [parsed, { status: "invalid" }];
|
|
@@ -73685,20 +73301,20 @@ var init_knowledgeRetrieveChunk = __esm(() => {
|
|
|
73685
73301
|
});
|
|
73686
73302
|
|
|
73687
73303
|
// src/mcp-server/tools/knowledgeRetrieveChunk.ts
|
|
73688
|
-
var
|
|
73304
|
+
var args76, tool$knowledgeRetrieveChunk;
|
|
73689
73305
|
var init_knowledgeRetrieveChunk2 = __esm(() => {
|
|
73690
73306
|
init_knowledgeRetrieveChunk();
|
|
73691
73307
|
init_operations();
|
|
73692
73308
|
init_tools();
|
|
73693
|
-
|
|
73309
|
+
args76 = {
|
|
73694
73310
|
request: GetOneChunkRequest$inboundSchema
|
|
73695
73311
|
};
|
|
73696
73312
|
tool$knowledgeRetrieveChunk = {
|
|
73697
73313
|
name: "knowledge-retrieve-chunk",
|
|
73698
73314
|
description: `Retrieve a chunk`,
|
|
73699
|
-
args:
|
|
73700
|
-
tool: async (client,
|
|
73701
|
-
const [result, apiCall] = await knowledgeRetrieveChunk(client,
|
|
73315
|
+
args: args76,
|
|
73316
|
+
tool: async (client, args77, ctx) => {
|
|
73317
|
+
const [result, apiCall] = await knowledgeRetrieveChunk(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73702
73318
|
if (!result.ok) {
|
|
73703
73319
|
return {
|
|
73704
73320
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73713,9 +73329,9 @@ var init_knowledgeRetrieveChunk2 = __esm(() => {
|
|
|
73713
73329
|
|
|
73714
73330
|
// src/funcs/knowledgeRetrieveDatasource.ts
|
|
73715
73331
|
function knowledgeRetrieveDatasource(client, request, options) {
|
|
73716
|
-
return new APIPromise($
|
|
73332
|
+
return new APIPromise($do77(client, request, options));
|
|
73717
73333
|
}
|
|
73718
|
-
async function $
|
|
73334
|
+
async function $do77(client, request, options) {
|
|
73719
73335
|
const parsed = safeParse(request, (value) => RetrieveDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73720
73336
|
if (!parsed.ok) {
|
|
73721
73337
|
return [parsed, { status: "invalid" }];
|
|
@@ -73791,20 +73407,20 @@ var init_knowledgeRetrieveDatasource = __esm(() => {
|
|
|
73791
73407
|
});
|
|
73792
73408
|
|
|
73793
73409
|
// src/mcp-server/tools/knowledgeRetrieveDatasource.ts
|
|
73794
|
-
var
|
|
73410
|
+
var args77, tool$knowledgeRetrieveDatasource;
|
|
73795
73411
|
var init_knowledgeRetrieveDatasource2 = __esm(() => {
|
|
73796
73412
|
init_knowledgeRetrieveDatasource();
|
|
73797
73413
|
init_operations();
|
|
73798
73414
|
init_tools();
|
|
73799
|
-
|
|
73415
|
+
args77 = {
|
|
73800
73416
|
request: RetrieveDatasourceRequest$inboundSchema
|
|
73801
73417
|
};
|
|
73802
73418
|
tool$knowledgeRetrieveDatasource = {
|
|
73803
73419
|
name: "knowledge-retrieve-datasource",
|
|
73804
73420
|
description: `Retrieve a datasource`,
|
|
73805
|
-
args:
|
|
73806
|
-
tool: async (client,
|
|
73807
|
-
const [result, apiCall] = await knowledgeRetrieveDatasource(client,
|
|
73421
|
+
args: args77,
|
|
73422
|
+
tool: async (client, args78, ctx) => {
|
|
73423
|
+
const [result, apiCall] = await knowledgeRetrieveDatasource(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73808
73424
|
if (!result.ok) {
|
|
73809
73425
|
return {
|
|
73810
73426
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73819,9 +73435,9 @@ var init_knowledgeRetrieveDatasource2 = __esm(() => {
|
|
|
73819
73435
|
|
|
73820
73436
|
// src/funcs/knowledgeSearch.ts
|
|
73821
73437
|
function knowledgeSearch(client, request, options) {
|
|
73822
|
-
return new APIPromise($
|
|
73438
|
+
return new APIPromise($do78(client, request, options));
|
|
73823
73439
|
}
|
|
73824
|
-
async function $
|
|
73440
|
+
async function $do78(client, request, options) {
|
|
73825
73441
|
const parsed = safeParse(request, (value) => SearchKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73826
73442
|
if (!parsed.ok) {
|
|
73827
73443
|
return [parsed, { status: "invalid" }];
|
|
@@ -73894,12 +73510,12 @@ var init_knowledgeSearch = __esm(() => {
|
|
|
73894
73510
|
});
|
|
73895
73511
|
|
|
73896
73512
|
// src/mcp-server/tools/knowledgeSearch.ts
|
|
73897
|
-
var
|
|
73513
|
+
var args78, tool$knowledgeSearch;
|
|
73898
73514
|
var init_knowledgeSearch2 = __esm(() => {
|
|
73899
73515
|
init_knowledgeSearch();
|
|
73900
73516
|
init_operations();
|
|
73901
73517
|
init_tools();
|
|
73902
|
-
|
|
73518
|
+
args78 = {
|
|
73903
73519
|
request: SearchKnowledgeRequest$inboundSchema
|
|
73904
73520
|
};
|
|
73905
73521
|
tool$knowledgeSearch = {
|
|
@@ -73907,9 +73523,9 @@ var init_knowledgeSearch2 = __esm(() => {
|
|
|
73907
73523
|
description: `Search knowledge base
|
|
73908
73524
|
|
|
73909
73525
|
Search a Knowledge Base and return the most similar chunks, along with their search and rerank scores.`,
|
|
73910
|
-
args:
|
|
73911
|
-
tool: async (client,
|
|
73912
|
-
const [result, apiCall] = await knowledgeSearch(client,
|
|
73526
|
+
args: args78,
|
|
73527
|
+
tool: async (client, args79, ctx) => {
|
|
73528
|
+
const [result, apiCall] = await knowledgeSearch(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73913
73529
|
if (!result.ok) {
|
|
73914
73530
|
return {
|
|
73915
73531
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73924,9 +73540,9 @@ Search a Knowledge Base and return the most similar chunks, along with their sea
|
|
|
73924
73540
|
|
|
73925
73541
|
// src/funcs/knowledgeUpdate.ts
|
|
73926
73542
|
function knowledgeUpdate(client, request, options) {
|
|
73927
|
-
return new APIPromise($
|
|
73543
|
+
return new APIPromise($do79(client, request, options));
|
|
73928
73544
|
}
|
|
73929
|
-
async function $
|
|
73545
|
+
async function $do79(client, request, options) {
|
|
73930
73546
|
const parsed = safeParse(request, (value) => UpdateKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73931
73547
|
if (!parsed.ok) {
|
|
73932
73548
|
return [parsed, { status: "invalid" }];
|
|
@@ -73999,20 +73615,20 @@ var init_knowledgeUpdate = __esm(() => {
|
|
|
73999
73615
|
});
|
|
74000
73616
|
|
|
74001
73617
|
// src/mcp-server/tools/knowledgeUpdate.ts
|
|
74002
|
-
var
|
|
73618
|
+
var args79, tool$knowledgeUpdate;
|
|
74003
73619
|
var init_knowledgeUpdate2 = __esm(() => {
|
|
74004
73620
|
init_knowledgeUpdate();
|
|
74005
73621
|
init_operations();
|
|
74006
73622
|
init_tools();
|
|
74007
|
-
|
|
73623
|
+
args79 = {
|
|
74008
73624
|
request: UpdateKnowledgeRequest$inboundSchema
|
|
74009
73625
|
};
|
|
74010
73626
|
tool$knowledgeUpdate = {
|
|
74011
73627
|
name: "knowledge-update",
|
|
74012
73628
|
description: `Updates a knowledge`,
|
|
74013
|
-
args:
|
|
74014
|
-
tool: async (client,
|
|
74015
|
-
const [result, apiCall] = await knowledgeUpdate(client,
|
|
73629
|
+
args: args79,
|
|
73630
|
+
tool: async (client, args80, ctx) => {
|
|
73631
|
+
const [result, apiCall] = await knowledgeUpdate(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74016
73632
|
if (!result.ok) {
|
|
74017
73633
|
return {
|
|
74018
73634
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74027,9 +73643,9 @@ var init_knowledgeUpdate2 = __esm(() => {
|
|
|
74027
73643
|
|
|
74028
73644
|
// src/funcs/knowledgeUpdateChunk.ts
|
|
74029
73645
|
function knowledgeUpdateChunk(client, request, options) {
|
|
74030
|
-
return new APIPromise($
|
|
73646
|
+
return new APIPromise($do80(client, request, options));
|
|
74031
73647
|
}
|
|
74032
|
-
async function $
|
|
73648
|
+
async function $do80(client, request, options) {
|
|
74033
73649
|
const parsed = safeParse(request, (value) => UpdateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74034
73650
|
if (!parsed.ok) {
|
|
74035
73651
|
return [parsed, { status: "invalid" }];
|
|
@@ -74110,20 +73726,20 @@ var init_knowledgeUpdateChunk = __esm(() => {
|
|
|
74110
73726
|
});
|
|
74111
73727
|
|
|
74112
73728
|
// src/mcp-server/tools/knowledgeUpdateChunk.ts
|
|
74113
|
-
var
|
|
73729
|
+
var args80, tool$knowledgeUpdateChunk;
|
|
74114
73730
|
var init_knowledgeUpdateChunk2 = __esm(() => {
|
|
74115
73731
|
init_knowledgeUpdateChunk();
|
|
74116
73732
|
init_operations();
|
|
74117
73733
|
init_tools();
|
|
74118
|
-
|
|
73734
|
+
args80 = {
|
|
74119
73735
|
request: UpdateChunkRequest$inboundSchema
|
|
74120
73736
|
};
|
|
74121
73737
|
tool$knowledgeUpdateChunk = {
|
|
74122
73738
|
name: "knowledge-update-chunk",
|
|
74123
73739
|
description: `Update a chunk`,
|
|
74124
|
-
args:
|
|
74125
|
-
tool: async (client,
|
|
74126
|
-
const [result, apiCall] = await knowledgeUpdateChunk(client,
|
|
73740
|
+
args: args80,
|
|
73741
|
+
tool: async (client, args81, ctx) => {
|
|
73742
|
+
const [result, apiCall] = await knowledgeUpdateChunk(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74127
73743
|
if (!result.ok) {
|
|
74128
73744
|
return {
|
|
74129
73745
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74138,9 +73754,9 @@ var init_knowledgeUpdateChunk2 = __esm(() => {
|
|
|
74138
73754
|
|
|
74139
73755
|
// src/funcs/knowledgeUpdateDatasource.ts
|
|
74140
73756
|
function knowledgeUpdateDatasource(client, request, options) {
|
|
74141
|
-
return new APIPromise($
|
|
73757
|
+
return new APIPromise($do81(client, request, options));
|
|
74142
73758
|
}
|
|
74143
|
-
async function $
|
|
73759
|
+
async function $do81(client, request, options) {
|
|
74144
73760
|
const parsed = safeParse(request, (value) => UpdateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74145
73761
|
if (!parsed.ok) {
|
|
74146
73762
|
return [parsed, { status: "invalid" }];
|
|
@@ -74217,20 +73833,20 @@ var init_knowledgeUpdateDatasource = __esm(() => {
|
|
|
74217
73833
|
});
|
|
74218
73834
|
|
|
74219
73835
|
// src/mcp-server/tools/knowledgeUpdateDatasource.ts
|
|
74220
|
-
var
|
|
73836
|
+
var args81, tool$knowledgeUpdateDatasource;
|
|
74221
73837
|
var init_knowledgeUpdateDatasource2 = __esm(() => {
|
|
74222
73838
|
init_knowledgeUpdateDatasource();
|
|
74223
73839
|
init_operations();
|
|
74224
73840
|
init_tools();
|
|
74225
|
-
|
|
73841
|
+
args81 = {
|
|
74226
73842
|
request: UpdateDatasourceRequest$inboundSchema
|
|
74227
73843
|
};
|
|
74228
73844
|
tool$knowledgeUpdateDatasource = {
|
|
74229
73845
|
name: "knowledge-update-datasource",
|
|
74230
73846
|
description: `Update a datasource`,
|
|
74231
|
-
args:
|
|
74232
|
-
tool: async (client,
|
|
74233
|
-
const [result, apiCall] = await knowledgeUpdateDatasource(client,
|
|
73847
|
+
args: args81,
|
|
73848
|
+
tool: async (client, args82, ctx) => {
|
|
73849
|
+
const [result, apiCall] = await knowledgeUpdateDatasource(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74234
73850
|
if (!result.ok) {
|
|
74235
73851
|
return {
|
|
74236
73852
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74245,9 +73861,9 @@ var init_knowledgeUpdateDatasource2 = __esm(() => {
|
|
|
74245
73861
|
|
|
74246
73862
|
// src/funcs/modelsList.ts
|
|
74247
73863
|
function modelsList(client, options) {
|
|
74248
|
-
return new APIPromise($
|
|
73864
|
+
return new APIPromise($do82(client, options));
|
|
74249
73865
|
}
|
|
74250
|
-
async function $
|
|
73866
|
+
async function $do82(client, options) {
|
|
74251
73867
|
const path = pathToFunc("/v2/models")();
|
|
74252
73868
|
const headers = new Headers(compactMap({
|
|
74253
73869
|
Accept: "application/json"
|
|
@@ -74329,9 +73945,9 @@ Lists the currently available models, and provides basic information about each
|
|
|
74329
73945
|
|
|
74330
73946
|
// src/funcs/promptsCreate.ts
|
|
74331
73947
|
function promptsCreate(client, request, options) {
|
|
74332
|
-
return new APIPromise($
|
|
73948
|
+
return new APIPromise($do83(client, request, options));
|
|
74333
73949
|
}
|
|
74334
|
-
async function $
|
|
73950
|
+
async function $do83(client, request, options) {
|
|
74335
73951
|
const parsed = safeParse(request, (value) => CreatePromptRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
74336
73952
|
if (!parsed.ok) {
|
|
74337
73953
|
return [parsed, { status: "invalid" }];
|
|
@@ -74398,20 +74014,20 @@ var init_promptsCreate = __esm(() => {
|
|
|
74398
74014
|
});
|
|
74399
74015
|
|
|
74400
74016
|
// src/mcp-server/tools/promptsCreate.ts
|
|
74401
|
-
var
|
|
74017
|
+
var args82, tool$promptsCreate;
|
|
74402
74018
|
var init_promptsCreate2 = __esm(() => {
|
|
74403
74019
|
init_promptsCreate();
|
|
74404
74020
|
init_operations();
|
|
74405
74021
|
init_tools();
|
|
74406
|
-
|
|
74022
|
+
args82 = {
|
|
74407
74023
|
request: CreatePromptRequestBody$inboundSchema.optional()
|
|
74408
74024
|
};
|
|
74409
74025
|
tool$promptsCreate = {
|
|
74410
74026
|
name: "prompts-create",
|
|
74411
74027
|
description: `Create a prompt`,
|
|
74412
|
-
args:
|
|
74413
|
-
tool: async (client,
|
|
74414
|
-
const [result, apiCall] = await promptsCreate(client,
|
|
74028
|
+
args: args82,
|
|
74029
|
+
tool: async (client, args83, ctx) => {
|
|
74030
|
+
const [result, apiCall] = await promptsCreate(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74415
74031
|
if (!result.ok) {
|
|
74416
74032
|
return {
|
|
74417
74033
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74426,9 +74042,9 @@ var init_promptsCreate2 = __esm(() => {
|
|
|
74426
74042
|
|
|
74427
74043
|
// src/funcs/promptsDelete.ts
|
|
74428
74044
|
function promptsDelete(client, request, options) {
|
|
74429
|
-
return new APIPromise($
|
|
74045
|
+
return new APIPromise($do84(client, request, options));
|
|
74430
74046
|
}
|
|
74431
|
-
async function $
|
|
74047
|
+
async function $do84(client, request, options) {
|
|
74432
74048
|
const parsed = safeParse(request, (value) => DeletePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74433
74049
|
if (!parsed.ok) {
|
|
74434
74050
|
return [parsed, { status: "invalid" }];
|
|
@@ -74501,20 +74117,20 @@ var init_promptsDelete = __esm(() => {
|
|
|
74501
74117
|
});
|
|
74502
74118
|
|
|
74503
74119
|
// src/mcp-server/tools/promptsDelete.ts
|
|
74504
|
-
var
|
|
74120
|
+
var args83, tool$promptsDelete;
|
|
74505
74121
|
var init_promptsDelete2 = __esm(() => {
|
|
74506
74122
|
init_promptsDelete();
|
|
74507
74123
|
init_operations();
|
|
74508
74124
|
init_tools();
|
|
74509
|
-
|
|
74125
|
+
args83 = {
|
|
74510
74126
|
request: DeletePromptRequest$inboundSchema
|
|
74511
74127
|
};
|
|
74512
74128
|
tool$promptsDelete = {
|
|
74513
74129
|
name: "prompts-delete",
|
|
74514
74130
|
description: `Delete a prompt`,
|
|
74515
|
-
args:
|
|
74516
|
-
tool: async (client,
|
|
74517
|
-
const [result, apiCall] = await promptsDelete(client,
|
|
74131
|
+
args: args83,
|
|
74132
|
+
tool: async (client, args84, ctx) => {
|
|
74133
|
+
const [result, apiCall] = await promptsDelete(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74518
74134
|
if (!result.ok) {
|
|
74519
74135
|
return {
|
|
74520
74136
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74528,9 +74144,9 @@ var init_promptsDelete2 = __esm(() => {
|
|
|
74528
74144
|
|
|
74529
74145
|
// src/funcs/promptsGetVersion.ts
|
|
74530
74146
|
function promptsGetVersion(client, request, options) {
|
|
74531
|
-
return new APIPromise($
|
|
74147
|
+
return new APIPromise($do85(client, request, options));
|
|
74532
74148
|
}
|
|
74533
|
-
async function $
|
|
74149
|
+
async function $do85(client, request, options) {
|
|
74534
74150
|
const parsed = safeParse(request, (value) => GetPromptVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74535
74151
|
if (!parsed.ok) {
|
|
74536
74152
|
return [parsed, { status: "invalid" }];
|
|
@@ -74610,12 +74226,12 @@ var init_promptsGetVersion = __esm(() => {
|
|
|
74610
74226
|
});
|
|
74611
74227
|
|
|
74612
74228
|
// src/mcp-server/tools/promptsGetVersion.ts
|
|
74613
|
-
var
|
|
74229
|
+
var args84, tool$promptsGetVersion;
|
|
74614
74230
|
var init_promptsGetVersion2 = __esm(() => {
|
|
74615
74231
|
init_promptsGetVersion();
|
|
74616
74232
|
init_operations();
|
|
74617
74233
|
init_tools();
|
|
74618
|
-
|
|
74234
|
+
args84 = {
|
|
74619
74235
|
request: GetPromptVersionRequest$inboundSchema
|
|
74620
74236
|
};
|
|
74621
74237
|
tool$promptsGetVersion = {
|
|
@@ -74623,9 +74239,9 @@ var init_promptsGetVersion2 = __esm(() => {
|
|
|
74623
74239
|
description: `Retrieve a prompt version
|
|
74624
74240
|
|
|
74625
74241
|
Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
74626
|
-
args:
|
|
74627
|
-
tool: async (client,
|
|
74628
|
-
const [result, apiCall] = await promptsGetVersion(client,
|
|
74242
|
+
args: args84,
|
|
74243
|
+
tool: async (client, args85, ctx) => {
|
|
74244
|
+
const [result, apiCall] = await promptsGetVersion(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74629
74245
|
if (!result.ok) {
|
|
74630
74246
|
return {
|
|
74631
74247
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74640,9 +74256,9 @@ Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
|
74640
74256
|
|
|
74641
74257
|
// src/funcs/promptsList.ts
|
|
74642
74258
|
function promptsList(client, request, options) {
|
|
74643
|
-
return new APIPromise($
|
|
74259
|
+
return new APIPromise($do86(client, request, options));
|
|
74644
74260
|
}
|
|
74645
|
-
async function $
|
|
74261
|
+
async function $do86(client, request, options) {
|
|
74646
74262
|
const parsed = safeParse(request, (value) => GetAllPromptsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
74647
74263
|
if (!parsed.ok) {
|
|
74648
74264
|
return [parsed, { status: "invalid" }];
|
|
@@ -74714,12 +74330,12 @@ var init_promptsList = __esm(() => {
|
|
|
74714
74330
|
});
|
|
74715
74331
|
|
|
74716
74332
|
// src/mcp-server/tools/promptsList.ts
|
|
74717
|
-
var
|
|
74333
|
+
var args85, tool$promptsList;
|
|
74718
74334
|
var init_promptsList2 = __esm(() => {
|
|
74719
74335
|
init_promptsList();
|
|
74720
74336
|
init_operations();
|
|
74721
74337
|
init_tools();
|
|
74722
|
-
|
|
74338
|
+
args85 = {
|
|
74723
74339
|
request: GetAllPromptsRequest$inboundSchema.optional()
|
|
74724
74340
|
};
|
|
74725
74341
|
tool$promptsList = {
|
|
@@ -74727,9 +74343,9 @@ var init_promptsList2 = __esm(() => {
|
|
|
74727
74343
|
description: `List all prompts
|
|
74728
74344
|
|
|
74729
74345
|
Returns a list of your prompts. The prompts are returned sorted by creation date, with the most recent prompts appearing first`,
|
|
74730
|
-
args:
|
|
74731
|
-
tool: async (client,
|
|
74732
|
-
const [result, apiCall] = await promptsList(client,
|
|
74346
|
+
args: args85,
|
|
74347
|
+
tool: async (client, args86, ctx) => {
|
|
74348
|
+
const [result, apiCall] = await promptsList(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74733
74349
|
if (!result.ok) {
|
|
74734
74350
|
return {
|
|
74735
74351
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74744,9 +74360,9 @@ Returns a list of your prompts. The prompts are returned sorted by creation date
|
|
|
74744
74360
|
|
|
74745
74361
|
// src/funcs/promptsListVersions.ts
|
|
74746
74362
|
function promptsListVersions(client, request, options) {
|
|
74747
|
-
return new APIPromise($
|
|
74363
|
+
return new APIPromise($do87(client, request, options));
|
|
74748
74364
|
}
|
|
74749
|
-
async function $
|
|
74365
|
+
async function $do87(client, request, options) {
|
|
74750
74366
|
const parsed = safeParse(request, (value) => ListPromptVersionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74751
74367
|
if (!parsed.ok) {
|
|
74752
74368
|
return [parsed, { status: "invalid" }];
|
|
@@ -74824,12 +74440,12 @@ var init_promptsListVersions = __esm(() => {
|
|
|
74824
74440
|
});
|
|
74825
74441
|
|
|
74826
74442
|
// src/mcp-server/tools/promptsListVersions.ts
|
|
74827
|
-
var
|
|
74443
|
+
var args86, tool$promptsListVersions;
|
|
74828
74444
|
var init_promptsListVersions2 = __esm(() => {
|
|
74829
74445
|
init_promptsListVersions();
|
|
74830
74446
|
init_operations();
|
|
74831
74447
|
init_tools();
|
|
74832
|
-
|
|
74448
|
+
args86 = {
|
|
74833
74449
|
request: ListPromptVersionsRequest$inboundSchema
|
|
74834
74450
|
};
|
|
74835
74451
|
tool$promptsListVersions = {
|
|
@@ -74837,9 +74453,9 @@ var init_promptsListVersions2 = __esm(() => {
|
|
|
74837
74453
|
description: `List all prompt versions
|
|
74838
74454
|
|
|
74839
74455
|
Returns a list of your prompt versions. The prompt versions are returned sorted by creation date, with the most recent prompt versions appearing first`,
|
|
74840
|
-
args:
|
|
74841
|
-
tool: async (client,
|
|
74842
|
-
const [result, apiCall] = await promptsListVersions(client,
|
|
74456
|
+
args: args86,
|
|
74457
|
+
tool: async (client, args87, ctx) => {
|
|
74458
|
+
const [result, apiCall] = await promptsListVersions(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74843
74459
|
if (!result.ok) {
|
|
74844
74460
|
return {
|
|
74845
74461
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74854,9 +74470,9 @@ Returns a list of your prompt versions. The prompt versions are returned sorted
|
|
|
74854
74470
|
|
|
74855
74471
|
// src/funcs/promptsRetrieve.ts
|
|
74856
74472
|
function promptsRetrieve(client, request, options) {
|
|
74857
|
-
return new APIPromise($
|
|
74473
|
+
return new APIPromise($do88(client, request, options));
|
|
74858
74474
|
}
|
|
74859
|
-
async function $
|
|
74475
|
+
async function $do88(client, request, options) {
|
|
74860
74476
|
const parsed = safeParse(request, (value) => GetOnePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74861
74477
|
if (!parsed.ok) {
|
|
74862
74478
|
return [parsed, { status: "invalid" }];
|
|
@@ -74928,12 +74544,12 @@ var init_promptsRetrieve = __esm(() => {
|
|
|
74928
74544
|
});
|
|
74929
74545
|
|
|
74930
74546
|
// src/mcp-server/tools/promptsRetrieve.ts
|
|
74931
|
-
var
|
|
74547
|
+
var args87, tool$promptsRetrieve;
|
|
74932
74548
|
var init_promptsRetrieve2 = __esm(() => {
|
|
74933
74549
|
init_promptsRetrieve();
|
|
74934
74550
|
init_operations();
|
|
74935
74551
|
init_tools();
|
|
74936
|
-
|
|
74552
|
+
args87 = {
|
|
74937
74553
|
request: GetOnePromptRequest$inboundSchema
|
|
74938
74554
|
};
|
|
74939
74555
|
tool$promptsRetrieve = {
|
|
@@ -74941,9 +74557,9 @@ var init_promptsRetrieve2 = __esm(() => {
|
|
|
74941
74557
|
description: `Retrieve a prompt
|
|
74942
74558
|
|
|
74943
74559
|
Retrieves a prompt object`,
|
|
74944
|
-
args:
|
|
74945
|
-
tool: async (client,
|
|
74946
|
-
const [result, apiCall] = await promptsRetrieve(client,
|
|
74560
|
+
args: args87,
|
|
74561
|
+
tool: async (client, args88, ctx) => {
|
|
74562
|
+
const [result, apiCall] = await promptsRetrieve(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74947
74563
|
if (!result.ok) {
|
|
74948
74564
|
return {
|
|
74949
74565
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74958,9 +74574,9 @@ Retrieves a prompt object`,
|
|
|
74958
74574
|
|
|
74959
74575
|
// src/funcs/promptsUpdate.ts
|
|
74960
74576
|
function promptsUpdate(client, request, options) {
|
|
74961
|
-
return new APIPromise($
|
|
74577
|
+
return new APIPromise($do89(client, request, options));
|
|
74962
74578
|
}
|
|
74963
|
-
async function $
|
|
74579
|
+
async function $do89(client, request, options) {
|
|
74964
74580
|
const parsed = safeParse(request, (value) => UpdatePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74965
74581
|
if (!parsed.ok) {
|
|
74966
74582
|
return [parsed, { status: "invalid" }];
|
|
@@ -75037,20 +74653,20 @@ var init_promptsUpdate = __esm(() => {
|
|
|
75037
74653
|
});
|
|
75038
74654
|
|
|
75039
74655
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
75040
|
-
var
|
|
74656
|
+
var args88, tool$promptsUpdate;
|
|
75041
74657
|
var init_promptsUpdate2 = __esm(() => {
|
|
75042
74658
|
init_promptsUpdate();
|
|
75043
74659
|
init_operations();
|
|
75044
74660
|
init_tools();
|
|
75045
|
-
|
|
74661
|
+
args88 = {
|
|
75046
74662
|
request: UpdatePromptRequest$inboundSchema
|
|
75047
74663
|
};
|
|
75048
74664
|
tool$promptsUpdate = {
|
|
75049
74665
|
name: "prompts-update",
|
|
75050
74666
|
description: `Update a prompt`,
|
|
75051
|
-
args:
|
|
75052
|
-
tool: async (client,
|
|
75053
|
-
const [result, apiCall] = await promptsUpdate(client,
|
|
74667
|
+
args: args88,
|
|
74668
|
+
tool: async (client, args89, ctx) => {
|
|
74669
|
+
const [result, apiCall] = await promptsUpdate(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75054
74670
|
if (!result.ok) {
|
|
75055
74671
|
return {
|
|
75056
74672
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75065,9 +74681,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
75065
74681
|
|
|
75066
74682
|
// src/funcs/remoteconfigsRetrieve.ts
|
|
75067
74683
|
function remoteconfigsRetrieve(client, request, options) {
|
|
75068
|
-
return new APIPromise($
|
|
74684
|
+
return new APIPromise($do90(client, request, options));
|
|
75069
74685
|
}
|
|
75070
|
-
async function $
|
|
74686
|
+
async function $do90(client, request, options) {
|
|
75071
74687
|
const parsed = safeParse(request, (value) => RemoteConfigsGetConfigRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75072
74688
|
if (!parsed.ok) {
|
|
75073
74689
|
return [parsed, { status: "invalid" }];
|
|
@@ -75134,20 +74750,20 @@ var init_remoteconfigsRetrieve = __esm(() => {
|
|
|
75134
74750
|
});
|
|
75135
74751
|
|
|
75136
74752
|
// src/mcp-server/tools/remoteconfigsRetrieve.ts
|
|
75137
|
-
var
|
|
74753
|
+
var args89, tool$remoteconfigsRetrieve;
|
|
75138
74754
|
var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
75139
74755
|
init_remoteconfigsRetrieve();
|
|
75140
74756
|
init_operations();
|
|
75141
74757
|
init_tools();
|
|
75142
|
-
|
|
74758
|
+
args89 = {
|
|
75143
74759
|
request: RemoteConfigsGetConfigRequestBody$inboundSchema.optional()
|
|
75144
74760
|
};
|
|
75145
74761
|
tool$remoteconfigsRetrieve = {
|
|
75146
74762
|
name: "remoteconfigs-retrieve",
|
|
75147
74763
|
description: `Retrieve a remote config`,
|
|
75148
|
-
args:
|
|
75149
|
-
tool: async (client,
|
|
75150
|
-
const [result, apiCall] = await remoteconfigsRetrieve(client,
|
|
74764
|
+
args: args89,
|
|
74765
|
+
tool: async (client, args90, ctx) => {
|
|
74766
|
+
const [result, apiCall] = await remoteconfigsRetrieve(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75151
74767
|
if (!result.ok) {
|
|
75152
74768
|
return {
|
|
75153
74769
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75164,7 +74780,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
75164
74780
|
function createMCPServer(deps) {
|
|
75165
74781
|
const server = new McpServer({
|
|
75166
74782
|
name: "Orq",
|
|
75167
|
-
version: "3.8.
|
|
74783
|
+
version: "3.8.8"
|
|
75168
74784
|
});
|
|
75169
74785
|
const client = new OrqCore({
|
|
75170
74786
|
apiKey: deps.apiKey,
|
|
@@ -75190,7 +74806,6 @@ function createMCPServer(deps) {
|
|
|
75190
74806
|
tool(tool$deploymentsGetConfig);
|
|
75191
74807
|
tool(tool$deploymentsInvoke);
|
|
75192
74808
|
tool(tool$deploymentsStream);
|
|
75193
|
-
tool(tool$deploymentsCreateExperiment);
|
|
75194
74809
|
tool(tool$filesCreate);
|
|
75195
74810
|
tool(tool$filesList);
|
|
75196
74811
|
tool(tool$filesGet);
|
|
@@ -75209,7 +74824,6 @@ function createMCPServer(deps) {
|
|
|
75209
74824
|
tool(tool$datasetsRetrieve);
|
|
75210
74825
|
tool(tool$datasetsUpdate);
|
|
75211
74826
|
tool(tool$datasetsDelete);
|
|
75212
|
-
tool(tool$datasetsCreateExperiment);
|
|
75213
74827
|
tool(tool$datasetsListDatapoints);
|
|
75214
74828
|
tool(tool$datasetsCreateDatapoint);
|
|
75215
74829
|
tool(tool$datasetsRetrieveDatapoint);
|
|
@@ -75287,7 +74901,6 @@ var init_server2 = __esm(() => {
|
|
|
75287
74901
|
init_datasetsClear2();
|
|
75288
74902
|
init_datasetsCreate2();
|
|
75289
74903
|
init_datasetsCreateDatapoint2();
|
|
75290
|
-
init_datasetsCreateExperiment2();
|
|
75291
74904
|
init_datasetsDelete2();
|
|
75292
74905
|
init_datasetsDeleteDatapoint2();
|
|
75293
74906
|
init_datasetsList2();
|
|
@@ -75296,7 +74909,6 @@ var init_server2 = __esm(() => {
|
|
|
75296
74909
|
init_datasetsRetrieveDatapoint2();
|
|
75297
74910
|
init_datasetsUpdate2();
|
|
75298
74911
|
init_datasetsUpdateDatapoint2();
|
|
75299
|
-
init_deploymentsCreateExperiment2();
|
|
75300
74912
|
init_deploymentsGetConfig2();
|
|
75301
74913
|
init_deploymentsInvoke2();
|
|
75302
74914
|
init_deploymentsList2();
|
|
@@ -76584,7 +76196,7 @@ var routes = rn({
|
|
|
76584
76196
|
var app = Ve(routes, {
|
|
76585
76197
|
name: "mcp",
|
|
76586
76198
|
versionInfo: {
|
|
76587
|
-
currentVersion: "3.8.
|
|
76199
|
+
currentVersion: "3.8.8"
|
|
76588
76200
|
}
|
|
76589
76201
|
});
|
|
76590
76202
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -76592,5 +76204,5 @@ export {
|
|
|
76592
76204
|
app
|
|
76593
76205
|
};
|
|
76594
76206
|
|
|
76595
|
-
//# debugId=
|
|
76207
|
+
//# debugId=EDBEBD19713784A664756E2164756E21
|
|
76596
76208
|
//# sourceMappingURL=mcp-server.js.map
|