@alicloud/agentloop20260520 2.3.2 → 2.3.3

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 (61) hide show
  1. package/dist/client.d.ts +16 -16
  2. package/dist/client.js +16 -16
  3. package/dist/models/CreateEvaluationTaskRequest.d.ts +11 -11
  4. package/dist/models/CreateExperimentPlanRequest.d.ts +10 -6
  5. package/dist/models/CreateExperimentPlanRequest.js.map +1 -1
  6. package/dist/models/CreateExperimentPlanResponseBody.d.ts +2 -2
  7. package/dist/models/CreatePipelineRequest.d.ts +251 -9
  8. package/dist/models/CreatePipelineRequest.js +203 -1
  9. package/dist/models/CreatePipelineRequest.js.map +1 -1
  10. package/dist/models/Evaluator.d.ts +11 -3
  11. package/dist/models/Evaluator.js +6 -0
  12. package/dist/models/Evaluator.js.map +1 -1
  13. package/dist/models/EvaluatorVariableExtractorMappingValue.d.ts +37 -0
  14. package/dist/models/EvaluatorVariableExtractorMappingValue.js +62 -0
  15. package/dist/models/EvaluatorVariableExtractorMappingValue.js.map +1 -0
  16. package/dist/models/GetEvaluationTaskResponseBody.d.ts +3 -3
  17. package/dist/models/GetExperimentPlanResponseBody.d.ts +8 -4
  18. package/dist/models/GetExperimentPlanResponseBody.js.map +1 -1
  19. package/dist/models/GetPipelineResponseBody.d.ts +172 -3
  20. package/dist/models/GetPipelineResponseBody.js +203 -1
  21. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  22. package/dist/models/ListExperimentRunsRequest.d.ts +1 -1
  23. package/dist/models/PreviewPipelineRequest.d.ts +68 -2
  24. package/dist/models/PreviewPipelineRequest.js +53 -1
  25. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  26. package/dist/models/PreviewPipelineResponseBody.d.ts +6 -6
  27. package/dist/models/RunPipelineRequest.d.ts +16 -0
  28. package/dist/models/RunPipelineRequest.js.map +1 -1
  29. package/dist/models/RunPipelineResponseBody.d.ts +15 -0
  30. package/dist/models/RunPipelineResponseBody.js.map +1 -1
  31. package/dist/models/UpdateEvaluationTaskRequest.d.ts +5 -5
  32. package/dist/models/UpdateExperimentPlanRequest.d.ts +10 -6
  33. package/dist/models/UpdateExperimentPlanRequest.js.map +1 -1
  34. package/dist/models/UpdateExperimentPlanResponseBody.d.ts +3 -3
  35. package/dist/models/UpdatePipelineRequest.d.ts +267 -13
  36. package/dist/models/UpdatePipelineRequest.js +205 -1
  37. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  38. package/dist/models/model.d.ts +27 -0
  39. package/dist/models/model.js +83 -28
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/client.ts +16 -16
  43. package/src/models/CreateEvaluationTaskRequest.ts +11 -11
  44. package/src/models/CreateExperimentPlanRequest.ts +10 -6
  45. package/src/models/CreateExperimentPlanResponseBody.ts +2 -2
  46. package/src/models/CreatePipelineRequest.ts +381 -9
  47. package/src/models/Evaluator.ts +14 -3
  48. package/src/models/EvaluatorVariableExtractorMappingValue.ts +54 -0
  49. package/src/models/GetEvaluationTaskResponseBody.ts +3 -3
  50. package/src/models/GetExperimentPlanResponseBody.ts +8 -4
  51. package/src/models/GetPipelineResponseBody.ts +302 -3
  52. package/src/models/ListExperimentRunsRequest.ts +1 -1
  53. package/src/models/PreviewPipelineRequest.ts +102 -2
  54. package/src/models/PreviewPipelineResponseBody.ts +6 -6
  55. package/src/models/RunPipelineRequest.ts +16 -0
  56. package/src/models/RunPipelineResponseBody.ts +15 -0
  57. package/src/models/UpdateEvaluationTaskRequest.ts +5 -5
  58. package/src/models/UpdateExperimentPlanRequest.ts +10 -6
  59. package/src/models/UpdateExperimentPlanResponseBody.ts +3 -3
  60. package/src/models/UpdatePipelineRequest.ts +399 -13
  61. package/src/models/model.ts +27 -0
