@alicloud/agentloop20260520 2.3.1 → 2.3.3
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 +25 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentSpaceRequest.d.ts +2 -1
- package/dist/models/CreateAgentSpaceRequest.js +2 -0
- package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
- package/dist/models/CreateEvaluationTaskRequest.d.ts +11 -11
- package/dist/models/CreateExperimentPlanRequest.d.ts +10 -6
- package/dist/models/CreateExperimentPlanRequest.js.map +1 -1
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +2 -2
- package/dist/models/CreatePipelineRequest.d.ts +251 -9
- package/dist/models/CreatePipelineRequest.js +203 -1
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/Evaluator.d.ts +11 -3
- package/dist/models/Evaluator.js +6 -0
- package/dist/models/Evaluator.js.map +1 -1
- package/dist/models/EvaluatorVariableExtractorMappingValue.d.ts +37 -0
- package/dist/models/EvaluatorVariableExtractorMappingValue.js +62 -0
- package/dist/models/EvaluatorVariableExtractorMappingValue.js.map +1 -0
- package/dist/models/GetAgentSpaceResponseBody.d.ts +4 -3
- package/dist/models/GetAgentSpaceResponseBody.js +2 -0
- package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
- package/dist/models/GetEvaluationTaskResponseBody.d.ts +3 -3
- package/dist/models/GetExperimentPlanResponseBody.d.ts +8 -4
- package/dist/models/GetExperimentPlanResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +172 -3
- package/dist/models/GetPipelineResponseBody.js +203 -1
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListAgentSpacesResponseBody.d.ts +1 -0
- package/dist/models/ListAgentSpacesResponseBody.js +2 -0
- package/dist/models/ListAgentSpacesResponseBody.js.map +1 -1
- package/dist/models/ListExperimentRunsRequest.d.ts +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +68 -2
- package/dist/models/PreviewPipelineRequest.js +53 -1
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +6 -6
- package/dist/models/RunPipelineRequest.d.ts +16 -0
- package/dist/models/RunPipelineRequest.js.map +1 -1
- package/dist/models/RunPipelineResponseBody.d.ts +15 -0
- package/dist/models/RunPipelineResponseBody.js.map +1 -1
- package/dist/models/RunStrategies.d.ts +14 -0
- package/dist/models/RunStrategies.js.map +1 -1
- package/dist/models/UpdateEvaluationTaskRequest.d.ts +5 -5
- package/dist/models/UpdateExperimentPlanRequest.d.ts +10 -6
- package/dist/models/UpdateExperimentPlanRequest.js.map +1 -1
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +3 -3
- package/dist/models/UpdatePipelineRequest.d.ts +267 -13
- package/dist/models/UpdatePipelineRequest.js +205 -1
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/model.d.ts +27 -0
- package/dist/models/model.js +83 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +26 -22
- package/src/models/CreateAgentSpaceRequest.ts +4 -1
- package/src/models/CreateEvaluationTaskRequest.ts +11 -11
- package/src/models/CreateExperimentPlanRequest.ts +10 -6
- package/src/models/CreateExperimentPlanResponseBody.ts +2 -2
- package/src/models/CreatePipelineRequest.ts +381 -9
- package/src/models/Evaluator.ts +14 -3
- package/src/models/EvaluatorVariableExtractorMappingValue.ts +54 -0
- package/src/models/GetAgentSpaceResponseBody.ts +6 -3
- package/src/models/GetEvaluationTaskResponseBody.ts +3 -3
- package/src/models/GetExperimentPlanResponseBody.ts +8 -4
- package/src/models/GetPipelineResponseBody.ts +302 -3
- package/src/models/ListAgentSpacesResponseBody.ts +3 -0
- package/src/models/ListExperimentRunsRequest.ts +1 -1
- package/src/models/PreviewPipelineRequest.ts +102 -2
- package/src/models/PreviewPipelineResponseBody.ts +6 -6
- package/src/models/RunPipelineRequest.ts +16 -0
- package/src/models/RunPipelineResponseBody.ts +15 -0
- package/src/models/RunStrategies.ts +14 -0
- package/src/models/UpdateEvaluationTaskRequest.ts +5 -5
- package/src/models/UpdateExperimentPlanRequest.ts +10 -6
- package/src/models/UpdateExperimentPlanResponseBody.ts +3 -3
- package/src/models/UpdatePipelineRequest.ts +399 -13
- package/src/models/model.ts +27 -0
package/dist/client.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ export default class Client extends OpenApi {
|
|
|
120
120
|
* Creates an evaluation task.
|
|
121
121
|
*
|
|
122
122
|
* @remarks
|
|
123
|
-
* Calls the CreateEvaluationTask operation to create an evaluation task
|
|
123
|
+
* Calls the CreateEvaluationTask operation to create an evaluation task under a specified AgentSpace. The server verifies AgentSpace permissions, initializes evaluation result storage, checks the uniqueness of the task name, and asynchronously creates and executes an EvaluationRun based on `taskMode` and `runStrategies`.
|
|
124
124
|
* This operation is applicable to running built-in or custom evaluators on Trace, Dataset, or SLS Log data. It supports two execution strategies: historical backfill and continuous evaluation.
|
|
125
125
|
*
|
|
126
126
|
* @param request - CreateEvaluationTaskRequest
|
|
@@ -135,7 +135,7 @@ export default class Client extends OpenApi {
|
|
|
135
135
|
* Creates an evaluation task.
|
|
136
136
|
*
|
|
137
137
|
* @remarks
|
|
138
|
-
* Calls the CreateEvaluationTask operation to create an evaluation task
|
|
138
|
+
* Calls the CreateEvaluationTask operation to create an evaluation task under a specified AgentSpace. The server verifies AgentSpace permissions, initializes evaluation result storage, checks the uniqueness of the task name, and asynchronously creates and executes an EvaluationRun based on `taskMode` and `runStrategies`.
|
|
139
139
|
* This operation is applicable to running built-in or custom evaluators on Trace, Dataset, or SLS Log data. It supports two execution strategies: historical backfill and continuous evaluation.
|
|
140
140
|
*
|
|
141
141
|
* @param request - CreateEvaluationTaskRequest
|
|
@@ -182,7 +182,7 @@ export default class Client extends OpenApi {
|
|
|
182
182
|
* Creates an experiment plan.
|
|
183
183
|
*
|
|
184
184
|
* @remarks
|
|
185
|
-
* Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. Use this operation to define the configuration
|
|
185
|
+
* Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. Use this operation 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 start the execution.
|
|
186
186
|
*
|
|
187
187
|
* @param request - CreateExperimentPlanRequest
|
|
188
188
|
* @param headers - map
|
|
@@ -196,7 +196,7 @@ export default class Client extends OpenApi {
|
|
|
196
196
|
* Creates an experiment plan.
|
|
197
197
|
*
|
|
198
198
|
* @remarks
|
|
199
|
-
* Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. Use this operation to define the configuration
|
|
199
|
+
* Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. Use this operation 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 start the execution.
|
|
200
200
|
*
|
|
201
201
|
* @param request - CreateExperimentPlanRequest
|
|
202
202
|
* @returns CreateExperimentPlanResponse
|
|
@@ -737,7 +737,7 @@ export default class Client extends OpenApi {
|
|
|
737
737
|
*/
|
|
738
738
|
getPipelineStats(agentSpace: string, pipelineName: string, request: $_model.GetPipelineStatsRequest): Promise<$_model.GetPipelineStatsResponse>;
|
|
739
739
|
/**
|
|
740
|
-
* Queries
|
|
740
|
+
* Queries the list of AgentSpaces.
|
|
741
741
|
*
|
|
742
742
|
* @param request - ListAgentSpacesRequest
|
|
743
743
|
* @param headers - map
|
|
@@ -748,7 +748,7 @@ export default class Client extends OpenApi {
|
|
|
748
748
|
[key: string]: string;
|
|
749
749
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentSpacesResponse>;
|
|
750
750
|
/**
|
|
751
|
-
* Queries
|
|
751
|
+
* Queries the list of AgentSpaces.
|
|
752
752
|
*
|
|
753
753
|
* @param request - ListAgentSpacesRequest
|
|
754
754
|
* @returns ListAgentSpacesResponse
|
|
@@ -905,7 +905,7 @@ export default class Client extends OpenApi {
|
|
|
905
905
|
*/
|
|
906
906
|
listExperimentPlans(agentSpace: string, request: $_model.ListExperimentPlansRequest): Promise<$_model.ListExperimentPlansResponse>;
|
|
907
907
|
/**
|
|
908
|
-
* Queries
|
|
908
|
+
* Queries a list of experiment run records.
|
|
909
909
|
*
|
|
910
910
|
* @remarks
|
|
911
911
|
* Calls ListExperimentRuns to query experiment run records under a specified AgentSpace for the current account. You can filter results by status, dataset, plan name, or experiment name, and use `page`/`pageSize` for pagination.
|
|
@@ -919,7 +919,7 @@ export default class Client extends OpenApi {
|
|
|
919
919
|
[key: string]: string;
|
|
920
920
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListExperimentRunsResponse>;
|
|
921
921
|
/**
|
|
922
|
-
* Queries
|
|
922
|
+
* Queries a list of experiment run records.
|
|
923
923
|
*
|
|
924
924
|
* @remarks
|
|
925
925
|
* Calls ListExperimentRuns to query experiment run records under a specified AgentSpace for the current account. You can filter results by status, dataset, plan name, or experiment name, and use `page`/`pageSize` for pagination.
|
|
@@ -983,15 +983,15 @@ export default class Client extends OpenApi {
|
|
|
983
983
|
*/
|
|
984
984
|
pausePipeline(agentSpace: string, pipelineName: string, request: $_model.PausePipelineRequest): Promise<$_model.PausePipelineResponse>;
|
|
985
985
|
/**
|
|
986
|
-
* Previews a pipeline. Without creating pipeline resources, performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records
|
|
986
|
+
* Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
|
|
987
987
|
*
|
|
988
988
|
* @remarks
|
|
989
|
-
* ##
|
|
989
|
+
* ## Operation description
|
|
990
990
|
* - **agentSpace** must be an AgentSpace instance that has been created under the current account.
|
|
991
991
|
* - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
|
|
992
992
|
* - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
|
|
993
|
-
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be
|
|
994
|
-
* - A maximum of 5 records are returned
|
|
993
|
+
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
994
|
+
* - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
|
|
995
995
|
*
|
|
996
996
|
* @param request - PreviewPipelineRequest
|
|
997
997
|
* @param headers - map
|
|
@@ -1002,15 +1002,15 @@ export default class Client extends OpenApi {
|
|
|
1002
1002
|
[key: string]: string;
|
|
1003
1003
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.PreviewPipelineResponse>;
|
|
1004
1004
|
/**
|
|
1005
|
-
* Previews a pipeline. Without creating pipeline resources, performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records
|
|
1005
|
+
* Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
|
|
1006
1006
|
*
|
|
1007
1007
|
* @remarks
|
|
1008
|
-
* ##
|
|
1008
|
+
* ## Operation description
|
|
1009
1009
|
* - **agentSpace** must be an AgentSpace instance that has been created under the current account.
|
|
1010
1010
|
* - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
|
|
1011
1011
|
* - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
|
|
1012
|
-
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be
|
|
1013
|
-
* - A maximum of 5 records are returned
|
|
1012
|
+
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
1013
|
+
* - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
|
|
1014
1014
|
*
|
|
1015
1015
|
* @param request - PreviewPipelineRequest
|
|
1016
1016
|
* @returns PreviewPipelineResponse
|
|
@@ -1218,7 +1218,7 @@ export default class Client extends OpenApi {
|
|
|
1218
1218
|
* Updates an experiment plan.
|
|
1219
1219
|
*
|
|
1220
1220
|
* @remarks
|
|
1221
|
-
* Calls UpdateExperimentPlan to update a specified experiment plan. Fields that are not
|
|
1221
|
+
* Calls UpdateExperimentPlan to update a specified experiment plan. Fields that are not included in the request remain unchanged. You can update only plans created by the current account.
|
|
1222
1222
|
*
|
|
1223
1223
|
* @param request - UpdateExperimentPlanRequest
|
|
1224
1224
|
* @param headers - map
|
|
@@ -1232,7 +1232,7 @@ export default class Client extends OpenApi {
|
|
|
1232
1232
|
* Updates an experiment plan.
|
|
1233
1233
|
*
|
|
1234
1234
|
* @remarks
|
|
1235
|
-
* Calls UpdateExperimentPlan to update a specified experiment plan. Fields that are not
|
|
1235
|
+
* Calls UpdateExperimentPlan to update a specified experiment plan. Fields that are not included in the request remain unchanged. You can update only plans created by the current account.
|
|
1236
1236
|
*
|
|
1237
1237
|
* @param request - UpdateExperimentPlanRequest
|
|
1238
1238
|
* @returns UpdateExperimentPlanResponse
|
package/dist/client.js
CHANGED
|
@@ -50,15 +50,15 @@ class Client extends openapi_core_1.default {
|
|
|
50
50
|
super(config);
|
|
51
51
|
this._endpointRule = "regional";
|
|
52
52
|
this._endpointMap = {
|
|
53
|
-
'cn-zhangjiakou': "agentloop.cn-zhangjiakou.aliyuncs.com",
|
|
54
53
|
'cn-shenzhen': "agentloop.cn-shenzhen.aliyuncs.com",
|
|
54
|
+
'cn-beijing': "agentloop.cn-beijing.aliyuncs.com",
|
|
55
55
|
'cn-shanghai': "agentloop.cn-shanghai.aliyuncs.com",
|
|
56
|
+
'cn-guangzhou': "agentloop.cn-guangzhou.aliyuncs.com",
|
|
56
57
|
'cn-hongkong': "agentloop.cn-hongkong.aliyuncs.com",
|
|
58
|
+
'ap-southeast-1': "agentloop.ap-southeast-1.aliyuncs.com",
|
|
59
|
+
'cn-zhangjiakou': "agentloop.cn-zhangjiakou.aliyuncs.com",
|
|
57
60
|
'cn-hangzhou': "agentloop.cn-hangzhou.aliyuncs.com",
|
|
58
|
-
'cn-guangzhou': "agentloop.cn-guangzhou.aliyuncs.com",
|
|
59
61
|
'cn-chengdu': "agentloop.cn-chengdu.aliyuncs.com",
|
|
60
|
-
'cn-beijing': "agentloop.cn-beijing.aliyuncs.com",
|
|
61
|
-
'ap-southeast-1': "agentloop.ap-southeast-1.aliyuncs.com",
|
|
62
62
|
};
|
|
63
63
|
this.checkConfig(config);
|
|
64
64
|
this._endpoint = this.getEndpoint("agentloop", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -180,6 +180,9 @@ class Client extends openapi_core_1.default {
|
|
|
180
180
|
if (!$dara.isNull(request.description)) {
|
|
181
181
|
body["description"] = request.description;
|
|
182
182
|
}
|
|
183
|
+
if (!$dara.isNull(request.mseNamespaceId)) {
|
|
184
|
+
body["mseNamespaceId"] = request.mseNamespaceId;
|
|
185
|
+
}
|
|
183
186
|
if (!$dara.isNull(request.trajectoryStoreEnabled)) {
|
|
184
187
|
body["trajectoryStoreEnabled"] = request.trajectoryStoreEnabled;
|
|
185
188
|
}
|
|
@@ -372,7 +375,7 @@ class Client extends openapi_core_1.default {
|
|
|
372
375
|
* Creates an evaluation task.
|
|
373
376
|
*
|
|
374
377
|
* @remarks
|
|
375
|
-
* Calls the CreateEvaluationTask operation to create an evaluation task
|
|
378
|
+
* Calls the CreateEvaluationTask operation to create an evaluation task under a specified AgentSpace. The server verifies AgentSpace permissions, initializes evaluation result storage, checks the uniqueness of the task name, and asynchronously creates and executes an EvaluationRun based on `taskMode` and `runStrategies`.
|
|
376
379
|
* This operation is applicable to running built-in or custom evaluators on Trace, Dataset, or SLS Log data. It supports two execution strategies: historical backfill and continuous evaluation.
|
|
377
380
|
*
|
|
378
381
|
* @param request - CreateEvaluationTaskRequest
|
|
@@ -439,7 +442,7 @@ class Client extends openapi_core_1.default {
|
|
|
439
442
|
* Creates an evaluation task.
|
|
440
443
|
*
|
|
441
444
|
* @remarks
|
|
442
|
-
* Calls the CreateEvaluationTask operation to create an evaluation task
|
|
445
|
+
* Calls the CreateEvaluationTask operation to create an evaluation task under a specified AgentSpace. The server verifies AgentSpace permissions, initializes evaluation result storage, checks the uniqueness of the task name, and asynchronously creates and executes an EvaluationRun based on `taskMode` and `runStrategies`.
|
|
443
446
|
* This operation is applicable to running built-in or custom evaluators on Trace, Dataset, or SLS Log data. It supports two execution strategies: historical backfill and continuous evaluation.
|
|
444
447
|
*
|
|
445
448
|
* @param request - CreateEvaluationTaskRequest
|
|
@@ -590,7 +593,7 @@ class Client extends openapi_core_1.default {
|
|
|
590
593
|
* Creates an experiment plan.
|
|
591
594
|
*
|
|
592
595
|
* @remarks
|
|
593
|
-
* Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. Use this operation to define the configuration
|
|
596
|
+
* Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. Use this operation 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 start the execution.
|
|
594
597
|
*
|
|
595
598
|
* @param request - CreateExperimentPlanRequest
|
|
596
599
|
* @param headers - map
|
|
@@ -651,7 +654,7 @@ class Client extends openapi_core_1.default {
|
|
|
651
654
|
* Creates an experiment plan.
|
|
652
655
|
*
|
|
653
656
|
* @remarks
|
|
654
|
-
* Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. Use this operation to define the configuration
|
|
657
|
+
* Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. Use this operation 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 start the execution.
|
|
655
658
|
*
|
|
656
659
|
* @param request - CreateExperimentPlanRequest
|
|
657
660
|
* @returns CreateExperimentPlanResponse
|
|
@@ -1869,7 +1872,7 @@ class Client extends openapi_core_1.default {
|
|
|
1869
1872
|
return await this.getPipelineStatsWithOptions(agentSpace, pipelineName, request, headers, runtime);
|
|
1870
1873
|
}
|
|
1871
1874
|
/**
|
|
1872
|
-
* Queries
|
|
1875
|
+
* Queries the list of AgentSpaces.
|
|
1873
1876
|
*
|
|
1874
1877
|
* @param request - ListAgentSpacesRequest
|
|
1875
1878
|
* @param headers - map
|
|
@@ -1909,7 +1912,7 @@ class Client extends openapi_core_1.default {
|
|
|
1909
1912
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgentSpacesResponse({}));
|
|
1910
1913
|
}
|
|
1911
1914
|
/**
|
|
1912
|
-
* Queries
|
|
1915
|
+
* Queries the list of AgentSpaces.
|
|
1913
1916
|
*
|
|
1914
1917
|
* @param request - ListAgentSpacesRequest
|
|
1915
1918
|
* @returns ListAgentSpacesResponse
|
|
@@ -2354,7 +2357,7 @@ class Client extends openapi_core_1.default {
|
|
|
2354
2357
|
return await this.listExperimentPlansWithOptions(agentSpace, request, headers, runtime);
|
|
2355
2358
|
}
|
|
2356
2359
|
/**
|
|
2357
|
-
* Queries
|
|
2360
|
+
* Queries a list of experiment run records.
|
|
2358
2361
|
*
|
|
2359
2362
|
* @remarks
|
|
2360
2363
|
* Calls ListExperimentRuns to query experiment run records under a specified AgentSpace for the current account. You can filter results by status, dataset, plan name, or experiment name, and use `page`/`pageSize` for pagination.
|
|
@@ -2409,7 +2412,7 @@ class Client extends openapi_core_1.default {
|
|
|
2409
2412
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListExperimentRunsResponse({}));
|
|
2410
2413
|
}
|
|
2411
2414
|
/**
|
|
2412
|
-
* Queries
|
|
2415
|
+
* Queries a list of experiment run records.
|
|
2413
2416
|
*
|
|
2414
2417
|
* @remarks
|
|
2415
2418
|
* Calls ListExperimentRuns to query experiment run records under a specified AgentSpace for the current account. You can filter results by status, dataset, plan name, or experiment name, and use `page`/`pageSize` for pagination.
|
|
@@ -2576,15 +2579,15 @@ class Client extends openapi_core_1.default {
|
|
|
2576
2579
|
return await this.pausePipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
|
|
2577
2580
|
}
|
|
2578
2581
|
/**
|
|
2579
|
-
* Previews a pipeline. Without creating pipeline resources, performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records
|
|
2582
|
+
* Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
|
|
2580
2583
|
*
|
|
2581
2584
|
* @remarks
|
|
2582
|
-
* ##
|
|
2585
|
+
* ## Operation description
|
|
2583
2586
|
* - **agentSpace** must be an AgentSpace instance that has been created under the current account.
|
|
2584
2587
|
* - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
|
|
2585
2588
|
* - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
|
|
2586
|
-
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be
|
|
2587
|
-
* - A maximum of 5 records are returned
|
|
2589
|
+
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
2590
|
+
* - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
|
|
2588
2591
|
*
|
|
2589
2592
|
* @param request - PreviewPipelineRequest
|
|
2590
2593
|
* @param headers - map
|
|
@@ -2624,15 +2627,15 @@ class Client extends openapi_core_1.default {
|
|
|
2624
2627
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PreviewPipelineResponse({}));
|
|
2625
2628
|
}
|
|
2626
2629
|
/**
|
|
2627
|
-
* Previews a pipeline. Without creating pipeline resources, performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records
|
|
2630
|
+
* Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
|
|
2628
2631
|
*
|
|
2629
2632
|
* @remarks
|
|
2630
|
-
* ##
|
|
2633
|
+
* ## Operation description
|
|
2631
2634
|
* - **agentSpace** must be an AgentSpace instance that has been created under the current account.
|
|
2632
2635
|
* - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
|
|
2633
2636
|
* - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
|
|
2634
|
-
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be
|
|
2635
|
-
* - A maximum of 5 records are returned
|
|
2637
|
+
* - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
|
|
2638
|
+
* - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
|
|
2636
2639
|
*
|
|
2637
2640
|
* @param request - PreviewPipelineRequest
|
|
2638
2641
|
* @returns PreviewPipelineResponse
|
|
@@ -3217,7 +3220,7 @@ class Client extends openapi_core_1.default {
|
|
|
3217
3220
|
* Updates an experiment plan.
|
|
3218
3221
|
*
|
|
3219
3222
|
* @remarks
|
|
3220
|
-
* Calls UpdateExperimentPlan to update a specified experiment plan. Fields that are not
|
|
3223
|
+
* Calls UpdateExperimentPlan to update a specified experiment plan. Fields that are not included in the request remain unchanged. You can update only plans created by the current account.
|
|
3221
3224
|
*
|
|
3222
3225
|
* @param request - UpdateExperimentPlanRequest
|
|
3223
3226
|
* @param headers - map
|
|
@@ -3281,7 +3284,7 @@ class Client extends openapi_core_1.default {
|
|
|
3281
3284
|
* Updates an experiment plan.
|
|
3282
3285
|
*
|
|
3283
3286
|
* @remarks
|
|
3284
|
-
* Calls UpdateExperimentPlan to update a specified experiment plan. Fields that are not
|
|
3287
|
+
* Calls UpdateExperimentPlan to update a specified experiment plan. Fields that are not included in the request remain unchanged. You can update only plans created by the current account.
|
|
3285
3288
|
*
|
|
3286
3289
|
* @param request - UpdateExperimentPlanRequest
|
|
3287
3290
|
* @returns UpdateExperimentPlanResponse
|