@alicloud/agentloop20260520 2.6.1 → 2.7.1

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 (157) hide show
  1. package/dist/client.d.ts +54 -12
  2. package/dist/client.js +165 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContextStoreRequest.d.ts +1 -1
  5. package/dist/models/CreateEvaluationTaskRequest.d.ts +1 -1
  6. package/dist/models/CreateEvaluatorRequest.d.ts +109 -12
  7. package/dist/models/CreateEvaluatorRequest.js +59 -1
  8. package/dist/models/CreateEvaluatorRequest.js.map +1 -1
  9. package/dist/models/CreateEvaluatorResponseBody.d.ts +2 -2
  10. package/dist/models/CreateEvaluatorSkillRequest.d.ts +15 -7
  11. package/dist/models/CreateEvaluatorSkillRequest.js +2 -0
  12. package/dist/models/CreateEvaluatorSkillRequest.js.map +1 -1
  13. package/dist/models/CreateExperimentPlanRequest.d.ts +1 -1
  14. package/dist/models/CreateMultiModalTaskRequest.d.ts +77 -0
  15. package/dist/models/CreateMultiModalTaskRequest.js +73 -0
  16. package/dist/models/CreateMultiModalTaskRequest.js.map +1 -0
  17. package/dist/models/CreateMultiModalTaskResponse.d.ts +19 -0
  18. package/dist/models/CreateMultiModalTaskResponse.js +69 -0
  19. package/dist/models/CreateMultiModalTaskResponse.js.map +1 -0
  20. package/dist/models/CreateMultiModalTaskResponseBody.d.ts +45 -0
  21. package/dist/models/CreateMultiModalTaskResponseBody.js +64 -0
  22. package/dist/models/CreateMultiModalTaskResponseBody.js.map +1 -0
  23. package/dist/models/CreateOptimizeTaskRequest.d.ts +1 -1
  24. package/dist/models/CreatePipelineRequest.d.ts +44 -36
  25. package/dist/models/CreatePipelineRequest.js +2 -0
  26. package/dist/models/CreatePipelineRequest.js.map +1 -1
  27. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  28. package/dist/models/DataFilter.d.ts +1 -1
  29. package/dist/models/DeleteEvaluatorSkillRequest.d.ts +9 -1
  30. package/dist/models/DeleteEvaluatorSkillRequest.js +2 -0
  31. package/dist/models/DeleteEvaluatorSkillRequest.js.map +1 -1
  32. package/dist/models/Evaluator.d.ts +1 -1
  33. package/dist/models/GetContextStoreResponseBody.d.ts +1 -1
  34. package/dist/models/GetEvaluationTaskResponseBody.d.ts +1 -1
  35. package/dist/models/GetEvaluatorResponseBody.d.ts +109 -9
  36. package/dist/models/GetEvaluatorResponseBody.js +43 -1
  37. package/dist/models/GetEvaluatorResponseBody.js.map +1 -1
  38. package/dist/models/GetEvaluatorSkillRequest.d.ts +10 -2
  39. package/dist/models/GetEvaluatorSkillRequest.js +2 -0
  40. package/dist/models/GetEvaluatorSkillRequest.js.map +1 -1
  41. package/dist/models/GetEvaluatorSkillResponseBody.d.ts +8 -8
  42. package/dist/models/GetExperimentPlanResponseBody.d.ts +1 -1
  43. package/dist/models/GetOptimizeTaskResponseBody.d.ts +1 -1
  44. package/dist/models/GetPipelineResponseBody.d.ts +69 -37
  45. package/dist/models/GetPipelineResponseBody.js +8 -0
  46. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  47. package/dist/models/GetPipelineRunResponseBody.d.ts +547 -7
  48. package/dist/models/GetPipelineRunResponseBody.js +244 -1
  49. package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
  50. package/dist/models/ListEvaluatorSkillsRequest.d.ts +9 -1
  51. package/dist/models/ListEvaluatorSkillsRequest.js +2 -0
  52. package/dist/models/ListEvaluatorSkillsRequest.js.map +1 -1
  53. package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +8 -8
  54. package/dist/models/ListEvaluatorsRequest.d.ts +1 -1
  55. package/dist/models/ListEvaluatorsResponseBody.d.ts +20 -4
  56. package/dist/models/ListEvaluatorsResponseBody.js +4 -0
  57. package/dist/models/ListEvaluatorsResponseBody.js.map +1 -1
  58. package/dist/models/ListExperimentPlansResponseBody.d.ts +1 -1
  59. package/dist/models/ListOptimizeTasksResponseBody.d.ts +1 -1
  60. package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
  61. package/dist/models/ListPipelineRunsResponseBody.d.ts +26 -10
  62. package/dist/models/ListPipelineRunsResponseBody.js +4 -0
  63. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  64. package/dist/models/ListPipelinesRequest.d.ts +25 -5
  65. package/dist/models/ListPipelinesRequest.js +2 -0
  66. package/dist/models/ListPipelinesRequest.js.map +1 -1
  67. package/dist/models/ListPipelinesResponseBody.d.ts +156 -40
  68. package/dist/models/ListPipelinesResponseBody.js +68 -1
  69. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  70. package/dist/models/ListTagResourcesRequest.d.ts +3 -3
  71. package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
  72. package/dist/models/ListTagResourcesShrinkRequest.d.ts +2 -2
  73. package/dist/models/ModelParameters.d.ts +2 -2
  74. package/dist/models/PreviewPipelineRequest.d.ts +2 -2
  75. package/dist/models/PreviewPipelineResponseBody.d.ts +1 -1
  76. package/dist/models/SearchContextResponseBody.d.ts +1 -1
  77. package/dist/models/TagResourcesRequest.d.ts +6 -6
  78. package/dist/models/UntagResourcesRequest.d.ts +3 -3
  79. package/dist/models/UntagResourcesShrinkRequest.d.ts +3 -3
  80. package/dist/models/UpdateContextStoreRequest.d.ts +1 -1
  81. package/dist/models/UpdateEvaluationTaskRequest.d.ts +1 -1
  82. package/dist/models/UpdateEvaluatorRequest.d.ts +112 -4
  83. package/dist/models/UpdateEvaluatorRequest.js +61 -1
  84. package/dist/models/UpdateEvaluatorRequest.js.map +1 -1
  85. package/dist/models/UpdateEvaluatorSkillRequest.d.ts +12 -4
  86. package/dist/models/UpdateEvaluatorSkillRequest.js +2 -0
  87. package/dist/models/UpdateEvaluatorSkillRequest.js.map +1 -1
  88. package/dist/models/UpdateEvaluatorVersionStatusRequest.d.ts +51 -0
  89. package/dist/models/UpdateEvaluatorVersionStatusRequest.js +64 -0
  90. package/dist/models/UpdateEvaluatorVersionStatusRequest.js.map +1 -0
  91. package/dist/models/UpdateEvaluatorVersionStatusResponse.d.ts +19 -0
  92. package/dist/models/UpdateEvaluatorVersionStatusResponse.js +69 -0
  93. package/dist/models/UpdateEvaluatorVersionStatusResponse.js.map +1 -0
  94. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.d.ts +21 -0
  95. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.js +58 -0
  96. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.js.map +1 -0
  97. package/dist/models/UpdateOptimizeTaskRequest.d.ts +1 -1
  98. package/dist/models/UpdatePipelineRequest.d.ts +3 -3
  99. package/dist/models/model.d.ts +19 -0
  100. package/dist/models/model.js +75 -37
  101. package/dist/models/model.js.map +1 -1
  102. package/package.json +1 -1
  103. package/src/client.ts +192 -12
  104. package/src/models/CreateContextStoreRequest.ts +1 -1
  105. package/src/models/CreateEvaluationTaskRequest.ts +1 -1
  106. package/src/models/CreateEvaluatorRequest.ts +149 -12
  107. package/src/models/CreateEvaluatorResponseBody.ts +2 -2
  108. package/src/models/CreateEvaluatorSkillRequest.ts +17 -7
  109. package/src/models/CreateExperimentPlanRequest.ts +1 -1
  110. package/src/models/CreateMultiModalTaskRequest.ts +103 -0
  111. package/src/models/CreateMultiModalTaskResponse.ts +40 -0
  112. package/src/models/CreateMultiModalTaskResponseBody.ts +64 -0
  113. package/src/models/CreateOptimizeTaskRequest.ts +1 -1
  114. package/src/models/CreatePipelineRequest.ts +46 -36
  115. package/src/models/CreatePipelineResponseBody.ts +1 -1
  116. package/src/models/DataFilter.ts +1 -1
  117. package/src/models/DeleteEvaluatorSkillRequest.ts +11 -1
  118. package/src/models/Evaluator.ts +1 -1
  119. package/src/models/GetContextStoreResponseBody.ts +1 -1
  120. package/src/models/GetEvaluationTaskResponseBody.ts +1 -1
  121. package/src/models/GetEvaluatorResponseBody.ts +142 -9
  122. package/src/models/GetEvaluatorSkillRequest.ts +12 -2
  123. package/src/models/GetEvaluatorSkillResponseBody.ts +8 -8
  124. package/src/models/GetExperimentPlanResponseBody.ts +1 -1
  125. package/src/models/GetOptimizeTaskResponseBody.ts +1 -1
  126. package/src/models/GetPipelineResponseBody.ts +77 -37
  127. package/src/models/GetPipelineRunResponseBody.ts +734 -7
  128. package/src/models/ListEvaluatorSkillsRequest.ts +11 -1
  129. package/src/models/ListEvaluatorSkillsResponseBody.ts +8 -8
  130. package/src/models/ListEvaluatorsRequest.ts +1 -1
  131. package/src/models/ListEvaluatorsResponseBody.ts +24 -4
  132. package/src/models/ListExperimentPlansResponseBody.ts +1 -1
  133. package/src/models/ListOptimizeTasksResponseBody.ts +1 -1
  134. package/src/models/ListPipelineRunsRequest.ts +5 -5
  135. package/src/models/ListPipelineRunsResponseBody.ts +30 -10
  136. package/src/models/ListPipelinesRequest.ts +27 -5
  137. package/src/models/ListPipelinesResponseBody.ts +203 -40
  138. package/src/models/ListTagResourcesRequest.ts +3 -3
  139. package/src/models/ListTagResourcesResponseBody.ts +2 -2
  140. package/src/models/ListTagResourcesShrinkRequest.ts +2 -2
  141. package/src/models/ModelParameters.ts +2 -2
  142. package/src/models/PreviewPipelineRequest.ts +2 -2
  143. package/src/models/PreviewPipelineResponseBody.ts +1 -1
  144. package/src/models/SearchContextResponseBody.ts +1 -1
  145. package/src/models/TagResourcesRequest.ts +6 -6
  146. package/src/models/UntagResourcesRequest.ts +3 -3
  147. package/src/models/UntagResourcesShrinkRequest.ts +3 -3
  148. package/src/models/UpdateContextStoreRequest.ts +1 -1
  149. package/src/models/UpdateEvaluationTaskRequest.ts +1 -1
  150. package/src/models/UpdateEvaluatorRequest.ts +154 -4
  151. package/src/models/UpdateEvaluatorSkillRequest.ts +14 -4
  152. package/src/models/UpdateEvaluatorVersionStatusRequest.ts +70 -0
  153. package/src/models/UpdateEvaluatorVersionStatusResponse.ts +40 -0
  154. package/src/models/UpdateEvaluatorVersionStatusResponseBody.ts +34 -0
  155. package/src/models/UpdateOptimizeTaskRequest.ts +1 -1
  156. package/src/models/UpdatePipelineRequest.ts +3 -3
  157. package/src/models/model.ts +19 -0
