@alicloud/agentloop20260520 2.3.4 → 2.3.6

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 (85) hide show
  1. package/dist/client.d.ts +26 -20
  2. package/dist/client.js +29 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConnectorProperties.d.ts +64 -0
  5. package/dist/models/ConnectorProperties.js +6 -0
  6. package/dist/models/ConnectorProperties.js.map +1 -1
  7. package/dist/models/CreateAgentSpaceRequest.d.ts +12 -1
  8. package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
  9. package/dist/models/CreateEvaluationTaskRequest.d.ts +7 -7
  10. package/dist/models/CreateEvaluatorRequest.d.ts +10 -11
  11. package/dist/models/CreateEvaluatorRequest.js.map +1 -1
  12. package/dist/models/CreateEvaluatorSkillRequest.d.ts +9 -9
  13. package/dist/models/CreateExperimentPlanRequest.d.ts +6 -6
  14. package/dist/models/CreateExperimentPlanResponseBody.d.ts +1 -1
  15. package/dist/models/CreateExperimentRunRequest.d.ts +7 -7
  16. package/dist/models/CreateExperimentRunResponseBody.d.ts +3 -3
  17. package/dist/models/DeleteExperimentPlanResponseBody.d.ts +1 -1
  18. package/dist/models/ExperimentConfig.d.ts +44 -0
  19. package/dist/models/ExperimentConfig.js +2 -0
  20. package/dist/models/ExperimentConfig.js.map +1 -1
  21. package/dist/models/GetEvaluationRunResponseBody.d.ts +10 -10
  22. package/dist/models/GetEvaluationTaskResponseBody.d.ts +8 -8
  23. package/dist/models/GetEvaluatorResponseBody.d.ts +7 -7
  24. package/dist/models/GetEvaluatorSkillResponseBody.d.ts +10 -10
  25. package/dist/models/GetExperimentPlanResponseBody.d.ts +4 -4
  26. package/dist/models/IndexJsonKey.d.ts +16 -0
  27. package/dist/models/IndexJsonKey.js.map +1 -1
  28. package/dist/models/IndexKey.d.ts +35 -0
  29. package/dist/models/IndexKey.js +2 -0
  30. package/dist/models/IndexKey.js.map +1 -1
  31. package/dist/models/ListAgentSpacesRequest.d.ts +7 -0
  32. package/dist/models/ListAgentSpacesRequest.js.map +1 -1
  33. package/dist/models/ListEvaluationRunsResponseBody.d.ts +1 -1
  34. package/dist/models/ListEvaluationTasksResponseBody.d.ts +3 -3
  35. package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +5 -5
  36. package/dist/models/ListExperimentPlansRequest.d.ts +2 -2
  37. package/dist/models/ListExperimentPlansResponseBody.d.ts +2 -2
  38. package/dist/models/ListPipelinesRequest.d.ts +29 -0
  39. package/dist/models/ListPipelinesRequest.js +2 -0
  40. package/dist/models/ListPipelinesRequest.js.map +1 -1
  41. package/dist/models/ListPipelinesResponseBody.d.ts +405 -1
  42. package/dist/models/ListPipelinesResponseBody.js +279 -1
  43. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  44. package/dist/models/UpdateEvaluatorRequest.d.ts +7 -7
  45. package/dist/models/UpdateExperimentPlanRequest.d.ts +3 -3
  46. package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
  47. package/dist/models/UpdateExperimentRunRequest.d.ts +3 -3
  48. package/dist/models/UpdateExperimentRunResponseBody.d.ts +1 -1
  49. package/dist/models/model.d.ts +11 -0
  50. package/dist/models/model.js +31 -9
  51. package/dist/models/model.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +30 -20
  54. package/src/models/ConnectorProperties.ts +70 -0
  55. package/src/models/CreateAgentSpaceRequest.ts +12 -1
  56. package/src/models/CreateEvaluationTaskRequest.ts +7 -7
  57. package/src/models/CreateEvaluatorRequest.ts +10 -11
  58. package/src/models/CreateEvaluatorSkillRequest.ts +9 -9
  59. package/src/models/CreateExperimentPlanRequest.ts +6 -6
  60. package/src/models/CreateExperimentPlanResponseBody.ts +1 -1
  61. package/src/models/CreateExperimentRunRequest.ts +7 -7
  62. package/src/models/CreateExperimentRunResponseBody.ts +3 -3
  63. package/src/models/DeleteExperimentPlanResponseBody.ts +1 -1
  64. package/src/models/ExperimentConfig.ts +46 -0
  65. package/src/models/GetEvaluationRunResponseBody.ts +10 -10
  66. package/src/models/GetEvaluationTaskResponseBody.ts +8 -8
  67. package/src/models/GetEvaluatorResponseBody.ts +7 -7
  68. package/src/models/GetEvaluatorSkillResponseBody.ts +10 -10
  69. package/src/models/GetExperimentPlanResponseBody.ts +4 -4
  70. package/src/models/IndexJsonKey.ts +16 -0
  71. package/src/models/IndexKey.ts +37 -0
  72. package/src/models/ListAgentSpacesRequest.ts +7 -0
  73. package/src/models/ListEvaluationRunsResponseBody.ts +1 -1
  74. package/src/models/ListEvaluationTasksResponseBody.ts +3 -3
  75. package/src/models/ListEvaluatorSkillsResponseBody.ts +5 -5
  76. package/src/models/ListExperimentPlansRequest.ts +2 -2
  77. package/src/models/ListExperimentPlansResponseBody.ts +2 -2
  78. package/src/models/ListPipelinesRequest.ts +31 -0
  79. package/src/models/ListPipelinesResponseBody.ts +584 -1
  80. package/src/models/UpdateEvaluatorRequest.ts +7 -7
  81. package/src/models/UpdateExperimentPlanRequest.ts +3 -3
  82. package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
  83. package/src/models/UpdateExperimentRunRequest.ts +3 -3
  84. package/src/models/UpdateExperimentRunResponseBody.ts +1 -1
  85. package/src/models/model.ts +11 -0
