@alicloud/agentloop20260520 2.8.1 → 2.8.2
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 +64 -52
- package/dist/client.js +64 -52
- package/dist/client.js.map +1 -1
- package/dist/models/AnalysisTask.d.ts +16 -8
- package/dist/models/AnalysisTask.js.map +1 -1
- package/dist/models/AuditTaskState.d.ts +17 -7
- package/dist/models/AuditTaskState.js.map +1 -1
- package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
- package/dist/models/ConnectorProperties.d.ts +21 -12
- package/dist/models/ConnectorProperties.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +44 -44
- package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +26 -18
- 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/GetAuditConversionSourceResponseBody.d.ts +3 -3
- package/dist/models/GetDatasetRequest.d.ts +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +26 -3
- package/dist/models/GetDatasetResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +35 -27
- package/dist/models/GetPipelineResponseBody.js +2 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsRequest.d.ts +8 -3
- package/dist/models/ListDatasetsRequest.js.map +1 -1
- package/dist/models/ListDatasetsResponseBody.d.ts +12 -7
- package/dist/models/ListDatasetsResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsShrinkRequest.d.ts +8 -3
- package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +5 -0
- package/dist/models/ListPipelinesResponseBody.js +2 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +29 -21
- package/dist/models/PreviewPipelineRequest.js +2 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +4 -4
- package/dist/models/UpdatePipelineRequest.d.ts +25 -19
- package/dist/models/UpdatePipelineRequest.js +2 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/package.json +2 -2
- package/src/client.ts +64 -52
- package/src/models/AnalysisTask.ts +16 -8
- package/src/models/AuditTaskState.ts +17 -7
- package/src/models/CancelPipelineRunResponseBody.ts +2 -2
- package/src/models/ConnectorProperties.ts +21 -12
- package/src/models/CreateContextStoreRequest.ts +44 -44
- package/src/models/CreateContextStoreResponseBody.ts +1 -1
- package/src/models/CreatePipelineRequest.ts +28 -18
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetAuditConversionSourceResponseBody.ts +3 -3
- package/src/models/GetDatasetRequest.ts +1 -1
- package/src/models/GetDatasetResponseBody.ts +26 -3
- package/src/models/GetPipelineResponseBody.ts +37 -27
- package/src/models/ListDatasetsRequest.ts +8 -3
- package/src/models/ListDatasetsResponseBody.ts +12 -7
- package/src/models/ListDatasetsShrinkRequest.ts +8 -3
- package/src/models/ListPipelinesResponseBody.ts +7 -0
- package/src/models/PreviewPipelineRequest.ts +31 -21
- package/src/models/PreviewPipelineResponseBody.ts +4 -4
- package/src/models/UpdatePipelineRequest.ts +27 -19
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
|
@@ -6,7 +6,7 @@ import { PipelineOssSource } from "./PipelineOssSource";
|
|
|
6
6
|
export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The ID
|
|
9
|
+
* The node ID.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* node-1
|
|
@@ -14,7 +14,7 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
14
14
|
id?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The parameters
|
|
17
|
+
* The node parameters. This is a key-value structure that varies depending on the node type.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* {"ID":"ID"}
|
|
@@ -22,7 +22,7 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
22
22
|
parameters?: { [key: string]: any };
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The type
|
|
25
|
+
* The node type.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* transform
|
|
@@ -59,7 +59,7 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
59
59
|
export class PreviewPipelineRequestPipeline extends $dara.Model {
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* The list
|
|
62
|
+
* The node list. For non-OSS sources, you must pass a non-empty array. For LeRobot sources, you can pass an empty array to preview directly. For MCAP sources, you must pass an empty array.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* [{"id":"select-fields","type":"project","parameters":{}}]
|
|
@@ -92,7 +92,7 @@ export class PreviewPipelineRequestPipeline extends $dara.Model {
|
|
|
92
92
|
export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The name of the source
|
|
95
|
+
* The name of the source Dataset.
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* my-dataset
|
|
@@ -100,16 +100,25 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
|
100
100
|
dataset?: string;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The data
|
|
103
|
+
* The data filter condition for the Dataset.
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
106
|
* status = \"pending\"
|
|
107
107
|
*/
|
|
108
108
|
filter?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The version of the source Dataset.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* v1
|
|
115
|
+
*/
|
|
116
|
+
version?: string;
|
|
109
117
|
static names(): { [key: string]: string } {
|
|
110
118
|
return {
|
|
111
119
|
dataset: 'dataset',
|
|
112
120
|
filter: 'filter',
|
|
121
|
+
version: 'version',
|
|
113
122
|
};
|
|
114
123
|
}
|
|
115
124
|
|
|
@@ -117,6 +126,7 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
|
117
126
|
return {
|
|
118
127
|
dataset: 'string',
|
|
119
128
|
filter: 'string',
|
|
129
|
+
version: 'string',
|
|
120
130
|
};
|
|
121
131
|
}
|
|
122
132
|
|
|
@@ -132,7 +142,7 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
|
132
142
|
export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
|
|
133
143
|
/**
|
|
134
144
|
* @remarks
|
|
135
|
-
* The name
|
|
145
|
+
* The field name.
|
|
136
146
|
*
|
|
137
147
|
* @example
|
|
138
148
|
* question
|
|
@@ -140,7 +150,7 @@ export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
|
|
|
140
150
|
name?: string;
|
|
141
151
|
/**
|
|
142
152
|
* @remarks
|
|
143
|
-
* The type
|
|
153
|
+
* The field type. Valid values: text, long, double, and json.
|
|
144
154
|
*
|
|
145
155
|
* @example
|
|
146
156
|
* text
|
|
@@ -188,7 +198,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
|
|
|
188
198
|
project?: string;
|
|
189
199
|
/**
|
|
190
200
|
* @remarks
|
|
191
|
-
* The filtered query statement
|
|
201
|
+
* The filtered query statement (SLS query and analysis syntax).
|
|
192
202
|
*
|
|
193
203
|
* @example
|
|
194
204
|
* * | SELECT *
|
|
@@ -222,7 +232,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
|
|
|
222
232
|
export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
223
233
|
/**
|
|
224
234
|
* @remarks
|
|
225
|
-
* The
|
|
235
|
+
* The enrichment column list. This parameter is retained for compatibility. The current implementation outputs a fixed single column `agent_trajectory`, and this parameter no longer affects the output.
|
|
226
236
|
*
|
|
227
237
|
* @example
|
|
228
238
|
* ["input","output","session_id"]
|
|
@@ -265,7 +275,7 @@ export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
265
275
|
export class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
|
|
266
276
|
/**
|
|
267
277
|
* @remarks
|
|
268
|
-
*
|
|
278
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the cleaning result by `trace_id`. When writing to a dataset, it uses the fixed column `agent_trajectory` to carry the data, where the column value is the trajectory JSON content.
|
|
269
279
|
*
|
|
270
280
|
* @example
|
|
271
281
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -298,7 +308,7 @@ export class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
298
308
|
export class PreviewPipelineRequestSource extends $dara.Model {
|
|
299
309
|
/**
|
|
300
310
|
* @remarks
|
|
301
|
-
* The datasource config
|
|
311
|
+
* The Dataset datasource config under the current AgentSpace.
|
|
302
312
|
*
|
|
303
313
|
* @example
|
|
304
314
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -306,7 +316,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
306
316
|
dataset?: PreviewPipelineRequestSourceDataset;
|
|
307
317
|
/**
|
|
308
318
|
* @remarks
|
|
309
|
-
* The input fields and field types. For OSS sources, the server derives input fields from metadata. Omit source.inputFields
|
|
319
|
+
* The input fields and field types. For OSS sources, the server derives input fields from metadata. Omit `source.inputFields`.
|
|
310
320
|
*
|
|
311
321
|
* @example
|
|
312
322
|
* [{"name":"question","type":"text"}]
|
|
@@ -314,7 +324,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
314
324
|
inputFields?: PreviewPipelineRequestSourceInputFields[];
|
|
315
325
|
/**
|
|
316
326
|
* @remarks
|
|
317
|
-
* The datasource config
|
|
327
|
+
* The SLS Logstore datasource config.
|
|
318
328
|
*
|
|
319
329
|
* @example
|
|
320
330
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -322,7 +332,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
322
332
|
logstore?: PreviewPipelineRequestSourceLogstore;
|
|
323
333
|
/**
|
|
324
334
|
* @remarks
|
|
325
|
-
* When source.type is oss
|
|
335
|
+
* The OSS data source configuration. When `source.type` is `oss`, `format`, `region`, `roleArn`, and `uri` in `source.oss` are required. `formatOptions` can be omitted or passed as an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error.
|
|
326
336
|
*
|
|
327
337
|
* @example
|
|
328
338
|
* {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
|
|
@@ -330,7 +340,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
330
340
|
oss?: PipelineOssSource;
|
|
331
341
|
/**
|
|
332
342
|
* @remarks
|
|
333
|
-
* The trajectory data configuration. This parameter is optional and takes effect
|
|
343
|
+
* The trajectory data configuration. This parameter is optional and takes effect when `type` is `trace`. It obtains ATIF standard trajectory data from the trajectory cleaning service and extends it by feature.
|
|
334
344
|
*
|
|
335
345
|
* @example
|
|
336
346
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -338,7 +348,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
338
348
|
trajectory?: PreviewPipelineRequestSourceTrajectory;
|
|
339
349
|
/**
|
|
340
350
|
* @remarks
|
|
341
|
-
* The
|
|
351
|
+
* The data source type. Valid values: `logstore`, `dataset`, `trace`, and `oss`. `trace` indicates the trajectory signal-driven processing mode. If `oss` is selected, specify `source.oss`.
|
|
342
352
|
*
|
|
343
353
|
* @example
|
|
344
354
|
* oss
|
|
@@ -393,7 +403,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
393
403
|
export class PreviewPipelineRequest extends $dara.Model {
|
|
394
404
|
/**
|
|
395
405
|
* @remarks
|
|
396
|
-
* The start time of the preview data window, in
|
|
406
|
+
* The start time of the preview data window, in Unix seconds. For OSS sources, the preview is based on objects or episodes, and the time window is ignored.
|
|
397
407
|
*
|
|
398
408
|
* @example
|
|
399
409
|
* 1735660800
|
|
@@ -401,7 +411,7 @@ export class PreviewPipelineRequest extends $dara.Model {
|
|
|
401
411
|
fromTime?: number;
|
|
402
412
|
/**
|
|
403
413
|
* @remarks
|
|
404
|
-
* The pipeline configuration,
|
|
414
|
+
* The pipeline configuration, which defines the node orchestration.
|
|
405
415
|
*
|
|
406
416
|
* @example
|
|
407
417
|
* {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
|
|
@@ -409,7 +419,7 @@ export class PreviewPipelineRequest extends $dara.Model {
|
|
|
409
419
|
pipeline?: PreviewPipelineRequestPipeline;
|
|
410
420
|
/**
|
|
411
421
|
* @remarks
|
|
412
|
-
* The data source
|
|
422
|
+
* The pipeline data source.
|
|
413
423
|
*
|
|
414
424
|
* @example
|
|
415
425
|
* {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
|
|
@@ -417,7 +427,7 @@ export class PreviewPipelineRequest extends $dara.Model {
|
|
|
417
427
|
source?: PreviewPipelineRequestSource;
|
|
418
428
|
/**
|
|
419
429
|
* @remarks
|
|
420
|
-
* The end time of the preview data window, in
|
|
430
|
+
* The end time of the preview data window, in Unix seconds. For OSS sources, the preview is based on objects or episodes, and the time window is ignored.
|
|
421
431
|
*
|
|
422
432
|
* @example
|
|
423
433
|
* 1735747200
|
|
@@ -22,7 +22,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
22
22
|
columnTypes?: string[];
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The number of matched log entries.
|
|
25
|
+
* The number of matched log entries. For Object Storage Service (OSS) sources, the actual number of sample rows is returned.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 100
|
|
@@ -118,7 +118,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
118
118
|
processedRows?: number;
|
|
119
119
|
/**
|
|
120
120
|
* @remarks
|
|
121
|
-
* The SLS query progress. A value of Complete indicates that the query is completed.
|
|
121
|
+
* The Simple Log Service (SLS) query progress. A value of Complete indicates that the query is completed.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* Complete
|
|
@@ -134,7 +134,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
134
134
|
scanBytes?: number;
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
|
-
* The dataset schema of the final pipeline output. The key is the field name, and the type in the value supports text, long, double, and json. The field order is
|
|
137
|
+
* The dataset schema of the final pipeline output. The key is the field name, and the type in the value supports text, long, double, and json. The field order is subject to keys.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
140
|
* {"status":{"type":"long"}}
|
|
@@ -251,7 +251,7 @@ export class PreviewPipelineResponseBody extends $dara.Model {
|
|
|
251
251
|
meta?: PreviewPipelineResponseBodyMeta;
|
|
252
252
|
/**
|
|
253
253
|
* @remarks
|
|
254
|
-
* The request ID used to locate the request during troubleshooting.
|
|
254
|
+
* The request ID, which is used to locate the request during troubleshooting.
|
|
255
255
|
*
|
|
256
256
|
* @example
|
|
257
257
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -6,7 +6,7 @@ import { PipelineOssSource } from "./PipelineOssSource";
|
|
|
6
6
|
export class UpdatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The bootstrap start time. The value is a UNIX timestamp in seconds, which has the same precision as runOnce/scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the 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
|
+
* The bootstrap history start time. The value is a UNIX timestamp in seconds, which has the same precision as runOnce/scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the 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.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* 1735660800
|
|
@@ -76,7 +76,7 @@ export class UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
76
76
|
export class UpdatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The start time
|
|
79
|
+
* The scheduling start time. The value is a UNIX timestamp in milliseconds.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* 1735660800000
|
|
@@ -124,9 +124,7 @@ export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
124
124
|
continuous?: UpdatePipelineRequestExecutePolicyContinuous;
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
* The scheduling mode is determined by the configuration during creation. Update requests must omit executePolicy.mode. Even if the passed value is the same as the original configuration, a 400 InvalidParameter error is returned.
|
|
128
|
-
*
|
|
129
|
-
* The Scheduled example illustrates the scheduling modes that can be set during creation. You must omit mode when calling UpdatePipeline.
|
|
127
|
+
* The scheduling mode is determined by the configuration during creation. Update requests must omit executePolicy.mode. Even if the passed value is the same as the original configuration, a 400 InvalidParameter error is returned. The Scheduled example illustrates the scheduling modes that can be set during creation. You must omit mode when calling UpdatePipeline.
|
|
130
128
|
*
|
|
131
129
|
* @example
|
|
132
130
|
* Scheduled
|
|
@@ -134,7 +132,7 @@ export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
134
132
|
mode?: string;
|
|
135
133
|
/**
|
|
136
134
|
* @remarks
|
|
137
|
-
* The configuration for
|
|
135
|
+
* The configuration for executing the pipeline only once.
|
|
138
136
|
*
|
|
139
137
|
* @example
|
|
140
138
|
* {"fromTime":1735660800,"toTime":1735664400}
|
|
@@ -195,7 +193,7 @@ export class UpdatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
195
193
|
id?: string;
|
|
196
194
|
/**
|
|
197
195
|
* @remarks
|
|
198
|
-
* The parameters of the node.
|
|
196
|
+
* The parameters of the node. The parameters use a key-value structure and vary based on the node type.
|
|
199
197
|
*/
|
|
200
198
|
parameters?: { [key: string]: any };
|
|
201
199
|
/**
|
|
@@ -237,7 +235,7 @@ export class UpdatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
237
235
|
export class UpdatePipelineRequestPipeline extends $dara.Model {
|
|
238
236
|
/**
|
|
239
237
|
* @remarks
|
|
240
|
-
* The list of nodes.
|
|
238
|
+
* The list of nodes. Only pipelines with a saved OSS source can pass an empty array, and it must match the saved processing chain.
|
|
241
239
|
*
|
|
242
240
|
* @example
|
|
243
241
|
* [{"id":"select-fields","type":"project","parameters":{}}]
|
|
@@ -580,7 +578,7 @@ export class UpdatePipelineRequestSink extends $dara.Model {
|
|
|
580
578
|
dataset?: UpdatePipelineRequestSinkDataset;
|
|
581
579
|
/**
|
|
582
580
|
* @remarks
|
|
583
|
-
* The destination type, such as
|
|
581
|
+
* The destination type, such as dataset.
|
|
584
582
|
*
|
|
585
583
|
* @example
|
|
586
584
|
* Dataset
|
|
@@ -628,16 +626,25 @@ export class UpdatePipelineRequestSourceDataset extends $dara.Model {
|
|
|
628
626
|
dataset?: string;
|
|
629
627
|
/**
|
|
630
628
|
* @remarks
|
|
631
|
-
* The
|
|
629
|
+
* The filter condition for the dataset data.
|
|
632
630
|
*
|
|
633
631
|
* @example
|
|
634
632
|
* status = \"pending\"
|
|
635
633
|
*/
|
|
636
634
|
filter?: string;
|
|
635
|
+
/**
|
|
636
|
+
* @remarks
|
|
637
|
+
* The version of the source dataset.
|
|
638
|
+
*
|
|
639
|
+
* @example
|
|
640
|
+
* v1
|
|
641
|
+
*/
|
|
642
|
+
version?: string;
|
|
637
643
|
static names(): { [key: string]: string } {
|
|
638
644
|
return {
|
|
639
645
|
dataset: 'dataset',
|
|
640
646
|
filter: 'filter',
|
|
647
|
+
version: 'version',
|
|
641
648
|
};
|
|
642
649
|
}
|
|
643
650
|
|
|
@@ -645,6 +652,7 @@ export class UpdatePipelineRequestSourceDataset extends $dara.Model {
|
|
|
645
652
|
return {
|
|
646
653
|
dataset: 'string',
|
|
647
654
|
filter: 'string',
|
|
655
|
+
version: 'string',
|
|
648
656
|
};
|
|
649
657
|
}
|
|
650
658
|
|
|
@@ -750,7 +758,7 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
750
758
|
export class UpdatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
751
759
|
/**
|
|
752
760
|
* @remarks
|
|
753
|
-
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a fixed
|
|
761
|
+
* 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
762
|
*
|
|
755
763
|
* @example
|
|
756
764
|
* ["input","output","session_id"]
|
|
@@ -793,7 +801,7 @@ export class UpdatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
793
801
|
export class UpdatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
794
802
|
/**
|
|
795
803
|
* @remarks
|
|
796
|
-
* The trajectory enrichment configuration. It mounts trajectory data into the
|
|
804
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the scrubbing results based on trace_id. When writing to a dataset, the data is stored in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
|
|
797
805
|
*
|
|
798
806
|
* @example
|
|
799
807
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -826,7 +834,7 @@ export class UpdatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
826
834
|
export class UpdatePipelineRequestSource extends $dara.Model {
|
|
827
835
|
/**
|
|
828
836
|
* @remarks
|
|
829
|
-
* The
|
|
837
|
+
* The datasource config for the dataset in the current AgentSpace.
|
|
830
838
|
*
|
|
831
839
|
* @example
|
|
832
840
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -842,7 +850,7 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
842
850
|
inputFields?: UpdatePipelineRequestSourceInputFields[];
|
|
843
851
|
/**
|
|
844
852
|
* @remarks
|
|
845
|
-
* The SLS Logstore
|
|
853
|
+
* The datasource config for Simple Log Service (SLS) Logstore.
|
|
846
854
|
*
|
|
847
855
|
* @example
|
|
848
856
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -850,7 +858,7 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
850
858
|
logstore?: UpdatePipelineRequestSourceLogstore;
|
|
851
859
|
/**
|
|
852
860
|
* @remarks
|
|
853
|
-
* The
|
|
861
|
+
* The source can be omitted when updating an OSS pipeline. If provided, it must match the saved source configuration. When `source.type` is `oss`, the `format`, `region`, `roleArn`, and `uri` parameters in `source.oss` are required. `formatOptions` can be omitted or passed as an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error.
|
|
854
862
|
*
|
|
855
863
|
* @example
|
|
856
864
|
* {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
|
|
@@ -858,7 +866,7 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
858
866
|
oss?: PipelineOssSource;
|
|
859
867
|
/**
|
|
860
868
|
* @remarks
|
|
861
|
-
* The trajectory data configuration. This parameter is optional and takes effect only when the type is trace. It
|
|
869
|
+
* The trajectory data configuration. This parameter is optional and takes effect only when the type is trace. It obtains ATIF standard trajectory data from the trajectory scrubbing service and extends it based on features.
|
|
862
870
|
*
|
|
863
871
|
* @example
|
|
864
872
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -866,7 +874,7 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
866
874
|
trajectory?: UpdatePipelineRequestSourceTrajectory;
|
|
867
875
|
/**
|
|
868
876
|
* @remarks
|
|
869
|
-
* The data source
|
|
877
|
+
* The type of the data source. Valid values: logstore, dataset, trace, and oss. The trace value indicates the trace signal-driven processing mode. The server validates the validity of the enum values.
|
|
870
878
|
*
|
|
871
879
|
* @example
|
|
872
880
|
* logstore
|
|
@@ -929,7 +937,7 @@ export class UpdatePipelineRequest extends $dara.Model {
|
|
|
929
937
|
description?: string;
|
|
930
938
|
/**
|
|
931
939
|
* @remarks
|
|
932
|
-
* The
|
|
940
|
+
* The execution policy is merged with the saved scheduling method. The scheduling mode is determined by the configuration during creation. Update requests must omit executePolicy.mode. Even if the passed value is the same as the original configuration, a 400 InvalidParameter error is returned. For OSS pipelines, the entire executePolicy can be omitted.
|
|
933
941
|
*/
|
|
934
942
|
executePolicy?: UpdatePipelineRequestExecutePolicy;
|
|
935
943
|
/**
|
|
@@ -939,7 +947,7 @@ export class UpdatePipelineRequest extends $dara.Model {
|
|
|
939
947
|
pipeline?: UpdatePipelineRequestPipeline;
|
|
940
948
|
/**
|
|
941
949
|
* @remarks
|
|
942
|
-
* The pipeline destination (data write destination). If specified, the entire destination
|
|
950
|
+
* The pipeline destination (data write destination). If specified, the entire destination is overwritten.
|
|
943
951
|
*/
|
|
944
952
|
sink?: UpdatePipelineRequestSink;
|
|
945
953
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdatePipelineResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID
|
|
8
|
+
* The request ID. You can use this ID to locate the request for troubleshooting.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|