@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
package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_annotationjobservice.d.ts
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import * as annotation_job from './annotation_job';
|
|
2
|
+
import * as base from './base';
|
|
3
|
+
import * as datasetv2 from './datasetv2';
|
|
4
|
+
import * as ai_annotate from './ai_annotate';
|
|
5
|
+
import * as filter from './filter';
|
|
6
|
+
export type Int64 = string | number;
|
|
7
|
+
export interface CreateAnnotationJobRequest {
|
|
8
|
+
spaceID: string;
|
|
9
|
+
datasetID: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
content?: annotation_job.AnnotationConfig;
|
|
12
|
+
base?: base.Base;
|
|
13
|
+
}
|
|
14
|
+
export interface CreateAnnotationJobResponse {
|
|
15
|
+
/** JobID */
|
|
16
|
+
jobID?: string;
|
|
17
|
+
baseResp?: base.BaseResp;
|
|
18
|
+
}
|
|
19
|
+
export interface CreateQualityScoreJobRequest {
|
|
20
|
+
spaceID: string;
|
|
21
|
+
datasetID: string;
|
|
22
|
+
/** 质量分任务内容 */
|
|
23
|
+
job: annotation_job.QualityScoreJob;
|
|
24
|
+
base?: base.Base;
|
|
25
|
+
}
|
|
26
|
+
export interface CreateQualityScoreJobResponse {
|
|
27
|
+
jobID?: string;
|
|
28
|
+
baseResp?: base.BaseResp;
|
|
29
|
+
}
|
|
30
|
+
export interface DeleteAnnotationJobRequest {
|
|
31
|
+
spaceID: string;
|
|
32
|
+
datasetID: string;
|
|
33
|
+
/** JobID非ID */
|
|
34
|
+
jobID: string;
|
|
35
|
+
base?: base.Base;
|
|
36
|
+
}
|
|
37
|
+
export interface DeleteAnnotationJobResponse {
|
|
38
|
+
baseResp?: base.BaseResp;
|
|
39
|
+
}
|
|
40
|
+
export interface DeleteQualityScoreJobRequest {
|
|
41
|
+
spaceID: string;
|
|
42
|
+
datasetID: string;
|
|
43
|
+
jobID: string;
|
|
44
|
+
base?: base.Base;
|
|
45
|
+
}
|
|
46
|
+
export interface DeleteQualityScoreJobResponse {
|
|
47
|
+
baseResp?: base.BaseResp;
|
|
48
|
+
}
|
|
49
|
+
export interface DryRunQualityScoreJobRequest {
|
|
50
|
+
spaceID: string;
|
|
51
|
+
datasetID: string;
|
|
52
|
+
job: annotation_job.QualityScoreJob;
|
|
53
|
+
/** 不传,默认5条 */
|
|
54
|
+
sampleCount?: number;
|
|
55
|
+
base?: base.Base;
|
|
56
|
+
}
|
|
57
|
+
export interface DryRunQualityScoreJobResponse {
|
|
58
|
+
items?: Array<datasetv2.DatasetItem>;
|
|
59
|
+
qualityScoreFieldKey?: string;
|
|
60
|
+
baseResp?: base.BaseResp;
|
|
61
|
+
}
|
|
62
|
+
export interface GetAnnotationJobDetailRequest {
|
|
63
|
+
spaceID: string;
|
|
64
|
+
datasetID: string;
|
|
65
|
+
/** JobID非ID */
|
|
66
|
+
jobID?: string;
|
|
67
|
+
base?: base.Base;
|
|
68
|
+
}
|
|
69
|
+
export interface GetAnnotationJobDetailResponse {
|
|
70
|
+
jobDetail?: annotation_job.AnnotationJob;
|
|
71
|
+
baseResp?: base.BaseResp;
|
|
72
|
+
}
|
|
73
|
+
export interface GetAnnotationJobProcessRequest {
|
|
74
|
+
spaceID: string;
|
|
75
|
+
datasetID: string;
|
|
76
|
+
base?: base.Base;
|
|
77
|
+
}
|
|
78
|
+
export interface GetAnnotationJobProcessResponse {
|
|
79
|
+
annotationJobRunInstances?: Array<annotation_job.AnnotationJobRunInstance>;
|
|
80
|
+
baseResp?: base.BaseResp;
|
|
81
|
+
}
|
|
82
|
+
export interface GetAnnotationJobsWithDatasetRequest {
|
|
83
|
+
spaceID: string;
|
|
84
|
+
datasetID: string;
|
|
85
|
+
base?: base.Base;
|
|
86
|
+
}
|
|
87
|
+
export interface GetAnnotationJobsWithDatasetResponse {
|
|
88
|
+
/** 作为输入的字段和任务的映射关系,key:schema中的字段key; val:任务详情列表 */
|
|
89
|
+
inputJobMap?: Record<string, Array<annotation_job.AnnotationJob>>;
|
|
90
|
+
/** 作为输出的字段和任务的映射关系,key:schema中的字段key; val:任务详情列表 */
|
|
91
|
+
outputJobMap?: Record<string, Array<annotation_job.AnnotationJob>>;
|
|
92
|
+
baseResp?: base.BaseResp;
|
|
93
|
+
}
|
|
94
|
+
export interface GetQualityScoreJobInstanceRequest {
|
|
95
|
+
spaceID: string;
|
|
96
|
+
datasetID: string;
|
|
97
|
+
jobID: string;
|
|
98
|
+
base?: base.Base;
|
|
99
|
+
}
|
|
100
|
+
export interface GetQualityScoreJobInstanceResponse {
|
|
101
|
+
instance?: annotation_job.QualityScoreJobInstance;
|
|
102
|
+
baseResp?: base.BaseResp;
|
|
103
|
+
}
|
|
104
|
+
export interface GetQualityScoreJobRequest {
|
|
105
|
+
spaceID: string;
|
|
106
|
+
datasetID: string;
|
|
107
|
+
jobID: string;
|
|
108
|
+
base?: base.Base;
|
|
109
|
+
}
|
|
110
|
+
export interface GetQualityScoreJobResponse {
|
|
111
|
+
job?: annotation_job.QualityScoreJob;
|
|
112
|
+
baseResp?: base.BaseResp;
|
|
113
|
+
}
|
|
114
|
+
export interface ListQualityScoreJobsRequest {
|
|
115
|
+
spaceID: string;
|
|
116
|
+
datasetID: string;
|
|
117
|
+
/** pagination */
|
|
118
|
+
page?: number;
|
|
119
|
+
pageSize?: number;
|
|
120
|
+
cursor?: string;
|
|
121
|
+
base?: base.Base;
|
|
122
|
+
}
|
|
123
|
+
export interface ListQualityScoreJobsResponse {
|
|
124
|
+
jobs?: Array<annotation_job.QualityScoreJob>;
|
|
125
|
+
nextCursor?: string;
|
|
126
|
+
total?: string;
|
|
127
|
+
baseResp?: base.BaseResp;
|
|
128
|
+
}
|
|
129
|
+
export interface PreviewAnnotationRequest {
|
|
130
|
+
spaceID: string;
|
|
131
|
+
datasetID: string;
|
|
132
|
+
job: annotation_job.AnnotationJob;
|
|
133
|
+
/** 任务新增列的schema信息,创建时需要传入 */
|
|
134
|
+
fields: Array<datasetv2.FieldSchema>;
|
|
135
|
+
base?: base.Base;
|
|
136
|
+
}
|
|
137
|
+
export interface PreviewAnnotationResponse {
|
|
138
|
+
items?: Array<datasetv2.DatasetItem>;
|
|
139
|
+
errorMsg?: string;
|
|
140
|
+
baseResp?: base.BaseResp;
|
|
141
|
+
}
|
|
142
|
+
export interface RunAnnotationJobRequest {
|
|
143
|
+
spaceID: string;
|
|
144
|
+
datasetID: string;
|
|
145
|
+
/** JobID非ID */
|
|
146
|
+
jobID: string;
|
|
147
|
+
/** 离线推理任务需要显示传入 */
|
|
148
|
+
jwtToken?: string;
|
|
149
|
+
/** 重新运行的instanceID */
|
|
150
|
+
annotationJobRunID?: string;
|
|
151
|
+
base?: base.Base;
|
|
152
|
+
}
|
|
153
|
+
export interface RunAnnotationJobResponse {
|
|
154
|
+
annotationJobRun?: string;
|
|
155
|
+
baseResp?: base.BaseResp;
|
|
156
|
+
}
|
|
157
|
+
export interface RunQualityScoreJobRequest {
|
|
158
|
+
spaceID: string;
|
|
159
|
+
datasetID: string;
|
|
160
|
+
jobID: string;
|
|
161
|
+
taskRunType: ai_annotate.AIAnnotateTaskRunType;
|
|
162
|
+
filter?: filter.Filter;
|
|
163
|
+
base?: base.Base;
|
|
164
|
+
}
|
|
165
|
+
export interface RunQualityScoreJobResponse {
|
|
166
|
+
jobInstanceID?: string;
|
|
167
|
+
baseResp?: base.BaseResp;
|
|
168
|
+
}
|
|
169
|
+
export interface RunQualityScoreSyncRequest {
|
|
170
|
+
spaceID: string;
|
|
171
|
+
datasetID: string;
|
|
172
|
+
jobID: string;
|
|
173
|
+
itemIDs: Array<string>;
|
|
174
|
+
base?: base.Base;
|
|
175
|
+
}
|
|
176
|
+
export interface RunQualityScoreSyncResponse {
|
|
177
|
+
items?: Array<datasetv2.DatasetItem>;
|
|
178
|
+
baseResp?: base.BaseResp;
|
|
179
|
+
}
|
|
180
|
+
export interface SearchAnnotationjobInstancesRequest {
|
|
181
|
+
spaceID: string;
|
|
182
|
+
datasetID: string;
|
|
183
|
+
typeFilter?: Array<annotation_job.AnnotationType>;
|
|
184
|
+
createdBys?: Array<string>;
|
|
185
|
+
page?: number;
|
|
186
|
+
pageSize?: number;
|
|
187
|
+
cursor?: string;
|
|
188
|
+
orderBy?: datasetv2.OrderBy;
|
|
189
|
+
base?: base.Base;
|
|
190
|
+
}
|
|
191
|
+
export interface SearchAnnotationjobInstancesResponse {
|
|
192
|
+
instances?: Array<annotation_job.AnnotationJobRunInstance>;
|
|
193
|
+
nextCursor?: string;
|
|
194
|
+
total?: string;
|
|
195
|
+
baseResp?: base.BaseResp;
|
|
196
|
+
}
|
|
197
|
+
export interface SearchAnnotationJobsRequest {
|
|
198
|
+
spaceID: string;
|
|
199
|
+
nameLike?: string;
|
|
200
|
+
page?: number;
|
|
201
|
+
pageSize?: number;
|
|
202
|
+
cursor?: string;
|
|
203
|
+
orderBy?: datasetv2.OrderBy;
|
|
204
|
+
base?: base.Base;
|
|
205
|
+
}
|
|
206
|
+
export interface SearchAnnotationJobsResponse {
|
|
207
|
+
annotationJobs?: Array<annotation_job.AnnotationJob>;
|
|
208
|
+
total?: Int64;
|
|
209
|
+
nextCursor?: string;
|
|
210
|
+
baseResp?: base.BaseResp;
|
|
211
|
+
}
|
|
212
|
+
export interface TerminateAnnotationJobRequest {
|
|
213
|
+
spaceID: string;
|
|
214
|
+
datasetID: string;
|
|
215
|
+
/** JobID非ID */
|
|
216
|
+
jobID: string;
|
|
217
|
+
jobRunID: string;
|
|
218
|
+
jwtToken?: string;
|
|
219
|
+
base?: base.Base;
|
|
220
|
+
}
|
|
221
|
+
export interface TerminateAnnotationJobResponse {
|
|
222
|
+
baseResp?: base.BaseResp;
|
|
223
|
+
}
|
|
224
|
+
export interface TerminateQualityScoreJobInstanceRequest {
|
|
225
|
+
spaceID: string;
|
|
226
|
+
datasetID: string;
|
|
227
|
+
jobID: string;
|
|
228
|
+
/** 任务实例id */
|
|
229
|
+
instanceID: string;
|
|
230
|
+
base?: base.Base;
|
|
231
|
+
}
|
|
232
|
+
export interface TerminateQualityScoreJobInstanceResponse {
|
|
233
|
+
baseResp?: base.BaseResp;
|
|
234
|
+
}
|
|
235
|
+
export interface UpdateAnnotationJobRequest {
|
|
236
|
+
spaceID: string;
|
|
237
|
+
datasetID: string;
|
|
238
|
+
/** JobID */
|
|
239
|
+
jobID: string;
|
|
240
|
+
name?: string;
|
|
241
|
+
content?: annotation_job.AnnotationConfig;
|
|
242
|
+
base?: base.Base;
|
|
243
|
+
}
|
|
244
|
+
export interface UpdateAnnotationJobResponse {
|
|
245
|
+
baseResp?: base.BaseResp;
|
|
246
|
+
}
|
|
247
|
+
export interface UpdateQualityScoreJobRequest {
|
|
248
|
+
spaceID: string;
|
|
249
|
+
datasetID: string;
|
|
250
|
+
jobID: string;
|
|
251
|
+
job: annotation_job.QualityScoreJob;
|
|
252
|
+
base?: base.Base;
|
|
253
|
+
}
|
|
254
|
+
export interface UpdateQualityScoreJobResponse {
|
|
255
|
+
baseResp?: base.BaseResp;
|
|
256
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as base from './base';
|
|
2
|
+
import * as batch_infer from './batch_infer';
|
|
3
|
+
export type Int64 = string | number;
|
|
4
|
+
export interface GetBatchInferTaskReq {
|
|
5
|
+
task_id?: string;
|
|
6
|
+
userJwtToken?: string;
|
|
7
|
+
/** 空间ID */
|
|
8
|
+
space_id?: string;
|
|
9
|
+
base?: base.Base;
|
|
10
|
+
}
|
|
11
|
+
export interface GetBatchInferTaskResp {
|
|
12
|
+
batchInferTask?: batch_infer.BatchInferTask;
|
|
13
|
+
baseResp?: base.BaseResp;
|
|
14
|
+
}
|
|
15
|
+
export interface GetRecommendResourceReq {
|
|
16
|
+
modelCardID?: string;
|
|
17
|
+
userJwtToken?: string;
|
|
18
|
+
/** 空间ID */
|
|
19
|
+
space_id?: string;
|
|
20
|
+
base?: base.Base;
|
|
21
|
+
}
|
|
22
|
+
export interface GetRecommendResourceResp {
|
|
23
|
+
/** 是否存在推荐的资源配置 */
|
|
24
|
+
exist?: boolean;
|
|
25
|
+
/** 集群id */
|
|
26
|
+
merlinClusterID?: string;
|
|
27
|
+
/** gpu类型 */
|
|
28
|
+
gpuv?: string;
|
|
29
|
+
/** 用户组id */
|
|
30
|
+
groupID?: string;
|
|
31
|
+
/** 资源池类型 */
|
|
32
|
+
quotaPoolType?: batch_infer.MerlinQuotaPoolType;
|
|
33
|
+
baseResp?: base.BaseResp;
|
|
34
|
+
}
|
|
35
|
+
export interface ListModelCardsReq {
|
|
36
|
+
/** 必填。model card来源 */
|
|
37
|
+
provider?: batch_infer.Provider;
|
|
38
|
+
/** 选填。model card名称关键字。 */
|
|
39
|
+
nameKeyword?: string;
|
|
40
|
+
/** 必填。用户jwt token。用于调用merlin等api时的鉴权 */
|
|
41
|
+
userJwtToken?: string;
|
|
42
|
+
/** 必填。pageSize。最大值为100 */
|
|
43
|
+
limit?: string;
|
|
44
|
+
/** 必填。翻页偏移量。初始值填0,每翻一页这个值+=limit */
|
|
45
|
+
offset?: string;
|
|
46
|
+
/** 空间ID */
|
|
47
|
+
space_id?: string;
|
|
48
|
+
base?: base.Base;
|
|
49
|
+
}
|
|
50
|
+
export interface ListModelCardsResp {
|
|
51
|
+
total?: string;
|
|
52
|
+
hasMore?: boolean;
|
|
53
|
+
modelCards?: Array<batch_infer.ModelCard>;
|
|
54
|
+
baseResp?: base.BaseResp;
|
|
55
|
+
}
|
|
56
|
+
export interface ParseModelConfigReq {
|
|
57
|
+
provider?: batch_infer.Provider;
|
|
58
|
+
seedHdfsAddress?: string;
|
|
59
|
+
seedModelCardID?: string;
|
|
60
|
+
userJwtToken?: string;
|
|
61
|
+
/** 空间ID */
|
|
62
|
+
space_id?: string;
|
|
63
|
+
base?: base.Base;
|
|
64
|
+
}
|
|
65
|
+
export interface ParseModelConfigResp {
|
|
66
|
+
/** merlin seed 模型配置 */
|
|
67
|
+
modelParamConfigType?: string;
|
|
68
|
+
tokenizerAddress?: string;
|
|
69
|
+
networkConfig?: string;
|
|
70
|
+
quantConfig?: string;
|
|
71
|
+
checkpointHdfsPath?: string;
|
|
72
|
+
baseResp?: base.BaseResp;
|
|
73
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as annotation_job from './annotation_job';
|
|
2
|
+
import * as base from './base';
|
|
3
|
+
export type Int64 = string | number;
|
|
4
|
+
export interface CreateCrowdsourcingAnnotateJobReq {
|
|
5
|
+
spaceID: string;
|
|
6
|
+
/** 任务名称 */
|
|
7
|
+
name: string;
|
|
8
|
+
/** 任务描述 */
|
|
9
|
+
description?: string;
|
|
10
|
+
/** 标注任务平台 */
|
|
11
|
+
platform: annotation_job.CrowdsourcingAnnotationPlatform;
|
|
12
|
+
/** AIDP相关配置 */
|
|
13
|
+
aidpConfig?: annotation_job.AIDPConfig;
|
|
14
|
+
/** 送标配置 */
|
|
15
|
+
inputConfig?: annotation_job.CrowdsourcingAnnotateInputConfig;
|
|
16
|
+
/** 取标配置 */
|
|
17
|
+
outputConfig?: annotation_job.CrowdsourcingAnnotateOutputConfig;
|
|
18
|
+
base?: base.Base;
|
|
19
|
+
}
|
|
20
|
+
export interface CreateCrowdsourcingAnnotateJobResp {
|
|
21
|
+
jobID?: string;
|
|
22
|
+
baseResp?: base.BaseResp;
|
|
23
|
+
}
|
|
24
|
+
export interface DeleteCrowdsourcingAnnotateJobReq {
|
|
25
|
+
spaceID: string;
|
|
26
|
+
datasetID: string;
|
|
27
|
+
jobID: string;
|
|
28
|
+
base?: base.Base;
|
|
29
|
+
}
|
|
30
|
+
export interface DeleteCrowdsourcingAnnotateJobResp {
|
|
31
|
+
baseResp?: base.BaseResp;
|
|
32
|
+
}
|
|
33
|
+
export interface GetAIDPTaskConfigReq {
|
|
34
|
+
spaceID: string;
|
|
35
|
+
taskID: string;
|
|
36
|
+
platform: annotation_job.CrowdsourcingAnnotationPlatform;
|
|
37
|
+
base?: base.Base;
|
|
38
|
+
}
|
|
39
|
+
export interface GetAIDPTaskConfigResp {
|
|
40
|
+
flowConfig?: annotation_job.AIDPTaskFlowConfig;
|
|
41
|
+
baseResp?: base.BaseResp;
|
|
42
|
+
}
|
|
43
|
+
export interface GetAnswerSchemaReq {
|
|
44
|
+
spaceID: string;
|
|
45
|
+
templateID: string;
|
|
46
|
+
platform: annotation_job.CrowdsourcingAnnotationPlatform;
|
|
47
|
+
base?: base.Base;
|
|
48
|
+
}
|
|
49
|
+
export interface GetAnswerSchemaResp {
|
|
50
|
+
schema?: string;
|
|
51
|
+
baseResp?: base.BaseResp;
|
|
52
|
+
}
|
|
53
|
+
export interface ListAuthorizedAIDPTasksReq {
|
|
54
|
+
spaceID: string;
|
|
55
|
+
platform: annotation_job.CrowdsourcingAnnotationPlatform;
|
|
56
|
+
/** 搜索关键字 */
|
|
57
|
+
keyword?: string;
|
|
58
|
+
base?: base.Base;
|
|
59
|
+
}
|
|
60
|
+
export interface ListAuthorizedAIDPTasksResp {
|
|
61
|
+
taskSummaries?: Array<annotation_job.AIDPTaskSummary>;
|
|
62
|
+
aidpUserID?: string;
|
|
63
|
+
baseResp?: base.BaseResp;
|
|
64
|
+
}
|
|
65
|
+
export interface ListCrowdsourcingAnnotateJobReq {
|
|
66
|
+
spaceID: string;
|
|
67
|
+
searchConfig?: annotation_job.SearchConfig;
|
|
68
|
+
page?: number;
|
|
69
|
+
pageSize?: number;
|
|
70
|
+
base?: base.Base;
|
|
71
|
+
}
|
|
72
|
+
export interface ListCrowdsourcingAnnotateJobResp {
|
|
73
|
+
tasks?: Array<annotation_job.CrowdsourcingAnnotateJob>;
|
|
74
|
+
total?: number;
|
|
75
|
+
baseResp?: base.BaseResp;
|
|
76
|
+
}
|
|
77
|
+
export interface RefreshCrowdsourcingAnnotateJobReq {
|
|
78
|
+
spaceID: string;
|
|
79
|
+
jobID: string;
|
|
80
|
+
base?: base.Base;
|
|
81
|
+
}
|
|
82
|
+
export interface RefreshCrowdsourcingAnnotateJobResp {
|
|
83
|
+
job?: annotation_job.CrowdsourcingAnnotateJob;
|
|
84
|
+
baseResp?: base.BaseResp;
|
|
85
|
+
}
|
|
86
|
+
export interface TerminateCrowdsourcingAnnotateJobReq {
|
|
87
|
+
spaceID: string;
|
|
88
|
+
datasetID: string;
|
|
89
|
+
jobID: string;
|
|
90
|
+
base?: base.Base;
|
|
91
|
+
}
|
|
92
|
+
export interface TerminateCrowdsourcingAnnotateJobResp {
|
|
93
|
+
baseResp?: base.BaseResp;
|
|
94
|
+
}
|
package/dist/types/idls/fornax_ml_flow/namespaces/stone_fornax_ml_flow_dataprocessservice.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as dataprocess from './dataprocess';
|
|
2
|
+
import * as base from './base';
|
|
3
|
+
export type Int64 = string | number;
|
|
4
|
+
export interface GetUserScriptTemplateRequest {
|
|
5
|
+
template_type?: dataprocess.UserScriptTemplateType;
|
|
6
|
+
base?: base.Base;
|
|
7
|
+
}
|
|
8
|
+
export interface GetUserScriptTemplateResponse {
|
|
9
|
+
template?: dataprocess.UserScriptTemplate;
|
|
10
|
+
baseResp?: base.BaseResp;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as dataset from './dataset';
|
|
2
|
+
import * as base from './base';
|
|
3
|
+
export type Int64 = string | number;
|
|
4
|
+
export interface CreateDatasetIOTaskReq {
|
|
5
|
+
spaceID: string;
|
|
6
|
+
datasetID: string;
|
|
7
|
+
file: dataset.StorageFile;
|
|
8
|
+
ioType: dataset.DatasetIOType;
|
|
9
|
+
option?: dataset.DatasetIOTaskOption;
|
|
10
|
+
base?: base.Base;
|
|
11
|
+
}
|
|
12
|
+
export interface CreateDatasetIOTaskResp {
|
|
13
|
+
taskID?: string;
|
|
14
|
+
baseResp?: base.BaseResp;
|
|
15
|
+
}
|
|
16
|
+
export interface GetDatasetIOTaskReq {
|
|
17
|
+
spaceID: string;
|
|
18
|
+
taskID: string;
|
|
19
|
+
base?: base.Base;
|
|
20
|
+
}
|
|
21
|
+
export interface GetDatasetIOTaskResp {
|
|
22
|
+
task: dataset.DatasetIOTask;
|
|
23
|
+
baseResp?: base.BaseResp;
|
|
24
|
+
}
|