@alicloud/agentloop20260520 2.4.4 → 2.4.5

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.
Files changed (58) hide show
  1. package/dist/client.d.ts +14 -14
  2. package/dist/client.js +17 -14
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentSpaceRequest.d.ts +11 -3
  5. package/dist/models/CreateAgentSpaceRequest.js +2 -0
  6. package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
  7. package/dist/models/CreateContextStoreRequest.d.ts +69 -61
  8. package/dist/models/CreateContextStoreRequest.js +2 -0
  9. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  10. package/dist/models/CreateContextStoreResponseBody.d.ts +2 -2
  11. package/dist/models/CreateExperimentPlanRequest.d.ts +9 -9
  12. package/dist/models/CreateExperimentPlanResponseBody.d.ts +3 -3
  13. package/dist/models/CreatePipelineRequest.d.ts +36 -36
  14. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  15. package/dist/models/GetContextStoreResponseBody.d.ts +84 -78
  16. package/dist/models/GetContextStoreResponseBody.js +2 -0
  17. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  18. package/dist/models/GetExperimentPlanResponseBody.d.ts +10 -10
  19. package/dist/models/GetExperimentRunResponseBody.d.ts +1 -1
  20. package/dist/models/ListAgentSpacesRequest.d.ts +2 -2
  21. package/dist/models/ListAgentSpacesResponseBody.d.ts +15 -8
  22. package/dist/models/ListAgentSpacesResponseBody.js.map +1 -1
  23. package/dist/models/ListExperimentRunsRequest.d.ts +6 -6
  24. package/dist/models/ListExperimentRunsResponseBody.d.ts +2 -2
  25. package/dist/models/ModelParameters.d.ts +142 -6
  26. package/dist/models/ModelParameters.js +69 -1
  27. package/dist/models/ModelParameters.js.map +1 -1
  28. package/dist/models/UpdateContextStoreRequest.d.ts +58 -59
  29. package/dist/models/UpdateContextStoreRequest.js +2 -0
  30. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  31. package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
  32. package/dist/models/UpdateExperimentPlanRequest.d.ts +5 -5
  33. package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
  34. package/dist/models/model.d.ts +2 -0
  35. package/dist/models/model.js +15 -11
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +18 -14
  39. package/src/models/CreateAgentSpaceRequest.ts +13 -3
  40. package/src/models/CreateContextStoreRequest.ts +71 -61
  41. package/src/models/CreateContextStoreResponseBody.ts +2 -2
  42. package/src/models/CreateExperimentPlanRequest.ts +9 -9
  43. package/src/models/CreateExperimentPlanResponseBody.ts +3 -3
  44. package/src/models/CreatePipelineRequest.ts +36 -36
  45. package/src/models/CreatePipelineResponseBody.ts +1 -1
  46. package/src/models/GetContextStoreResponseBody.ts +86 -78
  47. package/src/models/GetExperimentPlanResponseBody.ts +10 -10
  48. package/src/models/GetExperimentRunResponseBody.ts +1 -1
  49. package/src/models/ListAgentSpacesRequest.ts +2 -2
  50. package/src/models/ListAgentSpacesResponseBody.ts +15 -8
  51. package/src/models/ListExperimentRunsRequest.ts +6 -6
  52. package/src/models/ListExperimentRunsResponseBody.ts +2 -2
  53. package/src/models/ModelParameters.ts +192 -6
  54. package/src/models/UpdateContextStoreRequest.ts +60 -59
  55. package/src/models/UpdateContextStoreResponseBody.ts +2 -2
  56. package/src/models/UpdateExperimentPlanRequest.ts +5 -5
  57. package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
  58. package/src/models/model.ts +2 -0
