@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,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 flow_devops_prompt_platform_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(flow_devops_prompt_platform_exports);
|
|
@@ -0,0 +1,33 @@
|
|
|
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 mcp_exports = {};
|
|
20
|
+
__export(mcp_exports, {
|
|
21
|
+
MCPStatus: () => MCPStatus
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(mcp_exports);
|
|
24
|
+
var MCPStatus = /* @__PURE__ */ ((MCPStatus2) => {
|
|
25
|
+
MCPStatus2[MCPStatus2["Undefined"] = 0] = "Undefined";
|
|
26
|
+
MCPStatus2[MCPStatus2["Normal"] = 1] = "Normal";
|
|
27
|
+
MCPStatus2[MCPStatus2["Disabled"] = 2] = "Disabled";
|
|
28
|
+
return MCPStatus2;
|
|
29
|
+
})(MCPStatus || {});
|
|
30
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
31
|
+
0 && (module.exports = {
|
|
32
|
+
MCPStatus
|
|
33
|
+
});
|
|
@@ -0,0 +1,377 @@
|
|
|
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 model_exports = {};
|
|
20
|
+
__export(model_exports, {
|
|
21
|
+
ByteTreeNodeResourceProvider: () => ByteTreeNodeResourceProvider,
|
|
22
|
+
DataImportMode: () => DataImportMode,
|
|
23
|
+
DataSourceType: () => DataSourceType,
|
|
24
|
+
Family: () => Family,
|
|
25
|
+
IDC: () => IDC,
|
|
26
|
+
MerlinFramework: () => MerlinFramework,
|
|
27
|
+
MerlinLLMInterface: () => MerlinLLMInterface,
|
|
28
|
+
MerlinQuotaPoolType: () => MerlinQuotaPoolType,
|
|
29
|
+
ModelFilterKey: () => ModelFilterKey,
|
|
30
|
+
ModelParamType: () => ModelParamType,
|
|
31
|
+
ModelStatus: () => ModelStatus,
|
|
32
|
+
Provider: () => Provider,
|
|
33
|
+
ProviderAccountType: () => ProviderAccountType,
|
|
34
|
+
Region: () => Region,
|
|
35
|
+
RuntimeCustomParamType: () => RuntimeCustomParamType,
|
|
36
|
+
RuntimeHookType: () => RuntimeHookType,
|
|
37
|
+
SftTaskBaseModelType: () => SftTaskBaseModelType,
|
|
38
|
+
SftTaskErrCode: () => SftTaskErrCode,
|
|
39
|
+
SftTaskHyperParamType: () => SftTaskHyperParamType,
|
|
40
|
+
SftTaskOutputExportType: () => SftTaskOutputExportType,
|
|
41
|
+
SftTaskOutputStatus: () => SftTaskOutputStatus,
|
|
42
|
+
SftTaskResourceMerlinVersion: () => SftTaskResourceMerlinVersion,
|
|
43
|
+
SftTaskRunEventType: () => SftTaskRunEventType,
|
|
44
|
+
SftTaskStatusPhase: () => SftTaskStatusPhase,
|
|
45
|
+
SftTaskTrainingMethod: () => SftTaskTrainingMethod,
|
|
46
|
+
SftTaskTrainingType: () => SftTaskTrainingType,
|
|
47
|
+
SftTaskValidationSetType: () => SftTaskValidationSetType,
|
|
48
|
+
TaskStatus: () => TaskStatus,
|
|
49
|
+
TrainingDataFileType: () => TrainingDataFileType,
|
|
50
|
+
TrainingDatasetType: () => TrainingDatasetType,
|
|
51
|
+
TrainingFileOpType: () => TrainingFileOpType,
|
|
52
|
+
UsageScenario: () => UsageScenario,
|
|
53
|
+
ValidateStatus: () => ValidateStatus,
|
|
54
|
+
VisibleMode: () => VisibleMode
|
|
55
|
+
});
|
|
56
|
+
module.exports = __toCommonJS(model_exports);
|
|
57
|
+
var ByteTreeNodeResourceProvider = /* @__PURE__ */ ((ByteTreeNodeResourceProvider2) => {
|
|
58
|
+
ByteTreeNodeResourceProvider2[ByteTreeNodeResourceProvider2["TCE"] = 1] = "TCE";
|
|
59
|
+
ByteTreeNodeResourceProvider2[ByteTreeNodeResourceProvider2["TCC"] = 2] = "TCC";
|
|
60
|
+
ByteTreeNodeResourceProvider2[ByteTreeNodeResourceProvider2["Bernard"] = 3] = "Bernard";
|
|
61
|
+
return ByteTreeNodeResourceProvider2;
|
|
62
|
+
})(ByteTreeNodeResourceProvider || {});
|
|
63
|
+
var DataImportMode = /* @__PURE__ */ ((DataImportMode2) => {
|
|
64
|
+
DataImportMode2[DataImportMode2["Undefined"] = 0] = "Undefined";
|
|
65
|
+
DataImportMode2[DataImportMode2["Append"] = 1] = "Append";
|
|
66
|
+
DataImportMode2[DataImportMode2["Overwrite"] = 2] = "Overwrite";
|
|
67
|
+
return DataImportMode2;
|
|
68
|
+
})(DataImportMode || {});
|
|
69
|
+
var DataSourceType = /* @__PURE__ */ ((DataSourceType2) => {
|
|
70
|
+
DataSourceType2[DataSourceType2["Undefined"] = 0] = "Undefined";
|
|
71
|
+
DataSourceType2[DataSourceType2["TOS"] = 1] = "TOS";
|
|
72
|
+
return DataSourceType2;
|
|
73
|
+
})(DataSourceType || {});
|
|
74
|
+
var Family = /* @__PURE__ */ ((Family2) => {
|
|
75
|
+
Family2[Family2["Undefined"] = 0] = "Undefined";
|
|
76
|
+
Family2[Family2["GPT"] = 1] = "GPT";
|
|
77
|
+
Family2[Family2["Seed"] = 2] = "Seed";
|
|
78
|
+
Family2[Family2["Gemini"] = 3] = "Gemini";
|
|
79
|
+
Family2[Family2["Claude"] = 4] = "Claude";
|
|
80
|
+
Family2[Family2["Ernie"] = 5] = "Ernie";
|
|
81
|
+
Family2[Family2["Baichuan"] = 6] = "Baichuan";
|
|
82
|
+
Family2[Family2["Qwen"] = 7] = "Qwen";
|
|
83
|
+
Family2[Family2["GLM"] = 8] = "GLM";
|
|
84
|
+
Family2[Family2["SkyLark"] = 9] = "SkyLark";
|
|
85
|
+
Family2[Family2["Moonshot"] = 10] = "Moonshot";
|
|
86
|
+
Family2[Family2["Minimax"] = 11] = "Minimax";
|
|
87
|
+
Family2[Family2["Doubao"] = 12] = "Doubao";
|
|
88
|
+
Family2[Family2["Baichuan2"] = 13] = "Baichuan2";
|
|
89
|
+
Family2[Family2["DeepSeekV2"] = 14] = "DeepSeekV2";
|
|
90
|
+
Family2[Family2["DeepSeekCoderV2"] = 15] = "DeepSeekCoderV2";
|
|
91
|
+
Family2[Family2["DeepseekCoder"] = 16] = "DeepseekCoder";
|
|
92
|
+
Family2[Family2["InternLM2_5"] = 17] = "InternLM2_5";
|
|
93
|
+
Family2[Family2["Qwen2"] = 18] = "Qwen2";
|
|
94
|
+
Family2[Family2["Qwen2_5"] = 19] = "Qwen2_5";
|
|
95
|
+
Family2[Family2["Qwen2_5_Coder"] = 20] = "Qwen2_5_Coder";
|
|
96
|
+
Family2[Family2["MiniCPM"] = 21] = "MiniCPM";
|
|
97
|
+
Family2[Family2["MiniCPM3"] = 22] = "MiniCPM3";
|
|
98
|
+
Family2[Family2["ChatGLM3"] = 23] = "ChatGLM3";
|
|
99
|
+
Family2[Family2["Mistral"] = 24] = "Mistral";
|
|
100
|
+
Family2[Family2["Gemma"] = 25] = "Gemma";
|
|
101
|
+
Family2[Family2["Gemma2"] = 26] = "Gemma2";
|
|
102
|
+
Family2[Family2["InternVL2"] = 27] = "InternVL2";
|
|
103
|
+
Family2[Family2["InternVL2_5"] = 28] = "InternVL2_5";
|
|
104
|
+
Family2[Family2["DeepSeekV3"] = 29] = "DeepSeekV3";
|
|
105
|
+
Family2[Family2["DeepSeekR1"] = 30] = "DeepSeekR1";
|
|
106
|
+
return Family2;
|
|
107
|
+
})(Family || {});
|
|
108
|
+
var IDC = /* @__PURE__ */ ((IDC2) => {
|
|
109
|
+
IDC2[IDC2["HL"] = 1] = "HL";
|
|
110
|
+
IDC2[IDC2["LF"] = 2] = "LF";
|
|
111
|
+
IDC2[IDC2["LQ"] = 3] = "LQ";
|
|
112
|
+
IDC2[IDC2["YG"] = 4] = "YG";
|
|
113
|
+
IDC2[IDC2["GL"] = 5] = "GL";
|
|
114
|
+
IDC2[IDC2["MALIVA"] = 101] = "MALIVA";
|
|
115
|
+
IDC2[IDC2["SG1"] = 201] = "SG1";
|
|
116
|
+
IDC2[IDC2["MY"] = 202] = "MY";
|
|
117
|
+
IDC2[IDC2["MY2"] = 203] = "MY2";
|
|
118
|
+
IDC2[IDC2["MYCISB"] = 204] = "MYCISB";
|
|
119
|
+
return IDC2;
|
|
120
|
+
})(IDC || {});
|
|
121
|
+
var MerlinFramework = /* @__PURE__ */ ((MerlinFramework2) => {
|
|
122
|
+
MerlinFramework2[MerlinFramework2["LLMServerPublic"] = 1] = "LLMServerPublic";
|
|
123
|
+
MerlinFramework2[MerlinFramework2["Laplace"] = 2] = "Laplace";
|
|
124
|
+
MerlinFramework2[MerlinFramework2["Mixinfer"] = 3] = "Mixinfer";
|
|
125
|
+
return MerlinFramework2;
|
|
126
|
+
})(MerlinFramework || {});
|
|
127
|
+
var MerlinLLMInterface = /* @__PURE__ */ ((MerlinLLMInterface2) => {
|
|
128
|
+
MerlinLLMInterface2[MerlinLLMInterface2["MatxInference"] = 1] = "MatxInference";
|
|
129
|
+
return MerlinLLMInterface2;
|
|
130
|
+
})(MerlinLLMInterface || {});
|
|
131
|
+
var MerlinQuotaPoolType = /* @__PURE__ */ ((MerlinQuotaPoolType2) => {
|
|
132
|
+
MerlinQuotaPoolType2[MerlinQuotaPoolType2["Default"] = 0] = "Default";
|
|
133
|
+
MerlinQuotaPoolType2[MerlinQuotaPoolType2["Hybrid"] = 1] = "Hybrid";
|
|
134
|
+
MerlinQuotaPoolType2[MerlinQuotaPoolType2["HybridShare"] = 2] = "HybridShare";
|
|
135
|
+
MerlinQuotaPoolType2[MerlinQuotaPoolType2["ALI"] = 3] = "ALI";
|
|
136
|
+
MerlinQuotaPoolType2[MerlinQuotaPoolType2["HW"] = 4] = "HW";
|
|
137
|
+
MerlinQuotaPoolType2[MerlinQuotaPoolType2["HWARM"] = 5] = "HWARM";
|
|
138
|
+
MerlinQuotaPoolType2[MerlinQuotaPoolType2["Spot"] = 6] = "Spot";
|
|
139
|
+
MerlinQuotaPoolType2[MerlinQuotaPoolType2["Preemptible"] = 20] = "Preemptible";
|
|
140
|
+
return MerlinQuotaPoolType2;
|
|
141
|
+
})(MerlinQuotaPoolType || {});
|
|
142
|
+
var ModelFilterKey = /* @__PURE__ */ ((ModelFilterKey2) => {
|
|
143
|
+
ModelFilterKey2[ModelFilterKey2["ModelType"] = 1] = "ModelType";
|
|
144
|
+
ModelFilterKey2[ModelFilterKey2["ModelUserRight"] = 2] = "ModelUserRight";
|
|
145
|
+
ModelFilterKey2[ModelFilterKey2["ModelFeature"] = 3] = "ModelFeature";
|
|
146
|
+
ModelFilterKey2[ModelFilterKey2["ModelFunction"] = 4] = "ModelFunction";
|
|
147
|
+
ModelFilterKey2[ModelFilterKey2["ModelScenario"] = 5] = "ModelScenario";
|
|
148
|
+
ModelFilterKey2[ModelFilterKey2["Custom"] = 20] = "Custom";
|
|
149
|
+
return ModelFilterKey2;
|
|
150
|
+
})(ModelFilterKey || {});
|
|
151
|
+
var ModelParamType = /* @__PURE__ */ ((ModelParamType2) => {
|
|
152
|
+
ModelParamType2[ModelParamType2["Unknown"] = 0] = "Unknown";
|
|
153
|
+
ModelParamType2[ModelParamType2["Float"] = 1] = "Float";
|
|
154
|
+
ModelParamType2[ModelParamType2["Int"] = 2] = "Int";
|
|
155
|
+
ModelParamType2[ModelParamType2["Boolean"] = 3] = "Boolean";
|
|
156
|
+
ModelParamType2[ModelParamType2["String"] = 4] = "String";
|
|
157
|
+
return ModelParamType2;
|
|
158
|
+
})(ModelParamType || {});
|
|
159
|
+
var ModelStatus = /* @__PURE__ */ ((ModelStatus2) => {
|
|
160
|
+
ModelStatus2[ModelStatus2["Undefined"] = 0] = "Undefined";
|
|
161
|
+
ModelStatus2[ModelStatus2["Available"] = 1] = "Available";
|
|
162
|
+
ModelStatus2[ModelStatus2["Deploying"] = 2] = "Deploying";
|
|
163
|
+
ModelStatus2[ModelStatus2["Unavailable"] = 3] = "Unavailable";
|
|
164
|
+
ModelStatus2[ModelStatus2["Offlining"] = 4] = "Offlining";
|
|
165
|
+
return ModelStatus2;
|
|
166
|
+
})(ModelStatus || {});
|
|
167
|
+
var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
168
|
+
Provider2[Provider2["GPTOpenAPI"] = 1] = "GPTOpenAPI";
|
|
169
|
+
Provider2[Provider2["Maas"] = 2] = "Maas";
|
|
170
|
+
Provider2[Provider2["BotEngine"] = 3] = "BotEngine";
|
|
171
|
+
Provider2[Provider2["Merlin"] = 4] = "Merlin";
|
|
172
|
+
Provider2[Provider2["MerlinSeed"] = 5] = "MerlinSeed";
|
|
173
|
+
return Provider2;
|
|
174
|
+
})(Provider || {});
|
|
175
|
+
var ProviderAccountType = /* @__PURE__ */ ((ProviderAccountType2) => {
|
|
176
|
+
ProviderAccountType2[ProviderAccountType2["AKSK"] = 1] = "AKSK";
|
|
177
|
+
ProviderAccountType2[ProviderAccountType2["APIKey"] = 2] = "APIKey";
|
|
178
|
+
return ProviderAccountType2;
|
|
179
|
+
})(ProviderAccountType || {});
|
|
180
|
+
var Region = /* @__PURE__ */ ((Region2) => {
|
|
181
|
+
Region2[Region2["CN"] = 1] = "CN";
|
|
182
|
+
Region2[Region2["SG"] = 2] = "SG";
|
|
183
|
+
Region2[Region2["US"] = 3] = "US";
|
|
184
|
+
return Region2;
|
|
185
|
+
})(Region || {});
|
|
186
|
+
var RuntimeCustomParamType = /* @__PURE__ */ ((RuntimeCustomParamType2) => {
|
|
187
|
+
RuntimeCustomParamType2[RuntimeCustomParamType2["Unknown"] = 0] = "Unknown";
|
|
188
|
+
RuntimeCustomParamType2[RuntimeCustomParamType2["StringList"] = 1] = "StringList";
|
|
189
|
+
RuntimeCustomParamType2[RuntimeCustomParamType2["IntList"] = 2] = "IntList";
|
|
190
|
+
RuntimeCustomParamType2[RuntimeCustomParamType2["FloatList"] = 3] = "FloatList";
|
|
191
|
+
RuntimeCustomParamType2[RuntimeCustomParamType2["String"] = 4] = "String";
|
|
192
|
+
RuntimeCustomParamType2[RuntimeCustomParamType2["Int"] = 5] = "Int";
|
|
193
|
+
RuntimeCustomParamType2[RuntimeCustomParamType2["Float"] = 6] = "Float";
|
|
194
|
+
RuntimeCustomParamType2[RuntimeCustomParamType2["Bool"] = 7] = "Bool";
|
|
195
|
+
return RuntimeCustomParamType2;
|
|
196
|
+
})(RuntimeCustomParamType || {});
|
|
197
|
+
var RuntimeHookType = /* @__PURE__ */ ((RuntimeHookType2) => {
|
|
198
|
+
RuntimeHookType2[RuntimeHookType2["Unknown"] = 0] = "Unknown";
|
|
199
|
+
RuntimeHookType2[RuntimeHookType2["MsgPreHook"] = 1] = "MsgPreHook";
|
|
200
|
+
return RuntimeHookType2;
|
|
201
|
+
})(RuntimeHookType || {});
|
|
202
|
+
var SftTaskBaseModelType = /* @__PURE__ */ ((SftTaskBaseModelType2) => {
|
|
203
|
+
SftTaskBaseModelType2[SftTaskBaseModelType2["Foundation"] = 0] = "Foundation";
|
|
204
|
+
SftTaskBaseModelType2[SftTaskBaseModelType2["Custom"] = 1] = "Custom";
|
|
205
|
+
return SftTaskBaseModelType2;
|
|
206
|
+
})(SftTaskBaseModelType || {});
|
|
207
|
+
var SftTaskErrCode = /* @__PURE__ */ ((SftTaskErrCode2) => {
|
|
208
|
+
SftTaskErrCode2[SftTaskErrCode2["Default"] = 0] = "Default";
|
|
209
|
+
SftTaskErrCode2[SftTaskErrCode2["InternalErr"] = 1e5] = "InternalErr";
|
|
210
|
+
SftTaskErrCode2[SftTaskErrCode2["TrainingSetUploadedErr"] = 100001] = "TrainingSetUploadedErr";
|
|
211
|
+
SftTaskErrCode2[SftTaskErrCode2["CreateProviderSftTaskErr"] = 100002] = "CreateProviderSftTaskErr";
|
|
212
|
+
SftTaskErrCode2[SftTaskErrCode2["MerlinTaskInternalError"] = 2e5] = "MerlinTaskInternalError";
|
|
213
|
+
SftTaskErrCode2[SftTaskErrCode2["MerlinGpuCpuMemRatioBad"] = 200001] = "MerlinGpuCpuMemRatioBad";
|
|
214
|
+
SftTaskErrCode2[SftTaskErrCode2["MerlinReportedInternalErr"] = 21e4] = "MerlinReportedInternalErr";
|
|
215
|
+
SftTaskErrCode2[SftTaskErrCode2["MerlinOOM"] = 210001] = "MerlinOOM";
|
|
216
|
+
SftTaskErrCode2[SftTaskErrCode2["MerlinNoModelGenerated"] = 210002] = "MerlinNoModelGenerated";
|
|
217
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSInternalErr"] = 3e5] = "MaaSInternalErr";
|
|
218
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSValidationSetSplitErr"] = 300001] = "MaaSValidationSetSplitErr";
|
|
219
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSTrainingSetNoValid"] = 300002] = "MaaSTrainingSetNoValid";
|
|
220
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSAccountModelServiceIsNotActivated"] = 300003] = "MaaSAccountModelServiceIsNotActivated";
|
|
221
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSRequiredParamMissing"] = 300004] = "MaaSRequiredParamMissing";
|
|
222
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSRequestParamInvalid"] = 300005] = "MaaSRequestParamInvalid";
|
|
223
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSDuplicateTags"] = 300006] = "MaaSDuplicateTags";
|
|
224
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSNotSupportedToConfigureValidationSetAndPercentage"] = 300007] = "MaaSNotSupportedToConfigureValidationSetAndPercentage";
|
|
225
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSNotPermittedToAccessModel"] = 300008] = "MaaSNotPermittedToAccessModel";
|
|
226
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSModelNotSupportTheTrainingMethod"] = 300009] = "MaaSModelNotSupportTheTrainingMethod";
|
|
227
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSFoundationModelNotSupportTheTrainingMethod"] = 300010] = "MaaSFoundationModelNotSupportTheTrainingMethod";
|
|
228
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSAccountBalanceOverdue"] = 300011] = "MaaSAccountBalanceOverdue";
|
|
229
|
+
SftTaskErrCode2[SftTaskErrCode2["MaaSUnknownErr"] = 300012] = "MaaSUnknownErr";
|
|
230
|
+
return SftTaskErrCode2;
|
|
231
|
+
})(SftTaskErrCode || {});
|
|
232
|
+
var SftTaskHyperParamType = /* @__PURE__ */ ((SftTaskHyperParamType2) => {
|
|
233
|
+
SftTaskHyperParamType2[SftTaskHyperParamType2["Int"] = 1] = "Int";
|
|
234
|
+
SftTaskHyperParamType2[SftTaskHyperParamType2["Float"] = 2] = "Float";
|
|
235
|
+
SftTaskHyperParamType2[SftTaskHyperParamType2["String"] = 3] = "String";
|
|
236
|
+
SftTaskHyperParamType2[SftTaskHyperParamType2["Bool"] = 4] = "Bool";
|
|
237
|
+
SftTaskHyperParamType2[SftTaskHyperParamType2["Percentage"] = 5] = "Percentage";
|
|
238
|
+
return SftTaskHyperParamType2;
|
|
239
|
+
})(SftTaskHyperParamType || {});
|
|
240
|
+
var SftTaskOutputExportType = /* @__PURE__ */ ((SftTaskOutputExportType2) => {
|
|
241
|
+
SftTaskOutputExportType2[SftTaskOutputExportType2["NewModel"] = 1] = "NewModel";
|
|
242
|
+
SftTaskOutputExportType2[SftTaskOutputExportType2["ExistModel"] = 2] = "ExistModel";
|
|
243
|
+
return SftTaskOutputExportType2;
|
|
244
|
+
})(SftTaskOutputExportType || {});
|
|
245
|
+
var SftTaskOutputStatus = /* @__PURE__ */ ((SftTaskOutputStatus2) => {
|
|
246
|
+
SftTaskOutputStatus2[SftTaskOutputStatus2["Available"] = 1] = "Available";
|
|
247
|
+
SftTaskOutputStatus2[SftTaskOutputStatus2["Exported"] = 2] = "Exported";
|
|
248
|
+
SftTaskOutputStatus2[SftTaskOutputStatus2["Expired"] = 3] = "Expired";
|
|
249
|
+
SftTaskOutputStatus2[SftTaskOutputStatus2["Exporting"] = 4] = "Exporting";
|
|
250
|
+
SftTaskOutputStatus2[SftTaskOutputStatus2["ExportFailed"] = 5] = "ExportFailed";
|
|
251
|
+
return SftTaskOutputStatus2;
|
|
252
|
+
})(SftTaskOutputStatus || {});
|
|
253
|
+
var SftTaskResourceMerlinVersion = /* @__PURE__ */ ((SftTaskResourceMerlinVersion2) => {
|
|
254
|
+
SftTaskResourceMerlinVersion2[SftTaskResourceMerlinVersion2["RemoveAnyGPU"] = 1] = "RemoveAnyGPU";
|
|
255
|
+
return SftTaskResourceMerlinVersion2;
|
|
256
|
+
})(SftTaskResourceMerlinVersion || {});
|
|
257
|
+
var SftTaskRunEventType = /* @__PURE__ */ ((SftTaskRunEventType2) => {
|
|
258
|
+
SftTaskRunEventType2[SftTaskRunEventType2["Undefined"] = 0] = "Undefined";
|
|
259
|
+
SftTaskRunEventType2[SftTaskRunEventType2["ErrorOccured"] = 1] = "ErrorOccured";
|
|
260
|
+
SftTaskRunEventType2[SftTaskRunEventType2["UploadCkpt"] = 2] = "UploadCkpt";
|
|
261
|
+
SftTaskRunEventType2[SftTaskRunEventType2["ReportMetricsURL"] = 3] = "ReportMetricsURL";
|
|
262
|
+
SftTaskRunEventType2[SftTaskRunEventType2["ReportProgress"] = 5] = "ReportProgress";
|
|
263
|
+
SftTaskRunEventType2[SftTaskRunEventType2["ReportTrainingStart"] = 6] = "ReportTrainingStart";
|
|
264
|
+
SftTaskRunEventType2[SftTaskRunEventType2["ReportTrainingFinished"] = 7] = "ReportTrainingFinished";
|
|
265
|
+
return SftTaskRunEventType2;
|
|
266
|
+
})(SftTaskRunEventType || {});
|
|
267
|
+
var SftTaskStatusPhase = /* @__PURE__ */ ((SftTaskStatusPhase2) => {
|
|
268
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Preprocessing"] = 0] = "Preprocessing";
|
|
269
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Queued"] = 1] = "Queued";
|
|
270
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Deploying"] = 2] = "Deploying";
|
|
271
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Running"] = 3] = "Running";
|
|
272
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Completing"] = 4] = "Completing";
|
|
273
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Completed"] = 5] = "Completed";
|
|
274
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Terminating"] = 6] = "Terminating";
|
|
275
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Terminated"] = 7] = "Terminated";
|
|
276
|
+
SftTaskStatusPhase2[SftTaskStatusPhase2["Failed"] = 8] = "Failed";
|
|
277
|
+
return SftTaskStatusPhase2;
|
|
278
|
+
})(SftTaskStatusPhase || {});
|
|
279
|
+
var SftTaskTrainingMethod = /* @__PURE__ */ ((SftTaskTrainingMethod2) => {
|
|
280
|
+
SftTaskTrainingMethod2[SftTaskTrainingMethod2["LoRA"] = 1] = "LoRA";
|
|
281
|
+
SftTaskTrainingMethod2[SftTaskTrainingMethod2["Full"] = 2] = "Full";
|
|
282
|
+
return SftTaskTrainingMethod2;
|
|
283
|
+
})(SftTaskTrainingMethod || {});
|
|
284
|
+
var SftTaskTrainingType = /* @__PURE__ */ ((SftTaskTrainingType2) => {
|
|
285
|
+
SftTaskTrainingType2[SftTaskTrainingType2["SftFineTuning"] = 1] = "SftFineTuning";
|
|
286
|
+
return SftTaskTrainingType2;
|
|
287
|
+
})(SftTaskTrainingType || {});
|
|
288
|
+
var SftTaskValidationSetType = /* @__PURE__ */ ((SftTaskValidationSetType2) => {
|
|
289
|
+
SftTaskValidationSetType2[SftTaskValidationSetType2["SplitFromTrainingSet"] = 1] = "SplitFromTrainingSet";
|
|
290
|
+
return SftTaskValidationSetType2;
|
|
291
|
+
})(SftTaskValidationSetType || {});
|
|
292
|
+
var TaskStatus = /* @__PURE__ */ ((TaskStatus2) => {
|
|
293
|
+
TaskStatus2[TaskStatus2["Undefined"] = 0] = "Undefined";
|
|
294
|
+
TaskStatus2[TaskStatus2["Initializing"] = 1] = "Initializing";
|
|
295
|
+
TaskStatus2[TaskStatus2["Running"] = 2] = "Running";
|
|
296
|
+
TaskStatus2[TaskStatus2["Done"] = 3] = "Done";
|
|
297
|
+
TaskStatus2[TaskStatus2["Failed"] = 4] = "Failed";
|
|
298
|
+
TaskStatus2[TaskStatus2["Terminated"] = 5] = "Terminated";
|
|
299
|
+
TaskStatus2[TaskStatus2["DoneWithError"] = 6] = "DoneWithError";
|
|
300
|
+
return TaskStatus2;
|
|
301
|
+
})(TaskStatus || {});
|
|
302
|
+
var TrainingDataFileType = /* @__PURE__ */ ((TrainingDataFileType2) => {
|
|
303
|
+
TrainingDataFileType2[TrainingDataFileType2["Undefined"] = 0] = "Undefined";
|
|
304
|
+
TrainingDataFileType2[TrainingDataFileType2["JSONL"] = 1] = "JSONL";
|
|
305
|
+
return TrainingDataFileType2;
|
|
306
|
+
})(TrainingDataFileType || {});
|
|
307
|
+
var TrainingDatasetType = /* @__PURE__ */ ((TrainingDatasetType2) => {
|
|
308
|
+
TrainingDatasetType2[TrainingDatasetType2["Undefined"] = 0] = "Undefined";
|
|
309
|
+
TrainingDatasetType2[TrainingDatasetType2["SFTChat"] = 1] = "SFTChat";
|
|
310
|
+
TrainingDatasetType2[TrainingDatasetType2["SFTFunctionCall"] = 2] = "SFTFunctionCall";
|
|
311
|
+
TrainingDatasetType2[TrainingDatasetType2["SFTMultiModalUnderstanding"] = 3] = "SFTMultiModalUnderstanding";
|
|
312
|
+
return TrainingDatasetType2;
|
|
313
|
+
})(TrainingDatasetType || {});
|
|
314
|
+
var TrainingFileOpType = /* @__PURE__ */ ((TrainingFileOpType2) => {
|
|
315
|
+
TrainingFileOpType2[TrainingFileOpType2["Undefined"] = 0] = "Undefined";
|
|
316
|
+
TrainingFileOpType2[TrainingFileOpType2["Get"] = 1] = "Get";
|
|
317
|
+
TrainingFileOpType2[TrainingFileOpType2["Put"] = 2] = "Put";
|
|
318
|
+
return TrainingFileOpType2;
|
|
319
|
+
})(TrainingFileOpType || {});
|
|
320
|
+
var UsageScenario = /* @__PURE__ */ ((UsageScenario2) => {
|
|
321
|
+
UsageScenario2[UsageScenario2["Default"] = 1] = "Default";
|
|
322
|
+
UsageScenario2[UsageScenario2["Evaluation"] = 2] = "Evaluation";
|
|
323
|
+
UsageScenario2[UsageScenario2["PromptAsAService"] = 3] = "PromptAsAService";
|
|
324
|
+
UsageScenario2[UsageScenario2["AIAnnotate"] = 4] = "AIAnnotate";
|
|
325
|
+
UsageScenario2[UsageScenario2["AIScore"] = 5] = "AIScore";
|
|
326
|
+
UsageScenario2[UsageScenario2["AITag"] = 6] = "AITag";
|
|
327
|
+
return UsageScenario2;
|
|
328
|
+
})(UsageScenario || {});
|
|
329
|
+
var ValidateStatus = /* @__PURE__ */ ((ValidateStatus2) => {
|
|
330
|
+
ValidateStatus2[ValidateStatus2["Pass"] = 1] = "Pass";
|
|
331
|
+
ValidateStatus2[ValidateStatus2["Failed"] = 2] = "Failed";
|
|
332
|
+
ValidateStatus2[ValidateStatus2["Skip"] = 3] = "Skip";
|
|
333
|
+
return ValidateStatus2;
|
|
334
|
+
})(ValidateStatus || {});
|
|
335
|
+
var VisibleMode = /* @__PURE__ */ ((VisibleMode2) => {
|
|
336
|
+
VisibleMode2[VisibleMode2["Default"] = 1] = "Default";
|
|
337
|
+
VisibleMode2[VisibleMode2["Specified"] = 2] = "Specified";
|
|
338
|
+
VisibleMode2[VisibleMode2["All"] = 3] = "All";
|
|
339
|
+
return VisibleMode2;
|
|
340
|
+
})(VisibleMode || {});
|
|
341
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
342
|
+
0 && (module.exports = {
|
|
343
|
+
ByteTreeNodeResourceProvider,
|
|
344
|
+
DataImportMode,
|
|
345
|
+
DataSourceType,
|
|
346
|
+
Family,
|
|
347
|
+
IDC,
|
|
348
|
+
MerlinFramework,
|
|
349
|
+
MerlinLLMInterface,
|
|
350
|
+
MerlinQuotaPoolType,
|
|
351
|
+
ModelFilterKey,
|
|
352
|
+
ModelParamType,
|
|
353
|
+
ModelStatus,
|
|
354
|
+
Provider,
|
|
355
|
+
ProviderAccountType,
|
|
356
|
+
Region,
|
|
357
|
+
RuntimeCustomParamType,
|
|
358
|
+
RuntimeHookType,
|
|
359
|
+
SftTaskBaseModelType,
|
|
360
|
+
SftTaskErrCode,
|
|
361
|
+
SftTaskHyperParamType,
|
|
362
|
+
SftTaskOutputExportType,
|
|
363
|
+
SftTaskOutputStatus,
|
|
364
|
+
SftTaskResourceMerlinVersion,
|
|
365
|
+
SftTaskRunEventType,
|
|
366
|
+
SftTaskStatusPhase,
|
|
367
|
+
SftTaskTrainingMethod,
|
|
368
|
+
SftTaskTrainingType,
|
|
369
|
+
SftTaskValidationSetType,
|
|
370
|
+
TaskStatus,
|
|
371
|
+
TrainingDataFileType,
|
|
372
|
+
TrainingDatasetType,
|
|
373
|
+
TrainingFileOpType,
|
|
374
|
+
UsageScenario,
|
|
375
|
+
ValidateStatus,
|
|
376
|
+
VisibleMode
|
|
377
|
+
});
|
|
@@ -0,0 +1,72 @@
|
|
|
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 permission_exports = {};
|
|
20
|
+
__export(permission_exports, {
|
|
21
|
+
AttributeValueType: () => AttributeValueType,
|
|
22
|
+
ResourceType: () => ResourceType
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(permission_exports);
|
|
25
|
+
var AttributeValueType = /* @__PURE__ */ ((AttributeValueType2) => {
|
|
26
|
+
AttributeValueType2[AttributeValueType2["Unknown"] = 0] = "Unknown";
|
|
27
|
+
AttributeValueType2[AttributeValueType2["String"] = 1] = "String";
|
|
28
|
+
AttributeValueType2[AttributeValueType2["Boolean"] = 2] = "Boolean";
|
|
29
|
+
AttributeValueType2[AttributeValueType2["StringList"] = 11] = "StringList";
|
|
30
|
+
AttributeValueType2[AttributeValueType2["BooleanList"] = 12] = "BooleanList";
|
|
31
|
+
return AttributeValueType2;
|
|
32
|
+
})(AttributeValueType || {});
|
|
33
|
+
var ResourceType = /* @__PURE__ */ ((ResourceType2) => {
|
|
34
|
+
ResourceType2[ResourceType2["Account"] = 1] = "Account";
|
|
35
|
+
ResourceType2[ResourceType2["Workspace"] = 2] = "Workspace";
|
|
36
|
+
ResourceType2[ResourceType2["App"] = 3] = "App";
|
|
37
|
+
ResourceType2[ResourceType2["Bot"] = 4] = "Bot";
|
|
38
|
+
ResourceType2[ResourceType2["Plugin"] = 5] = "Plugin";
|
|
39
|
+
ResourceType2[ResourceType2["Workflow"] = 6] = "Workflow";
|
|
40
|
+
ResourceType2[ResourceType2["Knowledge"] = 7] = "Knowledge";
|
|
41
|
+
ResourceType2[ResourceType2["PersonalAccessToken"] = 8] = "PersonalAccessToken";
|
|
42
|
+
ResourceType2[ResourceType2["Connector"] = 9] = "Connector";
|
|
43
|
+
ResourceType2[ResourceType2["Card"] = 10] = "Card";
|
|
44
|
+
ResourceType2[ResourceType2["CardTemplate"] = 11] = "CardTemplate";
|
|
45
|
+
ResourceType2[ResourceType2["Conversation"] = 12] = "Conversation";
|
|
46
|
+
ResourceType2[ResourceType2["File"] = 13] = "File";
|
|
47
|
+
ResourceType2[ResourceType2["ServicePrincipal"] = 14] = "ServicePrincipal";
|
|
48
|
+
ResourceType2[ResourceType2["Enterprise"] = 15] = "Enterprise";
|
|
49
|
+
ResourceType2[ResourceType2["MigrateTask"] = 16] = "MigrateTask";
|
|
50
|
+
ResourceType2[ResourceType2["Prompt"] = 17] = "Prompt";
|
|
51
|
+
ResourceType2[ResourceType2["UI"] = 18] = "UI";
|
|
52
|
+
ResourceType2[ResourceType2["Project"] = 19] = "Project";
|
|
53
|
+
ResourceType2[ResourceType2["EvaluationDataset"] = 20] = "EvaluationDataset";
|
|
54
|
+
ResourceType2[ResourceType2["EvaluationTask"] = 21] = "EvaluationTask";
|
|
55
|
+
ResourceType2[ResourceType2["Evaluator"] = 22] = "Evaluator";
|
|
56
|
+
ResourceType2[ResourceType2["Database"] = 23] = "Database";
|
|
57
|
+
ResourceType2[ResourceType2["OceanProject"] = 24] = "OceanProject";
|
|
58
|
+
ResourceType2[ResourceType2["FinetuneTask"] = 25] = "FinetuneTask";
|
|
59
|
+
ResourceType2[ResourceType2["LoopPrompt"] = 26] = "LoopPrompt";
|
|
60
|
+
ResourceType2[ResourceType2["LoopEvaluationExperiment"] = 27] = "LoopEvaluationExperiment";
|
|
61
|
+
ResourceType2[ResourceType2["LoopEvaluationSet"] = 28] = "LoopEvaluationSet";
|
|
62
|
+
ResourceType2[ResourceType2["LoopEvaluator"] = 29] = "LoopEvaluator";
|
|
63
|
+
ResourceType2[ResourceType2["LoopEvaluationTarget"] = 30] = "LoopEvaluationTarget";
|
|
64
|
+
ResourceType2[ResourceType2["LoopTraceView"] = 31] = "LoopTraceView";
|
|
65
|
+
ResourceType2[ResourceType2["LoopModel"] = 32] = "LoopModel";
|
|
66
|
+
return ResourceType2;
|
|
67
|
+
})(ResourceType || {});
|
|
68
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
69
|
+
0 && (module.exports = {
|
|
70
|
+
AttributeValueType,
|
|
71
|
+
ResourceType
|
|
72
|
+
});
|
|
@@ -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 release_exports = {};
|
|
20
|
+
__export(release_exports, {
|
|
21
|
+
CheckResultType: () => CheckResultType,
|
|
22
|
+
CheckType: () => CheckType
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(release_exports);
|
|
25
|
+
var CheckResultType = /* @__PURE__ */ ((CheckResultType2) => {
|
|
26
|
+
CheckResultType2[CheckResultType2["CheckResultFail"] = 1] = "CheckResultFail";
|
|
27
|
+
CheckResultType2[CheckResultType2["CheckResultBlock"] = 2] = "CheckResultBlock";
|
|
28
|
+
CheckResultType2[CheckResultType2["CheckResultAssertFail"] = 3] = "CheckResultAssertFail";
|
|
29
|
+
CheckResultType2[CheckResultType2["CheckResultRunFail"] = 4] = "CheckResultRunFail";
|
|
30
|
+
CheckResultType2[CheckResultType2["CheckResultPass"] = 5] = "CheckResultPass";
|
|
31
|
+
CheckResultType2[CheckResultType2["CheckResultWarning"] = 6] = "CheckResultWarning";
|
|
32
|
+
CheckResultType2[CheckResultType2["CheckResultError"] = 7] = "CheckResultError";
|
|
33
|
+
CheckResultType2[CheckResultType2["CheckResultSkip"] = 8] = "CheckResultSkip";
|
|
34
|
+
CheckResultType2[CheckResultType2["CheckResultRunning"] = 9] = "CheckResultRunning";
|
|
35
|
+
CheckResultType2[CheckResultType2["CheckResultInit"] = 10] = "CheckResultInit";
|
|
36
|
+
return CheckResultType2;
|
|
37
|
+
})(CheckResultType || {});
|
|
38
|
+
var CheckType = /* @__PURE__ */ ((CheckType2) => {
|
|
39
|
+
CheckType2[CheckType2["ReleaseTimeCheck"] = 0] = "ReleaseTimeCheck";
|
|
40
|
+
CheckType2[CheckType2["CommonGuard"] = 1] = "CommonGuard";
|
|
41
|
+
CheckType2[CheckType2["ReleaseEvent"] = 2] = "ReleaseEvent";
|
|
42
|
+
CheckType2[CheckType2["RuleEngine"] = 3] = "RuleEngine";
|
|
43
|
+
CheckType2[CheckType2["ExamCheck"] = 4] = "ExamCheck";
|
|
44
|
+
return CheckType2;
|
|
45
|
+
})(CheckType || {});
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
CheckResultType,
|
|
49
|
+
CheckType
|
|
50
|
+
});
|
|
@@ -63,7 +63,7 @@ module.exports = __toCommonJS(prompt_editor_exports);
|
|
|
63
63
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
64
64
|
var import_react = require("react");
|
|
65
65
|
var import_classnames = __toESM(require("classnames"));
|
|
66
|
-
var import_prompt_api = require("
|
|
66
|
+
var import_prompt_api = require("../idls/prompt_api");
|
|
67
67
|
var import_icons = require("@coze-arch/coze-design/icons");
|
|
68
68
|
var import_coze_design = require("@coze-arch/coze-design");
|
|
69
69
|
var import_consts = require("../consts");
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
8
|
var __export = (target, all) => {
|
|
7
9
|
for (var name in all)
|
|
@@ -15,6 +17,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
}
|
|
16
18
|
return to;
|
|
17
19
|
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
18
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
29
|
var model_config_exports = {};
|
|
20
30
|
__export(model_config_exports, {
|
|
@@ -23,7 +33,7 @@ __export(model_config_exports, {
|
|
|
23
33
|
});
|
|
24
34
|
module.exports = __toCommonJS(model_config_exports);
|
|
25
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
26
|
-
var
|
|
36
|
+
var FornaxMlFlow = __toESM(require("../idls/fornax_ml_flow"));
|
|
27
37
|
var import_coze_design = require("@coze-arch/coze-design");
|
|
28
38
|
var import_model_config_form = require("../model-config-editor/model-config-form");
|
|
29
39
|
var import_consts = require("../consts");
|
|
@@ -43,9 +53,9 @@ const convertModelToModelConfig = (model) => {
|
|
|
43
53
|
};
|
|
44
54
|
};
|
|
45
55
|
const renderModelOfflineTag = (model) => {
|
|
46
|
-
if ((model == null ? void 0 : model.modelStatus) ===
|
|
56
|
+
if ((model == null ? void 0 : model.modelStatus) === FornaxMlFlow.ModelStatus.Offlining) {
|
|
47
57
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_coze_design.Tag, { color: "yellow", className: "flex-shrink-0", size: "mini", children: "下线中" });
|
|
48
|
-
} else if ((model == null ? void 0 : model.modelStatus) ===
|
|
58
|
+
} else if ((model == null ? void 0 : model.modelStatus) === FornaxMlFlow.ModelStatus.Unavailable) {
|
|
49
59
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_coze_design.Tag, { color: "red", className: "flex-shrink-0", size: "mini", children: "已下线" });
|
|
50
60
|
}
|
|
51
61
|
return null;
|