@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
package/dist/client.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ export default class Client extends OpenApi {
|
|
|
117
117
|
*/
|
|
118
118
|
createDataset(agentSpace: string, request: $_model.CreateDatasetRequest): Promise<$_model.CreateDatasetResponse>;
|
|
119
119
|
/**
|
|
120
|
-
* 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.
|
|
120
|
+
* 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.
|
|
121
121
|
*
|
|
122
122
|
* @param request - CreateDatasetVersionRequest
|
|
123
123
|
* @param headers - map
|
|
@@ -128,7 +128,7 @@ export default class Client extends OpenApi {
|
|
|
128
128
|
[key: string]: string;
|
|
129
129
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDatasetVersionResponse>;
|
|
130
130
|
/**
|
|
131
|
-
* 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.
|
|
131
|
+
* 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.
|
|
132
132
|
*
|
|
133
133
|
* @param request - CreateDatasetVersionRequest
|
|
134
134
|
* @returns CreateDatasetVersionResponse
|
|
@@ -200,7 +200,7 @@ export default class Client extends OpenApi {
|
|
|
200
200
|
* Creates an experiment plan.
|
|
201
201
|
*
|
|
202
202
|
* @remarks
|
|
203
|
-
*
|
|
203
|
+
* 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.
|
|
204
204
|
*
|
|
205
205
|
* @param request - CreateExperimentPlanRequest
|
|
206
206
|
* @param headers - map
|
|
@@ -214,7 +214,7 @@ export default class Client extends OpenApi {
|
|
|
214
214
|
* Creates an experiment plan.
|
|
215
215
|
*
|
|
216
216
|
* @remarks
|
|
217
|
-
*
|
|
217
|
+
* 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.
|
|
218
218
|
*
|
|
219
219
|
* @param request - CreateExperimentPlanRequest
|
|
220
220
|
* @returns CreateExperimentPlanResponse
|
|
@@ -371,7 +371,7 @@ export default class Client extends OpenApi {
|
|
|
371
371
|
*/
|
|
372
372
|
deleteDataset(agentSpace: string, datasetName: string, request: $_model.DeleteDatasetRequest): Promise<$_model.DeleteDatasetResponse>;
|
|
373
373
|
/**
|
|
374
|
-
* Deletes a historical version of a dataset in a specified agent
|
|
374
|
+
* 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.
|
|
375
375
|
*
|
|
376
376
|
* @param request - DeleteDatasetVersionRequest
|
|
377
377
|
* @param headers - map
|
|
@@ -382,7 +382,7 @@ export default class Client extends OpenApi {
|
|
|
382
382
|
[key: string]: string;
|
|
383
383
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDatasetVersionResponse>;
|
|
384
384
|
/**
|
|
385
|
-
* Deletes a historical version of a dataset in a specified agent
|
|
385
|
+
* 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.
|
|
386
386
|
*
|
|
387
387
|
* @param request - DeleteDatasetVersionRequest
|
|
388
388
|
* @returns DeleteDatasetVersionResponse
|
|
@@ -835,7 +835,10 @@ export default class Client extends OpenApi {
|
|
|
835
835
|
*/
|
|
836
836
|
getPipeline(agentSpace: string, pipelineName: string, request: $_model.GetPipelineRequest): Promise<$_model.GetPipelineResponse>;
|
|
837
837
|
/**
|
|
838
|
-
* Queries the details of a single
|
|
838
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
839
|
+
*
|
|
840
|
+
* @remarks
|
|
841
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
839
842
|
*
|
|
840
843
|
* @param request - GetPipelineRunRequest
|
|
841
844
|
* @param headers - map
|
|
@@ -846,7 +849,10 @@ export default class Client extends OpenApi {
|
|
|
846
849
|
[key: string]: string;
|
|
847
850
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetPipelineRunResponse>;
|
|
848
851
|
/**
|
|
849
|
-
* Queries the details of a single
|
|
852
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
853
|
+
*
|
|
854
|
+
* @remarks
|
|
855
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
850
856
|
*
|
|
851
857
|
* @param request - GetPipelineRunRequest
|
|
852
858
|
* @returns GetPipelineRunResponse
|
|
@@ -931,7 +937,7 @@ export default class Client extends OpenApi {
|
|
|
931
937
|
*/
|
|
932
938
|
listContextStores(agentSpace: string, request: $_model.ListContextStoresRequest): Promise<$_model.ListContextStoresResponse>;
|
|
933
939
|
/**
|
|
934
|
-
* Performs a paged query to retrieve the historical versions of a dataset in a specified agent
|
|
940
|
+
* 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.
|
|
935
941
|
*
|
|
936
942
|
* @param request - ListDatasetVersionsRequest
|
|
937
943
|
* @param headers - map
|
|
@@ -942,7 +948,7 @@ export default class Client extends OpenApi {
|
|
|
942
948
|
[key: string]: string;
|
|
943
949
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListDatasetVersionsResponse>;
|
|
944
950
|
/**
|
|
945
|
-
* Performs a paged query to retrieve the historical versions of a dataset in a specified agent
|
|
951
|
+
* 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.
|
|
946
952
|
*
|
|
947
953
|
* @param request - ListDatasetVersionsRequest
|
|
948
954
|
* @returns ListDatasetVersionsResponse
|
|
@@ -1021,7 +1027,7 @@ export default class Client extends OpenApi {
|
|
|
1021
1027
|
*/
|
|
1022
1028
|
listEvaluatorSkills(name: string, request: $_model.ListEvaluatorSkillsRequest): Promise<$_model.ListEvaluatorSkillsResponse>;
|
|
1023
1029
|
/**
|
|
1024
|
-
* Queries
|
|
1030
|
+
* Queries the list of evaluators.
|
|
1025
1031
|
*
|
|
1026
1032
|
* @param request - ListEvaluatorsRequest
|
|
1027
1033
|
* @param headers - map
|
|
@@ -1032,7 +1038,7 @@ export default class Client extends OpenApi {
|
|
|
1032
1038
|
[key: string]: string;
|
|
1033
1039
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListEvaluatorsResponse>;
|
|
1034
1040
|
/**
|
|
1035
|
-
* Queries
|
|
1041
|
+
* Queries the list of evaluators.
|
|
1036
1042
|
*
|
|
1037
1043
|
* @param request - ListEvaluatorsRequest
|
|
1038
1044
|
* @returns ListEvaluatorsResponse
|
|
@@ -1042,7 +1048,7 @@ export default class Client extends OpenApi {
|
|
|
1042
1048
|
* Queries the list of experiment plans.
|
|
1043
1049
|
*
|
|
1044
1050
|
* @remarks
|
|
1045
|
-
* Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account.
|
|
1051
|
+
* 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`.
|
|
1046
1052
|
*
|
|
1047
1053
|
* @param request - ListExperimentPlansRequest
|
|
1048
1054
|
* @param headers - map
|
|
@@ -1056,7 +1062,7 @@ export default class Client extends OpenApi {
|
|
|
1056
1062
|
* Queries the list of experiment plans.
|
|
1057
1063
|
*
|
|
1058
1064
|
* @remarks
|
|
1059
|
-
* Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account.
|
|
1065
|
+
* 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`.
|
|
1060
1066
|
*
|
|
1061
1067
|
* @param request - ListExperimentPlansRequest
|
|
1062
1068
|
* @returns ListExperimentPlansResponse
|
|
@@ -1087,7 +1093,7 @@ export default class Client extends OpenApi {
|
|
|
1087
1093
|
*/
|
|
1088
1094
|
listExperimentRuns(agentSpace: string, request: $_model.ListExperimentRunsRequest): Promise<$_model.ListExperimentRunsResponse>;
|
|
1089
1095
|
/**
|
|
1090
|
-
*
|
|
1096
|
+
* Queries the run records of a specified optimization task by using paging. Complete result references and frozen outputs are queried by calling GetOptimizeRun.
|
|
1091
1097
|
*
|
|
1092
1098
|
* @param request - ListOptimizeRunsRequest
|
|
1093
1099
|
* @param headers - map
|
|
@@ -1098,14 +1104,14 @@ export default class Client extends OpenApi {
|
|
|
1098
1104
|
[key: string]: string;
|
|
1099
1105
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOptimizeRunsResponse>;
|
|
1100
1106
|
/**
|
|
1101
|
-
*
|
|
1107
|
+
* Queries the run records of a specified optimization task by using paging. Complete result references and frozen outputs are queried by calling GetOptimizeRun.
|
|
1102
1108
|
*
|
|
1103
1109
|
* @param request - ListOptimizeRunsRequest
|
|
1104
1110
|
* @returns ListOptimizeRunsResponse
|
|
1105
1111
|
*/
|
|
1106
1112
|
listOptimizeRuns(agentSpace: string, optimizeTaskName: string, request: $_model.ListOptimizeRunsRequest): Promise<$_model.ListOptimizeRunsResponse>;
|
|
1107
1113
|
/**
|
|
1108
|
-
*
|
|
1114
|
+
* Performs a paging query on the optimization tasks in a specified AgentSpace and returns the task status, configurations, and scheduling checkpoints.
|
|
1109
1115
|
*
|
|
1110
1116
|
* @param request - ListOptimizeTasksRequest
|
|
1111
1117
|
* @param headers - map
|
|
@@ -1116,14 +1122,17 @@ export default class Client extends OpenApi {
|
|
|
1116
1122
|
[key: string]: string;
|
|
1117
1123
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOptimizeTasksResponse>;
|
|
1118
1124
|
/**
|
|
1119
|
-
*
|
|
1125
|
+
* Performs a paging query on the optimization tasks in a specified AgentSpace and returns the task status, configurations, and scheduling checkpoints.
|
|
1120
1126
|
*
|
|
1121
1127
|
* @param request - ListOptimizeTasksRequest
|
|
1122
1128
|
* @returns ListOptimizeTasksResponse
|
|
1123
1129
|
*/
|
|
1124
1130
|
listOptimizeTasks(agentSpace: string, request: $_model.ListOptimizeTasksRequest): Promise<$_model.ListOptimizeTasksResponse>;
|
|
1125
1131
|
/**
|
|
1126
|
-
* Queries the run history. Supports filtering by status, trigger type, and time range, and cursor-based pagination.
|
|
1132
|
+
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
1133
|
+
*
|
|
1134
|
+
* @remarks
|
|
1135
|
+
* 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.
|
|
1127
1136
|
*
|
|
1128
1137
|
* @param request - ListPipelineRunsRequest
|
|
1129
1138
|
* @param headers - map
|
|
@@ -1134,7 +1143,10 @@ export default class Client extends OpenApi {
|
|
|
1134
1143
|
[key: string]: string;
|
|
1135
1144
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListPipelineRunsResponse>;
|
|
1136
1145
|
/**
|
|
1137
|
-
* Queries the run history. Supports filtering by status, trigger type, and time range, and cursor-based pagination.
|
|
1146
|
+
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
1147
|
+
*
|
|
1148
|
+
* @remarks
|
|
1149
|
+
* 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.
|
|
1138
1150
|
*
|
|
1139
1151
|
* @param request - ListPipelineRunsRequest
|
|
1140
1152
|
* @returns ListPipelineRunsResponse
|
|
@@ -1181,8 +1193,8 @@ export default class Client extends OpenApi {
|
|
|
1181
1193
|
*
|
|
1182
1194
|
* @remarks
|
|
1183
1195
|
* ## Request description
|
|
1184
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
1185
|
-
* - **source.type** currently supports only the `logstore` type
|
|
1196
|
+
* - **agentSpace** must be an existing AgentSpace instance under the current account.
|
|
1197
|
+
* - **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.
|
|
1186
1198
|
* - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
|
|
1187
1199
|
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
1188
1200
|
* - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
|
|
@@ -1200,8 +1212,8 @@ export default class Client extends OpenApi {
|
|
|
1200
1212
|
*
|
|
1201
1213
|
* @remarks
|
|
1202
1214
|
* ## Request description
|
|
1203
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
1204
|
-
* - **source.type** currently supports only the `logstore` type
|
|
1215
|
+
* - **agentSpace** must be an existing AgentSpace instance under the current account.
|
|
1216
|
+
* - **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.
|
|
1205
1217
|
* - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
|
|
1206
1218
|
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
1207
1219
|
* - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
|
package/dist/client.js
CHANGED
|
@@ -368,7 +368,7 @@ class Client extends openapi_core_1.default {
|
|
|
368
368
|
return await this.createDatasetWithOptions(agentSpace, request, headers, runtime);
|
|
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
|
|
@@ -407,7 +407,7 @@ class Client extends openapi_core_1.default {
|
|
|
407
407
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDatasetVersionResponse({}));
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
|
-
* 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.
|
|
410
|
+
* 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.
|
|
411
411
|
*
|
|
412
412
|
* @param request - CreateDatasetVersionRequest
|
|
413
413
|
* @returns CreateDatasetVersionResponse
|
|
@@ -639,7 +639,7 @@ class Client extends openapi_core_1.default {
|
|
|
639
639
|
* Creates an experiment plan.
|
|
640
640
|
*
|
|
641
641
|
* @remarks
|
|
642
|
-
*
|
|
642
|
+
* 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.
|
|
643
643
|
*
|
|
644
644
|
* @param request - CreateExperimentPlanRequest
|
|
645
645
|
* @param headers - map
|
|
@@ -700,7 +700,7 @@ class Client extends openapi_core_1.default {
|
|
|
700
700
|
* Creates an experiment plan.
|
|
701
701
|
*
|
|
702
702
|
* @remarks
|
|
703
|
-
*
|
|
703
|
+
* 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.
|
|
704
704
|
*
|
|
705
705
|
* @param request - CreateExperimentPlanRequest
|
|
706
706
|
* @returns CreateExperimentPlanResponse
|
|
@@ -1120,7 +1120,7 @@ class Client extends openapi_core_1.default {
|
|
|
1120
1120
|
return await this.deleteDatasetWithOptions(agentSpace, datasetName, request, headers, runtime);
|
|
1121
1121
|
}
|
|
1122
1122
|
/**
|
|
1123
|
-
* Deletes a historical version of a dataset in a specified agent
|
|
1123
|
+
* 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.
|
|
1124
1124
|
*
|
|
1125
1125
|
* @param request - DeleteDatasetVersionRequest
|
|
1126
1126
|
* @param headers - map
|
|
@@ -1146,7 +1146,7 @@ class Client extends openapi_core_1.default {
|
|
|
1146
1146
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDatasetVersionResponse({}));
|
|
1147
1147
|
}
|
|
1148
1148
|
/**
|
|
1149
|
-
* Deletes a historical version of a dataset in a specified agent
|
|
1149
|
+
* 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.
|
|
1150
1150
|
*
|
|
1151
1151
|
* @param request - DeleteDatasetVersionRequest
|
|
1152
1152
|
* @returns DeleteDatasetVersionResponse
|
|
@@ -2113,7 +2113,10 @@ class Client extends openapi_core_1.default {
|
|
|
2113
2113
|
return await this.getPipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
|
|
2114
2114
|
}
|
|
2115
2115
|
/**
|
|
2116
|
-
* Queries the details of a single
|
|
2116
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
2117
|
+
*
|
|
2118
|
+
* @remarks
|
|
2119
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
2117
2120
|
*
|
|
2118
2121
|
* @param request - GetPipelineRunRequest
|
|
2119
2122
|
* @param headers - map
|
|
@@ -2139,7 +2142,10 @@ class Client extends openapi_core_1.default {
|
|
|
2139
2142
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPipelineRunResponse({}));
|
|
2140
2143
|
}
|
|
2141
2144
|
/**
|
|
2142
|
-
* Queries the details of a single
|
|
2145
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
2146
|
+
*
|
|
2147
|
+
* @remarks
|
|
2148
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
|
|
2143
2149
|
*
|
|
2144
2150
|
* @param request - GetPipelineRunRequest
|
|
2145
2151
|
* @returns GetPipelineRunResponse
|
|
@@ -2362,7 +2368,7 @@ class Client extends openapi_core_1.default {
|
|
|
2362
2368
|
return await this.listContextStoresWithOptions(agentSpace, request, headers, runtime);
|
|
2363
2369
|
}
|
|
2364
2370
|
/**
|
|
2365
|
-
* Performs a paged query to retrieve the historical versions of a dataset in a specified agent
|
|
2371
|
+
* 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.
|
|
2366
2372
|
*
|
|
2367
2373
|
* @param request - ListDatasetVersionsRequest
|
|
2368
2374
|
* @param headers - map
|
|
@@ -2396,7 +2402,7 @@ class Client extends openapi_core_1.default {
|
|
|
2396
2402
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDatasetVersionsResponse({}));
|
|
2397
2403
|
}
|
|
2398
2404
|
/**
|
|
2399
|
-
* Performs a paged query to retrieve the historical versions of a dataset in a specified agent
|
|
2405
|
+
* 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.
|
|
2400
2406
|
*
|
|
2401
2407
|
* @param request - ListDatasetVersionsRequest
|
|
2402
2408
|
* @returns ListDatasetVersionsResponse
|
|
@@ -2625,7 +2631,7 @@ class Client extends openapi_core_1.default {
|
|
|
2625
2631
|
return await this.listEvaluatorSkillsWithOptions(name, request, headers, runtime);
|
|
2626
2632
|
}
|
|
2627
2633
|
/**
|
|
2628
|
-
* Queries
|
|
2634
|
+
* Queries the list of evaluators.
|
|
2629
2635
|
*
|
|
2630
2636
|
* @param request - ListEvaluatorsRequest
|
|
2631
2637
|
* @param headers - map
|
|
@@ -2671,7 +2677,7 @@ class Client extends openapi_core_1.default {
|
|
|
2671
2677
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEvaluatorsResponse({}));
|
|
2672
2678
|
}
|
|
2673
2679
|
/**
|
|
2674
|
-
* Queries
|
|
2680
|
+
* Queries the list of evaluators.
|
|
2675
2681
|
*
|
|
2676
2682
|
* @param request - ListEvaluatorsRequest
|
|
2677
2683
|
* @returns ListEvaluatorsResponse
|
|
@@ -2685,7 +2691,7 @@ class Client extends openapi_core_1.default {
|
|
|
2685
2691
|
* Queries the list of experiment plans.
|
|
2686
2692
|
*
|
|
2687
2693
|
* @remarks
|
|
2688
|
-
* Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account.
|
|
2694
|
+
* 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`.
|
|
2689
2695
|
*
|
|
2690
2696
|
* @param request - ListExperimentPlansRequest
|
|
2691
2697
|
* @param headers - map
|
|
@@ -2734,7 +2740,7 @@ class Client extends openapi_core_1.default {
|
|
|
2734
2740
|
* Queries the list of experiment plans.
|
|
2735
2741
|
*
|
|
2736
2742
|
* @remarks
|
|
2737
|
-
* Calls ListExperimentPlans to query the list of experiment plans under a specified AgentSpace for the current account.
|
|
2743
|
+
* 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`.
|
|
2738
2744
|
*
|
|
2739
2745
|
* @param request - ListExperimentPlansRequest
|
|
2740
2746
|
* @returns ListExperimentPlansResponse
|
|
@@ -2814,7 +2820,7 @@ class Client extends openapi_core_1.default {
|
|
|
2814
2820
|
return await this.listExperimentRunsWithOptions(agentSpace, request, headers, runtime);
|
|
2815
2821
|
}
|
|
2816
2822
|
/**
|
|
2817
|
-
*
|
|
2823
|
+
* Queries the run records of a specified optimization task by using paging. Complete result references and frozen outputs are queried by calling GetOptimizeRun.
|
|
2818
2824
|
*
|
|
2819
2825
|
* @param request - ListOptimizeRunsRequest
|
|
2820
2826
|
* @param headers - map
|
|
@@ -2857,7 +2863,7 @@ class Client extends openapi_core_1.default {
|
|
|
2857
2863
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOptimizeRunsResponse({}));
|
|
2858
2864
|
}
|
|
2859
2865
|
/**
|
|
2860
|
-
*
|
|
2866
|
+
* Queries the run records of a specified optimization task by using paging. Complete result references and frozen outputs are queried by calling GetOptimizeRun.
|
|
2861
2867
|
*
|
|
2862
2868
|
* @param request - ListOptimizeRunsRequest
|
|
2863
2869
|
* @returns ListOptimizeRunsResponse
|
|
@@ -2868,7 +2874,7 @@ class Client extends openapi_core_1.default {
|
|
|
2868
2874
|
return await this.listOptimizeRunsWithOptions(agentSpace, optimizeTaskName, request, headers, runtime);
|
|
2869
2875
|
}
|
|
2870
2876
|
/**
|
|
2871
|
-
*
|
|
2877
|
+
* Performs a paging query on the optimization tasks in a specified AgentSpace and returns the task status, configurations, and scheduling checkpoints.
|
|
2872
2878
|
*
|
|
2873
2879
|
* @param request - ListOptimizeTasksRequest
|
|
2874
2880
|
* @param headers - map
|
|
@@ -2908,7 +2914,7 @@ class Client extends openapi_core_1.default {
|
|
|
2908
2914
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOptimizeTasksResponse({}));
|
|
2909
2915
|
}
|
|
2910
2916
|
/**
|
|
2911
|
-
*
|
|
2917
|
+
* Performs a paging query on the optimization tasks in a specified AgentSpace and returns the task status, configurations, and scheduling checkpoints.
|
|
2912
2918
|
*
|
|
2913
2919
|
* @param request - ListOptimizeTasksRequest
|
|
2914
2920
|
* @returns ListOptimizeTasksResponse
|
|
@@ -2919,7 +2925,10 @@ class Client extends openapi_core_1.default {
|
|
|
2919
2925
|
return await this.listOptimizeTasksWithOptions(agentSpace, request, headers, runtime);
|
|
2920
2926
|
}
|
|
2921
2927
|
/**
|
|
2922
|
-
* Queries the run history. Supports filtering by status, trigger type, and time range, and cursor-based pagination.
|
|
2928
|
+
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
2929
|
+
*
|
|
2930
|
+
* @remarks
|
|
2931
|
+
* 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.
|
|
2923
2932
|
*
|
|
2924
2933
|
* @param request - ListPipelineRunsRequest
|
|
2925
2934
|
* @param headers - map
|
|
@@ -2965,7 +2974,10 @@ class Client extends openapi_core_1.default {
|
|
|
2965
2974
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPipelineRunsResponse({}));
|
|
2966
2975
|
}
|
|
2967
2976
|
/**
|
|
2968
|
-
* Queries the run history. Supports filtering by status, trigger type, and time range, and cursor-based pagination.
|
|
2977
|
+
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
2978
|
+
*
|
|
2979
|
+
* @remarks
|
|
2980
|
+
* 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.
|
|
2969
2981
|
*
|
|
2970
2982
|
* @param request - ListPipelineRunsRequest
|
|
2971
2983
|
* @returns ListPipelineRunsResponse
|
|
@@ -3079,8 +3091,8 @@ class Client extends openapi_core_1.default {
|
|
|
3079
3091
|
*
|
|
3080
3092
|
* @remarks
|
|
3081
3093
|
* ## Request description
|
|
3082
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
3083
|
-
* - **source.type** currently supports only the `logstore` type
|
|
3094
|
+
* - **agentSpace** must be an existing AgentSpace instance under the current account.
|
|
3095
|
+
* - **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.
|
|
3084
3096
|
* - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
|
|
3085
3097
|
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
3086
3098
|
* - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
|
|
@@ -3127,8 +3139,8 @@ class Client extends openapi_core_1.default {
|
|
|
3127
3139
|
*
|
|
3128
3140
|
* @remarks
|
|
3129
3141
|
* ## Request description
|
|
3130
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
3131
|
-
* - **source.type** currently supports only the `logstore` type
|
|
3142
|
+
* - **agentSpace** must be an existing AgentSpace instance under the current account.
|
|
3143
|
+
* - **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.
|
|
3132
3144
|
* - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
|
|
3133
3145
|
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
3134
3146
|
* - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
|