@alicloud/agentloop20260520 2.5.1 → 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
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateEvaluatorSkillRequestFiles 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 UpdateEvaluatorSkillRequestFiles 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 UpdateEvaluatorSkillRequestFiles 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
|
+
* Primary skill description
|
|
29
29
|
*/
|
|
30
30
|
remark?: string;
|
|
31
31
|
static names(): {
|
|
@@ -42,7 +42,7 @@ export declare class UpdateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
|
42
42
|
export declare class UpdateEvaluatorSkillRequest extends $dara.Model {
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The AgentSpace
|
|
45
|
+
* The name of the AgentSpace.
|
|
46
46
|
*
|
|
47
47
|
* This parameter is required.
|
|
48
48
|
*
|
|
@@ -55,7 +55,7 @@ export declare class UpdateEvaluatorSkillRequest extends $dara.Model {
|
|
|
55
55
|
* The description of the skill.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
-
*
|
|
58
|
+
* Read trace context to assist evaluation
|
|
59
59
|
*/
|
|
60
60
|
description?: string;
|
|
61
61
|
/**
|
|
@@ -63,12 +63,12 @@ export declare class UpdateEvaluatorSkillRequest extends $dara.Model {
|
|
|
63
63
|
* The display name of the skill.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
|
-
* Trace
|
|
66
|
+
* Read Trace Context
|
|
67
67
|
*/
|
|
68
68
|
displayName?: string;
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* Specifies whether
|
|
71
|
+
* Specifies whether the skill is enabled.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* true
|
|
@@ -76,15 +76,15 @@ export declare class UpdateEvaluatorSkillRequest extends $dara.Model {
|
|
|
76
76
|
enable?: boolean;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The list of skill files.
|
|
79
|
+
* The list of skill files. If specified, the content of the skill files is updated.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
|
-
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"
|
|
82
|
+
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"Primary skill description"}]
|
|
83
83
|
*/
|
|
84
84
|
files?: UpdateEvaluatorSkillRequestFiles[];
|
|
85
85
|
/**
|
|
86
86
|
* @remarks
|
|
87
|
-
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency
|
|
87
|
+
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -28,7 +28,7 @@ export declare class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
28
28
|
description?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The list of evaluators. If omitted, the list is not modified. If an empty array is passed, the list is cleared.
|
|
31
|
+
* The list of evaluators. If omitted, the list is not modified. If an empty array is passed, the list is cleared.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* [{"evaluatorRef": "Builtin.agent_task_completion"}]
|
|
@@ -36,7 +36,7 @@ export declare class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
36
36
|
evaluators?: Evaluator[];
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The type of the experiment.
|
|
39
|
+
* The type of the experiment.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* OFFLINE
|
|
@@ -62,7 +62,10 @@ export declare class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The name of the associated data processing pipeline. This parameter is optional. If
|
|
65
|
+
* The name of the associated data processing pipeline. This parameter is optional. If this parameter is not specified, the pipeline is not updated. If an empty character string is specified, the association is dissociated. After the association, when an experiment under this plan executes and completes writing experiment results to the Logstore, the system filters by the traceId of the current experiment trace and invokes PreviewPipeline to write the results processed by the pipeline.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* my-pipeline
|
|
66
69
|
*/
|
|
67
70
|
pipelineName?: string;
|
|
68
71
|
/**
|
|
@@ -83,7 +86,7 @@ export declare class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
83
86
|
querySql?: string;
|
|
84
87
|
/**
|
|
85
88
|
* @remarks
|
|
86
|
-
* The list of selected data item IDs in partial dataset mode.
|
|
89
|
+
* The list of selected data item IDs in partial dataset mode. If an empty array is passed, the list is cleared.
|
|
87
90
|
*
|
|
88
91
|
* @example
|
|
89
92
|
* []
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateExperimentPlanRequest.js","sourceRoot":"","sources":["../../src/models/UpdateExperimentPlanRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2CAAwC;AACxC,yDAAsD;AAGtD,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateExperimentPlanRequest.js","sourceRoot":"","sources":["../../src/models/UpdateExperimentPlanRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2CAAwC;AACxC,yDAAsD;AAGtD,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAyF1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,gBAAgB;YAChC,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,cAAc,EAAE,QAAQ;YACxB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,qBAAS,EAAE;YACtD,cAAc,EAAE,QAAQ;YACxB,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,mCAAgB,EAAE;YAC9D,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YACjE,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SAC3D,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,IAAG,IAAI,CAAC,KAAK,EAAE,CAAC;YACd,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;YACvC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAClD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5ID,kEA4IC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -368,7 +368,7 @@ export default class Client extends OpenApi {
|
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
|
-
* Creates a named historical version for a dataset in a specified agent workspace to preserve the historical state of the dataset. You can call ListDatasetVersions to query version information.
|
|
371
|
+
* Creates a named historical version for a dataset in a specified agent workspace to preserve the historical state of the dataset. You can call ListDatasetVersions to query version information. When a version is no longer needed, you can call DeleteDatasetVersion to delete it.
|
|
372
372
|
*
|
|
373
373
|
* @param request - CreateDatasetVersionRequest
|
|
374
374
|
* @param headers - map
|
|
@@ -411,7 +411,7 @@ export default class Client extends OpenApi {
|
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
|
-
* Creates a named historical version for a dataset in a specified agent workspace to preserve the historical state of the dataset. You can call ListDatasetVersions to query version information.
|
|
414
|
+
* Creates a named historical version for a dataset in a specified agent workspace to preserve the historical state of the dataset. You can call ListDatasetVersions to query version information. When a version is no longer needed, you can call DeleteDatasetVersion to delete it.
|
|
415
415
|
*
|
|
416
416
|
* @param request - CreateDatasetVersionRequest
|
|
417
417
|
* @returns CreateDatasetVersionResponse
|
|
@@ -679,7 +679,7 @@ export default class Client extends OpenApi {
|
|
|
679
679
|
* Creates an experiment plan.
|
|
680
680
|
*
|
|
681
681
|
* @remarks
|
|
682
|
-
*
|
|
682
|
+
* Calls CreateExperimentPlan to create an experiment plan in a specified AgentSpace. This operation is used to define the configuration for an offline or online experiment, including the data source, optional evaluators, and experiment groups required for online experiments. After the plan is created, call CreateExperimentRun to initiate the execution.
|
|
683
683
|
*
|
|
684
684
|
* @param request - CreateExperimentPlanRequest
|
|
685
685
|
* @param headers - map
|
|
@@ -751,7 +751,7 @@ export default class Client extends OpenApi {
|
|
|
751
751
|
* Creates an experiment plan.
|
|
752
752
|
*
|
|
753
753
|
* @remarks
|
|
754
|
-
*
|
|
754
|
+
* Calls CreateExperimentPlan to create an experiment plan in a specified AgentSpace. This operation is used to define the configuration for an offline or online experiment, including the data source, optional evaluators, and experiment groups required for online experiments. After the plan is created, call CreateExperimentRun to initiate the execution.
|
|
755
755
|
*
|
|
756
756
|
* @param request - CreateExperimentPlanRequest
|
|
757
757
|
* @returns CreateExperimentPlanResponse
|
|
@@ -1217,7 +1217,7 @@ export default class Client extends OpenApi {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
|
|
1219
1219
|
/**
|
|
1220
|
-
* Deletes a historical version of a dataset in a specified agent
|
|
1220
|
+
* Deletes a historical version of a dataset in a specified agent space. After the deletion, the version no longer appears in the list returned by ListDatasetVersions. This operation does not delete the dataset itself, current data, or other historical versions.
|
|
1221
1221
|
*
|
|
1222
1222
|
* @param request - DeleteDatasetVersionRequest
|
|
1223
1223
|
* @param headers - map
|
|
@@ -1244,7 +1244,7 @@ export default class Client extends OpenApi {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
|
|
1246
1246
|
/**
|
|
1247
|
-
* Deletes a historical version of a dataset in a specified agent
|
|
1247
|
+
* Deletes a historical version of a dataset in a specified agent space. After the deletion, the version no longer appears in the list returned by ListDatasetVersions. This operation does not delete the dataset itself, current data, or other historical versions.
|
|
1248
1248
|
*
|
|
1249
1249
|
* @param request - DeleteDatasetVersionRequest
|
|
1250
1250
|
* @returns DeleteDatasetVersionResponse
|
|
@@ -2277,7 +2277,10 @@ export default class Client extends OpenApi {
|
|
|
2277
2277
|
}
|
|
2278
2278
|
|
|
2279
2279
|
/**
|
|
2280
|
-
* Queries the details of a single
|
|
2280
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
2281
|
+
*
|
|
2282
|
+
* @remarks
|
|
2283
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
2281
2284
|
*
|
|
2282
2285
|
* @param request - GetPipelineRunRequest
|
|
2283
2286
|
* @param headers - map
|
|
@@ -2304,7 +2307,10 @@ export default class Client extends OpenApi {
|
|
|
2304
2307
|
}
|
|
2305
2308
|
|
|
2306
2309
|
/**
|
|
2307
|
-
* Queries the details of a single
|
|
2310
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
2311
|
+
*
|
|
2312
|
+
* @remarks
|
|
2313
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
2308
2314
|
*
|
|
2309
2315
|
* @param request - GetPipelineRunRequest
|
|
2310
2316
|
* @returns GetPipelineRunResponse
|
|
@@ -2552,7 +2558,7 @@ export default class Client extends OpenApi {
|
|
|
2552
2558
|
}
|
|
2553
2559
|
|
|
2554
2560
|
/**
|
|
2555
|
-
* Performs a paged query to retrieve the historical versions of a dataset in a specified agent
|
|
2561
|
+
* Performs a paged query to retrieve the historical versions of a dataset in a specified agent space and returns the version names, descriptions, and creation time. Deleted versions are not returned in the list. Do not specify nextToken in the first request. For subsequent requests, use the nextToken from the previous response to continue paging.
|
|
2556
2562
|
*
|
|
2557
2563
|
* @param request - ListDatasetVersionsRequest
|
|
2558
2564
|
* @param headers - map
|
|
@@ -2589,7 +2595,7 @@ export default class Client extends OpenApi {
|
|
|
2589
2595
|
}
|
|
2590
2596
|
|
|
2591
2597
|
/**
|
|
2592
|
-
* Performs a paged query to retrieve the historical versions of a dataset in a specified agent
|
|
2598
|
+
* Performs a paged query to retrieve the historical versions of a dataset in a specified agent space and returns the version names, descriptions, and creation time. Deleted versions are not returned in the list. Do not specify nextToken in the first request. For subsequent requests, use the nextToken from the previous response to continue paging.
|
|
2593
2599
|
*
|
|
2594
2600
|
* @param request - ListDatasetVersionsRequest
|
|
2595
2601
|
* @returns ListDatasetVersionsResponse
|
|
@@ -2847,7 +2853,7 @@ export default class Client extends OpenApi {
|
|
|
2847
2853
|
}
|
|
2848
2854
|
|
|
2849
2855
|
/**
|
|
2850
|
-
* Queries
|
|
2856
|
+
* Queries the list of evaluators.
|
|
2851
2857
|
*
|
|
2852
2858
|
* @param request - ListEvaluatorsRequest
|
|
2853
2859
|
* @param headers - map
|
|
@@ -2900,7 +2906,7 @@ export default class Client extends OpenApi {
|
|
|
2900
2906
|
}
|
|
2901
2907
|
|
|
2902
2908
|
/**
|
|
2903
|
-
* Queries
|
|
2909
|
+
* Queries the list of evaluators.
|
|
2904
2910
|
*
|
|
2905
2911
|
* @param request - ListEvaluatorsRequest
|
|
2906
2912
|
* @returns ListEvaluatorsResponse
|
|
@@ -2915,7 +2921,7 @@ export default class Client extends OpenApi {
|
|
|
2915
2921
|
* Queries the list of experiment plans.
|
|
2916
2922
|
*
|
|
2917
2923
|
* @remarks
|
|
2918
|
-
* Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account.
|
|
2924
|
+
* Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account. This operation supports fuzzy match by plan name, filtering by status, and pagination by using `offset` and `limit`.
|
|
2919
2925
|
*
|
|
2920
2926
|
* @param request - ListExperimentPlansRequest
|
|
2921
2927
|
* @param headers - map
|
|
@@ -2971,7 +2977,7 @@ export default class Client extends OpenApi {
|
|
|
2971
2977
|
* Queries the list of experiment plans.
|
|
2972
2978
|
*
|
|
2973
2979
|
* @remarks
|
|
2974
|
-
* Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account.
|
|
2980
|
+
* Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account. This operation supports fuzzy match by plan name, filtering by status, and pagination by using `offset` and `limit`.
|
|
2975
2981
|
*
|
|
2976
2982
|
* @param request - ListExperimentPlansRequest
|
|
2977
2983
|
* @returns ListExperimentPlansResponse
|
|
@@ -3062,7 +3068,7 @@ export default class Client extends OpenApi {
|
|
|
3062
3068
|
}
|
|
3063
3069
|
|
|
3064
3070
|
/**
|
|
3065
|
-
*
|
|
3071
|
+
* Queries the run records of a specified optimization task by using paging. Complete result references and frozen outputs are queried by calling GetOptimizeRun.
|
|
3066
3072
|
*
|
|
3067
3073
|
* @param request - ListOptimizeRunsRequest
|
|
3068
3074
|
* @param headers - map
|
|
@@ -3111,7 +3117,7 @@ export default class Client extends OpenApi {
|
|
|
3111
3117
|
}
|
|
3112
3118
|
|
|
3113
3119
|
/**
|
|
3114
|
-
*
|
|
3120
|
+
* Queries the run records of a specified optimization task by using paging. Complete result references and frozen outputs are queried by calling GetOptimizeRun.
|
|
3115
3121
|
*
|
|
3116
3122
|
* @param request - ListOptimizeRunsRequest
|
|
3117
3123
|
* @returns ListOptimizeRunsResponse
|
|
@@ -3123,7 +3129,7 @@ export default class Client extends OpenApi {
|
|
|
3123
3129
|
}
|
|
3124
3130
|
|
|
3125
3131
|
/**
|
|
3126
|
-
*
|
|
3132
|
+
* Performs a paging query on the optimization tasks in a specified AgentSpace and returns the task status, configurations, and scheduling checkpoints.
|
|
3127
3133
|
*
|
|
3128
3134
|
* @param request - ListOptimizeTasksRequest
|
|
3129
3135
|
* @param headers - map
|
|
@@ -3168,7 +3174,7 @@ export default class Client extends OpenApi {
|
|
|
3168
3174
|
}
|
|
3169
3175
|
|
|
3170
3176
|
/**
|
|
3171
|
-
*
|
|
3177
|
+
* Performs a paging query on the optimization tasks in a specified AgentSpace and returns the task status, configurations, and scheduling checkpoints.
|
|
3172
3178
|
*
|
|
3173
3179
|
* @param request - ListOptimizeTasksRequest
|
|
3174
3180
|
* @returns ListOptimizeTasksResponse
|
|
@@ -3180,7 +3186,10 @@ export default class Client extends OpenApi {
|
|
|
3180
3186
|
}
|
|
3181
3187
|
|
|
3182
3188
|
/**
|
|
3183
|
-
* Queries the run history. Supports filtering by status, trigger type, and time range, and cursor-based pagination.
|
|
3189
|
+
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3190
|
+
*
|
|
3191
|
+
* @remarks
|
|
3192
|
+
* Calls the ListPipelineRuns operation to query the pipeline run history. You can filter the results by status, trigger type, and time range, and use cursor-based pagination.
|
|
3184
3193
|
*
|
|
3185
3194
|
* @param request - ListPipelineRunsRequest
|
|
3186
3195
|
* @param headers - map
|
|
@@ -3233,7 +3242,10 @@ export default class Client extends OpenApi {
|
|
|
3233
3242
|
}
|
|
3234
3243
|
|
|
3235
3244
|
/**
|
|
3236
|
-
* Queries the run history. Supports filtering by status, trigger type, and time range, and cursor-based pagination.
|
|
3245
|
+
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3246
|
+
*
|
|
3247
|
+
* @remarks
|
|
3248
|
+
* Calls the ListPipelineRuns operation to query the pipeline run history. You can filter the results by status, trigger type, and time range, and use cursor-based pagination.
|
|
3237
3249
|
*
|
|
3238
3250
|
* @param request - ListPipelineRunsRequest
|
|
3239
3251
|
* @returns ListPipelineRunsResponse
|
|
@@ -3359,8 +3371,8 @@ export default class Client extends OpenApi {
|
|
|
3359
3371
|
*
|
|
3360
3372
|
* @remarks
|
|
3361
3373
|
* ## Request description
|
|
3362
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
3363
|
-
* - **source.type** currently supports only the `logstore` type
|
|
3374
|
+
* - **agentSpace** must be an existing AgentSpace instance under the current account.
|
|
3375
|
+
* - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
|
|
3364
3376
|
* - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
|
|
3365
3377
|
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
3366
3378
|
* - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
|
|
@@ -3412,8 +3424,8 @@ export default class Client extends OpenApi {
|
|
|
3412
3424
|
*
|
|
3413
3425
|
* @remarks
|
|
3414
3426
|
* ## Request description
|
|
3415
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
3416
|
-
* - **source.type** currently supports only the `logstore` type
|
|
3427
|
+
* - **agentSpace** must be an existing AgentSpace instance under the current account.
|
|
3428
|
+
* - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
|
|
3417
3429
|
* - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
|
|
3418
3430
|
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
3419
3431
|
* - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
|
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDatasetVersionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The description of the version. This parameter is optional. If
|
|
8
|
+
* The description of the version. This parameter is optional. If you do not specify this parameter, an empty string is used.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* Dataset version used for the
|
|
11
|
+
* Dataset version used for the initial evaluation
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the version to be created, which is used to identify the version within the current dataset. The name cannot be empty after leading and trailing whitespaces are removed. The length
|
|
16
|
+
* The name of the version to be created, which is used to identify the version within the current dataset. The name cannot be empty after leading and trailing whitespaces are removed. The length cannot exceed 128 bytes in UTF-8 encoding, and the name cannot contain forward slashes (/).
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -7,7 +7,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
|
|
|
7
7
|
export class CreateExperimentPlanRequest extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The ID of the associated dataset. If
|
|
10
|
+
* The ID of the associated dataset. If this parameter is not specified, the execution phase is processed in simple mode.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* rca_benckmark_eval
|
|
@@ -23,7 +23,7 @@ export class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
23
23
|
description?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The list of evaluators. After
|
|
26
|
+
* The list of evaluators. After configuration, evaluation can be automatically triggered when the experiment is completed.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* [{"evaluatorRef": "Builtin.agent_correctness", "name": "Builtin.agent_correctness", "type": "AGENT", "resultName": "Builtin.agent_correctness", "resultType": "score", "variableMapping": {"input": "experiment_input", "output": "experiment_output", "expected_output": "dataset.ground_truth_json"}, "filters": {"query": "", "sample": "100"}, "config": {"variables": [], "prompt": ""}}, {"evaluatorRef": "rca-toxicity-safety-accuracy", "name": "rca-toxicity-safety-accuracy", "type": "AGENT", "resultName": "rca-toxicity-safety-accuracy", "resultType": "score", "variableMapping": {"input": "experiment_input", "output": "experiment_output", "question": "dataset.question", "expected_output": "dataset.ground_truth_json", "payload_json": "dataset.payload_json"}, "filters": {"query": "", "sample": "100"}, "config": {"variables": [], "prompt": ""}}]
|
|
@@ -31,7 +31,7 @@ export class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
31
31
|
evaluators?: Evaluator[];
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The type of the experiment. Valid values: OFFLINE and ONLINE
|
|
34
|
+
* The type of the experiment. Valid values: `OFFLINE` and `ONLINE`.
|
|
35
35
|
*
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
41
41
|
experimentType?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The list of experiment configurations.
|
|
44
|
+
* The list of experiment configurations. A maximum of five configurations can be specified. This parameter is optional or can be an empty array for offline experiments. For online experiments, at least one configuration must be specified.
|
|
45
45
|
*
|
|
46
46
|
* This parameter is required.
|
|
47
47
|
*
|
|
@@ -59,12 +59,15 @@ export class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
59
59
|
input?: { [key: string]: any };
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* The name of the associated data processing pipeline. This parameter is optional. After
|
|
62
|
+
* The name of the associated data processing pipeline. This parameter is optional. After association, when the experiment execution under this plan is completed and the experiment results are written to the Logstore, the system filters by the traceId of the current experiment trace and calls PreviewPipeline to write the results processed by the pipeline together.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* my-pipeline
|
|
63
66
|
*/
|
|
64
67
|
pipelineName?: string;
|
|
65
68
|
/**
|
|
66
69
|
* @remarks
|
|
67
|
-
* The name of the experiment plan. The name must be unique within the same account in
|
|
70
|
+
* The name of the experiment plan. The name must be unique within the same account in the same AgentSpace.
|
|
68
71
|
*
|
|
69
72
|
* This parameter is required.
|
|
70
73
|
*
|
|
@@ -74,7 +77,7 @@ export class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
74
77
|
planName?: string;
|
|
75
78
|
/**
|
|
76
79
|
* @remarks
|
|
77
|
-
* The custom query SQL clause in partial dataset mode.
|
|
80
|
+
* The custom query SQL clause in partial dataset mode. This parameter can be used when `selectedItemIds` is empty.
|
|
78
81
|
*
|
|
79
82
|
* @example
|
|
80
83
|
* status=\\"OK\\"
|
|
@@ -82,7 +85,7 @@ export class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
82
85
|
querySql?: string;
|
|
83
86
|
/**
|
|
84
87
|
* @remarks
|
|
85
|
-
* The list of selected data item IDs in partial dataset mode. This parameter must be used together with
|
|
88
|
+
* The list of selected data item IDs in partial dataset mode. This parameter must be used together with `datasetId`.
|
|
86
89
|
*
|
|
87
90
|
* @example
|
|
88
91
|
* ["019ef4d5-a0f0-7114-832d-5542d771cd8c", "019f1729-be9b-7769-a006-8e98023ad7ad"]
|
|
@@ -29,7 +29,7 @@ export class CreateExperimentPlanResponseBody extends $dara.Model {
|
|
|
29
29
|
requestId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The creation result. A value of created indicates success.
|
|
32
|
+
* The creation result. A value of `created` indicates success.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* created
|