@@ -26,7 +26,7 @@ export declare class ListTagResourcesResponseBodyTagResources extends $dara.Mode
26
26
  tagKey?: string;
27
27
  /**
28
28
  * @remarks
29
- * The tag value.
29
+ * The tag value. If this parameter is omitted, the system matches resources that have the specified key. An empty string exactly matches an empty value. Null values are not allowed.
30
30
  *
31
31
  * @example
32
32
  * value1
@@ -46,7 +46,7 @@ export declare class ListTagResourcesResponseBodyTagResources extends $dara.Mode
46
46
  export declare class ListTagResourcesResponseBody extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
- * The pagination token. An empty value indicates that no additional pages exist.
49
+ * The pagination token. If no next page exists, this value is empty.
50
50
  *
51
51
  * @example
52
52
  * eyJsYXN0SWQiOjEyMH0=
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ListTagResourcesShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The pagination token. An empty value indicates that no additional pages exist.
5
+ * The pagination token. If no next page exists, this value is empty.
6
6
  *
7
7
  * @example
8
8
  * eyJuZXh0IjoiNDAifQ==
@@ -28,7 +28,7 @@ export declare class ListTagResourcesShrinkRequest extends $dara.Model {
28
28
  resourceType?: string;
29
29
  /**
30
30
  * @remarks
31
- * The tag filter conditions. Multiple conditions are combined with the AND operator. At least one of resourceId and tag must be specified.
31
+ * The tag filter conditions. Multiple conditions are combined by using the AND operator. At least one of resourceId and tag must be specified.
32
32
  */