package/dist/client.d.ts CHANGED
@@ -63,7 +63,7 @@ export default class Client extends OpenApi {
63
63
  */
64
64
  createAgentSpace(request: $_model.CreateAgentSpaceRequest): Promise<$_model.CreateAgentSpaceResponse>;
65
65
  /**
66
- * Creates a context library.
66
+ * Creates a context store.
67
67
  *
68
68
  * @param request - CreateContextStoreRequest
69
69
  * @param headers - map
@@ -74,7 +74,7 @@ export default class Client extends OpenApi {
74
74
  [key: string]: string;
75
75
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateContextStoreResponse>;
76
76
  /**
77
- * Creates a context library.
77
+ * Creates a context store.
78
78
  *
79
79
  * @param request - CreateContextStoreRequest
80
80
  * @returns CreateContextStoreResponse
@@ -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. This operation defines 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.
185
+ * Creates an experiment plan in a specified AgentSpace. You can 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 initiate 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. This operation defines 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.
199
+ * Creates an experiment plan in a specified AgentSpace. You can 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 initiate the execution.
200
200
  *
201
201
  * @param request - CreateExperimentPlanRequest
202
202
  * @returns CreateExperimentPlanResponse
@@ -721,10 +721,10 @@ export default class Client extends OpenApi {
721
721
  */
722
722
  getExperimentPlan(agentSpace: string, planId: string, request: $_model.GetExperimentPlanRequest): Promise<$_model.GetExperimentPlanResponse>;
723
723
  /**
724
- * Queries the details of an experiment run record.
724
+ * Queries the details of an experiment run.
725
725
  *
726
726
  * @remarks
727
- * Calls GetExperimentRun to query the details of a specific experiment run record, including the status, progress, configuration snapshot, and associated evaluation task ID.
727
+ * Calls the GetExperimentRun operation to query the details of an experiment run, including the status, progress, configuration snapshot, and associated evaluation task ID.
728
728
  *
729
729
  * @param request - GetExperimentRunRequest
730
730
  * @param headers - map
@@ -735,10 +735,10 @@ export default class Client extends OpenApi {
735
735
  [key: string]: string;
736
736
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetExperimentRunResponse>;
737
737
  /**
738
- * Queries the details of an experiment run record.
738
+ * Queries the details of an experiment run.
739
739
  *
740
740
  * @remarks
741
- * Calls GetExperimentRun to query the details of a specific experiment run record, including the status, progress, configuration snapshot, and associated evaluation task ID.
741
+ * Calls the GetExperimentRun operation to query the details of an experiment run, including the status, progress, configuration snapshot, and associated evaluation task ID.
742
742
  *
743
743
  * @param request - GetExperimentRunRequest
744
744
  * @returns GetExperimentRunResponse
@@ -1009,10 +1009,10 @@ export default class Client extends OpenApi {
1009
1009
  */
1010
1010
  listExperimentPlans(agentSpace: string, request: $_model.ListExperimentPlansRequest): Promise<$_model.ListExperimentPlansResponse>;
1011
1011
  /**
1012
- * Queries a list of experiment run records.
1012
+ * Queries a list of experiment runs.
1013
1013
  *
1014
1014
  * @remarks
1015
- * 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.
1015
+ * Calls the ListExperimentRuns operation to query the experiment execution records of the current account in a specified AgentSpace. You can filter records by status, dataset, plan name, and experiment name, and paginate results by using page and pageSize.
1016
1016
  *
1017
1017
  * @param request - ListExperimentRunsRequest
1018
1018
  * @param headers - map
@@ -1023,10 +1023,10 @@ export default class Client extends OpenApi {
1023
1023
  [key: string]: string;
1024
1024
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListExperimentRunsResponse>;
1025
1025
  /**
1026
- * Queries a list of experiment run records.
1026
+ * Queries a list of experiment runs.
1027
1027
  *
1028
1028
  * @remarks
1029
- * 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.
1029
+ * Calls the ListExperimentRuns operation to query the experiment execution records of the current account in a specified AgentSpace. You can filter records by status, dataset, plan name, and experiment name, and paginate results by using page and pageSize.
1030
1030
  *
1031
1031
  * @param request - ListExperimentRunsRequest
1032
1032
  * @returns ListExperimentRunsResponse
@@ -1358,7 +1358,7 @@ export default class Client extends OpenApi {
1358
1358
  * Updates an experiment plan.
1359
1359
  *
1360
1360
  * @remarks
1361
- * Updates a specified experiment plan. Fields that are not specified remain unchanged. You can only update plans created by the current account.
1361
+ * Updates a specified experiment plan. Unspecified fields remain unchanged. Only plans created by the current account can be updated.
1362
1362
  *
1363
1363
  * @param request - UpdateExperimentPlanRequest
1364
1364
  * @param headers - map
@@ -1372,7 +1372,7 @@ export default class Client extends OpenApi {
1372
1372
  * Updates an experiment plan.
1373
1373
  *
1374
1374
  * @remarks
1375
- * Updates a specified experiment plan. Fields that are not specified remain unchanged. You can only update plans created by the current account.
1375
+ * Updates a specified experiment plan. Unspecified fields remain unchanged. Only plans created by the current account can be updated.
1376
1376
  *
1377
1377
  * @param request - UpdateExperimentPlanRequest
1378
1378
  * @returns UpdateExperimentPlanResponse
package/dist/client.js CHANGED
@@ -176,6 +176,9 @@ class Client extends openapi_core_1.default {
176
176
  if (!$dara.isNull(request.mseNamespaceId)) {
177
177
  body["mseNamespaceId"] = request.mseNamespaceId;
178
178
  }
179
+ if (!$dara.isNull(request.trajectoryEmbeddingEnabled)) {
180
+ body["trajectoryEmbeddingEnabled"] = request.trajectoryEmbeddingEnabled;
181
+ }
179
182
  if (!$dara.isNull(request.trajectoryStoreEnabled)) {
180
183
  body["trajectoryStoreEnabled"] = request.trajectoryStoreEnabled;
181
184
  }
@@ -209,7 +212,7 @@ class Client extends openapi_core_1.default {
209
212
  return await this.createAgentSpaceWithOptions(request, headers, runtime);
210
213
  }
211
214
  /**
212
- * Creates a context library.
215
+ * Creates a context store.
213
216
  *
214
217
  * @param request - CreateContextStoreRequest
215
218
  * @param headers - map
@@ -254,7 +257,7 @@ class Client extends openapi_core_1.default {
254
257
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateContextStoreResponse({}));
255
258
  }
256
259
  /**
257
- * Creates a context library.
260
+ * Creates a context store.
258
261
  *
259
262
  * @param request - CreateContextStoreRequest
260
263
  * @returns CreateContextStoreResponse
@@ -586,7 +589,7 @@ class Client extends openapi_core_1.default {
586
589
  * Creates an experiment plan.
587
590
  *
588
591
  * @remarks
589
- * Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. This operation defines 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.
592
+ * Creates an experiment plan in a specified AgentSpace. You can 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 initiate the execution.
590
593
  *
591
594
  * @param request - CreateExperimentPlanRequest
592
595
  * @param headers - map
@@ -647,7 +650,7 @@ class Client extends openapi_core_1.default {
647
650
  * Creates an experiment plan.
648
651
  *
649
652
  * @remarks
650
- * Calls CreateExperimentPlan to create an experiment plan under a specified AgentSpace. This operation defines 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.
653
+ * Creates an experiment plan in a specified AgentSpace. You can 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 initiate the execution.
651
654
  *
652
655
  * @param request - CreateExperimentPlanRequest
653
656
  * @returns CreateExperimentPlanResponse
@@ -1869,10 +1872,10 @@ class Client extends openapi_core_1.default {
1869
1872
  return await this.getExperimentPlanWithOptions(agentSpace, planId, request, headers, runtime);
1870
1873
  }
1871
1874
  /**
1872
- * Queries the details of an experiment run record.
1875
+ * Queries the details of an experiment run.
1873
1876
  *
1874
1877
  * @remarks
1875
- * Calls GetExperimentRun to query the details of a specific experiment run record, including the status, progress, configuration snapshot, and associated evaluation task ID.
1878
+ * Calls the GetExperimentRun operation to query the details of an experiment run, including the status, progress, configuration snapshot, and associated evaluation task ID.
1876
1879
  *
1877
1880
  * @param request - GetExperimentRunRequest
1878
1881
  * @param headers - map
@@ -1898,10 +1901,10 @@ class Client extends openapi_core_1.default {
1898
1901
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetExperimentRunResponse({}));
1899
1902
  }
1900
1903
  /**
1901
- * Queries the details of an experiment run record.
1904
+ * Queries the details of an experiment run.
1902
1905
  *
1903
1906
  * @remarks
1904
- * Calls GetExperimentRun to query the details of a specific experiment run record, including the status, progress, configuration snapshot, and associated evaluation task ID.
1907
+ * Calls the GetExperimentRun operation to query the details of an experiment run, including the status, progress, configuration snapshot, and associated evaluation task ID.
1905
1908
  *
1906
1909
  * @param request - GetExperimentRunRequest
1907
1910
  * @returns GetExperimentRunResponse
@@ -2602,10 +2605,10 @@ class Client extends openapi_core_1.default {
2602
2605
  return await this.listExperimentPlansWithOptions(agentSpace, request, headers, runtime);
2603
2606
  }
2604
2607
  /**
2605
- * Queries a list of experiment run records.
2608
+ * Queries a list of experiment runs.
2606
2609
  *
2607
2610
  * @remarks
2608
- * 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.
2611
+ * Calls the ListExperimentRuns operation to query the experiment execution records of the current account in a specified AgentSpace. You can filter records by status, dataset, plan name, and experiment name, and paginate results by using page and pageSize.
2609
2612
  *
2610
2613
  * @param request - ListExperimentRunsRequest
2611
2614
  * @param headers - map
@@ -2657,10 +2660,10 @@ class Client extends openapi_core_1.default {
2657
2660
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListExperimentRunsResponse({}));
2658
2661
  }
2659
2662
  /**
2660
- * Queries a list of experiment run records.
2663
+ * Queries a list of experiment runs.
2661
2664
  *
2662
2665
  * @remarks
2663
- * 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.
2666
+ * Calls the ListExperimentRuns operation to query the experiment execution records of the current account in a specified AgentSpace. You can filter records by status, dataset, plan name, and experiment name, and paginate results by using page and pageSize.
2664
2667
  *
2665
2668
  * @param request - ListExperimentRunsRequest
2666
2669
  * @returns ListExperimentRunsResponse
@@ -3594,7 +3597,7 @@ class Client extends openapi_core_1.default {
3594
3597
  * Updates an experiment plan.
3595
3598
  *
3596
3599
  * @remarks
3597
- * Updates a specified experiment plan. Fields that are not specified remain unchanged. You can only update plans created by the current account.
3600
+ * Updates a specified experiment plan. Unspecified fields remain unchanged. Only plans created by the current account can be updated.
3598
3601
  *
3599
3602
  * @param request - UpdateExperimentPlanRequest
3600
3603
  * @param headers - map
@@ -3658,7 +3661,7 @@ class Client extends openapi_core_1.default {
3658
3661
  * Updates an experiment plan.
3659
3662
  *
3660
3663
  * @remarks
3661
- * Updates a specified experiment plan. Fields that are not specified remain unchanged. You can only update plans created by the current account.
3664
+ * Updates a specified experiment plan. Unspecified fields remain unchanged. Only plans created by the current account can be updated.
3662
3665
  *
3663
3666
  * @param request - UpdateExperimentPlanRequest
3664
3667
  * @returns UpdateExperimentPlanResponse