@alicloud/agentloop20260520 2.3.7 → 2.3.8

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.
Files changed (40) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +12 -12
  3. package/dist/models/CreatePipelineRequest.d.ts +148 -39
  4. package/dist/models/CreatePipelineRequest.js +76 -1
  5. package/dist/models/CreatePipelineRequest.js.map +1 -1
  6. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  7. package/dist/models/GetPipelineResponseBody.d.ts +157 -42
  8. package/dist/models/GetPipelineResponseBody.js +78 -1
  9. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  10. package/dist/models/ListPipelinesResponseBody.d.ts +111 -0
  11. package/dist/models/ListPipelinesResponseBody.js +102 -1
  12. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  13. package/dist/models/MetaSchemaValue.d.ts +21 -0
  14. package/dist/models/MetaSchemaValue.js +58 -0
  15. package/dist/models/MetaSchemaValue.js.map +1 -0
  16. package/dist/models/PreviewPipelineRequest.d.ts +91 -17
  17. package/dist/models/PreviewPipelineRequest.js +52 -1
  18. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  19. package/dist/models/PreviewPipelineResponseBody.d.ts +45 -16
  20. package/dist/models/PreviewPipelineResponseBody.js +6 -0
  21. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  22. package/dist/models/UpdatePipelineRequest.d.ts +140 -32
  23. package/dist/models/UpdatePipelineRequest.js +76 -1
  24. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  25. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  26. package/dist/models/model.d.ts +16 -0
  27. package/dist/models/model.js +116 -84
  28. package/dist/models/model.js.map +1 -1
  29. package/package.json +1 -1
  30. package/src/client.ts +12 -12
  31. package/src/models/CreatePipelineRequest.ts +196 -39
  32. package/src/models/CreatePipelineResponseBody.ts +1 -1
  33. package/src/models/GetPipelineResponseBody.ts +207 -42
  34. package/src/models/ListPipelinesResponseBody.ts +176 -0
  35. package/src/models/MetaSchemaValue.ts +34 -0
  36. package/src/models/PreviewPipelineRequest.ts +124 -17
  37. package/src/models/PreviewPipelineResponseBody.ts +48 -16
  38. package/src/models/UpdatePipelineRequest.ts +188 -32
  39. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  40. package/src/models/model.ts +16 -0
