@alicloud/agentloop20260520 2.3.5 → 2.3.7
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 +21 -18
- package/dist/client.js.map +1 -1
- 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/UpdateDatasetRequest.d.ts +33 -0
- package/dist/models/UpdateDatasetRequest.js +27 -1
- package/dist/models/UpdateDatasetRequest.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/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +10 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +22 -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/UpdateDatasetRequest.ts +50 -0
- 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
- package/src/models/model.ts +1 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The skill file
|
|
5
|
+
* The content of the skill file.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class CreateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
|
12
12
|
content?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The skill file
|
|
15
|
+
* The name of the skill file.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|
|
@@ -22,10 +22,10 @@ export declare class CreateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
|
22
22
|
name?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The file
|
|
25
|
+
* The remark for the file.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
|
-
*
|
|
28
|
+
* Main skill description
|
|
29
29
|
*/
|
|
30
30
|
remark?: string;
|
|
31
31
|
static names(): {
|
|
@@ -52,10 +52,10 @@ export declare class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
52
52
|
agentSpace?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The description
|
|
55
|
+
* The skill description.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
-
*
|
|
58
|
+
* Reads trace context to assist evaluation
|
|
59
59
|
*/
|
|
60
60
|
description?: string;
|
|
61
61
|
/**
|
|
@@ -63,7 +63,7 @@ export declare class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
63
63
|
* The display name of the skill.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
|
-
* Trace
|
|
66
|
+
* Trace Context Loader
|
|
67
67
|
*/
|
|
68
68
|
displayName?: string;
|
|
69
69
|
/**
|
|
@@ -81,7 +81,7 @@ export declare class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
81
81
|
* This parameter is required.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
|
-
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"
|
|
84
|
+
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"Main skill description"}]
|
|
85
85
|
*/
|
|
86
86
|
files?: CreateEvaluatorSkillRequestFiles[];
|
|
87
87
|
/**
|
|
@@ -96,7 +96,7 @@ export declare class CreateEvaluatorSkillRequest extends $dara.Model {
|
|
|
96
96
|
skillName?: string;
|
|
97
97
|
/**
|
|
98
98
|
* @remarks
|
|
99
|
-
* The idempotency token.
|
|
99
|
+
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency comparison.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -4,7 +4,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
|
|
|
4
4
|
export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
5
5
|
/**
|
|
6
6
|
* @remarks
|
|
7
|
-
* The ID of the associated dataset. If
|
|
7
|
+
* The ID of the associated dataset. If not specified, the execution phase processes in simple mode.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* rca_benckmark_eval
|
|
@@ -38,7 +38,7 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
38
38
|
experimentType?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The list of experiment configurations. A maximum of
|
|
41
|
+
* The list of experiment configurations. A maximum of 5 entries are supported. For offline experiments, this parameter can be omitted or set to an empty array. For online experiments, at least one entry is required.
|
|
42
42
|
*
|
|
43
43
|
* This parameter is required.
|
|
44
44
|
*
|
|
@@ -58,12 +58,12 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The name of the associated data processing pipeline (optional). After association, when
|
|
61
|
+
* The name of the associated data processing pipeline (optional). After association, when experiment runs under this plan finish writing results to the experiment result Logstore, the system filters by the traceId of the experiment trace, calls PreviewPipeline, and writes the pipeline-processed results together.
|
|
62
62
|
*/
|
|
63
63
|
pipelineName?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The experiment plan
|
|
66
|
+
* The name of the experiment plan. The name must be unique within the same AgentSpace and account.
|
|
67
67
|
*
|
|
68
68
|
* This parameter is required.
|
|
69
69
|
*
|
|
@@ -73,7 +73,7 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
73
73
|
planName?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The custom query SQL clause
|
|
76
|
+
* The custom query SQL clause for partial dataset mode. This parameter can be used when `selectedItemIds` is empty.
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* status=\\"OK\\"
|
|
@@ -81,7 +81,7 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
81
81
|
querySql?: string;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The list of selected data item IDs
|
|
84
|
+
* The list of selected data item IDs for partial dataset mode. This parameter must be used together with `datasetId`.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* ["019ef4d5-a0f0-7114-832d-5542d771cd8c", "019f1729-be9b-7769-a006-8e98023ad7ad"]
|
|
@@ -26,7 +26,7 @@ export declare class CreateExperimentPlanResponseBody extends $dara.Model {
|
|
|
26
26
|
requestId?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The creation result.
|
|
29
|
+
* The creation result. The value `created` indicates success.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* created
|
|
@@ -3,7 +3,7 @@ import { OfflineExperimentConfig } from "./OfflineExperimentConfig";
|
|
|
3
3
|
export declare class CreateExperimentRunRequest extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* The completion time
|
|
6
|
+
* The completion time. The value is a millisecond-level UNIX timestamp.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* 1784721811392
|
|
@@ -11,7 +11,7 @@ export declare class CreateExperimentRunRequest extends $dara.Model {
|
|
|
11
11
|
completedAt?: number;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The number of completed tasks.
|
|
14
|
+
* The number of completed tasks. Default value: 0.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* 0
|
|
@@ -19,7 +19,7 @@ export declare class CreateExperimentRunRequest extends $dara.Model {
|
|
|
19
19
|
completedTasks?: number;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The execution time
|
|
22
|
+
* The execution time. The value is a millisecond-level UNIX timestamp.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* 1784721775379
|
|
@@ -37,7 +37,7 @@ export declare class CreateExperimentRunRequest extends $dara.Model {
|
|
|
37
37
|
experimentPlanId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The number of failed tasks.
|
|
40
|
+
* The number of failed tasks. Default value: 0.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 0
|
|
@@ -45,7 +45,7 @@ export declare class CreateExperimentRunRequest extends $dara.Model {
|
|
|
45
45
|
failedTasks?: number;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The list of offline experiment configurations.
|
|
48
|
+
* The list of offline experiment configurations. This parameter is required when the plan type is offline. You can specify 1 to 5 configurations.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* [{"label": "experimentA", "name": "experimentA"}]
|
|
@@ -53,7 +53,7 @@ export declare class CreateExperimentRunRequest extends $dara.Model {
|
|
|
53
53
|
offlineExperiments?: OfflineExperimentConfig[];
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The experiment record name. If not specified, the default value is the plan name
|
|
56
|
+
* The experiment record name. If not specified, the default value is the plan name followed by a timestamp.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* arms_agent_experiment 2026/07/22 20:02:55
|
|
@@ -61,7 +61,7 @@ export declare class CreateExperimentRunRequest extends $dara.Model {
|
|
|
61
61
|
recordName?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The initial status.
|
|
64
|
+
* The initial status. Default value: `pending`.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* pending
|
|
@@ -5,12 +5,12 @@ export declare class CreateExperimentRunResponseBody extends $dara.Model {
|
|
|
5
5
|
* The message.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
|
-
* Experiment created, execution started
|
|
8
|
+
* Experiment created, execution started
|
|
9
9
|
*/
|
|
10
10
|
message?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The experiment record ID. For online experiments, the
|
|
13
|
+
* The experiment record ID. For online experiments, the ID is typically in the format exp-run-{uuid32}. For offline experiments, the ID may also be a standard UUID.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* exp-run-f6d419b0ed3d43a7b585948a55efc07b
|
|
@@ -26,7 +26,7 @@ export declare class CreateExperimentRunResponseBody extends $dara.Model {
|
|
|
26
26
|
requestId?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The experiment record status.
|
|
29
|
+
* The experiment record status. The value is typically pending after creation.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* pending
|
|
@@ -18,7 +18,7 @@ export declare class DeleteExperimentPlanResponseBody extends $dara.Model {
|
|
|
18
18
|
requestId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The deletion result. The value is deleted if the operation
|
|
21
|
+
* The deletion result. The value is deleted if the operation succeeds.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* deleted
|
|
@@ -2,14 +2,58 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
import { ModelParameters } from "./ModelParameters";
|
|
3
3
|
import { PromptTemplateItem } from "./PromptTemplateItem";
|
|
4
4
|
export declare class ExperimentConfig extends $dara.Model {
|
|
5
|
+
/**
|
|
6
|
+
* @remarks
|
|
7
|
+
* The endpoint connector ID. This parameter is required in user/agent mode.
|
|
8
|
+
*/
|
|
5
9
|
endpointConnectorId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* The experiment label (A/B/C/D/E).
|
|
13
|
+
*/
|
|
6
14
|
label?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The model name. You can set this parameter to agent in agent scenarios.
|
|
18
|
+
*/
|
|
7
19
|
modelName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The model parameters.
|
|
23
|
+
*/
|
|
8
24
|
modelParameters?: ModelParameters;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The model provider. Valid values: dashscope (default), user, and agent.
|
|
28
|
+
*/
|
|
9
29
|
modelProvider?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The experiment name.
|
|
33
|
+
*/
|
|
10
34
|
name?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The prompt message template. Supports {{variable name}} placeholders.
|
|
38
|
+
*/
|
|
11
39
|
promptTemplate?: PromptTemplateItem[];
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The agent request body template. This parameter is required in agent mode. Supports {{variable name}} placeholders.
|
|
43
|
+
*/
|
|
12
44
|
requestBodyTemplate?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The agent request header template. This parameter is optional in agent mode. Supports {{variable name}} placeholders.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* {"Content-Type: application/json" }
|
|
51
|
+
*/
|
|
52
|
+
requestHeaderTemplate?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* The agent request method. Valid values: POST (default) and GET.
|
|
56
|
+
*/
|
|
13
57
|
requestMethod?: string;
|
|
14
58
|
static names(): {
|
|
15
59
|
[key: string]: string;
|
|
@@ -49,6 +49,7 @@ class ExperimentConfig extends $dara.Model {
|
|
|
49
49
|
name: 'name',
|
|
50
50
|
promptTemplate: 'promptTemplate',
|
|
51
51
|
requestBodyTemplate: 'requestBodyTemplate',
|
|
52
|
+
requestHeaderTemplate: 'requestHeaderTemplate',
|
|
52
53
|
requestMethod: 'requestMethod',
|
|
53
54
|
};
|
|
54
55
|
}
|
|
@@ -62,6 +63,7 @@ class ExperimentConfig extends $dara.Model {
|
|
|
62
63
|
name: 'string',
|
|
63
64
|
promptTemplate: { 'type': 'array', 'itemType': PromptTemplateItem_1.PromptTemplateItem },
|
|
64
65
|
requestBodyTemplate: 'string',
|
|
66
|
+
requestHeaderTemplate: 'string',
|
|
65
67
|
requestMethod: 'string',
|
|
66
68
|
};
|
|
67
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExperimentConfig.js","sourceRoot":"","sources":["../../src/models/ExperimentConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uDAAoD;AACpD,6DAA0D;AAG1D,MAAa,gBAAiB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ExperimentConfig.js","sourceRoot":"","sources":["../../src/models/ExperimentConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uDAAoD;AACpD,6DAA0D;AAG1D,MAAa,gBAAiB,SAAQ,KAAK,CAAC,KAAK;IAsD/C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;YACtB,eAAe,EAAE,iBAAiB;YAClC,aAAa,EAAE,eAAe;YAC9B,IAAI,EAAE,MAAM;YACZ,cAAc,EAAE,gBAAgB;YAChC,mBAAmB,EAAE,qBAAqB;YAC1C,qBAAqB,EAAE,uBAAuB;YAC9C,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,QAAQ;YAC7B,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,iCAAe;YAChC,aAAa,EAAE,QAAQ;YACvB,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,uCAAkB,EAAE;YACnE,mBAAmB,EAAE,QAAQ;YAC7B,qBAAqB,EAAE,QAAQ;YAC/B,aAAa,EAAE,QAAQ;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,eAAe,IAAI,OAAQ,IAAI,CAAC,eAAuB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACvF,IAAI,CAAC,eAAuB,CAAC,QAAQ,EAAE,CAAC;QAC3C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjGD,4CAiGC"}
|
|
@@ -10,7 +10,7 @@ export declare class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara
|
|
|
10
10
|
evaluatorName?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The number of failed
|
|
13
|
+
* The number of failed items for this evaluator.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 4
|
|
@@ -18,7 +18,7 @@ export declare class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara
|
|
|
18
18
|
failedCount?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The number of successful
|
|
21
|
+
* The number of successful items for this evaluator.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 96
|
|
@@ -26,7 +26,7 @@ export declare class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara
|
|
|
26
26
|
successCount?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The total number of
|
|
29
|
+
* The total number of items for this evaluator.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 100
|
|
@@ -54,7 +54,7 @@ export declare class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
54
54
|
createdAt?: number;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The end time of the data window
|
|
57
|
+
* The end time of the run data window, in seconds-level UNIX timestamp.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* 1782902400
|
|
@@ -62,7 +62,7 @@ export declare class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
62
62
|
dataEndTime?: number;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The start time of the data window
|
|
65
|
+
* The start time of the run data window, in seconds-level UNIX timestamp.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* 1782816000
|
|
@@ -70,7 +70,7 @@ export declare class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
70
70
|
dataStartTime?: number;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The list of progress
|
|
73
|
+
* The list of progress entries by evaluator.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* [{"evaluatorName":"Builtin.agent_task_completion","totalCount":100,"successCount":96,"failedCount":4}]
|
|
@@ -78,7 +78,7 @@ export declare class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
78
78
|
evaluatorProgress?: GetEvaluationRunResponseBodyEvaluatorProgress[];
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The evaluator configuration
|
|
81
|
+
* The snapshot of the evaluator configuration at the time the run was created, in JSON string format.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* [{"evaluatorRef":"Builtin.agent_task_completion"}]
|
|
@@ -86,7 +86,7 @@ export declare class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
86
86
|
evaluators?: string;
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The number of failed
|
|
89
|
+
* The number of failed items.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* 4
|
|
@@ -134,7 +134,7 @@ export declare class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
134
134
|
status?: string;
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
|
-
* The number of successful
|
|
137
|
+
* The number of successful items.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
140
|
* 96
|
|
@@ -150,7 +150,7 @@ export declare class GetEvaluationRunResponseBody extends $dara.Model {
|
|
|
150
150
|
taskId?: string;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
* The total number of evaluation
|
|
153
|
+
* The total number of evaluation items.
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* 100
|
|
@@ -12,7 +12,7 @@ export declare class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
12
12
|
agentSpace?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The task
|
|
15
|
+
* The source of the task.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* default
|
|
@@ -20,7 +20,7 @@ export declare class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
20
20
|
channel?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The data source and execution configuration. Tasks with `dataType=trace` typically contain `project`, `storeName`, and `dataScope` fields
|
|
23
|
+
* The data source and execution configuration. Tasks with `dataType=trace` typically contain backend-populated `project`, `storeName`, and `dataScope` fields.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* {"project":"agentspace-project","storeName":"logstore-tracing","dataScope":"trace"}
|
|
@@ -30,7 +30,7 @@ export declare class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The creation time, in seconds
|
|
33
|
+
* The creation time, in seconds as a UNIX timestamp.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* 1782816000
|
|
@@ -38,7 +38,7 @@ export declare class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
38
38
|
createdAt?: number;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The evaluation data filter
|
|
41
|
+
* The evaluation data filter conditions, returned by the backend as a JSON string.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* {"query":"serviceName=\\"checkout-service\\"","maxRecords":10,"samplingRate":100}
|
|
@@ -54,10 +54,10 @@ export declare class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
54
54
|
dataType?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The evaluation task
|
|
57
|
+
* The description of the evaluation task.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
|
-
* Evaluate the task completion
|
|
60
|
+
* Evaluate the task completion of the online Agent pipeline
|
|
61
61
|
*/
|
|
62
62
|
description?: string;
|
|
63
63
|
/**
|
|
@@ -86,7 +86,7 @@ export declare class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
86
86
|
requestId?: string;
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The structured
|
|
89
|
+
* The structured run strategy configuration, including the parsed backfill strategy and continuous evaluation strategy.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* {"backfill":{"enabled":true,"startTime":1782816000000,"endTime":1782902400000},"continuous":{"enabled":true,"intervalUnit":"HOUR","intervalValue":1,"dataDelayMinutes":5}}
|
|
@@ -136,7 +136,7 @@ export declare class GetEvaluationTaskResponseBody extends $dara.Model {
|
|
|
136
136
|
taskName?: string;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
* The last update time, in seconds
|
|
139
|
+
* The last update time, in seconds as a UNIX timestamp.
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* 1782816600
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetEvaluatorResponseBodyEvaluatorVersions extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The version creation time, in seconds-level UNIX timestamp.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 1782816000
|
|
@@ -21,7 +21,7 @@ export declare class GetEvaluatorResponseBodyEvaluatorVersions extends $dara.Mod
|
|
|
21
21
|
* The version description.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
*
|
|
24
|
+
* Initial version
|
|
25
25
|
*/
|
|
26
26
|
versionDescription?: string;
|
|
27
27
|
static names(): {
|
|
@@ -57,14 +57,14 @@ export declare class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
57
57
|
* The configuration of the current version.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
|
-
* {"prompt":"
|
|
60
|
+
* {"prompt":"Please evaluate the task completion"}
|
|
61
61
|
*/
|
|
62
62
|
config?: {
|
|
63
63
|
[key: string]: any;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The time
|
|
67
|
+
* The creation time, in seconds-level UNIX timestamp.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* 1782816000
|
|
@@ -83,7 +83,7 @@ export declare class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
83
83
|
* The evaluator description.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
|
-
*
|
|
86
|
+
* Determines whether the Agent has completed the user task
|
|
87
87
|
*/
|
|
88
88
|
description?: string;
|
|
89
89
|
/**
|
|
@@ -91,7 +91,7 @@ export declare class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
91
91
|
* The display name.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
|
-
*
|
|
94
|
+
* Trace task completion
|
|
95
95
|
*/
|
|
96
96
|
displayName?: string;
|
|
97
97
|
/**
|
|
@@ -138,7 +138,7 @@ export declare class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
138
138
|
type?: string;
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The time
|
|
141
|
+
* The update time, in seconds-level UNIX timestamp.
|
|
142
142
|
*
|
|
143
143
|
* @example
|
|
144
144
|
* 1782816600
|
|
@@ -18,10 +18,10 @@ export declare class GetEvaluatorSkillResponseBodySkillFiles extends $dara.Model
|
|
|
18
18
|
name?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The file
|
|
21
|
+
* The file remark.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
*
|
|
24
|
+
* Main skill description
|
|
25
25
|
*/
|
|
26
26
|
remark?: string;
|
|
27
27
|
static names(): {
|
|
@@ -38,7 +38,7 @@ export declare class GetEvaluatorSkillResponseBodySkillFiles extends $dara.Model
|
|
|
38
38
|
export declare class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The
|
|
41
|
+
* The version creation time, in seconds-level UNIX timestamp.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* 1782816000
|
|
@@ -57,7 +57,7 @@ export declare class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Mo
|
|
|
57
57
|
* The version description.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
|
-
*
|
|
60
|
+
* Initial release version
|
|
61
61
|
*/
|
|
62
62
|
versionDescription?: string;
|
|
63
63
|
static names(): {
|
|
@@ -74,7 +74,7 @@ export declare class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Mo
|
|
|
74
74
|
export declare class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The time
|
|
77
|
+
* The creation time, in seconds-level UNIX timestamp.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* 1782816000
|
|
@@ -93,7 +93,7 @@ export declare class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
93
93
|
* The skill description.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
|
-
*
|
|
96
|
+
* Read trace context to assist evaluation
|
|
97
97
|
*/
|
|
98
98
|
description?: string;
|
|
99
99
|
/**
|
|
@@ -101,7 +101,7 @@ export declare class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
101
101
|
* The display name.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
|
-
* Trace
|
|
104
|
+
* Trace Context Loader
|
|
105
105
|
*/
|
|
106
106
|
displayName?: string;
|
|
107
107
|
/**
|
|
@@ -117,7 +117,7 @@ export declare class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
117
117
|
* The list of skill files.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
|
-
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"
|
|
120
|
+
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"Main skill description"}]
|
|
121
121
|
*/
|
|
122
122
|
files?: GetEvaluatorSkillResponseBodySkillFiles[];
|
|
123
123
|
/**
|
|
@@ -138,7 +138,7 @@ export declare class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
138
138
|
skillName?: string;
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The time
|
|
141
|
+
* The update time, in seconds-level UNIX timestamp.
|
|
142
142
|
*
|
|
143
143
|
* @example
|
|
144
144
|
* 1782816600
|
|
@@ -149,7 +149,7 @@ export declare class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
149
149
|
* The list of skill versions.
|
|
150
150
|
*
|
|
151
151
|
* @example
|
|
152
|
-
* [{"version":"1782816000000","versionDescription":"
|
|
152
|
+
* [{"version":"1782816000000","versionDescription":"Initial release version"}]
|
|
153
153
|
*/
|
|
154
154
|
versions?: GetEvaluatorSkillResponseBodySkillVersions[];
|
|
155
155
|
static names(): {
|
|
@@ -4,7 +4,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
|
|
|
4
4
|
export declare class GetExperimentPlanResponseBody extends $dara.Model {
|
|
5
5
|
/**
|
|
6
6
|
* @remarks
|
|
7
|
-
* The creation time
|
|
7
|
+
* The creation time. The value is a millisecond-level UNIX timestamp.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* 1782816000000
|
|
@@ -23,7 +23,7 @@ export declare class GetExperimentPlanResponseBody extends $dara.Model {
|
|
|
23
23
|
* The description.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
|
-
* Compare
|
|
26
|
+
* Compare checkout Agent baseline with optimized version
|
|
27
27
|
*/
|
|
28
28
|
description?: string;
|
|
29
29
|
/**
|
|
@@ -99,7 +99,7 @@ export declare class GetExperimentPlanResponseBody extends $dara.Model {
|
|
|
99
99
|
requestId?: string;
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
* The list of data item IDs
|
|
102
|
+
* The list of selected data item IDs in partial dataset mode.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* ["019ef4d5-a0f0-7114-832d-5542d771cd8c"]
|
|
@@ -115,7 +115,7 @@ export declare class GetExperimentPlanResponseBody extends $dara.Model {
|
|
|
115
115
|
status?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The update time
|
|
118
|
+
* The update time. The value is a millisecond-level UNIX timestamp.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* 1782816600000
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class IndexJsonKey extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Specifies whether the field contains Chinese characters. This parameter is required only when the **type** parameter is set to **text**. Valid values:
|
|
6
|
+
* - true: The field contains Chinese characters.
|
|
7
|
+
* - false: The field does not contain Chinese characters.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* false
|
|
11
|
+
*/
|
|
3
12
|
chn?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The type.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* text
|
|
19
|
+
*/
|
|
4
20
|
type?: string;
|
|
5
21
|
static names(): {
|
|
6
22
|
[key: string]: string;
|