@alicloud/agentloop20260520 2.5.0 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +36 -24
- package/dist/client.js +36 -24
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDatasetVersionRequest.d.ts +3 -3
- package/dist/models/CreateExperimentPlanRequest.d.ts +11 -8
- package/dist/models/CreateExperimentPlanRequest.js.map +1 -1
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +32 -29
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +3 -3
- package/dist/models/GetAgentSpaceResponseBody.d.ts +11 -2
- package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
- package/dist/models/GetEvaluationRunResponseBody.d.ts +27 -17
- package/dist/models/GetEvaluationRunResponseBody.js +5 -0
- package/dist/models/GetEvaluationRunResponseBody.js.map +1 -1
- package/dist/models/GetEvaluationTaskResponseBody.d.ts +23 -13
- package/dist/models/GetEvaluationTaskResponseBody.js +5 -0
- package/dist/models/GetEvaluationTaskResponseBody.js.map +1 -1
- package/dist/models/GetOptimizeTaskResponseBody.d.ts +14 -5
- package/dist/models/GetOptimizeTaskResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +25 -21
- package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
- package/dist/models/ListAgentSpacesRequest.d.ts +2 -2
- package/dist/models/ListAgentSpacesResponseBody.d.ts +5 -5
- package/dist/models/ListAgentSpacesShrinkRequest.d.ts +2 -2
- package/dist/models/ListDatasetVersionsRequest.d.ts +1 -1
- package/dist/models/ListEvaluatorsRequest.d.ts +2 -2
- package/dist/models/ListEvaluatorsResponseBody.d.ts +7 -7
- package/dist/models/ListExperimentPlansRequest.d.ts +5 -5
- package/dist/models/ListExperimentPlansResponseBody.d.ts +3 -3
- package/dist/models/ListOptimizeRunsRequest.d.ts +6 -6
- package/dist/models/ListOptimizeRunsResponseBody.d.ts +25 -8
- package/dist/models/ListOptimizeRunsResponseBody.js.map +1 -1
- package/dist/models/ListOptimizeTasksRequest.d.ts +2 -2
- package/dist/models/ListOptimizeTasksResponseBody.d.ts +17 -8
- package/dist/models/ListOptimizeTasksResponseBody.js.map +1 -1
- package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
- package/dist/models/ListPipelineRunsResponseBody.d.ts +18 -9
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/MetaSchemaValue.d.ts +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +13 -10
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +12 -12
- package/dist/models/UpdateContextStoreRequest.d.ts +59 -45
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +5 -5
- package/dist/models/UpdateEvaluatorSkillRequest.d.ts +11 -11
- package/dist/models/UpdateExperimentPlanRequest.d.ts +7 -4
- package/dist/models/UpdateExperimentPlanRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +36 -24
- package/src/models/CreateDatasetVersionRequest.ts +3 -3
- package/src/models/CreateExperimentPlanRequest.ts +11 -8
- package/src/models/CreateExperimentPlanResponseBody.ts +1 -1
- package/src/models/CreatePipelineRequest.ts +32 -29
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DescribeRegionsRequest.ts +1 -1
- package/src/models/DescribeRegionsResponseBody.ts +3 -3
- package/src/models/GetAgentSpaceResponseBody.ts +11 -2
- package/src/models/GetEvaluationRunResponseBody.ts +30 -17
- package/src/models/GetEvaluationTaskResponseBody.ts +26 -13
- package/src/models/GetOptimizeTaskResponseBody.ts +14 -5
- package/src/models/GetPipelineRunResponseBody.ts +25 -21
- package/src/models/ListAgentSpacesRequest.ts +2 -2
- package/src/models/ListAgentSpacesResponseBody.ts +5 -5
- package/src/models/ListAgentSpacesShrinkRequest.ts +2 -2
- package/src/models/ListDatasetVersionsRequest.ts +1 -1
- package/src/models/ListEvaluatorsRequest.ts +2 -2
- package/src/models/ListEvaluatorsResponseBody.ts +7 -7
- package/src/models/ListExperimentPlansRequest.ts +5 -5
- package/src/models/ListExperimentPlansResponseBody.ts +3 -3
- package/src/models/ListOptimizeRunsRequest.ts +6 -6
- package/src/models/ListOptimizeRunsResponseBody.ts +25 -8
- package/src/models/ListOptimizeTasksRequest.ts +2 -2
- package/src/models/ListOptimizeTasksResponseBody.ts +17 -8
- package/src/models/ListPipelineRunsRequest.ts +5 -5
- package/src/models/ListPipelineRunsResponseBody.ts +18 -9
- package/src/models/MetaSchemaValue.ts +1 -1
- package/src/models/PreviewPipelineRequest.ts +13 -10
- package/src/models/PreviewPipelineResponseBody.ts +12 -12
- package/src/models/UpdateContextStoreRequest.ts +59 -45
- package/src/models/UpdateContextStoreResponseBody.ts +5 -5
- package/src/models/UpdateEvaluatorSkillRequest.ts +11 -11
- package/src/models/UpdateExperimentPlanRequest.ts +7 -4
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The bootstrap historical start
|
|
8
|
+
* The bootstrap historical start point as a UNIX timestamp in seconds. It shares 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
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1735660800
|
|
@@ -35,7 +35,7 @@ export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
|
35
35
|
export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The start time of the data processing window as a UNIX timestamp in seconds. The value must be
|
|
38
|
+
* The start time of the data processing window as a UNIX timestamp in seconds. The value must be less than the toTime value.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* 1735660800
|
|
@@ -43,7 +43,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
43
43
|
fromTime?: number;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The end time of the data processing window as a UNIX timestamp in seconds. The value must be
|
|
46
|
+
* The end time of the data processing window as a UNIX timestamp in seconds. The value must be greater than the fromTime value.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 1735747200
|
|
@@ -75,7 +75,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
75
75
|
export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The start time
|
|
78
|
+
* The scheduling start time as a UNIX timestamp in milliseconds.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* 1735660800000
|
|
@@ -115,7 +115,7 @@ export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
|
115
115
|
export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The continuous execution configuration
|
|
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
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* {"fromTime":1735660800}
|
|
@@ -131,7 +131,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
131
131
|
mode?: string;
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The single execution configuration. This parameter is required only when the mode is
|
|
134
|
+
* The single execution configuration. This parameter is required only when the mode is RunOnce.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* {"fromTime":1735660800,"toTime":1735664400}
|
|
@@ -139,7 +139,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
139
139
|
runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
|
|
140
140
|
/**
|
|
141
141
|
* @remarks
|
|
142
|
-
* The periodic scheduling configuration. This parameter is required only when the mode is
|
|
142
|
+
* The periodic scheduling configuration. This parameter is required only when the mode is Scheduled.
|
|
143
143
|
*
|
|
144
144
|
* @example
|
|
145
145
|
* {"interval":"1h","fromTime":1735660800}
|
|
@@ -192,7 +192,10 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
192
192
|
id?: string;
|
|
193
193
|
/**
|
|
194
194
|
* @remarks
|
|
195
|
-
* The parameters of the node
|
|
195
|
+
* The parameters of the node. This is a key-value structure that varies based on the node type.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
* {"ID": "ID"}
|
|
196
199
|
*/
|
|
197
200
|
parameters?: { [key: string]: any };
|
|
198
201
|
/**
|
|
@@ -312,7 +315,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
|
|
|
312
315
|
dataset?: CreatePipelineRequestSinkConditionDefaultSinkDataset;
|
|
313
316
|
/**
|
|
314
317
|
* @remarks
|
|
315
|
-
* The default destination type.
|
|
318
|
+
* The default destination type. Currently, only dataset is supported.
|
|
316
319
|
*
|
|
317
320
|
* @example
|
|
318
321
|
* dataset
|
|
@@ -387,12 +390,12 @@ export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
|
|
|
387
390
|
export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
388
391
|
/**
|
|
389
392
|
* @remarks
|
|
390
|
-
* The destination dataset
|
|
393
|
+
* The destination dataset for the route.
|
|
391
394
|
*/
|
|
392
395
|
dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
|
|
393
396
|
/**
|
|
394
397
|
* @remarks
|
|
395
|
-
* The route destination type.
|
|
398
|
+
* The route destination type. Currently, only dataset is supported.
|
|
396
399
|
*
|
|
397
400
|
* @example
|
|
398
401
|
* dataset
|
|
@@ -443,7 +446,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
|
443
446
|
id?: string;
|
|
444
447
|
/**
|
|
445
448
|
* @remarks
|
|
446
|
-
* The
|
|
449
|
+
* The sink for the route.
|
|
447
450
|
*/
|
|
448
451
|
sink?: CreatePipelineRequestSinkConditionRoutesSink;
|
|
449
452
|
static names(): { [key: string]: string } {
|
|
@@ -477,12 +480,12 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
|
477
480
|
export class CreatePipelineRequestSinkCondition extends $dara.Model {
|
|
478
481
|
/**
|
|
479
482
|
* @remarks
|
|
480
|
-
* The default
|
|
483
|
+
* The default sink used when no conditional route is matched.
|
|
481
484
|
*/
|
|
482
485
|
defaultSink?: CreatePipelineRequestSinkConditionDefaultSink;
|
|
483
486
|
/**
|
|
484
487
|
* @remarks
|
|
485
|
-
* The route matching mode.
|
|
488
|
+
* The route matching mode. Currently, only all is supported.
|
|
486
489
|
*
|
|
487
490
|
* @example
|
|
488
491
|
* all
|
|
@@ -567,7 +570,7 @@ export class CreatePipelineRequestSinkDataset extends $dara.Model {
|
|
|
567
570
|
export class CreatePipelineRequestSink extends $dara.Model {
|
|
568
571
|
/**
|
|
569
572
|
* @remarks
|
|
570
|
-
* The conditional routing configuration
|
|
573
|
+
* The conditional routing configuration, which is used only when sink.type is set to condition.
|
|
571
574
|
*/
|
|
572
575
|
condition?: CreatePipelineRequestSinkCondition;
|
|
573
576
|
/**
|
|
@@ -577,7 +580,7 @@ export class CreatePipelineRequestSink extends $dara.Model {
|
|
|
577
580
|
dataset?: CreatePipelineRequestSinkDataset;
|
|
578
581
|
/**
|
|
579
582
|
* @remarks
|
|
580
|
-
* The destination type. Currently,
|
|
583
|
+
* The destination type. Currently, dataset is supported.
|
|
581
584
|
*
|
|
582
585
|
* @example
|
|
583
586
|
* Dataset
|
|
@@ -665,7 +668,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
|
|
|
665
668
|
name?: string;
|
|
666
669
|
/**
|
|
667
670
|
* @remarks
|
|
668
|
-
* The
|
|
671
|
+
* The type of the field. Valid values: text, long, double, and json.
|
|
669
672
|
*
|
|
670
673
|
* @example
|
|
671
674
|
* text
|
|
@@ -747,7 +750,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
747
750
|
export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
748
751
|
/**
|
|
749
752
|
* @remarks
|
|
750
|
-
* The list of enrichment columns. This parameter is retained for
|
|
753
|
+
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs only the fixed column agent_trajectory, so this parameter no longer affects the output.
|
|
751
754
|
*
|
|
752
755
|
* @example
|
|
753
756
|
* ["input","output","session_id"]
|
|
@@ -790,7 +793,7 @@ export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
790
793
|
export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
791
794
|
/**
|
|
792
795
|
* @remarks
|
|
793
|
-
* The trajectory enrichment configuration. It mounts trajectory data into the scrubbing result based on trace_id. When writing to
|
|
796
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the scrubbing result based on trace_id. When writing to the dataset, the data is stored in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
|
|
794
797
|
*
|
|
795
798
|
* @example
|
|
796
799
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -823,7 +826,7 @@ export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
823
826
|
export class CreatePipelineRequestSource extends $dara.Model {
|
|
824
827
|
/**
|
|
825
828
|
* @remarks
|
|
826
|
-
* The
|
|
829
|
+
* The Dataset datasource config under the current AgentSpace.
|
|
827
830
|
*
|
|
828
831
|
* @example
|
|
829
832
|
* {"dataset":"my-dataset","filter":"status = \\"pending\\""}
|
|
@@ -831,7 +834,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
831
834
|
dataset?: CreatePipelineRequestSourceDataset;
|
|
832
835
|
/**
|
|
833
836
|
* @remarks
|
|
834
|
-
* The input fields and their
|
|
837
|
+
* The input fields and their types. This applies to all data source types.
|
|
835
838
|
*
|
|
836
839
|
* @example
|
|
837
840
|
* [{"name":"question","type":"text"}]
|
|
@@ -847,7 +850,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
847
850
|
logstore?: CreatePipelineRequestSourceLogstore;
|
|
848
851
|
/**
|
|
849
852
|
* @remarks
|
|
850
|
-
* The trajectory data configuration. This
|
|
853
|
+
* The trajectory data configuration. This is optional and takes effect only when the type is trace. It retrieves ATIF standard trajectory data from the trajectory scrubbing service and extends it by feature.
|
|
851
854
|
*
|
|
852
855
|
* @example
|
|
853
856
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -855,7 +858,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
855
858
|
trajectory?: CreatePipelineRequestSourceTrajectory;
|
|
856
859
|
/**
|
|
857
860
|
* @remarks
|
|
858
|
-
* The data source type. Currently,
|
|
861
|
+
* The data source type. Currently, SLS is supported.
|
|
859
862
|
*
|
|
860
863
|
* @example
|
|
861
864
|
* SLS
|
|
@@ -905,15 +908,15 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
905
908
|
export class CreatePipelineRequest extends $dara.Model {
|
|
906
909
|
/**
|
|
907
910
|
* @remarks
|
|
908
|
-
* The description of the pipeline
|
|
911
|
+
* The description of the pipeline. Maximum length: 256 characters.
|
|
909
912
|
*
|
|
910
913
|
* @example
|
|
911
|
-
* Collect trace data from
|
|
914
|
+
* Collect trace data from SLS and perform data cleaning into a Dataset
|
|
912
915
|
*/
|
|
913
916
|
description?: string;
|
|
914
917
|
/**
|
|
915
918
|
* @remarks
|
|
916
|
-
* The
|
|
919
|
+
* The scheduling method.
|
|
917
920
|
*
|
|
918
921
|
* @example
|
|
919
922
|
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
|
|
@@ -929,7 +932,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
929
932
|
pipeline?: CreatePipelineRequestPipeline;
|
|
930
933
|
/**
|
|
931
934
|
* @remarks
|
|
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
|
|
935
|
+
* The name of the pipeline. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens.
|
|
933
936
|
*
|
|
934
937
|
* @example
|
|
935
938
|
* my-pipeline
|
|
@@ -937,7 +940,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
937
940
|
pipelineName?: string;
|
|
938
941
|
/**
|
|
939
942
|
* @remarks
|
|
940
|
-
* The pipeline sink, which
|
|
943
|
+
* The pipeline sink, which is the data write destination.
|
|
941
944
|
*/
|
|
942
945
|
sink?: CreatePipelineRequestSink;
|
|
943
946
|
/**
|
|
@@ -950,7 +953,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
950
953
|
source?: CreatePipelineRequestSource;
|
|
951
954
|
/**
|
|
952
955
|
* @remarks
|
|
953
|
-
* The idempotency token
|
|
956
|
+
* The idempotency token. It is a unique string generated by the client to ensure the idempotence of the create operation.
|
|
954
957
|
*
|
|
955
958
|
* @example
|
|
956
959
|
* 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 for troubleshooting.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -16,7 +16,7 @@ export class DescribeRegionsResponseBodyRegions extends $dara.Model {
|
|
|
16
16
|
* The region name.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
*
|
|
19
|
+
* China (Hangzhou)
|
|
20
20
|
*/
|
|
21
21
|
localName?: string;
|
|
22
22
|
/**
|
|
@@ -65,7 +65,7 @@ export class DescribeRegionsResponseBodyRegions extends $dara.Model {
|
|
|
65
65
|
export class DescribeRegionsResponseBody extends $dara.Model {
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The maximum number of
|
|
68
|
+
* The maximum number of records returned in a single request.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* 100
|
|
@@ -73,7 +73,7 @@ export class DescribeRegionsResponseBody extends $dara.Model {
|
|
|
73
73
|
maxResults?: number;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The pagination token.
|
|
76
|
+
* The pagination token. This value is empty if no more pages are available.
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* ydx438PDAW1lYRJZbBn9
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetAgentSpaceResponseBodyMseNamespace extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The attach type of the MSE namespace. AutoCreated indicates automatic creation by AgentLoop. UserSelected indicates that
|
|
8
|
+
* The attach type of the MSE namespace. AutoCreated indicates automatic creation by AgentLoop. UserSelected indicates that you select and attach an existing namespace when creating the AgentSpace.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* AutoCreated
|
|
@@ -54,11 +54,17 @@ export class GetAgentSpaceResponseBodyMseNamespace extends $dara.Model {
|
|
|
54
54
|
|
|
55
55
|
export class GetAgentSpaceResponseBodyTags extends $dara.Model {
|
|
56
56
|
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The tag key.
|
|
59
|
+
*
|
|
57
60
|
* @example
|
|
58
61
|
* env
|
|
59
62
|
*/
|
|
60
63
|
key?: string;
|
|
61
64
|
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The tag value, which can be an empty string.
|
|
67
|
+
*
|
|
62
68
|
* @example
|
|
63
69
|
* test
|
|
64
70
|
*/
|
|
@@ -159,8 +165,11 @@ export class GetAgentSpaceResponseBody extends $dara.Model {
|
|
|
159
165
|
*/
|
|
160
166
|
slsProject?: string;
|
|
161
167
|
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* The complete standard tags of the active AgentSpace in the current region. An empty array is returned if it is confirmed that no tags exist. This field is omitted if the AgentSpace is not active or the tags cannot be determined. The omission of this field does not indicate that no tags exist.
|
|
170
|
+
*
|
|
162
171
|
* @example
|
|
163
|
-
* [{
|
|
172
|
+
* [{"key":"env","value":"test"}]
|
|
164
173
|
*/
|
|
165
174
|
tags?: GetAgentSpaceResponseBodyTags[];
|
|
166
175
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The evaluator
|
|
8
|
+
* The name of the evaluator.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Builtin.agent_task_completion
|
|
@@ -13,7 +13,7 @@ export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
|
|
|
13
13
|
evaluatorName?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The number of failed items for
|
|
16
|
+
* The number of failed items for the evaluator.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 4
|
|
@@ -21,7 +21,7 @@ export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
|
|
|
21
21
|
failedCount?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The number of successful items for
|
|
24
|
+
* The number of successful items for the evaluator.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 96
|
|
@@ -29,7 +29,7 @@ export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
|
|
|
29
29
|
successCount?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The total number of items for
|
|
32
|
+
* The total number of items for the evaluator.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 100
|
|
@@ -65,7 +65,7 @@ export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
|
|
|
65
65
|
export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The creation time
|
|
68
|
+
* The creation time. The value is a UNIX timestamp in seconds.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* 1782816000
|
|
@@ -73,7 +73,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
73
73
|
createdAt?: number;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The end time of the run data window
|
|
76
|
+
* The end time of the run data window. The value is a UNIX timestamp in seconds.
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* 1782902400
|
|
@@ -81,7 +81,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
81
81
|
dataEndTime?: number;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The start time of the run data window
|
|
84
|
+
* The start time of the run data window. The value is a UNIX timestamp in seconds.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* 1782816000
|
|
@@ -89,7 +89,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
89
89
|
dataStartTime?: number;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
* The
|
|
92
|
+
* The progress list by evaluator dimension.
|
|
93
93
|
*
|
|
94
94
|
* @example
|
|
95
95
|
* [{"evaluatorName":"Builtin.agent_task_completion","totalCount":100,"successCount":96,"failedCount":4}]
|
|
@@ -97,7 +97,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
97
97
|
evaluatorProgress?: GetEvaluationRunResponseBodyEvaluatorProgress[];
|
|
98
98
|
/**
|
|
99
99
|
* @remarks
|
|
100
|
-
* The snapshot of the evaluator configuration
|
|
100
|
+
* The snapshot of the evaluator configuration when the run is created. The value is a JSON string.
|
|
101
101
|
*
|
|
102
102
|
* @example
|
|
103
103
|
* [{"evaluatorRef":"Builtin.agent_task_completion"}]
|
|
@@ -113,7 +113,15 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
113
113
|
failedCount?: number;
|
|
114
114
|
/**
|
|
115
115
|
* @remarks
|
|
116
|
-
* The
|
|
116
|
+
* The snapshot of the evaluator quality scores and coverage for the current run. This field is empty if the feature is not enabled.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* {}
|
|
120
|
+
*/
|
|
121
|
+
qualityMetrics?: { [key: string]: any };
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The ID of the request.
|
|
117
125
|
*
|
|
118
126
|
* @example
|
|
119
127
|
* 3FE4CD1E-FF41-56BE-B590-7A021D9C1524
|
|
@@ -121,7 +129,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
121
129
|
requestId?: string;
|
|
122
130
|
/**
|
|
123
131
|
* @remarks
|
|
124
|
-
* The run
|
|
132
|
+
* The ID of the run.
|
|
125
133
|
*
|
|
126
134
|
* @example
|
|
127
135
|
* eval-run-4fd47f3d7e684e15b1d3d178c6a5b81a
|
|
@@ -129,7 +137,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
129
137
|
runId?: string;
|
|
130
138
|
/**
|
|
131
139
|
* @remarks
|
|
132
|
-
* The run
|
|
140
|
+
* The name of the run.
|
|
133
141
|
*
|
|
134
142
|
* @example
|
|
135
143
|
* trace_task_completion_eval-backfill
|
|
@@ -137,7 +145,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
137
145
|
runName?: string;
|
|
138
146
|
/**
|
|
139
147
|
* @remarks
|
|
140
|
-
* The run
|
|
148
|
+
* The type of the run.
|
|
141
149
|
*
|
|
142
150
|
* @example
|
|
143
151
|
* backfill
|
|
@@ -145,7 +153,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
145
153
|
runType?: string;
|
|
146
154
|
/**
|
|
147
155
|
* @remarks
|
|
148
|
-
* The run
|
|
156
|
+
* The status of the run.
|
|
149
157
|
*
|
|
150
158
|
* @example
|
|
151
159
|
* Running
|
|
@@ -161,7 +169,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
161
169
|
successCount?: number;
|
|
162
170
|
/**
|
|
163
171
|
* @remarks
|
|
164
|
-
* The evaluation task
|
|
172
|
+
* The ID of the evaluation task.
|
|
165
173
|
*
|
|
166
174
|
* @example
|
|
167
175
|
* eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25
|
|
@@ -169,7 +177,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
169
177
|
taskId?: string;
|
|
170
178
|
/**
|
|
171
179
|
* @remarks
|
|
172
|
-
* The total number of
|
|
180
|
+
* The total number of evaluated items.
|
|
173
181
|
*
|
|
174
182
|
* @example
|
|
175
183
|
* 100
|
|
@@ -177,7 +185,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
177
185
|
totalCount?: number;
|
|
178
186
|
/**
|
|
179
187
|
* @remarks
|
|
180
|
-
* The update time
|
|
188
|
+
* The update time. The value is a UNIX timestamp in seconds.
|
|
181
189
|
*
|
|
182
190
|
* @example
|
|
183
191
|
* 1782816600
|
|
@@ -191,6 +199,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
191
199
|
evaluatorProgress: 'evaluatorProgress',
|
|
192
200
|
evaluators: 'evaluators',
|
|
193
201
|
failedCount: 'failedCount',
|
|
202
|
+
qualityMetrics: 'qualityMetrics',
|
|
194
203
|
requestId: 'requestId',
|
|
195
204
|
runId: 'runId',
|
|
196
205
|
runName: 'runName',
|
|
@@ -211,6 +220,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
211
220
|
evaluatorProgress: { 'type': 'array', 'itemType': GetEvaluationRunResponseBodyEvaluatorProgress },
|
|
212
221
|
evaluators: 'string',
|
|
213
222
|
failedCount: 'number',
|
|
223
|
+
qualityMetrics: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
214
224
|
requestId: 'string',
|
|
215
225
|
runId: 'string',
|
|
216
226
|
runName: 'string',
|
|
@@ -227,6 +237,9 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
227
237
|
if(Array.isArray(this.evaluatorProgress)) {
|
|
228
238
|
$dara.Model.validateArray(this.evaluatorProgress);
|
|
229
239
|
}
|
|
240
|
+
if(this.qualityMetrics) {
|
|
241
|
+
$dara.Model.validateMap(this.qualityMetrics);
|
|
242
|
+
}
|
|
230
243
|
super.validate();
|
|
231
244
|
}
|
|
232
245
|
|
|
@@ -7,7 +7,7 @@ import { RunStrategies } from "./RunStrategies";
|
|
|
7
7
|
export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The AgentSpace
|
|
10
|
+
* The name of the AgentSpace.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* prod-agentspace
|
|
@@ -23,7 +23,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
23
23
|
channel?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The data source and execution
|
|
26
|
+
* The data source and execution configurations. Tasks with `dataType=trace` typically include the `project`, `storeName`, and `dataScope` fields populated by the backend.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* {"project":"agentspace-project","storeName":"logstore-tracing","dataScope":"trace"}
|
|
@@ -31,7 +31,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
31
31
|
config?: { [key: string]: string };
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The creation time,
|
|
34
|
+
* The creation time, represented as a UNIX timestamp in seconds.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* 1782816000
|
|
@@ -39,7 +39,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
39
39
|
createdAt?: number;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The evaluation data
|
|
42
|
+
* The filter conditions for evaluation data. The backend returns this value as a JSON string.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* {"query":"serviceName=\\"checkout-service\\"","maxRecords":10,"samplingRate":100}
|
|
@@ -58,7 +58,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
58
58
|
* The description of the evaluation task.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
|
-
* Evaluate the task completion of
|
|
61
|
+
* Evaluate the task completion rate of online agent workflows
|
|
62
62
|
*/
|
|
63
63
|
description?: string;
|
|
64
64
|
/**
|
|
@@ -69,6 +69,14 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
69
69
|
* [{"evaluatorRef":"Builtin.agent_task_completion","resultName":"agent_task_completion","resultType":"score","variableMapping":{"input":"trace.input","output":"trace.output","agent_trajectory":"trace.agent_trajectory"}}]
|
|
70
70
|
*/
|
|
71
71
|
evaluators?: Evaluator[];
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The quality score and coverage snapshot of the most recent evaluator run. This field is empty when the feature is not enabled.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* {}
|
|
78
|
+
*/
|
|
79
|
+
qualityMetrics?: { [key: string]: any };
|
|
72
80
|
/**
|
|
73
81
|
* @remarks
|
|
74
82
|
* The region to which the task belongs.
|
|
@@ -79,7 +87,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
79
87
|
regionId?: string;
|
|
80
88
|
/**
|
|
81
89
|
* @remarks
|
|
82
|
-
* The request
|
|
90
|
+
* The ID of the request.
|
|
83
91
|
*
|
|
84
92
|
* @example
|
|
85
93
|
* 3FE4CD1E-FF41-56BE-B590-7A021D9C1524
|
|
@@ -87,7 +95,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
87
95
|
requestId?: string;
|
|
88
96
|
/**
|
|
89
97
|
* @remarks
|
|
90
|
-
* The structured run strategy
|
|
98
|
+
* The structured configuration of the run strategy, including the parsed backfill strategy and continuous evaluation strategy.
|
|
91
99
|
*
|
|
92
100
|
* @example
|
|
93
101
|
* {"backfill":{"enabled":true,"startTime":1782816000000,"endTime":1782902400000},"continuous":{"enabled":true,"intervalUnit":"HOUR","intervalValue":1,"dataDelayMinutes":5}}
|
|
@@ -95,7 +103,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
95
103
|
runStrategyConfig?: RunStrategies;
|
|
96
104
|
/**
|
|
97
105
|
* @remarks
|
|
98
|
-
* The evaluation task
|
|
106
|
+
* The status of the evaluation task.
|
|
99
107
|
*
|
|
100
108
|
* @example
|
|
101
109
|
* Running
|
|
@@ -103,7 +111,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
103
111
|
status?: string;
|
|
104
112
|
/**
|
|
105
113
|
* @remarks
|
|
106
|
-
* The key-value pairs of task tags.
|
|
114
|
+
* The key-value pairs of task tags. This field is empty when no tags are set.
|
|
107
115
|
*
|
|
108
116
|
* @example
|
|
109
117
|
* {"serviceId":"checkout-service","env":"prod"}
|
|
@@ -111,7 +119,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
111
119
|
tags?: { [key: string]: string };
|
|
112
120
|
/**
|
|
113
121
|
* @remarks
|
|
114
|
-
* The evaluation task
|
|
122
|
+
* The ID of the evaluation task.
|
|
115
123
|
*
|
|
116
124
|
* @example
|
|
117
125
|
* eval-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25
|
|
@@ -119,7 +127,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
119
127
|
taskId?: string;
|
|
120
128
|
/**
|
|
121
129
|
* @remarks
|
|
122
|
-
* The evaluation task
|
|
130
|
+
* The mode of the evaluation task.
|
|
123
131
|
*
|
|
124
132
|
* @example
|
|
125
133
|
* batch
|
|
@@ -127,7 +135,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
127
135
|
taskMode?: string;
|
|
128
136
|
/**
|
|
129
137
|
* @remarks
|
|
130
|
-
* The task
|
|
138
|
+
* The name of the task.
|
|
131
139
|
*
|
|
132
140
|
* @example
|
|
133
141
|
* trace_task_completion_eval
|
|
@@ -135,7 +143,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
135
143
|
taskName?: string;
|
|
136
144
|
/**
|
|
137
145
|
* @remarks
|
|
138
|
-
* The last update time,
|
|
146
|
+
* The last update time, represented as a UNIX timestamp in seconds.
|
|
139
147
|
*
|
|
140
148
|
* @example
|
|
141
149
|
* 1782816600
|
|
@@ -151,6 +159,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
151
159
|
dataType: 'dataType',
|
|
152
160
|
description: 'description',
|
|
153
161
|
evaluators: 'evaluators',
|
|
162
|
+
qualityMetrics: 'qualityMetrics',
|
|
154
163
|
regionId: 'regionId',
|
|
155
164
|
requestId: 'requestId',
|
|
156
165
|
runStrategyConfig: 'runStrategyConfig',
|
|
@@ -173,6 +182,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
173
182
|
dataType: 'string',
|
|
174
183
|
description: 'string',
|
|
175
184
|
evaluators: { 'type': 'array', 'itemType': Evaluator },
|
|
185
|
+
qualityMetrics: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
176
186
|
regionId: 'string',
|
|
177
187
|
requestId: 'string',
|
|
178
188
|
runStrategyConfig: RunStrategies,
|
|
@@ -192,6 +202,9 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
192
202
|
if(Array.isArray(this.evaluators)) {
|
|
193
203
|
$dara.Model.validateArray(this.evaluators);
|
|
194
204
|
}
|
|
205
|
+
if(this.qualityMetrics) {
|
|
206
|
+
$dara.Model.validateMap(this.qualityMetrics);
|
|
207
|
+
}
|
|
195
208
|
if(this.runStrategyConfig && typeof (this.runStrategyConfig as any).validate === 'function') {
|
|
196
209
|
(this.runStrategyConfig as any).validate();
|
|
197
210
|
}
|