@@ -2,6 +2,33 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class ListPipelinesResponseBodyPipelinesExecutePolicyContinuous extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1735660800
9
+ */
10
+ fromTime?: number;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ fromTime: 'fromTime',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ fromTime: 'number',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
5
32
  export class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce extends $dara.Model {
6
33
  /**
7
34
  * @remarks
@@ -83,6 +110,11 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicyScheduled extends $d
83
110
  }
84
111
 
85
112
  export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model {
113
+ /**
114
+ * @example
115
+ * {"fromTime":1735660800}
116
+ */
117
+ continuous?: ListPipelinesResponseBodyPipelinesExecutePolicyContinuous;
86
118
  /**
87
119
  * @remarks
88
120
  * The scheduling mode. Valid values:
@@ -96,15 +128,22 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
96
128
  /**
97
129
  * @remarks
98
130
  * The parameters for one-time execution. This parameter has a value only when mode is set to RunOnce.
131
+ *
132
+ * @example
133
+ * {"fromTime":1735660800,"toTime":1735664400}
99
134
  */
100
135
  runOnce?: ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce;
101
136
  /**
102
137
  * @remarks
103
138
  * The parameters for periodic scheduling. This parameter has a value only when mode is set to Scheduled.
139
+ *
140
+ * @example
141
+ * {"interval":"1h","fromTime":1735660800}
104
142
  */
105
143
  scheduled?: ListPipelinesResponseBodyPipelinesExecutePolicyScheduled;
106
144
  static names(): { [key: string]: string } {
107
145
  return {
146
+ continuous: 'continuous',
108
147
  mode: 'mode',
109
148
  runOnce: 'runOnce',
110
149
  scheduled: 'scheduled',
@@ -113,6 +152,7 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
113
152
 
114
153
  static types(): { [key: string]: any } {
115
154
  return {
155
+ continuous: ListPipelinesResponseBodyPipelinesExecutePolicyContinuous,
116
156
  mode: 'string',
117
157
  runOnce: ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce,
118
158
  scheduled: ListPipelinesResponseBodyPipelinesExecutePolicyScheduled,
@@ -120,6 +160,9 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
120
160
  }
121
161
 
122
162
  validate() {
163
+ if(this.continuous && typeof (this.continuous as any).validate === 'function') {
164
+ (this.continuous as any).validate();
165
+ }
123
166
  if(this.runOnce && typeof (this.runOnce as any).validate === 'function') {
124
167
  (this.runOnce as any).validate();
125
168
  }
@@ -524,6 +567,40 @@ export class ListPipelinesResponseBodyPipelinesSourceDataset extends $dara.Model
524
567
  }
525
568
  }
526
569
 
570
+ export class ListPipelinesResponseBodyPipelinesSourceInputFields extends $dara.Model {
571
+ /**
572
+ * @example
573
+ * question
574
+ */
575
+ name?: string;
576
+ /**
577
+ * @example
578
+ * text
579
+ */
580
+ type?: string;
581
+ static names(): { [key: string]: string } {
582
+ return {
583
+ name: 'name',
584
+ type: 'type',
585
+ };
586
+ }
587
+
588
+ static types(): { [key: string]: any } {
589
+ return {
590
+ name: 'string',
591
+ type: 'string',
592
+ };
593
+ }
594
+
595
+ validate() {
596
+ super.validate();
597
+ }
598
+
599
+ constructor(map?: { [key: string]: any }) {
600
+ super(map);
601
+ }
602
+ }
603
+
527
604
  export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Model {
528
605
  /**
529
606
  * @remarks
@@ -574,17 +651,100 @@ export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Mode
574
651
  }
575
652
  }
576
653
 
654
+ export class ListPipelinesResponseBodyPipelinesSourceTrajectoryEnrich extends $dara.Model {
655
+ /**
656
+ * @example
657
+ * ["input","output","session_id"]
658
+ */
659
+ columns?: string[];
660
+ /**
661
+ * @example
662
+ * false
663
+ */
664
+ enabled?: boolean;
665
+ static names(): { [key: string]: string } {
666
+ return {
667
+ columns: 'columns',
668
+ enabled: 'enabled',
669
+ };
670
+ }
671
+
672
+ static types(): { [key: string]: any } {
673
+ return {
674
+ columns: { 'type': 'array', 'itemType': 'string' },
675
+ enabled: 'boolean',
676
+ };
677
+ }
678
+
679
+ validate() {
680
+ if(Array.isArray(this.columns)) {
681
+ $dara.Model.validateArray(this.columns);
682
+ }
683
+ super.validate();
684
+ }
685
+
686
+ constructor(map?: { [key: string]: any }) {
687
+ super(map);
688
+ }
689
+ }
690
+
691
+ export class ListPipelinesResponseBodyPipelinesSourceTrajectory extends $dara.Model {
692
+ /**
693
+ * @example
694
+ * {"enabled":true,"columns":["input","output"]}
695
+ */
696
+ enrich?: ListPipelinesResponseBodyPipelinesSourceTrajectoryEnrich;
697
+ static names(): { [key: string]: string } {
698
+ return {
699
+ enrich: 'enrich',
700
+ };
701
+ }
702
+
703
+ static types(): { [key: string]: any } {
704
+ return {
705
+ enrich: ListPipelinesResponseBodyPipelinesSourceTrajectoryEnrich,
706
+ };
707
+ }
708
+
709
+ validate() {
710
+ if(this.enrich && typeof (this.enrich as any).validate === 'function') {
711
+ (this.enrich as any).validate();
712
+ }
713
+ super.validate();
714
+ }
715
+
716
+ constructor(map?: { [key: string]: any }) {
717
+ super(map);
718
+ }
719
+ }
720
+
577
721
  export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
578
722
  /**
579
723
  * @remarks
580
724
  * The dataset datasource config in the current AgentSpace.
725
+ *
726
+ * @example
727
+ * {"dataset":"my-dataset","filter":"status = \\"pending\\""}
581
728
  */
582
729
  dataset?: ListPipelinesResponseBodyPipelinesSourceDataset;
730
+ /**
731
+ * @example
732
+ * [{"name":"question","type":"text"}]
733
+ */
734
+ inputFields?: ListPipelinesResponseBodyPipelinesSourceInputFields[];
583
735
  /**
584
736
  * @remarks
585
737
  * The Simple Log Service (SLS) Logstore datasource config.
738
+ *
739
+ * @example
740
+ * {"project":"my-sls-project","logstore":"agent-logs"}
586
741
  */
587
742
  logstore?: ListPipelinesResponseBodyPipelinesSourceLogstore;
743
+ /**
744
+ * @example
745
+ * {"enrich":{"enabled":true,"columns":["input","output"]}}
746
+ */
747
+ trajectory?: ListPipelinesResponseBodyPipelinesSourceTrajectory;
588
748
  /**
589
749
  * @remarks
590
750
  * The data source type. Valid values: logstore or dataset.
@@ -596,7 +756,9 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
596
756
  static names(): { [key: string]: string } {
597
757
  return {
598
758
  dataset: 'dataset',
759
+ inputFields: 'inputFields',
599
760
  logstore: 'logstore',
761
+ trajectory: 'trajectory',
600
762
  type: 'type',
601
763
  };
602
764
  }
@@ -604,7 +766,9 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
604
766
  static types(): { [key: string]: any } {
605
767
  return {
606
768
  dataset: ListPipelinesResponseBodyPipelinesSourceDataset,
769
+ inputFields: { 'type': 'array', 'itemType': ListPipelinesResponseBodyPipelinesSourceInputFields },
607
770
  logstore: ListPipelinesResponseBodyPipelinesSourceLogstore,
771
+ trajectory: ListPipelinesResponseBodyPipelinesSourceTrajectory,
608
772
  type: 'string',
609
773
  };
610
774
  }
@@ -613,9 +777,15 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
613
777
  if(this.dataset && typeof (this.dataset as any).validate === 'function') {
614
778
  (this.dataset as any).validate();
615
779
  }
780
+ if(Array.isArray(this.inputFields)) {
781
+ $dara.Model.validateArray(this.inputFields);
782
+ }
616
783
  if(this.logstore && typeof (this.logstore as any).validate === 'function') {
617
784
  (this.logstore as any).validate();
618
785
  }
786
+ if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
787
+ (this.trajectory as any).validate();
788
+ }
619
789
  super.validate();
620
790
  }
621
791
 
@@ -646,6 +816,9 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
646
816
  /**
647
817
  * @remarks
648
818
  * The execution policy.
819
+ *
820
+ * @example
821
+ * {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
649
822
  */
650
823
  executePolicy?: ListPipelinesResponseBodyPipelinesExecutePolicy;
651
824
  /**
@@ -694,6 +867,9 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
694
867
  /**
695
868
  * @remarks
696
869
  * The pipeline data source.
870
+ *
871
+ * @example
872
+ * {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
697
873
  */
698
874
  source?: ListPipelinesResponseBodyPipelinesSource;
699
875
  /**
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class MetaSchemaValue extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The dataset field types. Valid values: text, long, double, and json.
9
+ *
10
+ * @example
11
+ * text
12
+ */
13
+ type?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ type: 'type',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ type: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The node ID.
8
+ * The ID of the node.
9
9
  *
10
10
  * @example
11
11
  * node-1
@@ -13,12 +13,12 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
13
13
  id?: string;
14
14
  /**
15
15
  * @remarks
16
- * The node parameters in key-value format. The parameters vary based on the node type.
16
+ * The parameters of the node. The parameters are in key-value format and vary based on the node type.
17
17
  */
18
18
  parameters?: { [key: string]: any };
19
19
  /**
20
20
  * @remarks
21
- * The node type.
21
+ * The type of the node.
22
22
  *
23
23
  * @example
24
24
  * transform
@@ -56,6 +56,9 @@ export class PreviewPipelineRequestPipeline extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
58
  * The list of nodes.
59
+ *
60
+ * @example
61
+ * [{"id":"select-fields","type":"project","parameters":{}}]
59
62
  */
60
63
  nodes?: PreviewPipelineRequestPipelineNodes[];
61
64
  static names(): { [key: string]: string } {
@@ -93,7 +96,7 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
93
96
  dataset?: string;
94
97
  /**
95
98
  * @remarks
96
- * The filter condition for dataset data.
99
+ * The filter condition for the dataset data.
97
100
  *
98
101
  * @example
99
102
  * status = \\"pending\\"
@@ -125,7 +128,7 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
125
128
  export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
126
129
  /**
127
130
  * @remarks
128
- * The field name.
131
+ * The name of the field.
129
132
  *
130
133
  * @example
131
134
  * question
@@ -133,7 +136,7 @@ export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
133
136
  name?: string;
134
137
  /**
135
138
  * @remarks
136
- * The field type. Valid values: text, long, double, and json.
139
+ * The type of the field. Valid values: text, long, double, and json.
137
140
  *
138
141
  * @example
139
142
  * text
@@ -165,7 +168,7 @@ export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
165
168
  export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
166
169
  /**
167
170
  * @remarks
168
- * The name of the SLS Logstore.
171
+ * The name of the Simple Log Service Logstore.
169
172
  *
170
173
  * @example
171
174
  * my-sls-logstore
@@ -173,7 +176,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
173
176
  logstore?: string;
174
177
  /**
175
178
  * @remarks
176
- * The name of the SLS project.
179
+ * The name of the Simple Log Service project.
177
180
  *
178
181
  * @example
179
182
  * my-sls-project
@@ -181,7 +184,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
181
184
  project?: string;
182
185
  /**
183
186
  * @remarks
184
- * The data filtered query statement in SLS query/analysis syntax.
187
+ * The filtered query statement (Simple Log Service query and analysis syntax).
185
188
  *
186
189
  * @example
187
190
  * * | SELECT *
@@ -212,25 +215,118 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
212
215
  }
213
216
  }
214
217
 
218
+ export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
219
+ /**
220
+ * @remarks
221
+ * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs only the fixed agent_trajectory column, and this parameter no longer affects the output.
222
+ *
223
+ * @example
224
+ * ["input","output","session_id"]
225
+ */
226
+ columns?: string[];
227
+ /**
228
+ * @remarks
229
+ * Specifies whether to enable trajectory enrichment.
230
+ *
231
+ * @example
232
+ * false
233
+ */
234
+ enabled?: boolean;
235
+ static names(): { [key: string]: string } {
236
+ return {
237
+ columns: 'columns',
238
+ enabled: 'enabled',
239
+ };
240
+ }
241
+
242
+ static types(): { [key: string]: any } {
243
+ return {
244
+ columns: { 'type': 'array', 'itemType': 'string' },
245
+ enabled: 'boolean',
246
+ };
247
+ }
248
+
249
+ validate() {
250
+ if(Array.isArray(this.columns)) {
251
+ $dara.Model.validateArray(this.columns);
252
+ }
253
+ super.validate();
254
+ }
255
+
256
+ constructor(map?: { [key: string]: any }) {
257
+ super(map);
258
+ }
259
+ }
260
+
261
+ export class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
262
+ /**
263
+ * @remarks
264
+ * Trajectory enrichment: mounts trajectory data into the cleaning results based on the trace_id. When writing data to a dataset, the data is stored in the fixed agent_trajectory column, and the column value is the JSON content of the trajectory.
265
+ *
266
+ * @example
267
+ * {"enabled":true,"columns":["input","output"]}
268
+ */
269
+ enrich?: PreviewPipelineRequestSourceTrajectoryEnrich;
270
+ static names(): { [key: string]: string } {
271
+ return {
272
+ enrich: 'enrich',
273
+ };
274
+ }
275
+
276
+ static types(): { [key: string]: any } {
277
+ return {
278
+ enrich: PreviewPipelineRequestSourceTrajectoryEnrich,
279
+ };
280
+ }
281
+
282
+ validate() {
283
+ if(this.enrich && typeof (this.enrich as any).validate === 'function') {
284
+ (this.enrich as any).validate();
285
+ }
286
+ super.validate();
287
+ }
288
+
289
+ constructor(map?: { [key: string]: any }) {
290
+ super(map);
291
+ }
292
+ }
293
+
215
294
  export class PreviewPipelineRequestSource extends $dara.Model {
216
295
  /**
217
296
  * @remarks
218
- * The Dataset datasource config under the current AgentSpace.
297
+ * The dataset datasource config in the current AgentSpace.
298
+ *
299
+ * @example
300
+ * {"dataset":"my-dataset","filter":"status = \\"pending\\""}
219
301
  */
220
302
  dataset?: PreviewPipelineRequestSourceDataset;
221
303
  /**
222
304
  * @remarks
223
- * The input fields and field types. This parameter applies to all data source types.
305
+ * The input fields and their data types. This applies to all data source types.
306
+ *
307
+ * @example
308
+ * [{"name":"question","type":"text"}]
224
309
  */
225
310
  inputFields?: PreviewPipelineRequestSourceInputFields[];
226
311
  /**
227
312
  * @remarks
228
- * The SLS Logstore datasource config.
313
+ * The Simple Log Service Logstore datasource config.
314
+ *
315
+ * @example
316
+ * {"project":"my-sls-project","logstore":"agent-logs"}
229
317
  */
230
318
  logstore?: PreviewPipelineRequestSourceLogstore;
231
319
  /**
232
320
  * @remarks
233
- * The data source type. Currently, Simple Log Service (SLS) is supported.
321
+ * The configuration of trajectory data. 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 based on features.
322
+ *
323
+ * @example
324
+ * {"enrich":{"enabled":true,"columns":["input","output"]}}
325
+ */
326
+ trajectory?: PreviewPipelineRequestSourceTrajectory;
327
+ /**
328
+ * @remarks
329
+ * The type of the data source. Simple Log Service is currently supported.
234
330
  *
235
331
  * @example
236
332
  * SLS
@@ -241,6 +337,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
241
337
  dataset: 'dataset',
242
338
  inputFields: 'inputFields',
243
339
  logstore: 'logstore',
340
+ trajectory: 'trajectory',
244
341
  type: 'type',
245
342
  };
246
343
  }
@@ -250,6 +347,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
250
347
  dataset: PreviewPipelineRequestSourceDataset,
251
348
  inputFields: { 'type': 'array', 'itemType': PreviewPipelineRequestSourceInputFields },
252
349
  logstore: PreviewPipelineRequestSourceLogstore,
350
+ trajectory: PreviewPipelineRequestSourceTrajectory,
253
351
  type: 'string',
254
352
  };
255
353
  }
@@ -264,6 +362,9 @@ export class PreviewPipelineRequestSource extends $dara.Model {
264
362
  if(this.logstore && typeof (this.logstore as any).validate === 'function') {
265
363
  (this.logstore as any).validate();
266
364
  }
365
+ if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
366
+ (this.trajectory as any).validate();
367
+ }
267
368
  super.validate();
268
369
  }
269
370
 
@@ -275,7 +376,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
275
376
  export class PreviewPipelineRequest extends $dara.Model {
276
377
  /**
277
378
  * @remarks
278
- * The start time of the preview data window, in UNIX seconds.
379
+ * The start time of the preview data window. The value is a UNIX timestamp in seconds.
279
380
  *
280
381
  * @example
281
382
  * 1735660800
@@ -283,17 +384,23 @@ export class PreviewPipelineRequest extends $dara.Model {
283
384
  fromTime?: number;
284
385
  /**
285
386
  * @remarks
286
- * The pipeline configuration, which defines the node orchestration.
387
+ * The pipeline configuration, including node orchestration.
388
+ *
389
+ * @example
390
+ * {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
287
391
  */
288
392
  pipeline?: PreviewPipelineRequestPipeline;
289
393
  /**
290
394
  * @remarks
291
- * The pipeline data source.
395
+ * The data source of the pipeline.
396
+ *
397
+ * @example
398
+ * {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
292
399
  */
293
400
  source?: PreviewPipelineRequestSource;
294
401
  /**
295
402
  * @remarks
296
- * The end time of the preview data window, in UNIX seconds.
403
+ * The end time of the preview data window. The value is a UNIX timestamp in seconds.
297
404
  *
298
405
  * @example
299
406
  * 1735747200