@alicloud/agentloop20260520 2.7.1 → 2.8.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 +172 -20
- package/dist/client.js +229 -20
- package/dist/client.js.map +1 -1
- package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/AddAuditConversionSourceRequest.js +54 -0
- package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/AddAuditConversionSourceResponse.js +63 -0
- package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/CreatePipelineRequest.d.ts +41 -32
- package/dist/models/CreatePipelineRequest.js +6 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/ExperimentConfig.d.ts +3 -0
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/GetAuditConversionSourceRequest.js +54 -0
- package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
- package/dist/models/GetAuditConversionSourceResponse.js +69 -0
- package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
- package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
- package/dist/models/GetPipelineResponseBody.d.ts +51 -42
- package/dist/models/GetPipelineResponseBody.js +6 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
- package/dist/models/ListContextStoresRequest.d.ts +3 -3
- package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
- package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
- package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +5 -17
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +45 -33
- package/dist/models/ListPipelinesResponseBody.js +6 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PipelineOssSource.d.ts +69 -0
- package/dist/models/PipelineOssSource.js +69 -0
- package/dist/models/PipelineOssSource.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +24 -15
- package/dist/models/PreviewPipelineRequest.js +6 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +28 -12
- package/dist/models/PreviewPipelineResponseBody.js +4 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/RunPipelineRequest.d.ts +3 -3
- package/dist/models/RunPipelineResponseBody.d.ts +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +44 -36
- package/dist/models/UpdatePipelineRequest.js +6 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +22 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +235 -20
- package/src/models/AddAuditConversionSourceRequest.ts +24 -0
- package/src/models/AddAuditConversionSourceResponse.ts +33 -0
- package/src/models/CreatePipelineRequest.ts +46 -32
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/ExperimentConfig.ts +3 -0
- package/src/models/GetAuditConversionSourceRequest.ts +24 -0
- package/src/models/GetAuditConversionSourceResponse.ts +40 -0
- package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
- package/src/models/GetContextStoreResponseBody.ts +49 -49
- package/src/models/GetPipelineResponseBody.ts +56 -42
- package/src/models/GetPipelineRunResponseBody.ts +7 -7
- package/src/models/ListContextStoresRequest.ts +3 -3
- package/src/models/ListContextStoresResponseBody.ts +8 -8
- package/src/models/ListPipelineRunsRequest.ts +1 -1
- package/src/models/ListPipelineRunsResponseBody.ts +8 -6
- package/src/models/ListPipelinesRequest.ts +5 -17
- package/src/models/ListPipelinesResponseBody.ts +50 -33
- package/src/models/PipelineOssSource.ts +91 -0
- package/src/models/PreviewPipelineRequest.ts +29 -15
- package/src/models/PreviewPipelineResponseBody.ts +32 -12
- package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
- package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
- package/src/models/RunPipelineRequest.ts +3 -3
- package/src/models/RunPipelineResponseBody.ts +1 -1
- package/src/models/UpdatePipelineRequest.ts +49 -36
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +8 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PipelineOssSource } from "./PipelineOssSource";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class ListPipelinesResponseBodyPipelinesExecutePolicyContinuous extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The
|
|
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
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* 1735660800
|
|
@@ -35,18 +36,18 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicyContinuous extends $
|
|
|
35
36
|
export class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce extends $dara.Model {
|
|
36
37
|
/**
|
|
37
38
|
* @remarks
|
|
38
|
-
* The start time of the time slice. The value is a UNIX timestamp in
|
|
39
|
+
* The start time of the time slice. The value is a UNIX timestamp in milliseconds.
|
|
39
40
|
*
|
|
40
41
|
* @example
|
|
41
|
-
*
|
|
42
|
+
* 1735660800000
|
|
42
43
|
*/
|
|
43
44
|
fromTime?: number;
|
|
44
45
|
/**
|
|
45
46
|
* @remarks
|
|
46
|
-
* The end time of the time slice. The value is a UNIX timestamp in
|
|
47
|
+
* The end time of the time slice. The value is a UNIX timestamp in milliseconds.
|
|
47
48
|
*
|
|
48
49
|
* @example
|
|
49
|
-
*
|
|
50
|
+
* 1735747200000
|
|
50
51
|
*/
|
|
51
52
|
toTime?: number;
|
|
52
53
|
static names(): { [key: string]: string } {
|
|
@@ -75,15 +76,15 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce extends $dar
|
|
|
75
76
|
export class ListPipelinesResponseBodyPipelinesExecutePolicyScheduled extends $dara.Model {
|
|
76
77
|
/**
|
|
77
78
|
* @remarks
|
|
78
|
-
* The start time of the scheduling. The value is a UNIX timestamp in
|
|
79
|
+
* The start time of the scheduling. The value is a UNIX timestamp in milliseconds.
|
|
79
80
|
*
|
|
80
81
|
* @example
|
|
81
|
-
*
|
|
82
|
+
* 1735660800000
|
|
82
83
|
*/
|
|
83
84
|
fromTime?: number;
|
|
84
85
|
/**
|
|
85
86
|
* @remarks
|
|
86
|
-
* The scheduling interval
|
|
87
|
+
* The scheduling interval, such as 1h or 30m.
|
|
87
88
|
*
|
|
88
89
|
* @example
|
|
89
90
|
* 1h
|
|
@@ -123,7 +124,7 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
|
|
|
123
124
|
continuous?: ListPipelinesResponseBodyPipelinesExecutePolicyContinuous;
|
|
124
125
|
/**
|
|
125
126
|
* @remarks
|
|
126
|
-
* The scheduling mode.
|
|
127
|
+
* The scheduling mode. RunOnce indicates one-time execution, and Scheduled indicates periodic scheduling.
|
|
127
128
|
*
|
|
128
129
|
* @example
|
|
129
130
|
* RunOnce
|
|
@@ -131,10 +132,10 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
|
|
|
131
132
|
mode?: string;
|
|
132
133
|
/**
|
|
133
134
|
* @remarks
|
|
134
|
-
* The parameters for
|
|
135
|
+
* The parameters for one-time execution. This field has a value only when mode is set to RunOnce.
|
|
135
136
|
*
|
|
136
137
|
* @example
|
|
137
|
-
* {"fromTime":
|
|
138
|
+
* {"fromTime":1735660800000,"toTime":1735747200000}
|
|
138
139
|
*/
|
|
139
140
|
runOnce?: ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce;
|
|
140
141
|
/**
|
|
@@ -142,7 +143,7 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
|
|
|
142
143
|
* The parameters for periodic scheduling. This field has a value only when mode is set to Scheduled.
|
|
143
144
|
*
|
|
144
145
|
* @example
|
|
145
|
-
* {"interval":"1h"
|
|
146
|
+
* {"fromTime":1735660800000,"interval":"1h"}
|
|
146
147
|
*/
|
|
147
148
|
scheduled?: ListPipelinesResponseBodyPipelinesExecutePolicyScheduled;
|
|
148
149
|
static names(): { [key: string]: string } {
|
|
@@ -192,7 +193,7 @@ export class ListPipelinesResponseBodyPipelinesPipelineNodes extends $dara.Model
|
|
|
192
193
|
id?: string;
|
|
193
194
|
/**
|
|
194
195
|
* @remarks
|
|
195
|
-
* The node parameters.
|
|
196
|
+
* The node parameters. The parameters use a key-value structure and vary based on the node type.
|
|
196
197
|
*
|
|
197
198
|
* @example
|
|
198
199
|
* {"stageId":"stage_1"}
|
|
@@ -312,7 +313,7 @@ export class ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink extends
|
|
|
312
313
|
dataset?: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSinkDataset;
|
|
313
314
|
/**
|
|
314
315
|
* @remarks
|
|
315
|
-
* The default sink type.
|
|
316
|
+
* The default sink type. Currently, only dataset is supported.
|
|
316
317
|
*
|
|
317
318
|
* @example
|
|
318
319
|
* dataset
|
|
@@ -392,7 +393,7 @@ export class ListPipelinesResponseBodyPipelinesSinkConditionRoutesSink extends $
|
|
|
392
393
|
dataset?: ListPipelinesResponseBodyPipelinesSinkConditionRoutesSinkDataset;
|
|
393
394
|
/**
|
|
394
395
|
* @remarks
|
|
395
|
-
* The sink type for the route.
|
|
396
|
+
* The sink type for the route. Currently, only dataset is supported.
|
|
396
397
|
*
|
|
397
398
|
* @example
|
|
398
399
|
* dataset
|
|
@@ -482,7 +483,7 @@ export class ListPipelinesResponseBodyPipelinesSinkCondition extends $dara.Model
|
|
|
482
483
|
defaultSink?: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink;
|
|
483
484
|
/**
|
|
484
485
|
* @remarks
|
|
485
|
-
* The route matching mode.
|
|
486
|
+
* The route matching mode. Currently, only all is supported.
|
|
486
487
|
*
|
|
487
488
|
* @example
|
|
488
489
|
* all
|
|
@@ -625,7 +626,7 @@ export class ListPipelinesResponseBodyPipelinesSourceDataset extends $dara.Model
|
|
|
625
626
|
dataset?: string;
|
|
626
627
|
/**
|
|
627
628
|
* @remarks
|
|
628
|
-
* The filter conditions for the dataset
|
|
629
|
+
* The filter conditions for the dataset.
|
|
629
630
|
*
|
|
630
631
|
* @example
|
|
631
632
|
* status = \"pending\"
|
|
@@ -697,7 +698,7 @@ export class ListPipelinesResponseBodyPipelinesSourceInputFields extends $dara.M
|
|
|
697
698
|
export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Model {
|
|
698
699
|
/**
|
|
699
700
|
* @remarks
|
|
700
|
-
* The name of the
|
|
701
|
+
* The name of the SLS Logstore.
|
|
701
702
|
*
|
|
702
703
|
* @example
|
|
703
704
|
* my-sls-logstore
|
|
@@ -705,7 +706,7 @@ export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Mode
|
|
|
705
706
|
logstore?: string;
|
|
706
707
|
/**
|
|
707
708
|
* @remarks
|
|
708
|
-
* The name of the
|
|
709
|
+
* The name of the SLS project.
|
|
709
710
|
*
|
|
710
711
|
* @example
|
|
711
712
|
* my-sls-project
|
|
@@ -713,7 +714,7 @@ export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Mode
|
|
|
713
714
|
project?: string;
|
|
714
715
|
/**
|
|
715
716
|
* @remarks
|
|
716
|
-
* The filtered query statement (
|
|
717
|
+
* The filtered query statement (SLS query and analysis syntax).
|
|
717
718
|
*
|
|
718
719
|
* @example
|
|
719
720
|
* * | SELECT *
|
|
@@ -790,7 +791,7 @@ export class ListPipelinesResponseBodyPipelinesSourceTrajectoryEnrich extends $d
|
|
|
790
791
|
export class ListPipelinesResponseBodyPipelinesSourceTrajectory extends $dara.Model {
|
|
791
792
|
/**
|
|
792
793
|
* @remarks
|
|
793
|
-
* The trajectory enrichment configuration. It mounts trajectory data into the
|
|
794
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the cleaning results by trace_id. When writing to a dataset, the data is stored in the fixed column agent_trajectory, and the column value is the trajectory JSON content.
|
|
794
795
|
*
|
|
795
796
|
* @example
|
|
796
797
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -823,7 +824,7 @@ export class ListPipelinesResponseBodyPipelinesSourceTrajectory extends $dara.Mo
|
|
|
823
824
|
export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
824
825
|
/**
|
|
825
826
|
* @remarks
|
|
826
|
-
* The
|
|
827
|
+
* The Dataset datasource config under the current AgentSpace.
|
|
827
828
|
*
|
|
828
829
|
* @example
|
|
829
830
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -831,7 +832,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
831
832
|
dataset?: ListPipelinesResponseBodyPipelinesSourceDataset;
|
|
832
833
|
/**
|
|
833
834
|
* @remarks
|
|
834
|
-
* The input fields and their data types.
|
|
835
|
+
* The input fields and their data types. For OSS sources, the fields are derived from the file structure.
|
|
835
836
|
*
|
|
836
837
|
* @example
|
|
837
838
|
* [{"name":"question","type":"text"}]
|
|
@@ -839,7 +840,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
839
840
|
inputFields?: ListPipelinesResponseBodyPipelinesSourceInputFields[];
|
|
840
841
|
/**
|
|
841
842
|
* @remarks
|
|
842
|
-
* The
|
|
843
|
+
* The SLS Logstore datasource config.
|
|
843
844
|
*
|
|
844
845
|
* @example
|
|
845
846
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -847,7 +848,15 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
847
848
|
logstore?: ListPipelinesResponseBodyPipelinesSourceLogstore;
|
|
848
849
|
/**
|
|
849
850
|
* @remarks
|
|
850
|
-
*
|
|
851
|
+
* When source.type is set to oss, source.oss echoes format, region, roleArn, and uri. The initial version does not have available formatOptions configuration keys, and empty configurations are not included in the response.
|
|
852
|
+
*
|
|
853
|
+
* @example
|
|
854
|
+
* {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
|
|
855
|
+
*/
|
|
856
|
+
oss?: PipelineOssSource;
|
|
857
|
+
/**
|
|
858
|
+
* @remarks
|
|
859
|
+
* The trajectory data configuration. This parameter is optional and takes effect only when the type is set to trace. It retrieves ATIF standard trajectory data from the trajectory cleaning service and extends the data by feature.
|
|
851
860
|
*
|
|
852
861
|
* @example
|
|
853
862
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -855,7 +864,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
855
864
|
trajectory?: ListPipelinesResponseBodyPipelinesSourceTrajectory;
|
|
856
865
|
/**
|
|
857
866
|
* @remarks
|
|
858
|
-
* The
|
|
867
|
+
* The data source type. Valid values: logstore, dataset, trace, and oss. The trace type indicates a trajectory signal-driven processing mode. The validity of the enum values is verified by the server.
|
|
859
868
|
*
|
|
860
869
|
* @example
|
|
861
870
|
* dataset
|
|
@@ -866,6 +875,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
866
875
|
dataset: 'dataset',
|
|
867
876
|
inputFields: 'inputFields',
|
|
868
877
|
logstore: 'logstore',
|
|
878
|
+
oss: 'oss',
|
|
869
879
|
trajectory: 'trajectory',
|
|
870
880
|
type: 'type',
|
|
871
881
|
};
|
|
@@ -876,6 +886,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
876
886
|
dataset: ListPipelinesResponseBodyPipelinesSourceDataset,
|
|
877
887
|
inputFields: { 'type': 'array', 'itemType': ListPipelinesResponseBodyPipelinesSourceInputFields },
|
|
878
888
|
logstore: ListPipelinesResponseBodyPipelinesSourceLogstore,
|
|
889
|
+
oss: PipelineOssSource,
|
|
879
890
|
trajectory: ListPipelinesResponseBodyPipelinesSourceTrajectory,
|
|
880
891
|
type: 'string',
|
|
881
892
|
};
|
|
@@ -891,6 +902,9 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
891
902
|
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
892
903
|
(this.logstore as any).validate();
|
|
893
904
|
}
|
|
905
|
+
if(this.oss && typeof (this.oss as any).validate === 'function') {
|
|
906
|
+
(this.oss as any).validate();
|
|
907
|
+
}
|
|
894
908
|
if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
|
|
895
909
|
(this.trajectory as any).validate();
|
|
896
910
|
}
|
|
@@ -934,7 +948,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
934
948
|
* The execution policy.
|
|
935
949
|
*
|
|
936
950
|
* @example
|
|
937
|
-
* {"mode":"RunOnce","runOnce":{"fromTime":
|
|
951
|
+
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800000,"toTime":1735747200000}}
|
|
938
952
|
*/
|
|
939
953
|
executePolicy?: ListPipelinesResponseBodyPipelinesExecutePolicy;
|
|
940
954
|
/**
|
|
@@ -963,7 +977,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
963
977
|
nextTriggerTime?: number;
|
|
964
978
|
/**
|
|
965
979
|
* @remarks
|
|
966
|
-
* The reason why scheduling is paused.
|
|
980
|
+
* The reason why the scheduling is paused.
|
|
967
981
|
*
|
|
968
982
|
* @example
|
|
969
983
|
* manual
|
|
@@ -1000,7 +1014,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
1000
1014
|
regionId?: string;
|
|
1001
1015
|
/**
|
|
1002
1016
|
* @remarks
|
|
1003
|
-
* The schedule status. Valid values: None
|
|
1017
|
+
* The schedule status. Valid values: None for no scheduling in RunOnce pipelines, Active, Paused, and Terminated.
|
|
1004
1018
|
*
|
|
1005
1019
|
* @example
|
|
1006
1020
|
* None
|
|
@@ -1008,7 +1022,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
1008
1022
|
scheduleStatus?: string;
|
|
1009
1023
|
/**
|
|
1010
1024
|
* @remarks
|
|
1011
|
-
* The schedule type. Valid values: RunOnce
|
|
1025
|
+
* The schedule type. Valid values: RunOnce for one-time execution, and Scheduled for periodic scheduling.
|
|
1012
1026
|
*
|
|
1013
1027
|
* @example
|
|
1014
1028
|
* RunOnce
|
|
@@ -1016,7 +1030,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
1016
1030
|
scheduleType?: string;
|
|
1017
1031
|
/**
|
|
1018
1032
|
* @remarks
|
|
1019
|
-
* The pipeline sink, which is the destination for writing
|
|
1033
|
+
* The pipeline sink, which is the destination for data writing.
|
|
1020
1034
|
*/
|
|
1021
1035
|
sink?: ListPipelinesResponseBodyPipelinesSink;
|
|
1022
1036
|
/**
|
|
@@ -1125,7 +1139,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
1125
1139
|
export class ListPipelinesResponseBody extends $dara.Model {
|
|
1126
1140
|
/**
|
|
1127
1141
|
* @remarks
|
|
1128
|
-
* The maximum number of entries per page
|
|
1142
|
+
* The maximum number of entries per page specified in the request. This value is echoed in the response.
|
|
1129
1143
|
*
|
|
1130
1144
|
* @example
|
|
1131
1145
|
* 20
|
|
@@ -1142,11 +1156,14 @@ export class ListPipelinesResponseBody extends $dara.Model {
|
|
|
1142
1156
|
/**
|
|
1143
1157
|
* @remarks
|
|
1144
1158
|
* The list of pipelines.
|
|
1159
|
+
*
|
|
1160
|
+
* @example
|
|
1161
|
+
* [{"pipelineName":"my-pipeline","regionId":"cn-hangzhou","scheduleType":"RunOnce","scheduleStatus":"None"}]
|
|
1145
1162
|
*/
|
|
1146
1163
|
pipelines?: ListPipelinesResponseBodyPipelines[];
|
|
1147
1164
|
/**
|
|
1148
1165
|
* @remarks
|
|
1149
|
-
* The request ID, which is used to locate the request
|
|
1166
|
+
* The request ID, which is used to locate the request during troubleshooting.
|
|
1150
1167
|
*
|
|
1151
1168
|
* @example
|
|
1152
1169
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PipelineOssSource extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The OSS data format. LeRobot identifies the data version from meta/info.json and supports v2.1 in the initial release. MCAP imports exact objects or directories.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* lerobot
|
|
12
|
+
*/
|
|
13
|
+
format?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Optional. If omitted or set to {}, the default configurations are used.
|
|
17
|
+
*
|
|
18
|
+
* The following example shows the structure of mcap_mapping, where the key is the camera view and the value is the MCAP topic path.
|
|
19
|
+
*
|
|
20
|
+
* ```json
|
|
21
|
+
* {
|
|
22
|
+
* "formatOptions": {
|
|
23
|
+
* "mcap_mapping": {
|
|
24
|
+
* "video_camera_right": "/example/camera/right",
|
|
25
|
+
* "video_camera_left": "/example/camera/left",
|
|
26
|
+
* "video_camera_head": "/example/camera/head"
|
|
27
|
+
* }
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* {}
|
|
34
|
+
*/
|
|
35
|
+
formatOptions?: { [key: string]: any };
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The region where the OSS bucket is located.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* cn-beijing
|
|
42
|
+
*/
|
|
43
|
+
region?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The ARN of the RAM role used to access OSS. The role must belong to the current authenticated account and have the required OSS access permissions for the target data.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* acs:ram::1234567890123456:role/oss-reader
|
|
50
|
+
*/
|
|
51
|
+
roleArn?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The OSS URI in the format of oss://<bucket>/<path>. LeRobot accepts package directories or parent directories, and the batch scope includes direct candidate packages in the first batch of OSS list results. MCAP accepts exact object keys ending with .mcap or directories ending with /, where directories match only direct .mcap objects.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* oss://example-bucket/robot-datasets/example/
|
|
58
|
+
*/
|
|
59
|
+
uri?: string;
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
format: 'format',
|
|
63
|
+
formatOptions: 'formatOptions',
|
|
64
|
+
region: 'region',
|
|
65
|
+
roleArn: 'roleArn',
|
|
66
|
+
uri: 'uri',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
format: 'string',
|
|
73
|
+
formatOptions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
74
|
+
region: 'string',
|
|
75
|
+
roleArn: 'string',
|
|
76
|
+
uri: 'string',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
if(this.formatOptions) {
|
|
82
|
+
$dara.Model.validateMap(this.formatOptions);
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PipelineOssSource } from "./PipelineOssSource";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
@@ -13,7 +14,7 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
13
14
|
id?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
|
-
* The parameters of the node.
|
|
17
|
+
* The parameters of the node. This is a key-value structure and varies based on the node type.
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* {"ID":"ID"}
|
|
@@ -58,7 +59,7 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
58
59
|
export class PreviewPipelineRequestPipeline extends $dara.Model {
|
|
59
60
|
/**
|
|
60
61
|
* @remarks
|
|
61
|
-
* The list of nodes.
|
|
62
|
+
* The list of nodes. For non-OSS sources, a non-empty array must be passed. For LeRobot sources, an empty array can be passed for direct preview. For MCAP sources, an empty array must be passed.
|
|
62
63
|
*
|
|
63
64
|
* @example
|
|
64
65
|
* [{"id":"select-fields","type":"project","parameters":{}}]
|
|
@@ -99,7 +100,7 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
|
99
100
|
dataset?: string;
|
|
100
101
|
/**
|
|
101
102
|
* @remarks
|
|
102
|
-
* The data
|
|
103
|
+
* The data filtering conditions for the dataset.
|
|
103
104
|
*
|
|
104
105
|
* @example
|
|
105
106
|
* status = \"pending\"
|
|
@@ -139,7 +140,7 @@ export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
|
|
|
139
140
|
name?: string;
|
|
140
141
|
/**
|
|
141
142
|
* @remarks
|
|
142
|
-
* The
|
|
143
|
+
* The type of the field. Valid values: text, long, double, and json.
|
|
143
144
|
*
|
|
144
145
|
* @example
|
|
145
146
|
* text
|
|
@@ -187,7 +188,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
|
|
|
187
188
|
project?: string;
|
|
188
189
|
/**
|
|
189
190
|
* @remarks
|
|
190
|
-
* The filtered query statement
|
|
191
|
+
* The filtered query statement, which uses the SLS query and analysis syntax.
|
|
191
192
|
*
|
|
192
193
|
* @example
|
|
193
194
|
* * | SELECT *
|
|
@@ -221,7 +222,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
|
|
|
221
222
|
export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
222
223
|
/**
|
|
223
224
|
* @remarks
|
|
224
|
-
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs
|
|
225
|
+
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a fixed single column agent_trajectory, and this parameter no longer affects the output.
|
|
225
226
|
*
|
|
226
227
|
* @example
|
|
227
228
|
* ["input","output","session_id"]
|
|
@@ -264,7 +265,7 @@ export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
264
265
|
export class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
|
|
265
266
|
/**
|
|
266
267
|
* @remarks
|
|
267
|
-
*
|
|
268
|
+
* Trajectory enrichment: mounts trajectory data into the cleaning result by trace_id. When writing to a dataset, the data is carried in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
|
|
268
269
|
*
|
|
269
270
|
* @example
|
|
270
271
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -297,7 +298,7 @@ export class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
297
298
|
export class PreviewPipelineRequestSource extends $dara.Model {
|
|
298
299
|
/**
|
|
299
300
|
* @remarks
|
|
300
|
-
* The
|
|
301
|
+
* The datasource config for the dataset in the current AgentSpace.
|
|
301
302
|
*
|
|
302
303
|
* @example
|
|
303
304
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -305,7 +306,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
305
306
|
dataset?: PreviewPipelineRequestSourceDataset;
|
|
306
307
|
/**
|
|
307
308
|
* @remarks
|
|
308
|
-
* The input fields and
|
|
309
|
+
* The input fields and field types. For OSS sources, the server derives input fields from metadata. Omit source.inputFields.
|
|
309
310
|
*
|
|
310
311
|
* @example
|
|
311
312
|
* [{"name":"question","type":"text"}]
|
|
@@ -313,7 +314,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
313
314
|
inputFields?: PreviewPipelineRequestSourceInputFields[];
|
|
314
315
|
/**
|
|
315
316
|
* @remarks
|
|
316
|
-
* The Simple Log Service (SLS) Logstore
|
|
317
|
+
* The datasource config for Simple Log Service (SLS) Logstore.
|
|
317
318
|
*
|
|
318
319
|
* @example
|
|
319
320
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -321,7 +322,15 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
321
322
|
logstore?: PreviewPipelineRequestSourceLogstore;
|
|
322
323
|
/**
|
|
323
324
|
* @remarks
|
|
324
|
-
*
|
|
325
|
+
* 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
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
|
|
329
|
+
*/
|
|
330
|
+
oss?: PipelineOssSource;
|
|
331
|
+
/**
|
|
332
|
+
* @remarks
|
|
333
|
+
* The trajectory data configuration. This parameter is optional and takes effect only when type is trace. It obtains ATIF standard trajectory data from the trajectory cleaning service and extends it by feature.
|
|
325
334
|
*
|
|
326
335
|
* @example
|
|
327
336
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -329,10 +338,10 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
329
338
|
trajectory?: PreviewPipelineRequestSourceTrajectory;
|
|
330
339
|
/**
|
|
331
340
|
* @remarks
|
|
332
|
-
* The type of the data source.
|
|
341
|
+
* The type of the data source. Valid values: logstore, dataset, trace, and oss. trace indicates the trajectory signal-driven processing mode. If oss is selected, specify source.oss.
|
|
333
342
|
*
|
|
334
343
|
* @example
|
|
335
|
-
*
|
|
344
|
+
* oss
|
|
336
345
|
*/
|
|
337
346
|
type?: string;
|
|
338
347
|
static names(): { [key: string]: string } {
|
|
@@ -340,6 +349,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
340
349
|
dataset: 'dataset',
|
|
341
350
|
inputFields: 'inputFields',
|
|
342
351
|
logstore: 'logstore',
|
|
352
|
+
oss: 'oss',
|
|
343
353
|
trajectory: 'trajectory',
|
|
344
354
|
type: 'type',
|
|
345
355
|
};
|
|
@@ -350,6 +360,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
350
360
|
dataset: PreviewPipelineRequestSourceDataset,
|
|
351
361
|
inputFields: { 'type': 'array', 'itemType': PreviewPipelineRequestSourceInputFields },
|
|
352
362
|
logstore: PreviewPipelineRequestSourceLogstore,
|
|
363
|
+
oss: PipelineOssSource,
|
|
353
364
|
trajectory: PreviewPipelineRequestSourceTrajectory,
|
|
354
365
|
type: 'string',
|
|
355
366
|
};
|
|
@@ -365,6 +376,9 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
365
376
|
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
366
377
|
(this.logstore as any).validate();
|
|
367
378
|
}
|
|
379
|
+
if(this.oss && typeof (this.oss as any).validate === 'function') {
|
|
380
|
+
(this.oss as any).validate();
|
|
381
|
+
}
|
|
368
382
|
if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
|
|
369
383
|
(this.trajectory as any).validate();
|
|
370
384
|
}
|
|
@@ -379,7 +393,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
379
393
|
export class PreviewPipelineRequest extends $dara.Model {
|
|
380
394
|
/**
|
|
381
395
|
* @remarks
|
|
382
|
-
* The start time of the preview data window
|
|
396
|
+
* The start time of the preview data window, in UNIX seconds.
|
|
383
397
|
*
|
|
384
398
|
* @example
|
|
385
399
|
* 1735660800
|
|
@@ -403,7 +417,7 @@ export class PreviewPipelineRequest extends $dara.Model {
|
|
|
403
417
|
source?: PreviewPipelineRequestSource;
|
|
404
418
|
/**
|
|
405
419
|
* @remarks
|
|
406
|
-
* The end time of the preview data window
|
|
420
|
+
* The end time of the preview data window, in UNIX seconds.
|
|
407
421
|
*
|
|
408
422
|
* @example
|
|
409
423
|
* 1735747200
|