@@ -7,7 +7,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
7
7
  export class UpdateExperimentPlanRequest extends $dara.Model {
8
8
  /**
9
9
  * @remarks
10
- * The associated dataset ID.
10
+ * The ID of the associated dataset.
11
11
  *
12
12
  * @example
13
13
  * rca_benckmark_eval
@@ -26,12 +26,12 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
26
26
  * The description.
27
27
  *
28
28
  * @example
29
- * rca_benchmark_eval_experiment offline experiment.
29
+ * rca_benchmark_eval_experiment offline experiment
30
30
  */
31
31
  description?: string;
32
32
  /**
33
33
  * @remarks
34
- * The evaluator list. Omitting this field indicates no modification. Passing an empty array clears the list.
34
+ * The list of evaluators. Omitting this field indicates no modification. Passing an empty array clears the list.
35
35
  *
36
36
  * @example
37
37
  * [{"evaluatorRef": "Builtin.agent_task_completion"}]
@@ -47,7 +47,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
47
47
  experimentType?: string;
48
48
  /**
49
49
  * @remarks
50
- * The experiment configuration list. When specified, the entire list is replaced. The number of items must be 1 to 5.
50
+ * The list of experiment configurations. When specified, the entire list is replaced. The number of configurations must be 1 to 5.
51
51
  *
52
52
  * @example
53
53
  * [{"label": "A", "name": "baseline", "modelName": "qwen-max"}]
@@ -58,13 +58,17 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
58
58
  * Optional.
59
59
  *
60
60
  * @example
61
- * {"question": "How do I get a refund?"}
61
+ * {"question": "How do I request a refund?"}
62
62
  */
63
63
  input?: { [key: string]: any };
64
+ /**
65
+ * @remarks
66
+ * The name of the associated data processing pipeline. This parameter is optional. If not specified, the value is not updated. If an empty character string is specified, the association is dissociated. After association, when an experiment under this plan finishes execution and writes results to the experiment result Logstore, the system filters by the traceId of the experiment trace and calls PreviewPipeline. The pipeline-processed results are then written together.
67
+ */
64
68
  pipelineName?: string;
65
69
  /**
66
70
  * @remarks
67
- * The experiment plan name.
71
+ * The name of the experiment plan.
68
72
  *
69
73
  * @example
70
74
  * rca_benchmark_eval_experiment
@@ -8,12 +8,12 @@ export class UpdateExperimentPlanResponseBody extends $dara.Model {
8
8
  * The prompt message.
9
9
  *
10
10
  * @example
11
- * Experiment plan updated successfully.
11
+ * Experiment plan updated successfully
12
12
  */
13
13
  message?: string;
14
14
  /**
15
15
  * @remarks
16
- * The experiment plan ID.
16
+ * The ID of the experiment plan.
17
17
  *
18
18
  * @example
19
19
  * exp-plan-e95bff54685a4ae29ff3a834c1008a71
@@ -29,7 +29,7 @@ export class UpdateExperimentPlanResponseBody extends $dara.Model {
29
29
  requestId?: string;
30
30
  /**
31
31
  * @remarks
32
- * The update result. The value is updated if the operation is successful.
32
+ * The update result. A value of updated indicates success.
33
33
  *
34
34
  * @example
35
35
  * updated
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The data processing start time, in UNIX millisecond timestamp.
8
+ * The start time for data processing, in UNIX millisecond timestamp.
9
9
  *
10
10
  * @example
11
11
  * 1735660800000
@@ -13,7 +13,7 @@ export class UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
13
13
  fromTime?: number;
14
14
  /**
15
15
  * @remarks
16
- * The data processing end time, in UNIX millisecond timestamp.
16
+ * The end time for data processing, in UNIX millisecond timestamp.
17
17
  *
18
18
  * @example
19
19
  * 1735747200000
@@ -53,7 +53,7 @@ export class UpdatePipelineRequestExecutePolicyScheduled extends $dara.Model {
53
53
  fromTime?: number;
54
54
  /**
55
55
  * @remarks
56
- * The scheduling interval, such as 1h.
56
+ * The scheduling interval. For example, 1h.
57
57
  *
58
58
  * @example
59
59
  * 1h
@@ -85,7 +85,7 @@ export class UpdatePipelineRequestExecutePolicyScheduled extends $dara.Model {
85
85
  export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
86
86
  /**
87
87
  * @remarks
88
- * The scheduling mode, such as Scheduled (timed scheduling) or RunOnce (one-time execution).
88
+ * The scheduling mode. For example, Scheduled (timed scheduling) or RunOnce (one-time execution).
89
89
  *
90
90
  * @example
91
91
  * Scheduled
@@ -143,7 +143,7 @@ export class UpdatePipelineRequestPipelineNodes extends $dara.Model {
143
143
  id?: string;
144
144
  /**
145
145
  * @remarks
146
- * The node parameters in key-value format. The parameters vary by node type.
146
+ * The node parameters in key-value format. The parameters vary depending on the node type.
147
147
  */
148
148
  parameters?: { [key: string]: any };
149
149
  /**
@@ -212,8 +212,271 @@ export class UpdatePipelineRequestPipeline extends $dara.Model {
212
212
  }
213
213
  }
214
214
 
215
+ export class UpdatePipelineRequestSinkConditionDefaultSinkDataset extends $dara.Model {
216
+ /**
217
+ * @remarks
218
+ * The name of the AgentSpace to which the default destination dataset belongs.
219
+ *
220
+ * @example
221
+ * my-agent-space
222
+ */
223
+ agentSpace?: string;
224
+ /**
225
+ * @remarks
226
+ * The name of the default destination dataset.
227
+ *
228
+ * @example
229
+ * other-result
230
+ */
231
+ dataset?: string;
232
+ static names(): { [key: string]: string } {
233
+ return {
234
+ agentSpace: 'agentSpace',
235
+ dataset: 'dataset',
236
+ };
237
+ }
238
+
239
+ static types(): { [key: string]: any } {
240
+ return {
241
+ agentSpace: 'string',
242
+ dataset: 'string',
243
+ };
244
+ }
245
+
246
+ validate() {
247
+ super.validate();
248
+ }
249
+
250
+ constructor(map?: { [key: string]: any }) {
251
+ super(map);
252
+ }
253
+ }
254
+
255
+ export class UpdatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
256
+ /**
257
+ * @remarks
258
+ * The default destination dataset.
259
+ */
260
+ dataset?: UpdatePipelineRequestSinkConditionDefaultSinkDataset;
261
+ /**
262
+ * @remarks
263
+ * The default destination type. Currently, only dataset is supported.
264
+ *
265
+ * @example
266
+ * dataset
267
+ */
268
+ type?: string;
269
+ static names(): { [key: string]: string } {
270
+ return {
271
+ dataset: 'dataset',
272
+ type: 'type',
273
+ };
274
+ }
275
+
276
+ static types(): { [key: string]: any } {
277
+ return {
278
+ dataset: UpdatePipelineRequestSinkConditionDefaultSinkDataset,
279
+ type: 'string',
280
+ };
281
+ }
282
+
283
+ validate() {
284
+ if(this.dataset && typeof (this.dataset as any).validate === 'function') {
285
+ (this.dataset as any).validate();
286
+ }
287
+ super.validate();
288
+ }
289
+
290
+ constructor(map?: { [key: string]: any }) {
291
+ super(map);
292
+ }
293
+ }
294
+
295
+ export class UpdatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.Model {
296
+ /**
297
+ * @remarks
298
+ * The name of the AgentSpace to which the destination dataset belongs.
299
+ *
300
+ * @example
301
+ * my-agent-space
302
+ */
303
+ agentSpace?: string;
304
+ /**
305
+ * @remarks
306
+ * The name of the destination dataset.
307
+ *
308
+ * @example
309
+ * refund-result
310
+ */
311
+ dataset?: string;
312
+ static names(): { [key: string]: string } {
313
+ return {
314
+ agentSpace: 'agentSpace',
315
+ dataset: 'dataset',
316
+ };
317
+ }
318
+
319
+ static types(): { [key: string]: any } {
320
+ return {
321
+ agentSpace: 'string',
322
+ dataset: 'string',
323
+ };
324
+ }
325
+
326
+ validate() {
327
+ super.validate();
328
+ }
329
+
330
+ constructor(map?: { [key: string]: any }) {
331
+ super(map);
332
+ }
333
+ }
334
+
335
+ export class UpdatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
336
+ /**
337
+ * @remarks
338
+ * The destination dataset for the route.
339
+ */
340
+ dataset?: UpdatePipelineRequestSinkConditionRoutesSinkDataset;
341
+ /**
342
+ * @remarks
343
+ * The route destination type. Currently, only dataset is supported.
344
+ *
345
+ * @example
346
+ * dataset
347
+ */
348
+ type?: string;
349
+ static names(): { [key: string]: string } {
350
+ return {
351
+ dataset: 'dataset',
352
+ type: 'type',
353
+ };
354
+ }
355
+
356
+ static types(): { [key: string]: any } {
357
+ return {
358
+ dataset: UpdatePipelineRequestSinkConditionRoutesSinkDataset,
359
+ type: 'string',
360
+ };
361
+ }
362
+
363
+ validate() {
364
+ if(this.dataset && typeof (this.dataset as any).validate === 'function') {
365
+ (this.dataset as any).validate();
366
+ }
367
+ super.validate();
368
+ }
369
+
370
+ constructor(map?: { [key: string]: any }) {
371
+ super(map);
372
+ }
373
+ }
374
+
375
+ export class UpdatePipelineRequestSinkConditionRoutes extends $dara.Model {
376
+ /**
377
+ * @remarks
378
+ * The route expression in SPL. Only where, project, and extend are supported.
379
+ *
380
+ * @example
381
+ * * | where intent = \\"refund\\"
382
+ */
383
+ expression?: string;
384
+ /**
385
+ * @remarks
386
+ * The route ID.
387
+ *
388
+ * @example
389
+ * refund
390
+ */
391
+ id?: string;
392
+ /**
393
+ * @remarks
394
+ * The write destination for the route.
395
+ */
396
+ sink?: UpdatePipelineRequestSinkConditionRoutesSink;
397
+ static names(): { [key: string]: string } {
398
+ return {
399
+ expression: 'expression',
400
+ id: 'id',
401
+ sink: 'sink',
402
+ };
403
+ }
404
+
405
+ static types(): { [key: string]: any } {
406
+ return {
407
+ expression: 'string',
408
+ id: 'string',
409
+ sink: UpdatePipelineRequestSinkConditionRoutesSink,
410
+ };
411
+ }
412
+
413
+ validate() {
414
+ if(this.sink && typeof (this.sink as any).validate === 'function') {
415
+ (this.sink as any).validate();
416
+ }
417
+ super.validate();
418
+ }
419
+
420
+ constructor(map?: { [key: string]: any }) {
421
+ super(map);
422
+ }
423
+ }
424
+
425
+ export class UpdatePipelineRequestSinkCondition extends $dara.Model {
426
+ /**
427
+ * @remarks
428
+ * The default write destination used when no conditional route is matched.
429
+ */
430
+ defaultSink?: UpdatePipelineRequestSinkConditionDefaultSink;
431
+ /**
432
+ * @remarks
433
+ * The route matching mode. Currently, only all is supported.
434
+ *
435
+ * @example
436
+ * all
437
+ */
438
+ matchMode?: string;
439
+ /**
440
+ * @remarks
441
+ * The list of conditional routes.
442
+ */
443
+ routes?: UpdatePipelineRequestSinkConditionRoutes[];
444
+ static names(): { [key: string]: string } {
445
+ return {
446
+ defaultSink: 'defaultSink',
447
+ matchMode: 'matchMode',
448
+ routes: 'routes',
449
+ };
450
+ }
451
+
452
+ static types(): { [key: string]: any } {
453
+ return {
454
+ defaultSink: UpdatePipelineRequestSinkConditionDefaultSink,
455
+ matchMode: 'string',
456
+ routes: { 'type': 'array', 'itemType': UpdatePipelineRequestSinkConditionRoutes },
457
+ };
458
+ }
459
+
460
+ validate() {
461
+ if(this.defaultSink && typeof (this.defaultSink as any).validate === 'function') {
462
+ (this.defaultSink as any).validate();
463
+ }
464
+ if(Array.isArray(this.routes)) {
465
+ $dara.Model.validateArray(this.routes);
466
+ }
467
+ super.validate();
468
+ }
469
+
470
+ constructor(map?: { [key: string]: any }) {
471
+ super(map);
472
+ }
473
+ }
474
+
215
475
  export class UpdatePipelineRequestSinkDataset extends $dara.Model {
216
476
  /**
477
+ * @remarks
478
+ * The name of the AgentSpace to which the destination dataset belongs.
479
+ *
217
480
  * @example
218
481
  * my-agent-space
219
482
  */
@@ -252,19 +515,25 @@ export class UpdatePipelineRequestSinkDataset extends $dara.Model {
252
515
  export class UpdatePipelineRequestSink extends $dara.Model {
253
516
  /**
254
517
  * @remarks
255
- * The destination dataset configuration.
518
+ * The conditional routing configuration. This parameter takes effect only when sink.type is set to condition.
519
+ */
520
+ condition?: UpdatePipelineRequestSinkCondition;
521
+ /**
522
+ * @remarks
523
+ * The destination dataset configuration for the dataset sink. This parameter takes effect only when sink.type is set to dataset.
256
524
  */
257
525
  dataset?: UpdatePipelineRequestSinkDataset;
258
526
  /**
259
527
  * @remarks
260
- * The sink type, such as Dataset.
528
+ * The sink type. Valid values: dataset and condition.
261
529
  *
262
530
  * @example
263
- * Dataset
531
+ * condition
264
532
  */
265
533
  type?: string;
266
534
  static names(): { [key: string]: string } {
267
535
  return {
536
+ condition: 'condition',
268
537
  dataset: 'dataset',
269
538
  type: 'type',
270
539
  };
@@ -272,12 +541,16 @@ export class UpdatePipelineRequestSink extends $dara.Model {
272
541
 
273
542
  static types(): { [key: string]: any } {
274
543
  return {
544
+ condition: UpdatePipelineRequestSinkCondition,
275
545
  dataset: UpdatePipelineRequestSinkDataset,
276
546
  type: 'string',
277
547
  };
278
548
  }
279
549
 
280
550
  validate() {
551
+ if(this.condition && typeof (this.condition as any).validate === 'function') {
552
+ (this.condition as any).validate();
553
+ }
281
554
  if(this.dataset && typeof (this.dataset as any).validate === 'function') {
282
555
  (this.dataset as any).validate();
283
556
  }
@@ -289,6 +562,86 @@ export class UpdatePipelineRequestSink extends $dara.Model {
289
562
  }
290
563
  }
291
564
 
565
+ export class UpdatePipelineRequestSourceDataset extends $dara.Model {
566
+ /**
567
+ * @remarks
568
+ * The name of the source dataset.
569
+ *
570
+ * @example
571
+ * my-dataset
572
+ */
573
+ dataset?: string;
574
+ /**
575
+ * @remarks
576
+ * The filter condition for the dataset data.
577
+ *
578
+ * @example
579
+ * status = \\"pending\\"
580
+ */
581
+ filter?: string;
582
+ static names(): { [key: string]: string } {
583
+ return {
584
+ dataset: 'dataset',
585
+ filter: 'filter',
586
+ };
587
+ }
588
+
589
+ static types(): { [key: string]: any } {
590
+ return {
591
+ dataset: 'string',
592
+ filter: 'string',
593
+ };
594
+ }
595
+
596
+ validate() {
597
+ super.validate();
598
+ }
599
+
600
+ constructor(map?: { [key: string]: any }) {
601
+ super(map);
602
+ }
603
+ }
604
+
605
+ export class UpdatePipelineRequestSourceInputFields extends $dara.Model {
606
+ /**
607
+ * @remarks
608
+ * The field name.
609
+ *
610
+ * @example
611
+ * question
612
+ */
613
+ name?: string;
614
+ /**
615
+ * @remarks
616
+ * The field type. Valid values: text, long, double, and json.
617
+ *
618
+ * @example
619
+ * text
620
+ */
621
+ type?: string;
622
+ static names(): { [key: string]: string } {
623
+ return {
624
+ name: 'name',
625
+ type: 'type',
626
+ };
627
+ }
628
+
629
+ static types(): { [key: string]: any } {
630
+ return {
631
+ name: 'string',
632
+ type: 'string',
633
+ };
634
+ }
635
+
636
+ validate() {
637
+ super.validate();
638
+ }
639
+
640
+ constructor(map?: { [key: string]: any }) {
641
+ super(map);
642
+ }
643
+ }
644
+
292
645
  export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
293
646
  /**
294
647
  * @remarks
@@ -298,6 +651,14 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
298
651
  * my-sls-logstore
299
652
  */
300
653
  logstore?: string;
654
+ /**
655
+ * @remarks
656
+ * The name of the SLS project.
657
+ *
658
+ * @example
659
+ * my-sls-project
660
+ */
661
+ project?: string;
301
662
  /**
302
663
  * @remarks
303
664
  * The data filtered query statement in SLS query/analysis syntax.
@@ -309,6 +670,7 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
309
670
  static names(): { [key: string]: string } {
310
671
  return {
311
672
  logstore: 'logstore',
673
+ project: 'project',
312
674
  query: 'query',
313
675
  };
314
676
  }
@@ -316,6 +678,7 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
316
678
  static types(): { [key: string]: any } {
317
679
  return {
318
680
  logstore: 'string',
681
+ project: 'string',
319
682
  query: 'string',
320
683
  };
321
684
  }
@@ -330,6 +693,16 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
330
693
  }
331
694
 
332
695
  export class UpdatePipelineRequestSource extends $dara.Model {
696
+ /**
697
+ * @remarks
698
+ * The dataset datasource config within the current AgentSpace.
699
+ */
700
+ dataset?: UpdatePipelineRequestSourceDataset;
701
+ /**
702
+ * @remarks
703
+ * The input fields and their types. This parameter applies to all data source types.
704
+ */
705
+ inputFields?: UpdatePipelineRequestSourceInputFields[];
333
706
  /**
334
707
  * @remarks
335
708
  * The SLS Logstore datasource config.
@@ -337,14 +710,16 @@ export class UpdatePipelineRequestSource extends $dara.Model {
337
710
  logstore?: UpdatePipelineRequestSourceLogstore;
338
711
  /**
339
712
  * @remarks
340
- * The data source type, such as SLS.
713
+ * The data source type. Valid values: logstore and dataset.
341
714
  *
342
715
  * @example
343
- * SLS
716
+ * dataset
344
717
  */
345
718
  type?: string;
346
719
  static names(): { [key: string]: string } {
347
720
  return {
721
+ dataset: 'dataset',
722
+ inputFields: 'inputFields',
348
723
  logstore: 'logstore',
349
724
  type: 'type',
350
725
  };
@@ -352,12 +727,20 @@ export class UpdatePipelineRequestSource extends $dara.Model {
352
727
 
353
728
  static types(): { [key: string]: any } {
354
729
  return {
730
+ dataset: UpdatePipelineRequestSourceDataset,
731
+ inputFields: { 'type': 'array', 'itemType': UpdatePipelineRequestSourceInputFields },
355
732
  logstore: UpdatePipelineRequestSourceLogstore,
356
733
  type: 'string',
357
734
  };
358
735
  }
359
736
 
360
737
  validate() {
738
+ if(this.dataset && typeof (this.dataset as any).validate === 'function') {
739
+ (this.dataset as any).validate();
740
+ }
741
+ if(Array.isArray(this.inputFields)) {
742
+ $dara.Model.validateArray(this.inputFields);
743
+ }
361
744
  if(this.logstore && typeof (this.logstore as any).validate === 'function') {
362
745
  (this.logstore as any).validate();
363
746
  }
@@ -375,12 +758,12 @@ export class UpdatePipelineRequest extends $dara.Model {
375
758
  * The description of the pipeline, which helps users understand its purpose.
376
759
  *
377
760
  * @example
378
- * 我的流水线
761
+ * My pipeline
379
762
  */
380
763
  description?: string;
381
764
  /**
382
765
  * @remarks
383
- * The execution policy. If specified, the existing execution policy is entirely overwritten.
766
+ * The scheduling policy. If provided, the entire scheduling policy is overwritten.
384
767
  */
385
768
  executePolicy?: UpdatePipelineRequestExecutePolicy;
386
769
  /**
@@ -390,7 +773,7 @@ export class UpdatePipelineRequest extends $dara.Model {
390
773
  pipeline?: UpdatePipelineRequestPipeline;
391
774
  /**
392
775
  * @remarks
393
- * The pipeline sink (data write destination). If specified, the existing sink configuration is entirely overwritten.
776
+ * The pipeline sink (data write destination). If provided, the entire sink configuration is overwritten.
394
777
  */
395
778
  sink?: UpdatePipelineRequestSink;
396
779
  /**
@@ -399,6 +782,9 @@ export class UpdatePipelineRequest extends $dara.Model {
399
782
  */
400
783
  source?: UpdatePipelineRequestSource;
401
784
  /**
785
+ * @remarks
786
+ * The idempotency token. A unique string generated by the client to ensure the idempotency of the update operation.
787
+ *
402
788
  * @example
403
789
  * a1b2c3d4-1234-5678-90ab-cdef12345678
404
790
  */
@@ -6,8 +6,16 @@ export { CreatePipelineRequestExecutePolicyScheduled } from './CreatePipelineReq
6
6
  export { CreatePipelineRequestExecutePolicy } from './CreatePipelineRequest';
7
7
  export { CreatePipelineRequestPipelineNodes } from './CreatePipelineRequest';
8
8
  export { CreatePipelineRequestPipeline } from './CreatePipelineRequest';
9
+ export { CreatePipelineRequestSinkConditionDefaultSinkDataset } from './CreatePipelineRequest';
10
+ export { CreatePipelineRequestSinkConditionDefaultSink } from './CreatePipelineRequest';
11
+ export { CreatePipelineRequestSinkConditionRoutesSinkDataset } from './CreatePipelineRequest';
12
+ export { CreatePipelineRequestSinkConditionRoutesSink } from './CreatePipelineRequest';
13
+ export { CreatePipelineRequestSinkConditionRoutes } from './CreatePipelineRequest';
14
+ export { CreatePipelineRequestSinkCondition } from './CreatePipelineRequest';
9
15
  export { CreatePipelineRequestSinkDataset } from './CreatePipelineRequest';
10
16
  export { CreatePipelineRequestSink } from './CreatePipelineRequest';
17
+ export { CreatePipelineRequestSourceDataset } from './CreatePipelineRequest';
18
+ export { CreatePipelineRequestSourceInputFields } from './CreatePipelineRequest';
11
19
  export { CreatePipelineRequestSourceLogstore } from './CreatePipelineRequest';
12
20
  export { CreatePipelineRequestSource } from './CreatePipelineRequest';
13
21
  export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBody';
@@ -27,8 +35,16 @@ export { GetPipelineResponseBodyExecutePolicyScheduled } from './GetPipelineResp
27
35
  export { GetPipelineResponseBodyExecutePolicy } from './GetPipelineResponseBody';
28
36
  export { GetPipelineResponseBodyPipelineNodes } from './GetPipelineResponseBody';
29
37
  export { GetPipelineResponseBodyPipeline } from './GetPipelineResponseBody';
38
+ export { GetPipelineResponseBodySinkConditionDefaultSinkDataset } from './GetPipelineResponseBody';
39
+ export { GetPipelineResponseBodySinkConditionDefaultSink } from './GetPipelineResponseBody';
40
+ export { GetPipelineResponseBodySinkConditionRoutesSinkDataset } from './GetPipelineResponseBody';
41
+ export { GetPipelineResponseBodySinkConditionRoutesSink } from './GetPipelineResponseBody';
42
+ export { GetPipelineResponseBodySinkConditionRoutes } from './GetPipelineResponseBody';
43
+ export { GetPipelineResponseBodySinkCondition } from './GetPipelineResponseBody';
30
44
  export { GetPipelineResponseBodySinkDataset } from './GetPipelineResponseBody';
31
45
  export { GetPipelineResponseBodySink } from './GetPipelineResponseBody';
46
+ export { GetPipelineResponseBodySourceDataset } from './GetPipelineResponseBody';
47
+ export { GetPipelineResponseBodySourceInputFields } from './GetPipelineResponseBody';
32
48
  export { GetPipelineResponseBodySourceLogstore } from './GetPipelineResponseBody';
33
49
  export { GetPipelineResponseBodySource } from './GetPipelineResponseBody';
34
50
  export { GetPipelineStatsResponseBodySummary } from './GetPipelineStatsResponseBody';
@@ -49,6 +65,8 @@ export { ListPipelinesResponseBodyPipelinesExecutePolicy } from './ListPipelines
49
65
  export { ListPipelinesResponseBodyPipelines } from './ListPipelinesResponseBody';
50
66
  export { PreviewPipelineRequestPipelineNodes } from './PreviewPipelineRequest';
51
67
  export { PreviewPipelineRequestPipeline } from './PreviewPipelineRequest';
68
+ export { PreviewPipelineRequestSourceDataset } from './PreviewPipelineRequest';
69
+ export { PreviewPipelineRequestSourceInputFields } from './PreviewPipelineRequest';
52
70
  export { PreviewPipelineRequestSourceLogstore } from './PreviewPipelineRequest';
53
71
  export { PreviewPipelineRequestSource } from './PreviewPipelineRequest';
54
72
  export { PreviewPipelineResponseBodyMeta } from './PreviewPipelineResponseBody';
@@ -61,8 +79,16 @@ export { UpdatePipelineRequestExecutePolicyScheduled } from './UpdatePipelineReq
61
79
  export { UpdatePipelineRequestExecutePolicy } from './UpdatePipelineRequest';
62
80
  export { UpdatePipelineRequestPipelineNodes } from './UpdatePipelineRequest';
63
81
  export { UpdatePipelineRequestPipeline } from './UpdatePipelineRequest';
82
+ export { UpdatePipelineRequestSinkConditionDefaultSinkDataset } from './UpdatePipelineRequest';
83
+ export { UpdatePipelineRequestSinkConditionDefaultSink } from './UpdatePipelineRequest';
84
+ export { UpdatePipelineRequestSinkConditionRoutesSinkDataset } from './UpdatePipelineRequest';
85
+ export { UpdatePipelineRequestSinkConditionRoutesSink } from './UpdatePipelineRequest';
86
+ export { UpdatePipelineRequestSinkConditionRoutes } from './UpdatePipelineRequest';
87
+ export { UpdatePipelineRequestSinkCondition } from './UpdatePipelineRequest';
64
88
  export { UpdatePipelineRequestSinkDataset } from './UpdatePipelineRequest';
65
89
  export { UpdatePipelineRequestSink } from './UpdatePipelineRequest';
90
+ export { UpdatePipelineRequestSourceDataset } from './UpdatePipelineRequest';
91
+ export { UpdatePipelineRequestSourceInputFields } from './UpdatePipelineRequest';
66
92
  export { UpdatePipelineRequestSourceLogstore } from './UpdatePipelineRequest';
67
93
  export { UpdatePipelineRequestSource } from './UpdatePipelineRequest';
68
94
  export { BackfillStrategy } from './BackfillStrategy';
@@ -80,6 +106,7 @@ export { ModelParameters } from './ModelParameters';
80
106
  export { OfflineExperimentConfig } from './OfflineExperimentConfig';
81
107
  export { PromptTemplateItem } from './PromptTemplateItem';
82
108
  export { RunStrategies } from './RunStrategies';
109
+ export { EvaluatorVariableExtractorMappingValue } from './EvaluatorVariableExtractorMappingValue';
83
110
  export { AddDatasetDataRequest } from './AddDatasetDataRequest';
84
111
  export { AddDatasetDataResponseBody } from './AddDatasetDataResponseBody';
85
112
  export { AddDatasetDataResponse } from './AddDatasetDataResponse';