@cozeloop/prompt-components 0.0.1 → 0.0.3
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/dist/es/idls/fornax_ml_flow/index.js +2322 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/ai_annotate.js +41 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/aidpcallback.js +108 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/annotation_job.js +52 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/base.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/batch_infer.js +72 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/dataprocess.js +10 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/dataset.js +36 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2.js +139 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2job.js +40 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2lineage.js +25 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/datasetv2similarity.js +12 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/filter.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.js +36 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/flow_devops_prompt_common.js +318 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/fornax_domain_model.js +326 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/ml_flow_domain_model.js +327 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/openapi.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow/namespaces/tag.js +33 -0
- package/dist/es/idls/prompt_api/index.js +2009 -0
- package/dist/es/idls/prompt_api/namespaces/base.js +0 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_callback.js +35 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.js +0 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_common.js +318 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_debug.js +0 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_manage.js +23 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_mcp.js +0 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_optimize.js +0 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_paas.js +43 -0
- package/dist/es/idls/prompt_api/namespaces/flow_devops_prompt_platform.js +0 -0
- package/dist/es/idls/prompt_api/namespaces/mcp.js +9 -0
- package/dist/es/idls/prompt_api/namespaces/model.js +320 -0
- package/dist/es/idls/prompt_api/namespaces/permission.js +47 -0
- package/dist/es/idls/prompt_api/namespaces/release.js +25 -0
- package/dist/es/prompt-editor/index.js +1 -1
- package/dist/es/utils/model-config.js +3 -3
- package/dist/lib/idls/fornax_ml_flow/index.js +2414 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/ai_annotate.js +69 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/aidpcallback.js +140 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/annotation_job.js +82 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/base.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/batch_infer.js +105 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/dataprocess.js +34 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/dataset.js +63 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2.js +177 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2job.js +68 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2lineage.js +50 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/datasetv2similarity.js +37 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/filter.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.js +62 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/flow_devops_prompt_common.js +378 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/fornax_domain_model.js +384 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/ml_flow_domain_model.js +385 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/openapi.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow/namespaces/tag.js +60 -0
- package/dist/lib/idls/prompt_api/index.js +2071 -0
- package/dist/lib/idls/prompt_api/namespaces/base.js +16 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_callback.js +62 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.js +16 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_common.js +378 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_debug.js +16 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_manage.js +49 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_mcp.js +16 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_optimize.js +16 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_paas.js +72 -0
- package/dist/lib/idls/prompt_api/namespaces/flow_devops_prompt_platform.js +16 -0
- package/dist/lib/idls/prompt_api/namespaces/mcp.js +33 -0
- package/dist/lib/idls/prompt_api/namespaces/model.js +377 -0
- package/dist/lib/idls/prompt_api/namespaces/permission.js +72 -0
- package/dist/lib/idls/prompt_api/namespaces/release.js +50 -0
- package/dist/lib/prompt-editor/index.js +1 -1
- package/dist/lib/utils/model-config.js +13 -3
- package/dist/types/idls/fornax_ml_flow/index.d.ts +779 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/ai_annotate.d.ts +102 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/aidpcallback.d.ts +227 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/annotation_job.d.ts +402 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/base.d.ts +18 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/batch_infer.d.ts +331 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/dataprocess.d.ts +16 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/dataset.d.ts +88 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2.d.ts +462 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2job.d.ts +180 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2lineage.d.ts +69 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/datasetv2similarity.d.ts +8 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/filter.d.ts +39 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/flow_devops_evaluation_callback_common.d.ts +88 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/flow_devops_prompt_common.d.ts +370 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/fornax_domain_model.d.ts +320 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/ml_flow_domain_model.d.ts +510 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/openapi.d.ts +6 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotateservice.d.ts +106 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.d.ts +256 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_batchinferservice.d.ts +73 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.d.ts +94 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.d.ts +11 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservice.d.ts +24 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_datasetservicev2.d.ts +653 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_modelservice.d.ts +83 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.d.ts +81 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.d.ts +24 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.d.ts +260 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_tagservice.d.ts +111 -0
- package/dist/types/idls/fornax_ml_flow/namespaces/tag.d.ts +109 -0
- package/dist/types/idls/prompt_api/index.d.ts +667 -0
- package/dist/types/idls/prompt_api/namespaces/base.d.ts +18 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_callback.d.ts +102 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_commercial_openapi.d.ts +81 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_common.d.ts +1270 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_debug.d.ts +197 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_manage.d.ts +769 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_mcp.d.ts +301 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_optimize.d.ts +155 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_paas.d.ts +198 -0
- package/dist/types/idls/prompt_api/namespaces/flow_devops_prompt_platform.d.ts +230 -0
- package/dist/types/idls/prompt_api/namespaces/mcp.d.ts +95 -0
- package/dist/types/idls/prompt_api/namespaces/model.d.ts +315 -0
- package/dist/types/idls/prompt_api/namespaces/permission.d.ts +52 -0
- package/dist/types/idls/prompt_api/namespaces/release.d.ts +62 -0
- package/dist/types/model-config-editor/basic-type.d.ts +2 -2
- package/dist/types/model-config-editor/model-config-form.d.ts +1 -1
- package/dist/types/model-config-editor/popover-type.d.ts +3 -3
- package/dist/types/model-select/index.d.ts +1 -1
- package/dist/types/model-select/model-option/index.d.ts +1 -1
- package/dist/types/prompt-editor/index.d.ts +1 -1
- package/dist/types/utils/model-config.d.ts +4 -4
- package/package.json +5 -3
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var datasetv2_exports = {};
|
|
20
|
+
__export(datasetv2_exports, {
|
|
21
|
+
ContentType: () => ContentType,
|
|
22
|
+
DatasetCategory: () => DatasetCategory,
|
|
23
|
+
DatasetLockReason: () => DatasetLockReason,
|
|
24
|
+
DatasetStatus: () => DatasetStatus,
|
|
25
|
+
DatasetVisibility: () => DatasetVisibility,
|
|
26
|
+
FieldDisplayFormat: () => FieldDisplayFormat,
|
|
27
|
+
FieldStatus: () => FieldStatus,
|
|
28
|
+
FieldTransformationType: () => FieldTransformationType,
|
|
29
|
+
ItemErrorType: () => ItemErrorType,
|
|
30
|
+
LineageSourceType: () => LineageSourceType,
|
|
31
|
+
SchemaKey: () => SchemaKey,
|
|
32
|
+
SecurityLevel: () => SecurityLevel,
|
|
33
|
+
SnapshotStatus: () => SnapshotStatus,
|
|
34
|
+
StorageProvider: () => StorageProvider,
|
|
35
|
+
TrackedJobType: () => TrackedJobType
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(datasetv2_exports);
|
|
38
|
+
var ContentType = /* @__PURE__ */ ((ContentType2) => {
|
|
39
|
+
ContentType2[ContentType2["Text"] = 1] = "Text";
|
|
40
|
+
ContentType2[ContentType2["Image"] = 2] = "Image";
|
|
41
|
+
ContentType2[ContentType2["Audio"] = 3] = "Audio";
|
|
42
|
+
ContentType2[ContentType2["Video"] = 4] = "Video";
|
|
43
|
+
ContentType2[ContentType2["MultiPart"] = 100] = "MultiPart";
|
|
44
|
+
return ContentType2;
|
|
45
|
+
})(ContentType || {});
|
|
46
|
+
var DatasetCategory = /* @__PURE__ */ ((DatasetCategory2) => {
|
|
47
|
+
DatasetCategory2[DatasetCategory2["General"] = 1] = "General";
|
|
48
|
+
DatasetCategory2[DatasetCategory2["Training"] = 2] = "Training";
|
|
49
|
+
DatasetCategory2[DatasetCategory2["Validation"] = 3] = "Validation";
|
|
50
|
+
DatasetCategory2[DatasetCategory2["Evaluation"] = 4] = "Evaluation";
|
|
51
|
+
return DatasetCategory2;
|
|
52
|
+
})(DatasetCategory || {});
|
|
53
|
+
var DatasetLockReason = /* @__PURE__ */ ((DatasetLockReason2) => {
|
|
54
|
+
DatasetLockReason2[DatasetLockReason2["Undefined"] = 0] = "Undefined";
|
|
55
|
+
DatasetLockReason2[DatasetLockReason2["CrowdsourcingAnnotateJobRunning"] = 1] = "CrowdsourcingAnnotateJobRunning";
|
|
56
|
+
return DatasetLockReason2;
|
|
57
|
+
})(DatasetLockReason || {});
|
|
58
|
+
var DatasetStatus = /* @__PURE__ */ ((DatasetStatus2) => {
|
|
59
|
+
DatasetStatus2[DatasetStatus2["Available"] = 1] = "Available";
|
|
60
|
+
DatasetStatus2[DatasetStatus2["Deleted"] = 2] = "Deleted";
|
|
61
|
+
DatasetStatus2[DatasetStatus2["Expired"] = 3] = "Expired";
|
|
62
|
+
DatasetStatus2[DatasetStatus2["Importing"] = 4] = "Importing";
|
|
63
|
+
DatasetStatus2[DatasetStatus2["Exporting"] = 5] = "Exporting";
|
|
64
|
+
DatasetStatus2[DatasetStatus2["Indexing"] = 6] = "Indexing";
|
|
65
|
+
return DatasetStatus2;
|
|
66
|
+
})(DatasetStatus || {});
|
|
67
|
+
var DatasetVisibility = /* @__PURE__ */ ((DatasetVisibility2) => {
|
|
68
|
+
DatasetVisibility2[DatasetVisibility2["Public"] = 1] = "Public";
|
|
69
|
+
DatasetVisibility2[DatasetVisibility2["Space"] = 2] = "Space";
|
|
70
|
+
DatasetVisibility2[DatasetVisibility2["System"] = 3] = "System";
|
|
71
|
+
return DatasetVisibility2;
|
|
72
|
+
})(DatasetVisibility || {});
|
|
73
|
+
var FieldDisplayFormat = /* @__PURE__ */ ((FieldDisplayFormat2) => {
|
|
74
|
+
FieldDisplayFormat2[FieldDisplayFormat2["PlainText"] = 1] = "PlainText";
|
|
75
|
+
FieldDisplayFormat2[FieldDisplayFormat2["Markdown"] = 2] = "Markdown";
|
|
76
|
+
FieldDisplayFormat2[FieldDisplayFormat2["JSON"] = 3] = "JSON";
|
|
77
|
+
FieldDisplayFormat2[FieldDisplayFormat2["YAML"] = 4] = "YAML";
|
|
78
|
+
FieldDisplayFormat2[FieldDisplayFormat2["Code"] = 5] = "Code";
|
|
79
|
+
FieldDisplayFormat2[FieldDisplayFormat2["SingleOption"] = 6] = "SingleOption";
|
|
80
|
+
return FieldDisplayFormat2;
|
|
81
|
+
})(FieldDisplayFormat || {});
|
|
82
|
+
var FieldStatus = /* @__PURE__ */ ((FieldStatus2) => {
|
|
83
|
+
FieldStatus2[FieldStatus2["Available"] = 1] = "Available";
|
|
84
|
+
FieldStatus2[FieldStatus2["Deleted"] = 2] = "Deleted";
|
|
85
|
+
return FieldStatus2;
|
|
86
|
+
})(FieldStatus || {});
|
|
87
|
+
var FieldTransformationType = /* @__PURE__ */ ((FieldTransformationType2) => {
|
|
88
|
+
FieldTransformationType2[FieldTransformationType2["RemoveExtraFields"] = 1] = "RemoveExtraFields";
|
|
89
|
+
return FieldTransformationType2;
|
|
90
|
+
})(FieldTransformationType || {});
|
|
91
|
+
var ItemErrorType = /* @__PURE__ */ ((ItemErrorType2) => {
|
|
92
|
+
ItemErrorType2[ItemErrorType2["MismatchSchema"] = 1] = "MismatchSchema";
|
|
93
|
+
ItemErrorType2[ItemErrorType2["EmptyData"] = 2] = "EmptyData";
|
|
94
|
+
ItemErrorType2[ItemErrorType2["ExceedMaxItemSize"] = 3] = "ExceedMaxItemSize";
|
|
95
|
+
ItemErrorType2[ItemErrorType2["ExceedDatasetCapacity"] = 4] = "ExceedDatasetCapacity";
|
|
96
|
+
ItemErrorType2[ItemErrorType2["MalformedFile"] = 5] = "MalformedFile";
|
|
97
|
+
ItemErrorType2[ItemErrorType2["IllegalContent"] = 6] = "IllegalContent";
|
|
98
|
+
ItemErrorType2[ItemErrorType2["MissingRequiredField"] = 7] = "MissingRequiredField";
|
|
99
|
+
ItemErrorType2[ItemErrorType2["ExceedMaxNestedDepth"] = 8] = "ExceedMaxNestedDepth";
|
|
100
|
+
ItemErrorType2[ItemErrorType2["TransformItemFailed"] = 9] = "TransformItemFailed";
|
|
101
|
+
ItemErrorType2[ItemErrorType2["InternalError"] = 100] = "InternalError";
|
|
102
|
+
ItemErrorType2[ItemErrorType2["ClearDatasetFailed"] = 101] = "ClearDatasetFailed";
|
|
103
|
+
ItemErrorType2[ItemErrorType2["RWFileFailed"] = 102] = "RWFileFailed";
|
|
104
|
+
return ItemErrorType2;
|
|
105
|
+
})(ItemErrorType || {});
|
|
106
|
+
var LineageSourceType = /* @__PURE__ */ ((LineageSourceType2) => {
|
|
107
|
+
LineageSourceType2[LineageSourceType2["Manual"] = 1] = "Manual";
|
|
108
|
+
LineageSourceType2[LineageSourceType2["Dataset"] = 2] = "Dataset";
|
|
109
|
+
LineageSourceType2[LineageSourceType2["FileStorage"] = 3] = "FileStorage";
|
|
110
|
+
LineageSourceType2[LineageSourceType2["DataReflow"] = 4] = "DataReflow";
|
|
111
|
+
LineageSourceType2[LineageSourceType2["DataAnnotation"] = 5] = "DataAnnotation";
|
|
112
|
+
LineageSourceType2[LineageSourceType2["DataProcessing"] = 6] = "DataProcessing";
|
|
113
|
+
LineageSourceType2[LineageSourceType2["DataGenerate"] = 7] = "DataGenerate";
|
|
114
|
+
LineageSourceType2[LineageSourceType2["OpenAPI"] = 8] = "OpenAPI";
|
|
115
|
+
LineageSourceType2[LineageSourceType2["CrowdsourcingAnnotation"] = 9] = "CrowdsourcingAnnotation";
|
|
116
|
+
return LineageSourceType2;
|
|
117
|
+
})(LineageSourceType || {});
|
|
118
|
+
var SchemaKey = /* @__PURE__ */ ((SchemaKey2) => {
|
|
119
|
+
SchemaKey2[SchemaKey2["String"] = 1] = "String";
|
|
120
|
+
SchemaKey2[SchemaKey2["Integer"] = 2] = "Integer";
|
|
121
|
+
SchemaKey2[SchemaKey2["Float"] = 3] = "Float";
|
|
122
|
+
SchemaKey2[SchemaKey2["Bool"] = 4] = "Bool";
|
|
123
|
+
SchemaKey2[SchemaKey2["Message"] = 5] = "Message";
|
|
124
|
+
SchemaKey2[SchemaKey2["SingleChoice"] = 6] = "SingleChoice";
|
|
125
|
+
return SchemaKey2;
|
|
126
|
+
})(SchemaKey || {});
|
|
127
|
+
var SecurityLevel = /* @__PURE__ */ ((SecurityLevel2) => {
|
|
128
|
+
SecurityLevel2[SecurityLevel2["L1"] = 1] = "L1";
|
|
129
|
+
SecurityLevel2[SecurityLevel2["L2"] = 2] = "L2";
|
|
130
|
+
SecurityLevel2[SecurityLevel2["L3"] = 3] = "L3";
|
|
131
|
+
SecurityLevel2[SecurityLevel2["L4"] = 4] = "L4";
|
|
132
|
+
return SecurityLevel2;
|
|
133
|
+
})(SecurityLevel || {});
|
|
134
|
+
var SnapshotStatus = /* @__PURE__ */ ((SnapshotStatus2) => {
|
|
135
|
+
SnapshotStatus2[SnapshotStatus2["Unstarted"] = 1] = "Unstarted";
|
|
136
|
+
SnapshotStatus2[SnapshotStatus2["InProgress"] = 2] = "InProgress";
|
|
137
|
+
SnapshotStatus2[SnapshotStatus2["Completed"] = 3] = "Completed";
|
|
138
|
+
SnapshotStatus2[SnapshotStatus2["Failed"] = 4] = "Failed";
|
|
139
|
+
return SnapshotStatus2;
|
|
140
|
+
})(SnapshotStatus || {});
|
|
141
|
+
var StorageProvider = /* @__PURE__ */ ((StorageProvider2) => {
|
|
142
|
+
StorageProvider2[StorageProvider2["TOS"] = 1] = "TOS";
|
|
143
|
+
StorageProvider2[StorageProvider2["VETOS"] = 2] = "VETOS";
|
|
144
|
+
StorageProvider2[StorageProvider2["HDFS"] = 3] = "HDFS";
|
|
145
|
+
StorageProvider2[StorageProvider2["ImageX"] = 4] = "ImageX";
|
|
146
|
+
StorageProvider2[StorageProvider2["Abase"] = 100] = "Abase";
|
|
147
|
+
StorageProvider2[StorageProvider2["RDS"] = 101] = "RDS";
|
|
148
|
+
StorageProvider2[StorageProvider2["LocalFS"] = 102] = "LocalFS";
|
|
149
|
+
return StorageProvider2;
|
|
150
|
+
})(StorageProvider || {});
|
|
151
|
+
var TrackedJobType = /* @__PURE__ */ ((TrackedJobType2) => {
|
|
152
|
+
TrackedJobType2[TrackedJobType2["DatasetIOJob"] = 1] = "DatasetIOJob";
|
|
153
|
+
TrackedJobType2[TrackedJobType2["DataReflow"] = 2] = "DataReflow";
|
|
154
|
+
TrackedJobType2[TrackedJobType2["DataAnnotation"] = 3] = "DataAnnotation";
|
|
155
|
+
TrackedJobType2[TrackedJobType2["DataProcessing"] = 4] = "DataProcessing";
|
|
156
|
+
TrackedJobType2[TrackedJobType2["DataGenerate"] = 5] = "DataGenerate";
|
|
157
|
+
TrackedJobType2[TrackedJobType2["CrowdsourcingAnnotation"] = 6] = "CrowdsourcingAnnotation";
|
|
158
|
+
return TrackedJobType2;
|
|
159
|
+
})(TrackedJobType || {});
|
|
160
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
161
|
+
0 && (module.exports = {
|
|
162
|
+
ContentType,
|
|
163
|
+
DatasetCategory,
|
|
164
|
+
DatasetLockReason,
|
|
165
|
+
DatasetStatus,
|
|
166
|
+
DatasetVisibility,
|
|
167
|
+
FieldDisplayFormat,
|
|
168
|
+
FieldStatus,
|
|
169
|
+
FieldTransformationType,
|
|
170
|
+
ItemErrorType,
|
|
171
|
+
LineageSourceType,
|
|
172
|
+
SchemaKey,
|
|
173
|
+
SecurityLevel,
|
|
174
|
+
SnapshotStatus,
|
|
175
|
+
StorageProvider,
|
|
176
|
+
TrackedJobType
|
|
177
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var datasetv2job_exports = {};
|
|
20
|
+
__export(datasetv2job_exports, {
|
|
21
|
+
FileFormat: () => FileFormat,
|
|
22
|
+
ImportConfirmType: () => ImportConfirmType,
|
|
23
|
+
JobStatus: () => JobStatus,
|
|
24
|
+
JobType: () => JobType,
|
|
25
|
+
SourceType: () => SourceType
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(datasetv2job_exports);
|
|
28
|
+
var FileFormat = /* @__PURE__ */ ((FileFormat2) => {
|
|
29
|
+
FileFormat2[FileFormat2["JSONL"] = 1] = "JSONL";
|
|
30
|
+
FileFormat2[FileFormat2["Parquet"] = 2] = "Parquet";
|
|
31
|
+
FileFormat2[FileFormat2["CSV"] = 3] = "CSV";
|
|
32
|
+
FileFormat2[FileFormat2["ZIP"] = 100] = "ZIP";
|
|
33
|
+
return FileFormat2;
|
|
34
|
+
})(FileFormat || {});
|
|
35
|
+
var ImportConfirmType = /* @__PURE__ */ ((ImportConfirmType2) => {
|
|
36
|
+
ImportConfirmType2[ImportConfirmType2["NotConfirmed"] = 0] = "NotConfirmed";
|
|
37
|
+
ImportConfirmType2[ImportConfirmType2["ConfirmedDuplicated"] = 1] = "ConfirmedDuplicated";
|
|
38
|
+
ImportConfirmType2[ImportConfirmType2["ConfirmedNotDuplicated"] = 2] = "ConfirmedNotDuplicated";
|
|
39
|
+
return ImportConfirmType2;
|
|
40
|
+
})(ImportConfirmType || {});
|
|
41
|
+
var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
42
|
+
JobStatus2[JobStatus2["Undefined"] = 0] = "Undefined";
|
|
43
|
+
JobStatus2[JobStatus2["Pending"] = 1] = "Pending";
|
|
44
|
+
JobStatus2[JobStatus2["Running"] = 2] = "Running";
|
|
45
|
+
JobStatus2[JobStatus2["Completed"] = 3] = "Completed";
|
|
46
|
+
JobStatus2[JobStatus2["Failed"] = 4] = "Failed";
|
|
47
|
+
JobStatus2[JobStatus2["Cancelled"] = 5] = "Cancelled";
|
|
48
|
+
return JobStatus2;
|
|
49
|
+
})(JobStatus || {});
|
|
50
|
+
var JobType = /* @__PURE__ */ ((JobType2) => {
|
|
51
|
+
JobType2[JobType2["ImportFromFile"] = 1] = "ImportFromFile";
|
|
52
|
+
JobType2[JobType2["ExportToFile"] = 2] = "ExportToFile";
|
|
53
|
+
JobType2[JobType2["ExportToDataset"] = 3] = "ExportToDataset";
|
|
54
|
+
return JobType2;
|
|
55
|
+
})(JobType || {});
|
|
56
|
+
var SourceType = /* @__PURE__ */ ((SourceType2) => {
|
|
57
|
+
SourceType2[SourceType2["File"] = 1] = "File";
|
|
58
|
+
SourceType2[SourceType2["Dataset"] = 2] = "Dataset";
|
|
59
|
+
return SourceType2;
|
|
60
|
+
})(SourceType || {});
|
|
61
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
62
|
+
0 && (module.exports = {
|
|
63
|
+
FileFormat,
|
|
64
|
+
ImportConfirmType,
|
|
65
|
+
JobStatus,
|
|
66
|
+
JobType,
|
|
67
|
+
SourceType
|
|
68
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var datasetv2lineage_exports = {};
|
|
20
|
+
__export(datasetv2lineage_exports, {
|
|
21
|
+
LineageSourceType: () => LineageSourceType,
|
|
22
|
+
TrackedJobType: () => TrackedJobType
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(datasetv2lineage_exports);
|
|
25
|
+
var LineageSourceType = /* @__PURE__ */ ((LineageSourceType2) => {
|
|
26
|
+
LineageSourceType2[LineageSourceType2["Manual"] = 1] = "Manual";
|
|
27
|
+
LineageSourceType2[LineageSourceType2["Dataset"] = 2] = "Dataset";
|
|
28
|
+
LineageSourceType2[LineageSourceType2["FileStorage"] = 3] = "FileStorage";
|
|
29
|
+
LineageSourceType2[LineageSourceType2["DataReflow"] = 4] = "DataReflow";
|
|
30
|
+
LineageSourceType2[LineageSourceType2["DataAnnotation"] = 5] = "DataAnnotation";
|
|
31
|
+
LineageSourceType2[LineageSourceType2["DataProcessing"] = 6] = "DataProcessing";
|
|
32
|
+
LineageSourceType2[LineageSourceType2["DataGenerate"] = 7] = "DataGenerate";
|
|
33
|
+
LineageSourceType2[LineageSourceType2["OpenAPI"] = 8] = "OpenAPI";
|
|
34
|
+
LineageSourceType2[LineageSourceType2["CrowdsourcingAnnotation"] = 9] = "CrowdsourcingAnnotation";
|
|
35
|
+
return LineageSourceType2;
|
|
36
|
+
})(LineageSourceType || {});
|
|
37
|
+
var TrackedJobType = /* @__PURE__ */ ((TrackedJobType2) => {
|
|
38
|
+
TrackedJobType2[TrackedJobType2["DatasetIOJob"] = 1] = "DatasetIOJob";
|
|
39
|
+
TrackedJobType2[TrackedJobType2["DataReflow"] = 2] = "DataReflow";
|
|
40
|
+
TrackedJobType2[TrackedJobType2["DataAnnotation"] = 3] = "DataAnnotation";
|
|
41
|
+
TrackedJobType2[TrackedJobType2["DataProcessing"] = 4] = "DataProcessing";
|
|
42
|
+
TrackedJobType2[TrackedJobType2["DataGenerate"] = 5] = "DataGenerate";
|
|
43
|
+
TrackedJobType2[TrackedJobType2["CrowdsourcingAnnotation"] = 6] = "CrowdsourcingAnnotation";
|
|
44
|
+
return TrackedJobType2;
|
|
45
|
+
})(TrackedJobType || {});
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
LineageSourceType,
|
|
49
|
+
TrackedJobType
|
|
50
|
+
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var datasetv2similarity_exports = {};
|
|
20
|
+
__export(datasetv2similarity_exports, {
|
|
21
|
+
EmbeddingModel: () => EmbeddingModel,
|
|
22
|
+
SimilarityAlgorithm: () => SimilarityAlgorithm
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(datasetv2similarity_exports);
|
|
25
|
+
var EmbeddingModel = /* @__PURE__ */ ((EmbeddingModel2) => {
|
|
26
|
+
EmbeddingModel2[EmbeddingModel2["Doubao"] = 1] = "Doubao";
|
|
27
|
+
return EmbeddingModel2;
|
|
28
|
+
})(EmbeddingModel || {});
|
|
29
|
+
var SimilarityAlgorithm = /* @__PURE__ */ ((SimilarityAlgorithm2) => {
|
|
30
|
+
SimilarityAlgorithm2[SimilarityAlgorithm2["Embedding"] = 1] = "Embedding";
|
|
31
|
+
return SimilarityAlgorithm2;
|
|
32
|
+
})(SimilarityAlgorithm || {});
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
EmbeddingModel,
|
|
36
|
+
SimilarityAlgorithm
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var filter_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(filter_exports);
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var flow_devops_evaluation_callback_common_exports = {};
|
|
20
|
+
__export(flow_devops_evaluation_callback_common_exports, {
|
|
21
|
+
DataType: () => DataType,
|
|
22
|
+
DefinedType: () => DefinedType,
|
|
23
|
+
Role: () => Role
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(flow_devops_evaluation_callback_common_exports);
|
|
26
|
+
var DataType = /* @__PURE__ */ ((DataType2) => {
|
|
27
|
+
DataType2[DataType2["PlainText"] = 0] = "PlainText";
|
|
28
|
+
DataType2[DataType2["MarkdownBox"] = 11] = "MarkdownBox";
|
|
29
|
+
DataType2[DataType2["Image"] = 12] = "Image";
|
|
30
|
+
DataType2[DataType2["File"] = 13] = "File";
|
|
31
|
+
DataType2[DataType2["JSONString"] = 14] = "JSONString";
|
|
32
|
+
DataType2[DataType2["TextFile"] = 15] = "TextFile";
|
|
33
|
+
DataType2[DataType2["MultiContent"] = 16] = "MultiContent";
|
|
34
|
+
DataType2[DataType2["DefinedText"] = 17] = "DefinedText";
|
|
35
|
+
return DataType2;
|
|
36
|
+
})(DataType || {});
|
|
37
|
+
var DefinedType = /* @__PURE__ */ ((DefinedType2) => {
|
|
38
|
+
DefinedType2[DefinedType2["Unknown"] = 0] = "Unknown";
|
|
39
|
+
DefinedType2[DefinedType2["Null"] = 1] = "Null";
|
|
40
|
+
DefinedType2[DefinedType2["String"] = 2] = "String";
|
|
41
|
+
DefinedType2[DefinedType2["Number"] = 3] = "Number";
|
|
42
|
+
DefinedType2[DefinedType2["Bool"] = 4] = "Bool";
|
|
43
|
+
DefinedType2[DefinedType2["Array"] = 5] = "Array";
|
|
44
|
+
DefinedType2[DefinedType2["Object"] = 6] = "Object";
|
|
45
|
+
return DefinedType2;
|
|
46
|
+
})(DefinedType || {});
|
|
47
|
+
var Role = /* @__PURE__ */ ((Role2) => {
|
|
48
|
+
Role2[Role2["System"] = 1] = "System";
|
|
49
|
+
Role2[Role2["User"] = 2] = "User";
|
|
50
|
+
Role2[Role2["Assistant"] = 3] = "Assistant";
|
|
51
|
+
Role2[Role2["Placeholder"] = 4] = "Placeholder";
|
|
52
|
+
Role2[Role2["LLMOutput"] = 5] = "LLMOutput";
|
|
53
|
+
Role2[Role2["ToolOutput"] = 6] = "ToolOutput";
|
|
54
|
+
Role2[Role2["Function"] = 7] = "Function";
|
|
55
|
+
return Role2;
|
|
56
|
+
})(Role || {});
|
|
57
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
58
|
+
0 && (module.exports = {
|
|
59
|
+
DataType,
|
|
60
|
+
DefinedType,
|
|
61
|
+
Role
|
|
62
|
+
});
|