@orq-ai/node 3.9.0-rc.1 → 3.9.0-rc.10
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 +86 -90
- package/bin/mcp-server.js +710 -1098
- 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 +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +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/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 +3 -3
- 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
|
@@ -34272,9 +34272,9 @@ var init_config = __esm(() => {
|
|
|
34272
34272
|
SDK_METADATA = {
|
|
34273
34273
|
language: "typescript",
|
|
34274
34274
|
openapiDocVersion: "2.0",
|
|
34275
|
-
sdkVersion: "3.9.0-rc.
|
|
34276
|
-
genVersion: "2.
|
|
34277
|
-
userAgent: "speakeasy-sdk/typescript 3.9.0-rc.
|
|
34275
|
+
sdkVersion: "3.9.0-rc.10",
|
|
34276
|
+
genVersion: "2.640.3",
|
|
34277
|
+
userAgent: "speakeasy-sdk/typescript 3.9.0-rc.10 2.640.3 2.0 @orq-ai/node"
|
|
34278
34278
|
};
|
|
34279
34279
|
});
|
|
34280
34280
|
|
|
@@ -36607,7 +36607,7 @@ var init_createcontact = __esm(() => {
|
|
|
36607
36607
|
tags: arrayType(stringType()).optional(),
|
|
36608
36608
|
metadata: recordType(anyType()).optional(),
|
|
36609
36609
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36610
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
36610
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
36611
36611
|
}).transform((v2) => {
|
|
36612
36612
|
return remap(v2, {
|
|
36613
36613
|
_id: "id",
|
|
@@ -36627,7 +36627,7 @@ var init_createcontact = __esm(() => {
|
|
|
36627
36627
|
tags: arrayType(stringType()).optional(),
|
|
36628
36628
|
metadata: recordType(anyType()).optional(),
|
|
36629
36629
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36630
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
36630
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
36631
36631
|
}).transform((v2) => {
|
|
36632
36632
|
return remap(v2, {
|
|
36633
36633
|
id: "_id",
|
|
@@ -36699,7 +36699,7 @@ var init_createdataset = __esm(() => {
|
|
|
36699
36699
|
updated_by_id: stringType().optional(),
|
|
36700
36700
|
metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
|
|
36701
36701
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36702
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
36702
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
36703
36703
|
}).transform((v2) => {
|
|
36704
36704
|
return remap(v2, {
|
|
36705
36705
|
_id: "id",
|
|
@@ -36719,7 +36719,7 @@ var init_createdataset = __esm(() => {
|
|
|
36719
36719
|
updatedById: stringType().optional(),
|
|
36720
36720
|
metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
|
|
36721
36721
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36722
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
36722
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
36723
36723
|
}).transform((v2) => {
|
|
36724
36724
|
return remap(v2, {
|
|
36725
36725
|
id: "_id",
|
|
@@ -36736,96 +36736,6 @@ var init_createdataset = __esm(() => {
|
|
|
36736
36736
|
})(CreateDatasetResponseBody$ ||= {});
|
|
36737
36737
|
});
|
|
36738
36738
|
|
|
36739
|
-
// src/models/operations/createdatasetexperiment.ts
|
|
36740
|
-
var CreateDatasetExperimentType, CreateDatasetExperimentType$inboundSchema, CreateDatasetExperimentType$outboundSchema, CreateDatasetExperimentType$, CreateDatasetExperimentRequestBody$inboundSchema, CreateDatasetExperimentRequestBody$outboundSchema, CreateDatasetExperimentRequestBody$, CreateDatasetExperimentRequest$inboundSchema, CreateDatasetExperimentRequest$outboundSchema, CreateDatasetExperimentRequest$, CreateDatasetExperimentResponseBody$inboundSchema, CreateDatasetExperimentResponseBody$outboundSchema, CreateDatasetExperimentResponseBody$;
|
|
36741
|
-
var init_createdatasetexperiment = __esm(() => {
|
|
36742
|
-
init_esm();
|
|
36743
|
-
init_primitives();
|
|
36744
|
-
CreateDatasetExperimentType = {
|
|
36745
|
-
DatasetExperiment: "dataset_experiment"
|
|
36746
|
-
};
|
|
36747
|
-
CreateDatasetExperimentType$inboundSchema = nativeEnumType(CreateDatasetExperimentType);
|
|
36748
|
-
CreateDatasetExperimentType$outboundSchema = CreateDatasetExperimentType$inboundSchema;
|
|
36749
|
-
((CreateDatasetExperimentType$) => {
|
|
36750
|
-
CreateDatasetExperimentType$.inboundSchema = CreateDatasetExperimentType$inboundSchema;
|
|
36751
|
-
CreateDatasetExperimentType$.outboundSchema = CreateDatasetExperimentType$outboundSchema;
|
|
36752
|
-
})(CreateDatasetExperimentType$ ||= {});
|
|
36753
|
-
CreateDatasetExperimentRequestBody$inboundSchema = objectType({
|
|
36754
|
-
experiment_key: stringType(),
|
|
36755
|
-
evaluators: arrayType(stringType()).optional(),
|
|
36756
|
-
path: stringType().optional(),
|
|
36757
|
-
model_ids: arrayType(stringType()).optional(),
|
|
36758
|
-
type: CreateDatasetExperimentType$inboundSchema
|
|
36759
|
-
}).transform((v2) => {
|
|
36760
|
-
return remap(v2, {
|
|
36761
|
-
experiment_key: "experimentKey",
|
|
36762
|
-
model_ids: "modelIds"
|
|
36763
|
-
});
|
|
36764
|
-
});
|
|
36765
|
-
CreateDatasetExperimentRequestBody$outboundSchema = objectType({
|
|
36766
|
-
experimentKey: stringType(),
|
|
36767
|
-
evaluators: arrayType(stringType()).optional(),
|
|
36768
|
-
path: stringType().optional(),
|
|
36769
|
-
modelIds: arrayType(stringType()).optional(),
|
|
36770
|
-
type: CreateDatasetExperimentType$outboundSchema
|
|
36771
|
-
}).transform((v2) => {
|
|
36772
|
-
return remap(v2, {
|
|
36773
|
-
experimentKey: "experiment_key",
|
|
36774
|
-
modelIds: "model_ids"
|
|
36775
|
-
});
|
|
36776
|
-
});
|
|
36777
|
-
((CreateDatasetExperimentRequestBody$) => {
|
|
36778
|
-
CreateDatasetExperimentRequestBody$.inboundSchema = CreateDatasetExperimentRequestBody$inboundSchema;
|
|
36779
|
-
CreateDatasetExperimentRequestBody$.outboundSchema = CreateDatasetExperimentRequestBody$outboundSchema;
|
|
36780
|
-
})(CreateDatasetExperimentRequestBody$ ||= {});
|
|
36781
|
-
CreateDatasetExperimentRequest$inboundSchema = objectType({
|
|
36782
|
-
dataset_id: stringType(),
|
|
36783
|
-
RequestBody: lazyType(() => CreateDatasetExperimentRequestBody$inboundSchema).optional()
|
|
36784
|
-
}).transform((v2) => {
|
|
36785
|
-
return remap(v2, {
|
|
36786
|
-
dataset_id: "datasetId",
|
|
36787
|
-
RequestBody: "requestBody"
|
|
36788
|
-
});
|
|
36789
|
-
});
|
|
36790
|
-
CreateDatasetExperimentRequest$outboundSchema = objectType({
|
|
36791
|
-
datasetId: stringType(),
|
|
36792
|
-
requestBody: lazyType(() => CreateDatasetExperimentRequestBody$outboundSchema).optional()
|
|
36793
|
-
}).transform((v2) => {
|
|
36794
|
-
return remap(v2, {
|
|
36795
|
-
datasetId: "dataset_id",
|
|
36796
|
-
requestBody: "RequestBody"
|
|
36797
|
-
});
|
|
36798
|
-
});
|
|
36799
|
-
((CreateDatasetExperimentRequest$) => {
|
|
36800
|
-
CreateDatasetExperimentRequest$.inboundSchema = CreateDatasetExperimentRequest$inboundSchema;
|
|
36801
|
-
CreateDatasetExperimentRequest$.outboundSchema = CreateDatasetExperimentRequest$outboundSchema;
|
|
36802
|
-
})(CreateDatasetExperimentRequest$ ||= {});
|
|
36803
|
-
CreateDatasetExperimentResponseBody$inboundSchema = objectType({
|
|
36804
|
-
url: stringType(),
|
|
36805
|
-
experiment_id: stringType(),
|
|
36806
|
-
experiment_run_id: stringType()
|
|
36807
|
-
}).transform((v2) => {
|
|
36808
|
-
return remap(v2, {
|
|
36809
|
-
experiment_id: "experimentId",
|
|
36810
|
-
experiment_run_id: "experimentRunId"
|
|
36811
|
-
});
|
|
36812
|
-
});
|
|
36813
|
-
CreateDatasetExperimentResponseBody$outboundSchema = objectType({
|
|
36814
|
-
url: stringType(),
|
|
36815
|
-
experimentId: stringType(),
|
|
36816
|
-
experimentRunId: stringType()
|
|
36817
|
-
}).transform((v2) => {
|
|
36818
|
-
return remap(v2, {
|
|
36819
|
-
experimentId: "experiment_id",
|
|
36820
|
-
experimentRunId: "experiment_run_id"
|
|
36821
|
-
});
|
|
36822
|
-
});
|
|
36823
|
-
((CreateDatasetExperimentResponseBody$) => {
|
|
36824
|
-
CreateDatasetExperimentResponseBody$.inboundSchema = CreateDatasetExperimentResponseBody$inboundSchema;
|
|
36825
|
-
CreateDatasetExperimentResponseBody$.outboundSchema = CreateDatasetExperimentResponseBody$outboundSchema;
|
|
36826
|
-
})(CreateDatasetExperimentResponseBody$ ||= {});
|
|
36827
|
-
});
|
|
36828
|
-
|
|
36829
36739
|
// src/models/operations/createdatasetitem.ts
|
|
36830
36740
|
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$;
|
|
36831
36741
|
var init_createdatasetitem = __esm(() => {
|
|
@@ -37941,7 +37851,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37941
37851
|
created_by_id: stringType().optional(),
|
|
37942
37852
|
updated_by_id: stringType().optional(),
|
|
37943
37853
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
37944
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
37854
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
37945
37855
|
}).transform((v2) => {
|
|
37946
37856
|
return remap(v2, {
|
|
37947
37857
|
_id: "id",
|
|
@@ -37968,7 +37878,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37968
37878
|
createdById: stringType().optional(),
|
|
37969
37879
|
updatedById: stringType().optional(),
|
|
37970
37880
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
37971
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
37881
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
37972
37882
|
}).transform((v2) => {
|
|
37973
37883
|
return remap(v2, {
|
|
37974
37884
|
id: "_id",
|
|
@@ -38190,7 +38100,7 @@ var init_createdatasource = __esm(() => {
|
|
|
38190
38100
|
CreateDatasourceStatus$.outboundSchema = CreateDatasourceStatus$outboundSchema;
|
|
38191
38101
|
})(CreateDatasourceStatus$ ||= {});
|
|
38192
38102
|
CreateDatasourceResponseBody$inboundSchema = objectType({
|
|
38193
|
-
_id: stringType().default("
|
|
38103
|
+
_id: stringType().default("01JZ0ESKT6FAWCQ3NP99EFD452"),
|
|
38194
38104
|
display_name: stringType(),
|
|
38195
38105
|
description: stringType().optional(),
|
|
38196
38106
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -38213,7 +38123,7 @@ var init_createdatasource = __esm(() => {
|
|
|
38213
38123
|
});
|
|
38214
38124
|
});
|
|
38215
38125
|
CreateDatasourceResponseBody$outboundSchema = objectType({
|
|
38216
|
-
id: stringType().default("
|
|
38126
|
+
id: stringType().default("01JZ0ESKT6FAWCQ3NP99EFD452"),
|
|
38217
38127
|
displayName: stringType(),
|
|
38218
38128
|
description: stringType().optional(),
|
|
38219
38129
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -38241,98 +38151,6 @@ var init_createdatasource = __esm(() => {
|
|
|
38241
38151
|
})(CreateDatasourceResponseBody$ ||= {});
|
|
38242
38152
|
});
|
|
38243
38153
|
|
|
38244
|
-
// src/models/operations/createdeploymentexperiment.ts
|
|
38245
|
-
var CreateDeploymentExperimentType, CreateDeploymentExperimentType$inboundSchema, CreateDeploymentExperimentType$outboundSchema, CreateDeploymentExperimentType$, CreateDeploymentExperimentRequestBody$inboundSchema, CreateDeploymentExperimentRequestBody$outboundSchema, CreateDeploymentExperimentRequestBody$, CreateDeploymentExperimentRequest$inboundSchema, CreateDeploymentExperimentRequest$outboundSchema, CreateDeploymentExperimentRequest$, CreateDeploymentExperimentResponseBody$inboundSchema, CreateDeploymentExperimentResponseBody$outboundSchema, CreateDeploymentExperimentResponseBody$;
|
|
38246
|
-
var init_createdeploymentexperiment = __esm(() => {
|
|
38247
|
-
init_esm();
|
|
38248
|
-
init_primitives();
|
|
38249
|
-
CreateDeploymentExperimentType = {
|
|
38250
|
-
DeploymentExperiment: "deployment_experiment"
|
|
38251
|
-
};
|
|
38252
|
-
CreateDeploymentExperimentType$inboundSchema = nativeEnumType(CreateDeploymentExperimentType);
|
|
38253
|
-
CreateDeploymentExperimentType$outboundSchema = CreateDeploymentExperimentType$inboundSchema;
|
|
38254
|
-
((CreateDeploymentExperimentType$) => {
|
|
38255
|
-
CreateDeploymentExperimentType$.inboundSchema = CreateDeploymentExperimentType$inboundSchema;
|
|
38256
|
-
CreateDeploymentExperimentType$.outboundSchema = CreateDeploymentExperimentType$outboundSchema;
|
|
38257
|
-
})(CreateDeploymentExperimentType$ ||= {});
|
|
38258
|
-
CreateDeploymentExperimentRequestBody$inboundSchema = objectType({
|
|
38259
|
-
experiment_key: stringType(),
|
|
38260
|
-
evaluators: arrayType(stringType()).optional(),
|
|
38261
|
-
path: stringType().optional(),
|
|
38262
|
-
dataset_id: stringType(),
|
|
38263
|
-
type: CreateDeploymentExperimentType$inboundSchema,
|
|
38264
|
-
context: recordType(anyType()).optional()
|
|
38265
|
-
}).transform((v2) => {
|
|
38266
|
-
return remap(v2, {
|
|
38267
|
-
experiment_key: "experimentKey",
|
|
38268
|
-
dataset_id: "datasetId"
|
|
38269
|
-
});
|
|
38270
|
-
});
|
|
38271
|
-
CreateDeploymentExperimentRequestBody$outboundSchema = objectType({
|
|
38272
|
-
experimentKey: stringType(),
|
|
38273
|
-
evaluators: arrayType(stringType()).optional(),
|
|
38274
|
-
path: stringType().optional(),
|
|
38275
|
-
datasetId: stringType(),
|
|
38276
|
-
type: CreateDeploymentExperimentType$outboundSchema,
|
|
38277
|
-
context: recordType(anyType()).optional()
|
|
38278
|
-
}).transform((v2) => {
|
|
38279
|
-
return remap(v2, {
|
|
38280
|
-
experimentKey: "experiment_key",
|
|
38281
|
-
datasetId: "dataset_id"
|
|
38282
|
-
});
|
|
38283
|
-
});
|
|
38284
|
-
((CreateDeploymentExperimentRequestBody$) => {
|
|
38285
|
-
CreateDeploymentExperimentRequestBody$.inboundSchema = CreateDeploymentExperimentRequestBody$inboundSchema;
|
|
38286
|
-
CreateDeploymentExperimentRequestBody$.outboundSchema = CreateDeploymentExperimentRequestBody$outboundSchema;
|
|
38287
|
-
})(CreateDeploymentExperimentRequestBody$ ||= {});
|
|
38288
|
-
CreateDeploymentExperimentRequest$inboundSchema = objectType({
|
|
38289
|
-
deployment_key: stringType(),
|
|
38290
|
-
RequestBody: lazyType(() => CreateDeploymentExperimentRequestBody$inboundSchema).optional()
|
|
38291
|
-
}).transform((v2) => {
|
|
38292
|
-
return remap(v2, {
|
|
38293
|
-
deployment_key: "deploymentKey",
|
|
38294
|
-
RequestBody: "requestBody"
|
|
38295
|
-
});
|
|
38296
|
-
});
|
|
38297
|
-
CreateDeploymentExperimentRequest$outboundSchema = objectType({
|
|
38298
|
-
deploymentKey: stringType(),
|
|
38299
|
-
requestBody: lazyType(() => CreateDeploymentExperimentRequestBody$outboundSchema).optional()
|
|
38300
|
-
}).transform((v2) => {
|
|
38301
|
-
return remap(v2, {
|
|
38302
|
-
deploymentKey: "deployment_key",
|
|
38303
|
-
requestBody: "RequestBody"
|
|
38304
|
-
});
|
|
38305
|
-
});
|
|
38306
|
-
((CreateDeploymentExperimentRequest$) => {
|
|
38307
|
-
CreateDeploymentExperimentRequest$.inboundSchema = CreateDeploymentExperimentRequest$inboundSchema;
|
|
38308
|
-
CreateDeploymentExperimentRequest$.outboundSchema = CreateDeploymentExperimentRequest$outboundSchema;
|
|
38309
|
-
})(CreateDeploymentExperimentRequest$ ||= {});
|
|
38310
|
-
CreateDeploymentExperimentResponseBody$inboundSchema = objectType({
|
|
38311
|
-
url: stringType(),
|
|
38312
|
-
experiment_id: stringType(),
|
|
38313
|
-
experiment_run_id: stringType()
|
|
38314
|
-
}).transform((v2) => {
|
|
38315
|
-
return remap(v2, {
|
|
38316
|
-
experiment_id: "experimentId",
|
|
38317
|
-
experiment_run_id: "experimentRunId"
|
|
38318
|
-
});
|
|
38319
|
-
});
|
|
38320
|
-
CreateDeploymentExperimentResponseBody$outboundSchema = objectType({
|
|
38321
|
-
url: stringType(),
|
|
38322
|
-
experimentId: stringType(),
|
|
38323
|
-
experimentRunId: stringType()
|
|
38324
|
-
}).transform((v2) => {
|
|
38325
|
-
return remap(v2, {
|
|
38326
|
-
experimentId: "experiment_id",
|
|
38327
|
-
experimentRunId: "experiment_run_id"
|
|
38328
|
-
});
|
|
38329
|
-
});
|
|
38330
|
-
((CreateDeploymentExperimentResponseBody$) => {
|
|
38331
|
-
CreateDeploymentExperimentResponseBody$.inboundSchema = CreateDeploymentExperimentResponseBody$inboundSchema;
|
|
38332
|
-
CreateDeploymentExperimentResponseBody$.outboundSchema = CreateDeploymentExperimentResponseBody$outboundSchema;
|
|
38333
|
-
})(CreateDeploymentExperimentResponseBody$ ||= {});
|
|
38334
|
-
});
|
|
38335
|
-
|
|
38336
38154
|
// src/models/operations/createeval.ts
|
|
38337
38155
|
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$;
|
|
38338
38156
|
var init_createeval = __esm(() => {
|
|
@@ -38981,8 +38799,8 @@ var init_createeval = __esm(() => {
|
|
|
38981
38799
|
ResponseBodyPython$inboundSchema = objectType({
|
|
38982
38800
|
_id: stringType(),
|
|
38983
38801
|
description: stringType(),
|
|
38984
|
-
created: stringType().default("2025-06-
|
|
38985
|
-
updated: stringType().default("2025-06-
|
|
38802
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
38803
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
38986
38804
|
guardrail_config: unionType([
|
|
38987
38805
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
38988
38806
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -38999,8 +38817,8 @@ var init_createeval = __esm(() => {
|
|
|
38999
38817
|
ResponseBodyPython$outboundSchema = objectType({
|
|
39000
38818
|
id: stringType(),
|
|
39001
38819
|
description: stringType(),
|
|
39002
|
-
created: stringType().default("2025-06-
|
|
39003
|
-
updated: stringType().default("2025-06-
|
|
38820
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
38821
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39004
38822
|
guardrailConfig: unionType([
|
|
39005
38823
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
39006
38824
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -39093,8 +38911,8 @@ var init_createeval = __esm(() => {
|
|
|
39093
38911
|
ResponseBodyHTTP$inboundSchema = objectType({
|
|
39094
38912
|
_id: stringType(),
|
|
39095
38913
|
description: stringType(),
|
|
39096
|
-
created: stringType().default("2025-06-
|
|
39097
|
-
updated: stringType().default("2025-06-
|
|
38914
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
38915
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39098
38916
|
guardrail_config: unionType([
|
|
39099
38917
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
39100
38918
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -39114,8 +38932,8 @@ var init_createeval = __esm(() => {
|
|
|
39114
38932
|
ResponseBodyHTTP$outboundSchema = objectType({
|
|
39115
38933
|
id: stringType(),
|
|
39116
38934
|
description: stringType(),
|
|
39117
|
-
created: stringType().default("2025-06-
|
|
39118
|
-
updated: stringType().default("2025-06-
|
|
38935
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
38936
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39119
38937
|
guardrailConfig: unionType([
|
|
39120
38938
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
39121
38939
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -39205,8 +39023,8 @@ var init_createeval = __esm(() => {
|
|
|
39205
39023
|
ResponseBodyJSON$inboundSchema = objectType({
|
|
39206
39024
|
_id: stringType(),
|
|
39207
39025
|
description: stringType(),
|
|
39208
|
-
created: stringType().default("2025-06-
|
|
39209
|
-
updated: stringType().default("2025-06-
|
|
39026
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39027
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39210
39028
|
guardrail_config: unionType([
|
|
39211
39029
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
39212
39030
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -39223,8 +39041,8 @@ var init_createeval = __esm(() => {
|
|
|
39223
39041
|
ResponseBodyJSON$outboundSchema = objectType({
|
|
39224
39042
|
id: stringType(),
|
|
39225
39043
|
description: stringType(),
|
|
39226
|
-
created: stringType().default("2025-06-
|
|
39227
|
-
updated: stringType().default("2025-06-
|
|
39044
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39045
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39228
39046
|
guardrailConfig: unionType([
|
|
39229
39047
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
39230
39048
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -39311,8 +39129,8 @@ var init_createeval = __esm(() => {
|
|
|
39311
39129
|
ResponseBodyLLM$inboundSchema = objectType({
|
|
39312
39130
|
_id: stringType(),
|
|
39313
39131
|
description: stringType(),
|
|
39314
|
-
created: stringType().default("2025-06-
|
|
39315
|
-
updated: stringType().default("2025-06-
|
|
39132
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39133
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39316
39134
|
guardrail_config: unionType([
|
|
39317
39135
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
39318
39136
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -39330,8 +39148,8 @@ var init_createeval = __esm(() => {
|
|
|
39330
39148
|
ResponseBodyLLM$outboundSchema = objectType({
|
|
39331
39149
|
id: stringType(),
|
|
39332
39150
|
description: stringType(),
|
|
39333
|
-
created: stringType().default("2025-06-
|
|
39334
|
-
updated: stringType().default("2025-06-
|
|
39151
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39152
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
39335
39153
|
guardrailConfig: unionType([
|
|
39336
39154
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
39337
39155
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -39472,6 +39290,7 @@ var init_createprompt = __esm(() => {
|
|
|
39472
39290
|
Base64: "base64"
|
|
39473
39291
|
};
|
|
39474
39292
|
ReasoningEffort = {
|
|
39293
|
+
Disable: "disable",
|
|
39475
39294
|
Low: "low",
|
|
39476
39295
|
Medium: "medium",
|
|
39477
39296
|
High: "high"
|
|
@@ -39585,6 +39404,7 @@ var init_createprompt = __esm(() => {
|
|
|
39585
39404
|
Base64: "base64"
|
|
39586
39405
|
};
|
|
39587
39406
|
CreatePromptReasoningEffort = {
|
|
39407
|
+
Disable: "disable",
|
|
39588
39408
|
Low: "low",
|
|
39589
39409
|
Medium: "medium",
|
|
39590
39410
|
High: "high"
|
|
@@ -42136,6 +41956,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
42136
41956
|
Base64: "base64"
|
|
42137
41957
|
};
|
|
42138
41958
|
DeploymentGetConfigReasoningEffort = {
|
|
41959
|
+
Disable: "disable",
|
|
42139
41960
|
Low: "low",
|
|
42140
41961
|
Medium: "medium",
|
|
42141
41962
|
High: "high"
|
|
@@ -44635,6 +44456,7 @@ var init_deployments = __esm(() => {
|
|
|
44635
44456
|
Base64: "base64"
|
|
44636
44457
|
};
|
|
44637
44458
|
DeploymentsReasoningEffort = {
|
|
44459
|
+
Disable: "disable",
|
|
44638
44460
|
Low: "low",
|
|
44639
44461
|
Medium: "medium",
|
|
44640
44462
|
High: "high"
|
|
@@ -48894,7 +48716,7 @@ var init_fileget = __esm(() => {
|
|
|
48894
48716
|
bytes: numberType(),
|
|
48895
48717
|
file_name: stringType(),
|
|
48896
48718
|
workspace_id: stringType(),
|
|
48897
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48719
|
+
created: stringType().datetime({ offset: true }).default("2025-06-30T13:00:29.711Z").transform((v2) => new Date(v2))
|
|
48898
48720
|
}).transform((v2) => {
|
|
48899
48721
|
return remap(v2, {
|
|
48900
48722
|
_id: "id",
|
|
@@ -48910,7 +48732,7 @@ var init_fileget = __esm(() => {
|
|
|
48910
48732
|
bytes: numberType(),
|
|
48911
48733
|
fileName: stringType(),
|
|
48912
48734
|
workspaceId: stringType(),
|
|
48913
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48735
|
+
created: dateType().default(() => new Date("2025-06-30T13:00:29.711Z")).transform((v2) => v2.toISOString())
|
|
48914
48736
|
}).transform((v2) => {
|
|
48915
48737
|
return remap(v2, {
|
|
48916
48738
|
id: "_id",
|
|
@@ -48981,7 +48803,7 @@ var init_filelist = __esm(() => {
|
|
|
48981
48803
|
bytes: numberType(),
|
|
48982
48804
|
file_name: stringType(),
|
|
48983
48805
|
workspace_id: stringType(),
|
|
48984
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48806
|
+
created: stringType().datetime({ offset: true }).default("2025-06-30T13:00:29.711Z").transform((v2) => new Date(v2))
|
|
48985
48807
|
}).transform((v2) => {
|
|
48986
48808
|
return remap(v2, {
|
|
48987
48809
|
_id: "id",
|
|
@@ -48997,7 +48819,7 @@ var init_filelist = __esm(() => {
|
|
|
48997
48819
|
bytes: numberType(),
|
|
48998
48820
|
fileName: stringType(),
|
|
48999
48821
|
workspaceId: stringType(),
|
|
49000
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48822
|
+
created: dateType().default(() => new Date("2025-06-30T13:00:29.711Z")).transform((v2) => v2.toISOString())
|
|
49001
48823
|
}).transform((v2) => {
|
|
49002
48824
|
return remap(v2, {
|
|
49003
48825
|
id: "_id",
|
|
@@ -49129,7 +48951,7 @@ var init_fileupload = __esm(() => {
|
|
|
49129
48951
|
bytes: numberType(),
|
|
49130
48952
|
file_name: stringType(),
|
|
49131
48953
|
workspace_id: stringType(),
|
|
49132
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48954
|
+
created: stringType().datetime({ offset: true }).default("2025-06-30T13:00:29.711Z").transform((v2) => new Date(v2))
|
|
49133
48955
|
}).transform((v2) => {
|
|
49134
48956
|
return remap(v2, {
|
|
49135
48957
|
_id: "id",
|
|
@@ -49145,7 +48967,7 @@ var init_fileupload = __esm(() => {
|
|
|
49145
48967
|
bytes: numberType(),
|
|
49146
48968
|
fileName: stringType(),
|
|
49147
48969
|
workspaceId: stringType(),
|
|
49148
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48970
|
+
created: dateType().default(() => new Date("2025-06-30T13:00:29.711Z")).transform((v2) => v2.toISOString())
|
|
49149
48971
|
}).transform((v2) => {
|
|
49150
48972
|
return remap(v2, {
|
|
49151
48973
|
id: "_id",
|
|
@@ -49203,6 +49025,7 @@ var init_getallprompts = __esm(() => {
|
|
|
49203
49025
|
Base64: "base64"
|
|
49204
49026
|
};
|
|
49205
49027
|
GetAllPromptsReasoningEffort = {
|
|
49028
|
+
Disable: "disable",
|
|
49206
49029
|
Low: "low",
|
|
49207
49030
|
Medium: "medium",
|
|
49208
49031
|
High: "high"
|
|
@@ -50149,8 +49972,8 @@ var init_getevals = __esm(() => {
|
|
|
50149
49972
|
Typescript$inboundSchema = objectType({
|
|
50150
49973
|
_id: stringType(),
|
|
50151
49974
|
description: stringType(),
|
|
50152
|
-
created: stringType().default("2025-06-
|
|
50153
|
-
updated: stringType().default("2025-06-
|
|
49975
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
49976
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50154
49977
|
guardrail_config: unionType([
|
|
50155
49978
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
50156
49979
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -50167,8 +49990,8 @@ var init_getevals = __esm(() => {
|
|
|
50167
49990
|
Typescript$outboundSchema = objectType({
|
|
50168
49991
|
id: stringType(),
|
|
50169
49992
|
description: stringType(),
|
|
50170
|
-
created: stringType().default("2025-06-
|
|
50171
|
-
updated: stringType().default("2025-06-
|
|
49993
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
49994
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50172
49995
|
guardrailConfig: unionType([
|
|
50173
49996
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
50174
49997
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -50261,8 +50084,8 @@ var init_getevals = __esm(() => {
|
|
|
50261
50084
|
Ragas$inboundSchema = objectType({
|
|
50262
50085
|
_id: stringType(),
|
|
50263
50086
|
description: stringType(),
|
|
50264
|
-
created: stringType().default("2025-06-
|
|
50265
|
-
updated: stringType().default("2025-06-
|
|
50087
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50088
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50266
50089
|
guardrail_config: unionType([
|
|
50267
50090
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
50268
50091
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -50281,8 +50104,8 @@ var init_getevals = __esm(() => {
|
|
|
50281
50104
|
Ragas$outboundSchema = objectType({
|
|
50282
50105
|
id: stringType(),
|
|
50283
50106
|
description: stringType(),
|
|
50284
|
-
created: stringType().default("2025-06-
|
|
50285
|
-
updated: stringType().default("2025-06-
|
|
50107
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50108
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50286
50109
|
guardrailConfig: unionType([
|
|
50287
50110
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
50288
50111
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -50833,8 +50656,8 @@ var init_getevals = __esm(() => {
|
|
|
50833
50656
|
DataFunction$inboundSchema = objectType({
|
|
50834
50657
|
_id: stringType(),
|
|
50835
50658
|
description: stringType(),
|
|
50836
|
-
created: stringType().default("2025-06-
|
|
50837
|
-
updated: stringType().default("2025-06-
|
|
50659
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50660
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50838
50661
|
guardrail_config: unionType([
|
|
50839
50662
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
50840
50663
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -50877,8 +50700,8 @@ var init_getevals = __esm(() => {
|
|
|
50877
50700
|
DataFunction$outboundSchema = objectType({
|
|
50878
50701
|
id: stringType(),
|
|
50879
50702
|
description: stringType(),
|
|
50880
|
-
created: stringType().default("2025-06-
|
|
50881
|
-
updated: stringType().default("2025-06-
|
|
50703
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50704
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50882
50705
|
guardrailConfig: unionType([
|
|
50883
50706
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
50884
50707
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -50991,8 +50814,8 @@ var init_getevals = __esm(() => {
|
|
|
50991
50814
|
DataPython$inboundSchema = objectType({
|
|
50992
50815
|
_id: stringType(),
|
|
50993
50816
|
description: stringType(),
|
|
50994
|
-
created: stringType().default("2025-06-
|
|
50995
|
-
updated: stringType().default("2025-06-
|
|
50817
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50818
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50996
50819
|
guardrail_config: unionType([
|
|
50997
50820
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
50998
50821
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema)
|
|
@@ -51009,8 +50832,8 @@ var init_getevals = __esm(() => {
|
|
|
51009
50832
|
DataPython$outboundSchema = objectType({
|
|
51010
50833
|
id: stringType(),
|
|
51011
50834
|
description: stringType(),
|
|
51012
|
-
created: stringType().default("2025-06-
|
|
51013
|
-
updated: stringType().default("2025-06-
|
|
50835
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50836
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51014
50837
|
guardrailConfig: unionType([
|
|
51015
50838
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
51016
50839
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema)
|
|
@@ -51103,8 +50926,8 @@ var init_getevals = __esm(() => {
|
|
|
51103
50926
|
DataHTTP$inboundSchema = objectType({
|
|
51104
50927
|
_id: stringType(),
|
|
51105
50928
|
description: stringType(),
|
|
51106
|
-
created: stringType().default("2025-06-
|
|
51107
|
-
updated: stringType().default("2025-06-
|
|
50929
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50930
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51108
50931
|
guardrail_config: unionType([
|
|
51109
50932
|
lazyType(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
51110
50933
|
lazyType(() => GetEvalsGuardrailConfigBoolean$inboundSchema)
|
|
@@ -51124,8 +50947,8 @@ var init_getevals = __esm(() => {
|
|
|
51124
50947
|
DataHTTP$outboundSchema = objectType({
|
|
51125
50948
|
id: stringType(),
|
|
51126
50949
|
description: stringType(),
|
|
51127
|
-
created: stringType().default("2025-06-
|
|
51128
|
-
updated: stringType().default("2025-06-
|
|
50950
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
50951
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51129
50952
|
guardrailConfig: unionType([
|
|
51130
50953
|
lazyType(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
51131
50954
|
lazyType(() => GetEvalsGuardrailConfigBoolean$outboundSchema)
|
|
@@ -51215,8 +51038,8 @@ var init_getevals = __esm(() => {
|
|
|
51215
51038
|
DataJSON$inboundSchema = objectType({
|
|
51216
51039
|
_id: stringType(),
|
|
51217
51040
|
description: stringType(),
|
|
51218
|
-
created: stringType().default("2025-06-
|
|
51219
|
-
updated: stringType().default("2025-06-
|
|
51041
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51042
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51220
51043
|
guardrail_config: unionType([
|
|
51221
51044
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema),
|
|
51222
51045
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema)
|
|
@@ -51233,8 +51056,8 @@ var init_getevals = __esm(() => {
|
|
|
51233
51056
|
DataJSON$outboundSchema = objectType({
|
|
51234
51057
|
id: stringType(),
|
|
51235
51058
|
description: stringType(),
|
|
51236
|
-
created: stringType().default("2025-06-
|
|
51237
|
-
updated: stringType().default("2025-06-
|
|
51059
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51060
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51238
51061
|
guardrailConfig: unionType([
|
|
51239
51062
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema),
|
|
51240
51063
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema)
|
|
@@ -51321,8 +51144,8 @@ var init_getevals = __esm(() => {
|
|
|
51321
51144
|
DataLLM$inboundSchema = objectType({
|
|
51322
51145
|
_id: stringType(),
|
|
51323
51146
|
description: stringType(),
|
|
51324
|
-
created: stringType().default("2025-06-
|
|
51325
|
-
updated: stringType().default("2025-06-
|
|
51147
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51148
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51326
51149
|
guardrail_config: unionType([
|
|
51327
51150
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
51328
51151
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -51340,8 +51163,8 @@ var init_getevals = __esm(() => {
|
|
|
51340
51163
|
DataLLM$outboundSchema = objectType({
|
|
51341
51164
|
id: stringType(),
|
|
51342
51165
|
description: stringType(),
|
|
51343
|
-
created: stringType().default("2025-06-
|
|
51344
|
-
updated: stringType().default("2025-06-
|
|
51166
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51167
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
51345
51168
|
guardrailConfig: unionType([
|
|
51346
51169
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
51347
51170
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -51698,6 +51521,7 @@ var init_getoneprompt = __esm(() => {
|
|
|
51698
51521
|
Base64: "base64"
|
|
51699
51522
|
};
|
|
51700
51523
|
GetOnePromptReasoningEffort = {
|
|
51524
|
+
Disable: "disable",
|
|
51701
51525
|
Low: "low",
|
|
51702
51526
|
Medium: "medium",
|
|
51703
51527
|
High: "high"
|
|
@@ -52323,6 +52147,7 @@ var init_getpromptversion = __esm(() => {
|
|
|
52323
52147
|
Base64: "base64"
|
|
52324
52148
|
};
|
|
52325
52149
|
GetPromptVersionReasoningEffort = {
|
|
52150
|
+
Disable: "disable",
|
|
52326
52151
|
Low: "low",
|
|
52327
52152
|
Medium: "medium",
|
|
52328
52153
|
High: "high"
|
|
@@ -53736,7 +53561,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53736
53561
|
tags: arrayType(stringType()).optional(),
|
|
53737
53562
|
metadata: recordType(anyType()).optional(),
|
|
53738
53563
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
53739
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
53564
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2)),
|
|
53740
53565
|
metrics: lazyType(() => Metrics$inboundSchema)
|
|
53741
53566
|
}).transform((v2) => {
|
|
53742
53567
|
return remap(v2, {
|
|
@@ -53755,7 +53580,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53755
53580
|
tags: arrayType(stringType()).optional(),
|
|
53756
53581
|
metadata: recordType(anyType()).optional(),
|
|
53757
53582
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
53758
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
53583
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString()),
|
|
53759
53584
|
metrics: lazyType(() => Metrics$outboundSchema)
|
|
53760
53585
|
}).transform((v2) => {
|
|
53761
53586
|
return remap(v2, {
|
|
@@ -54370,7 +54195,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54370
54195
|
created_by_id: stringType().optional(),
|
|
54371
54196
|
updated_by_id: stringType().optional(),
|
|
54372
54197
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54373
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
54198
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
54374
54199
|
}).transform((v2) => {
|
|
54375
54200
|
return remap(v2, {
|
|
54376
54201
|
_id: "id",
|
|
@@ -54397,7 +54222,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54397
54222
|
createdById: stringType().optional(),
|
|
54398
54223
|
updatedById: stringType().optional(),
|
|
54399
54224
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54400
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
54225
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
54401
54226
|
}).transform((v2) => {
|
|
54402
54227
|
return remap(v2, {
|
|
54403
54228
|
id: "_id",
|
|
@@ -54505,7 +54330,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54505
54330
|
updated_by_id: stringType().optional(),
|
|
54506
54331
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
54507
54332
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54508
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
54333
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
54509
54334
|
}).transform((v2) => {
|
|
54510
54335
|
return remap(v2, {
|
|
54511
54336
|
_id: "id",
|
|
@@ -54525,7 +54350,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54525
54350
|
updatedById: stringType().optional(),
|
|
54526
54351
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
54527
54352
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54528
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
54353
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
54529
54354
|
}).transform((v2) => {
|
|
54530
54355
|
return remap(v2, {
|
|
54531
54356
|
id: "_id",
|
|
@@ -54630,7 +54455,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54630
54455
|
ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
|
|
54631
54456
|
})(ListDatasourcesStatus$ ||= {});
|
|
54632
54457
|
ListDatasourcesData$inboundSchema = objectType({
|
|
54633
|
-
_id: stringType().default("
|
|
54458
|
+
_id: stringType().default("01JZ0ESKT4N6MMN421FWVBZ65E"),
|
|
54634
54459
|
display_name: stringType(),
|
|
54635
54460
|
description: stringType().optional(),
|
|
54636
54461
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -54653,7 +54478,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54653
54478
|
});
|
|
54654
54479
|
});
|
|
54655
54480
|
ListDatasourcesData$outboundSchema = objectType({
|
|
54656
|
-
id: stringType().default("
|
|
54481
|
+
id: stringType().default("01JZ0ESKT4N6MMN421FWVBZ65E"),
|
|
54657
54482
|
displayName: stringType(),
|
|
54658
54483
|
description: stringType().optional(),
|
|
54659
54484
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -55015,6 +54840,7 @@ var init_listpromptversions = __esm(() => {
|
|
|
55015
54840
|
Base64: "base64"
|
|
55016
54841
|
};
|
|
55017
54842
|
ListPromptVersionsReasoningEffort = {
|
|
54843
|
+
Disable: "disable",
|
|
55018
54844
|
Low: "low",
|
|
55019
54845
|
Medium: "medium",
|
|
55020
54846
|
High: "high"
|
|
@@ -55700,7 +55526,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
55700
55526
|
tags: arrayType(stringType()).optional(),
|
|
55701
55527
|
metadata: recordType(anyType()).optional(),
|
|
55702
55528
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
55703
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55529
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
55704
55530
|
}).transform((v2) => {
|
|
55705
55531
|
return remap(v2, {
|
|
55706
55532
|
_id: "id",
|
|
@@ -55718,7 +55544,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
55718
55544
|
tags: arrayType(stringType()).optional(),
|
|
55719
55545
|
metadata: recordType(anyType()).optional(),
|
|
55720
55546
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
55721
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55547
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
55722
55548
|
}).transform((v2) => {
|
|
55723
55549
|
return remap(v2, {
|
|
55724
55550
|
id: "_id",
|
|
@@ -56295,7 +56121,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
56295
56121
|
created_by_id: stringType().optional(),
|
|
56296
56122
|
updated_by_id: stringType().optional(),
|
|
56297
56123
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
56298
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
56124
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
56299
56125
|
}).transform((v2) => {
|
|
56300
56126
|
return remap(v2, {
|
|
56301
56127
|
_id: "id",
|
|
@@ -56322,7 +56148,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
56322
56148
|
createdById: stringType().optional(),
|
|
56323
56149
|
updatedById: stringType().optional(),
|
|
56324
56150
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
56325
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
56151
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
56326
56152
|
}).transform((v2) => {
|
|
56327
56153
|
return remap(v2, {
|
|
56328
56154
|
id: "_id",
|
|
@@ -56393,7 +56219,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
56393
56219
|
updated_by_id: stringType().optional(),
|
|
56394
56220
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
56395
56221
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
56396
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
56222
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
56397
56223
|
}).transform((v2) => {
|
|
56398
56224
|
return remap(v2, {
|
|
56399
56225
|
_id: "id",
|
|
@@ -56413,7 +56239,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
56413
56239
|
updatedById: stringType().optional(),
|
|
56414
56240
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
56415
56241
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
56416
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
56242
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
56417
56243
|
}).transform((v2) => {
|
|
56418
56244
|
return remap(v2, {
|
|
56419
56245
|
id: "_id",
|
|
@@ -56471,7 +56297,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
56471
56297
|
RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
|
|
56472
56298
|
})(RetrieveDatasourceStatus$ ||= {});
|
|
56473
56299
|
RetrieveDatasourceResponseBody$inboundSchema = objectType({
|
|
56474
|
-
_id: stringType().default("
|
|
56300
|
+
_id: stringType().default("01JZ0ESKT5N89045RZ1Q4Q881A"),
|
|
56475
56301
|
display_name: stringType(),
|
|
56476
56302
|
description: stringType().optional(),
|
|
56477
56303
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -56494,7 +56320,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
56494
56320
|
});
|
|
56495
56321
|
});
|
|
56496
56322
|
RetrieveDatasourceResponseBody$outboundSchema = objectType({
|
|
56497
|
-
id: stringType().default("
|
|
56323
|
+
id: stringType().default("01JZ0ESKT5N89045RZ1Q4Q881A"),
|
|
56498
56324
|
displayName: stringType(),
|
|
56499
56325
|
description: stringType().optional(),
|
|
56500
56326
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -57375,7 +57201,7 @@ var init_updatecontact = __esm(() => {
|
|
|
57375
57201
|
tags: arrayType(stringType()).optional(),
|
|
57376
57202
|
metadata: recordType(anyType()).optional(),
|
|
57377
57203
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
57378
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
57204
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
57379
57205
|
}).transform((v2) => {
|
|
57380
57206
|
return remap(v2, {
|
|
57381
57207
|
_id: "id",
|
|
@@ -57393,7 +57219,7 @@ var init_updatecontact = __esm(() => {
|
|
|
57393
57219
|
tags: arrayType(stringType()).optional(),
|
|
57394
57220
|
metadata: recordType(anyType()).optional(),
|
|
57395
57221
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
57396
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
57222
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
57397
57223
|
}).transform((v2) => {
|
|
57398
57224
|
return remap(v2, {
|
|
57399
57225
|
id: "_id",
|
|
@@ -58527,7 +58353,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
58527
58353
|
created_by_id: stringType().optional(),
|
|
58528
58354
|
updated_by_id: stringType().optional(),
|
|
58529
58355
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58530
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58356
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
58531
58357
|
}).transform((v2) => {
|
|
58532
58358
|
return remap(v2, {
|
|
58533
58359
|
_id: "id",
|
|
@@ -58554,7 +58380,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
58554
58380
|
createdById: stringType().optional(),
|
|
58555
58381
|
updatedById: stringType().optional(),
|
|
58556
58382
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58557
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58383
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
58558
58384
|
}).transform((v2) => {
|
|
58559
58385
|
return remap(v2, {
|
|
58560
58386
|
id: "_id",
|
|
@@ -58655,7 +58481,7 @@ var init_updatedataset = __esm(() => {
|
|
|
58655
58481
|
parent_id: stringType().optional(),
|
|
58656
58482
|
version: stringType().optional(),
|
|
58657
58483
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58658
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58484
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-30T13:00:26.696Z").transform((v2) => new Date(v2))
|
|
58659
58485
|
}).transform((v2) => {
|
|
58660
58486
|
return remap(v2, {
|
|
58661
58487
|
_id: "id",
|
|
@@ -58678,7 +58504,7 @@ var init_updatedataset = __esm(() => {
|
|
|
58678
58504
|
parentId: stringType().optional(),
|
|
58679
58505
|
version: stringType().optional(),
|
|
58680
58506
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58681
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58507
|
+
updated: dateType().default(() => new Date("2025-06-30T13:00:26.696Z")).transform((v2) => v2.toISOString())
|
|
58682
58508
|
}).transform((v2) => {
|
|
58683
58509
|
return remap(v2, {
|
|
58684
58510
|
id: "_id",
|
|
@@ -58759,7 +58585,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
58759
58585
|
UpdateDatasourceStatus$.outboundSchema = UpdateDatasourceStatus$outboundSchema;
|
|
58760
58586
|
})(UpdateDatasourceStatus$ ||= {});
|
|
58761
58587
|
UpdateDatasourceResponseBody$inboundSchema = objectType({
|
|
58762
|
-
_id: stringType().default("
|
|
58588
|
+
_id: stringType().default("01JZ0ESKT7X2HNQDYBR0N00ND7"),
|
|
58763
58589
|
display_name: stringType(),
|
|
58764
58590
|
description: stringType().optional(),
|
|
58765
58591
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -58782,7 +58608,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
58782
58608
|
});
|
|
58783
58609
|
});
|
|
58784
58610
|
UpdateDatasourceResponseBody$outboundSchema = objectType({
|
|
58785
|
-
id: stringType().default("
|
|
58611
|
+
id: stringType().default("01JZ0ESKT7X2HNQDYBR0N00ND7"),
|
|
58786
58612
|
displayName: stringType(),
|
|
58787
58613
|
description: stringType().optional(),
|
|
58788
58614
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -59488,8 +59314,8 @@ var init_updateeval = __esm(() => {
|
|
|
59488
59314
|
UpdateEvalResponseBodyPython$inboundSchema = objectType({
|
|
59489
59315
|
_id: stringType(),
|
|
59490
59316
|
description: stringType(),
|
|
59491
|
-
created: stringType().default("2025-06-
|
|
59492
|
-
updated: stringType().default("2025-06-
|
|
59317
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59318
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59493
59319
|
guardrail_config: unionType([
|
|
59494
59320
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
59495
59321
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -59506,8 +59332,8 @@ var init_updateeval = __esm(() => {
|
|
|
59506
59332
|
UpdateEvalResponseBodyPython$outboundSchema = objectType({
|
|
59507
59333
|
id: stringType(),
|
|
59508
59334
|
description: stringType(),
|
|
59509
|
-
created: stringType().default("2025-06-
|
|
59510
|
-
updated: stringType().default("2025-06-
|
|
59335
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59336
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59511
59337
|
guardrailConfig: unionType([
|
|
59512
59338
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
59513
59339
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -59600,8 +59426,8 @@ var init_updateeval = __esm(() => {
|
|
|
59600
59426
|
UpdateEvalResponseBodyHTTP$inboundSchema = objectType({
|
|
59601
59427
|
_id: stringType(),
|
|
59602
59428
|
description: stringType(),
|
|
59603
|
-
created: stringType().default("2025-06-
|
|
59604
|
-
updated: stringType().default("2025-06-
|
|
59429
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59430
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59605
59431
|
guardrail_config: unionType([
|
|
59606
59432
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
59607
59433
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -59621,8 +59447,8 @@ var init_updateeval = __esm(() => {
|
|
|
59621
59447
|
UpdateEvalResponseBodyHTTP$outboundSchema = objectType({
|
|
59622
59448
|
id: stringType(),
|
|
59623
59449
|
description: stringType(),
|
|
59624
|
-
created: stringType().default("2025-06-
|
|
59625
|
-
updated: stringType().default("2025-06-
|
|
59450
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59451
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59626
59452
|
guardrailConfig: unionType([
|
|
59627
59453
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
59628
59454
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -59712,8 +59538,8 @@ var init_updateeval = __esm(() => {
|
|
|
59712
59538
|
UpdateEvalResponseBodyJSON$inboundSchema = objectType({
|
|
59713
59539
|
_id: stringType(),
|
|
59714
59540
|
description: stringType(),
|
|
59715
|
-
created: stringType().default("2025-06-
|
|
59716
|
-
updated: stringType().default("2025-06-
|
|
59541
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59542
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59717
59543
|
guardrail_config: unionType([
|
|
59718
59544
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
59719
59545
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -59730,8 +59556,8 @@ var init_updateeval = __esm(() => {
|
|
|
59730
59556
|
UpdateEvalResponseBodyJSON$outboundSchema = objectType({
|
|
59731
59557
|
id: stringType(),
|
|
59732
59558
|
description: stringType(),
|
|
59733
|
-
created: stringType().default("2025-06-
|
|
59734
|
-
updated: stringType().default("2025-06-
|
|
59559
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59560
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59735
59561
|
guardrailConfig: unionType([
|
|
59736
59562
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
59737
59563
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -59818,8 +59644,8 @@ var init_updateeval = __esm(() => {
|
|
|
59818
59644
|
UpdateEvalResponseBodyLLM$inboundSchema = objectType({
|
|
59819
59645
|
_id: stringType(),
|
|
59820
59646
|
description: stringType(),
|
|
59821
|
-
created: stringType().default("2025-06-
|
|
59822
|
-
updated: stringType().default("2025-06-
|
|
59647
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59648
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59823
59649
|
guardrail_config: unionType([
|
|
59824
59650
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
59825
59651
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -59837,8 +59663,8 @@ var init_updateeval = __esm(() => {
|
|
|
59837
59663
|
UpdateEvalResponseBodyLLM$outboundSchema = objectType({
|
|
59838
59664
|
id: stringType(),
|
|
59839
59665
|
description: stringType(),
|
|
59840
|
-
created: stringType().default("2025-06-
|
|
59841
|
-
updated: stringType().default("2025-06-
|
|
59666
|
+
created: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59667
|
+
updated: stringType().default("2025-06-30T13:00:28.844Z"),
|
|
59842
59668
|
guardrailConfig: unionType([
|
|
59843
59669
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
59844
59670
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -60152,6 +59978,7 @@ var init_updateprompt = __esm(() => {
|
|
|
60152
59978
|
Base64: "base64"
|
|
60153
59979
|
};
|
|
60154
59980
|
UpdatePromptReasoningEffort = {
|
|
59981
|
+
Disable: "disable",
|
|
60155
59982
|
Low: "low",
|
|
60156
59983
|
Medium: "medium",
|
|
60157
59984
|
High: "high"
|
|
@@ -60265,6 +60092,7 @@ var init_updateprompt = __esm(() => {
|
|
|
60265
60092
|
Base64: "base64"
|
|
60266
60093
|
};
|
|
60267
60094
|
UpdatePromptPromptsReasoningEffort = {
|
|
60095
|
+
Disable: "disable",
|
|
60268
60096
|
Low: "low",
|
|
60269
60097
|
Medium: "medium",
|
|
60270
60098
|
High: "high"
|
|
@@ -61346,10 +61174,8 @@ var init_operations = __esm(() => {
|
|
|
61346
61174
|
init_createchunk();
|
|
61347
61175
|
init_createcontact();
|
|
61348
61176
|
init_createdataset();
|
|
61349
|
-
init_createdatasetexperiment();
|
|
61350
61177
|
init_createdatasetitem();
|
|
61351
61178
|
init_createdatasource();
|
|
61352
|
-
init_createdeploymentexperiment();
|
|
61353
61179
|
init_createeval();
|
|
61354
61180
|
init_createfeedback();
|
|
61355
61181
|
init_createprompt();
|
|
@@ -65111,116 +64937,11 @@ Creates a new datapoint in the specified dataset.`,
|
|
|
65111
64937
|
};
|
|
65112
64938
|
});
|
|
65113
64939
|
|
|
65114
|
-
// src/funcs/datasetsCreateExperiment.ts
|
|
65115
|
-
function datasetsCreateExperiment(client, request, options) {
|
|
65116
|
-
return new APIPromise($do9(client, request, options));
|
|
65117
|
-
}
|
|
65118
|
-
async function $do9(client, request, options) {
|
|
65119
|
-
const parsed = safeParse(request, (value) => CreateDatasetExperimentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65120
|
-
if (!parsed.ok) {
|
|
65121
|
-
return [parsed, { status: "invalid" }];
|
|
65122
|
-
}
|
|
65123
|
-
const payload = parsed.value;
|
|
65124
|
-
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
65125
|
-
const pathParams = {
|
|
65126
|
-
dataset_id: encodeSimple("dataset_id", payload.dataset_id, {
|
|
65127
|
-
explode: false,
|
|
65128
|
-
charEncoding: "percent"
|
|
65129
|
-
})
|
|
65130
|
-
};
|
|
65131
|
-
const path = pathToFunc("/v2/datasets/{dataset_id}/experiment")(pathParams);
|
|
65132
|
-
const headers = new Headers(compactMap({
|
|
65133
|
-
"Content-Type": "application/json",
|
|
65134
|
-
Accept: "application/json"
|
|
65135
|
-
}));
|
|
65136
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
65137
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
65138
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
65139
|
-
const context = {
|
|
65140
|
-
options: client._options,
|
|
65141
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
65142
|
-
operationID: "CreateDatasetExperiment",
|
|
65143
|
-
oAuth2Scopes: [],
|
|
65144
|
-
resolvedSecurity: requestSecurity,
|
|
65145
|
-
securitySource: client._options.apiKey,
|
|
65146
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
65147
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
65148
|
-
};
|
|
65149
|
-
const requestRes = client._createRequest(context, {
|
|
65150
|
-
security: requestSecurity,
|
|
65151
|
-
method: "POST",
|
|
65152
|
-
baseURL: options?.serverURL,
|
|
65153
|
-
path,
|
|
65154
|
-
headers,
|
|
65155
|
-
body,
|
|
65156
|
-
userAgent: client._options.userAgent,
|
|
65157
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
65158
|
-
}, options);
|
|
65159
|
-
if (!requestRes.ok) {
|
|
65160
|
-
return [requestRes, { status: "invalid" }];
|
|
65161
|
-
}
|
|
65162
|
-
const req = requestRes.value;
|
|
65163
|
-
const doResult = await client._do(req, {
|
|
65164
|
-
context,
|
|
65165
|
-
errorCodes: ["4XX", "5XX"],
|
|
65166
|
-
retryConfig: context.retryConfig,
|
|
65167
|
-
retryCodes: context.retryCodes
|
|
65168
|
-
});
|
|
65169
|
-
if (!doResult.ok) {
|
|
65170
|
-
return [doResult, { status: "request-error", request: req }];
|
|
65171
|
-
}
|
|
65172
|
-
const response = doResult.value;
|
|
65173
|
-
const [result] = await match(json(200, CreateDatasetExperimentResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
65174
|
-
if (!result.ok) {
|
|
65175
|
-
return [result, { status: "complete", request: req, response }];
|
|
65176
|
-
}
|
|
65177
|
-
return [result, { status: "complete", request: req, response }];
|
|
65178
|
-
}
|
|
65179
|
-
var init_datasetsCreateExperiment = __esm(() => {
|
|
65180
|
-
init_encodings();
|
|
65181
|
-
init_matchers();
|
|
65182
|
-
init_primitives();
|
|
65183
|
-
init_schemas();
|
|
65184
|
-
init_security();
|
|
65185
|
-
init_url();
|
|
65186
|
-
init_operations();
|
|
65187
|
-
init_async();
|
|
65188
|
-
});
|
|
65189
|
-
|
|
65190
|
-
// src/mcp-server/tools/datasetsCreateExperiment.ts
|
|
65191
|
-
var args9, tool$datasetsCreateExperiment;
|
|
65192
|
-
var init_datasetsCreateExperiment2 = __esm(() => {
|
|
65193
|
-
init_datasetsCreateExperiment();
|
|
65194
|
-
init_operations();
|
|
65195
|
-
init_tools();
|
|
65196
|
-
args9 = {
|
|
65197
|
-
request: CreateDatasetExperimentRequest$inboundSchema
|
|
65198
|
-
};
|
|
65199
|
-
tool$datasetsCreateExperiment = {
|
|
65200
|
-
name: "datasets-create-experiment",
|
|
65201
|
-
description: `Create an experiment from a dataset
|
|
65202
|
-
|
|
65203
|
-
Create an experiment from a dataset`,
|
|
65204
|
-
args: args9,
|
|
65205
|
-
tool: async (client, args10, ctx) => {
|
|
65206
|
-
const [result, apiCall] = await datasetsCreateExperiment(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65207
|
-
if (!result.ok) {
|
|
65208
|
-
return {
|
|
65209
|
-
content: [{ type: "text", text: result.error.message }],
|
|
65210
|
-
isError: true
|
|
65211
|
-
};
|
|
65212
|
-
}
|
|
65213
|
-
const value = result.value;
|
|
65214
|
-
return formatResult(value, apiCall);
|
|
65215
|
-
}
|
|
65216
|
-
};
|
|
65217
|
-
});
|
|
65218
|
-
|
|
65219
64940
|
// src/funcs/datasetsDelete.ts
|
|
65220
64941
|
function datasetsDelete(client, request, options) {
|
|
65221
|
-
return new APIPromise($
|
|
64942
|
+
return new APIPromise($do9(client, request, options));
|
|
65222
64943
|
}
|
|
65223
|
-
async function $
|
|
64944
|
+
async function $do9(client, request, options) {
|
|
65224
64945
|
const parsed = safeParse(request, (value) => DeleteDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65225
64946
|
if (!parsed.ok) {
|
|
65226
64947
|
return [parsed, { status: "invalid" }];
|
|
@@ -65293,12 +65014,12 @@ var init_datasetsDelete = __esm(() => {
|
|
|
65293
65014
|
});
|
|
65294
65015
|
|
|
65295
65016
|
// src/mcp-server/tools/datasetsDelete.ts
|
|
65296
|
-
var
|
|
65017
|
+
var args9, tool$datasetsDelete;
|
|
65297
65018
|
var init_datasetsDelete2 = __esm(() => {
|
|
65298
65019
|
init_datasetsDelete();
|
|
65299
65020
|
init_operations();
|
|
65300
65021
|
init_tools();
|
|
65301
|
-
|
|
65022
|
+
args9 = {
|
|
65302
65023
|
request: DeleteDatasetRequest$inboundSchema
|
|
65303
65024
|
};
|
|
65304
65025
|
tool$datasetsDelete = {
|
|
@@ -65306,9 +65027,9 @@ var init_datasetsDelete2 = __esm(() => {
|
|
|
65306
65027
|
description: `Delete a dataset
|
|
65307
65028
|
|
|
65308
65029
|
Permanently deletes a dataset and all its datapoints. This action is irreversible.`,
|
|
65309
|
-
args:
|
|
65310
|
-
tool: async (client,
|
|
65311
|
-
const [result, apiCall] = await datasetsDelete(client,
|
|
65030
|
+
args: args9,
|
|
65031
|
+
tool: async (client, args10, ctx) => {
|
|
65032
|
+
const [result, apiCall] = await datasetsDelete(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65312
65033
|
if (!result.ok) {
|
|
65313
65034
|
return {
|
|
65314
65035
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65322,9 +65043,9 @@ Permanently deletes a dataset and all its datapoints. This action is irreversibl
|
|
|
65322
65043
|
|
|
65323
65044
|
// src/funcs/datasetsDeleteDatapoint.ts
|
|
65324
65045
|
function datasetsDeleteDatapoint(client, request, options) {
|
|
65325
|
-
return new APIPromise($
|
|
65046
|
+
return new APIPromise($do10(client, request, options));
|
|
65326
65047
|
}
|
|
65327
|
-
async function $
|
|
65048
|
+
async function $do10(client, request, options) {
|
|
65328
65049
|
const parsed = safeParse(request, (value) => DeleteDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65329
65050
|
if (!parsed.ok) {
|
|
65330
65051
|
return [parsed, { status: "invalid" }];
|
|
@@ -65405,12 +65126,12 @@ var init_datasetsDeleteDatapoint = __esm(() => {
|
|
|
65405
65126
|
});
|
|
65406
65127
|
|
|
65407
65128
|
// src/mcp-server/tools/datasetsDeleteDatapoint.ts
|
|
65408
|
-
var
|
|
65129
|
+
var args10, tool$datasetsDeleteDatapoint;
|
|
65409
65130
|
var init_datasetsDeleteDatapoint2 = __esm(() => {
|
|
65410
65131
|
init_datasetsDeleteDatapoint();
|
|
65411
65132
|
init_operations();
|
|
65412
65133
|
init_tools();
|
|
65413
|
-
|
|
65134
|
+
args10 = {
|
|
65414
65135
|
request: DeleteDatapointRequest$inboundSchema
|
|
65415
65136
|
};
|
|
65416
65137
|
tool$datasetsDeleteDatapoint = {
|
|
@@ -65418,9 +65139,9 @@ var init_datasetsDeleteDatapoint2 = __esm(() => {
|
|
|
65418
65139
|
description: `Delete a datapoint
|
|
65419
65140
|
|
|
65420
65141
|
Permanently deletes a specific datapoint from a dataset.`,
|
|
65421
|
-
args:
|
|
65422
|
-
tool: async (client,
|
|
65423
|
-
const [result, apiCall] = await datasetsDeleteDatapoint(client,
|
|
65142
|
+
args: args10,
|
|
65143
|
+
tool: async (client, args11, ctx) => {
|
|
65144
|
+
const [result, apiCall] = await datasetsDeleteDatapoint(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65424
65145
|
if (!result.ok) {
|
|
65425
65146
|
return {
|
|
65426
65147
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65434,9 +65155,9 @@ Permanently deletes a specific datapoint from a dataset.`,
|
|
|
65434
65155
|
|
|
65435
65156
|
// src/funcs/datasetsList.ts
|
|
65436
65157
|
function datasetsList(client, request, options) {
|
|
65437
|
-
return new APIPromise($
|
|
65158
|
+
return new APIPromise($do11(client, request, options));
|
|
65438
65159
|
}
|
|
65439
|
-
async function $
|
|
65160
|
+
async function $do11(client, request, options) {
|
|
65440
65161
|
const parsed = safeParse(request, (value) => ListDatasetsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
65441
65162
|
if (!parsed.ok) {
|
|
65442
65163
|
return [parsed, { status: "invalid" }];
|
|
@@ -65508,12 +65229,12 @@ var init_datasetsList = __esm(() => {
|
|
|
65508
65229
|
});
|
|
65509
65230
|
|
|
65510
65231
|
// src/mcp-server/tools/datasetsList.ts
|
|
65511
|
-
var
|
|
65232
|
+
var args11, tool$datasetsList;
|
|
65512
65233
|
var init_datasetsList2 = __esm(() => {
|
|
65513
65234
|
init_datasetsList();
|
|
65514
65235
|
init_operations();
|
|
65515
65236
|
init_tools();
|
|
65516
|
-
|
|
65237
|
+
args11 = {
|
|
65517
65238
|
request: ListDatasetsRequest$inboundSchema.optional()
|
|
65518
65239
|
};
|
|
65519
65240
|
tool$datasetsList = {
|
|
@@ -65521,9 +65242,9 @@ var init_datasetsList2 = __esm(() => {
|
|
|
65521
65242
|
description: `List datasets
|
|
65522
65243
|
|
|
65523
65244
|
Retrieves a paginated list of datasets for the current workspace. Results can be paginated using cursor-based pagination.`,
|
|
65524
|
-
args:
|
|
65525
|
-
tool: async (client,
|
|
65526
|
-
const [result, apiCall] = await datasetsList(client,
|
|
65245
|
+
args: args11,
|
|
65246
|
+
tool: async (client, args12, ctx) => {
|
|
65247
|
+
const [result, apiCall] = await datasetsList(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65527
65248
|
if (!result.ok) {
|
|
65528
65249
|
return {
|
|
65529
65250
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65538,9 +65259,9 @@ Retrieves a paginated list of datasets for the current workspace. Results can be
|
|
|
65538
65259
|
|
|
65539
65260
|
// src/funcs/datasetsListDatapoints.ts
|
|
65540
65261
|
function datasetsListDatapoints(client, request, options) {
|
|
65541
|
-
return new APIPromise($
|
|
65262
|
+
return new APIPromise($do12(client, request, options));
|
|
65542
65263
|
}
|
|
65543
|
-
async function $
|
|
65264
|
+
async function $do12(client, request, options) {
|
|
65544
65265
|
const parsed = safeParse(request, (value) => ListDatasetDatapointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65545
65266
|
if (!parsed.ok) {
|
|
65546
65267
|
return [parsed, { status: "invalid" }];
|
|
@@ -65618,12 +65339,12 @@ var init_datasetsListDatapoints = __esm(() => {
|
|
|
65618
65339
|
});
|
|
65619
65340
|
|
|
65620
65341
|
// src/mcp-server/tools/datasetsListDatapoints.ts
|
|
65621
|
-
var
|
|
65342
|
+
var args12, tool$datasetsListDatapoints;
|
|
65622
65343
|
var init_datasetsListDatapoints2 = __esm(() => {
|
|
65623
65344
|
init_datasetsListDatapoints();
|
|
65624
65345
|
init_operations();
|
|
65625
65346
|
init_tools();
|
|
65626
|
-
|
|
65347
|
+
args12 = {
|
|
65627
65348
|
request: ListDatasetDatapointsRequest$inboundSchema
|
|
65628
65349
|
};
|
|
65629
65350
|
tool$datasetsListDatapoints = {
|
|
@@ -65631,9 +65352,9 @@ var init_datasetsListDatapoints2 = __esm(() => {
|
|
|
65631
65352
|
description: `List datapoints
|
|
65632
65353
|
|
|
65633
65354
|
Retrieves a paginated list of datapoints from a specific dataset.`,
|
|
65634
|
-
args:
|
|
65635
|
-
tool: async (client,
|
|
65636
|
-
const [result, apiCall] = await datasetsListDatapoints(client,
|
|
65355
|
+
args: args12,
|
|
65356
|
+
tool: async (client, args13, ctx) => {
|
|
65357
|
+
const [result, apiCall] = await datasetsListDatapoints(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65637
65358
|
if (!result.ok) {
|
|
65638
65359
|
return {
|
|
65639
65360
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65648,9 +65369,9 @@ Retrieves a paginated list of datapoints from a specific dataset.`,
|
|
|
65648
65369
|
|
|
65649
65370
|
// src/funcs/datasetsRetrieve.ts
|
|
65650
65371
|
function datasetsRetrieve(client, request, options) {
|
|
65651
|
-
return new APIPromise($
|
|
65372
|
+
return new APIPromise($do13(client, request, options));
|
|
65652
65373
|
}
|
|
65653
|
-
async function $
|
|
65374
|
+
async function $do13(client, request, options) {
|
|
65654
65375
|
const parsed = safeParse(request, (value) => RetrieveDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65655
65376
|
if (!parsed.ok) {
|
|
65656
65377
|
return [parsed, { status: "invalid" }];
|
|
@@ -65726,12 +65447,12 @@ var init_datasetsRetrieve = __esm(() => {
|
|
|
65726
65447
|
});
|
|
65727
65448
|
|
|
65728
65449
|
// src/mcp-server/tools/datasetsRetrieve.ts
|
|
65729
|
-
var
|
|
65450
|
+
var args13, tool$datasetsRetrieve;
|
|
65730
65451
|
var init_datasetsRetrieve2 = __esm(() => {
|
|
65731
65452
|
init_datasetsRetrieve();
|
|
65732
65453
|
init_operations();
|
|
65733
65454
|
init_tools();
|
|
65734
|
-
|
|
65455
|
+
args13 = {
|
|
65735
65456
|
request: RetrieveDatasetRequest$inboundSchema
|
|
65736
65457
|
};
|
|
65737
65458
|
tool$datasetsRetrieve = {
|
|
@@ -65739,9 +65460,9 @@ var init_datasetsRetrieve2 = __esm(() => {
|
|
|
65739
65460
|
description: `Retrieve a dataset
|
|
65740
65461
|
|
|
65741
65462
|
Retrieves a specific dataset by its unique identifier`,
|
|
65742
|
-
args:
|
|
65743
|
-
tool: async (client,
|
|
65744
|
-
const [result, apiCall] = await datasetsRetrieve(client,
|
|
65463
|
+
args: args13,
|
|
65464
|
+
tool: async (client, args14, ctx) => {
|
|
65465
|
+
const [result, apiCall] = await datasetsRetrieve(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65745
65466
|
if (!result.ok) {
|
|
65746
65467
|
return {
|
|
65747
65468
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65756,9 +65477,9 @@ Retrieves a specific dataset by its unique identifier`,
|
|
|
65756
65477
|
|
|
65757
65478
|
// src/funcs/datasetsRetrieveDatapoint.ts
|
|
65758
65479
|
function datasetsRetrieveDatapoint(client, request, options) {
|
|
65759
|
-
return new APIPromise($
|
|
65480
|
+
return new APIPromise($do14(client, request, options));
|
|
65760
65481
|
}
|
|
65761
|
-
async function $
|
|
65482
|
+
async function $do14(client, request, options) {
|
|
65762
65483
|
const parsed = safeParse(request, (value) => RetrieveDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65763
65484
|
if (!parsed.ok) {
|
|
65764
65485
|
return [parsed, { status: "invalid" }];
|
|
@@ -65838,12 +65559,12 @@ var init_datasetsRetrieveDatapoint = __esm(() => {
|
|
|
65838
65559
|
});
|
|
65839
65560
|
|
|
65840
65561
|
// src/mcp-server/tools/datasetsRetrieveDatapoint.ts
|
|
65841
|
-
var
|
|
65562
|
+
var args14, tool$datasetsRetrieveDatapoint;
|
|
65842
65563
|
var init_datasetsRetrieveDatapoint2 = __esm(() => {
|
|
65843
65564
|
init_datasetsRetrieveDatapoint();
|
|
65844
65565
|
init_operations();
|
|
65845
65566
|
init_tools();
|
|
65846
|
-
|
|
65567
|
+
args14 = {
|
|
65847
65568
|
request: RetrieveDatapointRequest$inboundSchema
|
|
65848
65569
|
};
|
|
65849
65570
|
tool$datasetsRetrieveDatapoint = {
|
|
@@ -65851,9 +65572,9 @@ var init_datasetsRetrieveDatapoint2 = __esm(() => {
|
|
|
65851
65572
|
description: `Retrieve a datapoint
|
|
65852
65573
|
|
|
65853
65574
|
Retrieves a datapoint object`,
|
|
65854
|
-
args:
|
|
65855
|
-
tool: async (client,
|
|
65856
|
-
const [result, apiCall] = await datasetsRetrieveDatapoint(client,
|
|
65575
|
+
args: args14,
|
|
65576
|
+
tool: async (client, args15, ctx) => {
|
|
65577
|
+
const [result, apiCall] = await datasetsRetrieveDatapoint(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65857
65578
|
if (!result.ok) {
|
|
65858
65579
|
return {
|
|
65859
65580
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65868,9 +65589,9 @@ Retrieves a datapoint object`,
|
|
|
65868
65589
|
|
|
65869
65590
|
// src/funcs/datasetsUpdate.ts
|
|
65870
65591
|
function datasetsUpdate(client, request, options) {
|
|
65871
|
-
return new APIPromise($
|
|
65592
|
+
return new APIPromise($do15(client, request, options));
|
|
65872
65593
|
}
|
|
65873
|
-
async function $
|
|
65594
|
+
async function $do15(client, request, options) {
|
|
65874
65595
|
const parsed = safeParse(request, (value) => UpdateDatasetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65875
65596
|
if (!parsed.ok) {
|
|
65876
65597
|
return [parsed, { status: "invalid" }];
|
|
@@ -65947,12 +65668,12 @@ var init_datasetsUpdate = __esm(() => {
|
|
|
65947
65668
|
});
|
|
65948
65669
|
|
|
65949
65670
|
// src/mcp-server/tools/datasetsUpdate.ts
|
|
65950
|
-
var
|
|
65671
|
+
var args15, tool$datasetsUpdate;
|
|
65951
65672
|
var init_datasetsUpdate2 = __esm(() => {
|
|
65952
65673
|
init_datasetsUpdate();
|
|
65953
65674
|
init_operations();
|
|
65954
65675
|
init_tools();
|
|
65955
|
-
|
|
65676
|
+
args15 = {
|
|
65956
65677
|
request: UpdateDatasetRequest$inboundSchema
|
|
65957
65678
|
};
|
|
65958
65679
|
tool$datasetsUpdate = {
|
|
@@ -65960,9 +65681,9 @@ var init_datasetsUpdate2 = __esm(() => {
|
|
|
65960
65681
|
description: `Update a dataset
|
|
65961
65682
|
|
|
65962
65683
|
Update a dataset`,
|
|
65963
|
-
args:
|
|
65964
|
-
tool: async (client,
|
|
65965
|
-
const [result, apiCall] = await datasetsUpdate(client,
|
|
65684
|
+
args: args15,
|
|
65685
|
+
tool: async (client, args16, ctx) => {
|
|
65686
|
+
const [result, apiCall] = await datasetsUpdate(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65966
65687
|
if (!result.ok) {
|
|
65967
65688
|
return {
|
|
65968
65689
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65977,9 +65698,9 @@ Update a dataset`,
|
|
|
65977
65698
|
|
|
65978
65699
|
// src/funcs/datasetsUpdateDatapoint.ts
|
|
65979
65700
|
function datasetsUpdateDatapoint(client, request, options) {
|
|
65980
|
-
return new APIPromise($
|
|
65701
|
+
return new APIPromise($do16(client, request, options));
|
|
65981
65702
|
}
|
|
65982
|
-
async function $
|
|
65703
|
+
async function $do16(client, request, options) {
|
|
65983
65704
|
const parsed = safeParse(request, (value) => UpdateDatapointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65984
65705
|
if (!parsed.ok) {
|
|
65985
65706
|
return [parsed, { status: "invalid" }];
|
|
@@ -66060,20 +65781,20 @@ var init_datasetsUpdateDatapoint = __esm(() => {
|
|
|
66060
65781
|
});
|
|
66061
65782
|
|
|
66062
65783
|
// src/mcp-server/tools/datasetsUpdateDatapoint.ts
|
|
66063
|
-
var
|
|
65784
|
+
var args16, tool$datasetsUpdateDatapoint;
|
|
66064
65785
|
var init_datasetsUpdateDatapoint2 = __esm(() => {
|
|
66065
65786
|
init_datasetsUpdateDatapoint();
|
|
66066
65787
|
init_operations();
|
|
66067
65788
|
init_tools();
|
|
66068
|
-
|
|
65789
|
+
args16 = {
|
|
66069
65790
|
request: UpdateDatapointRequest$inboundSchema
|
|
66070
65791
|
};
|
|
66071
65792
|
tool$datasetsUpdateDatapoint = {
|
|
66072
65793
|
name: "datasets-update-datapoint",
|
|
66073
65794
|
description: `Update a datapoint`,
|
|
66074
|
-
args:
|
|
66075
|
-
tool: async (client,
|
|
66076
|
-
const [result, apiCall] = await datasetsUpdateDatapoint(client,
|
|
65795
|
+
args: args16,
|
|
65796
|
+
tool: async (client, args17, ctx) => {
|
|
65797
|
+
const [result, apiCall] = await datasetsUpdateDatapoint(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66077
65798
|
if (!result.ok) {
|
|
66078
65799
|
return {
|
|
66079
65800
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66086,24 +65807,18 @@ var init_datasetsUpdateDatapoint2 = __esm(() => {
|
|
|
66086
65807
|
};
|
|
66087
65808
|
});
|
|
66088
65809
|
|
|
66089
|
-
// src/funcs/
|
|
66090
|
-
function
|
|
66091
|
-
return new APIPromise($
|
|
65810
|
+
// src/funcs/deploymentsGetConfig.ts
|
|
65811
|
+
function deploymentsGetConfig(client, request, options) {
|
|
65812
|
+
return new APIPromise($do17(client, request, options));
|
|
66092
65813
|
}
|
|
66093
|
-
async function $
|
|
66094
|
-
const parsed = safeParse(request, (value) =>
|
|
65814
|
+
async function $do17(client, request, options) {
|
|
65815
|
+
const parsed = safeParse(request, (value) => DeploymentGetConfigRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
66095
65816
|
if (!parsed.ok) {
|
|
66096
65817
|
return [parsed, { status: "invalid" }];
|
|
66097
65818
|
}
|
|
66098
65819
|
const payload = parsed.value;
|
|
66099
|
-
const body = encodeJSON("body", payload
|
|
66100
|
-
const
|
|
66101
|
-
deployment_key: encodeSimple("deployment_key", payload.deployment_key, {
|
|
66102
|
-
explode: false,
|
|
66103
|
-
charEncoding: "percent"
|
|
66104
|
-
})
|
|
66105
|
-
};
|
|
66106
|
-
const path = pathToFunc("/v2/deployments/{deployment_key}/experiment")(pathParams);
|
|
65820
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
65821
|
+
const path = pathToFunc("/v2/deployments/get_config")();
|
|
66107
65822
|
const headers = new Headers(compactMap({
|
|
66108
65823
|
"Content-Type": "application/json",
|
|
66109
65824
|
Accept: "application/json"
|
|
@@ -66114,106 +65829,7 @@ async function $do18(client, request, options) {
|
|
|
66114
65829
|
const context = {
|
|
66115
65830
|
options: client._options,
|
|
66116
65831
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
66117
|
-
operationID: "
|
|
66118
|
-
oAuth2Scopes: [],
|
|
66119
|
-
resolvedSecurity: requestSecurity,
|
|
66120
|
-
securitySource: client._options.apiKey,
|
|
66121
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
66122
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
66123
|
-
};
|
|
66124
|
-
const requestRes = client._createRequest(context, {
|
|
66125
|
-
security: requestSecurity,
|
|
66126
|
-
method: "POST",
|
|
66127
|
-
baseURL: options?.serverURL,
|
|
66128
|
-
path,
|
|
66129
|
-
headers,
|
|
66130
|
-
body,
|
|
66131
|
-
userAgent: client._options.userAgent,
|
|
66132
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
66133
|
-
}, options);
|
|
66134
|
-
if (!requestRes.ok) {
|
|
66135
|
-
return [requestRes, { status: "invalid" }];
|
|
66136
|
-
}
|
|
66137
|
-
const req = requestRes.value;
|
|
66138
|
-
const doResult = await client._do(req, {
|
|
66139
|
-
context,
|
|
66140
|
-
errorCodes: ["4XX", "5XX"],
|
|
66141
|
-
retryConfig: context.retryConfig,
|
|
66142
|
-
retryCodes: context.retryCodes
|
|
66143
|
-
});
|
|
66144
|
-
if (!doResult.ok) {
|
|
66145
|
-
return [doResult, { status: "request-error", request: req }];
|
|
66146
|
-
}
|
|
66147
|
-
const response = doResult.value;
|
|
66148
|
-
const [result] = await match(json(200, CreateDeploymentExperimentResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
66149
|
-
if (!result.ok) {
|
|
66150
|
-
return [result, { status: "complete", request: req, response }];
|
|
66151
|
-
}
|
|
66152
|
-
return [result, { status: "complete", request: req, response }];
|
|
66153
|
-
}
|
|
66154
|
-
var init_deploymentsCreateExperiment = __esm(() => {
|
|
66155
|
-
init_encodings();
|
|
66156
|
-
init_matchers();
|
|
66157
|
-
init_primitives();
|
|
66158
|
-
init_schemas();
|
|
66159
|
-
init_security();
|
|
66160
|
-
init_url();
|
|
66161
|
-
init_operations();
|
|
66162
|
-
init_async();
|
|
66163
|
-
});
|
|
66164
|
-
|
|
66165
|
-
// src/mcp-server/tools/deploymentsCreateExperiment.ts
|
|
66166
|
-
var args18, tool$deploymentsCreateExperiment;
|
|
66167
|
-
var init_deploymentsCreateExperiment2 = __esm(() => {
|
|
66168
|
-
init_deploymentsCreateExperiment();
|
|
66169
|
-
init_operations();
|
|
66170
|
-
init_tools();
|
|
66171
|
-
args18 = {
|
|
66172
|
-
request: CreateDeploymentExperimentRequest$inboundSchema
|
|
66173
|
-
};
|
|
66174
|
-
tool$deploymentsCreateExperiment = {
|
|
66175
|
-
name: "deployments-create-experiment",
|
|
66176
|
-
description: `Create an experiment from a deployment
|
|
66177
|
-
|
|
66178
|
-
Create an experiment from a deployment`,
|
|
66179
|
-
args: args18,
|
|
66180
|
-
tool: async (client, args19, ctx) => {
|
|
66181
|
-
const [result, apiCall] = await deploymentsCreateExperiment(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66182
|
-
if (!result.ok) {
|
|
66183
|
-
return {
|
|
66184
|
-
content: [{ type: "text", text: result.error.message }],
|
|
66185
|
-
isError: true
|
|
66186
|
-
};
|
|
66187
|
-
}
|
|
66188
|
-
const value = result.value;
|
|
66189
|
-
return formatResult(value, apiCall);
|
|
66190
|
-
}
|
|
66191
|
-
};
|
|
66192
|
-
});
|
|
66193
|
-
|
|
66194
|
-
// src/funcs/deploymentsGetConfig.ts
|
|
66195
|
-
function deploymentsGetConfig(client, request, options) {
|
|
66196
|
-
return new APIPromise($do19(client, request, options));
|
|
66197
|
-
}
|
|
66198
|
-
async function $do19(client, request, options) {
|
|
66199
|
-
const parsed = safeParse(request, (value) => DeploymentGetConfigRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
66200
|
-
if (!parsed.ok) {
|
|
66201
|
-
return [parsed, { status: "invalid" }];
|
|
66202
|
-
}
|
|
66203
|
-
const payload = parsed.value;
|
|
66204
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
66205
|
-
const path = pathToFunc("/v2/deployments/get_config")();
|
|
66206
|
-
const headers = new Headers(compactMap({
|
|
66207
|
-
"Content-Type": "application/json",
|
|
66208
|
-
Accept: "application/json"
|
|
66209
|
-
}));
|
|
66210
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
66211
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
66212
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
66213
|
-
const context = {
|
|
66214
|
-
options: client._options,
|
|
66215
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
66216
|
-
operationID: "DeploymentGetConfig",
|
|
65832
|
+
operationID: "DeploymentGetConfig",
|
|
66217
65833
|
oAuth2Scopes: [],
|
|
66218
65834
|
resolvedSecurity: requestSecurity,
|
|
66219
65835
|
securitySource: client._options.apiKey,
|
|
@@ -66262,12 +65878,12 @@ var init_deploymentsGetConfig = __esm(() => {
|
|
|
66262
65878
|
});
|
|
66263
65879
|
|
|
66264
65880
|
// src/mcp-server/tools/deploymentsGetConfig.ts
|
|
66265
|
-
var
|
|
65881
|
+
var args17, tool$deploymentsGetConfig;
|
|
66266
65882
|
var init_deploymentsGetConfig2 = __esm(() => {
|
|
66267
65883
|
init_deploymentsGetConfig();
|
|
66268
65884
|
init_operations();
|
|
66269
65885
|
init_tools();
|
|
66270
|
-
|
|
65886
|
+
args17 = {
|
|
66271
65887
|
request: DeploymentGetConfigRequestBody$inboundSchema
|
|
66272
65888
|
};
|
|
66273
65889
|
tool$deploymentsGetConfig = {
|
|
@@ -66275,9 +65891,9 @@ var init_deploymentsGetConfig2 = __esm(() => {
|
|
|
66275
65891
|
description: `Get config
|
|
66276
65892
|
|
|
66277
65893
|
Retrieve the deployment configuration`,
|
|
66278
|
-
args:
|
|
66279
|
-
tool: async (client,
|
|
66280
|
-
const [result, apiCall] = await deploymentsGetConfig(client,
|
|
65894
|
+
args: args17,
|
|
65895
|
+
tool: async (client, args18, ctx) => {
|
|
65896
|
+
const [result, apiCall] = await deploymentsGetConfig(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66281
65897
|
if (!result.ok) {
|
|
66282
65898
|
return {
|
|
66283
65899
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68072,9 +67688,9 @@ var init_components = __esm(() => {
|
|
|
68072
67688
|
|
|
68073
67689
|
// src/funcs/deploymentsInvoke.ts
|
|
68074
67690
|
function deploymentsInvoke(client, request, options) {
|
|
68075
|
-
return new APIPromise($
|
|
67691
|
+
return new APIPromise($do18(client, request, options));
|
|
68076
67692
|
}
|
|
68077
|
-
async function $
|
|
67693
|
+
async function $do18(client, request, options) {
|
|
68078
67694
|
const parsed = safeParse(request, (value) => Deployments$outboundSchema.parse(value), "Input validation failed");
|
|
68079
67695
|
if (!parsed.ok) {
|
|
68080
67696
|
return [parsed, { status: "invalid" }];
|
|
@@ -68150,12 +67766,12 @@ var init_deploymentsInvoke = __esm(() => {
|
|
|
68150
67766
|
});
|
|
68151
67767
|
|
|
68152
67768
|
// src/mcp-server/tools/deploymentsInvoke.ts
|
|
68153
|
-
var
|
|
67769
|
+
var args18, tool$deploymentsInvoke;
|
|
68154
67770
|
var init_deploymentsInvoke2 = __esm(() => {
|
|
68155
67771
|
init_deploymentsInvoke();
|
|
68156
67772
|
init_components();
|
|
68157
67773
|
init_tools();
|
|
68158
|
-
|
|
67774
|
+
args18 = {
|
|
68159
67775
|
request: Deployments$inboundSchema
|
|
68160
67776
|
};
|
|
68161
67777
|
tool$deploymentsInvoke = {
|
|
@@ -68163,9 +67779,9 @@ var init_deploymentsInvoke2 = __esm(() => {
|
|
|
68163
67779
|
description: `Invoke
|
|
68164
67780
|
|
|
68165
67781
|
Invoke a deployment with a given payload`,
|
|
68166
|
-
args:
|
|
68167
|
-
tool: async (client,
|
|
68168
|
-
const [result, apiCall] = await deploymentsInvoke(client,
|
|
67782
|
+
args: args18,
|
|
67783
|
+
tool: async (client, args19, ctx) => {
|
|
67784
|
+
const [result, apiCall] = await deploymentsInvoke(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68169
67785
|
if (!result.ok) {
|
|
68170
67786
|
return {
|
|
68171
67787
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68180,9 +67796,9 @@ Invoke a deployment with a given payload`,
|
|
|
68180
67796
|
|
|
68181
67797
|
// src/funcs/deploymentsList.ts
|
|
68182
67798
|
function deploymentsList(client, request, options) {
|
|
68183
|
-
return new APIPromise($
|
|
67799
|
+
return new APIPromise($do19(client, request, options));
|
|
68184
67800
|
}
|
|
68185
|
-
async function $
|
|
67801
|
+
async function $do19(client, request, options) {
|
|
68186
67802
|
const parsed = safeParse(request, (value) => DeploymentsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68187
67803
|
if (!parsed.ok) {
|
|
68188
67804
|
return [parsed, { status: "invalid" }];
|
|
@@ -68258,12 +67874,12 @@ var init_deploymentsList = __esm(() => {
|
|
|
68258
67874
|
});
|
|
68259
67875
|
|
|
68260
67876
|
// src/mcp-server/tools/deploymentsList.ts
|
|
68261
|
-
var
|
|
67877
|
+
var args19, tool$deploymentsList;
|
|
68262
67878
|
var init_deploymentsList2 = __esm(() => {
|
|
68263
67879
|
init_deploymentsList();
|
|
68264
67880
|
init_operations();
|
|
68265
67881
|
init_tools();
|
|
68266
|
-
|
|
67882
|
+
args19 = {
|
|
68267
67883
|
request: DeploymentsRequest$inboundSchema.optional()
|
|
68268
67884
|
};
|
|
68269
67885
|
tool$deploymentsList = {
|
|
@@ -68271,9 +67887,9 @@ var init_deploymentsList2 = __esm(() => {
|
|
|
68271
67887
|
description: `List all deployments
|
|
68272
67888
|
|
|
68273
67889
|
Returns a list of your deployments. The deployments are returned sorted by creation date, with the most recent deployments appearing first.`,
|
|
68274
|
-
args:
|
|
68275
|
-
tool: async (client,
|
|
68276
|
-
const [result, apiCall] = await deploymentsList(client,
|
|
67890
|
+
args: args19,
|
|
67891
|
+
tool: async (client, args20, ctx) => {
|
|
67892
|
+
const [result, apiCall] = await deploymentsList(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68277
67893
|
if (!result.ok) {
|
|
68278
67894
|
return {
|
|
68279
67895
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68288,9 +67904,9 @@ Returns a list of your deployments. The deployments are returned sorted by creat
|
|
|
68288
67904
|
|
|
68289
67905
|
// src/funcs/deploymentsMetricsCreate.ts
|
|
68290
67906
|
function deploymentsMetricsCreate(client, request, options) {
|
|
68291
|
-
return new APIPromise($
|
|
67907
|
+
return new APIPromise($do20(client, request, options));
|
|
68292
67908
|
}
|
|
68293
|
-
async function $
|
|
67909
|
+
async function $do20(client, request, options) {
|
|
68294
67910
|
const parsed = safeParse(request, (value) => DeploymentCreateMetricRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68295
67911
|
if (!parsed.ok) {
|
|
68296
67912
|
return [parsed, { status: "invalid" }];
|
|
@@ -68363,12 +67979,12 @@ var init_deploymentsMetricsCreate = __esm(() => {
|
|
|
68363
67979
|
});
|
|
68364
67980
|
|
|
68365
67981
|
// src/mcp-server/tools/deploymentsMetricsCreate.ts
|
|
68366
|
-
var
|
|
67982
|
+
var args20, tool$deploymentsMetricsCreate;
|
|
68367
67983
|
var init_deploymentsMetricsCreate2 = __esm(() => {
|
|
68368
67984
|
init_deploymentsMetricsCreate();
|
|
68369
67985
|
init_operations();
|
|
68370
67986
|
init_tools();
|
|
68371
|
-
|
|
67987
|
+
args20 = {
|
|
68372
67988
|
request: DeploymentCreateMetricRequest$inboundSchema
|
|
68373
67989
|
};
|
|
68374
67990
|
tool$deploymentsMetricsCreate = {
|
|
@@ -68376,9 +67992,9 @@ var init_deploymentsMetricsCreate2 = __esm(() => {
|
|
|
68376
67992
|
description: `Add metrics
|
|
68377
67993
|
|
|
68378
67994
|
Add metrics to a deployment`,
|
|
68379
|
-
args:
|
|
68380
|
-
tool: async (client,
|
|
68381
|
-
const [result, apiCall] = await deploymentsMetricsCreate(client,
|
|
67995
|
+
args: args20,
|
|
67996
|
+
tool: async (client, args21, ctx) => {
|
|
67997
|
+
const [result, apiCall] = await deploymentsMetricsCreate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68382
67998
|
if (!result.ok) {
|
|
68383
67999
|
return {
|
|
68384
68000
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68393,9 +68009,9 @@ Add metrics to a deployment`,
|
|
|
68393
68009
|
|
|
68394
68010
|
// src/funcs/deploymentsStream.ts
|
|
68395
68011
|
function deploymentsStream(client, request, options) {
|
|
68396
|
-
return new APIPromise($
|
|
68012
|
+
return new APIPromise($do21(client, request, options));
|
|
68397
68013
|
}
|
|
68398
|
-
async function $
|
|
68014
|
+
async function $do21(client, request, options) {
|
|
68399
68015
|
const parsed = safeParse(request, (value) => DeploymentStreamRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
68400
68016
|
if (!parsed.ok) {
|
|
68401
68017
|
return [parsed, { status: "invalid" }];
|
|
@@ -68480,12 +68096,12 @@ var init_deploymentsStream = __esm(() => {
|
|
|
68480
68096
|
});
|
|
68481
68097
|
|
|
68482
68098
|
// src/mcp-server/tools/deploymentsStream.ts
|
|
68483
|
-
var
|
|
68099
|
+
var args21, tool$deploymentsStream;
|
|
68484
68100
|
var init_deploymentsStream2 = __esm(() => {
|
|
68485
68101
|
init_deploymentsStream();
|
|
68486
68102
|
init_operations();
|
|
68487
68103
|
init_tools();
|
|
68488
|
-
|
|
68104
|
+
args21 = {
|
|
68489
68105
|
request: DeploymentStreamRequestBody$inboundSchema
|
|
68490
68106
|
};
|
|
68491
68107
|
tool$deploymentsStream = {
|
|
@@ -68493,9 +68109,9 @@ var init_deploymentsStream2 = __esm(() => {
|
|
|
68493
68109
|
description: `Stream
|
|
68494
68110
|
|
|
68495
68111
|
Stream deployment generation. Only supported for completions and chat completions.`,
|
|
68496
|
-
args:
|
|
68497
|
-
tool: async (client,
|
|
68498
|
-
const [result, apiCall] = await deploymentsStream(client,
|
|
68112
|
+
args: args21,
|
|
68113
|
+
tool: async (client, args22, ctx) => {
|
|
68114
|
+
const [result, apiCall] = await deploymentsStream(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68499
68115
|
if (!result.ok) {
|
|
68500
68116
|
return {
|
|
68501
68117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68510,9 +68126,9 @@ Stream deployment generation. Only supported for completions and chat completion
|
|
|
68510
68126
|
|
|
68511
68127
|
// src/funcs/evalsAgeAppropriate.ts
|
|
68512
68128
|
function evalsAgeAppropriate(client, request, options) {
|
|
68513
|
-
return new APIPromise($
|
|
68129
|
+
return new APIPromise($do22(client, request, options));
|
|
68514
68130
|
}
|
|
68515
|
-
async function $
|
|
68131
|
+
async function $do22(client, request, options) {
|
|
68516
68132
|
const parsed = safeParse(request, (value) => EvalsAgeAppropriateRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68517
68133
|
if (!parsed.ok) {
|
|
68518
68134
|
return [parsed, { status: "invalid" }];
|
|
@@ -68583,20 +68199,20 @@ var init_evalsAgeAppropriate = __esm(() => {
|
|
|
68583
68199
|
});
|
|
68584
68200
|
|
|
68585
68201
|
// src/mcp-server/tools/evalsAgeAppropriate.ts
|
|
68586
|
-
var
|
|
68202
|
+
var args22, tool$evalsAgeAppropriate;
|
|
68587
68203
|
var init_evalsAgeAppropriate2 = __esm(() => {
|
|
68588
68204
|
init_evalsAgeAppropriate();
|
|
68589
68205
|
init_operations();
|
|
68590
68206
|
init_tools();
|
|
68591
|
-
|
|
68207
|
+
args22 = {
|
|
68592
68208
|
request: EvalsAgeAppropriateRequestBody$inboundSchema.optional()
|
|
68593
68209
|
};
|
|
68594
68210
|
tool$evalsAgeAppropriate = {
|
|
68595
68211
|
name: "evals-age-appropriate",
|
|
68596
68212
|
description: `Run Age Appropriate Evaluator`,
|
|
68597
|
-
args:
|
|
68598
|
-
tool: async (client,
|
|
68599
|
-
const [result, apiCall] = await evalsAgeAppropriate(client,
|
|
68213
|
+
args: args22,
|
|
68214
|
+
tool: async (client, args23, ctx) => {
|
|
68215
|
+
const [result, apiCall] = await evalsAgeAppropriate(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68600
68216
|
if (!result.ok) {
|
|
68601
68217
|
return {
|
|
68602
68218
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68611,9 +68227,9 @@ var init_evalsAgeAppropriate2 = __esm(() => {
|
|
|
68611
68227
|
|
|
68612
68228
|
// src/funcs/evalsAll.ts
|
|
68613
68229
|
function evalsAll(client, request, options) {
|
|
68614
|
-
return new APIPromise($
|
|
68230
|
+
return new APIPromise($do23(client, request, options));
|
|
68615
68231
|
}
|
|
68616
|
-
async function $
|
|
68232
|
+
async function $do23(client, request, options) {
|
|
68617
68233
|
const parsed = safeParse(request, (value) => GetEvalsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68618
68234
|
if (!parsed.ok) {
|
|
68619
68235
|
return [parsed, { status: "invalid" }];
|
|
@@ -68689,20 +68305,20 @@ var init_evalsAll = __esm(() => {
|
|
|
68689
68305
|
});
|
|
68690
68306
|
|
|
68691
68307
|
// src/mcp-server/tools/evalsAll.ts
|
|
68692
|
-
var
|
|
68308
|
+
var args23, tool$evalsAll;
|
|
68693
68309
|
var init_evalsAll2 = __esm(() => {
|
|
68694
68310
|
init_evalsAll();
|
|
68695
68311
|
init_operations();
|
|
68696
68312
|
init_tools();
|
|
68697
|
-
|
|
68313
|
+
args23 = {
|
|
68698
68314
|
request: GetEvalsRequest$inboundSchema.optional()
|
|
68699
68315
|
};
|
|
68700
68316
|
tool$evalsAll = {
|
|
68701
68317
|
name: "evals-all",
|
|
68702
68318
|
description: `Get all Evaluators`,
|
|
68703
|
-
args:
|
|
68704
|
-
tool: async (client,
|
|
68705
|
-
const [result, apiCall] = await evalsAll(client,
|
|
68319
|
+
args: args23,
|
|
68320
|
+
tool: async (client, args24, ctx) => {
|
|
68321
|
+
const [result, apiCall] = await evalsAll(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68706
68322
|
if (!result.ok) {
|
|
68707
68323
|
return {
|
|
68708
68324
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68717,9 +68333,9 @@ var init_evalsAll2 = __esm(() => {
|
|
|
68717
68333
|
|
|
68718
68334
|
// src/funcs/evalsBertScore.ts
|
|
68719
68335
|
function evalsBertScore(client, request, options) {
|
|
68720
|
-
return new APIPromise($
|
|
68336
|
+
return new APIPromise($do24(client, request, options));
|
|
68721
68337
|
}
|
|
68722
|
-
async function $
|
|
68338
|
+
async function $do24(client, request, options) {
|
|
68723
68339
|
const parsed = safeParse(request, (value) => EvalsBertScoreRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68724
68340
|
if (!parsed.ok) {
|
|
68725
68341
|
return [parsed, { status: "invalid" }];
|
|
@@ -68790,20 +68406,20 @@ var init_evalsBertScore = __esm(() => {
|
|
|
68790
68406
|
});
|
|
68791
68407
|
|
|
68792
68408
|
// src/mcp-server/tools/evalsBertScore.ts
|
|
68793
|
-
var
|
|
68409
|
+
var args24, tool$evalsBertScore;
|
|
68794
68410
|
var init_evalsBertScore2 = __esm(() => {
|
|
68795
68411
|
init_evalsBertScore();
|
|
68796
68412
|
init_operations();
|
|
68797
68413
|
init_tools();
|
|
68798
|
-
|
|
68414
|
+
args24 = {
|
|
68799
68415
|
request: EvalsBertScoreRequestBody$inboundSchema.optional()
|
|
68800
68416
|
};
|
|
68801
68417
|
tool$evalsBertScore = {
|
|
68802
68418
|
name: "evals-bert-score",
|
|
68803
68419
|
description: `Run BertScore Evaluator`,
|
|
68804
|
-
args:
|
|
68805
|
-
tool: async (client,
|
|
68806
|
-
const [result, apiCall] = await evalsBertScore(client,
|
|
68420
|
+
args: args24,
|
|
68421
|
+
tool: async (client, args25, ctx) => {
|
|
68422
|
+
const [result, apiCall] = await evalsBertScore(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68807
68423
|
if (!result.ok) {
|
|
68808
68424
|
return {
|
|
68809
68425
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68818,9 +68434,9 @@ var init_evalsBertScore2 = __esm(() => {
|
|
|
68818
68434
|
|
|
68819
68435
|
// src/funcs/evalsBleuScore.ts
|
|
68820
68436
|
function evalsBleuScore(client, request, options) {
|
|
68821
|
-
return new APIPromise($
|
|
68437
|
+
return new APIPromise($do25(client, request, options));
|
|
68822
68438
|
}
|
|
68823
|
-
async function $
|
|
68439
|
+
async function $do25(client, request, options) {
|
|
68824
68440
|
const parsed = safeParse(request, (value) => EvalsBleuScoreRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68825
68441
|
if (!parsed.ok) {
|
|
68826
68442
|
return [parsed, { status: "invalid" }];
|
|
@@ -68891,20 +68507,20 @@ var init_evalsBleuScore = __esm(() => {
|
|
|
68891
68507
|
});
|
|
68892
68508
|
|
|
68893
68509
|
// src/mcp-server/tools/evalsBleuScore.ts
|
|
68894
|
-
var
|
|
68510
|
+
var args25, tool$evalsBleuScore;
|
|
68895
68511
|
var init_evalsBleuScore2 = __esm(() => {
|
|
68896
68512
|
init_evalsBleuScore();
|
|
68897
68513
|
init_operations();
|
|
68898
68514
|
init_tools();
|
|
68899
|
-
|
|
68515
|
+
args25 = {
|
|
68900
68516
|
request: EvalsBleuScoreRequestBody$inboundSchema.optional()
|
|
68901
68517
|
};
|
|
68902
68518
|
tool$evalsBleuScore = {
|
|
68903
68519
|
name: "evals-bleu-score",
|
|
68904
68520
|
description: `Run BLEU Score Evaluator`,
|
|
68905
|
-
args:
|
|
68906
|
-
tool: async (client,
|
|
68907
|
-
const [result, apiCall] = await evalsBleuScore(client,
|
|
68521
|
+
args: args25,
|
|
68522
|
+
tool: async (client, args26, ctx) => {
|
|
68523
|
+
const [result, apiCall] = await evalsBleuScore(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68908
68524
|
if (!result.ok) {
|
|
68909
68525
|
return {
|
|
68910
68526
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68919,9 +68535,9 @@ var init_evalsBleuScore2 = __esm(() => {
|
|
|
68919
68535
|
|
|
68920
68536
|
// src/funcs/evalsBotDetection.ts
|
|
68921
68537
|
function evalsBotDetection(client, request, options) {
|
|
68922
|
-
return new APIPromise($
|
|
68538
|
+
return new APIPromise($do26(client, request, options));
|
|
68923
68539
|
}
|
|
68924
|
-
async function $
|
|
68540
|
+
async function $do26(client, request, options) {
|
|
68925
68541
|
const parsed = safeParse(request, (value) => EvalsBotDetectionRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
68926
68542
|
if (!parsed.ok) {
|
|
68927
68543
|
return [parsed, { status: "invalid" }];
|
|
@@ -68992,20 +68608,20 @@ var init_evalsBotDetection = __esm(() => {
|
|
|
68992
68608
|
});
|
|
68993
68609
|
|
|
68994
68610
|
// src/mcp-server/tools/evalsBotDetection.ts
|
|
68995
|
-
var
|
|
68611
|
+
var args26, tool$evalsBotDetection;
|
|
68996
68612
|
var init_evalsBotDetection2 = __esm(() => {
|
|
68997
68613
|
init_evalsBotDetection();
|
|
68998
68614
|
init_operations();
|
|
68999
68615
|
init_tools();
|
|
69000
|
-
|
|
68616
|
+
args26 = {
|
|
69001
68617
|
request: EvalsBotDetectionRequestBody$inboundSchema.optional()
|
|
69002
68618
|
};
|
|
69003
68619
|
tool$evalsBotDetection = {
|
|
69004
68620
|
name: "evals-bot-detection",
|
|
69005
68621
|
description: `Run Bot Detection Evaluator`,
|
|
69006
|
-
args:
|
|
69007
|
-
tool: async (client,
|
|
69008
|
-
const [result, apiCall] = await evalsBotDetection(client,
|
|
68622
|
+
args: args26,
|
|
68623
|
+
tool: async (client, args27, ctx) => {
|
|
68624
|
+
const [result, apiCall] = await evalsBotDetection(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69009
68625
|
if (!result.ok) {
|
|
69010
68626
|
return {
|
|
69011
68627
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69020,9 +68636,9 @@ var init_evalsBotDetection2 = __esm(() => {
|
|
|
69020
68636
|
|
|
69021
68637
|
// src/funcs/evalsContains.ts
|
|
69022
68638
|
function evalsContains(client, request, options) {
|
|
69023
|
-
return new APIPromise($
|
|
68639
|
+
return new APIPromise($do27(client, request, options));
|
|
69024
68640
|
}
|
|
69025
|
-
async function $
|
|
68641
|
+
async function $do27(client, request, options) {
|
|
69026
68642
|
const parsed = safeParse(request, (value) => EvalsContainsRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69027
68643
|
if (!parsed.ok) {
|
|
69028
68644
|
return [parsed, { status: "invalid" }];
|
|
@@ -69093,20 +68709,20 @@ var init_evalsContains = __esm(() => {
|
|
|
69093
68709
|
});
|
|
69094
68710
|
|
|
69095
68711
|
// src/mcp-server/tools/evalsContains.ts
|
|
69096
|
-
var
|
|
68712
|
+
var args27, tool$evalsContains;
|
|
69097
68713
|
var init_evalsContains2 = __esm(() => {
|
|
69098
68714
|
init_evalsContains();
|
|
69099
68715
|
init_operations();
|
|
69100
68716
|
init_tools();
|
|
69101
|
-
|
|
68717
|
+
args27 = {
|
|
69102
68718
|
request: EvalsContainsRequestBody$inboundSchema.optional()
|
|
69103
68719
|
};
|
|
69104
68720
|
tool$evalsContains = {
|
|
69105
68721
|
name: "evals-contains",
|
|
69106
68722
|
description: `Run Contains Evaluator`,
|
|
69107
|
-
args:
|
|
69108
|
-
tool: async (client,
|
|
69109
|
-
const [result, apiCall] = await evalsContains(client,
|
|
68723
|
+
args: args27,
|
|
68724
|
+
tool: async (client, args28, ctx) => {
|
|
68725
|
+
const [result, apiCall] = await evalsContains(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69110
68726
|
if (!result.ok) {
|
|
69111
68727
|
return {
|
|
69112
68728
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69121,9 +68737,9 @@ var init_evalsContains2 = __esm(() => {
|
|
|
69121
68737
|
|
|
69122
68738
|
// src/funcs/evalsContainsAll.ts
|
|
69123
68739
|
function evalsContainsAll(client, request, options) {
|
|
69124
|
-
return new APIPromise($
|
|
68740
|
+
return new APIPromise($do28(client, request, options));
|
|
69125
68741
|
}
|
|
69126
|
-
async function $
|
|
68742
|
+
async function $do28(client, request, options) {
|
|
69127
68743
|
const parsed = safeParse(request, (value) => EvalsContainsAllRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69128
68744
|
if (!parsed.ok) {
|
|
69129
68745
|
return [parsed, { status: "invalid" }];
|
|
@@ -69194,20 +68810,20 @@ var init_evalsContainsAll = __esm(() => {
|
|
|
69194
68810
|
});
|
|
69195
68811
|
|
|
69196
68812
|
// src/mcp-server/tools/evalsContainsAll.ts
|
|
69197
|
-
var
|
|
68813
|
+
var args28, tool$evalsContainsAll;
|
|
69198
68814
|
var init_evalsContainsAll2 = __esm(() => {
|
|
69199
68815
|
init_evalsContainsAll();
|
|
69200
68816
|
init_operations();
|
|
69201
68817
|
init_tools();
|
|
69202
|
-
|
|
68818
|
+
args28 = {
|
|
69203
68819
|
request: EvalsContainsAllRequestBody$inboundSchema.optional()
|
|
69204
68820
|
};
|
|
69205
68821
|
tool$evalsContainsAll = {
|
|
69206
68822
|
name: "evals-contains-all",
|
|
69207
68823
|
description: `Run Contains All Evaluator`,
|
|
69208
|
-
args:
|
|
69209
|
-
tool: async (client,
|
|
69210
|
-
const [result, apiCall] = await evalsContainsAll(client,
|
|
68824
|
+
args: args28,
|
|
68825
|
+
tool: async (client, args29, ctx) => {
|
|
68826
|
+
const [result, apiCall] = await evalsContainsAll(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69211
68827
|
if (!result.ok) {
|
|
69212
68828
|
return {
|
|
69213
68829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69222,9 +68838,9 @@ var init_evalsContainsAll2 = __esm(() => {
|
|
|
69222
68838
|
|
|
69223
68839
|
// src/funcs/evalsContainsAny.ts
|
|
69224
68840
|
function evalsContainsAny(client, request, options) {
|
|
69225
|
-
return new APIPromise($
|
|
68841
|
+
return new APIPromise($do29(client, request, options));
|
|
69226
68842
|
}
|
|
69227
|
-
async function $
|
|
68843
|
+
async function $do29(client, request, options) {
|
|
69228
68844
|
const parsed = safeParse(request, (value) => EvalsContainsAnyRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69229
68845
|
if (!parsed.ok) {
|
|
69230
68846
|
return [parsed, { status: "invalid" }];
|
|
@@ -69295,20 +68911,20 @@ var init_evalsContainsAny = __esm(() => {
|
|
|
69295
68911
|
});
|
|
69296
68912
|
|
|
69297
68913
|
// src/mcp-server/tools/evalsContainsAny.ts
|
|
69298
|
-
var
|
|
68914
|
+
var args29, tool$evalsContainsAny;
|
|
69299
68915
|
var init_evalsContainsAny2 = __esm(() => {
|
|
69300
68916
|
init_evalsContainsAny();
|
|
69301
68917
|
init_operations();
|
|
69302
68918
|
init_tools();
|
|
69303
|
-
|
|
68919
|
+
args29 = {
|
|
69304
68920
|
request: EvalsContainsAnyRequestBody$inboundSchema.optional()
|
|
69305
68921
|
};
|
|
69306
68922
|
tool$evalsContainsAny = {
|
|
69307
68923
|
name: "evals-contains-any",
|
|
69308
68924
|
description: `Run Contains Any Evaluator`,
|
|
69309
|
-
args:
|
|
69310
|
-
tool: async (client,
|
|
69311
|
-
const [result, apiCall] = await evalsContainsAny(client,
|
|
68925
|
+
args: args29,
|
|
68926
|
+
tool: async (client, args30, ctx) => {
|
|
68927
|
+
const [result, apiCall] = await evalsContainsAny(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69312
68928
|
if (!result.ok) {
|
|
69313
68929
|
return {
|
|
69314
68930
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69323,9 +68939,9 @@ var init_evalsContainsAny2 = __esm(() => {
|
|
|
69323
68939
|
|
|
69324
68940
|
// src/funcs/evalsContainsEmail.ts
|
|
69325
68941
|
function evalsContainsEmail(client, request, options) {
|
|
69326
|
-
return new APIPromise($
|
|
68942
|
+
return new APIPromise($do30(client, request, options));
|
|
69327
68943
|
}
|
|
69328
|
-
async function $
|
|
68944
|
+
async function $do30(client, request, options) {
|
|
69329
68945
|
const parsed = safeParse(request, (value) => EvalsContainsEmailRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69330
68946
|
if (!parsed.ok) {
|
|
69331
68947
|
return [parsed, { status: "invalid" }];
|
|
@@ -69396,20 +69012,20 @@ var init_evalsContainsEmail = __esm(() => {
|
|
|
69396
69012
|
});
|
|
69397
69013
|
|
|
69398
69014
|
// src/mcp-server/tools/evalsContainsEmail.ts
|
|
69399
|
-
var
|
|
69015
|
+
var args30, tool$evalsContainsEmail;
|
|
69400
69016
|
var init_evalsContainsEmail2 = __esm(() => {
|
|
69401
69017
|
init_evalsContainsEmail();
|
|
69402
69018
|
init_operations();
|
|
69403
69019
|
init_tools();
|
|
69404
|
-
|
|
69020
|
+
args30 = {
|
|
69405
69021
|
request: EvalsContainsEmailRequestBody$inboundSchema.optional()
|
|
69406
69022
|
};
|
|
69407
69023
|
tool$evalsContainsEmail = {
|
|
69408
69024
|
name: "evals-contains-email",
|
|
69409
69025
|
description: `Run Contains Email Evaluator`,
|
|
69410
|
-
args:
|
|
69411
|
-
tool: async (client,
|
|
69412
|
-
const [result, apiCall] = await evalsContainsEmail(client,
|
|
69026
|
+
args: args30,
|
|
69027
|
+
tool: async (client, args31, ctx) => {
|
|
69028
|
+
const [result, apiCall] = await evalsContainsEmail(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69413
69029
|
if (!result.ok) {
|
|
69414
69030
|
return {
|
|
69415
69031
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69424,9 +69040,9 @@ var init_evalsContainsEmail2 = __esm(() => {
|
|
|
69424
69040
|
|
|
69425
69041
|
// src/funcs/evalsContainsNone.ts
|
|
69426
69042
|
function evalsContainsNone(client, request, options) {
|
|
69427
|
-
return new APIPromise($
|
|
69043
|
+
return new APIPromise($do31(client, request, options));
|
|
69428
69044
|
}
|
|
69429
|
-
async function $
|
|
69045
|
+
async function $do31(client, request, options) {
|
|
69430
69046
|
const parsed = safeParse(request, (value) => EvalsContainsNoneRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69431
69047
|
if (!parsed.ok) {
|
|
69432
69048
|
return [parsed, { status: "invalid" }];
|
|
@@ -69497,20 +69113,20 @@ var init_evalsContainsNone = __esm(() => {
|
|
|
69497
69113
|
});
|
|
69498
69114
|
|
|
69499
69115
|
// src/mcp-server/tools/evalsContainsNone.ts
|
|
69500
|
-
var
|
|
69116
|
+
var args31, tool$evalsContainsNone;
|
|
69501
69117
|
var init_evalsContainsNone2 = __esm(() => {
|
|
69502
69118
|
init_evalsContainsNone();
|
|
69503
69119
|
init_operations();
|
|
69504
69120
|
init_tools();
|
|
69505
|
-
|
|
69121
|
+
args31 = {
|
|
69506
69122
|
request: EvalsContainsNoneRequestBody$inboundSchema.optional()
|
|
69507
69123
|
};
|
|
69508
69124
|
tool$evalsContainsNone = {
|
|
69509
69125
|
name: "evals-contains-none",
|
|
69510
69126
|
description: `Run Contains None Evaluator`,
|
|
69511
|
-
args:
|
|
69512
|
-
tool: async (client,
|
|
69513
|
-
const [result, apiCall] = await evalsContainsNone(client,
|
|
69127
|
+
args: args31,
|
|
69128
|
+
tool: async (client, args32, ctx) => {
|
|
69129
|
+
const [result, apiCall] = await evalsContainsNone(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69514
69130
|
if (!result.ok) {
|
|
69515
69131
|
return {
|
|
69516
69132
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69525,9 +69141,9 @@ var init_evalsContainsNone2 = __esm(() => {
|
|
|
69525
69141
|
|
|
69526
69142
|
// src/funcs/evalsContainsUrl.ts
|
|
69527
69143
|
function evalsContainsUrl(client, request, options) {
|
|
69528
|
-
return new APIPromise($
|
|
69144
|
+
return new APIPromise($do32(client, request, options));
|
|
69529
69145
|
}
|
|
69530
|
-
async function $
|
|
69146
|
+
async function $do32(client, request, options) {
|
|
69531
69147
|
const parsed = safeParse(request, (value) => EvalsContainsUrlRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69532
69148
|
if (!parsed.ok) {
|
|
69533
69149
|
return [parsed, { status: "invalid" }];
|
|
@@ -69598,20 +69214,20 @@ var init_evalsContainsUrl = __esm(() => {
|
|
|
69598
69214
|
});
|
|
69599
69215
|
|
|
69600
69216
|
// src/mcp-server/tools/evalsContainsUrl.ts
|
|
69601
|
-
var
|
|
69217
|
+
var args32, tool$evalsContainsUrl;
|
|
69602
69218
|
var init_evalsContainsUrl2 = __esm(() => {
|
|
69603
69219
|
init_evalsContainsUrl();
|
|
69604
69220
|
init_operations();
|
|
69605
69221
|
init_tools();
|
|
69606
|
-
|
|
69222
|
+
args32 = {
|
|
69607
69223
|
request: EvalsContainsUrlRequestBody$inboundSchema.optional()
|
|
69608
69224
|
};
|
|
69609
69225
|
tool$evalsContainsUrl = {
|
|
69610
69226
|
name: "evals-contains-url",
|
|
69611
69227
|
description: `Run Contains URL Evaluator`,
|
|
69612
|
-
args:
|
|
69613
|
-
tool: async (client,
|
|
69614
|
-
const [result, apiCall] = await evalsContainsUrl(client,
|
|
69228
|
+
args: args32,
|
|
69229
|
+
tool: async (client, args33, ctx) => {
|
|
69230
|
+
const [result, apiCall] = await evalsContainsUrl(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69615
69231
|
if (!result.ok) {
|
|
69616
69232
|
return {
|
|
69617
69233
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69626,9 +69242,9 @@ var init_evalsContainsUrl2 = __esm(() => {
|
|
|
69626
69242
|
|
|
69627
69243
|
// src/funcs/evalsContainsValidLink.ts
|
|
69628
69244
|
function evalsContainsValidLink(client, request, options) {
|
|
69629
|
-
return new APIPromise($
|
|
69245
|
+
return new APIPromise($do33(client, request, options));
|
|
69630
69246
|
}
|
|
69631
|
-
async function $
|
|
69247
|
+
async function $do33(client, request, options) {
|
|
69632
69248
|
const parsed = safeParse(request, (value) => EvalsContainsValidLinkRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69633
69249
|
if (!parsed.ok) {
|
|
69634
69250
|
return [parsed, { status: "invalid" }];
|
|
@@ -69699,20 +69315,20 @@ var init_evalsContainsValidLink = __esm(() => {
|
|
|
69699
69315
|
});
|
|
69700
69316
|
|
|
69701
69317
|
// src/mcp-server/tools/evalsContainsValidLink.ts
|
|
69702
|
-
var
|
|
69318
|
+
var args33, tool$evalsContainsValidLink;
|
|
69703
69319
|
var init_evalsContainsValidLink2 = __esm(() => {
|
|
69704
69320
|
init_evalsContainsValidLink();
|
|
69705
69321
|
init_operations();
|
|
69706
69322
|
init_tools();
|
|
69707
|
-
|
|
69323
|
+
args33 = {
|
|
69708
69324
|
request: EvalsContainsValidLinkRequestBody$inboundSchema.optional()
|
|
69709
69325
|
};
|
|
69710
69326
|
tool$evalsContainsValidLink = {
|
|
69711
69327
|
name: "evals-contains-valid-link",
|
|
69712
69328
|
description: `Run Contains Valid Link Evaluator`,
|
|
69713
|
-
args:
|
|
69714
|
-
tool: async (client,
|
|
69715
|
-
const [result, apiCall] = await evalsContainsValidLink(client,
|
|
69329
|
+
args: args33,
|
|
69330
|
+
tool: async (client, args34, ctx) => {
|
|
69331
|
+
const [result, apiCall] = await evalsContainsValidLink(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69716
69332
|
if (!result.ok) {
|
|
69717
69333
|
return {
|
|
69718
69334
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69727,9 +69343,9 @@ var init_evalsContainsValidLink2 = __esm(() => {
|
|
|
69727
69343
|
|
|
69728
69344
|
// src/funcs/evalsCreate.ts
|
|
69729
69345
|
function evalsCreate(client, request, options) {
|
|
69730
|
-
return new APIPromise($
|
|
69346
|
+
return new APIPromise($do34(client, request, options));
|
|
69731
69347
|
}
|
|
69732
|
-
async function $
|
|
69348
|
+
async function $do34(client, request, options) {
|
|
69733
69349
|
const parsed = safeParse(request, (value) => CreateEvalRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69734
69350
|
if (!parsed.ok) {
|
|
69735
69351
|
return [parsed, { status: "invalid" }];
|
|
@@ -69800,20 +69416,20 @@ var init_evalsCreate = __esm(() => {
|
|
|
69800
69416
|
});
|
|
69801
69417
|
|
|
69802
69418
|
// src/mcp-server/tools/evalsCreate.ts
|
|
69803
|
-
var
|
|
69419
|
+
var args34, tool$evalsCreate;
|
|
69804
69420
|
var init_evalsCreate2 = __esm(() => {
|
|
69805
69421
|
init_evalsCreate();
|
|
69806
69422
|
init_operations();
|
|
69807
69423
|
init_tools();
|
|
69808
|
-
|
|
69424
|
+
args34 = {
|
|
69809
69425
|
request: CreateEvalRequestBody$inboundSchema.optional()
|
|
69810
69426
|
};
|
|
69811
69427
|
tool$evalsCreate = {
|
|
69812
69428
|
name: "evals-create",
|
|
69813
69429
|
description: `Create an Evaluator`,
|
|
69814
|
-
args:
|
|
69815
|
-
tool: async (client,
|
|
69816
|
-
const [result, apiCall] = await evalsCreate(client,
|
|
69430
|
+
args: args34,
|
|
69431
|
+
tool: async (client, args35, ctx) => {
|
|
69432
|
+
const [result, apiCall] = await evalsCreate(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69817
69433
|
if (!result.ok) {
|
|
69818
69434
|
return {
|
|
69819
69435
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69828,9 +69444,9 @@ var init_evalsCreate2 = __esm(() => {
|
|
|
69828
69444
|
|
|
69829
69445
|
// src/funcs/evalsDelete.ts
|
|
69830
69446
|
function evalsDelete(client, request, options) {
|
|
69831
|
-
return new APIPromise($
|
|
69447
|
+
return new APIPromise($do35(client, request, options));
|
|
69832
69448
|
}
|
|
69833
|
-
async function $
|
|
69449
|
+
async function $do35(client, request, options) {
|
|
69834
69450
|
const parsed = safeParse(request, (value) => DeleteEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69835
69451
|
if (!parsed.ok) {
|
|
69836
69452
|
return [parsed, { status: "invalid" }];
|
|
@@ -69907,20 +69523,20 @@ var init_evalsDelete = __esm(() => {
|
|
|
69907
69523
|
});
|
|
69908
69524
|
|
|
69909
69525
|
// src/mcp-server/tools/evalsDelete.ts
|
|
69910
|
-
var
|
|
69526
|
+
var args35, tool$evalsDelete;
|
|
69911
69527
|
var init_evalsDelete2 = __esm(() => {
|
|
69912
69528
|
init_evalsDelete();
|
|
69913
69529
|
init_operations();
|
|
69914
69530
|
init_tools();
|
|
69915
|
-
|
|
69531
|
+
args35 = {
|
|
69916
69532
|
request: DeleteEvalRequest$inboundSchema
|
|
69917
69533
|
};
|
|
69918
69534
|
tool$evalsDelete = {
|
|
69919
69535
|
name: "evals-delete",
|
|
69920
69536
|
description: `Delete an Evaluator`,
|
|
69921
|
-
args:
|
|
69922
|
-
tool: async (client,
|
|
69923
|
-
const [result, apiCall] = await evalsDelete(client,
|
|
69537
|
+
args: args35,
|
|
69538
|
+
tool: async (client, args36, ctx) => {
|
|
69539
|
+
const [result, apiCall] = await evalsDelete(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69924
69540
|
if (!result.ok) {
|
|
69925
69541
|
return {
|
|
69926
69542
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69934,9 +69550,9 @@ var init_evalsDelete2 = __esm(() => {
|
|
|
69934
69550
|
|
|
69935
69551
|
// src/funcs/evalsEndsWith.ts
|
|
69936
69552
|
function evalsEndsWith(client, request, options) {
|
|
69937
|
-
return new APIPromise($
|
|
69553
|
+
return new APIPromise($do36(client, request, options));
|
|
69938
69554
|
}
|
|
69939
|
-
async function $
|
|
69555
|
+
async function $do36(client, request, options) {
|
|
69940
69556
|
const parsed = safeParse(request, (value) => EvalsEndsWithRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
69941
69557
|
if (!parsed.ok) {
|
|
69942
69558
|
return [parsed, { status: "invalid" }];
|
|
@@ -70007,20 +69623,20 @@ var init_evalsEndsWith = __esm(() => {
|
|
|
70007
69623
|
});
|
|
70008
69624
|
|
|
70009
69625
|
// src/mcp-server/tools/evalsEndsWith.ts
|
|
70010
|
-
var
|
|
69626
|
+
var args36, tool$evalsEndsWith;
|
|
70011
69627
|
var init_evalsEndsWith2 = __esm(() => {
|
|
70012
69628
|
init_evalsEndsWith();
|
|
70013
69629
|
init_operations();
|
|
70014
69630
|
init_tools();
|
|
70015
|
-
|
|
69631
|
+
args36 = {
|
|
70016
69632
|
request: EvalsEndsWithRequestBody$inboundSchema.optional()
|
|
70017
69633
|
};
|
|
70018
69634
|
tool$evalsEndsWith = {
|
|
70019
69635
|
name: "evals-ends-with",
|
|
70020
69636
|
description: `Run Ends With Evaluator`,
|
|
70021
|
-
args:
|
|
70022
|
-
tool: async (client,
|
|
70023
|
-
const [result, apiCall] = await evalsEndsWith(client,
|
|
69637
|
+
args: args36,
|
|
69638
|
+
tool: async (client, args37, ctx) => {
|
|
69639
|
+
const [result, apiCall] = await evalsEndsWith(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70024
69640
|
if (!result.ok) {
|
|
70025
69641
|
return {
|
|
70026
69642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70035,9 +69651,9 @@ var init_evalsEndsWith2 = __esm(() => {
|
|
|
70035
69651
|
|
|
70036
69652
|
// src/funcs/evalsExactMatch.ts
|
|
70037
69653
|
function evalsExactMatch(client, request, options) {
|
|
70038
|
-
return new APIPromise($
|
|
69654
|
+
return new APIPromise($do37(client, request, options));
|
|
70039
69655
|
}
|
|
70040
|
-
async function $
|
|
69656
|
+
async function $do37(client, request, options) {
|
|
70041
69657
|
const parsed = safeParse(request, (value) => EvalsExactMatchRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70042
69658
|
if (!parsed.ok) {
|
|
70043
69659
|
return [parsed, { status: "invalid" }];
|
|
@@ -70108,20 +69724,20 @@ var init_evalsExactMatch = __esm(() => {
|
|
|
70108
69724
|
});
|
|
70109
69725
|
|
|
70110
69726
|
// src/mcp-server/tools/evalsExactMatch.ts
|
|
70111
|
-
var
|
|
69727
|
+
var args37, tool$evalsExactMatch;
|
|
70112
69728
|
var init_evalsExactMatch2 = __esm(() => {
|
|
70113
69729
|
init_evalsExactMatch();
|
|
70114
69730
|
init_operations();
|
|
70115
69731
|
init_tools();
|
|
70116
|
-
|
|
69732
|
+
args37 = {
|
|
70117
69733
|
request: EvalsExactMatchRequestBody$inboundSchema.optional()
|
|
70118
69734
|
};
|
|
70119
69735
|
tool$evalsExactMatch = {
|
|
70120
69736
|
name: "evals-exact-match",
|
|
70121
69737
|
description: `Run Exact Match Evaluator`,
|
|
70122
|
-
args:
|
|
70123
|
-
tool: async (client,
|
|
70124
|
-
const [result, apiCall] = await evalsExactMatch(client,
|
|
69738
|
+
args: args37,
|
|
69739
|
+
tool: async (client, args38, ctx) => {
|
|
69740
|
+
const [result, apiCall] = await evalsExactMatch(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70125
69741
|
if (!result.ok) {
|
|
70126
69742
|
return {
|
|
70127
69743
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70136,9 +69752,9 @@ var init_evalsExactMatch2 = __esm(() => {
|
|
|
70136
69752
|
|
|
70137
69753
|
// src/funcs/evalsFactCheckingKnowledgeBase.ts
|
|
70138
69754
|
function evalsFactCheckingKnowledgeBase(client, request, options) {
|
|
70139
|
-
return new APIPromise($
|
|
69755
|
+
return new APIPromise($do38(client, request, options));
|
|
70140
69756
|
}
|
|
70141
|
-
async function $
|
|
69757
|
+
async function $do38(client, request, options) {
|
|
70142
69758
|
const parsed = safeParse(request, (value) => EvalsFactCheckingKnowledgeBaseRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70143
69759
|
if (!parsed.ok) {
|
|
70144
69760
|
return [parsed, { status: "invalid" }];
|
|
@@ -70209,20 +69825,20 @@ var init_evalsFactCheckingKnowledgeBase = __esm(() => {
|
|
|
70209
69825
|
});
|
|
70210
69826
|
|
|
70211
69827
|
// src/mcp-server/tools/evalsFactCheckingKnowledgeBase.ts
|
|
70212
|
-
var
|
|
69828
|
+
var args38, tool$evalsFactCheckingKnowledgeBase;
|
|
70213
69829
|
var init_evalsFactCheckingKnowledgeBase2 = __esm(() => {
|
|
70214
69830
|
init_evalsFactCheckingKnowledgeBase();
|
|
70215
69831
|
init_operations();
|
|
70216
69832
|
init_tools();
|
|
70217
|
-
|
|
69833
|
+
args38 = {
|
|
70218
69834
|
request: EvalsFactCheckingKnowledgeBaseRequestBody$inboundSchema.optional()
|
|
70219
69835
|
};
|
|
70220
69836
|
tool$evalsFactCheckingKnowledgeBase = {
|
|
70221
69837
|
name: "evals-fact-checking-knowledge-base",
|
|
70222
69838
|
description: `Run Fact Checking Knowledge Base Evaluator`,
|
|
70223
|
-
args:
|
|
70224
|
-
tool: async (client,
|
|
70225
|
-
const [result, apiCall] = await evalsFactCheckingKnowledgeBase(client,
|
|
69839
|
+
args: args38,
|
|
69840
|
+
tool: async (client, args39, ctx) => {
|
|
69841
|
+
const [result, apiCall] = await evalsFactCheckingKnowledgeBase(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70226
69842
|
if (!result.ok) {
|
|
70227
69843
|
return {
|
|
70228
69844
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70237,9 +69853,9 @@ var init_evalsFactCheckingKnowledgeBase2 = __esm(() => {
|
|
|
70237
69853
|
|
|
70238
69854
|
// src/funcs/evalsGrammar.ts
|
|
70239
69855
|
function evalsGrammar(client, request, options) {
|
|
70240
|
-
return new APIPromise($
|
|
69856
|
+
return new APIPromise($do39(client, request, options));
|
|
70241
69857
|
}
|
|
70242
|
-
async function $
|
|
69858
|
+
async function $do39(client, request, options) {
|
|
70243
69859
|
const parsed = safeParse(request, (value) => EvalsGrammarRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70244
69860
|
if (!parsed.ok) {
|
|
70245
69861
|
return [parsed, { status: "invalid" }];
|
|
@@ -70310,20 +69926,20 @@ var init_evalsGrammar = __esm(() => {
|
|
|
70310
69926
|
});
|
|
70311
69927
|
|
|
70312
69928
|
// src/mcp-server/tools/evalsGrammar.ts
|
|
70313
|
-
var
|
|
69929
|
+
var args39, tool$evalsGrammar;
|
|
70314
69930
|
var init_evalsGrammar2 = __esm(() => {
|
|
70315
69931
|
init_evalsGrammar();
|
|
70316
69932
|
init_operations();
|
|
70317
69933
|
init_tools();
|
|
70318
|
-
|
|
69934
|
+
args39 = {
|
|
70319
69935
|
request: EvalsGrammarRequestBody$inboundSchema.optional()
|
|
70320
69936
|
};
|
|
70321
69937
|
tool$evalsGrammar = {
|
|
70322
69938
|
name: "evals-grammar",
|
|
70323
69939
|
description: `Run Grammar Evaluator`,
|
|
70324
|
-
args:
|
|
70325
|
-
tool: async (client,
|
|
70326
|
-
const [result, apiCall] = await evalsGrammar(client,
|
|
69940
|
+
args: args39,
|
|
69941
|
+
tool: async (client, args40, ctx) => {
|
|
69942
|
+
const [result, apiCall] = await evalsGrammar(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70327
69943
|
if (!result.ok) {
|
|
70328
69944
|
return {
|
|
70329
69945
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70338,9 +69954,9 @@ var init_evalsGrammar2 = __esm(() => {
|
|
|
70338
69954
|
|
|
70339
69955
|
// src/funcs/evalsInvoke.ts
|
|
70340
69956
|
function evalsInvoke(client, request, options) {
|
|
70341
|
-
return new APIPromise($
|
|
69957
|
+
return new APIPromise($do40(client, request, options));
|
|
70342
69958
|
}
|
|
70343
|
-
async function $
|
|
69959
|
+
async function $do40(client, request, options) {
|
|
70344
69960
|
const parsed = safeParse(request, (value) => InvokeEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70345
69961
|
if (!parsed.ok) {
|
|
70346
69962
|
return [parsed, { status: "invalid" }];
|
|
@@ -70417,20 +70033,20 @@ var init_evalsInvoke = __esm(() => {
|
|
|
70417
70033
|
});
|
|
70418
70034
|
|
|
70419
70035
|
// src/mcp-server/tools/evalsInvoke.ts
|
|
70420
|
-
var
|
|
70036
|
+
var args40, tool$evalsInvoke;
|
|
70421
70037
|
var init_evalsInvoke2 = __esm(() => {
|
|
70422
70038
|
init_evalsInvoke();
|
|
70423
70039
|
init_operations();
|
|
70424
70040
|
init_tools();
|
|
70425
|
-
|
|
70041
|
+
args40 = {
|
|
70426
70042
|
request: InvokeEvalRequest$inboundSchema
|
|
70427
70043
|
};
|
|
70428
70044
|
tool$evalsInvoke = {
|
|
70429
70045
|
name: "evals-invoke",
|
|
70430
70046
|
description: `Invoke a Custom Evaluator`,
|
|
70431
|
-
args:
|
|
70432
|
-
tool: async (client,
|
|
70433
|
-
const [result, apiCall] = await evalsInvoke(client,
|
|
70047
|
+
args: args40,
|
|
70048
|
+
tool: async (client, args41, ctx) => {
|
|
70049
|
+
const [result, apiCall] = await evalsInvoke(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70434
70050
|
if (!result.ok) {
|
|
70435
70051
|
return {
|
|
70436
70052
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70445,9 +70061,9 @@ var init_evalsInvoke2 = __esm(() => {
|
|
|
70445
70061
|
|
|
70446
70062
|
// src/funcs/evalsLengthBetween.ts
|
|
70447
70063
|
function evalsLengthBetween(client, request, options) {
|
|
70448
|
-
return new APIPromise($
|
|
70064
|
+
return new APIPromise($do41(client, request, options));
|
|
70449
70065
|
}
|
|
70450
|
-
async function $
|
|
70066
|
+
async function $do41(client, request, options) {
|
|
70451
70067
|
const parsed = safeParse(request, (value) => EvalsLengthBetweenRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70452
70068
|
if (!parsed.ok) {
|
|
70453
70069
|
return [parsed, { status: "invalid" }];
|
|
@@ -70518,20 +70134,20 @@ var init_evalsLengthBetween = __esm(() => {
|
|
|
70518
70134
|
});
|
|
70519
70135
|
|
|
70520
70136
|
// src/mcp-server/tools/evalsLengthBetween.ts
|
|
70521
|
-
var
|
|
70137
|
+
var args41, tool$evalsLengthBetween;
|
|
70522
70138
|
var init_evalsLengthBetween2 = __esm(() => {
|
|
70523
70139
|
init_evalsLengthBetween();
|
|
70524
70140
|
init_operations();
|
|
70525
70141
|
init_tools();
|
|
70526
|
-
|
|
70142
|
+
args41 = {
|
|
70527
70143
|
request: EvalsLengthBetweenRequestBody$inboundSchema.optional()
|
|
70528
70144
|
};
|
|
70529
70145
|
tool$evalsLengthBetween = {
|
|
70530
70146
|
name: "evals-length-between",
|
|
70531
70147
|
description: `Run Length Between Evaluator`,
|
|
70532
|
-
args:
|
|
70533
|
-
tool: async (client,
|
|
70534
|
-
const [result, apiCall] = await evalsLengthBetween(client,
|
|
70148
|
+
args: args41,
|
|
70149
|
+
tool: async (client, args42, ctx) => {
|
|
70150
|
+
const [result, apiCall] = await evalsLengthBetween(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70535
70151
|
if (!result.ok) {
|
|
70536
70152
|
return {
|
|
70537
70153
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70546,9 +70162,9 @@ var init_evalsLengthBetween2 = __esm(() => {
|
|
|
70546
70162
|
|
|
70547
70163
|
// src/funcs/evalsLengthGreaterThan.ts
|
|
70548
70164
|
function evalsLengthGreaterThan(client, request, options) {
|
|
70549
|
-
return new APIPromise($
|
|
70165
|
+
return new APIPromise($do42(client, request, options));
|
|
70550
70166
|
}
|
|
70551
|
-
async function $
|
|
70167
|
+
async function $do42(client, request, options) {
|
|
70552
70168
|
const parsed = safeParse(request, (value) => EvalsLengthGreaterThanRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70553
70169
|
if (!parsed.ok) {
|
|
70554
70170
|
return [parsed, { status: "invalid" }];
|
|
@@ -70619,20 +70235,20 @@ var init_evalsLengthGreaterThan = __esm(() => {
|
|
|
70619
70235
|
});
|
|
70620
70236
|
|
|
70621
70237
|
// src/mcp-server/tools/evalsLengthGreaterThan.ts
|
|
70622
|
-
var
|
|
70238
|
+
var args42, tool$evalsLengthGreaterThan;
|
|
70623
70239
|
var init_evalsLengthGreaterThan2 = __esm(() => {
|
|
70624
70240
|
init_evalsLengthGreaterThan();
|
|
70625
70241
|
init_operations();
|
|
70626
70242
|
init_tools();
|
|
70627
|
-
|
|
70243
|
+
args42 = {
|
|
70628
70244
|
request: EvalsLengthGreaterThanRequestBody$inboundSchema.optional()
|
|
70629
70245
|
};
|
|
70630
70246
|
tool$evalsLengthGreaterThan = {
|
|
70631
70247
|
name: "evals-length-greater-than",
|
|
70632
70248
|
description: `Run Length Greater Than Evaluator`,
|
|
70633
|
-
args:
|
|
70634
|
-
tool: async (client,
|
|
70635
|
-
const [result, apiCall] = await evalsLengthGreaterThan(client,
|
|
70249
|
+
args: args42,
|
|
70250
|
+
tool: async (client, args43, ctx) => {
|
|
70251
|
+
const [result, apiCall] = await evalsLengthGreaterThan(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70636
70252
|
if (!result.ok) {
|
|
70637
70253
|
return {
|
|
70638
70254
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70647,9 +70263,9 @@ var init_evalsLengthGreaterThan2 = __esm(() => {
|
|
|
70647
70263
|
|
|
70648
70264
|
// src/funcs/evalsLengthLessThan.ts
|
|
70649
70265
|
function evalsLengthLessThan(client, request, options) {
|
|
70650
|
-
return new APIPromise($
|
|
70266
|
+
return new APIPromise($do43(client, request, options));
|
|
70651
70267
|
}
|
|
70652
|
-
async function $
|
|
70268
|
+
async function $do43(client, request, options) {
|
|
70653
70269
|
const parsed = safeParse(request, (value) => EvalsLengthLessThanRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70654
70270
|
if (!parsed.ok) {
|
|
70655
70271
|
return [parsed, { status: "invalid" }];
|
|
@@ -70720,20 +70336,20 @@ var init_evalsLengthLessThan = __esm(() => {
|
|
|
70720
70336
|
});
|
|
70721
70337
|
|
|
70722
70338
|
// src/mcp-server/tools/evalsLengthLessThan.ts
|
|
70723
|
-
var
|
|
70339
|
+
var args43, tool$evalsLengthLessThan;
|
|
70724
70340
|
var init_evalsLengthLessThan2 = __esm(() => {
|
|
70725
70341
|
init_evalsLengthLessThan();
|
|
70726
70342
|
init_operations();
|
|
70727
70343
|
init_tools();
|
|
70728
|
-
|
|
70344
|
+
args43 = {
|
|
70729
70345
|
request: EvalsLengthLessThanRequestBody$inboundSchema.optional()
|
|
70730
70346
|
};
|
|
70731
70347
|
tool$evalsLengthLessThan = {
|
|
70732
70348
|
name: "evals-length-less-than",
|
|
70733
70349
|
description: `Run Length Less Than Evaluator`,
|
|
70734
|
-
args:
|
|
70735
|
-
tool: async (client,
|
|
70736
|
-
const [result, apiCall] = await evalsLengthLessThan(client,
|
|
70350
|
+
args: args43,
|
|
70351
|
+
tool: async (client, args44, ctx) => {
|
|
70352
|
+
const [result, apiCall] = await evalsLengthLessThan(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70737
70353
|
if (!result.ok) {
|
|
70738
70354
|
return {
|
|
70739
70355
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70748,9 +70364,9 @@ var init_evalsLengthLessThan2 = __esm(() => {
|
|
|
70748
70364
|
|
|
70749
70365
|
// src/funcs/evalsLocalization.ts
|
|
70750
70366
|
function evalsLocalization(client, request, options) {
|
|
70751
|
-
return new APIPromise($
|
|
70367
|
+
return new APIPromise($do44(client, request, options));
|
|
70752
70368
|
}
|
|
70753
|
-
async function $
|
|
70369
|
+
async function $do44(client, request, options) {
|
|
70754
70370
|
const parsed = safeParse(request, (value) => EvalsLocalizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70755
70371
|
if (!parsed.ok) {
|
|
70756
70372
|
return [parsed, { status: "invalid" }];
|
|
@@ -70821,20 +70437,20 @@ var init_evalsLocalization = __esm(() => {
|
|
|
70821
70437
|
});
|
|
70822
70438
|
|
|
70823
70439
|
// src/mcp-server/tools/evalsLocalization.ts
|
|
70824
|
-
var
|
|
70440
|
+
var args44, tool$evalsLocalization;
|
|
70825
70441
|
var init_evalsLocalization2 = __esm(() => {
|
|
70826
70442
|
init_evalsLocalization();
|
|
70827
70443
|
init_operations();
|
|
70828
70444
|
init_tools();
|
|
70829
|
-
|
|
70445
|
+
args44 = {
|
|
70830
70446
|
request: EvalsLocalizationRequestBody$inboundSchema.optional()
|
|
70831
70447
|
};
|
|
70832
70448
|
tool$evalsLocalization = {
|
|
70833
70449
|
name: "evals-localization",
|
|
70834
70450
|
description: `Run Localization Evaluator`,
|
|
70835
|
-
args:
|
|
70836
|
-
tool: async (client,
|
|
70837
|
-
const [result, apiCall] = await evalsLocalization(client,
|
|
70451
|
+
args: args44,
|
|
70452
|
+
tool: async (client, args45, ctx) => {
|
|
70453
|
+
const [result, apiCall] = await evalsLocalization(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70838
70454
|
if (!result.ok) {
|
|
70839
70455
|
return {
|
|
70840
70456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70849,9 +70465,9 @@ var init_evalsLocalization2 = __esm(() => {
|
|
|
70849
70465
|
|
|
70850
70466
|
// src/funcs/evalsPii.ts
|
|
70851
70467
|
function evalsPii(client, request, options) {
|
|
70852
|
-
return new APIPromise($
|
|
70468
|
+
return new APIPromise($do45(client, request, options));
|
|
70853
70469
|
}
|
|
70854
|
-
async function $
|
|
70470
|
+
async function $do45(client, request, options) {
|
|
70855
70471
|
const parsed = safeParse(request, (value) => EvalsPiiRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70856
70472
|
if (!parsed.ok) {
|
|
70857
70473
|
return [parsed, { status: "invalid" }];
|
|
@@ -70922,20 +70538,20 @@ var init_evalsPii = __esm(() => {
|
|
|
70922
70538
|
});
|
|
70923
70539
|
|
|
70924
70540
|
// src/mcp-server/tools/evalsPii.ts
|
|
70925
|
-
var
|
|
70541
|
+
var args45, tool$evalsPii;
|
|
70926
70542
|
var init_evalsPii2 = __esm(() => {
|
|
70927
70543
|
init_evalsPii();
|
|
70928
70544
|
init_operations();
|
|
70929
70545
|
init_tools();
|
|
70930
|
-
|
|
70546
|
+
args45 = {
|
|
70931
70547
|
request: EvalsPiiRequestBody$inboundSchema.optional()
|
|
70932
70548
|
};
|
|
70933
70549
|
tool$evalsPii = {
|
|
70934
70550
|
name: "evals-pii",
|
|
70935
70551
|
description: `Run PII Evaluator`,
|
|
70936
|
-
args:
|
|
70937
|
-
tool: async (client,
|
|
70938
|
-
const [result, apiCall] = await evalsPii(client,
|
|
70552
|
+
args: args45,
|
|
70553
|
+
tool: async (client, args46, ctx) => {
|
|
70554
|
+
const [result, apiCall] = await evalsPii(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70939
70555
|
if (!result.ok) {
|
|
70940
70556
|
return {
|
|
70941
70557
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70950,9 +70566,9 @@ var init_evalsPii2 = __esm(() => {
|
|
|
70950
70566
|
|
|
70951
70567
|
// src/funcs/evalsRagasCoherence.ts
|
|
70952
70568
|
function evalsRagasCoherence(client, request, options) {
|
|
70953
|
-
return new APIPromise($
|
|
70569
|
+
return new APIPromise($do46(client, request, options));
|
|
70954
70570
|
}
|
|
70955
|
-
async function $
|
|
70571
|
+
async function $do46(client, request, options) {
|
|
70956
70572
|
const parsed = safeParse(request, (value) => EvalsRagasCoherenceRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
70957
70573
|
if (!parsed.ok) {
|
|
70958
70574
|
return [parsed, { status: "invalid" }];
|
|
@@ -71023,20 +70639,20 @@ var init_evalsRagasCoherence = __esm(() => {
|
|
|
71023
70639
|
});
|
|
71024
70640
|
|
|
71025
70641
|
// src/mcp-server/tools/evalsRagasCoherence.ts
|
|
71026
|
-
var
|
|
70642
|
+
var args46, tool$evalsRagasCoherence;
|
|
71027
70643
|
var init_evalsRagasCoherence2 = __esm(() => {
|
|
71028
70644
|
init_evalsRagasCoherence();
|
|
71029
70645
|
init_operations();
|
|
71030
70646
|
init_tools();
|
|
71031
|
-
|
|
70647
|
+
args46 = {
|
|
71032
70648
|
request: EvalsRagasCoherenceRequestBody$inboundSchema.optional()
|
|
71033
70649
|
};
|
|
71034
70650
|
tool$evalsRagasCoherence = {
|
|
71035
70651
|
name: "evals-ragas-coherence",
|
|
71036
70652
|
description: `Run Coherence Evaluator`,
|
|
71037
|
-
args:
|
|
71038
|
-
tool: async (client,
|
|
71039
|
-
const [result, apiCall] = await evalsRagasCoherence(client,
|
|
70653
|
+
args: args46,
|
|
70654
|
+
tool: async (client, args47, ctx) => {
|
|
70655
|
+
const [result, apiCall] = await evalsRagasCoherence(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71040
70656
|
if (!result.ok) {
|
|
71041
70657
|
return {
|
|
71042
70658
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71051,9 +70667,9 @@ var init_evalsRagasCoherence2 = __esm(() => {
|
|
|
71051
70667
|
|
|
71052
70668
|
// src/funcs/evalsRagasConciseness.ts
|
|
71053
70669
|
function evalsRagasConciseness(client, request, options) {
|
|
71054
|
-
return new APIPromise($
|
|
70670
|
+
return new APIPromise($do47(client, request, options));
|
|
71055
70671
|
}
|
|
71056
|
-
async function $
|
|
70672
|
+
async function $do47(client, request, options) {
|
|
71057
70673
|
const parsed = safeParse(request, (value) => EvalsRagasConcisenessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71058
70674
|
if (!parsed.ok) {
|
|
71059
70675
|
return [parsed, { status: "invalid" }];
|
|
@@ -71124,20 +70740,20 @@ var init_evalsRagasConciseness = __esm(() => {
|
|
|
71124
70740
|
});
|
|
71125
70741
|
|
|
71126
70742
|
// src/mcp-server/tools/evalsRagasConciseness.ts
|
|
71127
|
-
var
|
|
70743
|
+
var args47, tool$evalsRagasConciseness;
|
|
71128
70744
|
var init_evalsRagasConciseness2 = __esm(() => {
|
|
71129
70745
|
init_evalsRagasConciseness();
|
|
71130
70746
|
init_operations();
|
|
71131
70747
|
init_tools();
|
|
71132
|
-
|
|
70748
|
+
args47 = {
|
|
71133
70749
|
request: EvalsRagasConcisenessRequestBody$inboundSchema.optional()
|
|
71134
70750
|
};
|
|
71135
70751
|
tool$evalsRagasConciseness = {
|
|
71136
70752
|
name: "evals-ragas-conciseness",
|
|
71137
70753
|
description: `Run Conciseness Evaluator`,
|
|
71138
|
-
args:
|
|
71139
|
-
tool: async (client,
|
|
71140
|
-
const [result, apiCall] = await evalsRagasConciseness(client,
|
|
70754
|
+
args: args47,
|
|
70755
|
+
tool: async (client, args48, ctx) => {
|
|
70756
|
+
const [result, apiCall] = await evalsRagasConciseness(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71141
70757
|
if (!result.ok) {
|
|
71142
70758
|
return {
|
|
71143
70759
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71152,9 +70768,9 @@ var init_evalsRagasConciseness2 = __esm(() => {
|
|
|
71152
70768
|
|
|
71153
70769
|
// src/funcs/evalsRagasContextEntitiesRecall.ts
|
|
71154
70770
|
function evalsRagasContextEntitiesRecall(client, request, options) {
|
|
71155
|
-
return new APIPromise($
|
|
70771
|
+
return new APIPromise($do48(client, request, options));
|
|
71156
70772
|
}
|
|
71157
|
-
async function $
|
|
70773
|
+
async function $do48(client, request, options) {
|
|
71158
70774
|
const parsed = safeParse(request, (value) => EvalsRagasContextEntitiesRecallRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71159
70775
|
if (!parsed.ok) {
|
|
71160
70776
|
return [parsed, { status: "invalid" }];
|
|
@@ -71225,20 +70841,20 @@ var init_evalsRagasContextEntitiesRecall = __esm(() => {
|
|
|
71225
70841
|
});
|
|
71226
70842
|
|
|
71227
70843
|
// src/mcp-server/tools/evalsRagasContextEntitiesRecall.ts
|
|
71228
|
-
var
|
|
70844
|
+
var args48, tool$evalsRagasContextEntitiesRecall;
|
|
71229
70845
|
var init_evalsRagasContextEntitiesRecall2 = __esm(() => {
|
|
71230
70846
|
init_evalsRagasContextEntitiesRecall();
|
|
71231
70847
|
init_operations();
|
|
71232
70848
|
init_tools();
|
|
71233
|
-
|
|
70849
|
+
args48 = {
|
|
71234
70850
|
request: EvalsRagasContextEntitiesRecallRequestBody$inboundSchema.optional()
|
|
71235
70851
|
};
|
|
71236
70852
|
tool$evalsRagasContextEntitiesRecall = {
|
|
71237
70853
|
name: "evals-ragas-context-entities-recall",
|
|
71238
70854
|
description: `Run Context Entities Recall Evaluator`,
|
|
71239
|
-
args:
|
|
71240
|
-
tool: async (client,
|
|
71241
|
-
const [result, apiCall] = await evalsRagasContextEntitiesRecall(client,
|
|
70855
|
+
args: args48,
|
|
70856
|
+
tool: async (client, args49, ctx) => {
|
|
70857
|
+
const [result, apiCall] = await evalsRagasContextEntitiesRecall(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71242
70858
|
if (!result.ok) {
|
|
71243
70859
|
return {
|
|
71244
70860
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71253,9 +70869,9 @@ var init_evalsRagasContextEntitiesRecall2 = __esm(() => {
|
|
|
71253
70869
|
|
|
71254
70870
|
// src/funcs/evalsRagasContextPrecision.ts
|
|
71255
70871
|
function evalsRagasContextPrecision(client, request, options) {
|
|
71256
|
-
return new APIPromise($
|
|
70872
|
+
return new APIPromise($do49(client, request, options));
|
|
71257
70873
|
}
|
|
71258
|
-
async function $
|
|
70874
|
+
async function $do49(client, request, options) {
|
|
71259
70875
|
const parsed = safeParse(request, (value) => EvalsRagasContextPrecisionRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71260
70876
|
if (!parsed.ok) {
|
|
71261
70877
|
return [parsed, { status: "invalid" }];
|
|
@@ -71326,20 +70942,20 @@ var init_evalsRagasContextPrecision = __esm(() => {
|
|
|
71326
70942
|
});
|
|
71327
70943
|
|
|
71328
70944
|
// src/mcp-server/tools/evalsRagasContextPrecision.ts
|
|
71329
|
-
var
|
|
70945
|
+
var args49, tool$evalsRagasContextPrecision;
|
|
71330
70946
|
var init_evalsRagasContextPrecision2 = __esm(() => {
|
|
71331
70947
|
init_evalsRagasContextPrecision();
|
|
71332
70948
|
init_operations();
|
|
71333
70949
|
init_tools();
|
|
71334
|
-
|
|
70950
|
+
args49 = {
|
|
71335
70951
|
request: EvalsRagasContextPrecisionRequestBody$inboundSchema.optional()
|
|
71336
70952
|
};
|
|
71337
70953
|
tool$evalsRagasContextPrecision = {
|
|
71338
70954
|
name: "evals-ragas-context-precision",
|
|
71339
70955
|
description: `Run Context Precision Evaluator`,
|
|
71340
|
-
args:
|
|
71341
|
-
tool: async (client,
|
|
71342
|
-
const [result, apiCall] = await evalsRagasContextPrecision(client,
|
|
70956
|
+
args: args49,
|
|
70957
|
+
tool: async (client, args50, ctx) => {
|
|
70958
|
+
const [result, apiCall] = await evalsRagasContextPrecision(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71343
70959
|
if (!result.ok) {
|
|
71344
70960
|
return {
|
|
71345
70961
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71354,9 +70970,9 @@ var init_evalsRagasContextPrecision2 = __esm(() => {
|
|
|
71354
70970
|
|
|
71355
70971
|
// src/funcs/evalsRagasContextRecall.ts
|
|
71356
70972
|
function evalsRagasContextRecall(client, request, options) {
|
|
71357
|
-
return new APIPromise($
|
|
70973
|
+
return new APIPromise($do50(client, request, options));
|
|
71358
70974
|
}
|
|
71359
|
-
async function $
|
|
70975
|
+
async function $do50(client, request, options) {
|
|
71360
70976
|
const parsed = safeParse(request, (value) => EvalsRagasContextRecallRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71361
70977
|
if (!parsed.ok) {
|
|
71362
70978
|
return [parsed, { status: "invalid" }];
|
|
@@ -71427,20 +71043,20 @@ var init_evalsRagasContextRecall = __esm(() => {
|
|
|
71427
71043
|
});
|
|
71428
71044
|
|
|
71429
71045
|
// src/mcp-server/tools/evalsRagasContextRecall.ts
|
|
71430
|
-
var
|
|
71046
|
+
var args50, tool$evalsRagasContextRecall;
|
|
71431
71047
|
var init_evalsRagasContextRecall2 = __esm(() => {
|
|
71432
71048
|
init_evalsRagasContextRecall();
|
|
71433
71049
|
init_operations();
|
|
71434
71050
|
init_tools();
|
|
71435
|
-
|
|
71051
|
+
args50 = {
|
|
71436
71052
|
request: EvalsRagasContextRecallRequestBody$inboundSchema.optional()
|
|
71437
71053
|
};
|
|
71438
71054
|
tool$evalsRagasContextRecall = {
|
|
71439
71055
|
name: "evals-ragas-context-recall",
|
|
71440
71056
|
description: `Run Context Recall Evaluator`,
|
|
71441
|
-
args:
|
|
71442
|
-
tool: async (client,
|
|
71443
|
-
const [result, apiCall] = await evalsRagasContextRecall(client,
|
|
71057
|
+
args: args50,
|
|
71058
|
+
tool: async (client, args51, ctx) => {
|
|
71059
|
+
const [result, apiCall] = await evalsRagasContextRecall(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71444
71060
|
if (!result.ok) {
|
|
71445
71061
|
return {
|
|
71446
71062
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71455,9 +71071,9 @@ var init_evalsRagasContextRecall2 = __esm(() => {
|
|
|
71455
71071
|
|
|
71456
71072
|
// src/funcs/evalsRagasCorrectness.ts
|
|
71457
71073
|
function evalsRagasCorrectness(client, request, options) {
|
|
71458
|
-
return new APIPromise($
|
|
71074
|
+
return new APIPromise($do51(client, request, options));
|
|
71459
71075
|
}
|
|
71460
|
-
async function $
|
|
71076
|
+
async function $do51(client, request, options) {
|
|
71461
71077
|
const parsed = safeParse(request, (value) => EvalsRagasCorrectnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71462
71078
|
if (!parsed.ok) {
|
|
71463
71079
|
return [parsed, { status: "invalid" }];
|
|
@@ -71528,20 +71144,20 @@ var init_evalsRagasCorrectness = __esm(() => {
|
|
|
71528
71144
|
});
|
|
71529
71145
|
|
|
71530
71146
|
// src/mcp-server/tools/evalsRagasCorrectness.ts
|
|
71531
|
-
var
|
|
71147
|
+
var args51, tool$evalsRagasCorrectness;
|
|
71532
71148
|
var init_evalsRagasCorrectness2 = __esm(() => {
|
|
71533
71149
|
init_evalsRagasCorrectness();
|
|
71534
71150
|
init_operations();
|
|
71535
71151
|
init_tools();
|
|
71536
|
-
|
|
71152
|
+
args51 = {
|
|
71537
71153
|
request: EvalsRagasCorrectnessRequestBody$inboundSchema.optional()
|
|
71538
71154
|
};
|
|
71539
71155
|
tool$evalsRagasCorrectness = {
|
|
71540
71156
|
name: "evals-ragas-correctness",
|
|
71541
71157
|
description: `Run Correctness Evaluator`,
|
|
71542
|
-
args:
|
|
71543
|
-
tool: async (client,
|
|
71544
|
-
const [result, apiCall] = await evalsRagasCorrectness(client,
|
|
71158
|
+
args: args51,
|
|
71159
|
+
tool: async (client, args52, ctx) => {
|
|
71160
|
+
const [result, apiCall] = await evalsRagasCorrectness(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71545
71161
|
if (!result.ok) {
|
|
71546
71162
|
return {
|
|
71547
71163
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71556,9 +71172,9 @@ var init_evalsRagasCorrectness2 = __esm(() => {
|
|
|
71556
71172
|
|
|
71557
71173
|
// src/funcs/evalsRagasFaithfulness.ts
|
|
71558
71174
|
function evalsRagasFaithfulness(client, request, options) {
|
|
71559
|
-
return new APIPromise($
|
|
71175
|
+
return new APIPromise($do52(client, request, options));
|
|
71560
71176
|
}
|
|
71561
|
-
async function $
|
|
71177
|
+
async function $do52(client, request, options) {
|
|
71562
71178
|
const parsed = safeParse(request, (value) => EvalsRagasFaithfulnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71563
71179
|
if (!parsed.ok) {
|
|
71564
71180
|
return [parsed, { status: "invalid" }];
|
|
@@ -71629,20 +71245,20 @@ var init_evalsRagasFaithfulness = __esm(() => {
|
|
|
71629
71245
|
});
|
|
71630
71246
|
|
|
71631
71247
|
// src/mcp-server/tools/evalsRagasFaithfulness.ts
|
|
71632
|
-
var
|
|
71248
|
+
var args52, tool$evalsRagasFaithfulness;
|
|
71633
71249
|
var init_evalsRagasFaithfulness2 = __esm(() => {
|
|
71634
71250
|
init_evalsRagasFaithfulness();
|
|
71635
71251
|
init_operations();
|
|
71636
71252
|
init_tools();
|
|
71637
|
-
|
|
71253
|
+
args52 = {
|
|
71638
71254
|
request: EvalsRagasFaithfulnessRequestBody$inboundSchema.optional()
|
|
71639
71255
|
};
|
|
71640
71256
|
tool$evalsRagasFaithfulness = {
|
|
71641
71257
|
name: "evals-ragas-faithfulness",
|
|
71642
71258
|
description: `Run Faithfulness Evaluator`,
|
|
71643
|
-
args:
|
|
71644
|
-
tool: async (client,
|
|
71645
|
-
const [result, apiCall] = await evalsRagasFaithfulness(client,
|
|
71259
|
+
args: args52,
|
|
71260
|
+
tool: async (client, args53, ctx) => {
|
|
71261
|
+
const [result, apiCall] = await evalsRagasFaithfulness(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71646
71262
|
if (!result.ok) {
|
|
71647
71263
|
return {
|
|
71648
71264
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71657,9 +71273,9 @@ var init_evalsRagasFaithfulness2 = __esm(() => {
|
|
|
71657
71273
|
|
|
71658
71274
|
// src/funcs/evalsRagasHarmfulness.ts
|
|
71659
71275
|
function evalsRagasHarmfulness(client, request, options) {
|
|
71660
|
-
return new APIPromise($
|
|
71276
|
+
return new APIPromise($do53(client, request, options));
|
|
71661
71277
|
}
|
|
71662
|
-
async function $
|
|
71278
|
+
async function $do53(client, request, options) {
|
|
71663
71279
|
const parsed = safeParse(request, (value) => EvalsRagasHarmfulnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71664
71280
|
if (!parsed.ok) {
|
|
71665
71281
|
return [parsed, { status: "invalid" }];
|
|
@@ -71730,20 +71346,20 @@ var init_evalsRagasHarmfulness = __esm(() => {
|
|
|
71730
71346
|
});
|
|
71731
71347
|
|
|
71732
71348
|
// src/mcp-server/tools/evalsRagasHarmfulness.ts
|
|
71733
|
-
var
|
|
71349
|
+
var args53, tool$evalsRagasHarmfulness;
|
|
71734
71350
|
var init_evalsRagasHarmfulness2 = __esm(() => {
|
|
71735
71351
|
init_evalsRagasHarmfulness();
|
|
71736
71352
|
init_operations();
|
|
71737
71353
|
init_tools();
|
|
71738
|
-
|
|
71354
|
+
args53 = {
|
|
71739
71355
|
request: EvalsRagasHarmfulnessRequestBody$inboundSchema.optional()
|
|
71740
71356
|
};
|
|
71741
71357
|
tool$evalsRagasHarmfulness = {
|
|
71742
71358
|
name: "evals-ragas-harmfulness",
|
|
71743
71359
|
description: `Run Harmfulness Evaluator`,
|
|
71744
|
-
args:
|
|
71745
|
-
tool: async (client,
|
|
71746
|
-
const [result, apiCall] = await evalsRagasHarmfulness(client,
|
|
71360
|
+
args: args53,
|
|
71361
|
+
tool: async (client, args54, ctx) => {
|
|
71362
|
+
const [result, apiCall] = await evalsRagasHarmfulness(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71747
71363
|
if (!result.ok) {
|
|
71748
71364
|
return {
|
|
71749
71365
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71758,9 +71374,9 @@ var init_evalsRagasHarmfulness2 = __esm(() => {
|
|
|
71758
71374
|
|
|
71759
71375
|
// src/funcs/evalsRagasMaliciousness.ts
|
|
71760
71376
|
function evalsRagasMaliciousness(client, request, options) {
|
|
71761
|
-
return new APIPromise($
|
|
71377
|
+
return new APIPromise($do54(client, request, options));
|
|
71762
71378
|
}
|
|
71763
|
-
async function $
|
|
71379
|
+
async function $do54(client, request, options) {
|
|
71764
71380
|
const parsed = safeParse(request, (value) => EvalsRagasMaliciousnessRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71765
71381
|
if (!parsed.ok) {
|
|
71766
71382
|
return [parsed, { status: "invalid" }];
|
|
@@ -71831,20 +71447,20 @@ var init_evalsRagasMaliciousness = __esm(() => {
|
|
|
71831
71447
|
});
|
|
71832
71448
|
|
|
71833
71449
|
// src/mcp-server/tools/evalsRagasMaliciousness.ts
|
|
71834
|
-
var
|
|
71450
|
+
var args54, tool$evalsRagasMaliciousness;
|
|
71835
71451
|
var init_evalsRagasMaliciousness2 = __esm(() => {
|
|
71836
71452
|
init_evalsRagasMaliciousness();
|
|
71837
71453
|
init_operations();
|
|
71838
71454
|
init_tools();
|
|
71839
|
-
|
|
71455
|
+
args54 = {
|
|
71840
71456
|
request: EvalsRagasMaliciousnessRequestBody$inboundSchema.optional()
|
|
71841
71457
|
};
|
|
71842
71458
|
tool$evalsRagasMaliciousness = {
|
|
71843
71459
|
name: "evals-ragas-maliciousness",
|
|
71844
71460
|
description: `Run Maliciousness Evaluator`,
|
|
71845
|
-
args:
|
|
71846
|
-
tool: async (client,
|
|
71847
|
-
const [result, apiCall] = await evalsRagasMaliciousness(client,
|
|
71461
|
+
args: args54,
|
|
71462
|
+
tool: async (client, args55, ctx) => {
|
|
71463
|
+
const [result, apiCall] = await evalsRagasMaliciousness(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71848
71464
|
if (!result.ok) {
|
|
71849
71465
|
return {
|
|
71850
71466
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71859,9 +71475,9 @@ var init_evalsRagasMaliciousness2 = __esm(() => {
|
|
|
71859
71475
|
|
|
71860
71476
|
// src/funcs/evalsRagasNoiseSensitivity.ts
|
|
71861
71477
|
function evalsRagasNoiseSensitivity(client, request, options) {
|
|
71862
|
-
return new APIPromise($
|
|
71478
|
+
return new APIPromise($do55(client, request, options));
|
|
71863
71479
|
}
|
|
71864
|
-
async function $
|
|
71480
|
+
async function $do55(client, request, options) {
|
|
71865
71481
|
const parsed = safeParse(request, (value) => EvalsRagasNoiseSensitivityRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71866
71482
|
if (!parsed.ok) {
|
|
71867
71483
|
return [parsed, { status: "invalid" }];
|
|
@@ -71932,20 +71548,20 @@ var init_evalsRagasNoiseSensitivity = __esm(() => {
|
|
|
71932
71548
|
});
|
|
71933
71549
|
|
|
71934
71550
|
// src/mcp-server/tools/evalsRagasNoiseSensitivity.ts
|
|
71935
|
-
var
|
|
71551
|
+
var args55, tool$evalsRagasNoiseSensitivity;
|
|
71936
71552
|
var init_evalsRagasNoiseSensitivity2 = __esm(() => {
|
|
71937
71553
|
init_evalsRagasNoiseSensitivity();
|
|
71938
71554
|
init_operations();
|
|
71939
71555
|
init_tools();
|
|
71940
|
-
|
|
71556
|
+
args55 = {
|
|
71941
71557
|
request: EvalsRagasNoiseSensitivityRequestBody$inboundSchema.optional()
|
|
71942
71558
|
};
|
|
71943
71559
|
tool$evalsRagasNoiseSensitivity = {
|
|
71944
71560
|
name: "evals-ragas-noise-sensitivity",
|
|
71945
71561
|
description: `Run Noise Sensitivity Evaluator`,
|
|
71946
|
-
args:
|
|
71947
|
-
tool: async (client,
|
|
71948
|
-
const [result, apiCall] = await evalsRagasNoiseSensitivity(client,
|
|
71562
|
+
args: args55,
|
|
71563
|
+
tool: async (client, args56, ctx) => {
|
|
71564
|
+
const [result, apiCall] = await evalsRagasNoiseSensitivity(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71949
71565
|
if (!result.ok) {
|
|
71950
71566
|
return {
|
|
71951
71567
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71960,9 +71576,9 @@ var init_evalsRagasNoiseSensitivity2 = __esm(() => {
|
|
|
71960
71576
|
|
|
71961
71577
|
// src/funcs/evalsRagasResponseRelevancy.ts
|
|
71962
71578
|
function evalsRagasResponseRelevancy(client, request, options) {
|
|
71963
|
-
return new APIPromise($
|
|
71579
|
+
return new APIPromise($do56(client, request, options));
|
|
71964
71580
|
}
|
|
71965
|
-
async function $
|
|
71581
|
+
async function $do56(client, request, options) {
|
|
71966
71582
|
const parsed = safeParse(request, (value) => EvalsRagasResponseRelevancyRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
71967
71583
|
if (!parsed.ok) {
|
|
71968
71584
|
return [parsed, { status: "invalid" }];
|
|
@@ -72033,20 +71649,20 @@ var init_evalsRagasResponseRelevancy = __esm(() => {
|
|
|
72033
71649
|
});
|
|
72034
71650
|
|
|
72035
71651
|
// src/mcp-server/tools/evalsRagasResponseRelevancy.ts
|
|
72036
|
-
var
|
|
71652
|
+
var args56, tool$evalsRagasResponseRelevancy;
|
|
72037
71653
|
var init_evalsRagasResponseRelevancy2 = __esm(() => {
|
|
72038
71654
|
init_evalsRagasResponseRelevancy();
|
|
72039
71655
|
init_operations();
|
|
72040
71656
|
init_tools();
|
|
72041
|
-
|
|
71657
|
+
args56 = {
|
|
72042
71658
|
request: EvalsRagasResponseRelevancyRequestBody$inboundSchema.optional()
|
|
72043
71659
|
};
|
|
72044
71660
|
tool$evalsRagasResponseRelevancy = {
|
|
72045
71661
|
name: "evals-ragas-response-relevancy",
|
|
72046
71662
|
description: `Run Response Relevancy Evaluator`,
|
|
72047
|
-
args:
|
|
72048
|
-
tool: async (client,
|
|
72049
|
-
const [result, apiCall] = await evalsRagasResponseRelevancy(client,
|
|
71663
|
+
args: args56,
|
|
71664
|
+
tool: async (client, args57, ctx) => {
|
|
71665
|
+
const [result, apiCall] = await evalsRagasResponseRelevancy(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72050
71666
|
if (!result.ok) {
|
|
72051
71667
|
return {
|
|
72052
71668
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72061,9 +71677,9 @@ var init_evalsRagasResponseRelevancy2 = __esm(() => {
|
|
|
72061
71677
|
|
|
72062
71678
|
// src/funcs/evalsRagasSummarization.ts
|
|
72063
71679
|
function evalsRagasSummarization(client, request, options) {
|
|
72064
|
-
return new APIPromise($
|
|
71680
|
+
return new APIPromise($do57(client, request, options));
|
|
72065
71681
|
}
|
|
72066
|
-
async function $
|
|
71682
|
+
async function $do57(client, request, options) {
|
|
72067
71683
|
const parsed = safeParse(request, (value) => EvalsRagasSummarizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72068
71684
|
if (!parsed.ok) {
|
|
72069
71685
|
return [parsed, { status: "invalid" }];
|
|
@@ -72134,20 +71750,20 @@ var init_evalsRagasSummarization = __esm(() => {
|
|
|
72134
71750
|
});
|
|
72135
71751
|
|
|
72136
71752
|
// src/mcp-server/tools/evalsRagasSummarization.ts
|
|
72137
|
-
var
|
|
71753
|
+
var args57, tool$evalsRagasSummarization;
|
|
72138
71754
|
var init_evalsRagasSummarization2 = __esm(() => {
|
|
72139
71755
|
init_evalsRagasSummarization();
|
|
72140
71756
|
init_operations();
|
|
72141
71757
|
init_tools();
|
|
72142
|
-
|
|
71758
|
+
args57 = {
|
|
72143
71759
|
request: EvalsRagasSummarizationRequestBody$inboundSchema.optional()
|
|
72144
71760
|
};
|
|
72145
71761
|
tool$evalsRagasSummarization = {
|
|
72146
71762
|
name: "evals-ragas-summarization",
|
|
72147
71763
|
description: `Run Summarization Evaluator`,
|
|
72148
|
-
args:
|
|
72149
|
-
tool: async (client,
|
|
72150
|
-
const [result, apiCall] = await evalsRagasSummarization(client,
|
|
71764
|
+
args: args57,
|
|
71765
|
+
tool: async (client, args58, ctx) => {
|
|
71766
|
+
const [result, apiCall] = await evalsRagasSummarization(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72151
71767
|
if (!result.ok) {
|
|
72152
71768
|
return {
|
|
72153
71769
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72162,9 +71778,9 @@ var init_evalsRagasSummarization2 = __esm(() => {
|
|
|
72162
71778
|
|
|
72163
71779
|
// src/funcs/evalsSentimentClassification.ts
|
|
72164
71780
|
function evalsSentimentClassification(client, request, options) {
|
|
72165
|
-
return new APIPromise($
|
|
71781
|
+
return new APIPromise($do58(client, request, options));
|
|
72166
71782
|
}
|
|
72167
|
-
async function $
|
|
71783
|
+
async function $do58(client, request, options) {
|
|
72168
71784
|
const parsed = safeParse(request, (value) => EvalsSentimentClassificationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72169
71785
|
if (!parsed.ok) {
|
|
72170
71786
|
return [parsed, { status: "invalid" }];
|
|
@@ -72235,20 +71851,20 @@ var init_evalsSentimentClassification = __esm(() => {
|
|
|
72235
71851
|
});
|
|
72236
71852
|
|
|
72237
71853
|
// src/mcp-server/tools/evalsSentimentClassification.ts
|
|
72238
|
-
var
|
|
71854
|
+
var args58, tool$evalsSentimentClassification;
|
|
72239
71855
|
var init_evalsSentimentClassification2 = __esm(() => {
|
|
72240
71856
|
init_evalsSentimentClassification();
|
|
72241
71857
|
init_operations();
|
|
72242
71858
|
init_tools();
|
|
72243
|
-
|
|
71859
|
+
args58 = {
|
|
72244
71860
|
request: EvalsSentimentClassificationRequestBody$inboundSchema.optional()
|
|
72245
71861
|
};
|
|
72246
71862
|
tool$evalsSentimentClassification = {
|
|
72247
71863
|
name: "evals-sentiment-classification",
|
|
72248
71864
|
description: `Run Sentiment Classification Evaluator`,
|
|
72249
|
-
args:
|
|
72250
|
-
tool: async (client,
|
|
72251
|
-
const [result, apiCall] = await evalsSentimentClassification(client,
|
|
71865
|
+
args: args58,
|
|
71866
|
+
tool: async (client, args59, ctx) => {
|
|
71867
|
+
const [result, apiCall] = await evalsSentimentClassification(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72252
71868
|
if (!result.ok) {
|
|
72253
71869
|
return {
|
|
72254
71870
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72263,9 +71879,9 @@ var init_evalsSentimentClassification2 = __esm(() => {
|
|
|
72263
71879
|
|
|
72264
71880
|
// src/funcs/evalsSummarization.ts
|
|
72265
71881
|
function evalsSummarization(client, request, options) {
|
|
72266
|
-
return new APIPromise($
|
|
71882
|
+
return new APIPromise($do59(client, request, options));
|
|
72267
71883
|
}
|
|
72268
|
-
async function $
|
|
71884
|
+
async function $do59(client, request, options) {
|
|
72269
71885
|
const parsed = safeParse(request, (value) => EvalsSummarizationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72270
71886
|
if (!parsed.ok) {
|
|
72271
71887
|
return [parsed, { status: "invalid" }];
|
|
@@ -72336,20 +71952,20 @@ var init_evalsSummarization = __esm(() => {
|
|
|
72336
71952
|
});
|
|
72337
71953
|
|
|
72338
71954
|
// src/mcp-server/tools/evalsSummarization.ts
|
|
72339
|
-
var
|
|
71955
|
+
var args59, tool$evalsSummarization;
|
|
72340
71956
|
var init_evalsSummarization2 = __esm(() => {
|
|
72341
71957
|
init_evalsSummarization();
|
|
72342
71958
|
init_operations();
|
|
72343
71959
|
init_tools();
|
|
72344
|
-
|
|
71960
|
+
args59 = {
|
|
72345
71961
|
request: EvalsSummarizationRequestBody$inboundSchema.optional()
|
|
72346
71962
|
};
|
|
72347
71963
|
tool$evalsSummarization = {
|
|
72348
71964
|
name: "evals-summarization",
|
|
72349
71965
|
description: `Run Summarization Evaluator`,
|
|
72350
|
-
args:
|
|
72351
|
-
tool: async (client,
|
|
72352
|
-
const [result, apiCall] = await evalsSummarization(client,
|
|
71966
|
+
args: args59,
|
|
71967
|
+
tool: async (client, args60, ctx) => {
|
|
71968
|
+
const [result, apiCall] = await evalsSummarization(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72353
71969
|
if (!result.ok) {
|
|
72354
71970
|
return {
|
|
72355
71971
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72364,9 +71980,9 @@ var init_evalsSummarization2 = __esm(() => {
|
|
|
72364
71980
|
|
|
72365
71981
|
// src/funcs/evalsToneOfVoice.ts
|
|
72366
71982
|
function evalsToneOfVoice(client, request, options) {
|
|
72367
|
-
return new APIPromise($
|
|
71983
|
+
return new APIPromise($do60(client, request, options));
|
|
72368
71984
|
}
|
|
72369
|
-
async function $
|
|
71985
|
+
async function $do60(client, request, options) {
|
|
72370
71986
|
const parsed = safeParse(request, (value) => EvalsToneOfVoiceRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72371
71987
|
if (!parsed.ok) {
|
|
72372
71988
|
return [parsed, { status: "invalid" }];
|
|
@@ -72437,20 +72053,20 @@ var init_evalsToneOfVoice = __esm(() => {
|
|
|
72437
72053
|
});
|
|
72438
72054
|
|
|
72439
72055
|
// src/mcp-server/tools/evalsToneOfVoice.ts
|
|
72440
|
-
var
|
|
72056
|
+
var args60, tool$evalsToneOfVoice;
|
|
72441
72057
|
var init_evalsToneOfVoice2 = __esm(() => {
|
|
72442
72058
|
init_evalsToneOfVoice();
|
|
72443
72059
|
init_operations();
|
|
72444
72060
|
init_tools();
|
|
72445
|
-
|
|
72061
|
+
args60 = {
|
|
72446
72062
|
request: EvalsToneOfVoiceRequestBody$inboundSchema.optional()
|
|
72447
72063
|
};
|
|
72448
72064
|
tool$evalsToneOfVoice = {
|
|
72449
72065
|
name: "evals-tone-of-voice",
|
|
72450
72066
|
description: `Run Tone of Voice Evaluator`,
|
|
72451
|
-
args:
|
|
72452
|
-
tool: async (client,
|
|
72453
|
-
const [result, apiCall] = await evalsToneOfVoice(client,
|
|
72067
|
+
args: args60,
|
|
72068
|
+
tool: async (client, args61, ctx) => {
|
|
72069
|
+
const [result, apiCall] = await evalsToneOfVoice(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72454
72070
|
if (!result.ok) {
|
|
72455
72071
|
return {
|
|
72456
72072
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72465,9 +72081,9 @@ var init_evalsToneOfVoice2 = __esm(() => {
|
|
|
72465
72081
|
|
|
72466
72082
|
// src/funcs/evalsTranslation.ts
|
|
72467
72083
|
function evalsTranslation(client, request, options) {
|
|
72468
|
-
return new APIPromise($
|
|
72084
|
+
return new APIPromise($do61(client, request, options));
|
|
72469
72085
|
}
|
|
72470
|
-
async function $
|
|
72086
|
+
async function $do61(client, request, options) {
|
|
72471
72087
|
const parsed = safeParse(request, (value) => EvalsTranslationRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72472
72088
|
if (!parsed.ok) {
|
|
72473
72089
|
return [parsed, { status: "invalid" }];
|
|
@@ -72538,20 +72154,20 @@ var init_evalsTranslation = __esm(() => {
|
|
|
72538
72154
|
});
|
|
72539
72155
|
|
|
72540
72156
|
// src/mcp-server/tools/evalsTranslation.ts
|
|
72541
|
-
var
|
|
72157
|
+
var args61, tool$evalsTranslation;
|
|
72542
72158
|
var init_evalsTranslation2 = __esm(() => {
|
|
72543
72159
|
init_evalsTranslation();
|
|
72544
72160
|
init_operations();
|
|
72545
72161
|
init_tools();
|
|
72546
|
-
|
|
72162
|
+
args61 = {
|
|
72547
72163
|
request: EvalsTranslationRequestBody$inboundSchema.optional()
|
|
72548
72164
|
};
|
|
72549
72165
|
tool$evalsTranslation = {
|
|
72550
72166
|
name: "evals-translation",
|
|
72551
72167
|
description: `Run Translation Evaluator`,
|
|
72552
|
-
args:
|
|
72553
|
-
tool: async (client,
|
|
72554
|
-
const [result, apiCall] = await evalsTranslation(client,
|
|
72168
|
+
args: args61,
|
|
72169
|
+
tool: async (client, args62, ctx) => {
|
|
72170
|
+
const [result, apiCall] = await evalsTranslation(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72555
72171
|
if (!result.ok) {
|
|
72556
72172
|
return {
|
|
72557
72173
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72566,9 +72182,9 @@ var init_evalsTranslation2 = __esm(() => {
|
|
|
72566
72182
|
|
|
72567
72183
|
// src/funcs/evalsUpdate.ts
|
|
72568
72184
|
function evalsUpdate(client, request, options) {
|
|
72569
|
-
return new APIPromise($
|
|
72185
|
+
return new APIPromise($do62(client, request, options));
|
|
72570
72186
|
}
|
|
72571
|
-
async function $
|
|
72187
|
+
async function $do62(client, request, options) {
|
|
72572
72188
|
const parsed = safeParse(request, (value) => UpdateEvalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72573
72189
|
if (!parsed.ok) {
|
|
72574
72190
|
return [parsed, { status: "invalid" }];
|
|
@@ -72645,20 +72261,20 @@ var init_evalsUpdate = __esm(() => {
|
|
|
72645
72261
|
});
|
|
72646
72262
|
|
|
72647
72263
|
// src/mcp-server/tools/evalsUpdate.ts
|
|
72648
|
-
var
|
|
72264
|
+
var args62, tool$evalsUpdate;
|
|
72649
72265
|
var init_evalsUpdate2 = __esm(() => {
|
|
72650
72266
|
init_evalsUpdate();
|
|
72651
72267
|
init_operations();
|
|
72652
72268
|
init_tools();
|
|
72653
|
-
|
|
72269
|
+
args62 = {
|
|
72654
72270
|
request: UpdateEvalRequest$inboundSchema
|
|
72655
72271
|
};
|
|
72656
72272
|
tool$evalsUpdate = {
|
|
72657
72273
|
name: "evals-update",
|
|
72658
72274
|
description: `Update an Evaluator`,
|
|
72659
|
-
args:
|
|
72660
|
-
tool: async (client,
|
|
72661
|
-
const [result, apiCall] = await evalsUpdate(client,
|
|
72275
|
+
args: args62,
|
|
72276
|
+
tool: async (client, args63, ctx) => {
|
|
72277
|
+
const [result, apiCall] = await evalsUpdate(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72662
72278
|
if (!result.ok) {
|
|
72663
72279
|
return {
|
|
72664
72280
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72673,9 +72289,9 @@ var init_evalsUpdate2 = __esm(() => {
|
|
|
72673
72289
|
|
|
72674
72290
|
// src/funcs/evalsValidJson.ts
|
|
72675
72291
|
function evalsValidJson(client, request, options) {
|
|
72676
|
-
return new APIPromise($
|
|
72292
|
+
return new APIPromise($do63(client, request, options));
|
|
72677
72293
|
}
|
|
72678
|
-
async function $
|
|
72294
|
+
async function $do63(client, request, options) {
|
|
72679
72295
|
const parsed = safeParse(request, (value) => EvalsValidJsonRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
72680
72296
|
if (!parsed.ok) {
|
|
72681
72297
|
return [parsed, { status: "invalid" }];
|
|
@@ -72746,20 +72362,20 @@ var init_evalsValidJson = __esm(() => {
|
|
|
72746
72362
|
});
|
|
72747
72363
|
|
|
72748
72364
|
// src/mcp-server/tools/evalsValidJson.ts
|
|
72749
|
-
var
|
|
72365
|
+
var args63, tool$evalsValidJson;
|
|
72750
72366
|
var init_evalsValidJson2 = __esm(() => {
|
|
72751
72367
|
init_evalsValidJson();
|
|
72752
72368
|
init_operations();
|
|
72753
72369
|
init_tools();
|
|
72754
|
-
|
|
72370
|
+
args63 = {
|
|
72755
72371
|
request: EvalsValidJsonRequestBody$inboundSchema.optional()
|
|
72756
72372
|
};
|
|
72757
72373
|
tool$evalsValidJson = {
|
|
72758
72374
|
name: "evals-valid-json",
|
|
72759
72375
|
description: `Run JSON Validation Evaluator`,
|
|
72760
|
-
args:
|
|
72761
|
-
tool: async (client,
|
|
72762
|
-
const [result, apiCall] = await evalsValidJson(client,
|
|
72376
|
+
args: args63,
|
|
72377
|
+
tool: async (client, args64, ctx) => {
|
|
72378
|
+
const [result, apiCall] = await evalsValidJson(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72763
72379
|
if (!result.ok) {
|
|
72764
72380
|
return {
|
|
72765
72381
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72774,9 +72390,9 @@ var init_evalsValidJson2 = __esm(() => {
|
|
|
72774
72390
|
|
|
72775
72391
|
// src/funcs/feedbackCreate.ts
|
|
72776
72392
|
function feedbackCreate(client, request, options) {
|
|
72777
|
-
return new APIPromise($
|
|
72393
|
+
return new APIPromise($do64(client, request, options));
|
|
72778
72394
|
}
|
|
72779
|
-
async function $
|
|
72395
|
+
async function $do64(client, request, options) {
|
|
72780
72396
|
const parsed = safeParse(request, (value) => CreateFeedbackRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
72781
72397
|
if (!parsed.ok) {
|
|
72782
72398
|
return [parsed, { status: "invalid" }];
|
|
@@ -72843,12 +72459,12 @@ var init_feedbackCreate = __esm(() => {
|
|
|
72843
72459
|
});
|
|
72844
72460
|
|
|
72845
72461
|
// src/mcp-server/tools/feedbackCreate.ts
|
|
72846
|
-
var
|
|
72462
|
+
var args64, tool$feedbackCreate;
|
|
72847
72463
|
var init_feedbackCreate2 = __esm(() => {
|
|
72848
72464
|
init_feedbackCreate();
|
|
72849
72465
|
init_operations();
|
|
72850
72466
|
init_tools();
|
|
72851
|
-
|
|
72467
|
+
args64 = {
|
|
72852
72468
|
request: CreateFeedbackRequestBody$inboundSchema
|
|
72853
72469
|
};
|
|
72854
72470
|
tool$feedbackCreate = {
|
|
@@ -72856,9 +72472,9 @@ var init_feedbackCreate2 = __esm(() => {
|
|
|
72856
72472
|
description: `Submit feedback
|
|
72857
72473
|
|
|
72858
72474
|
Submit feedback for the LLM transaction via the API`,
|
|
72859
|
-
args:
|
|
72860
|
-
tool: async (client,
|
|
72861
|
-
const [result, apiCall] = await feedbackCreate(client,
|
|
72475
|
+
args: args64,
|
|
72476
|
+
tool: async (client, args65, ctx) => {
|
|
72477
|
+
const [result, apiCall] = await feedbackCreate(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72862
72478
|
if (!result.ok) {
|
|
72863
72479
|
return {
|
|
72864
72480
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72942,9 +72558,9 @@ function isReadableStream(val) {
|
|
|
72942
72558
|
|
|
72943
72559
|
// src/funcs/filesCreate.ts
|
|
72944
72560
|
function filesCreate(client, request, options) {
|
|
72945
|
-
return new APIPromise($
|
|
72561
|
+
return new APIPromise($do65(client, request, options));
|
|
72946
72562
|
}
|
|
72947
|
-
async function $
|
|
72563
|
+
async function $do65(client, request, options) {
|
|
72948
72564
|
const parsed = safeParse(request, (value) => FileUploadRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
72949
72565
|
if (!parsed.ok) {
|
|
72950
72566
|
return [parsed, { status: "invalid" }];
|
|
@@ -73025,12 +72641,12 @@ var init_filesCreate = __esm(() => {
|
|
|
73025
72641
|
});
|
|
73026
72642
|
|
|
73027
72643
|
// src/mcp-server/tools/filesCreate.ts
|
|
73028
|
-
var
|
|
72644
|
+
var args65, tool$filesCreate;
|
|
73029
72645
|
var init_filesCreate2 = __esm(() => {
|
|
73030
72646
|
init_filesCreate();
|
|
73031
72647
|
init_operations();
|
|
73032
72648
|
init_tools();
|
|
73033
|
-
|
|
72649
|
+
args65 = {
|
|
73034
72650
|
request: FileUploadRequestBody$inboundSchema
|
|
73035
72651
|
};
|
|
73036
72652
|
tool$filesCreate = {
|
|
@@ -73038,9 +72654,9 @@ var init_filesCreate2 = __esm(() => {
|
|
|
73038
72654
|
description: `Create file
|
|
73039
72655
|
|
|
73040
72656
|
Files are used to upload documents that can be used with features like [Deployments](https://docs.orq.ai/reference/deploymentinvoke-1).`,
|
|
73041
|
-
args:
|
|
73042
|
-
tool: async (client,
|
|
73043
|
-
const [result, apiCall] = await filesCreate(client,
|
|
72657
|
+
args: args65,
|
|
72658
|
+
tool: async (client, args66, ctx) => {
|
|
72659
|
+
const [result, apiCall] = await filesCreate(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73044
72660
|
if (!result.ok) {
|
|
73045
72661
|
return {
|
|
73046
72662
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73055,9 +72671,9 @@ Files are used to upload documents that can be used with features like [Deployme
|
|
|
73055
72671
|
|
|
73056
72672
|
// src/funcs/filesDelete.ts
|
|
73057
72673
|
function filesDelete(client, request, options) {
|
|
73058
|
-
return new APIPromise($
|
|
72674
|
+
return new APIPromise($do66(client, request, options));
|
|
73059
72675
|
}
|
|
73060
|
-
async function $
|
|
72676
|
+
async function $do66(client, request, options) {
|
|
73061
72677
|
const parsed = safeParse(request, (value) => FileDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73062
72678
|
if (!parsed.ok) {
|
|
73063
72679
|
return [parsed, { status: "invalid" }];
|
|
@@ -73130,20 +72746,20 @@ var init_filesDelete = __esm(() => {
|
|
|
73130
72746
|
});
|
|
73131
72747
|
|
|
73132
72748
|
// src/mcp-server/tools/filesDelete.ts
|
|
73133
|
-
var
|
|
72749
|
+
var args66, tool$filesDelete;
|
|
73134
72750
|
var init_filesDelete2 = __esm(() => {
|
|
73135
72751
|
init_filesDelete();
|
|
73136
72752
|
init_operations();
|
|
73137
72753
|
init_tools();
|
|
73138
|
-
|
|
72754
|
+
args66 = {
|
|
73139
72755
|
request: FileDeleteRequest$inboundSchema
|
|
73140
72756
|
};
|
|
73141
72757
|
tool$filesDelete = {
|
|
73142
72758
|
name: "files-delete",
|
|
73143
72759
|
description: `Delete file`,
|
|
73144
|
-
args:
|
|
73145
|
-
tool: async (client,
|
|
73146
|
-
const [result, apiCall] = await filesDelete(client,
|
|
72760
|
+
args: args66,
|
|
72761
|
+
tool: async (client, args67, ctx) => {
|
|
72762
|
+
const [result, apiCall] = await filesDelete(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73147
72763
|
if (!result.ok) {
|
|
73148
72764
|
return {
|
|
73149
72765
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73157,9 +72773,9 @@ var init_filesDelete2 = __esm(() => {
|
|
|
73157
72773
|
|
|
73158
72774
|
// src/funcs/filesGet.ts
|
|
73159
72775
|
function filesGet(client, request, options) {
|
|
73160
|
-
return new APIPromise($
|
|
72776
|
+
return new APIPromise($do67(client, request, options));
|
|
73161
72777
|
}
|
|
73162
|
-
async function $
|
|
72778
|
+
async function $do67(client, request, options) {
|
|
73163
72779
|
const parsed = safeParse(request, (value) => FileGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73164
72780
|
if (!parsed.ok) {
|
|
73165
72781
|
return [parsed, { status: "invalid" }];
|
|
@@ -73231,12 +72847,12 @@ var init_filesGet = __esm(() => {
|
|
|
73231
72847
|
});
|
|
73232
72848
|
|
|
73233
72849
|
// src/mcp-server/tools/filesGet.ts
|
|
73234
|
-
var
|
|
72850
|
+
var args67, tool$filesGet;
|
|
73235
72851
|
var init_filesGet2 = __esm(() => {
|
|
73236
72852
|
init_filesGet();
|
|
73237
72853
|
init_operations();
|
|
73238
72854
|
init_tools();
|
|
73239
|
-
|
|
72855
|
+
args67 = {
|
|
73240
72856
|
request: FileGetRequest$inboundSchema
|
|
73241
72857
|
};
|
|
73242
72858
|
tool$filesGet = {
|
|
@@ -73244,9 +72860,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
73244
72860
|
description: `Retrieve a file
|
|
73245
72861
|
|
|
73246
72862
|
Retrieves the details of an existing file object. After you supply a unique file ID, orq.ai returns the corresponding file object`,
|
|
73247
|
-
args:
|
|
73248
|
-
tool: async (client,
|
|
73249
|
-
const [result, apiCall] = await filesGet(client,
|
|
72863
|
+
args: args67,
|
|
72864
|
+
tool: async (client, args68, ctx) => {
|
|
72865
|
+
const [result, apiCall] = await filesGet(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73250
72866
|
if (!result.ok) {
|
|
73251
72867
|
return {
|
|
73252
72868
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73261,9 +72877,9 @@ Retrieves the details of an existing file object. After you supply a unique file
|
|
|
73261
72877
|
|
|
73262
72878
|
// src/funcs/filesList.ts
|
|
73263
72879
|
function filesList(client, request, options) {
|
|
73264
|
-
return new APIPromise($
|
|
72880
|
+
return new APIPromise($do68(client, request, options));
|
|
73265
72881
|
}
|
|
73266
|
-
async function $
|
|
72882
|
+
async function $do68(client, request, options) {
|
|
73267
72883
|
const parsed = safeParse(request, (value) => FileListRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
73268
72884
|
if (!parsed.ok) {
|
|
73269
72885
|
return [parsed, { status: "invalid" }];
|
|
@@ -73335,12 +72951,12 @@ var init_filesList = __esm(() => {
|
|
|
73335
72951
|
});
|
|
73336
72952
|
|
|
73337
72953
|
// src/mcp-server/tools/filesList.ts
|
|
73338
|
-
var
|
|
72954
|
+
var args68, tool$filesList;
|
|
73339
72955
|
var init_filesList2 = __esm(() => {
|
|
73340
72956
|
init_filesList();
|
|
73341
72957
|
init_operations();
|
|
73342
72958
|
init_tools();
|
|
73343
|
-
|
|
72959
|
+
args68 = {
|
|
73344
72960
|
request: FileListRequest$inboundSchema.optional()
|
|
73345
72961
|
};
|
|
73346
72962
|
tool$filesList = {
|
|
@@ -73348,9 +72964,9 @@ var init_filesList2 = __esm(() => {
|
|
|
73348
72964
|
description: `List all files
|
|
73349
72965
|
|
|
73350
72966
|
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.`,
|
|
73351
|
-
args:
|
|
73352
|
-
tool: async (client,
|
|
73353
|
-
const [result, apiCall] = await filesList(client,
|
|
72967
|
+
args: args68,
|
|
72968
|
+
tool: async (client, args69, ctx) => {
|
|
72969
|
+
const [result, apiCall] = await filesList(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73354
72970
|
if (!result.ok) {
|
|
73355
72971
|
return {
|
|
73356
72972
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73365,9 +72981,9 @@ Returns a list of the files that your account has access to. orq.ai sorts and re
|
|
|
73365
72981
|
|
|
73366
72982
|
// src/funcs/knowledgeChunkText.ts
|
|
73367
72983
|
function knowledgeChunkText(client, request, options) {
|
|
73368
|
-
return new APIPromise($
|
|
72984
|
+
return new APIPromise($do69(client, request, options));
|
|
73369
72985
|
}
|
|
73370
|
-
async function $
|
|
72986
|
+
async function $do69(client, request, options) {
|
|
73371
72987
|
const parsed = safeParse(request, (value) => ChunkTextChunkingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73372
72988
|
if (!parsed.ok) {
|
|
73373
72989
|
return [parsed, { status: "invalid" }];
|
|
@@ -73434,12 +73050,12 @@ var init_knowledgeChunkText = __esm(() => {
|
|
|
73434
73050
|
});
|
|
73435
73051
|
|
|
73436
73052
|
// src/mcp-server/tools/knowledgeChunkText.ts
|
|
73437
|
-
var
|
|
73053
|
+
var args69, tool$knowledgeChunkText;
|
|
73438
73054
|
var init_knowledgeChunkText2 = __esm(() => {
|
|
73439
73055
|
init_knowledgeChunkText();
|
|
73440
73056
|
init_operations();
|
|
73441
73057
|
init_tools();
|
|
73442
|
-
|
|
73058
|
+
args69 = {
|
|
73443
73059
|
request: ChunkTextChunkingRequest$inboundSchema
|
|
73444
73060
|
};
|
|
73445
73061
|
tool$knowledgeChunkText = {
|
|
@@ -73447,9 +73063,9 @@ var init_knowledgeChunkText2 = __esm(() => {
|
|
|
73447
73063
|
description: `Chunk text content using various strategies
|
|
73448
73064
|
|
|
73449
73065
|
Split large text documents into smaller, manageable chunks using different chunking strategies optimized for RAG (Retrieval-Augmented Generation) workflows. This endpoint supports multiple chunking algorithms including token-based, sentence-based, recursive, semantic, and specialized strategies.`,
|
|
73450
|
-
args:
|
|
73451
|
-
tool: async (client,
|
|
73452
|
-
const [result, apiCall] = await knowledgeChunkText(client,
|
|
73066
|
+
args: args69,
|
|
73067
|
+
tool: async (client, args70, ctx) => {
|
|
73068
|
+
const [result, apiCall] = await knowledgeChunkText(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73453
73069
|
if (!result.ok) {
|
|
73454
73070
|
return {
|
|
73455
73071
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73464,9 +73080,9 @@ Split large text documents into smaller, manageable chunks using different chunk
|
|
|
73464
73080
|
|
|
73465
73081
|
// src/funcs/knowledgeCreateChunks.ts
|
|
73466
73082
|
function knowledgeCreateChunks(client, request, options) {
|
|
73467
|
-
return new APIPromise($
|
|
73083
|
+
return new APIPromise($do70(client, request, options));
|
|
73468
73084
|
}
|
|
73469
|
-
async function $
|
|
73085
|
+
async function $do70(client, request, options) {
|
|
73470
73086
|
const parsed = safeParse(request, (value) => CreateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73471
73087
|
if (!parsed.ok) {
|
|
73472
73088
|
return [parsed, { status: "invalid" }];
|
|
@@ -73544,20 +73160,20 @@ var init_knowledgeCreateChunks = __esm(() => {
|
|
|
73544
73160
|
});
|
|
73545
73161
|
|
|
73546
73162
|
// src/mcp-server/tools/knowledgeCreateChunks.ts
|
|
73547
|
-
var
|
|
73163
|
+
var args70, tool$knowledgeCreateChunks;
|
|
73548
73164
|
var init_knowledgeCreateChunks2 = __esm(() => {
|
|
73549
73165
|
init_knowledgeCreateChunks();
|
|
73550
73166
|
init_operations();
|
|
73551
73167
|
init_tools();
|
|
73552
|
-
|
|
73168
|
+
args70 = {
|
|
73553
73169
|
request: CreateChunkRequest$inboundSchema
|
|
73554
73170
|
};
|
|
73555
73171
|
tool$knowledgeCreateChunks = {
|
|
73556
73172
|
name: "knowledge-create-chunks",
|
|
73557
73173
|
description: `Create chunks for a datasource`,
|
|
73558
|
-
args:
|
|
73559
|
-
tool: async (client,
|
|
73560
|
-
const [result, apiCall] = await knowledgeCreateChunks(client,
|
|
73174
|
+
args: args70,
|
|
73175
|
+
tool: async (client, args71, ctx) => {
|
|
73176
|
+
const [result, apiCall] = await knowledgeCreateChunks(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73561
73177
|
if (!result.ok) {
|
|
73562
73178
|
return {
|
|
73563
73179
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73572,9 +73188,9 @@ var init_knowledgeCreateChunks2 = __esm(() => {
|
|
|
73572
73188
|
|
|
73573
73189
|
// src/funcs/knowledgeCreateDatasource.ts
|
|
73574
73190
|
function knowledgeCreateDatasource(client, request, options) {
|
|
73575
|
-
return new APIPromise($
|
|
73191
|
+
return new APIPromise($do71(client, request, options));
|
|
73576
73192
|
}
|
|
73577
|
-
async function $
|
|
73193
|
+
async function $do71(client, request, options) {
|
|
73578
73194
|
const parsed = safeParse(request, (value) => CreateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73579
73195
|
if (!parsed.ok) {
|
|
73580
73196
|
return [parsed, { status: "invalid" }];
|
|
@@ -73647,20 +73263,20 @@ var init_knowledgeCreateDatasource = __esm(() => {
|
|
|
73647
73263
|
});
|
|
73648
73264
|
|
|
73649
73265
|
// src/mcp-server/tools/knowledgeCreateDatasource.ts
|
|
73650
|
-
var
|
|
73266
|
+
var args71, tool$knowledgeCreateDatasource;
|
|
73651
73267
|
var init_knowledgeCreateDatasource2 = __esm(() => {
|
|
73652
73268
|
init_knowledgeCreateDatasource();
|
|
73653
73269
|
init_operations();
|
|
73654
73270
|
init_tools();
|
|
73655
|
-
|
|
73271
|
+
args71 = {
|
|
73656
73272
|
request: CreateDatasourceRequest$inboundSchema
|
|
73657
73273
|
};
|
|
73658
73274
|
tool$knowledgeCreateDatasource = {
|
|
73659
73275
|
name: "knowledge-create-datasource",
|
|
73660
73276
|
description: `Create a new datasource`,
|
|
73661
|
-
args:
|
|
73662
|
-
tool: async (client,
|
|
73663
|
-
const [result, apiCall] = await knowledgeCreateDatasource(client,
|
|
73277
|
+
args: args71,
|
|
73278
|
+
tool: async (client, args72, ctx) => {
|
|
73279
|
+
const [result, apiCall] = await knowledgeCreateDatasource(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73664
73280
|
if (!result.ok) {
|
|
73665
73281
|
return {
|
|
73666
73282
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73675,9 +73291,9 @@ var init_knowledgeCreateDatasource2 = __esm(() => {
|
|
|
73675
73291
|
|
|
73676
73292
|
// src/funcs/knowledgeDelete.ts
|
|
73677
73293
|
function knowledgeDelete(client, request, options) {
|
|
73678
|
-
return new APIPromise($
|
|
73294
|
+
return new APIPromise($do72(client, request, options));
|
|
73679
73295
|
}
|
|
73680
|
-
async function $
|
|
73296
|
+
async function $do72(client, request, options) {
|
|
73681
73297
|
const parsed = safeParse(request, (value) => DeleteKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73682
73298
|
if (!parsed.ok) {
|
|
73683
73299
|
return [parsed, { status: "invalid" }];
|
|
@@ -73750,12 +73366,12 @@ var init_knowledgeDelete = __esm(() => {
|
|
|
73750
73366
|
});
|
|
73751
73367
|
|
|
73752
73368
|
// src/mcp-server/tools/knowledgeDelete.ts
|
|
73753
|
-
var
|
|
73369
|
+
var args72, tool$knowledgeDelete;
|
|
73754
73370
|
var init_knowledgeDelete2 = __esm(() => {
|
|
73755
73371
|
init_knowledgeDelete();
|
|
73756
73372
|
init_operations();
|
|
73757
73373
|
init_tools();
|
|
73758
|
-
|
|
73374
|
+
args72 = {
|
|
73759
73375
|
request: DeleteKnowledgeRequest$inboundSchema
|
|
73760
73376
|
};
|
|
73761
73377
|
tool$knowledgeDelete = {
|
|
@@ -73763,9 +73379,9 @@ var init_knowledgeDelete2 = __esm(() => {
|
|
|
73763
73379
|
description: `Deletes a knowledge
|
|
73764
73380
|
|
|
73765
73381
|
Deletes a knowledge base. Deleting a knowledge base will delete all the datasources and chunks associated with it.`,
|
|
73766
|
-
args:
|
|
73767
|
-
tool: async (client,
|
|
73768
|
-
const [result, apiCall] = await knowledgeDelete(client,
|
|
73382
|
+
args: args72,
|
|
73383
|
+
tool: async (client, args73, ctx) => {
|
|
73384
|
+
const [result, apiCall] = await knowledgeDelete(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73769
73385
|
if (!result.ok) {
|
|
73770
73386
|
return {
|
|
73771
73387
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73779,9 +73395,9 @@ Deletes a knowledge base. Deleting a knowledge base will delete all the datasour
|
|
|
73779
73395
|
|
|
73780
73396
|
// src/funcs/knowledgeDeleteChunk.ts
|
|
73781
73397
|
function knowledgeDeleteChunk(client, request, options) {
|
|
73782
|
-
return new APIPromise($
|
|
73398
|
+
return new APIPromise($do73(client, request, options));
|
|
73783
73399
|
}
|
|
73784
|
-
async function $
|
|
73400
|
+
async function $do73(client, request, options) {
|
|
73785
73401
|
const parsed = safeParse(request, (value) => DeleteChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73786
73402
|
if (!parsed.ok) {
|
|
73787
73403
|
return [parsed, { status: "invalid" }];
|
|
@@ -73862,20 +73478,20 @@ var init_knowledgeDeleteChunk = __esm(() => {
|
|
|
73862
73478
|
});
|
|
73863
73479
|
|
|
73864
73480
|
// src/mcp-server/tools/knowledgeDeleteChunk.ts
|
|
73865
|
-
var
|
|
73481
|
+
var args73, tool$knowledgeDeleteChunk;
|
|
73866
73482
|
var init_knowledgeDeleteChunk2 = __esm(() => {
|
|
73867
73483
|
init_knowledgeDeleteChunk();
|
|
73868
73484
|
init_operations();
|
|
73869
73485
|
init_tools();
|
|
73870
|
-
|
|
73486
|
+
args73 = {
|
|
73871
73487
|
request: DeleteChunkRequest$inboundSchema
|
|
73872
73488
|
};
|
|
73873
73489
|
tool$knowledgeDeleteChunk = {
|
|
73874
73490
|
name: "knowledge-delete-chunk",
|
|
73875
73491
|
description: `Delete a chunk`,
|
|
73876
|
-
args:
|
|
73877
|
-
tool: async (client,
|
|
73878
|
-
const [result, apiCall] = await knowledgeDeleteChunk(client,
|
|
73492
|
+
args: args73,
|
|
73493
|
+
tool: async (client, args74, ctx) => {
|
|
73494
|
+
const [result, apiCall] = await knowledgeDeleteChunk(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73879
73495
|
if (!result.ok) {
|
|
73880
73496
|
return {
|
|
73881
73497
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73889,9 +73505,9 @@ var init_knowledgeDeleteChunk2 = __esm(() => {
|
|
|
73889
73505
|
|
|
73890
73506
|
// src/funcs/knowledgeDeleteDatasource.ts
|
|
73891
73507
|
function knowledgeDeleteDatasource(client, request, options) {
|
|
73892
|
-
return new APIPromise($
|
|
73508
|
+
return new APIPromise($do74(client, request, options));
|
|
73893
73509
|
}
|
|
73894
|
-
async function $
|
|
73510
|
+
async function $do74(client, request, options) {
|
|
73895
73511
|
const parsed = safeParse(request, (value) => DeleteDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73896
73512
|
if (!parsed.ok) {
|
|
73897
73513
|
return [parsed, { status: "invalid" }];
|
|
@@ -73968,12 +73584,12 @@ var init_knowledgeDeleteDatasource = __esm(() => {
|
|
|
73968
73584
|
});
|
|
73969
73585
|
|
|
73970
73586
|
// src/mcp-server/tools/knowledgeDeleteDatasource.ts
|
|
73971
|
-
var
|
|
73587
|
+
var args74, tool$knowledgeDeleteDatasource;
|
|
73972
73588
|
var init_knowledgeDeleteDatasource2 = __esm(() => {
|
|
73973
73589
|
init_knowledgeDeleteDatasource();
|
|
73974
73590
|
init_operations();
|
|
73975
73591
|
init_tools();
|
|
73976
|
-
|
|
73592
|
+
args74 = {
|
|
73977
73593
|
request: DeleteDatasourceRequest$inboundSchema
|
|
73978
73594
|
};
|
|
73979
73595
|
tool$knowledgeDeleteDatasource = {
|
|
@@ -73981,9 +73597,9 @@ var init_knowledgeDeleteDatasource2 = __esm(() => {
|
|
|
73981
73597
|
description: `Deletes a datasource
|
|
73982
73598
|
|
|
73983
73599
|
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.`,
|
|
73984
|
-
args:
|
|
73985
|
-
tool: async (client,
|
|
73986
|
-
const [result, apiCall] = await knowledgeDeleteDatasource(client,
|
|
73600
|
+
args: args74,
|
|
73601
|
+
tool: async (client, args75, ctx) => {
|
|
73602
|
+
const [result, apiCall] = await knowledgeDeleteDatasource(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73987
73603
|
if (!result.ok) {
|
|
73988
73604
|
return {
|
|
73989
73605
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73997,9 +73613,9 @@ Deletes a datasource from a knowledge base. Deleting a datasource will remove it
|
|
|
73997
73613
|
|
|
73998
73614
|
// src/funcs/knowledgeList.ts
|
|
73999
73615
|
function knowledgeList(client, request, options) {
|
|
74000
|
-
return new APIPromise($
|
|
73616
|
+
return new APIPromise($do75(client, request, options));
|
|
74001
73617
|
}
|
|
74002
|
-
async function $
|
|
73618
|
+
async function $do75(client, request, options) {
|
|
74003
73619
|
const parsed = safeParse(request, (value) => ListKnowledgeBasesRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
74004
73620
|
if (!parsed.ok) {
|
|
74005
73621
|
return [parsed, { status: "invalid" }];
|
|
@@ -74071,12 +73687,12 @@ var init_knowledgeList = __esm(() => {
|
|
|
74071
73687
|
});
|
|
74072
73688
|
|
|
74073
73689
|
// src/mcp-server/tools/knowledgeList.ts
|
|
74074
|
-
var
|
|
73690
|
+
var args75, tool$knowledgeList;
|
|
74075
73691
|
var init_knowledgeList2 = __esm(() => {
|
|
74076
73692
|
init_knowledgeList();
|
|
74077
73693
|
init_operations();
|
|
74078
73694
|
init_tools();
|
|
74079
|
-
|
|
73695
|
+
args75 = {
|
|
74080
73696
|
request: ListKnowledgeBasesRequest$inboundSchema.optional()
|
|
74081
73697
|
};
|
|
74082
73698
|
tool$knowledgeList = {
|
|
@@ -74084,9 +73700,9 @@ var init_knowledgeList2 = __esm(() => {
|
|
|
74084
73700
|
description: `List all knowledge bases
|
|
74085
73701
|
|
|
74086
73702
|
Returns a list of your knowledge bases. The knowledge bases are returned sorted by creation date, with the most recent knowledge bases appearing first`,
|
|
74087
|
-
args:
|
|
74088
|
-
tool: async (client,
|
|
74089
|
-
const [result, apiCall] = await knowledgeList(client,
|
|
73703
|
+
args: args75,
|
|
73704
|
+
tool: async (client, args76, ctx) => {
|
|
73705
|
+
const [result, apiCall] = await knowledgeList(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74090
73706
|
if (!result.ok) {
|
|
74091
73707
|
return {
|
|
74092
73708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74101,9 +73717,9 @@ Returns a list of your knowledge bases. The knowledge bases are returned sorted
|
|
|
74101
73717
|
|
|
74102
73718
|
// src/funcs/knowledgeListChunks.ts
|
|
74103
73719
|
function knowledgeListChunks(client, request, options) {
|
|
74104
|
-
return new APIPromise($
|
|
73720
|
+
return new APIPromise($do76(client, request, options));
|
|
74105
73721
|
}
|
|
74106
|
-
async function $
|
|
73722
|
+
async function $do76(client, request, options) {
|
|
74107
73723
|
const parsed = safeParse(request, (value) => ListChunksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74108
73724
|
if (!parsed.ok) {
|
|
74109
73725
|
return [parsed, { status: "invalid" }];
|
|
@@ -74187,20 +73803,20 @@ var init_knowledgeListChunks = __esm(() => {
|
|
|
74187
73803
|
});
|
|
74188
73804
|
|
|
74189
73805
|
// src/mcp-server/tools/knowledgeListChunks.ts
|
|
74190
|
-
var
|
|
73806
|
+
var args76, tool$knowledgeListChunks;
|
|
74191
73807
|
var init_knowledgeListChunks2 = __esm(() => {
|
|
74192
73808
|
init_knowledgeListChunks();
|
|
74193
73809
|
init_operations();
|
|
74194
73810
|
init_tools();
|
|
74195
|
-
|
|
73811
|
+
args76 = {
|
|
74196
73812
|
request: ListChunksRequest$inboundSchema
|
|
74197
73813
|
};
|
|
74198
73814
|
tool$knowledgeListChunks = {
|
|
74199
73815
|
name: "knowledge-list-chunks",
|
|
74200
73816
|
description: `List all chunks for a datasource`,
|
|
74201
|
-
args:
|
|
74202
|
-
tool: async (client,
|
|
74203
|
-
const [result, apiCall] = await knowledgeListChunks(client,
|
|
73817
|
+
args: args76,
|
|
73818
|
+
tool: async (client, args77, ctx) => {
|
|
73819
|
+
const [result, apiCall] = await knowledgeListChunks(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74204
73820
|
if (!result.ok) {
|
|
74205
73821
|
return {
|
|
74206
73822
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74215,9 +73831,9 @@ var init_knowledgeListChunks2 = __esm(() => {
|
|
|
74215
73831
|
|
|
74216
73832
|
// src/funcs/knowledgeListDatasources.ts
|
|
74217
73833
|
function knowledgeListDatasources(client, request, options) {
|
|
74218
|
-
return new APIPromise($
|
|
73834
|
+
return new APIPromise($do77(client, request, options));
|
|
74219
73835
|
}
|
|
74220
|
-
async function $
|
|
73836
|
+
async function $do77(client, request, options) {
|
|
74221
73837
|
const parsed = safeParse(request, (value) => ListDatasourcesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74222
73838
|
if (!parsed.ok) {
|
|
74223
73839
|
return [parsed, { status: "invalid" }];
|
|
@@ -74297,20 +73913,20 @@ var init_knowledgeListDatasources = __esm(() => {
|
|
|
74297
73913
|
});
|
|
74298
73914
|
|
|
74299
73915
|
// src/mcp-server/tools/knowledgeListDatasources.ts
|
|
74300
|
-
var
|
|
73916
|
+
var args77, tool$knowledgeListDatasources;
|
|
74301
73917
|
var init_knowledgeListDatasources2 = __esm(() => {
|
|
74302
73918
|
init_knowledgeListDatasources();
|
|
74303
73919
|
init_operations();
|
|
74304
73920
|
init_tools();
|
|
74305
|
-
|
|
73921
|
+
args77 = {
|
|
74306
73922
|
request: ListDatasourcesRequest$inboundSchema
|
|
74307
73923
|
};
|
|
74308
73924
|
tool$knowledgeListDatasources = {
|
|
74309
73925
|
name: "knowledge-list-datasources",
|
|
74310
73926
|
description: `List all datasources`,
|
|
74311
|
-
args:
|
|
74312
|
-
tool: async (client,
|
|
74313
|
-
const [result, apiCall] = await knowledgeListDatasources(client,
|
|
73927
|
+
args: args77,
|
|
73928
|
+
tool: async (client, args78, ctx) => {
|
|
73929
|
+
const [result, apiCall] = await knowledgeListDatasources(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74314
73930
|
if (!result.ok) {
|
|
74315
73931
|
return {
|
|
74316
73932
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74325,9 +73941,9 @@ var init_knowledgeListDatasources2 = __esm(() => {
|
|
|
74325
73941
|
|
|
74326
73942
|
// src/funcs/knowledgeRetrieve.ts
|
|
74327
73943
|
function knowledgeRetrieve(client, request, options) {
|
|
74328
|
-
return new APIPromise($
|
|
73944
|
+
return new APIPromise($do78(client, request, options));
|
|
74329
73945
|
}
|
|
74330
|
-
async function $
|
|
73946
|
+
async function $do78(client, request, options) {
|
|
74331
73947
|
const parsed = safeParse(request, (value) => GetOneKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74332
73948
|
if (!parsed.ok) {
|
|
74333
73949
|
return [parsed, { status: "invalid" }];
|
|
@@ -74399,12 +74015,12 @@ var init_knowledgeRetrieve = __esm(() => {
|
|
|
74399
74015
|
});
|
|
74400
74016
|
|
|
74401
74017
|
// src/mcp-server/tools/knowledgeRetrieve.ts
|
|
74402
|
-
var
|
|
74018
|
+
var args78, tool$knowledgeRetrieve;
|
|
74403
74019
|
var init_knowledgeRetrieve2 = __esm(() => {
|
|
74404
74020
|
init_knowledgeRetrieve();
|
|
74405
74021
|
init_operations();
|
|
74406
74022
|
init_tools();
|
|
74407
|
-
|
|
74023
|
+
args78 = {
|
|
74408
74024
|
request: GetOneKnowledgeRequest$inboundSchema
|
|
74409
74025
|
};
|
|
74410
74026
|
tool$knowledgeRetrieve = {
|
|
@@ -74412,9 +74028,9 @@ var init_knowledgeRetrieve2 = __esm(() => {
|
|
|
74412
74028
|
description: `Retrieves a knowledge base
|
|
74413
74029
|
|
|
74414
74030
|
Retrieve a knowledge base with the settings.`,
|
|
74415
|
-
args:
|
|
74416
|
-
tool: async (client,
|
|
74417
|
-
const [result, apiCall] = await knowledgeRetrieve(client,
|
|
74031
|
+
args: args78,
|
|
74032
|
+
tool: async (client, args79, ctx) => {
|
|
74033
|
+
const [result, apiCall] = await knowledgeRetrieve(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74418
74034
|
if (!result.ok) {
|
|
74419
74035
|
return {
|
|
74420
74036
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74429,9 +74045,9 @@ Retrieve a knowledge base with the settings.`,
|
|
|
74429
74045
|
|
|
74430
74046
|
// src/funcs/knowledgeRetrieveChunk.ts
|
|
74431
74047
|
function knowledgeRetrieveChunk(client, request, options) {
|
|
74432
|
-
return new APIPromise($
|
|
74048
|
+
return new APIPromise($do79(client, request, options));
|
|
74433
74049
|
}
|
|
74434
|
-
async function $
|
|
74050
|
+
async function $do79(client, request, options) {
|
|
74435
74051
|
const parsed = safeParse(request, (value) => GetOneChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74436
74052
|
if (!parsed.ok) {
|
|
74437
74053
|
return [parsed, { status: "invalid" }];
|
|
@@ -74511,20 +74127,20 @@ var init_knowledgeRetrieveChunk = __esm(() => {
|
|
|
74511
74127
|
});
|
|
74512
74128
|
|
|
74513
74129
|
// src/mcp-server/tools/knowledgeRetrieveChunk.ts
|
|
74514
|
-
var
|
|
74130
|
+
var args79, tool$knowledgeRetrieveChunk;
|
|
74515
74131
|
var init_knowledgeRetrieveChunk2 = __esm(() => {
|
|
74516
74132
|
init_knowledgeRetrieveChunk();
|
|
74517
74133
|
init_operations();
|
|
74518
74134
|
init_tools();
|
|
74519
|
-
|
|
74135
|
+
args79 = {
|
|
74520
74136
|
request: GetOneChunkRequest$inboundSchema
|
|
74521
74137
|
};
|
|
74522
74138
|
tool$knowledgeRetrieveChunk = {
|
|
74523
74139
|
name: "knowledge-retrieve-chunk",
|
|
74524
74140
|
description: `Retrieve a chunk`,
|
|
74525
|
-
args:
|
|
74526
|
-
tool: async (client,
|
|
74527
|
-
const [result, apiCall] = await knowledgeRetrieveChunk(client,
|
|
74141
|
+
args: args79,
|
|
74142
|
+
tool: async (client, args80, ctx) => {
|
|
74143
|
+
const [result, apiCall] = await knowledgeRetrieveChunk(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74528
74144
|
if (!result.ok) {
|
|
74529
74145
|
return {
|
|
74530
74146
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74539,9 +74155,9 @@ var init_knowledgeRetrieveChunk2 = __esm(() => {
|
|
|
74539
74155
|
|
|
74540
74156
|
// src/funcs/knowledgeRetrieveDatasource.ts
|
|
74541
74157
|
function knowledgeRetrieveDatasource(client, request, options) {
|
|
74542
|
-
return new APIPromise($
|
|
74158
|
+
return new APIPromise($do80(client, request, options));
|
|
74543
74159
|
}
|
|
74544
|
-
async function $
|
|
74160
|
+
async function $do80(client, request, options) {
|
|
74545
74161
|
const parsed = safeParse(request, (value) => RetrieveDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74546
74162
|
if (!parsed.ok) {
|
|
74547
74163
|
return [parsed, { status: "invalid" }];
|
|
@@ -74617,20 +74233,20 @@ var init_knowledgeRetrieveDatasource = __esm(() => {
|
|
|
74617
74233
|
});
|
|
74618
74234
|
|
|
74619
74235
|
// src/mcp-server/tools/knowledgeRetrieveDatasource.ts
|
|
74620
|
-
var
|
|
74236
|
+
var args80, tool$knowledgeRetrieveDatasource;
|
|
74621
74237
|
var init_knowledgeRetrieveDatasource2 = __esm(() => {
|
|
74622
74238
|
init_knowledgeRetrieveDatasource();
|
|
74623
74239
|
init_operations();
|
|
74624
74240
|
init_tools();
|
|
74625
|
-
|
|
74241
|
+
args80 = {
|
|
74626
74242
|
request: RetrieveDatasourceRequest$inboundSchema
|
|
74627
74243
|
};
|
|
74628
74244
|
tool$knowledgeRetrieveDatasource = {
|
|
74629
74245
|
name: "knowledge-retrieve-datasource",
|
|
74630
74246
|
description: `Retrieve a datasource`,
|
|
74631
|
-
args:
|
|
74632
|
-
tool: async (client,
|
|
74633
|
-
const [result, apiCall] = await knowledgeRetrieveDatasource(client,
|
|
74247
|
+
args: args80,
|
|
74248
|
+
tool: async (client, args81, ctx) => {
|
|
74249
|
+
const [result, apiCall] = await knowledgeRetrieveDatasource(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74634
74250
|
if (!result.ok) {
|
|
74635
74251
|
return {
|
|
74636
74252
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74645,9 +74261,9 @@ var init_knowledgeRetrieveDatasource2 = __esm(() => {
|
|
|
74645
74261
|
|
|
74646
74262
|
// src/funcs/knowledgeSearch.ts
|
|
74647
74263
|
function knowledgeSearch(client, request, options) {
|
|
74648
|
-
return new APIPromise($
|
|
74264
|
+
return new APIPromise($do81(client, request, options));
|
|
74649
74265
|
}
|
|
74650
|
-
async function $
|
|
74266
|
+
async function $do81(client, request, options) {
|
|
74651
74267
|
const parsed = safeParse(request, (value) => SearchKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74652
74268
|
if (!parsed.ok) {
|
|
74653
74269
|
return [parsed, { status: "invalid" }];
|
|
@@ -74720,12 +74336,12 @@ var init_knowledgeSearch = __esm(() => {
|
|
|
74720
74336
|
});
|
|
74721
74337
|
|
|
74722
74338
|
// src/mcp-server/tools/knowledgeSearch.ts
|
|
74723
|
-
var
|
|
74339
|
+
var args81, tool$knowledgeSearch;
|
|
74724
74340
|
var init_knowledgeSearch2 = __esm(() => {
|
|
74725
74341
|
init_knowledgeSearch();
|
|
74726
74342
|
init_operations();
|
|
74727
74343
|
init_tools();
|
|
74728
|
-
|
|
74344
|
+
args81 = {
|
|
74729
74345
|
request: SearchKnowledgeRequest$inboundSchema
|
|
74730
74346
|
};
|
|
74731
74347
|
tool$knowledgeSearch = {
|
|
@@ -74733,9 +74349,9 @@ var init_knowledgeSearch2 = __esm(() => {
|
|
|
74733
74349
|
description: `Search knowledge base
|
|
74734
74350
|
|
|
74735
74351
|
Search a Knowledge Base and return the most similar chunks, along with their search and rerank scores.`,
|
|
74736
|
-
args:
|
|
74737
|
-
tool: async (client,
|
|
74738
|
-
const [result, apiCall] = await knowledgeSearch(client,
|
|
74352
|
+
args: args81,
|
|
74353
|
+
tool: async (client, args82, ctx) => {
|
|
74354
|
+
const [result, apiCall] = await knowledgeSearch(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74739
74355
|
if (!result.ok) {
|
|
74740
74356
|
return {
|
|
74741
74357
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74750,9 +74366,9 @@ Search a Knowledge Base and return the most similar chunks, along with their sea
|
|
|
74750
74366
|
|
|
74751
74367
|
// src/funcs/knowledgeUpdate.ts
|
|
74752
74368
|
function knowledgeUpdate(client, request, options) {
|
|
74753
|
-
return new APIPromise($
|
|
74369
|
+
return new APIPromise($do82(client, request, options));
|
|
74754
74370
|
}
|
|
74755
|
-
async function $
|
|
74371
|
+
async function $do82(client, request, options) {
|
|
74756
74372
|
const parsed = safeParse(request, (value) => UpdateKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74757
74373
|
if (!parsed.ok) {
|
|
74758
74374
|
return [parsed, { status: "invalid" }];
|
|
@@ -74825,20 +74441,20 @@ var init_knowledgeUpdate = __esm(() => {
|
|
|
74825
74441
|
});
|
|
74826
74442
|
|
|
74827
74443
|
// src/mcp-server/tools/knowledgeUpdate.ts
|
|
74828
|
-
var
|
|
74444
|
+
var args82, tool$knowledgeUpdate;
|
|
74829
74445
|
var init_knowledgeUpdate2 = __esm(() => {
|
|
74830
74446
|
init_knowledgeUpdate();
|
|
74831
74447
|
init_operations();
|
|
74832
74448
|
init_tools();
|
|
74833
|
-
|
|
74449
|
+
args82 = {
|
|
74834
74450
|
request: UpdateKnowledgeRequest$inboundSchema
|
|
74835
74451
|
};
|
|
74836
74452
|
tool$knowledgeUpdate = {
|
|
74837
74453
|
name: "knowledge-update",
|
|
74838
74454
|
description: `Updates a knowledge`,
|
|
74839
|
-
args:
|
|
74840
|
-
tool: async (client,
|
|
74841
|
-
const [result, apiCall] = await knowledgeUpdate(client,
|
|
74455
|
+
args: args82,
|
|
74456
|
+
tool: async (client, args83, ctx) => {
|
|
74457
|
+
const [result, apiCall] = await knowledgeUpdate(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74842
74458
|
if (!result.ok) {
|
|
74843
74459
|
return {
|
|
74844
74460
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74853,9 +74469,9 @@ var init_knowledgeUpdate2 = __esm(() => {
|
|
|
74853
74469
|
|
|
74854
74470
|
// src/funcs/knowledgeUpdateChunk.ts
|
|
74855
74471
|
function knowledgeUpdateChunk(client, request, options) {
|
|
74856
|
-
return new APIPromise($
|
|
74472
|
+
return new APIPromise($do83(client, request, options));
|
|
74857
74473
|
}
|
|
74858
|
-
async function $
|
|
74474
|
+
async function $do83(client, request, options) {
|
|
74859
74475
|
const parsed = safeParse(request, (value) => UpdateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74860
74476
|
if (!parsed.ok) {
|
|
74861
74477
|
return [parsed, { status: "invalid" }];
|
|
@@ -74936,20 +74552,20 @@ var init_knowledgeUpdateChunk = __esm(() => {
|
|
|
74936
74552
|
});
|
|
74937
74553
|
|
|
74938
74554
|
// src/mcp-server/tools/knowledgeUpdateChunk.ts
|
|
74939
|
-
var
|
|
74555
|
+
var args83, tool$knowledgeUpdateChunk;
|
|
74940
74556
|
var init_knowledgeUpdateChunk2 = __esm(() => {
|
|
74941
74557
|
init_knowledgeUpdateChunk();
|
|
74942
74558
|
init_operations();
|
|
74943
74559
|
init_tools();
|
|
74944
|
-
|
|
74560
|
+
args83 = {
|
|
74945
74561
|
request: UpdateChunkRequest$inboundSchema
|
|
74946
74562
|
};
|
|
74947
74563
|
tool$knowledgeUpdateChunk = {
|
|
74948
74564
|
name: "knowledge-update-chunk",
|
|
74949
74565
|
description: `Update a chunk`,
|
|
74950
|
-
args:
|
|
74951
|
-
tool: async (client,
|
|
74952
|
-
const [result, apiCall] = await knowledgeUpdateChunk(client,
|
|
74566
|
+
args: args83,
|
|
74567
|
+
tool: async (client, args84, ctx) => {
|
|
74568
|
+
const [result, apiCall] = await knowledgeUpdateChunk(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74953
74569
|
if (!result.ok) {
|
|
74954
74570
|
return {
|
|
74955
74571
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74964,9 +74580,9 @@ var init_knowledgeUpdateChunk2 = __esm(() => {
|
|
|
74964
74580
|
|
|
74965
74581
|
// src/funcs/knowledgeUpdateDatasource.ts
|
|
74966
74582
|
function knowledgeUpdateDatasource(client, request, options) {
|
|
74967
|
-
return new APIPromise($
|
|
74583
|
+
return new APIPromise($do84(client, request, options));
|
|
74968
74584
|
}
|
|
74969
|
-
async function $
|
|
74585
|
+
async function $do84(client, request, options) {
|
|
74970
74586
|
const parsed = safeParse(request, (value) => UpdateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74971
74587
|
if (!parsed.ok) {
|
|
74972
74588
|
return [parsed, { status: "invalid" }];
|
|
@@ -75043,20 +74659,20 @@ var init_knowledgeUpdateDatasource = __esm(() => {
|
|
|
75043
74659
|
});
|
|
75044
74660
|
|
|
75045
74661
|
// src/mcp-server/tools/knowledgeUpdateDatasource.ts
|
|
75046
|
-
var
|
|
74662
|
+
var args84, tool$knowledgeUpdateDatasource;
|
|
75047
74663
|
var init_knowledgeUpdateDatasource2 = __esm(() => {
|
|
75048
74664
|
init_knowledgeUpdateDatasource();
|
|
75049
74665
|
init_operations();
|
|
75050
74666
|
init_tools();
|
|
75051
|
-
|
|
74667
|
+
args84 = {
|
|
75052
74668
|
request: UpdateDatasourceRequest$inboundSchema
|
|
75053
74669
|
};
|
|
75054
74670
|
tool$knowledgeUpdateDatasource = {
|
|
75055
74671
|
name: "knowledge-update-datasource",
|
|
75056
74672
|
description: `Update a datasource`,
|
|
75057
|
-
args:
|
|
75058
|
-
tool: async (client,
|
|
75059
|
-
const [result, apiCall] = await knowledgeUpdateDatasource(client,
|
|
74673
|
+
args: args84,
|
|
74674
|
+
tool: async (client, args85, ctx) => {
|
|
74675
|
+
const [result, apiCall] = await knowledgeUpdateDatasource(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75060
74676
|
if (!result.ok) {
|
|
75061
74677
|
return {
|
|
75062
74678
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75071,9 +74687,9 @@ var init_knowledgeUpdateDatasource2 = __esm(() => {
|
|
|
75071
74687
|
|
|
75072
74688
|
// src/funcs/modelsList.ts
|
|
75073
74689
|
function modelsList(client, options) {
|
|
75074
|
-
return new APIPromise($
|
|
74690
|
+
return new APIPromise($do85(client, options));
|
|
75075
74691
|
}
|
|
75076
|
-
async function $
|
|
74692
|
+
async function $do85(client, options) {
|
|
75077
74693
|
const path = pathToFunc("/v2/models")();
|
|
75078
74694
|
const headers = new Headers(compactMap({
|
|
75079
74695
|
Accept: "application/json"
|
|
@@ -75155,9 +74771,9 @@ Lists the currently available models, and provides basic information about each
|
|
|
75155
74771
|
|
|
75156
74772
|
// src/funcs/promptsCreate.ts
|
|
75157
74773
|
function promptsCreate(client, request, options) {
|
|
75158
|
-
return new APIPromise($
|
|
74774
|
+
return new APIPromise($do86(client, request, options));
|
|
75159
74775
|
}
|
|
75160
|
-
async function $
|
|
74776
|
+
async function $do86(client, request, options) {
|
|
75161
74777
|
const parsed = safeParse(request, (value) => CreatePromptRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75162
74778
|
if (!parsed.ok) {
|
|
75163
74779
|
return [parsed, { status: "invalid" }];
|
|
@@ -75224,20 +74840,20 @@ var init_promptsCreate = __esm(() => {
|
|
|
75224
74840
|
});
|
|
75225
74841
|
|
|
75226
74842
|
// src/mcp-server/tools/promptsCreate.ts
|
|
75227
|
-
var
|
|
74843
|
+
var args85, tool$promptsCreate;
|
|
75228
74844
|
var init_promptsCreate2 = __esm(() => {
|
|
75229
74845
|
init_promptsCreate();
|
|
75230
74846
|
init_operations();
|
|
75231
74847
|
init_tools();
|
|
75232
|
-
|
|
74848
|
+
args85 = {
|
|
75233
74849
|
request: CreatePromptRequestBody$inboundSchema.optional()
|
|
75234
74850
|
};
|
|
75235
74851
|
tool$promptsCreate = {
|
|
75236
74852
|
name: "prompts-create",
|
|
75237
74853
|
description: `Create a prompt`,
|
|
75238
|
-
args:
|
|
75239
|
-
tool: async (client,
|
|
75240
|
-
const [result, apiCall] = await promptsCreate(client,
|
|
74854
|
+
args: args85,
|
|
74855
|
+
tool: async (client, args86, ctx) => {
|
|
74856
|
+
const [result, apiCall] = await promptsCreate(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75241
74857
|
if (!result.ok) {
|
|
75242
74858
|
return {
|
|
75243
74859
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75252,9 +74868,9 @@ var init_promptsCreate2 = __esm(() => {
|
|
|
75252
74868
|
|
|
75253
74869
|
// src/funcs/promptsDelete.ts
|
|
75254
74870
|
function promptsDelete(client, request, options) {
|
|
75255
|
-
return new APIPromise($
|
|
74871
|
+
return new APIPromise($do87(client, request, options));
|
|
75256
74872
|
}
|
|
75257
|
-
async function $
|
|
74873
|
+
async function $do87(client, request, options) {
|
|
75258
74874
|
const parsed = safeParse(request, (value) => DeletePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75259
74875
|
if (!parsed.ok) {
|
|
75260
74876
|
return [parsed, { status: "invalid" }];
|
|
@@ -75327,20 +74943,20 @@ var init_promptsDelete = __esm(() => {
|
|
|
75327
74943
|
});
|
|
75328
74944
|
|
|
75329
74945
|
// src/mcp-server/tools/promptsDelete.ts
|
|
75330
|
-
var
|
|
74946
|
+
var args86, tool$promptsDelete;
|
|
75331
74947
|
var init_promptsDelete2 = __esm(() => {
|
|
75332
74948
|
init_promptsDelete();
|
|
75333
74949
|
init_operations();
|
|
75334
74950
|
init_tools();
|
|
75335
|
-
|
|
74951
|
+
args86 = {
|
|
75336
74952
|
request: DeletePromptRequest$inboundSchema
|
|
75337
74953
|
};
|
|
75338
74954
|
tool$promptsDelete = {
|
|
75339
74955
|
name: "prompts-delete",
|
|
75340
74956
|
description: `Delete a prompt`,
|
|
75341
|
-
args:
|
|
75342
|
-
tool: async (client,
|
|
75343
|
-
const [result, apiCall] = await promptsDelete(client,
|
|
74957
|
+
args: args86,
|
|
74958
|
+
tool: async (client, args87, ctx) => {
|
|
74959
|
+
const [result, apiCall] = await promptsDelete(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75344
74960
|
if (!result.ok) {
|
|
75345
74961
|
return {
|
|
75346
74962
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75354,9 +74970,9 @@ var init_promptsDelete2 = __esm(() => {
|
|
|
75354
74970
|
|
|
75355
74971
|
// src/funcs/promptsGetVersion.ts
|
|
75356
74972
|
function promptsGetVersion(client, request, options) {
|
|
75357
|
-
return new APIPromise($
|
|
74973
|
+
return new APIPromise($do88(client, request, options));
|
|
75358
74974
|
}
|
|
75359
|
-
async function $
|
|
74975
|
+
async function $do88(client, request, options) {
|
|
75360
74976
|
const parsed = safeParse(request, (value) => GetPromptVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75361
74977
|
if (!parsed.ok) {
|
|
75362
74978
|
return [parsed, { status: "invalid" }];
|
|
@@ -75436,12 +75052,12 @@ var init_promptsGetVersion = __esm(() => {
|
|
|
75436
75052
|
});
|
|
75437
75053
|
|
|
75438
75054
|
// src/mcp-server/tools/promptsGetVersion.ts
|
|
75439
|
-
var
|
|
75055
|
+
var args87, tool$promptsGetVersion;
|
|
75440
75056
|
var init_promptsGetVersion2 = __esm(() => {
|
|
75441
75057
|
init_promptsGetVersion();
|
|
75442
75058
|
init_operations();
|
|
75443
75059
|
init_tools();
|
|
75444
|
-
|
|
75060
|
+
args87 = {
|
|
75445
75061
|
request: GetPromptVersionRequest$inboundSchema
|
|
75446
75062
|
};
|
|
75447
75063
|
tool$promptsGetVersion = {
|
|
@@ -75449,9 +75065,9 @@ var init_promptsGetVersion2 = __esm(() => {
|
|
|
75449
75065
|
description: `Retrieve a prompt version
|
|
75450
75066
|
|
|
75451
75067
|
Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
75452
|
-
args:
|
|
75453
|
-
tool: async (client,
|
|
75454
|
-
const [result, apiCall] = await promptsGetVersion(client,
|
|
75068
|
+
args: args87,
|
|
75069
|
+
tool: async (client, args88, ctx) => {
|
|
75070
|
+
const [result, apiCall] = await promptsGetVersion(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75455
75071
|
if (!result.ok) {
|
|
75456
75072
|
return {
|
|
75457
75073
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75466,9 +75082,9 @@ Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
|
75466
75082
|
|
|
75467
75083
|
// src/funcs/promptsList.ts
|
|
75468
75084
|
function promptsList(client, request, options) {
|
|
75469
|
-
return new APIPromise($
|
|
75085
|
+
return new APIPromise($do89(client, request, options));
|
|
75470
75086
|
}
|
|
75471
|
-
async function $
|
|
75087
|
+
async function $do89(client, request, options) {
|
|
75472
75088
|
const parsed = safeParse(request, (value) => GetAllPromptsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75473
75089
|
if (!parsed.ok) {
|
|
75474
75090
|
return [parsed, { status: "invalid" }];
|
|
@@ -75540,12 +75156,12 @@ var init_promptsList = __esm(() => {
|
|
|
75540
75156
|
});
|
|
75541
75157
|
|
|
75542
75158
|
// src/mcp-server/tools/promptsList.ts
|
|
75543
|
-
var
|
|
75159
|
+
var args88, tool$promptsList;
|
|
75544
75160
|
var init_promptsList2 = __esm(() => {
|
|
75545
75161
|
init_promptsList();
|
|
75546
75162
|
init_operations();
|
|
75547
75163
|
init_tools();
|
|
75548
|
-
|
|
75164
|
+
args88 = {
|
|
75549
75165
|
request: GetAllPromptsRequest$inboundSchema.optional()
|
|
75550
75166
|
};
|
|
75551
75167
|
tool$promptsList = {
|
|
@@ -75553,9 +75169,9 @@ var init_promptsList2 = __esm(() => {
|
|
|
75553
75169
|
description: `List all prompts
|
|
75554
75170
|
|
|
75555
75171
|
Returns a list of your prompts. The prompts are returned sorted by creation date, with the most recent prompts appearing first`,
|
|
75556
|
-
args:
|
|
75557
|
-
tool: async (client,
|
|
75558
|
-
const [result, apiCall] = await promptsList(client,
|
|
75172
|
+
args: args88,
|
|
75173
|
+
tool: async (client, args89, ctx) => {
|
|
75174
|
+
const [result, apiCall] = await promptsList(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75559
75175
|
if (!result.ok) {
|
|
75560
75176
|
return {
|
|
75561
75177
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75570,9 +75186,9 @@ Returns a list of your prompts. The prompts are returned sorted by creation date
|
|
|
75570
75186
|
|
|
75571
75187
|
// src/funcs/promptsListVersions.ts
|
|
75572
75188
|
function promptsListVersions(client, request, options) {
|
|
75573
|
-
return new APIPromise($
|
|
75189
|
+
return new APIPromise($do90(client, request, options));
|
|
75574
75190
|
}
|
|
75575
|
-
async function $
|
|
75191
|
+
async function $do90(client, request, options) {
|
|
75576
75192
|
const parsed = safeParse(request, (value) => ListPromptVersionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75577
75193
|
if (!parsed.ok) {
|
|
75578
75194
|
return [parsed, { status: "invalid" }];
|
|
@@ -75650,12 +75266,12 @@ var init_promptsListVersions = __esm(() => {
|
|
|
75650
75266
|
});
|
|
75651
75267
|
|
|
75652
75268
|
// src/mcp-server/tools/promptsListVersions.ts
|
|
75653
|
-
var
|
|
75269
|
+
var args89, tool$promptsListVersions;
|
|
75654
75270
|
var init_promptsListVersions2 = __esm(() => {
|
|
75655
75271
|
init_promptsListVersions();
|
|
75656
75272
|
init_operations();
|
|
75657
75273
|
init_tools();
|
|
75658
|
-
|
|
75274
|
+
args89 = {
|
|
75659
75275
|
request: ListPromptVersionsRequest$inboundSchema
|
|
75660
75276
|
};
|
|
75661
75277
|
tool$promptsListVersions = {
|
|
@@ -75663,9 +75279,9 @@ var init_promptsListVersions2 = __esm(() => {
|
|
|
75663
75279
|
description: `List all prompt versions
|
|
75664
75280
|
|
|
75665
75281
|
Returns a list of your prompt versions. The prompt versions are returned sorted by creation date, with the most recent prompt versions appearing first`,
|
|
75666
|
-
args:
|
|
75667
|
-
tool: async (client,
|
|
75668
|
-
const [result, apiCall] = await promptsListVersions(client,
|
|
75282
|
+
args: args89,
|
|
75283
|
+
tool: async (client, args90, ctx) => {
|
|
75284
|
+
const [result, apiCall] = await promptsListVersions(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75669
75285
|
if (!result.ok) {
|
|
75670
75286
|
return {
|
|
75671
75287
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75680,9 +75296,9 @@ Returns a list of your prompt versions. The prompt versions are returned sorted
|
|
|
75680
75296
|
|
|
75681
75297
|
// src/funcs/promptsRetrieve.ts
|
|
75682
75298
|
function promptsRetrieve(client, request, options) {
|
|
75683
|
-
return new APIPromise($
|
|
75299
|
+
return new APIPromise($do91(client, request, options));
|
|
75684
75300
|
}
|
|
75685
|
-
async function $
|
|
75301
|
+
async function $do91(client, request, options) {
|
|
75686
75302
|
const parsed = safeParse(request, (value) => GetOnePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75687
75303
|
if (!parsed.ok) {
|
|
75688
75304
|
return [parsed, { status: "invalid" }];
|
|
@@ -75754,12 +75370,12 @@ var init_promptsRetrieve = __esm(() => {
|
|
|
75754
75370
|
});
|
|
75755
75371
|
|
|
75756
75372
|
// src/mcp-server/tools/promptsRetrieve.ts
|
|
75757
|
-
var
|
|
75373
|
+
var args90, tool$promptsRetrieve;
|
|
75758
75374
|
var init_promptsRetrieve2 = __esm(() => {
|
|
75759
75375
|
init_promptsRetrieve();
|
|
75760
75376
|
init_operations();
|
|
75761
75377
|
init_tools();
|
|
75762
|
-
|
|
75378
|
+
args90 = {
|
|
75763
75379
|
request: GetOnePromptRequest$inboundSchema
|
|
75764
75380
|
};
|
|
75765
75381
|
tool$promptsRetrieve = {
|
|
@@ -75767,9 +75383,9 @@ var init_promptsRetrieve2 = __esm(() => {
|
|
|
75767
75383
|
description: `Retrieve a prompt
|
|
75768
75384
|
|
|
75769
75385
|
Retrieves a prompt object`,
|
|
75770
|
-
args:
|
|
75771
|
-
tool: async (client,
|
|
75772
|
-
const [result, apiCall] = await promptsRetrieve(client,
|
|
75386
|
+
args: args90,
|
|
75387
|
+
tool: async (client, args91, ctx) => {
|
|
75388
|
+
const [result, apiCall] = await promptsRetrieve(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75773
75389
|
if (!result.ok) {
|
|
75774
75390
|
return {
|
|
75775
75391
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75784,9 +75400,9 @@ Retrieves a prompt object`,
|
|
|
75784
75400
|
|
|
75785
75401
|
// src/funcs/promptsUpdate.ts
|
|
75786
75402
|
function promptsUpdate(client, request, options) {
|
|
75787
|
-
return new APIPromise($
|
|
75403
|
+
return new APIPromise($do92(client, request, options));
|
|
75788
75404
|
}
|
|
75789
|
-
async function $
|
|
75405
|
+
async function $do92(client, request, options) {
|
|
75790
75406
|
const parsed = safeParse(request, (value) => UpdatePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75791
75407
|
if (!parsed.ok) {
|
|
75792
75408
|
return [parsed, { status: "invalid" }];
|
|
@@ -75863,20 +75479,20 @@ var init_promptsUpdate = __esm(() => {
|
|
|
75863
75479
|
});
|
|
75864
75480
|
|
|
75865
75481
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
75866
|
-
var
|
|
75482
|
+
var args91, tool$promptsUpdate;
|
|
75867
75483
|
var init_promptsUpdate2 = __esm(() => {
|
|
75868
75484
|
init_promptsUpdate();
|
|
75869
75485
|
init_operations();
|
|
75870
75486
|
init_tools();
|
|
75871
|
-
|
|
75487
|
+
args91 = {
|
|
75872
75488
|
request: UpdatePromptRequest$inboundSchema
|
|
75873
75489
|
};
|
|
75874
75490
|
tool$promptsUpdate = {
|
|
75875
75491
|
name: "prompts-update",
|
|
75876
75492
|
description: `Update a prompt`,
|
|
75877
|
-
args:
|
|
75878
|
-
tool: async (client,
|
|
75879
|
-
const [result, apiCall] = await promptsUpdate(client,
|
|
75493
|
+
args: args91,
|
|
75494
|
+
tool: async (client, args92, ctx) => {
|
|
75495
|
+
const [result, apiCall] = await promptsUpdate(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75880
75496
|
if (!result.ok) {
|
|
75881
75497
|
return {
|
|
75882
75498
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75891,9 +75507,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
75891
75507
|
|
|
75892
75508
|
// src/funcs/remoteconfigsRetrieve.ts
|
|
75893
75509
|
function remoteconfigsRetrieve(client, request, options) {
|
|
75894
|
-
return new APIPromise($
|
|
75510
|
+
return new APIPromise($do93(client, request, options));
|
|
75895
75511
|
}
|
|
75896
|
-
async function $
|
|
75512
|
+
async function $do93(client, request, options) {
|
|
75897
75513
|
const parsed = safeParse(request, (value) => RemoteConfigsGetConfigRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75898
75514
|
if (!parsed.ok) {
|
|
75899
75515
|
return [parsed, { status: "invalid" }];
|
|
@@ -75960,20 +75576,20 @@ var init_remoteconfigsRetrieve = __esm(() => {
|
|
|
75960
75576
|
});
|
|
75961
75577
|
|
|
75962
75578
|
// src/mcp-server/tools/remoteconfigsRetrieve.ts
|
|
75963
|
-
var
|
|
75579
|
+
var args92, tool$remoteconfigsRetrieve;
|
|
75964
75580
|
var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
75965
75581
|
init_remoteconfigsRetrieve();
|
|
75966
75582
|
init_operations();
|
|
75967
75583
|
init_tools();
|
|
75968
|
-
|
|
75584
|
+
args92 = {
|
|
75969
75585
|
request: RemoteConfigsGetConfigRequestBody$inboundSchema.optional()
|
|
75970
75586
|
};
|
|
75971
75587
|
tool$remoteconfigsRetrieve = {
|
|
75972
75588
|
name: "remoteconfigs-retrieve",
|
|
75973
75589
|
description: `Retrieve a remote config`,
|
|
75974
|
-
args:
|
|
75975
|
-
tool: async (client,
|
|
75976
|
-
const [result, apiCall] = await remoteconfigsRetrieve(client,
|
|
75590
|
+
args: args92,
|
|
75591
|
+
tool: async (client, args93, ctx) => {
|
|
75592
|
+
const [result, apiCall] = await remoteconfigsRetrieve(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75977
75593
|
if (!result.ok) {
|
|
75978
75594
|
return {
|
|
75979
75595
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75990,7 +75606,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
75990
75606
|
function createMCPServer(deps) {
|
|
75991
75607
|
const server = new McpServer({
|
|
75992
75608
|
name: "Orq",
|
|
75993
|
-
version: "3.9.0-rc.
|
|
75609
|
+
version: "3.9.0-rc.10"
|
|
75994
75610
|
});
|
|
75995
75611
|
const client = new OrqCore({
|
|
75996
75612
|
apiKey: deps.apiKey,
|
|
@@ -76016,7 +75632,6 @@ function createMCPServer(deps) {
|
|
|
76016
75632
|
tool(tool$deploymentsGetConfig);
|
|
76017
75633
|
tool(tool$deploymentsInvoke);
|
|
76018
75634
|
tool(tool$deploymentsStream);
|
|
76019
|
-
tool(tool$deploymentsCreateExperiment);
|
|
76020
75635
|
tool(tool$filesCreate);
|
|
76021
75636
|
tool(tool$filesList);
|
|
76022
75637
|
tool(tool$filesGet);
|
|
@@ -76035,7 +75650,6 @@ function createMCPServer(deps) {
|
|
|
76035
75650
|
tool(tool$datasetsRetrieve);
|
|
76036
75651
|
tool(tool$datasetsUpdate);
|
|
76037
75652
|
tool(tool$datasetsDelete);
|
|
76038
|
-
tool(tool$datasetsCreateExperiment);
|
|
76039
75653
|
tool(tool$datasetsListDatapoints);
|
|
76040
75654
|
tool(tool$datasetsCreateDatapoint);
|
|
76041
75655
|
tool(tool$datasetsRetrieveDatapoint);
|
|
@@ -76116,7 +75730,6 @@ var init_server2 = __esm(() => {
|
|
|
76116
75730
|
init_datasetsClear2();
|
|
76117
75731
|
init_datasetsCreate2();
|
|
76118
75732
|
init_datasetsCreateDatapoint2();
|
|
76119
|
-
init_datasetsCreateExperiment2();
|
|
76120
75733
|
init_datasetsDelete2();
|
|
76121
75734
|
init_datasetsDeleteDatapoint2();
|
|
76122
75735
|
init_datasetsList2();
|
|
@@ -76125,7 +75738,6 @@ var init_server2 = __esm(() => {
|
|
|
76125
75738
|
init_datasetsRetrieveDatapoint2();
|
|
76126
75739
|
init_datasetsUpdate2();
|
|
76127
75740
|
init_datasetsUpdateDatapoint2();
|
|
76128
|
-
init_deploymentsCreateExperiment2();
|
|
76129
75741
|
init_deploymentsGetConfig2();
|
|
76130
75742
|
init_deploymentsInvoke2();
|
|
76131
75743
|
init_deploymentsList2();
|
|
@@ -77416,7 +77028,7 @@ var routes = rn({
|
|
|
77416
77028
|
var app = Ve(routes, {
|
|
77417
77029
|
name: "mcp",
|
|
77418
77030
|
versionInfo: {
|
|
77419
|
-
currentVersion: "3.9.0-rc.
|
|
77031
|
+
currentVersion: "3.9.0-rc.10"
|
|
77420
77032
|
}
|
|
77421
77033
|
});
|
|
77422
77034
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -77424,5 +77036,5 @@ export {
|
|
|
77424
77036
|
app
|
|
77425
77037
|
};
|
|
77426
77038
|
|
|
77427
|
-
//# debugId=
|
|
77039
|
+
//# debugId=E7335423D4E4C5E164756E2164756E21
|
|
77428
77040
|
//# sourceMappingURL=mcp-server.js.map
|