@alicloud/agentloop20260520 2.7.0 → 2.7.1
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/client.d.ts +10 -10
- package/dist/client.js +16 -10
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEvaluatorRequest.d.ts +42 -18
- package/dist/models/CreateEvaluatorRequest.js.map +1 -1
- package/dist/models/CreateEvaluatorResponseBody.d.ts +2 -2
- package/dist/models/CreateEvaluatorSkillRequest.d.ts +10 -7
- package/dist/models/CreateEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +41 -33
- package/dist/models/CreatePipelineRequest.js +2 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/DeleteEvaluatorSkillRequest.d.ts +4 -1
- package/dist/models/DeleteEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/GetEvaluatorResponseBody.d.ts +45 -12
- package/dist/models/GetEvaluatorResponseBody.js.map +1 -1
- package/dist/models/GetEvaluatorSkillRequest.d.ts +5 -2
- package/dist/models/GetEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/GetEvaluatorSkillResponseBody.d.ts +8 -8
- package/dist/models/GetPipelineResponseBody.d.ts +66 -34
- package/dist/models/GetPipelineResponseBody.js +8 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +546 -6
- package/dist/models/GetPipelineRunResponseBody.js +244 -1
- package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
- package/dist/models/ListEvaluatorSkillsRequest.d.ts +4 -1
- package/dist/models/ListEvaluatorSkillsRequest.js.map +1 -1
- package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +8 -8
- package/dist/models/ListEvaluatorsRequest.d.ts +1 -1
- package/dist/models/ListEvaluatorsResponseBody.d.ts +10 -4
- package/dist/models/ListEvaluatorsResponseBody.js.map +1 -1
- package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
- package/dist/models/ListPipelineRunsResponseBody.d.ts +25 -9
- package/dist/models/ListPipelineRunsResponseBody.js +4 -0
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +25 -5
- package/dist/models/ListPipelinesRequest.js +2 -0
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +153 -37
- package/dist/models/ListPipelinesResponseBody.js +68 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/UpdateEvaluatorRequest.d.ts +40 -10
- package/dist/models/UpdateEvaluatorRequest.js.map +1 -1
- package/dist/models/UpdateEvaluatorSkillRequest.d.ts +7 -4
- package/dist/models/UpdateEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/UpdateEvaluatorVersionStatusRequest.d.ts +5 -3
- package/dist/models/UpdateEvaluatorVersionStatusRequest.js.map +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +43 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -10
- package/src/models/CreateEvaluatorRequest.ts +42 -18
- package/src/models/CreateEvaluatorResponseBody.ts +2 -2
- package/src/models/CreateEvaluatorSkillRequest.ts +10 -7
- package/src/models/CreatePipelineRequest.ts +43 -33
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DeleteEvaluatorSkillRequest.ts +4 -1
- package/src/models/GetEvaluatorResponseBody.ts +45 -12
- package/src/models/GetEvaluatorSkillRequest.ts +5 -2
- package/src/models/GetEvaluatorSkillResponseBody.ts +8 -8
- package/src/models/GetPipelineResponseBody.ts +74 -34
- package/src/models/GetPipelineRunResponseBody.ts +733 -6
- package/src/models/ListEvaluatorSkillsRequest.ts +4 -1
- package/src/models/ListEvaluatorSkillsResponseBody.ts +8 -8
- package/src/models/ListEvaluatorsRequest.ts +1 -1
- package/src/models/ListEvaluatorsResponseBody.ts +10 -4
- package/src/models/ListPipelineRunsRequest.ts +5 -5
- package/src/models/ListPipelineRunsResponseBody.ts +29 -9
- package/src/models/ListPipelinesRequest.ts +27 -5
- package/src/models/ListPipelinesResponseBody.ts +200 -37
- package/src/models/UpdateEvaluatorRequest.ts +40 -10
- package/src/models/UpdateEvaluatorSkillRequest.ts +7 -4
- package/src/models/UpdateEvaluatorVersionStatusRequest.ts +5 -3
- package/src/models/model.ts +8 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1078,6 +1078,10 @@ export default class Client extends OpenApi {
|
|
|
1078
1078
|
body["pipeline"] = request.pipeline;
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
+
if (!$dara.isNull(request.pipelineKind)) {
|
|
1082
|
+
body["pipelineKind"] = request.pipelineKind;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1081
1085
|
if (!$dara.isNull(request.pipelineName)) {
|
|
1082
1086
|
body["pipelineName"] = request.pipelineName;
|
|
1083
1087
|
}
|
|
@@ -2366,10 +2370,10 @@ export default class Client extends OpenApi {
|
|
|
2366
2370
|
}
|
|
2367
2371
|
|
|
2368
2372
|
/**
|
|
2369
|
-
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and
|
|
2373
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
2370
2374
|
*
|
|
2371
2375
|
* @remarks
|
|
2372
|
-
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and
|
|
2376
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
2373
2377
|
*
|
|
2374
2378
|
* @param request - GetPipelineRunRequest
|
|
2375
2379
|
* @param headers - map
|
|
@@ -2396,10 +2400,10 @@ export default class Client extends OpenApi {
|
|
|
2396
2400
|
}
|
|
2397
2401
|
|
|
2398
2402
|
/**
|
|
2399
|
-
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and
|
|
2403
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
2400
2404
|
*
|
|
2401
2405
|
* @remarks
|
|
2402
|
-
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and
|
|
2406
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
2403
2407
|
*
|
|
2404
2408
|
* @param request - GetPipelineRunRequest
|
|
2405
2409
|
* @returns GetPipelineRunResponse
|
|
@@ -2889,7 +2893,7 @@ export default class Client extends OpenApi {
|
|
|
2889
2893
|
}
|
|
2890
2894
|
|
|
2891
2895
|
/**
|
|
2892
|
-
* Queries the list of skills
|
|
2896
|
+
* Queries the list of evaluator skills.
|
|
2893
2897
|
*
|
|
2894
2898
|
* @param request - ListEvaluatorSkillsRequest
|
|
2895
2899
|
* @param headers - map
|
|
@@ -2934,7 +2938,7 @@ export default class Client extends OpenApi {
|
|
|
2934
2938
|
}
|
|
2935
2939
|
|
|
2936
2940
|
/**
|
|
2937
|
-
* Queries the list of skills
|
|
2941
|
+
* Queries the list of evaluator skills.
|
|
2938
2942
|
*
|
|
2939
2943
|
* @param request - ListEvaluatorSkillsRequest
|
|
2940
2944
|
* @returns ListEvaluatorSkillsResponse
|
|
@@ -3282,7 +3286,7 @@ export default class Client extends OpenApi {
|
|
|
3282
3286
|
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3283
3287
|
*
|
|
3284
3288
|
* @remarks
|
|
3285
|
-
* Calls
|
|
3289
|
+
* Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3286
3290
|
*
|
|
3287
3291
|
* @param request - ListPipelineRunsRequest
|
|
3288
3292
|
* @param headers - map
|
|
@@ -3338,7 +3342,7 @@ export default class Client extends OpenApi {
|
|
|
3338
3342
|
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3339
3343
|
*
|
|
3340
3344
|
* @remarks
|
|
3341
|
-
* Calls
|
|
3345
|
+
* Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3342
3346
|
*
|
|
3343
3347
|
* @param request - ListPipelineRunsRequest
|
|
3344
3348
|
* @returns ListPipelineRunsResponse
|
|
@@ -3350,7 +3354,7 @@ export default class Client extends OpenApi {
|
|
|
3350
3354
|
}
|
|
3351
3355
|
|
|
3352
3356
|
/**
|
|
3353
|
-
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
|
|
3357
|
+
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
|
|
3354
3358
|
*
|
|
3355
3359
|
* @param request - ListPipelinesRequest
|
|
3356
3360
|
* @param headers - map
|
|
@@ -3368,6 +3372,10 @@ export default class Client extends OpenApi {
|
|
|
3368
3372
|
query["nextToken"] = request.nextToken;
|
|
3369
3373
|
}
|
|
3370
3374
|
|
|
3375
|
+
if (!$dara.isNull(request.pipelineKind)) {
|
|
3376
|
+
query["pipelineKind"] = request.pipelineKind;
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3371
3379
|
if (!$dara.isNull(request.pipelineName)) {
|
|
3372
3380
|
query["pipelineName"] = request.pipelineName;
|
|
3373
3381
|
}
|
|
@@ -3403,7 +3411,7 @@ export default class Client extends OpenApi {
|
|
|
3403
3411
|
}
|
|
3404
3412
|
|
|
3405
3413
|
/**
|
|
3406
|
-
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
|
|
3414
|
+
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
|
|
3407
3415
|
*
|
|
3408
3416
|
* @param request - ListPipelinesRequest
|
|
3409
3417
|
* @returns ListPipelinesResponse
|
|
@@ -4,15 +4,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateEvaluatorRequestSkillsFiles extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The text content of the file.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* ---
|
|
9
12
|
* name: fact-check
|
|
10
|
-
* description:
|
|
13
|
+
* description: Verify the factual basis in the response
|
|
11
14
|
* ---
|
|
12
|
-
*
|
|
15
|
+
* Verify the facts in the response item by item and list the evidence
|
|
13
16
|
*/
|
|
14
17
|
content?: string;
|
|
15
18
|
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The path of the file relative to the root directory of the skill.
|
|
21
|
+
*
|
|
16
22
|
* @example
|
|
17
23
|
* SKILL.md
|
|
18
24
|
*/
|
|
@@ -42,26 +48,41 @@ export class CreateEvaluatorRequestSkillsFiles extends $dara.Model {
|
|
|
42
48
|
|
|
43
49
|
export class CreateEvaluatorRequestSkills extends $dara.Model {
|
|
44
50
|
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The description of the skill purpose.
|
|
53
|
+
*
|
|
45
54
|
* @example
|
|
46
|
-
*
|
|
55
|
+
* Verify the factual basis in the response
|
|
47
56
|
*/
|
|
48
57
|
description?: string;
|
|
49
58
|
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The display name of the skill.
|
|
61
|
+
*
|
|
50
62
|
* @example
|
|
51
|
-
*
|
|
63
|
+
* Fact check
|
|
52
64
|
*/
|
|
53
65
|
displayName?: string;
|
|
54
66
|
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* Specifies whether to enable the skill. Default value: true.
|
|
69
|
+
*
|
|
55
70
|
* @example
|
|
56
71
|
* true
|
|
57
72
|
*/
|
|
58
73
|
enable?: boolean;
|
|
59
74
|
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The complete list of files for the skill. The list must include SKILL.md in the root directory.
|
|
77
|
+
*
|
|
60
78
|
* @example
|
|
61
|
-
* [{"name":"SKILL.md","content":"---\nname: fact-check\ndescription:
|
|
79
|
+
* [{"name":"SKILL.md","content":"---\nname: fact-check\ndescription: Verify the factual basis in the response\n---\nVerify the facts in the response item by item and list the evidence."}]
|
|
62
80
|
*/
|
|
63
81
|
files?: CreateEvaluatorRequestSkillsFiles[];
|
|
64
82
|
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The name of the skill. The name must be unique in the list of skills submitted in this request.
|
|
85
|
+
*
|
|
65
86
|
* @example
|
|
66
87
|
* fact-check
|
|
67
88
|
*/
|
|
@@ -109,23 +130,23 @@ export class CreateEvaluatorRequest extends $dara.Model {
|
|
|
109
130
|
annotations?: string[];
|
|
110
131
|
/**
|
|
111
132
|
* @remarks
|
|
112
|
-
* The evaluator configuration. LLM
|
|
133
|
+
* The evaluator configuration. For LLM or AGENT evaluators, the configuration typically includes prompt, variables, and outputSchema. For CODE evaluators, it typically includes codeType, faasConfig, variables, and parameters.
|
|
113
134
|
*
|
|
114
135
|
* @example
|
|
115
|
-
* {"prompt":"Please evaluate task completion","variables":[{"name":"input"}]}
|
|
136
|
+
* {"prompt":"Please evaluate the task completion","variables":[{"name":"input"}]}
|
|
116
137
|
*/
|
|
117
138
|
config?: { [key: string]: any };
|
|
118
139
|
/**
|
|
119
140
|
* @remarks
|
|
120
|
-
* The description of the evaluator.
|
|
141
|
+
* The description of the evaluator. The description can be up to 256 characters in length.
|
|
121
142
|
*
|
|
122
143
|
* @example
|
|
123
|
-
* Determines whether the
|
|
144
|
+
* Determines whether the agent completes the user task
|
|
124
145
|
*/
|
|
125
146
|
description?: string;
|
|
126
147
|
/**
|
|
127
148
|
* @remarks
|
|
128
|
-
* The display name.
|
|
149
|
+
* The display name. The name can be up to 128 characters in length.
|
|
129
150
|
*
|
|
130
151
|
* @example
|
|
131
152
|
* Trace task completion
|
|
@@ -133,7 +154,7 @@ export class CreateEvaluatorRequest extends $dara.Model {
|
|
|
133
154
|
displayName?: string;
|
|
134
155
|
/**
|
|
135
156
|
* @remarks
|
|
136
|
-
* The evaluation metric
|
|
157
|
+
* The name of the evaluation metric.
|
|
137
158
|
*
|
|
138
159
|
* This parameter is required.
|
|
139
160
|
*
|
|
@@ -143,7 +164,7 @@ export class CreateEvaluatorRequest extends $dara.Model {
|
|
|
143
164
|
metricName?: string;
|
|
144
165
|
/**
|
|
145
166
|
* @remarks
|
|
146
|
-
* The evaluator
|
|
167
|
+
* The name of the evaluator. The name cannot start with a system-reserved prefix and can be up to 128 characters in length.
|
|
147
168
|
*
|
|
148
169
|
* This parameter is required.
|
|
149
170
|
*
|
|
@@ -160,21 +181,24 @@ export class CreateEvaluatorRequest extends $dara.Model {
|
|
|
160
181
|
*/
|
|
161
182
|
properties?: { [key: string]: any };
|
|
162
183
|
/**
|
|
184
|
+
* @remarks
|
|
185
|
+
* The list of business skills for the initial version of a standard agent evaluator.
|
|
186
|
+
*
|
|
163
187
|
* @example
|
|
164
|
-
* [{"skillName":"fact-check","files":[{"name":"SKILL.md","content":"---\nname: fact-check\ndescription:
|
|
188
|
+
* [{"skillName":"fact-check","files":[{"name":"SKILL.md","content":"---\nname: fact-check\ndescription: Verify the factual basis in the response\n---\nVerify the facts in the response item by item and list the evidence."}]}]
|
|
165
189
|
*/
|
|
166
190
|
skills?: CreateEvaluatorRequestSkills[];
|
|
167
191
|
/**
|
|
192
|
+
* @remarks
|
|
193
|
+
* The initial version status. Set this parameter to DRAFT to save the evaluator as a draft. If you omit this parameter, the initial version is directly published.
|
|
194
|
+
*
|
|
168
195
|
* @example
|
|
169
196
|
* DRAFT
|
|
170
197
|
*/
|
|
171
198
|
status?: string;
|
|
172
199
|
/**
|
|
173
200
|
* @remarks
|
|
174
|
-
* The evaluator
|
|
175
|
-
* - LLM: an inner join large language model evaluation evaluator.
|
|
176
|
-
* - AGENT: a StarOps digital worker evaluator.
|
|
177
|
-
* - CODE: a code evaluator.
|
|
201
|
+
* The type of the evaluator. `LLM` indicates an inner join model evaluation tool for large language models, `AGENT` indicates a StarOps digital employee evaluator, and `CODE` indicates a code evaluator.
|
|
178
202
|
*
|
|
179
203
|
* This parameter is required.
|
|
180
204
|
*
|
|
@@ -202,7 +226,7 @@ export class CreateEvaluatorRequest extends $dara.Model {
|
|
|
202
226
|
versionDescription?: string;
|
|
203
227
|
/**
|
|
204
228
|
* @remarks
|
|
205
|
-
* The idempotency token.
|
|
229
|
+
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
|
|
206
230
|
*
|
|
207
231
|
* @example
|
|
208
232
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateEvaluatorResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The evaluator
|
|
8
|
+
* The name of the evaluator.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* trace_task_completion
|
|
@@ -21,7 +21,7 @@ export class CreateEvaluatorResponseBody extends $dara.Model {
|
|
|
21
21
|
requestId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The version number
|
|
24
|
+
* The created version number.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 1.0.0
|
|
@@ -25,7 +25,7 @@ export class CreateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
|
25
25
|
name?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The remark
|
|
28
|
+
* The remark of the file.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* Main skill description
|
|
@@ -59,7 +59,7 @@ export class CreateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
|
59
59
|
export class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* The AgentSpace
|
|
62
|
+
* The name of the AgentSpace.
|
|
63
63
|
*
|
|
64
64
|
* This parameter is required.
|
|
65
65
|
*
|
|
@@ -69,10 +69,10 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
69
69
|
agentSpace?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The skill
|
|
72
|
+
* The description of the skill.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
|
-
*
|
|
75
|
+
* Read trace context to assist evaluation
|
|
76
76
|
*/
|
|
77
77
|
description?: string;
|
|
78
78
|
/**
|
|
@@ -80,7 +80,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
80
80
|
* The display name of the skill.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
|
-
* Trace Context
|
|
83
|
+
* Read Trace Context
|
|
84
84
|
*/
|
|
85
85
|
displayName?: string;
|
|
86
86
|
/**
|
|
@@ -92,6 +92,9 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
92
92
|
*/
|
|
93
93
|
enable?: boolean;
|
|
94
94
|
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The target evaluator version number for creating the skill. If omitted, the latestVersion of the evaluator is used.
|
|
97
|
+
*
|
|
95
98
|
* @example
|
|
96
99
|
* v2
|
|
97
100
|
*/
|
|
@@ -108,7 +111,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
108
111
|
files?: CreateEvaluatorSkillRequestFiles[];
|
|
109
112
|
/**
|
|
110
113
|
* @remarks
|
|
111
|
-
* The skill
|
|
114
|
+
* The name of the skill.
|
|
112
115
|
*
|
|
113
116
|
* This parameter is required.
|
|
114
117
|
*
|
|
@@ -118,7 +121,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
118
121
|
skillName?: string;
|
|
119
122
|
/**
|
|
120
123
|
* @remarks
|
|
121
|
-
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency
|
|
124
|
+
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
|
|
122
125
|
*
|
|
123
126
|
* @example
|
|
124
127
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The historical starting point for bootstrap, specified as a Unix timestamp in seconds. It shares the same precision as runOnce/scheduled.fromTime, and millisecond values greater than or equal to 1e12 are automatically converted for compatibility. The cursor starts from this time, aligns to the time grid, and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1735660800
|
|
@@ -35,7 +35,7 @@ export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
|
35
35
|
export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The start time of the data processing window
|
|
38
|
+
* The start time of the data processing window. The value is a UNIX timestamp in seconds and must be less than the value of toTime.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* 1735660800
|
|
@@ -43,7 +43,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
43
43
|
fromTime?: number;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The end time of the data processing window
|
|
46
|
+
* The end time of the data processing window. The value is a UNIX timestamp in seconds and must be greater than the value of fromTime.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 1735747200
|
|
@@ -75,7 +75,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
75
75
|
export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The scheduling start time
|
|
78
|
+
* The scheduling start time. The value is a UNIX timestamp in milliseconds.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* 1735660800000
|
|
@@ -115,7 +115,7 @@ export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
|
115
115
|
export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The continuous execution configuration. This is used when
|
|
118
|
+
* The continuous execution configuration. This parameter is used when type is set to trace. The processing frequency is a fixed value managed by the server.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* {"fromTime":1735660800}
|
|
@@ -131,7 +131,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
131
131
|
mode?: string;
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The single execution configuration. This parameter is required only when
|
|
134
|
+
* The single execution configuration. This parameter is required only when mode is set to RunOnce.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* {"fromTime":1735660800,"toTime":1735664400}
|
|
@@ -139,7 +139,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
139
139
|
runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
|
|
140
140
|
/**
|
|
141
141
|
* @remarks
|
|
142
|
-
* The periodic scheduling configuration. This parameter is required only when
|
|
142
|
+
* The periodic scheduling configuration. This parameter is required only when mode is set to Scheduled.
|
|
143
143
|
*
|
|
144
144
|
* @example
|
|
145
145
|
* {"interval":"1h","fromTime":1735660800}
|
|
@@ -192,7 +192,7 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
192
192
|
id?: string;
|
|
193
193
|
/**
|
|
194
194
|
* @remarks
|
|
195
|
-
* The parameters of the node.
|
|
195
|
+
* The parameters of the node. The parameters are in key-value pairs and vary based on the node type.
|
|
196
196
|
*
|
|
197
197
|
* @example
|
|
198
198
|
* {"ID": "ID"}
|
|
@@ -315,7 +315,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
|
|
|
315
315
|
dataset?: CreatePipelineRequestSinkConditionDefaultSinkDataset;
|
|
316
316
|
/**
|
|
317
317
|
* @remarks
|
|
318
|
-
* The default destination type.
|
|
318
|
+
* The default destination type. Valid values: dataset.
|
|
319
319
|
*
|
|
320
320
|
* @example
|
|
321
321
|
* dataset
|
|
@@ -390,12 +390,12 @@ export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
|
|
|
390
390
|
export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
391
391
|
/**
|
|
392
392
|
* @remarks
|
|
393
|
-
* The destination dataset
|
|
393
|
+
* The route destination dataset.
|
|
394
394
|
*/
|
|
395
395
|
dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
|
|
396
396
|
/**
|
|
397
397
|
* @remarks
|
|
398
|
-
* The route destination type.
|
|
398
|
+
* The route destination type. Valid values: dataset.
|
|
399
399
|
*
|
|
400
400
|
* @example
|
|
401
401
|
* dataset
|
|
@@ -446,7 +446,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
|
446
446
|
id?: string;
|
|
447
447
|
/**
|
|
448
448
|
* @remarks
|
|
449
|
-
* The
|
|
449
|
+
* The destination for the route.
|
|
450
450
|
*/
|
|
451
451
|
sink?: CreatePipelineRequestSinkConditionRoutesSink;
|
|
452
452
|
static names(): { [key: string]: string } {
|
|
@@ -480,12 +480,12 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
|
480
480
|
export class CreatePipelineRequestSinkCondition extends $dara.Model {
|
|
481
481
|
/**
|
|
482
482
|
* @remarks
|
|
483
|
-
* The default
|
|
483
|
+
* The default destination used when no conditional route is matched.
|
|
484
484
|
*/
|
|
485
485
|
defaultSink?: CreatePipelineRequestSinkConditionDefaultSink;
|
|
486
486
|
/**
|
|
487
487
|
* @remarks
|
|
488
|
-
* The route matching mode.
|
|
488
|
+
* The route matching mode. Valid values: all.
|
|
489
489
|
*
|
|
490
490
|
* @example
|
|
491
491
|
* all
|
|
@@ -570,7 +570,7 @@ export class CreatePipelineRequestSinkDataset extends $dara.Model {
|
|
|
570
570
|
export class CreatePipelineRequestSink extends $dara.Model {
|
|
571
571
|
/**
|
|
572
572
|
* @remarks
|
|
573
|
-
* The conditional routing configuration
|
|
573
|
+
* The conditional routing configuration. This parameter is used only when sink.type is set to condition.
|
|
574
574
|
*/
|
|
575
575
|
condition?: CreatePipelineRequestSinkCondition;
|
|
576
576
|
/**
|
|
@@ -580,7 +580,7 @@ export class CreatePipelineRequestSink extends $dara.Model {
|
|
|
580
580
|
dataset?: CreatePipelineRequestSinkDataset;
|
|
581
581
|
/**
|
|
582
582
|
* @remarks
|
|
583
|
-
* The destination type.
|
|
583
|
+
* The destination type. Valid values: dataset.
|
|
584
584
|
*
|
|
585
585
|
* @example
|
|
586
586
|
* Dataset
|
|
@@ -628,7 +628,7 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
|
|
|
628
628
|
dataset?: string;
|
|
629
629
|
/**
|
|
630
630
|
* @remarks
|
|
631
|
-
* The
|
|
631
|
+
* The filter condition for the dataset data.
|
|
632
632
|
*
|
|
633
633
|
* @example
|
|
634
634
|
* status = \"pending\"
|
|
@@ -668,7 +668,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
|
|
|
668
668
|
name?: string;
|
|
669
669
|
/**
|
|
670
670
|
* @remarks
|
|
671
|
-
* The type of the field. Valid values: text, long, double, and json.
|
|
671
|
+
* The data type of the field. Valid values: text, long, double, and json.
|
|
672
672
|
*
|
|
673
673
|
* @example
|
|
674
674
|
* text
|
|
@@ -716,7 +716,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
716
716
|
project?: string;
|
|
717
717
|
/**
|
|
718
718
|
* @remarks
|
|
719
|
-
* The filtered query statement
|
|
719
|
+
* The filtered query statement (SLS query and analysis syntax).
|
|
720
720
|
*
|
|
721
721
|
* @example
|
|
722
722
|
* * | SELECT *
|
|
@@ -750,7 +750,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
750
750
|
export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
751
751
|
/**
|
|
752
752
|
* @remarks
|
|
753
|
-
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs
|
|
753
|
+
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a single fixed column named agent_trajectory, and this parameter no longer affects the output.
|
|
754
754
|
*
|
|
755
755
|
* @example
|
|
756
756
|
* ["input","output","session_id"]
|
|
@@ -793,7 +793,7 @@ export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
793
793
|
export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
794
794
|
/**
|
|
795
795
|
* @remarks
|
|
796
|
-
* The trajectory enrichment configuration. It mounts trajectory data into the
|
|
796
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the cleansing result based on the trace_id. When writing to the dataset, the data is stored in the fixed column agent_trajectory, where the column value is the JSON content of the trajectory.
|
|
797
797
|
*
|
|
798
798
|
* @example
|
|
799
799
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -826,7 +826,7 @@ export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
826
826
|
export class CreatePipelineRequestSource extends $dara.Model {
|
|
827
827
|
/**
|
|
828
828
|
* @remarks
|
|
829
|
-
* The Dataset datasource config
|
|
829
|
+
* The Dataset datasource config in the current AgentSpace.
|
|
830
830
|
*
|
|
831
831
|
* @example
|
|
832
832
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -834,7 +834,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
834
834
|
dataset?: CreatePipelineRequestSourceDataset;
|
|
835
835
|
/**
|
|
836
836
|
* @remarks
|
|
837
|
-
* The input fields and their types. This applies to all data source types.
|
|
837
|
+
* The input fields and their data types. This applies to all data source types.
|
|
838
838
|
*
|
|
839
839
|
* @example
|
|
840
840
|
* [{"name":"question","type":"text"}]
|
|
@@ -842,7 +842,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
842
842
|
inputFields?: CreatePipelineRequestSourceInputFields[];
|
|
843
843
|
/**
|
|
844
844
|
* @remarks
|
|
845
|
-
* The
|
|
845
|
+
* The SLS Logstore datasource config.
|
|
846
846
|
*
|
|
847
847
|
* @example
|
|
848
848
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -850,7 +850,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
850
850
|
logstore?: CreatePipelineRequestSourceLogstore;
|
|
851
851
|
/**
|
|
852
852
|
* @remarks
|
|
853
|
-
* The trajectory data
|
|
853
|
+
* The configuration of the trajectory data. This parameter is optional and takes effect only when the type is set to trace. It obtains ATIF standard trajectory data from the trajectory cleansing service and extends it based on features.
|
|
854
854
|
*
|
|
855
855
|
* @example
|
|
856
856
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -858,7 +858,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
858
858
|
trajectory?: CreatePipelineRequestSourceTrajectory;
|
|
859
859
|
/**
|
|
860
860
|
* @remarks
|
|
861
|
-
* The data source
|
|
861
|
+
* The type of the data source. Currently, only SLS is supported.
|
|
862
862
|
*
|
|
863
863
|
* @example
|
|
864
864
|
* SLS
|
|
@@ -908,15 +908,15 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
908
908
|
export class CreatePipelineRequest extends $dara.Model {
|
|
909
909
|
/**
|
|
910
910
|
* @remarks
|
|
911
|
-
* The description of the pipeline.
|
|
911
|
+
* The description of the pipeline. The description can be up to 256 characters in length.
|
|
912
912
|
*
|
|
913
913
|
* @example
|
|
914
|
-
* Collect trace data from SLS and perform data cleaning into a
|
|
914
|
+
* Collect trace data from SLS and perform data cleaning into a dataset
|
|
915
915
|
*/
|
|
916
916
|
description?: string;
|
|
917
917
|
/**
|
|
918
918
|
* @remarks
|
|
919
|
-
* The scheduling
|
|
919
|
+
* The scheduling policy.
|
|
920
920
|
*
|
|
921
921
|
* @example
|
|
922
922
|
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
|
|
@@ -924,12 +924,20 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
924
924
|
executePolicy?: CreatePipelineRequestExecutePolicy;
|
|
925
925
|
/**
|
|
926
926
|
* @remarks
|
|
927
|
-
* The pipeline configuration
|
|
927
|
+
* The pipeline configuration, including node orchestration.
|
|
928
928
|
*
|
|
929
929
|
* @example
|
|
930
930
|
* {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
|
|
931
931
|
*/
|
|
932
932
|
pipeline?: CreatePipelineRequestPipeline;
|
|
933
|
+
/**
|
|
934
|
+
* @remarks
|
|
935
|
+
* The pipeline type. Valid values: PROCESSING (data processing) and ORCHESTRATION (orchestration task).
|
|
936
|
+
*
|
|
937
|
+
* @example
|
|
938
|
+
* ORCHESTRATION
|
|
939
|
+
*/
|
|
940
|
+
pipelineKind?: string;
|
|
933
941
|
/**
|
|
934
942
|
* @remarks
|
|
935
943
|
* The name of the pipeline. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens.
|
|
@@ -940,12 +948,12 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
940
948
|
pipelineName?: string;
|
|
941
949
|
/**
|
|
942
950
|
* @remarks
|
|
943
|
-
* The pipeline
|
|
951
|
+
* The pipeline destination for writing data.
|
|
944
952
|
*/
|
|
945
953
|
sink?: CreatePipelineRequestSink;
|
|
946
954
|
/**
|
|
947
955
|
* @remarks
|
|
948
|
-
* The
|
|
956
|
+
* The data source of the pipeline.
|
|
949
957
|
*
|
|
950
958
|
* @example
|
|
951
959
|
* {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
|
|
@@ -953,7 +961,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
953
961
|
source?: CreatePipelineRequestSource;
|
|
954
962
|
/**
|
|
955
963
|
* @remarks
|
|
956
|
-
* The
|
|
964
|
+
* The client token that is used to ensure the idempotency of the request. The token is a unique string generated by the client.
|
|
957
965
|
*
|
|
958
966
|
* @example
|
|
959
967
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -964,6 +972,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
964
972
|
description: 'description',
|
|
965
973
|
executePolicy: 'executePolicy',
|
|
966
974
|
pipeline: 'pipeline',
|
|
975
|
+
pipelineKind: 'pipelineKind',
|
|
967
976
|
pipelineName: 'pipelineName',
|
|
968
977
|
sink: 'sink',
|
|
969
978
|
source: 'source',
|
|
@@ -976,6 +985,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
976
985
|
description: 'string',
|
|
977
986
|
executePolicy: CreatePipelineRequestExecutePolicy,
|
|
978
987
|
pipeline: CreatePipelineRequestPipeline,
|
|
988
|
+
pipelineKind: 'string',
|
|
979
989
|
pipelineName: 'string',
|
|
980
990
|
sink: CreatePipelineRequestSink,
|
|
981
991
|
source: CreatePipelineRequestSource,
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreatePipelineResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID
|
|
8
|
+
* The request ID. You can use the ID to troubleshoot issues and locate the request.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|