@alicloud/agentloop20260520 2.3.7 → 2.3.9
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 +14 -14
- package/dist/client.js +31 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +364 -2
- package/dist/models/CreateContextStoreRequest.js +365 -1
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +5 -0
- package/dist/models/CreateContextStoreResponseBody.js +2 -0
- package/dist/models/CreateContextStoreResponseBody.js.map +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +148 -39
- package/dist/models/CreatePipelineRequest.js +76 -1
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/DeleteContextStoreRequest.d.ts +8 -0
- package/dist/models/DeleteContextStoreRequest.js +6 -2
- package/dist/models/DeleteContextStoreRequest.js.map +1 -1
- package/dist/models/DeleteContextStoreResponseBody.d.ts +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +489 -0
- package/dist/models/GetContextStoreResponseBody.js +486 -1
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +157 -42
- package/dist/models/GetPipelineResponseBody.js +78 -1
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListContextStoresRequest.d.ts +5 -0
- package/dist/models/ListContextStoresRequest.js +2 -0
- package/dist/models/ListContextStoresRequest.js.map +1 -1
- package/dist/models/ListContextStoresResponseBody.d.ts +10 -0
- package/dist/models/ListContextStoresResponseBody.js +4 -0
- package/dist/models/ListContextStoresResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +111 -0
- package/dist/models/ListPipelinesResponseBody.js +102 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/MetaSchemaValue.d.ts +21 -0
- package/dist/models/MetaSchemaValue.js +58 -0
- package/dist/models/MetaSchemaValue.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +91 -17
- package/dist/models/PreviewPipelineRequest.js +52 -1
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +45 -16
- package/dist/models/PreviewPipelineResponseBody.js +6 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/SearchContextRequest.d.ts +38 -0
- package/dist/models/SearchContextRequest.js +33 -1
- package/dist/models/SearchContextRequest.js.map +1 -1
- package/dist/models/SearchContextResponseBody.d.ts +10 -0
- package/dist/models/SearchContextResponseBody.js +4 -0
- package/dist/models/SearchContextResponseBody.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +479 -9
- package/dist/models/UpdateContextStoreRequest.js +331 -1
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +8 -0
- package/dist/models/UpdateContextStoreResponseBody.js +2 -0
- package/dist/models/UpdateContextStoreResponseBody.js.map +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +140 -32
- package/dist/models/UpdatePipelineRequest.js +76 -1
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +56 -0
- package/dist/models/model.js +211 -98
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +36 -14
- package/src/models/CreateContextStoreRequest.ts +620 -2
- package/src/models/CreateContextStoreResponseBody.ts +7 -0
- package/src/models/CreatePipelineRequest.ts +196 -39
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DeleteContextStoreRequest.ts +10 -0
- package/src/models/DeleteContextStoreResponseBody.ts +1 -1
- package/src/models/GetContextStoreResponseBody.ts +828 -0
- package/src/models/GetPipelineResponseBody.ts +207 -42
- package/src/models/ListContextStoresRequest.ts +7 -0
- package/src/models/ListContextStoresResponseBody.ts +14 -0
- package/src/models/ListPipelinesResponseBody.ts +176 -0
- package/src/models/MetaSchemaValue.ts +34 -0
- package/src/models/PreviewPipelineRequest.ts +124 -17
- package/src/models/PreviewPipelineResponseBody.ts +48 -16
- package/src/models/SearchContextRequest.ts +61 -0
- package/src/models/SearchContextResponseBody.ts +14 -0
- package/src/models/UpdateContextStoreRequest.ts +710 -9
- package/src/models/UpdateContextStoreResponseBody.ts +10 -0
- package/src/models/UpdatePipelineRequest.ts +188 -32
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +56 -0
|
@@ -2,10 +2,40 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The bootstrap start time in UNIX seconds. It has the same precision as runOnce or 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
|
+
* @example
|
|
11
|
+
* 1735660800
|
|
12
|
+
*/
|
|
13
|
+
fromTime?: number;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
fromTime: 'fromTime',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
fromTime: 'number',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
5
35
|
export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
6
36
|
/**
|
|
7
37
|
* @remarks
|
|
8
|
-
* The start time of the data processing window
|
|
38
|
+
* The start time of the data processing window in UNIX seconds. The value must be less than the toTime value.
|
|
9
39
|
*
|
|
10
40
|
* @example
|
|
11
41
|
* 1735660800
|
|
@@ -13,7 +43,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
13
43
|
fromTime?: number;
|
|
14
44
|
/**
|
|
15
45
|
* @remarks
|
|
16
|
-
* The end time of the data processing window
|
|
46
|
+
* The end time of the data processing window in UNIX seconds. The value must be greater than the fromTime value.
|
|
17
47
|
*
|
|
18
48
|
* @example
|
|
19
49
|
* 1735747200
|
|
@@ -45,7 +75,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
45
75
|
export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
46
76
|
/**
|
|
47
77
|
* @remarks
|
|
48
|
-
* The
|
|
78
|
+
* The start time of the scheduling in UNIX milliseconds.
|
|
49
79
|
*
|
|
50
80
|
* @example
|
|
51
81
|
* 1735660800000
|
|
@@ -85,9 +115,15 @@ export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
|
85
115
|
export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
86
116
|
/**
|
|
87
117
|
* @remarks
|
|
88
|
-
* The
|
|
89
|
-
*
|
|
90
|
-
*
|
|
118
|
+
* The continuous execution configuration. This is used when the type is trace. The processing frequency is a fixed value managed by the server.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* {"fromTime":1735660800}
|
|
122
|
+
*/
|
|
123
|
+
continuous?: CreatePipelineRequestExecutePolicyContinuous;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The scheduling mode. Valid values: RunOnce (single execution) and Scheduled (periodic scheduling).
|
|
91
127
|
*
|
|
92
128
|
* @example
|
|
93
129
|
* RunOnce
|
|
@@ -95,16 +131,23 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
95
131
|
mode?: string;
|
|
96
132
|
/**
|
|
97
133
|
* @remarks
|
|
98
|
-
* The
|
|
134
|
+
* The single execution configuration. This parameter is required only when the mode is RunOnce.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* {"fromTime":1735660800,"toTime":1735664400}
|
|
99
138
|
*/
|
|
100
139
|
runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
|
|
101
140
|
/**
|
|
102
141
|
* @remarks
|
|
103
|
-
* The periodic scheduling configuration. This parameter is required only when mode is
|
|
142
|
+
* The periodic scheduling configuration. This parameter is required only when the mode is Scheduled.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* {"interval":"1h","fromTime":1735660800}
|
|
104
146
|
*/
|
|
105
147
|
scheduled?: CreatePipelineRequestExecutePolicyScheduled;
|
|
106
148
|
static names(): { [key: string]: string } {
|
|
107
149
|
return {
|
|
150
|
+
continuous: 'continuous',
|
|
108
151
|
mode: 'mode',
|
|
109
152
|
runOnce: 'runOnce',
|
|
110
153
|
scheduled: 'scheduled',
|
|
@@ -113,6 +156,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
113
156
|
|
|
114
157
|
static types(): { [key: string]: any } {
|
|
115
158
|
return {
|
|
159
|
+
continuous: CreatePipelineRequestExecutePolicyContinuous,
|
|
116
160
|
mode: 'string',
|
|
117
161
|
runOnce: CreatePipelineRequestExecutePolicyRunOnce,
|
|
118
162
|
scheduled: CreatePipelineRequestExecutePolicyScheduled,
|
|
@@ -120,6 +164,9 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
120
164
|
}
|
|
121
165
|
|
|
122
166
|
validate() {
|
|
167
|
+
if(this.continuous && typeof (this.continuous as any).validate === 'function') {
|
|
168
|
+
(this.continuous as any).validate();
|
|
169
|
+
}
|
|
123
170
|
if(this.runOnce && typeof (this.runOnce as any).validate === 'function') {
|
|
124
171
|
(this.runOnce as any).validate();
|
|
125
172
|
}
|
|
@@ -137,7 +184,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
137
184
|
export class CreatePipelineRequestPipelineNodes extends $dara.Model {
|
|
138
185
|
/**
|
|
139
186
|
* @remarks
|
|
140
|
-
* The node
|
|
187
|
+
* The ID of the node.
|
|
141
188
|
*
|
|
142
189
|
* @example
|
|
143
190
|
* node-1
|
|
@@ -145,12 +192,12 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
145
192
|
id?: string;
|
|
146
193
|
/**
|
|
147
194
|
* @remarks
|
|
148
|
-
* The node
|
|
195
|
+
* The parameters of the node. This is a key-value structure and varies based on the node type.
|
|
149
196
|
*/
|
|
150
197
|
parameters?: { [key: string]: any };
|
|
151
198
|
/**
|
|
152
199
|
* @remarks
|
|
153
|
-
* The node
|
|
200
|
+
* The type of the node.
|
|
154
201
|
*
|
|
155
202
|
* @example
|
|
156
203
|
* transform
|
|
@@ -188,6 +235,9 @@ export class CreatePipelineRequestPipeline extends $dara.Model {
|
|
|
188
235
|
/**
|
|
189
236
|
* @remarks
|
|
190
237
|
* The list of nodes.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* [{"id":"select-fields","type":"project","parameters":{}}]
|
|
191
241
|
*/
|
|
192
242
|
nodes?: CreatePipelineRequestPipelineNodes[];
|
|
193
243
|
static names(): { [key: string]: string } {
|
|
@@ -217,7 +267,7 @@ export class CreatePipelineRequestPipeline extends $dara.Model {
|
|
|
217
267
|
export class CreatePipelineRequestSinkConditionDefaultSinkDataset extends $dara.Model {
|
|
218
268
|
/**
|
|
219
269
|
* @remarks
|
|
220
|
-
* The name of the
|
|
270
|
+
* The name of the agent space to which the default destination dataset belongs.
|
|
221
271
|
*
|
|
222
272
|
* @example
|
|
223
273
|
* my-agent-space
|
|
@@ -297,7 +347,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
|
|
|
297
347
|
export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.Model {
|
|
298
348
|
/**
|
|
299
349
|
* @remarks
|
|
300
|
-
* The name of the
|
|
350
|
+
* The name of the agent space to which the destination dataset belongs.
|
|
301
351
|
*
|
|
302
352
|
* @example
|
|
303
353
|
* my-agent-space
|
|
@@ -337,12 +387,12 @@ export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
|
|
|
337
387
|
export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
338
388
|
/**
|
|
339
389
|
* @remarks
|
|
340
|
-
* The
|
|
390
|
+
* The destination dataset for the route.
|
|
341
391
|
*/
|
|
342
392
|
dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
|
|
343
393
|
/**
|
|
344
394
|
* @remarks
|
|
345
|
-
* The
|
|
395
|
+
* The destination type for the route. Currently, only dataset is supported.
|
|
346
396
|
*
|
|
347
397
|
* @example
|
|
348
398
|
* dataset
|
|
@@ -377,7 +427,7 @@ export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
|
377
427
|
export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
378
428
|
/**
|
|
379
429
|
* @remarks
|
|
380
|
-
* The route expression in SPL. Only where, project, and extend are supported.
|
|
430
|
+
* The route expression in Search Processing Language (SPL). Only where, project, and extend are supported.
|
|
381
431
|
*
|
|
382
432
|
* @example
|
|
383
433
|
* * | where intent = \\"refund\\"
|
|
@@ -393,7 +443,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
|
393
443
|
id?: string;
|
|
394
444
|
/**
|
|
395
445
|
* @remarks
|
|
396
|
-
* The
|
|
446
|
+
* The write destination for the route.
|
|
397
447
|
*/
|
|
398
448
|
sink?: CreatePipelineRequestSinkConditionRoutesSink;
|
|
399
449
|
static names(): { [key: string]: string } {
|
|
@@ -477,7 +527,7 @@ export class CreatePipelineRequestSinkCondition extends $dara.Model {
|
|
|
477
527
|
export class CreatePipelineRequestSinkDataset extends $dara.Model {
|
|
478
528
|
/**
|
|
479
529
|
* @remarks
|
|
480
|
-
* The name of the
|
|
530
|
+
* The name of the agent space to which the destination dataset belongs.
|
|
481
531
|
*
|
|
482
532
|
* @example
|
|
483
533
|
* my-agent-space
|
|
@@ -517,17 +567,17 @@ export class CreatePipelineRequestSinkDataset extends $dara.Model {
|
|
|
517
567
|
export class CreatePipelineRequestSink extends $dara.Model {
|
|
518
568
|
/**
|
|
519
569
|
* @remarks
|
|
520
|
-
* The conditional routing configuration. This
|
|
570
|
+
* The conditional routing configuration. This is used only when sink.type is set to condition.
|
|
521
571
|
*/
|
|
522
572
|
condition?: CreatePipelineRequestSinkCondition;
|
|
523
573
|
/**
|
|
524
574
|
* @remarks
|
|
525
|
-
* The destination dataset configuration.
|
|
575
|
+
* The destination dataset configuration for the dataset sink. This is used only when sink.type is set to dataset.
|
|
526
576
|
*/
|
|
527
577
|
dataset?: CreatePipelineRequestSinkDataset;
|
|
528
578
|
/**
|
|
529
579
|
* @remarks
|
|
530
|
-
* The
|
|
580
|
+
* The destination type. Currently, dataset is supported.
|
|
531
581
|
*
|
|
532
582
|
* @example
|
|
533
583
|
* Dataset
|
|
@@ -575,7 +625,7 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
|
|
|
575
625
|
dataset?: string;
|
|
576
626
|
/**
|
|
577
627
|
* @remarks
|
|
578
|
-
* The filter condition for the dataset
|
|
628
|
+
* The data filter condition for the dataset.
|
|
579
629
|
*
|
|
580
630
|
* @example
|
|
581
631
|
* status = \\"pending\\"
|
|
@@ -607,7 +657,7 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
|
|
|
607
657
|
export class CreatePipelineRequestSourceInputFields extends $dara.Model {
|
|
608
658
|
/**
|
|
609
659
|
* @remarks
|
|
610
|
-
* The field
|
|
660
|
+
* The name of the field.
|
|
611
661
|
*
|
|
612
662
|
* @example
|
|
613
663
|
* question
|
|
@@ -615,7 +665,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
|
|
|
615
665
|
name?: string;
|
|
616
666
|
/**
|
|
617
667
|
* @remarks
|
|
618
|
-
* The
|
|
668
|
+
* The data type of the field. Valid values: text, long, double, and json.
|
|
619
669
|
*
|
|
620
670
|
* @example
|
|
621
671
|
* text
|
|
@@ -647,7 +697,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
|
|
|
647
697
|
export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
648
698
|
/**
|
|
649
699
|
* @remarks
|
|
650
|
-
* The name of the
|
|
700
|
+
* The name of the Simple Log Service Logstore.
|
|
651
701
|
*
|
|
652
702
|
* @example
|
|
653
703
|
* my-sls-logstore
|
|
@@ -655,7 +705,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
655
705
|
logstore?: string;
|
|
656
706
|
/**
|
|
657
707
|
* @remarks
|
|
658
|
-
* The name of the
|
|
708
|
+
* The name of the Simple Log Service project.
|
|
659
709
|
*
|
|
660
710
|
* @example
|
|
661
711
|
* my-sls-project
|
|
@@ -663,7 +713,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
663
713
|
project?: string;
|
|
664
714
|
/**
|
|
665
715
|
* @remarks
|
|
666
|
-
* The data filtered query statement
|
|
716
|
+
* The data filtered query statement, which uses the Simple Log Service query and analysis syntax.
|
|
667
717
|
*
|
|
668
718
|
* @example
|
|
669
719
|
* * | SELECT *
|
|
@@ -694,25 +744,118 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
694
744
|
}
|
|
695
745
|
}
|
|
696
746
|
|
|
747
|
+
export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
748
|
+
/**
|
|
749
|
+
* @remarks
|
|
750
|
+
* The list of enrichment columns. This parameter is retained for backward compatibility. The current implementation outputs only the fixed agent_trajectory column, and this parameter no longer affects the output.
|
|
751
|
+
*
|
|
752
|
+
* @example
|
|
753
|
+
* ["input","output","session_id"]
|
|
754
|
+
*/
|
|
755
|
+
columns?: string[];
|
|
756
|
+
/**
|
|
757
|
+
* @remarks
|
|
758
|
+
* Specifies whether to enable trajectory enrichment.
|
|
759
|
+
*
|
|
760
|
+
* @example
|
|
761
|
+
* false
|
|
762
|
+
*/
|
|
763
|
+
enabled?: boolean;
|
|
764
|
+
static names(): { [key: string]: string } {
|
|
765
|
+
return {
|
|
766
|
+
columns: 'columns',
|
|
767
|
+
enabled: 'enabled',
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
static types(): { [key: string]: any } {
|
|
772
|
+
return {
|
|
773
|
+
columns: { 'type': 'array', 'itemType': 'string' },
|
|
774
|
+
enabled: 'boolean',
|
|
775
|
+
};
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
validate() {
|
|
779
|
+
if(Array.isArray(this.columns)) {
|
|
780
|
+
$dara.Model.validateArray(this.columns);
|
|
781
|
+
}
|
|
782
|
+
super.validate();
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
constructor(map?: { [key: string]: any }) {
|
|
786
|
+
super(map);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
791
|
+
/**
|
|
792
|
+
* @remarks
|
|
793
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the scrubbing results based on the trace_id. When writing to a dataset, the data is stored in the fixed agent_trajectory column, where the column value is the trajectory JSON content.
|
|
794
|
+
*
|
|
795
|
+
* @example
|
|
796
|
+
* {"enabled":true,"columns":["input","output"]}
|
|
797
|
+
*/
|
|
798
|
+
enrich?: CreatePipelineRequestSourceTrajectoryEnrich;
|
|
799
|
+
static names(): { [key: string]: string } {
|
|
800
|
+
return {
|
|
801
|
+
enrich: 'enrich',
|
|
802
|
+
};
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
static types(): { [key: string]: any } {
|
|
806
|
+
return {
|
|
807
|
+
enrich: CreatePipelineRequestSourceTrajectoryEnrich,
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
validate() {
|
|
812
|
+
if(this.enrich && typeof (this.enrich as any).validate === 'function') {
|
|
813
|
+
(this.enrich as any).validate();
|
|
814
|
+
}
|
|
815
|
+
super.validate();
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
constructor(map?: { [key: string]: any }) {
|
|
819
|
+
super(map);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
|
|
697
823
|
export class CreatePipelineRequestSource extends $dara.Model {
|
|
698
824
|
/**
|
|
699
825
|
* @remarks
|
|
700
|
-
* The dataset datasource config under the current
|
|
826
|
+
* The dataset datasource config under the current agent space.
|
|
827
|
+
*
|
|
828
|
+
* @example
|
|
829
|
+
* {"dataset":"my-dataset","filter":"status = \\"pending\\""}
|
|
701
830
|
*/
|
|
702
831
|
dataset?: CreatePipelineRequestSourceDataset;
|
|
703
832
|
/**
|
|
704
833
|
* @remarks
|
|
705
|
-
* The input fields and
|
|
834
|
+
* The input fields and their data types. This applies to all data source types.
|
|
835
|
+
*
|
|
836
|
+
* @example
|
|
837
|
+
* [{"name":"question","type":"text"}]
|
|
706
838
|
*/
|
|
707
839
|
inputFields?: CreatePipelineRequestSourceInputFields[];
|
|
708
840
|
/**
|
|
709
841
|
* @remarks
|
|
710
|
-
* The
|
|
842
|
+
* The Simple Log Service Logstore datasource config.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
711
846
|
*/
|
|
712
847
|
logstore?: CreatePipelineRequestSourceLogstore;
|
|
713
848
|
/**
|
|
714
849
|
* @remarks
|
|
715
|
-
* The data
|
|
850
|
+
* The trajectory data configuration. This is optional and takes effect only when the type is set to trace. It retrieves ATIF standard trajectory data from the trajectory scrubbing service and extends it based on features.
|
|
851
|
+
*
|
|
852
|
+
* @example
|
|
853
|
+
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
854
|
+
*/
|
|
855
|
+
trajectory?: CreatePipelineRequestSourceTrajectory;
|
|
856
|
+
/**
|
|
857
|
+
* @remarks
|
|
858
|
+
* The data source type. Currently, Simple Log Service is supported.
|
|
716
859
|
*
|
|
717
860
|
* @example
|
|
718
861
|
* SLS
|
|
@@ -723,6 +866,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
723
866
|
dataset: 'dataset',
|
|
724
867
|
inputFields: 'inputFields',
|
|
725
868
|
logstore: 'logstore',
|
|
869
|
+
trajectory: 'trajectory',
|
|
726
870
|
type: 'type',
|
|
727
871
|
};
|
|
728
872
|
}
|
|
@@ -732,6 +876,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
732
876
|
dataset: CreatePipelineRequestSourceDataset,
|
|
733
877
|
inputFields: { 'type': 'array', 'itemType': CreatePipelineRequestSourceInputFields },
|
|
734
878
|
logstore: CreatePipelineRequestSourceLogstore,
|
|
879
|
+
trajectory: CreatePipelineRequestSourceTrajectory,
|
|
735
880
|
type: 'string',
|
|
736
881
|
};
|
|
737
882
|
}
|
|
@@ -746,6 +891,9 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
746
891
|
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
747
892
|
(this.logstore as any).validate();
|
|
748
893
|
}
|
|
894
|
+
if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
|
|
895
|
+
(this.trajectory as any).validate();
|
|
896
|
+
}
|
|
749
897
|
super.validate();
|
|
750
898
|
}
|
|
751
899
|
|
|
@@ -757,25 +905,31 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
757
905
|
export class CreatePipelineRequest extends $dara.Model {
|
|
758
906
|
/**
|
|
759
907
|
* @remarks
|
|
760
|
-
* The
|
|
908
|
+
* The description of the pipeline. Maximum length: 256 characters.
|
|
761
909
|
*
|
|
762
910
|
* @example
|
|
763
|
-
* Collect trace data from SLS
|
|
911
|
+
* Collect trace data from SLS and perform data cleaning into a dataset
|
|
764
912
|
*/
|
|
765
913
|
description?: string;
|
|
766
914
|
/**
|
|
767
915
|
* @remarks
|
|
768
|
-
* The scheduling
|
|
916
|
+
* The scheduling method.
|
|
917
|
+
*
|
|
918
|
+
* @example
|
|
919
|
+
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
|
|
769
920
|
*/
|
|
770
921
|
executePolicy?: CreatePipelineRequestExecutePolicy;
|
|
771
922
|
/**
|
|
772
923
|
* @remarks
|
|
773
|
-
* The pipeline configuration
|
|
924
|
+
* The pipeline configuration, including node orchestration.
|
|
925
|
+
*
|
|
926
|
+
* @example
|
|
927
|
+
* {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
|
|
774
928
|
*/
|
|
775
929
|
pipeline?: CreatePipelineRequestPipeline;
|
|
776
930
|
/**
|
|
777
931
|
* @remarks
|
|
778
|
-
* The pipeline
|
|
932
|
+
* The name of the pipeline. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens (-).
|
|
779
933
|
*
|
|
780
934
|
* @example
|
|
781
935
|
* my-pipeline
|
|
@@ -783,17 +937,20 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
783
937
|
pipelineName?: string;
|
|
784
938
|
/**
|
|
785
939
|
* @remarks
|
|
786
|
-
* The pipeline sink
|
|
940
|
+
* The pipeline sink, which is the data write destination.
|
|
787
941
|
*/
|
|
788
942
|
sink?: CreatePipelineRequestSink;
|
|
789
943
|
/**
|
|
790
944
|
* @remarks
|
|
791
|
-
* The
|
|
945
|
+
* The data source for the pipeline.
|
|
946
|
+
*
|
|
947
|
+
* @example
|
|
948
|
+
* {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
|
|
792
949
|
*/
|
|
793
950
|
source?: CreatePipelineRequestSource;
|
|
794
951
|
/**
|
|
795
952
|
* @remarks
|
|
796
|
-
* The idempotency token.
|
|
953
|
+
* The idempotency token. This is a unique string generated by the client to ensure the idempotency of the create operation.
|
|
797
954
|
*
|
|
798
955
|
* @example
|
|
799
956
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -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 used to locate the request during troubleshooting.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -3,13 +3,23 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DeleteContextStoreRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to simultaneously delete the memory output dataset (memory type). Default value: false.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* false
|
|
12
|
+
*/
|
|
13
|
+
deleteOutputDataset?: boolean;
|
|
6
14
|
static names(): { [key: string]: string } {
|
|
7
15
|
return {
|
|
16
|
+
deleteOutputDataset: 'deleteOutputDataset',
|
|
8
17
|
};
|
|
9
18
|
}
|
|
10
19
|
|
|
11
20
|
static types(): { [key: string]: any } {
|
|
12
21
|
return {
|
|
22
|
+
deleteOutputDataset: 'boolean',
|
|
13
23
|
};
|
|
14
24
|
}
|
|
15
25
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeleteContextStoreResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID, which is used to locate
|
|
8
|
+
* The request ID, which is used to locate the request when troubleshooting issues.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|