33
33
  tagShrink?: string;
34
34
  static names(): {
@@ -41,7 +41,7 @@ export declare class ModelParametersResponseFormat extends $dara.Model {
41
41
  * The JSON Schema constraint, which is required when the type is json_schema.
42
42
  *
43
43
  * @example
44
- * {"name":"answer","strict":true,"schema":"{\\"type\\":\\"object\\",\\"properties\\":{\\"answer\\":{\\"type\\":\\"string\\"}},\\"required\\":[\\"answer\\"]}"}
44
+ * {"name":"answer","strict":true,"schema":"{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"}},\"required\":[\"answer\"]}"}
45
45
  */
46
46
  jsonSchema?: ModelParametersResponseFormatJsonSchema;
47
47
  /**
@@ -141,7 +141,7 @@ export declare class ModelParameters extends $dara.Model {
141
141
  * The response content format, which defaults to text if not specified.
142
142
  *
143
143
  * @example
144
- * {"type":"json_schema","jsonSchema":{"name":"answer","strict":true,"schema":"{\\"type\\":\\"object\\",\\"properties\\":{\\"answer\\":{\\"type\\":\\"string\\"}},\\"required\\":[\\"answer\\"]}"}}
144
+ * {"type":"json_schema","jsonSchema":{"name":"answer","strict":true,"schema":"{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"}},\"required\":[\"answer\"]}"}}
145
145
  */
