@alicloud/agentloop20260520 2.3.5 → 2.3.6
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 +18 -18
- package/dist/client.js +18 -18
- package/dist/models/CreateEvaluationTaskRequest.d.ts +7 -7
- package/dist/models/CreateEvaluatorRequest.d.ts +10 -11
- package/dist/models/CreateEvaluatorRequest.js.map +1 -1
- package/dist/models/CreateEvaluatorSkillRequest.d.ts +9 -9
- package/dist/models/CreateExperimentPlanRequest.d.ts +6 -6
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/CreateExperimentRunRequest.d.ts +7 -7
- package/dist/models/CreateExperimentRunResponseBody.d.ts +3 -3
- package/dist/models/DeleteExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/ExperimentConfig.d.ts +44 -0
- package/dist/models/ExperimentConfig.js +2 -0
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/GetEvaluationRunResponseBody.d.ts +10 -10
- package/dist/models/GetEvaluationTaskResponseBody.d.ts +8 -8
- package/dist/models/GetEvaluatorResponseBody.d.ts +7 -7
- package/dist/models/GetEvaluatorSkillResponseBody.d.ts +10 -10
- package/dist/models/GetExperimentPlanResponseBody.d.ts +4 -4
- package/dist/models/IndexJsonKey.d.ts +16 -0
- package/dist/models/IndexJsonKey.js.map +1 -1
- package/dist/models/IndexKey.d.ts +35 -0
- package/dist/models/IndexKey.js +2 -0
- package/dist/models/IndexKey.js.map +1 -1
- package/dist/models/ListEvaluationRunsResponseBody.d.ts +1 -1
- package/dist/models/ListEvaluationTasksResponseBody.d.ts +3 -3
- package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +5 -5
- package/dist/models/ListExperimentPlansRequest.d.ts +2 -2
- package/dist/models/ListExperimentPlansResponseBody.d.ts +2 -2
- package/dist/models/ListPipelinesRequest.d.ts +24 -0
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +172 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/UpdateEvaluatorRequest.d.ts +7 -7
- package/dist/models/UpdateExperimentPlanRequest.d.ts +3 -3
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/UpdateExperimentRunRequest.d.ts +3 -3
- package/dist/models/UpdateExperimentRunResponseBody.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -18
- package/src/models/CreateEvaluationTaskRequest.ts +7 -7
- package/src/models/CreateEvaluatorRequest.ts +10 -11
- package/src/models/CreateEvaluatorSkillRequest.ts +9 -9
- package/src/models/CreateExperimentPlanRequest.ts +6 -6
- package/src/models/CreateExperimentPlanResponseBody.ts +1 -1
- package/src/models/CreateExperimentRunRequest.ts +7 -7
- package/src/models/CreateExperimentRunResponseBody.ts +3 -3
- package/src/models/DeleteExperimentPlanResponseBody.ts +1 -1
- package/src/models/ExperimentConfig.ts +46 -0
- package/src/models/GetEvaluationRunResponseBody.ts +10 -10
- package/src/models/GetEvaluationTaskResponseBody.ts +8 -8
- package/src/models/GetEvaluatorResponseBody.ts +7 -7
- package/src/models/GetEvaluatorSkillResponseBody.ts +10 -10
- package/src/models/GetExperimentPlanResponseBody.ts +4 -4
- package/src/models/IndexJsonKey.ts +16 -0
- package/src/models/IndexKey.ts +37 -0
- package/src/models/ListEvaluationRunsResponseBody.ts +1 -1
- package/src/models/ListEvaluationTasksResponseBody.ts +3 -3
- package/src/models/ListEvaluatorSkillsResponseBody.ts +5 -5
- package/src/models/ListExperimentPlansRequest.ts +2 -2
- package/src/models/ListExperimentPlansResponseBody.ts +2 -2
- package/src/models/ListPipelinesRequest.ts +24 -0
- package/src/models/ListPipelinesResponseBody.ts +172 -1
- package/src/models/UpdateEvaluatorRequest.ts +7 -7
- package/src/models/UpdateExperimentPlanRequest.ts +3 -3
- package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
- package/src/models/UpdateExperimentRunRequest.ts +3 -3
- package/src/models/UpdateExperimentRunResponseBody.ts +1 -1
|
@@ -13,7 +13,7 @@ export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
|
|
|
13
13
|
evaluatorName?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The number of failed
|
|
16
|
+
* The number of failed items for this 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
|
|
24
|
+
* The number of successful items for this 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
|
|
32
|
+
* The total number of items for this evaluator.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 100
|
|
@@ -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 data window
|
|
76
|
+
* The end time of the run data window, in seconds-level UNIX timestamp.
|
|
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 data window
|
|
84
|
+
* The start time of the run data window, in seconds-level UNIX timestamp.
|
|
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 list of progress
|
|
92
|
+
* The list of progress entries by evaluator.
|
|
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 evaluator configuration
|
|
100
|
+
* The snapshot of the evaluator configuration at the time the run was created, in JSON string format.
|
|
101
101
|
*
|
|
102
102
|
* @example
|
|
103
103
|
* [{"evaluatorRef":"Builtin.agent_task_completion"}]
|
|
@@ -105,7 +105,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
105
105
|
evaluators?: string;
|
|
106
106
|
/**
|
|
107
107
|
* @remarks
|
|
108
|
-
* The number of failed
|
|
108
|
+
* The number of failed items.
|
|
109
109
|
*
|
|
110
110
|
* @example
|
|
111
111
|
* 4
|
|
@@ -153,7 +153,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
153
153
|
status?: string;
|
|
154
154
|
/**
|
|
155
155
|
* @remarks
|
|
156
|
-
* The number of successful
|
|
156
|
+
* The number of successful items.
|
|
157
157
|
*
|
|
158
158
|
* @example
|
|
159
159
|
* 96
|
|
@@ -169,7 +169,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
169
169
|
taskId?: string;
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
|
-
* The total number of evaluation
|
|
172
|
+
* The total number of evaluation items.
|
|
173
173
|
*
|
|
174
174
|
* @example
|
|
175
175
|
* 100
|
|
@@ -15,7 +15,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
15
15
|
agentSpace?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The task
|
|
18
|
+
* The source of the task.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* default
|
|
@@ -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 configuration. Tasks with `dataType=trace` typically contain `project`, `storeName`, and `dataScope` fields
|
|
26
|
+
* The data source and execution configuration. Tasks with `dataType=trace` typically contain backend-populated `project`, `storeName`, and `dataScope` fields.
|
|
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, in seconds
|
|
34
|
+
* The creation time, in seconds as a UNIX timestamp.
|
|
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 filter
|
|
42
|
+
* The evaluation data filter conditions, returned by the backend as a JSON string.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* {"query":"serviceName=\\"checkout-service\\"","maxRecords":10,"samplingRate":100}
|
|
@@ -55,10 +55,10 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
55
55
|
dataType?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The evaluation task
|
|
58
|
+
* The description of the evaluation task.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
|
-
* Evaluate the task completion
|
|
61
|
+
* Evaluate the task completion of the online Agent pipeline
|
|
62
62
|
*/
|
|
63
63
|
description?: string;
|
|
64
64
|
/**
|
|
@@ -87,7 +87,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
87
87
|
requestId?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The structured
|
|
90
|
+
* The structured run strategy configuration, including the parsed backfill strategy and continuous evaluation strategy.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* {"backfill":{"enabled":true,"startTime":1782816000000,"endTime":1782902400000},"continuous":{"enabled":true,"intervalUnit":"HOUR","intervalValue":1,"dataDelayMinutes":5}}
|
|
@@ -135,7 +135,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
135
135
|
taskName?: string;
|
|
136
136
|
/**
|
|
137
137
|
* @remarks
|
|
138
|
-
* The last update time, in seconds
|
|
138
|
+
* The last update time, in seconds as a UNIX timestamp.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* 1782816600
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetEvaluatorResponseBodyEvaluatorVersions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The version creation time, in seconds-level UNIX timestamp.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1782816000
|
|
@@ -24,7 +24,7 @@ export class GetEvaluatorResponseBodyEvaluatorVersions extends $dara.Model {
|
|
|
24
24
|
* The version description.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
*
|
|
27
|
+
* Initial version
|
|
28
28
|
*/
|
|
29
29
|
versionDescription?: string;
|
|
30
30
|
static names(): { [key: string]: string } {
|
|
@@ -74,12 +74,12 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
74
74
|
* The configuration of the current version.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
|
-
* {"prompt":"
|
|
77
|
+
* {"prompt":"Please evaluate the task completion"}
|
|
78
78
|
*/
|
|
79
79
|
config?: { [key: string]: any };
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The time
|
|
82
|
+
* The creation time, in seconds-level UNIX timestamp.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* 1782816000
|
|
@@ -98,7 +98,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
98
98
|
* The evaluator description.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
|
-
*
|
|
101
|
+
* Determines whether the Agent has completed the user task
|
|
102
102
|
*/
|
|
103
103
|
description?: string;
|
|
104
104
|
/**
|
|
@@ -106,7 +106,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
106
106
|
* The display name.
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
|
-
*
|
|
109
|
+
* Trace task completion
|
|
110
110
|
*/
|
|
111
111
|
displayName?: string;
|
|
112
112
|
/**
|
|
@@ -151,7 +151,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
151
151
|
type?: string;
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
* The time
|
|
154
|
+
* The update time, in seconds-level UNIX timestamp.
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* 1782816600
|
|
@@ -21,10 +21,10 @@ export class GetEvaluatorSkillResponseBodySkillFiles extends $dara.Model {
|
|
|
21
21
|
name?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The file
|
|
24
|
+
* The file remark.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
*
|
|
27
|
+
* Main skill description
|
|
28
28
|
*/
|
|
29
29
|
remark?: string;
|
|
30
30
|
static names(): { [key: string]: string } {
|
|
@@ -55,7 +55,7 @@ export class GetEvaluatorSkillResponseBodySkillFiles extends $dara.Model {
|
|
|
55
55
|
export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The
|
|
58
|
+
* The version creation time, in seconds-level UNIX timestamp.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 1782816000
|
|
@@ -74,7 +74,7 @@ export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
|
|
|
74
74
|
* The version description.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
|
-
*
|
|
77
|
+
* Initial release version
|
|
78
78
|
*/
|
|
79
79
|
versionDescription?: string;
|
|
80
80
|
static names(): { [key: string]: string } {
|
|
@@ -105,7 +105,7 @@ export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
|
|
|
105
105
|
export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
106
106
|
/**
|
|
107
107
|
* @remarks
|
|
108
|
-
* The time
|
|
108
|
+
* The creation time, in seconds-level UNIX timestamp.
|
|
109
109
|
*
|
|
110
110
|
* @example
|
|
111
111
|
* 1782816000
|
|
@@ -124,7 +124,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
124
124
|
* The skill description.
|
|
125
125
|
*
|
|
126
126
|
* @example
|
|
127
|
-
*
|
|
127
|
+
* Read trace context to assist evaluation
|
|
128
128
|
*/
|
|
129
129
|
description?: string;
|
|
130
130
|
/**
|
|
@@ -132,7 +132,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
132
132
|
* The display name.
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
135
|
-
* Trace
|
|
135
|
+
* Trace Context Loader
|
|
136
136
|
*/
|
|
137
137
|
displayName?: string;
|
|
138
138
|
/**
|
|
@@ -148,7 +148,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
148
148
|
* The list of skill files.
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
|
-
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"
|
|
151
|
+
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"Main skill description"}]
|
|
152
152
|
*/
|
|
153
153
|
files?: GetEvaluatorSkillResponseBodySkillFiles[];
|
|
154
154
|
/**
|
|
@@ -169,7 +169,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
169
169
|
skillName?: string;
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
|
-
* The time
|
|
172
|
+
* The update time, in seconds-level UNIX timestamp.
|
|
173
173
|
*
|
|
174
174
|
* @example
|
|
175
175
|
* 1782816600
|
|
@@ -180,7 +180,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
180
180
|
* The list of skill versions.
|
|
181
181
|
*
|
|
182
182
|
* @example
|
|
183
|
-
* [{"version":"1782816000000","versionDescription":"
|
|
183
|
+
* [{"version":"1782816000000","versionDescription":"Initial release version"}]
|
|
184
184
|
*/
|
|
185
185
|
versions?: GetEvaluatorSkillResponseBodySkillVersions[];
|
|
186
186
|
static names(): { [key: string]: string } {
|
|
@@ -7,7 +7,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
|
|
|
7
7
|
export class GetExperimentPlanResponseBody extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The creation time
|
|
10
|
+
* The creation time. The value is a millisecond-level UNIX timestamp.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* 1782816000000
|
|
@@ -26,7 +26,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
|
|
|
26
26
|
* The description.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
* Compare
|
|
29
|
+
* Compare checkout Agent baseline with optimized version
|
|
30
30
|
*/
|
|
31
31
|
description?: string;
|
|
32
32
|
/**
|
|
@@ -100,7 +100,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
|
|
|
100
100
|
requestId?: string;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The list of data item IDs
|
|
103
|
+
* The list of selected data item IDs in partial dataset mode.
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
106
|
* ["019ef4d5-a0f0-7114-832d-5542d771cd8c"]
|
|
@@ -116,7 +116,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
|
|
|
116
116
|
status?: string;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The update time
|
|
119
|
+
* The update time. The value is a millisecond-level UNIX timestamp.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* 1782816600000
|
|
@@ -3,7 +3,23 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class IndexJsonKey extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether the field contains Chinese characters. This parameter is required only when the **type** parameter is set to **text**. Valid values:
|
|
9
|
+
* - true: The field contains Chinese characters.
|
|
10
|
+
* - false: The field does not contain Chinese characters.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* false
|
|
14
|
+
*/
|
|
6
15
|
chn?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The type.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* text
|
|
22
|
+
*/
|
|
7
23
|
type?: string;
|
|
8
24
|
static names(): { [key: string]: string } {
|
|
9
25
|
return {
|
package/src/models/IndexKey.ts
CHANGED
|
@@ -4,13 +4,49 @@ import { IndexJsonKey } from "./IndexJsonKey";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class IndexKey extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* Specifies whether Chinese is included. This parameter is required only when the **type** parameter is set to **text**. Valid values:
|
|
10
|
+
* - true: Chinese is included.
|
|
11
|
+
* - false: Chinese is not included.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* true
|
|
15
|
+
*/
|
|
7
16
|
chn?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* The description.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* test
|
|
23
|
+
*/
|
|
24
|
+
description?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The field embedding type.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* agentloop-embedding-v4
|
|
31
|
+
*/
|
|
8
32
|
embedding?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The JSON subfields. This parameter takes effect only when type is set to json.
|
|
36
|
+
*/
|
|
9
37
|
jsonKeys?: { [key: string]: IndexJsonKey };
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The type.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* text
|
|
44
|
+
*/
|
|
10
45
|
type?: string;
|
|
11
46
|
static names(): { [key: string]: string } {
|
|
12
47
|
return {
|
|
13
48
|
chn: 'chn',
|
|
49
|
+
description: 'description',
|
|
14
50
|
embedding: 'embedding',
|
|
15
51
|
jsonKeys: 'jsonKeys',
|
|
16
52
|
type: 'type',
|
|
@@ -20,6 +56,7 @@ export class IndexKey extends $dara.Model {
|
|
|
20
56
|
static types(): { [key: string]: any } {
|
|
21
57
|
return {
|
|
22
58
|
chn: 'boolean',
|
|
59
|
+
description: 'string',
|
|
23
60
|
embedding: 'string',
|
|
24
61
|
jsonKeys: { 'type': 'map', 'keyType': 'string', 'valueType': IndexJsonKey },
|
|
25
62
|
type: 'string',
|
|
@@ -161,7 +161,7 @@ export class ListEvaluationRunsResponseBody extends $dara.Model {
|
|
|
161
161
|
maxResults?: number;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The pagination token for the next page. An empty value indicates that no more pages
|
|
164
|
+
* The pagination token for the next page. An empty value indicates that no more pages are available.
|
|
165
165
|
*
|
|
166
166
|
* @example
|
|
167
167
|
* eyJsYXN0SWQiOjEyMH0=
|
|
@@ -30,10 +30,10 @@ export class ListEvaluationTasksResponseBodyEvaluationTasks extends $dara.Model
|
|
|
30
30
|
dataType?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The evaluation task
|
|
33
|
+
* The description of the evaluation task.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
|
-
*
|
|
36
|
+
* Evaluate the task completion of the online Agent trace
|
|
37
37
|
*/
|
|
38
38
|
description?: string;
|
|
39
39
|
/**
|
|
@@ -187,7 +187,7 @@ export class ListEvaluationTasksResponseBody extends $dara.Model {
|
|
|
187
187
|
requestId?: string;
|
|
188
188
|
/**
|
|
189
189
|
* @remarks
|
|
190
|
-
* The total number of records. The total count is
|
|
190
|
+
* The total number of records. The total count is calculated only on the first page. This value may be empty on subsequent pages.
|
|
191
191
|
*
|
|
192
192
|
* @example
|
|
193
193
|
* 126
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListEvaluatorSkillsResponseBodySkills extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The creation time.
|
|
8
|
+
* The creation time. Declared as int64 in CloudSpec. The backend currently returns the StarOps `createTime` string field.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1782816000
|
|
@@ -16,7 +16,7 @@ export class ListEvaluatorSkillsResponseBodySkills extends $dara.Model {
|
|
|
16
16
|
* The skill description.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
*
|
|
19
|
+
* Reads trace context to assist evaluation
|
|
20
20
|
*/
|
|
21
21
|
description?: string;
|
|
22
22
|
/**
|
|
@@ -24,7 +24,7 @@ export class ListEvaluatorSkillsResponseBodySkills extends $dara.Model {
|
|
|
24
24
|
* The display name.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
* Trace
|
|
27
|
+
* Trace Context Loader
|
|
28
28
|
*/
|
|
29
29
|
displayName?: string;
|
|
30
30
|
/**
|
|
@@ -53,7 +53,7 @@ export class ListEvaluatorSkillsResponseBodySkills extends $dara.Model {
|
|
|
53
53
|
skillName?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The update time.
|
|
56
|
+
* The update time. Declared as int64 in CloudSpec. The backend currently returns the StarOps `updateTime` string field.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 1782816600
|
|
@@ -122,7 +122,7 @@ export class ListEvaluatorSkillsResponseBody extends $dara.Model {
|
|
|
122
122
|
* The list of skill summaries.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
|
-
* [{"skillName":"trace_context_loader","displayName":"Trace
|
|
125
|
+
* [{"skillName":"trace_context_loader","displayName":"Trace Context Loader","enable":true}]
|
|
126
126
|
*/
|
|
127
127
|
skills?: ListEvaluatorSkillsResponseBodySkills[];
|
|
128
128
|
/**
|
|
@@ -37,7 +37,7 @@ export class ListExperimentPlansRequest extends $dara.Model {
|
|
|
37
37
|
offset?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* Fuzzy
|
|
40
|
+
* Fuzzy matches experiment plans by plan name.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* arms_agent
|
|
@@ -45,7 +45,7 @@ export class ListExperimentPlansRequest extends $dara.Model {
|
|
|
45
45
|
planName?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* Filters by exact status.
|
|
48
|
+
* Filters experiment plans by exact status.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* pending
|
|
@@ -22,7 +22,7 @@ export class ListExperimentPlansResponseBody extends $dara.Model {
|
|
|
22
22
|
nextToken?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The page number.
|
|
25
|
+
* The page number information.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 0
|
|
@@ -54,7 +54,7 @@ export class ListExperimentPlansResponseBody extends $dara.Model {
|
|
|
54
54
|
requestId?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The total number of records that match the filter
|
|
57
|
+
* The total number of records that match the filter conditions.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* 6
|
|
@@ -4,31 +4,55 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListPipelinesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The maximum number of pipelines to return. Default value: 20. Maximum value: 100.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 20
|
|
9
12
|
*/
|
|
10
13
|
maxResults?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The pagination token. Set this parameter to the nextToken value returned in the previous response to retrieve the next page. Do not specify this parameter for the first request.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* MTIzNDU2Nzg5MA==
|
|
14
20
|
*/
|
|
15
21
|
nextToken?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Filters pipelines by name using exact match. If this parameter is not specified, no filtering is applied.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* my-pipeline
|
|
19
28
|
*/
|
|
20
29
|
pipelineName?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* Filters pipelines by schedule status. If this parameter is not specified, no filtering is applied. Valid values:
|
|
33
|
+
* - None: No schedule.
|
|
34
|
+
* - Active: Active.
|
|
35
|
+
* - Paused: Paused.
|
|
36
|
+
* - Terminated: Terminated.
|
|
37
|
+
*
|
|
22
38
|
* @example
|
|
23
39
|
* Active
|
|
24
40
|
*/
|
|
25
41
|
scheduleStatus?: string;
|
|
26
42
|
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* Filters pipelines by schedule type. If this parameter is not specified, no filtering is applied. Valid values:
|
|
45
|
+
* - RunOnce: One-time execution.
|
|
46
|
+
* - Scheduled: Periodic scheduling.
|
|
47
|
+
*
|
|
27
48
|
* @example
|
|
28
49
|
* RunOnce
|
|
29
50
|
*/
|
|
30
51
|
scheduleType?: string;
|
|
31
52
|
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* Filters pipelines by the exact name of the output dataset. Matches standard sinks, conditional branch sinks, and default sinks. If this parameter is not specified, no filtering is applied.
|
|
55
|
+
*
|
|
32
56
|
* @example
|
|
33
57
|
* my-dataset
|
|
34
58
|
*/
|