@@ -6,7 +6,7 @@ import { OfflineExperimentConfig } from "./OfflineExperimentConfig";
6
6
  export class CreateExperimentRunRequest extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The completion time, in millisecond-level UNIX timestamp.
9
+ * The completion time. The value is a millisecond-level UNIX timestamp.
10
10
  *
11
11
  * @example
12
12
  * 1784721811392
@@ -14,7 +14,7 @@ export class CreateExperimentRunRequest extends $dara.Model {
14
14
  completedAt?: number;
15
15
  /**
16
16
  * @remarks
17
- * The number of completed tasks. If not specified, the default value is 0.
17
+ * The number of completed tasks. Default value: 0.
18
18
  *
19
19
  * @example
20
20
  * 0
@@ -22,7 +22,7 @@ export class CreateExperimentRunRequest extends $dara.Model {
22
22
  completedTasks?: number;
23
23
  /**
24
24
  * @remarks
25
- * The execution time, in millisecond-level UNIX timestamp.
25
+ * The execution time. The value is a millisecond-level UNIX timestamp.
26
26
  *
27
27
  * @example
28
28
  * 1784721775379
@@ -40,7 +40,7 @@ export class CreateExperimentRunRequest extends $dara.Model {
40
40
  experimentPlanId?: string;
41
41
  /**
42
42
  * @remarks
43
- * The number of failed tasks. If not specified, the default value is 0.
43
+ * The number of failed tasks. Default value: 0.
44
44
  *
45
45
  * @example
46
46
  * 0
@@ -48,7 +48,7 @@ export class CreateExperimentRunRequest extends $dara.Model {
48
48
  failedTasks?: number;
49
49
  /**
50
50
  * @remarks
51
- * The list of offline experiment configurations. Required when the plan type is offline. The number of items ranges from 1 to 5.
51
+ * The list of offline experiment configurations. This parameter is required when the plan type is offline. You can specify 1 to 5 configurations.
52
52
  *
53
53
  * @example
54
54
  * [{"label": "experimentA", "name": "experimentA"}]
@@ -56,7 +56,7 @@ export class CreateExperimentRunRequest extends $dara.Model {
56
56
  offlineExperiments?: OfflineExperimentConfig[];
57
57
  /**
58
58
  * @remarks
59
- * The experiment record name. If not specified, the default value is the plan name plus a timestamp.
59
+ * The experiment record name. If not specified, the default value is the plan name followed by a timestamp.
60
60
  *
61
61
  * @example
62
62
  * arms_agent_experiment 2026/07/22 20:02:55
@@ -64,7 +64,7 @@ export class CreateExperimentRunRequest extends $dara.Model {
64
64
  recordName?: string;
65
65
  /**
66
66
  * @remarks
67
- * The initial status. If not specified, the default value is `pending`.
67
+ * The initial status. Default value: `pending`.
68
68
  *
69
69
  * @example
70
70
  * pending
@@ -8,12 +8,12 @@ export class CreateExperimentRunResponseBody extends $dara.Model {
8
8
  * The message.
9
9
  *
10
10
  * @example
11
- * Experiment created, execution started.
11
+ * Experiment created, execution started
12
12
  */
13
13
  message?: string;
14
14
  /**
15
15
  * @remarks
16
- * The experiment record ID. For online experiments, the format is typically exp-run-{uuid32}. For offline experiments, the format may also be a standard UUID.
16
+ * The experiment record ID. For online experiments, the ID is typically in the format exp-run-{uuid32}. For offline experiments, the ID may also be a standard UUID.
17
17
  *
18
18
  * @example
19
19
  * exp-run-f6d419b0ed3d43a7b585948a55efc07b
@@ -29,7 +29,7 @@ export class CreateExperimentRunResponseBody extends $dara.Model {
29
29
  requestId?: string;
30
30
  /**
31
31
  * @remarks
32
- * The experiment record status. After creation, the status is typically pending.
32
+ * The experiment record status. The value is typically pending after creation.
33
33
  *
34
34
  * @example
35
35
  * pending
@@ -21,7 +21,7 @@ export class DeleteExperimentPlanResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The deletion result. The value is deleted if the operation is successful.
24
+ * The deletion result. The value is deleted if the operation succeeds.
25
25
  *
26
26
  * @example
27
27
  * deleted
@@ -5,14 +5,58 @@ import { PromptTemplateItem } from "./PromptTemplateItem";
5
5
 
6
6
 
7
7
  export class ExperimentConfig extends $dara.Model {
8
+ /**
9
+ * @remarks
10
+ * The endpoint connector ID. This parameter is required in user/agent mode.
11
+ */
8
12
  endpointConnectorId?: string;
13
+ /**
14
+ * @remarks
15
+ * The experiment label (A/B/C/D/E).
16
+ */
9
17
  label?: string;
18
+ /**
19
+ * @remarks
20
+ * The model name. You can set this parameter to agent in agent scenarios.
21
+ */
10
22
  modelName?: string;
23
+ /**
24
+ * @remarks
25
+ * The model parameters.
26
+ */
11
27
  modelParameters?: ModelParameters;
28
+ /**
29
+ * @remarks
30
+ * The model provider. Valid values: dashscope (default), user, and agent.
31
+ */
12
32
  modelProvider?: string;
33
+ /**
34
+ * @remarks
35
+ * The experiment name.
36
+ */
13
37
  name?: string;
38
+ /**
39
+ * @remarks
40
+ * The prompt message template. Supports {{variable name}} placeholders.
41
+ */
14
42
  promptTemplate?: PromptTemplateItem[];
43
+ /**
44
+ * @remarks
45
+ * The agent request body template. This parameter is required in agent mode. Supports {{variable name}} placeholders.
46
+ */
15
47
  requestBodyTemplate?: string;
48
+ /**
49
+ * @remarks
50
+ * The agent request header template. This parameter is optional in agent mode. Supports {{variable name}} placeholders.
51
+ *
52
+ * @example
53
+ * {"Content-Type: application/json" }
54
+ */
55
+ requestHeaderTemplate?: string;
56
+ /**
57
+ * @remarks
58
+ * The agent request method. Valid values: POST (default) and GET.
59
+ */
16
60
  requestMethod?: string;
17
61
  static names(): { [key: string]: string } {
18
62
  return {
@@ -24,6 +68,7 @@ export class ExperimentConfig extends $dara.Model {
24
68
  name: 'name',
25
69
  promptTemplate: 'promptTemplate',
26
70
  requestBodyTemplate: 'requestBodyTemplate',
71
+ requestHeaderTemplate: 'requestHeaderTemplate',
27
72
  requestMethod: 'requestMethod',
28
73
  };
29
74
  }
@@ -38,6 +83,7 @@ export class ExperimentConfig extends $dara.Model {
38
83
  name: 'string',
39
84
  promptTemplate: { 'type': 'array', 'itemType': PromptTemplateItem },
40
85
  requestBodyTemplate: 'string',
86
+ requestHeaderTemplate: 'string',
41
87
  requestMethod: 'string',
42
88
  };
43
89
  }
@@ -13,7 +13,7 @@ export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
13
13
  evaluatorName?: string;
14
14
  /**
15
15
  * @remarks
16
- * The number of failed entries for this evaluator.
16
+ * The number of failed items for this evaluator.
17
17
  *
18
18
  * @example
19
19
  * 4
@@ -21,7 +21,7 @@ export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
21
21
  failedCount?: number;
22
22
  /**
23
23
  * @remarks
24
- * The number of successful entries for this evaluator.
24
+ * The number of successful items for this evaluator.
25
25
  *
26
26
  * @example
27
27
  * 96
@@ -29,7 +29,7 @@ export class GetEvaluationRunResponseBodyEvaluatorProgress extends $dara.Model {
29
29
  successCount?: number;
30
30
  /**
31
31
  * @remarks
32
- * The total number of entries for this evaluator.
32
+ * The total number of items for this evaluator.
33
33
  *
34
34
  * @example
35
35
  * 100
@@ -73,7 +73,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
73
73
  createdAt?: number;
74
74
  /**
75
75
  * @remarks
76
- * The end time of the data window for the run, in seconds-level UNIX timestamp.
76
+ * The end time of the run data window, in seconds-level UNIX timestamp.
77
77
  *
78
78
  * @example
79
79
  * 1782902400
@@ -81,7 +81,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
81
81
  dataEndTime?: number;
82
82
  /**
83
83
  * @remarks
84
- * The start time of the data window for the run, in seconds-level UNIX timestamp.
84
+ * The start time of the run data window, in seconds-level UNIX timestamp.
85
85
  *
86
86
  * @example
87
87
  * 1782816000
@@ -89,7 +89,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
89
89
  dataStartTime?: number;
90
90
  /**
91
91
  * @remarks
92
- * The list of progress details by evaluator.
92
+ * The list of progress entries by evaluator.
93
93
  *
94
94
  * @example
95
95
  * [{"evaluatorName":"Builtin.agent_task_completion","totalCount":100,"successCount":96,"failedCount":4}]
@@ -97,7 +97,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
97
97
  evaluatorProgress?: GetEvaluationRunResponseBodyEvaluatorProgress[];
98
98
  /**
99
99
  * @remarks
100
- * The evaluator configuration snapshot at the time the run was created, in JSON string format.
100
+ * The snapshot of the evaluator configuration at the time the run was created, in JSON string format.
101
101
  *
102
102
  * @example
103
103
  * [{"evaluatorRef":"Builtin.agent_task_completion"}]
@@ -105,7 +105,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
105
105
  evaluators?: string;
106
106
  /**
107
107
  * @remarks
108
- * The number of failed entries.
108
+ * The number of failed items.
109
109
  *
110
110
  * @example
111
111
  * 4
@@ -153,7 +153,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
153
153
  status?: string;
154
154
  /**
155
155
  * @remarks
156
- * The number of successful entries.
156
+ * The number of successful items.
157
157
  *
158
158
  * @example
159
159
  * 96
@@ -169,7 +169,7 @@ export class GetEvaluationRunResponseBody extends $dara.Model {
169
169
  taskId?: string;
170
170
  /**
171
171
  * @remarks
172
- * The total number of evaluation entries.
172
+ * The total number of evaluation items.
173
173
  *
174
174
  * @example
175
175
  * 100
@@ -15,7 +15,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
15
15
  agentSpace?: string;
16
16
  /**
17
17
  * @remarks
18
- * The task source.
18
+ * The source of the task.
19
19
  *
20
20
  * @example
21
21
  * default
@@ -23,7 +23,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
23
23
  channel?: string;
24
24
  /**
25
25
  * @remarks
26
- * The data source and execution configuration. Tasks with `dataType=trace` typically contain `project`, `storeName`, and `dataScope` fields that are populated by the backend.
26
+ * The data source and execution configuration. Tasks with `dataType=trace` typically contain backend-populated `project`, `storeName`, and `dataScope` fields.
27
27
  *
28
28
  * @example
29
29
  * {"project":"agentspace-project","storeName":"logstore-tracing","dataScope":"trace"}
@@ -31,7 +31,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
31
31
  config?: { [key: string]: string };
32
32
  /**
33
33
  * @remarks
34
- * The creation time, in seconds-level UNIX timestamp.
34
+ * The creation time, in seconds as a UNIX timestamp.
35
35
  *
36
36
  * @example
37
37
  * 1782816000
@@ -39,7 +39,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
39
39
  createdAt?: number;
40
40
  /**
41
41
  * @remarks
42
- * The evaluation data filter condition, returned by the backend as a JSON string.
42
+ * The evaluation data filter conditions, returned by the backend as a JSON string.
43
43
  *
44
44
  * @example
45
45
  * {"query":"serviceName=\\"checkout-service\\"","maxRecords":10,"samplingRate":100}
@@ -55,10 +55,10 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
55
55
  dataType?: string;
56
56
  /**
57
57
  * @remarks
58
- * The evaluation task description.
58
+ * The description of the evaluation task.
59
59
  *
60
60
  * @example
61
- * Evaluate the task completion rate of the online Agent pipeline
61
+ * Evaluate the task completion of the online Agent pipeline
62
62
  */
63
63
  description?: string;
64
64
  /**
@@ -87,7 +87,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
87
87
  requestId?: string;
88
88
  /**
89
89
  * @remarks
90
- * The structured configuration of the run strategy, including the parsed backfill strategy and continuous evaluation strategy.
90
+ * The structured run strategy configuration, including the parsed backfill strategy and continuous evaluation strategy.
91
91
  *
92
92
  * @example
93
93
  * {"backfill":{"enabled":true,"startTime":1782816000000,"endTime":1782902400000},"continuous":{"enabled":true,"intervalUnit":"HOUR","intervalValue":1,"dataDelayMinutes":5}}
@@ -135,7 +135,7 @@ export class GetEvaluationTaskResponseBody extends $dara.Model {
135
135
  taskName?: string;
136
136
  /**
137
137
  * @remarks
138
- * The last update time, in seconds-level UNIX timestamp.
138
+ * The last update time, in seconds as a UNIX timestamp.
139
139
  *
140
140
  * @example
141
141
  * 1782816600
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetEvaluatorResponseBodyEvaluatorVersions extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The time when the version was created. The value is a UNIX timestamp in seconds.
8
+ * The version creation time, in seconds-level UNIX timestamp.
9
9
  *
10
10
  * @example
11
11
  * 1782816000
@@ -24,7 +24,7 @@ export class GetEvaluatorResponseBodyEvaluatorVersions extends $dara.Model {
24
24
  * The version description.
25
25
  *
26
26
  * @example
27
- * 初始版本
27
+ * Initial version
28
28
  */
29
29
  versionDescription?: string;
30
30
  static names(): { [key: string]: string } {
@@ -74,12 +74,12 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
74
74
  * The configuration of the current version.
75
75
  *
76
76
  * @example
77
- * {"prompt":"请评估任务完成度"}
77
+ * {"prompt":"Please evaluate the task completion"}
78
78
  */
79
79
  config?: { [key: string]: any };
80
80
  /**
81
81
  * @remarks
82
- * The time when the evaluator was created. The value is a UNIX timestamp in seconds.
82
+ * The creation time, in seconds-level UNIX timestamp.
83
83
  *
84
84
  * @example
85
85
  * 1782816000
@@ -98,7 +98,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
98
98
  * The evaluator description.
99
99
  *
100
100
  * @example
101
- * 判断 Agent 是否完成用户任务
101
+ * Determines whether the Agent has completed the user task
102
102
  */
103
103
  description?: string;
104
104
  /**
@@ -106,7 +106,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
106
106
  * The display name.
107
107
  *
108
108
  * @example
109
- * 链路任务完成度
109
+ * Trace task completion
110
110
  */
111
111
  displayName?: string;
112
112
  /**
@@ -151,7 +151,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
151
151
  type?: string;
152
152
  /**
153
153
  * @remarks
154
- * The time when the evaluator was last updated. The value is a UNIX timestamp in seconds.
154
+ * The update time, in seconds-level UNIX timestamp.
155
155
  *
156
156
  * @example
157
157
  * 1782816600
@@ -21,10 +21,10 @@ export class GetEvaluatorSkillResponseBodySkillFiles extends $dara.Model {
21
21
  name?: string;
22
22
  /**
23
23
  * @remarks
24
- * The file remarks.
24
+ * The file remark.
25
25
  *
26
26
  * @example
27
- * 主技能说明
27
+ * Main skill description
28
28
  */
29
29
  remark?: string;
30
30
  static names(): { [key: string]: string } {
@@ -55,7 +55,7 @@ export class GetEvaluatorSkillResponseBodySkillFiles extends $dara.Model {
55
55
  export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The time when the version was created. This value is a UNIX timestamp in seconds.
58
+ * The version creation time, in seconds-level UNIX timestamp.
59
59
  *
60
60
  * @example
61
61
  * 1782816000
@@ -74,7 +74,7 @@ export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
74
74
  * The version description.
75
75
  *
76
76
  * @example
77
- * 首次发布版本
77
+ * Initial release version
78
78
  */
79
79
  versionDescription?: string;
80
80
  static names(): { [key: string]: string } {
@@ -105,7 +105,7 @@ export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
105
105
  export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
106
106
  /**
107
107
  * @remarks
108
- * The time when the skill was created. This value is a UNIX timestamp in seconds.
108
+ * The creation time, in seconds-level UNIX timestamp.
109
109
  *
110
110
  * @example
111
111
  * 1782816000
@@ -124,7 +124,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
124
124
  * The skill description.
125
125
  *
126
126
  * @example
127
- * 读取链路上下文辅助评估
127
+ * Read trace context to assist evaluation
128
128
  */
129
129
  description?: string;
130
130
  /**
@@ -132,7 +132,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
132
132
  * The display name.
133
133
  *
134
134
  * @example
135
- * Trace 上下文读取
135
+ * Trace Context Loader
136
136
  */
137
137
  displayName?: string;
138
138
  /**
@@ -148,7 +148,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
148
148
  * The list of skill files.
149
149
  *
150
150
  * @example
151
- * [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"主技能说明"}]
151
+ * [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"Main skill description"}]
152
152
  */
153
153
  files?: GetEvaluatorSkillResponseBodySkillFiles[];
154
154
  /**
@@ -169,7 +169,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
169
169
  skillName?: string;
170
170
  /**
171
171
  * @remarks
172
- * The time when the skill was last updated. This value is a UNIX timestamp in seconds.
172
+ * The update time, in seconds-level UNIX timestamp.
173
173
  *
174
174
  * @example
175
175
  * 1782816600
@@ -180,7 +180,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
180
180
  * The list of skill versions.
181
181
  *
182
182
  * @example
183
- * [{"version":"1782816000000","versionDescription":"首次发布版本"}]
183
+ * [{"version":"1782816000000","versionDescription":"Initial release version"}]
184
184
  */
185
185
  versions?: GetEvaluatorSkillResponseBodySkillVersions[];
186
186
  static names(): { [key: string]: string } {
@@ -7,7 +7,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
7
7
  export class GetExperimentPlanResponseBody extends $dara.Model {
8
8
  /**
9
9
  * @remarks
10
- * The creation time, in millisecond-level UNIX timestamp.
10
+ * The creation time. The value is a millisecond-level UNIX timestamp.
11
11
  *
12
12
  * @example
13
13
  * 1782816000000
@@ -26,7 +26,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
26
26
  * The description.
27
27
  *
28
28
  * @example
29
- * Compare the checkout Agent baseline with the optimized version
29
+ * Compare checkout Agent baseline with optimized version
30
30
  */
31
31
  description?: string;
32
32
  /**
@@ -100,7 +100,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
100
100
  requestId?: string;
101
101
  /**
102
102
  * @remarks
103
- * The list of data item IDs selected in partial dataset mode.
103
+ * The list of selected data item IDs in partial dataset mode.
104
104
  *
105
105
  * @example
106
106
  * ["019ef4d5-a0f0-7114-832d-5542d771cd8c"]
@@ -116,7 +116,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
116
116
  status?: string;
117
117
  /**
118
118
  * @remarks
119
- * The update time, in millisecond-level UNIX timestamp.
119
+ * The update time. The value is a millisecond-level UNIX timestamp.
120
120
  *
121
121
  * @example
122
122
  * 1782816600000
@@ -3,7 +3,23 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class IndexJsonKey extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether the field contains Chinese characters. This parameter is required only when the **type** parameter is set to **text**. Valid values:
9
+ * - true: The field contains Chinese characters.
10
+ * - false: The field does not contain Chinese characters.
11
+ *
12
+ * @example
13
+ * false
14
+ */
6
15
  chn?: boolean;
16
+ /**
17
+ * @remarks
18
+ * The type.
19
+ *
20
+ * @example
21
+ * text
22
+ */
7
23
  type?: string;
8
24
  static names(): { [key: string]: string } {
9
25
  return {
@@ -4,13 +4,49 @@ import { IndexJsonKey } from "./IndexJsonKey";
4
4
 
5
5
 
6
6
  export class IndexKey extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * Specifies whether Chinese is included. This parameter is required only when the **type** parameter is set to **text**. Valid values:
10
+ * - true: Chinese is included.
11
+ * - false: Chinese is not included.
12
+ *
13
+ * @example
14
+ * true
15
+ */
7
16
  chn?: boolean;
17
+ /**
18
+ * @remarks
19
+ * The description.
20
+ *
21
+ * @example
22
+ * test
23
+ */
24
+ description?: string;
25
+ /**
26
+ * @remarks
27
+ * The field embedding type.
28
+ *
29
+ * @example
30
+ * agentloop-embedding-v4
31
+ */
8
32
  embedding?: string;
33
+ /**
34
+ * @remarks
35
+ * The JSON subfields. This parameter takes effect only when type is set to json.
36
+ */
9
37
  jsonKeys?: { [key: string]: IndexJsonKey };
38
+ /**
39
+ * @remarks
40
+ * The type.
41
+ *
42
+ * @example
43
+ * text
44
+ */
10
45
  type?: string;
11
46
  static names(): { [key: string]: string } {
12
47
  return {
13
48
  chn: 'chn',
49
+ description: 'description',
14
50
  embedding: 'embedding',
15
51
  jsonKeys: 'jsonKeys',
16
52
  type: 'type',
@@ -20,6 +56,7 @@ export class IndexKey extends $dara.Model {
20
56
  static types(): { [key: string]: any } {
21
57
  return {
22
58
  chn: 'boolean',
59
+ description: 'string',
23
60
  embedding: 'string',
24
61
  jsonKeys: { 'type': 'map', 'keyType': 'string', 'valueType': IndexJsonKey },
25
62
  type: 'string',
@@ -27,6 +27,13 @@ export class ListAgentSpacesRequest extends $dara.Model {
27
27
  * pEL20OGYeZQez8NdW7ve
28
28
  */
29
29
  nextToken?: string;
30
+ /**
31
+ * @remarks
32
+ * The region ID.
33
+ *
34
+ * @example
35
+ * cn-hangzhou
36
+ */
30
37
  regionId?: string;
31
38
  static names(): { [key: string]: string } {
32
39
  return {
@@ -161,7 +161,7 @@ export class ListEvaluationRunsResponseBody extends $dara.Model {
161
161
  maxResults?: number;
162
162
  /**
163
163
  * @remarks
164
- * The pagination token for the next page. An empty value indicates that no more pages exist.
164
+ * The pagination token for the next page. An empty value indicates that no more pages are available.
165
165
  *
166
166
  * @example
167
167
  * eyJsYXN0SWQiOjEyMH0=
@@ -30,10 +30,10 @@ export class ListEvaluationTasksResponseBodyEvaluationTasks extends $dara.Model
30
30
  dataType?: string;
31
31
  /**
32
32
  * @remarks
33
- * The evaluation task description.
33
+ * The description of the evaluation task.
34
34
  *
35
35
  * @example
36
- * 评估线上 Agent 链路任务完成度
36
+ * Evaluate the task completion of the online Agent trace
37
37
  */
38
38
  description?: string;
39
39
  /**
@@ -187,7 +187,7 @@ export class ListEvaluationTasksResponseBody extends $dara.Model {
187
187
  requestId?: string;
188
188
  /**
189
189
  * @remarks
190
- * The total number of records. The total count is returned only on the first page. This value may be empty on subsequent pages.
190
+ * The total number of records. The total count is calculated only on the first page. This value may be empty on subsequent pages.
191
191
  *
192
192
  * @example
193
193
  * 126
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListEvaluatorSkillsResponseBodySkills extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The creation time. This field is declared as int64 in CloudSpec, but the backend currently returns the StarOps `createTime` string field.
8
+ * The creation time. Declared as int64 in CloudSpec. The backend currently returns the StarOps `createTime` string field.
9
9
  *
10
10
  * @example
11
11
  * 1782816000
@@ -16,7 +16,7 @@ export class ListEvaluatorSkillsResponseBodySkills extends $dara.Model {
16
16
  * The skill description.
17
17
  *
18
18
  * @example
19
- * 读取链路上下文辅助评估
19
+ * Reads trace context to assist evaluation
20
20
  */
21
21
  description?: string;
22
22
  /**
@@ -24,7 +24,7 @@ export class ListEvaluatorSkillsResponseBodySkills extends $dara.Model {
24
24
  * The display name.
25
25
  *
26
26
  * @example
27
- * Trace 上下文读取
27
+ * Trace Context Loader
28
28
  */
29
29
  displayName?: string;
30
30
  /**
@@ -53,7 +53,7 @@ export class ListEvaluatorSkillsResponseBodySkills extends $dara.Model {
53
53
  skillName?: string;
54
54
  /**
55
55
  * @remarks
56
- * The update time. This field is declared as int64 in CloudSpec, but the backend currently returns the StarOps `updateTime` string field.
56
+ * The update time. Declared as int64 in CloudSpec. The backend currently returns the StarOps `updateTime` string field.
57
57
  *
58
58
  * @example
59
59
  * 1782816600
@@ -122,7 +122,7 @@ export class ListEvaluatorSkillsResponseBody extends $dara.Model {
122
122
  * The list of skill summaries.
123
123
  *
124
124
  * @example
125
- * [{"skillName":"trace_context_loader","displayName":"Trace 上下文读取","enable":true}]
125
+ * [{"skillName":"trace_context_loader","displayName":"Trace Context Loader","enable":true}]
126
126
  */
127
127
  skills?: ListEvaluatorSkillsResponseBodySkills[];
128
128
  /**