146
146
  responseFormat?: ModelParametersResponseFormat;
147
147
  /**
@@ -71,7 +71,7 @@ export declare class PreviewPipelineRequestSourceDataset extends $dara.Model {
71
71
  * The data filter condition for the dataset.
72
72
  *
73
73
  * @example
74
- * status = \\"pending\\"
74
+ * status = \"pending\"
75
75
  */
76
76
  filter?: string;
77
77
  static names(): {
@@ -203,7 +203,7 @@ export declare class PreviewPipelineRequestSource extends $dara.Model {
203
203
  * The dataset datasource config in the current AgentSpace.
204
204
  *
205
205
  * @example
206
- * {"dataset":"my-dataset","filter":"status = \\"pending\\""}
206
+ * {"dataset":"my-dataset","filter":"status = \"pending\""}
207
207
  */
208
208
  dataset?: PreviewPipelineRequestSourceDataset;
209
209
  /**
@@ -166,7 +166,7 @@ export declare class PreviewPipelineResponseBody extends $dara.Model {
166
166
  * The collection of sample rows. This array of maps includes only the first N rows (up to 5 rows by default) and does not reflect the complete write plan.
167
167
  *
168
168
  * @example
169
- * [{\\"type\\": \\"saturation\\", \\"value\\": 0}, {\\"type\\": \\"load\\", \\"value\\": 0}, {\\"type\\": \\"latency\\", \\"value\\": 1}, {\\"type\\": \\"error\\", \\"value\\": 0}]
169
+ * [{\"type\": \"saturation\", \"value\": 0}, {\"type\": \"load\", \"value\": 0}, {\"type\": \"latency\", \"value\": 1}, {\"type\": \"error\", \"value\": 0}]
170
170
  */
171
171
  data?: {
172
172
  [key: string]: string;
@@ -79,7 +79,7 @@ export declare class SearchContextResponseBody extends $dara.Model {
79
79
  * The list of retrieval results, sorted by similarity in descending order. Each item contains contextId, context, metadata, score, rank, revision, strategyVersion, and strategyId.
80
80
  *
81
81
  * @example
82
- * [{"contextId":"01a1cf08-c368-7c83******","strategyId":"default","context":"The assistant recommends steamed seafood because it is fresh and not spicy, which aligns with the user\\"s preference for seafood and constraint against spicy food.","metadata":{"contextType":"memory","memoryType":"long","userId":"test_user_002","agentId":"95273000000000","appId":"mm_480d961******","runId":"jr-80ded1d6******","strategyId":"default","category":"recommendation","kind":"state","sourceKind":"api","sourceId":"addctx:75395808-cb81-54cd******","revision":1,"reviewStatus":"unreviewed","sourceState":"active","factKey":"assistant:recommendation:dish******","sessionId":"test_session_001"},"score":0.6617179,"rank":1,"revision":1,"strategyVersion":1}]
82
+ * [{"contextId":"01a1cf08-c368-7c83******","strategyId":"default","context":"The assistant recommends steamed seafood because it is fresh and not spicy, which aligns with the user\"s preference for seafood and constraint against spicy food.","metadata":{"contextType":"memory","memoryType":"long","userId":"test_user_002","agentId":"95273000000000","appId":"mm_480d961******","runId":"jr-80ded1d6******","strategyId":"default","category":"recommendation","kind":"state","sourceKind":"api","sourceId":"addctx:75395808-cb81-54cd******","revision":1,"reviewStatus":"unreviewed","sourceState":"active","factKey":"assistant:recommendation:dish******","sessionId":"test_session_001"},"score":0.6617179,"rank":1,"revision":1,"strategyVersion":1}]
83
83
  */
84
84
  results?: {
85
85
  [key: string]: any;
@@ -2,11 +2,11 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class TagResourcesRequestTag extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The tag key. Format requirements:
5
+ * The tag key. Format requirements are as follows:
6
6
  *
7
7
  * - The length must be 1 to 128 characters.
8
- * - The key cannot contain "http://" or "https://".
9
- * - The key cannot start with "acs:" or "aliyun".
8
+ * - It cannot contain "http://" or "https://".
9
+ * - It cannot start with "acs:" or "aliyun".
10
10
  *
11
11
  * @example
12
12
  * key1
@@ -14,10 +14,10 @@ export declare class TagResourcesRequestTag extends $dara.Model {
14
14
  key?: string;
15
15
  /**
16
16
  * @remarks
17
- * The tag value. Format requirements:
17
+ * The tag value. Format requirements are as follows:
18
18
  *
19
19
  * - The length must be 1 to 128 characters.
20
- * - The value cannot contain "http://" or "https://".
20
+ * - It cannot contain "http://" or "https://".
21
21
  *
22
22
  * @example
23
23
  * value1
@@ -57,7 +57,7 @@ export declare class TagResourcesRequest extends $dara.Model {
57
57
  resourceType?: string;
58
58
  /**
59
59
  * @remarks
60
- * The list of tags. Up to 20 tag key-value pairs are supported at a time.
60
+ * The list of tags. You can specify up to 20 tag key-value pairs at a time.
61
61
  *
62
62
  * @example
63
63
  * [{
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UntagResourcesRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Specifies whether to remove all custom tags. Valid values: true, false, and an empty string. If this parameter is not specified or is set to an empty string, the value is treated as false. The value true takes effect only when the tagKey parameter is not specified or is an empty array.
5
+ * Specifies whether to disassociate all user-defined tags. Valid values: true, false, and an empty string. If this parameter is not specified or is set to an empty string, it is treated as false. The value true indicates that all tags are disassociated only when the tagKey parameter is not specified or is an empty array.
6
6
  *
7
7
  * @example
8
8
  * true
@@ -20,7 +20,7 @@ export declare class UntagResourcesRequest extends $dara.Model {
20
20
  resourceId?: string[];
21
21
  /**
22
22
  * @remarks
23
- * The resource type. Set the value to agentspace.
23
+ * The resource type. The value is fixed to agentspace.
24
24
  *
25
25
  * This parameter is required.
26
26
  *
@@ -30,7 +30,7 @@ export declare class UntagResourcesRequest extends $dara.Model {
30
30
  resourceType?: string;
31
31
  /**
32
32
  * @remarks
33
- * The list of tag keys to remove. You can specify up to 20 tag keys. The tag keys must be unique. If this parameter is not empty, it takes precedence over the all parameter.
33
+ * The list of tag keys to disassociate. You can specify up to 20 tag keys, and they must be unique. If this parameter is not empty, it takes precedence over the all parameter.
34
34
  *
35
35
  * @example
36
36
  * ["key1", "key2", "key3"]
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UntagResourcesShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Specifies whether to remove all custom tags. Valid values: true, false, and an empty string. If this parameter is not specified or is set to an empty string, the value is treated as false. The value true takes effect only when the tagKey parameter is not specified or is an empty array.
5
+ * Specifies whether to disassociate all user-defined tags. Valid values: true, false, and an empty string. If this parameter is not specified or is set to an empty string, it is treated as false. The value true indicates that all tags are disassociated only when the tagKey parameter is not specified or is an empty array.
6
6
  *
7
7
  * @example
8
8
  * true
@@ -20,7 +20,7 @@ export declare class UntagResourcesShrinkRequest extends $dara.Model {
20
20
  resourceIdShrink?: string;
21
21
  /**
22
22
  * @remarks
23
- * The resource type. Set the value to agentspace.
23
+ * The resource type. The value is fixed to agentspace.
24
24
  *
25
25
  * This parameter is required.
26
26
  *
@@ -30,7 +30,7 @@ export declare class UntagResourcesShrinkRequest extends $dara.Model {
30
30
  resourceType?: string;
31
31
  /**
32
32
  * @remarks
33
- * The list of tag keys to remove. You can specify up to 20 tag keys. The tag keys must be unique. If this parameter is not empty, it takes precedence over the all parameter.
33
+ * The list of tag keys to disassociate. You can specify up to 20 tag keys, and they must be unique. If this parameter is not empty, it takes precedence over the all parameter.
34
34
  *
35
35
  * @example
36
36
  * ["key1", "key2", "key3"]
@@ -355,7 +355,7 @@ export declare class UpdateContextStoreRequestConfigSourceDatasetFilter extends
355
355
  * The subset of the pipeline where clause, which is pushed down to SQL.
356
356
  *
357
357
  * @example
358
- * appId = \\"crm-service\\"
358
+ * appId = \"crm-service\"
359
359
  */
360
360
  where?: string;
361
361
  static names(): {
@@ -17,7 +17,7 @@ export declare class UpdateEvaluationTaskRequest extends $dara.Model {
17
17
  * The filter conditions for evaluation data. JSON objects and JSON strings are supported.
18
18
  *
19
19
  * @example
20
- * {"query":"serviceName=\\"checkout-service\\" AND status=\\"OK\\"","maxRecords":10,"samplingRate":50}
20
+ * {"query":"serviceName=\"checkout-service\" AND status=\"OK\"","maxRecords":10,"samplingRate":50}
21
21
  */
22
22
  dataFilter?: string;
23
23
  /**
@@ -1,4 +1,88 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateEvaluatorRequestSkillsFiles extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The text content of the file.
6
+ *
7
+ * @example
8
+ * ---
9
+ * name: fact-check
10
+ * description: Verify factual basis in responses
11
+ * ---
12
+ * Verify the facts in the response item by item and list the basis
13
+ */
14
+ content?: string;
15
+ /**
16
+ * @remarks
17
+ * The path of the file relative to the root directory of the skill.
18
+ *
19
+ * @example
20
+ * SKILL.md
21
+ */
22
+ name?: string;
23
+ static names(): {
24
+ [key: string]: string;
25
+ };
26
+ static types(): {
27
+ [key: string]: any;
28
+ };
29
+ validate(): void;
30
+ constructor(map?: {
31
+ [key: string]: any;
32
+ });
33
+ }
34
+ export declare class UpdateEvaluatorRequestSkills extends $dara.Model {
35
+ /**
36
+ * @remarks
37
+ * The description of the skill purpose.
38
+ *
39
+ * @example
40
+ * Verify factual basis in responses
41
+ */
42
+ description?: string;
43
+ /**
44
+ * @remarks
45
+ * The display name of the skill.
46
+ *
47
+ * @example
48
+ * Fact-checking
49
+ */
50
+ displayName?: string;
51
+ /**
52
+ * @remarks
53
+ * Specifies whether to enable the skill. Default value: true.
54
+ *
55
+ * @example
56
+ * true
57
+ */
58
+ enable?: boolean;
59
+ /**
60
+ * @remarks
61
+ * The complete list of files for the skill, which must include SKILL.md in the root directory.
62
+ *
63
+ * @example
64
+ * [{"name":"SKILL.md","content":"---\nname: fact-check\ndescription: Verify factual basis in responses\n---\nVerify the facts in the response item by item and list the basis."}]
65
+ */
66
+ files?: UpdateEvaluatorRequestSkillsFiles[];
67
+ /**
68
+ * @remarks
69
+ * The name of the skill, which must be unique in the list of skills submitted in this request.
70
+ *
71
+ * @example
72
+ * fact-check
73
+ */
74
+ skillName?: string;
75
+ static names(): {
76
+ [key: string]: string;
77
+ };
78
+ static types(): {
79
+ [key: string]: any;
80
+ };
81
+ validate(): void;
82
+ constructor(map?: {
83
+ [key: string]: any;
84
+ });
85
+ }
2
86
  export declare class UpdateEvaluatorRequest extends $dara.Model {
3
87
  /**
4
88
  * @remarks
@@ -10,7 +94,7 @@ export declare class UpdateEvaluatorRequest extends $dara.Model {
10
94
  annotations?: string[];
11
95
  /**
12
96
  * @remarks
13
- * The configuration of the new version. This parameter is typically required when `version` is specified.
97
+ * The configuration for the new version. This parameter is typically required when version is specified.
14
98
  *
15
99
  * @example
16
100
  * {"prompt":"Evaluate task completion more strictly"}
@@ -20,7 +104,15 @@ export declare class UpdateEvaluatorRequest extends $dara.Model {
20
104
  };
21
105
  /**
22
106
  * @remarks
23
- * The evaluator description.
107
+ * Specifies whether to create a new draft. Set to true to create a new draft, or false to update a specified existing draft. When this parameter is specified, the version status defaults to DRAFT.
108
+ *
109
+ * @example
110
+ * true
111
+ */
112
+ createVersion?: boolean;
113
+ /**
114
+ * @remarks
115
+ * The description of the evaluator.
24
116
  *
25
117
  * @example
26
118
  * Determines whether the agent completes the user task
@@ -31,7 +123,7 @@ export declare class UpdateEvaluatorRequest extends $dara.Model {
31
123
  * The display name.
32
124
  *
33
125
  * @example
34
- * Task completion of the chain
126
+ * Pipeline task completion
35
127
  */
36
128
  displayName?: string;
37
129
  /**
@@ -44,6 +136,22 @@ export declare class UpdateEvaluatorRequest extends $dara.Model {
44
136
  properties?: {
45
137
  [key: string]: any;
46
138
  };
139
+ /**
140
+ * @remarks
141
+ * The complete list of business skills saved for the standard agent evaluator in this request. Pass an empty array to clear the business skills for this version.
142
+ *
143
+ * @example
144
+ * [{"skillName":"fact-check","files":[{"name":"SKILL.md","content":"---\nname: fact-check\ndescription: Verify factual basis in responses\n---\nVerify the facts in the response item by item and list the basis."}]}]
145
+ */
146
+ skills?: UpdateEvaluatorRequestSkills[];
147
+ /**
148
+ * @remarks
149
+ * The status of the evaluator version to be written. Only DRAFT is supported when explicitly specified. To publish a draft, call UpdateEvaluatorVersionStatus.
150
+ *
151
+ * @example
152
+ * DRAFT
153
+ */
154
+ status?: string;
47
155
  /**
48
156
  * @remarks
49
157
  * The new version number. A new version is created when this parameter is specified.
@@ -62,7 +170,7 @@ export declare class UpdateEvaluatorRequest extends $dara.Model {
62
170
  versionDescription?: string;
63
171
  /**
64
172
  * @remarks
65
- * The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency comparison.
173
+ * The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
66
174
  *
67
175
  * @example
68
176
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -33,17 +33,71 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.UpdateEvaluatorRequest = void 0;
36
+ exports.UpdateEvaluatorRequest = exports.UpdateEvaluatorRequestSkills = exports.UpdateEvaluatorRequestSkillsFiles = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateEvaluatorRequestSkillsFiles extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ content: 'content',
43
+ name: 'name',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ content: 'string',
49
+ name: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.UpdateEvaluatorRequestSkillsFiles = UpdateEvaluatorRequestSkillsFiles;
60
+ class UpdateEvaluatorRequestSkills extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ description: 'description',
64
+ displayName: 'displayName',
65
+ enable: 'enable',
66
+ files: 'files',
67
+ skillName: 'skillName',
68
+ };
69
+ }
70
+ static types() {
71
+ return {
72
+ description: 'string',
73
+ displayName: 'string',
74
+ enable: 'boolean',
75
+ files: { 'type': 'array', 'itemType': UpdateEvaluatorRequestSkillsFiles },
76
+ skillName: 'string',
77
+ };
78
+ }
79
+ validate() {
80
+ if (Array.isArray(this.files)) {
81
+ $dara.Model.validateArray(this.files);
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.UpdateEvaluatorRequestSkills = UpdateEvaluatorRequestSkills;
39
90
  class UpdateEvaluatorRequest extends $dara.Model {
40
91
  static names() {
41
92
  return {
42
93
  annotations: 'annotations',
43
94
  config: 'config',
95
+ createVersion: 'createVersion',
44
96
  description: 'description',
45
97
  displayName: 'displayName',
46
98
  properties: 'properties',
99
+ skills: 'skills',
100
+ status: 'status',
47
101
  version: 'version',
48
102
  versionDescription: 'versionDescription',
49
103
  clientToken: 'clientToken',
@@ -53,9 +107,12 @@ class UpdateEvaluatorRequest extends $dara.Model {
53
107
  return {
54
108
  annotations: { 'type': 'array', 'itemType': 'string' },
55
109
  config: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
110
+ createVersion: 'boolean',
56
111
  description: 'string',
57
112
  displayName: 'string',
58
113
  properties: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
114
+ skills: { 'type': 'array', 'itemType': UpdateEvaluatorRequestSkills },
115
+ status: 'string',
59
116
  version: 'string',
60
117
  versionDescription: 'string',
61
118
  clientToken: 'string',
@@ -71,6 +128,9 @@ class UpdateEvaluatorRequest extends $dara.Model {
71
128
  if (this.properties) {
72
129
  $dara.Model.validateMap(this.properties);
73
130
  }
131
+ if (Array.isArray(this.skills)) {
132
+ $dara.Model.validateArray(this.skills);
133
+ }
74
134
  super.validate();
75
135
  }
76
136
  constructor(map) {
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateEvaluatorRequest.js","sourceRoot":"","sources":["../../src/models/UpdateEvaluatorRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C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YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,IAAG,IAAI,CAAC,MAAM,EAAE,CAAC;YACf,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC;QACD,IAAG,IAAI,CAAC,UAAU,EAAE,CAAC;YACnB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC3C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5ID,wDA4IC"}
@@ -25,7 +25,7 @@ export declare class UpdateEvaluatorSkillRequestFiles extends $dara.Model {
25
25
  * The remark for the file.
26
26
  *
27
27
  * @example
28
- * Primary skill description
28
+ * Main skill description
29
29
  */
30
30
  remark?: string;
31
31
  static names(): {
@@ -63,23 +63,31 @@ export declare class UpdateEvaluatorSkillRequest extends $dara.Model {
63
63
  * The display name of the skill.
64
64
  *
65
65
  * @example
66
- * Read Trace Context
66
+ * Read trace context
67
67
  */
68
68
  displayName?: string;
69
69
  /**
70
70
  * @remarks
71
- * Specifies whether the skill is enabled.
71
+ * Specifies whether to enable the skill.
72
72
  *
73
73
  * @example
74
74
  * true
75
75
  */
76
76
  enable?: boolean;
77
+ /**
78
+ * @remarks
79
+ * The target evaluator version for updating the skill. If omitted, the latestVersion of the evaluator is used.
80
+ *
81
+ * @example
82
+ * v2
83
+ */
84
+ evaluatorVersion?: string;
77
85
  /**
78
86
  * @remarks
79
87
  * The list of skill files. If specified, the content of the skill files is updated.
80
88
  *
81
89
  * @example
82
- * [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"Primary skill description"}]
90
+ * [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"Main skill description"}]
83
91
  */
84
92
  files?: UpdateEvaluatorSkillRequestFiles[];
85
93
  /**
@@ -66,6 +66,7 @@ class UpdateEvaluatorSkillRequest extends $dara.Model {
66
66
  description: 'description',
67
67
  displayName: 'displayName',
68
68
  enable: 'enable',
69
+ evaluatorVersion: 'evaluatorVersion',
69
70
  files: 'files',
70
71
  clientToken: 'clientToken',
71
72
  };
@@ -76,6 +77,7 @@ class UpdateEvaluatorSkillRequest extends $dara.Model {
76
77
  description: 'string',
77
78
  displayName: 'string',
78
79
  enable: 'boolean',
80
+ evaluatorVersion: 'string',
79
81
  files: { 'type': 'array', 'itemType': UpdateEvaluatorSkillRequestFiles },
80
82
  clientToken: 'string',
81
83
  };
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateEvaluatorSkillRequest.js","sourceRoot":"","sources":["../../src/models/UpdateEvaluatorSkillRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA6B/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,4EAoDC;AAED,MAAa,2BAA4B,SAAQ,KAAK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AE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,4EAoDC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IA2D1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,kBAAkB;YACpC,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,SAAS;YACjB,gBAAgB,EAAE,QAAQ;YAC1B,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,gCAAgC,EAAE;YACxE,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7FD,kEA6FC"}
@@ -0,0 +1,51 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateEvaluatorVersionStatusRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The expected current status. Valid values: DRAFT, PUBLISHED, and OFFLINE. If the specified value does not match the actual status, the API returns a 409 error.
6
+ *
7
+ * @example
8
+ * DRAFT
9
+ */
10
+ expectedStatus?: string;
11
+ /**
12
+ * @remarks
13
+ * The target status. Valid values:
14
+ * - PUBLISHED: Publishes a draft for the first time or brings an offline version back online.
15
+ * - OFFLINE: Takes a published version offline.
16
+ *
17
+ * This parameter is required.
18
+ *
19
+ * @example
20
+ * PUBLISHED
21
+ */
22
+ status?: string;
23
+ /**
24
+ * @remarks
25
+ * The version number to update. The maximum length is 64 characters.
26
+ *
27
+ * This parameter is required.
28
+ *
29
+ * @example
30
+ * v3
31
+ */
32
+ version?: string;
33
+ /**
34
+ * @remarks
35
+ * The version description provided when a draft is published for the first time. The maximum length is 256 characters.
36
+ *
37
+ * @example
38
+ * Added scoring rules for answer accuracy
39
+ */
40
+ versionDescription?: string;
41
+ static names(): {
42
+ [key: string]: string;
43
+ };
44
+ static types(): {
45
+ [key: string]: any;
46
+ };
47
+ validate(): void;
48
+ constructor(map?: {
49
+ [key: string]: any;
50
+ });
51
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.UpdateEvaluatorVersionStatusRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateEvaluatorVersionStatusRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ expectedStatus: 'expectedStatus',
43
+ status: 'status',
44
+ version: 'version',
45
+ versionDescription: 'versionDescription',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ expectedStatus: 'string',
51
+ status: 'string',
52
+ version: 'string',
53
+ versionDescription: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.UpdateEvaluatorVersionStatusRequest = UpdateEvaluatorVersionStatusRequest;
64
+ //# sourceMappingURL=UpdateEvaluatorVersionStatusRequest.js.map