@alicloud/agentloop20260520 2.3.9 → 2.4.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 (248) hide show
  1. package/dist/client.d.ts +180 -18
  2. package/dist/client.js +448 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AnalysisTask.d.ts +92 -0
  5. package/dist/models/AnalysisTask.js +79 -0
  6. package/dist/models/AnalysisTask.js.map +1 -0
  7. package/dist/models/AuditTaskState.d.ts +100 -0
  8. package/dist/models/AuditTaskState.js +101 -0
  9. package/dist/models/AuditTaskState.js.map +1 -0
  10. package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
  11. package/dist/models/ConnectorProperties.d.ts +32 -11
  12. package/dist/models/ConnectorProperties.js.map +1 -1
  13. package/dist/models/CreateContextStoreApikeyRequest.d.ts +2 -2
  14. package/dist/models/CreateContextStoreApikeyResponseBody.d.ts +1 -1
  15. package/dist/models/CreateContextStoreRequest.d.ts +353 -16
  16. package/dist/models/CreateContextStoreRequest.js +104 -3
  17. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  18. package/dist/models/CreateContextStoreResponseBody.d.ts +4 -1
  19. package/dist/models/CreateContextStoreResponseBody.js.map +1 -1
  20. package/dist/models/CreateOptimizeRunRequest.d.ts +39 -0
  21. package/dist/models/CreateOptimizeRunRequest.js +62 -0
  22. package/dist/models/CreateOptimizeRunRequest.js.map +1 -0
  23. package/dist/models/CreateOptimizeRunResponse.d.ts +19 -0
  24. package/dist/models/CreateOptimizeRunResponse.js +69 -0
  25. package/dist/models/CreateOptimizeRunResponse.js.map +1 -0
  26. package/dist/models/CreateOptimizeRunResponseBody.d.ts +39 -0
  27. package/dist/models/CreateOptimizeRunResponseBody.js +65 -0
  28. package/dist/models/CreateOptimizeRunResponseBody.js.map +1 -0
  29. package/dist/models/CreateOptimizeTaskRequest.d.ts +55 -0
  30. package/dist/models/CreateOptimizeTaskRequest.js +69 -0
  31. package/dist/models/CreateOptimizeTaskRequest.js.map +1 -0
  32. package/dist/models/CreateOptimizeTaskResponse.d.ts +19 -0
  33. package/dist/models/CreateOptimizeTaskResponse.js +69 -0
  34. package/dist/models/CreateOptimizeTaskResponse.js.map +1 -0
  35. package/dist/models/CreateOptimizeTaskResponseBody.d.ts +29 -0
  36. package/dist/models/CreateOptimizeTaskResponseBody.js +60 -0
  37. package/dist/models/CreateOptimizeTaskResponseBody.js.map +1 -0
  38. package/dist/models/DataFilter.d.ts +12 -5
  39. package/dist/models/DataFilter.js.map +1 -1
  40. package/dist/models/DeleteContextStoreApikeyResponseBody.d.ts +1 -1
  41. package/dist/models/DeleteOptimizeTaskRequest.d.ts +21 -0
  42. package/dist/models/DeleteOptimizeTaskRequest.js +58 -0
  43. package/dist/models/DeleteOptimizeTaskRequest.js.map +1 -0
  44. package/dist/models/DeleteOptimizeTaskResponse.d.ts +19 -0
  45. package/dist/models/DeleteOptimizeTaskResponse.js +69 -0
  46. package/dist/models/DeleteOptimizeTaskResponse.js.map +1 -0
  47. package/dist/models/DeleteOptimizeTaskResponseBody.d.ts +21 -0
  48. package/dist/models/DeleteOptimizeTaskResponseBody.js +58 -0
  49. package/dist/models/DeleteOptimizeTaskResponseBody.js.map +1 -0
  50. package/dist/models/ExperimentConfig.d.ts +27 -6
  51. package/dist/models/ExperimentConfig.js.map +1 -1
  52. package/dist/models/ExperimentPlanData.d.ts +77 -0
  53. package/dist/models/ExperimentPlanData.js.map +1 -1
  54. package/dist/models/ExperimentRecord.d.ts +154 -0
  55. package/dist/models/ExperimentRecord.js.map +1 -1
  56. package/dist/models/GetAgentSpaceResponseBody.d.ts +8 -1
  57. package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
  58. package/dist/models/GetContextStoreApikeyResponseBody.d.ts +5 -5
  59. package/dist/models/GetContextStoreResponseBody.d.ts +439 -20
  60. package/dist/models/GetContextStoreResponseBody.js +113 -1
  61. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  62. package/dist/models/GetDatasetResponseBody.d.ts +11 -3
  63. package/dist/models/GetDatasetResponseBody.js.map +1 -1
  64. package/dist/models/GetOptimizeRunRequest.d.ts +13 -0
  65. package/dist/models/GetOptimizeRunRequest.js +54 -0
  66. package/dist/models/GetOptimizeRunRequest.js.map +1 -0
  67. package/dist/models/GetOptimizeRunResponse.d.ts +19 -0
  68. package/dist/models/GetOptimizeRunResponse.js +69 -0
  69. package/dist/models/GetOptimizeRunResponse.js.map +1 -0
  70. package/dist/models/GetOptimizeRunResponseBody.d.ts +163 -0
  71. package/dist/models/GetOptimizeRunResponseBody.js +100 -0
  72. package/dist/models/GetOptimizeRunResponseBody.js.map +1 -0
  73. package/dist/models/GetOptimizeTaskRequest.d.ts +13 -0
  74. package/dist/models/GetOptimizeTaskRequest.js +54 -0
  75. package/dist/models/GetOptimizeTaskRequest.js.map +1 -0
  76. package/dist/models/GetOptimizeTaskResponse.d.ts +19 -0
  77. package/dist/models/GetOptimizeTaskResponse.js +69 -0
  78. package/dist/models/GetOptimizeTaskResponse.js.map +1 -0
  79. package/dist/models/GetOptimizeTaskResponseBody.d.ts +94 -0
  80. package/dist/models/GetOptimizeTaskResponseBody.js +82 -0
  81. package/dist/models/GetOptimizeTaskResponseBody.js.map +1 -0
  82. package/dist/models/GetPipelineStatsRequest.d.ts +9 -0
  83. package/dist/models/GetPipelineStatsRequest.js.map +1 -1
  84. package/dist/models/GetPipelineStatsResponseBody.d.ts +78 -1
  85. package/dist/models/GetPipelineStatsResponseBody.js.map +1 -1
  86. package/dist/models/IndexJsonKey.d.ts +3 -3
  87. package/dist/models/IndexKey.d.ts +10 -7
  88. package/dist/models/IndexKey.js.map +1 -1
  89. package/dist/models/ListContextStoreApikeysRequest.d.ts +2 -2
  90. package/dist/models/ListContextStoreApikeysResponseBody.d.ts +5 -5
  91. package/dist/models/ListContextStoresRequest.d.ts +7 -4
  92. package/dist/models/ListContextStoresRequest.js.map +1 -1
  93. package/dist/models/ListContextStoresResponseBody.d.ts +14 -8
  94. package/dist/models/ListContextStoresResponseBody.js.map +1 -1
  95. package/dist/models/ListDatasetsRequest.d.ts +6 -2
  96. package/dist/models/ListDatasetsRequest.js.map +1 -1
  97. package/dist/models/ListDatasetsResponseBody.d.ts +14 -6
  98. package/dist/models/ListDatasetsResponseBody.js.map +1 -1
  99. package/dist/models/ListDatasetsShrinkRequest.d.ts +6 -2
  100. package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
  101. package/dist/models/ListOptimizeRunsRequest.d.ts +53 -0
  102. package/dist/models/ListOptimizeRunsRequest.js +66 -0
  103. package/dist/models/ListOptimizeRunsRequest.js.map +1 -0
  104. package/dist/models/ListOptimizeRunsResponse.d.ts +19 -0
  105. package/dist/models/ListOptimizeRunsResponse.js +69 -0
  106. package/dist/models/ListOptimizeRunsResponse.js.map +1 -0
  107. package/dist/models/ListOptimizeRunsResponseBody.d.ts +204 -0
  108. package/dist/models/ListOptimizeRunsResponseBody.js +128 -0
  109. package/dist/models/ListOptimizeRunsResponseBody.js.map +1 -0
  110. package/dist/models/ListOptimizeTasksRequest.d.ts +45 -0
  111. package/dist/models/ListOptimizeTasksRequest.js +64 -0
  112. package/dist/models/ListOptimizeTasksRequest.js.map +1 -0
  113. package/dist/models/ListOptimizeTasksResponse.d.ts +19 -0
  114. package/dist/models/ListOptimizeTasksResponse.js +69 -0
  115. package/dist/models/ListOptimizeTasksResponse.js.map +1 -0
  116. package/dist/models/ListOptimizeTasksResponseBody.d.ts +135 -0
  117. package/dist/models/ListOptimizeTasksResponseBody.js +110 -0
  118. package/dist/models/ListOptimizeTasksResponseBody.js.map +1 -0
  119. package/dist/models/ListPipelineRunsRequest.d.ts +10 -4
  120. package/dist/models/ListPipelineRunsRequest.js.map +1 -1
  121. package/dist/models/ListPipelineRunsResponseBody.d.ts +9 -9
  122. package/dist/models/ListPipelinesRequest.d.ts +6 -12
  123. package/dist/models/ListPipelinesRequest.js.map +1 -1
  124. package/dist/models/ListPipelinesResponseBody.d.ts +56 -37
  125. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  126. package/dist/models/ModelParameters.d.ts +49 -0
  127. package/dist/models/ModelParameters.js.map +1 -1
  128. package/dist/models/OfflineExperimentConfig.d.ts +21 -0
  129. package/dist/models/OfflineExperimentConfig.js.map +1 -1
  130. package/dist/models/PausePipelineResponseBody.d.ts +3 -3
  131. package/dist/models/PromptTemplateItem.d.ts +14 -0
  132. package/dist/models/PromptTemplateItem.js.map +1 -1
  133. package/dist/models/ResumePipelineResponseBody.d.ts +3 -3
  134. package/dist/models/RunPipelineRequest.d.ts +4 -4
  135. package/dist/models/RunPipelineResponseBody.d.ts +4 -4
  136. package/dist/models/SearchContextRequest.d.ts +32 -5
  137. package/dist/models/SearchContextRequest.js +5 -0
  138. package/dist/models/SearchContextRequest.js.map +1 -1
  139. package/dist/models/SearchContextResponseBody.d.ts +7 -1
  140. package/dist/models/SearchContextResponseBody.js.map +1 -1
  141. package/dist/models/TerminatePipelineRequest.d.ts +3 -0
  142. package/dist/models/TerminatePipelineRequest.js.map +1 -1
  143. package/dist/models/TerminatePipelineResponseBody.d.ts +17 -0
  144. package/dist/models/TerminatePipelineResponseBody.js.map +1 -1
  145. package/dist/models/UpdateContextStoreRequest.d.ts +135 -37
  146. package/dist/models/UpdateContextStoreRequest.js +67 -1
  147. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  148. package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
  149. package/dist/models/UpdateExperimentPlanRequest.d.ts +6 -6
  150. package/dist/models/UpdateExperimentPlanResponseBody.d.ts +3 -3
  151. package/dist/models/UpdateOptimizeRunRequest.d.ts +39 -0
  152. package/dist/models/UpdateOptimizeRunRequest.js +65 -0
  153. package/dist/models/UpdateOptimizeRunRequest.js.map +1 -0
  154. package/dist/models/UpdateOptimizeRunResponse.d.ts +19 -0
  155. package/dist/models/UpdateOptimizeRunResponse.js +69 -0
  156. package/dist/models/UpdateOptimizeRunResponse.js.map +1 -0
  157. package/dist/models/UpdateOptimizeRunResponseBody.d.ts +29 -0
  158. package/dist/models/UpdateOptimizeRunResponseBody.js +60 -0
  159. package/dist/models/UpdateOptimizeRunResponseBody.js.map +1 -0
  160. package/dist/models/UpdateOptimizeTaskRequest.d.ts +39 -0
  161. package/dist/models/UpdateOptimizeTaskRequest.js +65 -0
  162. package/dist/models/UpdateOptimizeTaskRequest.js.map +1 -0
  163. package/dist/models/UpdateOptimizeTaskResponse.d.ts +19 -0
  164. package/dist/models/UpdateOptimizeTaskResponse.js +69 -0
  165. package/dist/models/UpdateOptimizeTaskResponse.js.map +1 -0
  166. package/dist/models/UpdateOptimizeTaskResponseBody.d.ts +21 -0
  167. package/dist/models/UpdateOptimizeTaskResponseBody.js +58 -0
  168. package/dist/models/UpdateOptimizeTaskResponseBody.js.map +1 -0
  169. package/dist/models/model.d.ts +40 -0
  170. package/dist/models/model.js +137 -56
  171. package/dist/models/model.js.map +1 -1
  172. package/package.json +1 -1
  173. package/src/client.ts +491 -18
  174. package/src/models/AnalysisTask.ts +124 -0
  175. package/src/models/AuditTaskState.ts +143 -0
  176. package/src/models/CancelPipelineRunResponseBody.ts +2 -2
  177. package/src/models/ConnectorProperties.ts +32 -11
  178. package/src/models/CreateContextStoreApikeyRequest.ts +2 -2
  179. package/src/models/CreateContextStoreApikeyResponseBody.ts +1 -1
  180. package/src/models/CreateContextStoreRequest.ts +427 -16
  181. package/src/models/CreateContextStoreResponseBody.ts +4 -1
  182. package/src/models/CreateOptimizeRunRequest.ts +56 -0
  183. package/src/models/CreateOptimizeRunResponse.ts +40 -0
  184. package/src/models/CreateOptimizeRunResponseBody.ts +57 -0
  185. package/src/models/CreateOptimizeTaskRequest.ts +77 -0
  186. package/src/models/CreateOptimizeTaskResponse.ts +40 -0
  187. package/src/models/CreateOptimizeTaskResponseBody.ts +44 -0
  188. package/src/models/DataFilter.ts +12 -5
  189. package/src/models/DeleteContextStoreApikeyResponseBody.ts +1 -1
  190. package/src/models/DeleteOptimizeTaskRequest.ts +34 -0
  191. package/src/models/DeleteOptimizeTaskResponse.ts +40 -0
  192. package/src/models/DeleteOptimizeTaskResponseBody.ts +34 -0
  193. package/src/models/ExperimentConfig.ts +27 -6
  194. package/src/models/ExperimentPlanData.ts +77 -0
  195. package/src/models/ExperimentRecord.ts +154 -0
  196. package/src/models/GetAgentSpaceResponseBody.ts +8 -1
  197. package/src/models/GetContextStoreApikeyResponseBody.ts +5 -5
  198. package/src/models/GetContextStoreResponseBody.ts +520 -20
  199. package/src/models/GetDatasetResponseBody.ts +11 -3
  200. package/src/models/GetOptimizeRunRequest.ts +24 -0
  201. package/src/models/GetOptimizeRunResponse.ts +40 -0
  202. package/src/models/GetOptimizeRunResponseBody.ts +214 -0
  203. package/src/models/GetOptimizeTaskRequest.ts +24 -0
  204. package/src/models/GetOptimizeTaskResponse.ts +40 -0
  205. package/src/models/GetOptimizeTaskResponseBody.ts +127 -0
  206. package/src/models/GetPipelineStatsRequest.ts +9 -0
  207. package/src/models/GetPipelineStatsResponseBody.ts +78 -1
  208. package/src/models/IndexJsonKey.ts +3 -3
  209. package/src/models/IndexKey.ts +10 -7
  210. package/src/models/ListContextStoreApikeysRequest.ts +2 -2
  211. package/src/models/ListContextStoreApikeysResponseBody.ts +5 -5
  212. package/src/models/ListContextStoresRequest.ts +7 -4
  213. package/src/models/ListContextStoresResponseBody.ts +14 -8
  214. package/src/models/ListDatasetsRequest.ts +6 -2
  215. package/src/models/ListDatasetsResponseBody.ts +14 -6
  216. package/src/models/ListDatasetsShrinkRequest.ts +6 -2
  217. package/src/models/ListOptimizeRunsRequest.ts +74 -0
  218. package/src/models/ListOptimizeRunsResponse.ts +40 -0
  219. package/src/models/ListOptimizeRunsResponseBody.ts +274 -0
  220. package/src/models/ListOptimizeTasksRequest.ts +64 -0
  221. package/src/models/ListOptimizeTasksResponse.ts +40 -0
  222. package/src/models/ListOptimizeTasksResponseBody.ts +187 -0
  223. package/src/models/ListPipelineRunsRequest.ts +10 -4
  224. package/src/models/ListPipelineRunsResponseBody.ts +9 -9
  225. package/src/models/ListPipelinesRequest.ts +6 -12
  226. package/src/models/ListPipelinesResponseBody.ts +56 -37
  227. package/src/models/ModelParameters.ts +49 -0
  228. package/src/models/OfflineExperimentConfig.ts +21 -0
  229. package/src/models/PausePipelineResponseBody.ts +3 -3
  230. package/src/models/PromptTemplateItem.ts +14 -0
  231. package/src/models/ResumePipelineResponseBody.ts +3 -3
  232. package/src/models/RunPipelineRequest.ts +4 -4
  233. package/src/models/RunPipelineResponseBody.ts +4 -4
  234. package/src/models/SearchContextRequest.ts +37 -5
  235. package/src/models/SearchContextResponseBody.ts +7 -1
  236. package/src/models/TerminatePipelineRequest.ts +3 -0
  237. package/src/models/TerminatePipelineResponseBody.ts +17 -0
  238. package/src/models/UpdateContextStoreRequest.ts +183 -37
  239. package/src/models/UpdateContextStoreResponseBody.ts +2 -2
  240. package/src/models/UpdateExperimentPlanRequest.ts +6 -6
  241. package/src/models/UpdateExperimentPlanResponseBody.ts +3 -3
  242. package/src/models/UpdateOptimizeRunRequest.ts +57 -0
  243. package/src/models/UpdateOptimizeRunResponse.ts +40 -0
  244. package/src/models/UpdateOptimizeRunResponseBody.ts +44 -0
  245. package/src/models/UpdateOptimizeTaskRequest.ts +57 -0
  246. package/src/models/UpdateOptimizeTaskResponse.ts +40 -0
  247. package/src/models/UpdateOptimizeTaskResponseBody.ts +34 -0
  248. package/src/models/model.ts +40 -0
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Specifies whether to write item events for dropped recall candidates. Default value: false.
9
+ *
7
10
  * @example
8
11
  * false
9
12
  */
10
13
  droppedCandidates?: boolean;
11
14
  /**
15
+ * @remarks
16
+ * The recording mode for recall queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
17
+ *
12
18
  * @example
13
19
  * raw
14
20
  */
15
21
  queryMode?: string;
16
22
  /**
23
+ * @remarks
24
+ * The number of days to retain audit logs. Valid values: 1 to 180. Default value: 30.
25
+ *
17
26
  * @example
18
27
  * 30
19
28
  */
@@ -43,8 +52,149 @@ export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
43
52
  }
44
53
  }
45
54
 
55
+ export class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
59
+ *
60
+ * @example
61
+ * qwen3.8-flash
62
+ */
63
+ name?: string;
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ name: 'name',
67
+ };
68
+ }
69
+
70
+ static types(): { [key: string]: any } {
71
+ return {
72
+ name: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The list of memory categories.
89
+ *
90
+ * @example
91
+ * ["preference","profile"]
92
+ */
93
+ categories?: string[];
94
+ /**
95
+ * @remarks
96
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
97
+ *
98
+ * @example
99
+ * Extract only user product preferences
100
+ */
101
+ customInstructions?: string;
102
+ /**
103
+ * @remarks
104
+ * Specifies whether to apply this policy to new inputs. Default value: true. Disabling the policy does not delete historical memories.
105
+ *
106
+ * @example
107
+ * true
108
+ */
109
+ enabled?: boolean;
110
+ /**
111
+ * @remarks
112
+ * The list of exclusion rules. Content that matches these rules is not extracted.
113
+ *
114
+ * @example
115
+ * ["Password","ID number"]
116
+ */
117
+ excludeRules?: string[];
118
+ /**
119
+ * @remarks
120
+ * The extraction model configuration.
121
+ */
122
+ model?: GetContextStoreResponseBodyConfigExtractionPoliciesModel;
123
+ /**
124
+ * @remarks
125
+ * The display name of the extraction policy.
126
+ *
127
+ * @example
128
+ * User preferences
129
+ */
130
+ name?: string;
131
+ /**
132
+ * @remarks
133
+ * The preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
134
+ *
135
+ * @example
136
+ * fact
137
+ */
138
+ preset?: string;
139
+ /**
140
+ * @remarks
141
+ * The stable ID of the extraction policy. The ID must start with a letter and can contain only letters, digits, underscores, and hyphens. It can be up to 64 characters in length. The ID must be unique within the same context library. Modifying the name or instructions does not change this ID.
142
+ *
143
+ * This parameter is required.
144
+ *
145
+ * @example
146
+ * preferences
147
+ */
148
+ strategyId?: string;
149
+ static names(): { [key: string]: string } {
150
+ return {
151
+ categories: 'categories',
152
+ customInstructions: 'customInstructions',
153
+ enabled: 'enabled',
154
+ excludeRules: 'excludeRules',
155
+ model: 'model',
156
+ name: 'name',
157
+ preset: 'preset',
158
+ strategyId: 'strategyId',
159
+ };
160
+ }
161
+
162
+ static types(): { [key: string]: any } {
163
+ return {
164
+ categories: { 'type': 'array', 'itemType': 'string' },
165
+ customInstructions: 'string',
166
+ enabled: 'boolean',
167
+ excludeRules: { 'type': 'array', 'itemType': 'string' },
168
+ model: GetContextStoreResponseBodyConfigExtractionPoliciesModel,
169
+ name: 'string',
170
+ preset: 'string',
171
+ strategyId: 'string',
172
+ };
173
+ }
174
+
175
+ validate() {
176
+ if(Array.isArray(this.categories)) {
177
+ $dara.Model.validateArray(this.categories);
178
+ }
179
+ if(Array.isArray(this.excludeRules)) {
180
+ $dara.Model.validateArray(this.excludeRules);
181
+ }
182
+ if(this.model && typeof (this.model as any).validate === 'function') {
183
+ (this.model as any).validate();
184
+ }
185
+ super.validate();
186
+ }
187
+
188
+ constructor(map?: { [key: string]: any }) {
189
+ super(map);
190
+ }
191
+ }
192
+
46
193
  export class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
47
194
  /**
195
+ * @remarks
196
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
197
+ *
48
198
  * @example
49
199
  * qwen3.8-flash
50
200
  */
@@ -72,22 +222,38 @@ export class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dar
72
222
 
73
223
  export class GetContextStoreResponseBodyConfigExtractionPolicy extends $dara.Model {
74
224
  /**
225
+ * @remarks
226
+ * The list of memory categories.
227
+ *
75
228
  * @example
76
229
  * ["preference","profile"]
77
230
  */
78
231
  categories?: string[];
79
232
  /**
233
+ * @remarks
234
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
235
+ *
80
236
  * @example
81
- * 只抽取用户的产品偏好
237
+ * Extract only user product preferences
82
238
  */
83
239
  customInstructions?: string;
84
240
  /**
241
+ * @remarks
242
+ * The list of exclusion rules. Content that matches these rules is not extracted.
243
+ *
85
244
  * @example
86
- * ["密码","证件号"]
245
+ * ["Password","ID number"]
87
246
  */
88
247
  excludeRules?: string[];
248
+ /**
249
+ * @remarks
250
+ * The extraction model configuration.
251
+ */
89
252
  model?: GetContextStoreResponseBodyConfigExtractionPolicyModel;
90
253
  /**
254
+ * @remarks
255
+ * The preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
256
+ *
91
257
  * @example
92
258
  * fact
93
259
  */
@@ -132,11 +298,17 @@ export class GetContextStoreResponseBodyConfigExtractionPolicy extends $dara.Mod
132
298
 
133
299
  export class GetContextStoreResponseBodyConfigInnerSource extends $dara.Model {
134
300
  /**
301
+ * @remarks
302
+ * The name of the event Logstore.
303
+ *
135
304
  * @example
136
305
  * memory_events_0a1b2c3d
137
306
  */
138
307
  logstore?: string;
139
308
  /**
309
+ * @remarks
310
+ * The name of the SLS project.
311
+ *
140
312
  * @example
141
313
  * agentloop-xxx
142
314
  */
@@ -166,16 +338,25 @@ export class GetContextStoreResponseBodyConfigInnerSource extends $dara.Model {
166
338
 
167
339
  export class GetContextStoreResponseBodyConfigObservability extends $dara.Model {
168
340
  /**
341
+ * @remarks
342
+ * The name of the audit Logstore.
343
+ *
169
344
  * @example
170
345
  * memory-audit
171
346
  */
172
347
  auditLogstore?: string;
173
348
  /**
349
+ * @remarks
350
+ * The name of the event Logstore.
351
+ *
174
352
  * @example
175
353
  * memory_events_0a1b2c3d
176
354
  */
177
355
  eventsLogstore?: string;
178
356
  /**
357
+ * @remarks
358
+ * The Simple Log Service (SLS) project to which both belong, which is bound to the AgentSpace.
359
+ *
179
360
  * @example
180
361
  * agentloop-xxx
181
362
  */
@@ -207,21 +388,33 @@ export class GetContextStoreResponseBodyConfigObservability extends $dara.Model
207
388
 
208
389
  export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model {
209
390
  /**
391
+ * @remarks
392
+ * The AgentSpace to which the dataset belongs.
393
+ *
210
394
  * @example
211
395
  * my-agent-space
212
396
  */
213
397
  agentSpace?: string;
214
398
  /**
399
+ * @remarks
400
+ * The name of the dataset.
401
+ *
215
402
  * @example
216
403
  * memory-my-context-store
217
404
  */
218
405
  datasetName?: string;
219
406
  /**
407
+ * @remarks
408
+ * The row schema contract of the dataset.
409
+ *
220
410
  * @example
221
411
  * MemoryRecordV1
222
412
  */
223
413
  schemaContract?: string;
224
414
  /**
415
+ * @remarks
416
+ * The schema version.
417
+ *
225
418
  * @example
226
419
  * 1
227
420
  */
@@ -255,6 +448,9 @@ export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model
255
448
 
256
449
  export class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
257
450
  /**
451
+ * @remarks
452
+ * Specifies that at least one of the scope fields must be non-empty. Valid values: userId, agentId, appId, and runId.
453
+ *
258
454
  * @example
259
455
  * ["userId"]
260
456
  */
@@ -285,26 +481,41 @@ export class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
285
481
 
286
482
  export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends $dara.Model {
287
483
  /**
484
+ * @remarks
485
+ * The description of the field. This parameter is required when usage is extraction-input and is appended to the extraction prompt.
486
+ *
288
487
  * @example
289
- * 客户等级
488
+ * Customer tier
290
489
  */
291
490
  description?: string;
292
491
  /**
492
+ * @remarks
493
+ * Specifies whether the field is a sensitive field.
494
+ *
293
495
  * @example
294
496
  * false
295
497
  */
296
498
  sensitive?: boolean;
297
499
  /**
500
+ * @remarks
501
+ * The name of the source field.
502
+ *
298
503
  * @example
299
504
  * customerTier
300
505
  */
301
506
  sourceField?: string;
302
507
  /**
508
+ * @remarks
509
+ * The target path for writing, such as metadata.customerTier.
510
+ *
303
511
  * @example
304
512
  * metadata.customerTier
305
513
  */
306
514
  target?: string;
307
515
  /**
516
+ * @remarks
517
+ * The usage of the field. Valid values: extraction-input (participates in extraction) and ignore (ignored).
518
+ *
308
519
  * @example
309
520
  * extraction-input
310
521
  */
@@ -340,6 +551,9 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
340
551
 
341
552
  export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
342
553
  /**
554
+ * @remarks
555
+ * The subset of the pipeline where clause, which is pushed down to SQL.
556
+ *
343
557
  * @example
344
558
  * appId = \\"crm-service\\"
345
559
  */
@@ -367,16 +581,25 @@ export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.
367
581
 
368
582
  export class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
369
583
  /**
584
+ * @remarks
585
+ * The consumption mode. Valid values: follow (incremental consumption based on __dataset_seq) and fixed (full consumption of the specified ACTIVE version at once).
586
+ *
370
587
  * @example
371
588
  * follow
372
589
  */
373
590
  mode?: string;
374
591
  /**
592
+ * @remarks
593
+ * The starting __dataset_seq for the follow mode.
594
+ *
375
595
  * @example
376
596
  * 0
377
597
  */
378
598
  startSeq?: number;
379
599
  /**
600
+ * @remarks
601
+ * The dataset version specified for the fixed mode.
602
+ *
380
603
  * @example
381
604
  * v3
382
605
  */
@@ -407,23 +630,44 @@ export class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends
407
630
  }
408
631
 
409
632
  export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model {
633
+ /**
634
+ * @remarks
635
+ * The list of custom field declarations.
636
+ */
410
637
  customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
411
638
  /**
639
+ * @remarks
640
+ * The name of the dataset in the same AgentSpace. This parameter cannot be modified after creation.
641
+ *
412
642
  * @example
413
643
  * trajectory-with-crm-profile
414
644
  */
415
645
  datasetName?: string;
646
+ /**
647
+ * @remarks
648
+ * The row filter condition.
649
+ */
416
650
  filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
417
651
  /**
652
+ * @remarks
653
+ * The polling interval in seconds. Valid values: 60 to 3600. Default value: 300.
654
+ *
418
655
  * @example
419
656
  * 300
420
657
  */
421
658
  pollIntervalSeconds?: number;
422
659
  /**
660
+ * @remarks
661
+ * The row schema contract of the dataset. In the current phase, this parameter is fixed to MemorySourceV1.
662
+ *
423
663
  * @example
424
664
  * MemorySourceV1
425
665
  */
426
666
  schemaContract?: string;
667
+ /**
668
+ * @remarks
669
+ * The version consumption policy of the dataset.
670
+ */
427
671
  versionPolicy?: GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy;
428
672
  static names(): { [key: string]: string } {
429
673
  return {
@@ -467,26 +711,41 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
467
711
 
468
712
  export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $dara.Model {
469
713
  /**
714
+ * @remarks
715
+ * The list of agent names. An explicit empty list returns a 400 error.
716
+ *
470
717
  * @example
471
718
  * ["sales-copilot"]
472
719
  */
473
720
  agentNames?: string[];
474
721
  /**
722
+ * @remarks
723
+ * Specifies whether to exclude degraded trajectories. Default value: false (includes degraded trajectories).
724
+ *
475
725
  * @example
476
726
  * false
477
727
  */
478
728
  excludeDegraded?: boolean;
479
729
  /**
730
+ * @remarks
731
+ * The minimum step count, which must be greater than or equal to 0.
732
+ *
480
733
  * @example
481
734
  * 2
482
735
  */
483
736
  minStepCount?: number;
484
737
  /**
738
+ * @remarks
739
+ * The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using the AND operator.
740
+ *
485
741
  * @example
486
742
  * tool_names:"search_order"
487
743
  */
488
744
  query?: string;
489
745
  /**
746
+ * @remarks
747
+ * The list of service names. A single trailing asterisk (*) is supported. An explicit empty list returns a 400 error.
748
+ *
490
749
  * @example
491
750
  * ["crm-service","app-*"]
492
751
  */
@@ -528,21 +787,33 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
528
787
 
529
788
  export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping extends $dara.Model {
530
789
  /**
790
+ * @remarks
791
+ * The JSONPath expression for agentId. Default value: $.agent_name.
792
+ *
531
793
  * @example
532
794
  * $.agent_name
533
795
  */
534
796
  agentId?: string;
535
797
  /**
798
+ * @remarks
799
+ * The JSONPath expression for appId. Default value: $.service_names[0].
800
+ *
536
801
  * @example
537
802
  * $.service_names[0]
538
803
  */
539
804
  appId?: string;
540
805
  /**
806
+ * @remarks
807
+ * The JSONPath expression for runId. Default value: $.trajectory_id.
808
+ *
541
809
  * @example
542
810
  * $.trajectory_id
543
811
  */
544
812
  runId?: string;
545
813
  /**
814
+ * @remarks
815
+ * The JSONPath expression for userId. By default, this field is not mapped.
816
+ *
546
817
  * @example
547
818
  * $.trajectory_extensions.user_id
548
819
  */
@@ -575,20 +846,36 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
575
846
  }
576
847
 
577
848
  export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
849
+ /**
850
+ * @remarks
851
+ * The trajectory filter condition. Multiple conditions are combined with AND, and conditions within a list are combined with OR.
852
+ */
578
853
  filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
579
854
  /**
855
+ * @remarks
856
+ * The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be modified after creation.
857
+ *
580
858
  * @example
581
859
  * agent-trajectory
582
860
  */
583
861
  logstore?: string;
584
862
  /**
863
+ * @remarks
864
+ * The polling interval in seconds. Valid values: 60 to 3600. Default value: 300.
865
+ *
585
866
  * @example
586
867
  * 300
587
868
  */
588
869
  pollIntervalSeconds?: number;
870
+ /**
871
+ * @remarks
872
+ * The scope field mapping. The value is a JSONPath expression. Only the $.a.b and $.a[0] formats are supported.
873
+ */
589
874
  scopeMapping?: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping;
590
875
  /**
591
876
  * @remarks
877
+ * The start time for trajectory consumption in ISO 8601 UTC format. If not specified, the default value is the creation time.
878
+ *
592
879
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
593
880
  *
594
881
  * @example
@@ -630,19 +917,95 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
630
917
  }
631
918
  }
632
919
 
920
+ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.Model {
921
+ /**
922
+ * @remarks
923
+ * The continuous consumption mode. The value is fixed to follow.
924
+ *
925
+ * @example
926
+ * follow
927
+ */
928
+ mode?: string;
929
+ /**
930
+ * @remarks
931
+ * The initial consumed append sequence number. The value is a decimal string of a non-negative int64 integer. Default value: 0. The __dataset_seq field is used, and the business timestamp is not used as the consumption checkpoint.
932
+ *
933
+ * @example
934
+ * 0
935
+ */
936
+ startSeq?: string;
937
+ static names(): { [key: string]: string } {
938
+ return {
939
+ mode: 'mode',
940
+ startSeq: 'startSeq',
941
+ };
942
+ }
943
+
944
+ static types(): { [key: string]: any } {
945
+ return {
946
+ mode: 'string',
947
+ startSeq: 'string',
948
+ };
949
+ }
950
+
951
+ validate() {
952
+ super.validate();
953
+ }
954
+
955
+ constructor(map?: { [key: string]: any }) {
956
+ super(map);
957
+ }
958
+ }
959
+
633
960
  export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
634
961
  /**
635
962
  * @remarks
636
- * The AgentSpace where the trace data source resides. This is the same as the AgentSpace specified during creation.
963
+ * The AgentSpace to which the trace data source belongs, which is the same as the AgentSpace to which it belonged when it was created.
637
964
  *
638
965
  * @example
639
966
  * my-agent-space
640
967
  */
641
968
  agentSpace?: string;
969
+ /**
970
+ * @remarks
971
+ * The DatasetBinding v1 shared with optimization tasks, which retains fixed column validation, supplementary column usage, and all/window selection.
972
+ *
973
+ * @example
974
+ * {"version":1,"selection":{"mode":"all"}}
975
+ */
976
+ binding?: { [key: string]: any };
977
+ /**
978
+ * @remarks
979
+ * The data source configuration for the memory type dataset. This parameter is required when the type is memory and source.type is dataset.
980
+ */
642
981
  dataset?: GetContextStoreResponseBodyConfigSourceDataset;
643
982
  /**
644
983
  * @remarks
645
- * The start time for data backfill, in ISO 8601 UTC format.
984
+ * The name of the source dataset for the experience type in the current AgentSpace.
985
+ *
986
+ * @example
987
+ * reviewed_trajectories
988
+ */
989
+ datasetName?: string;
990
+ /**
991
+ * @remarks
992
+ * The input format of the dataset. For the experience base dataset, the source is atif.
993
+ *
994
+ * @example
995
+ * atif
996
+ */
997
+ format?: string;
998
+ /**
999
+ * @remarks
1000
+ * The maximum number of records to read from the dataset at a time. Valid values: 1 to 1000.
1001
+ *
1002
+ * @example
1003
+ * 1000
1004
+ */
1005
+ maxRecords?: number;
1006
+ /**
1007
+ * @remarks
1008
+ * The start time for data backfill in ISO 8601 UTC format.
646
1009
  *
647
1010
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
648
1011
  *
@@ -650,39 +1013,67 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
650
1013
  * 2026-01-01T00:00:00Z
651
1014
  */
652
1015
  startTime?: string;
1016
+ /**
1017
+ * @remarks
1018
+ * The data source configuration for the memory type trajectory. This parameter is required when the type is memory and source.type is trajectory.
1019
+ */
653
1020
  trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
654
1021
  /**
1022
+ * @remarks
1023
+ * The source type, which can be trajectory or dataset. For experience, if not specified, the trajectory configuration is used. For Dataset, the datasetName, format, and binding at the current level are used. The default mode is manual. If versionPolicy.mode is set to follow, continuous processing is performed and automatically applied to the experience library. For memory, if not specified, the mode is manual (only written by AddContexts). Otherwise, the trajectory or dataset sub-configuration with the same name is used. This parameter cannot be modified after creation.
1024
+ *
655
1025
  * @example
656
- * trajectory
1026
+ * dataset
657
1027
  */
658
1028
  type?: string;
1029
+ /**
1030
+ * @remarks
1031
+ * The continuous consumption configuration for the native experience library Dataset. The default mode is manual. The follow mode only allows binding.selection.mode to be set to all, and consumes data by append sequence number. This parameter cannot be modified after creation.
1032
+ */
1033
+ versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
659
1034
  static names(): { [key: string]: string } {
660
1035
  return {
661
1036
  agentSpace: 'agentSpace',
1037
+ binding: 'binding',
662
1038
  dataset: 'dataset',
1039
+ datasetName: 'datasetName',
1040
+ format: 'format',
1041
+ maxRecords: 'maxRecords',
663
1042
  startTime: 'startTime',
664
1043
  trajectory: 'trajectory',
665
1044
  type: 'type',
1045
+ versionPolicy: 'versionPolicy',
666
1046
  };
667
1047
  }
668
1048
 
669
1049
  static types(): { [key: string]: any } {
670
1050
  return {
671
1051
  agentSpace: 'string',
1052
+ binding: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
672
1053
  dataset: GetContextStoreResponseBodyConfigSourceDataset,
1054
+ datasetName: 'string',
1055
+ format: 'string',
1056
+ maxRecords: 'number',
673
1057
  startTime: 'string',
674
1058
  trajectory: GetContextStoreResponseBodyConfigSourceTrajectory,
675
1059
  type: 'string',
1060
+ versionPolicy: GetContextStoreResponseBodyConfigSourceVersionPolicy,
676
1061
  };
677
1062
  }
678
1063
 
679
1064
  validate() {
1065
+ if(this.binding) {
1066
+ $dara.Model.validateMap(this.binding);
1067
+ }
680
1068
  if(this.dataset && typeof (this.dataset as any).validate === 'function') {
681
1069
  (this.dataset as any).validate();
682
1070
  }
683
1071
  if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
684
1072
  (this.trajectory as any).validate();
685
1073
  }
1074
+ if(this.versionPolicy && typeof (this.versionPolicy as any).validate === 'function') {
1075
+ (this.versionPolicy as any).validate();
1076
+ }
686
1077
  super.validate();
687
1078
  }
688
1079
 
@@ -692,23 +1083,52 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
692
1083
  }
693
1084
 
694
1085
  export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
1086
+ /**
1087
+ * @remarks
1088
+ * The processing progress. For memory trajectory, the format is {processTimeNs, watermarkMs}. For dataset, the format is {seq}. For manual, the format is {}. For experience Dataset follow, the seq field uses an exact int64 decimal string.
1089
+ */
695
1090
  checkpoint?: { [key: string]: any };
696
1091
  /**
1092
+ * @remarks
1093
+ * The current reserved sequence window for experience Dataset follow, in the format of {after, until, runId}. All sequence numbers are decimal strings. If a failure occurs, the submitted checkpoint is not advanced.
1094
+ */
1095
+ currentWindow?: { [key: string]: string };
1096
+ /**
1097
+ * @remarks
1098
+ * The last desensitized error message. This field is empty when the status is normal.
1099
+ *
697
1100
  * @example
698
- * 读取数据源超时
1101
+ * Data source read timeout
699
1102
  */
700
1103
  lastError?: string;
701
1104
  /**
1105
+ * @remarks
1106
+ * The run ID of the last successful automatic application to the native experience library. This field is for audit purposes only.
1107
+ *
1108
+ * @example
1109
+ * opr-example
1110
+ */
1111
+ lastRunId?: string;
1112
+ /**
1113
+ * @remarks
1114
+ * The last window processing time in ISO 8601 UTC format.
1115
+ *
702
1116
  * @example
703
1117
  * 2026-10-01T08:00:00Z
704
1118
  */
705
1119
  lastWindowAt?: string;
706
1120
  /**
1121
+ * @remarks
1122
+ * The number of consecutive retries.
1123
+ *
707
1124
  * @example
708
1125
  * 0
709
1126
  */
710
1127
  retryCount?: number;
711
1128
  /**
1129
+ * @remarks
1130
+ * The state of the data source. Valid values: Validating, Ready, Running, Retrying, Paused, SourceSchemaChanged, and Failed.
1131
+ *
712
1132
  * @example
713
1133
  * Running
714
1134
  */
@@ -716,7 +1136,9 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
716
1136
  static names(): { [key: string]: string } {
717
1137
  return {
718
1138
  checkpoint: 'checkpoint',
1139
+ currentWindow: 'currentWindow',
719
1140
  lastError: 'lastError',
1141
+ lastRunId: 'lastRunId',
720
1142
  lastWindowAt: 'lastWindowAt',
721
1143
  retryCount: 'retryCount',
722
1144
  state: 'state',
@@ -726,7 +1148,9 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
726
1148
  static types(): { [key: string]: any } {
727
1149
  return {
728
1150
  checkpoint: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1151
+ currentWindow: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
729
1152
  lastError: 'string',
1153
+ lastRunId: 'string',
730
1154
  lastWindowAt: 'string',
731
1155
  retryCount: 'number',
732
1156
  state: 'string',
@@ -737,6 +1161,9 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
737
1161
  if(this.checkpoint) {
738
1162
  $dara.Model.validateMap(this.checkpoint);
739
1163
  }
1164
+ if(this.currentWindow) {
1165
+ $dara.Model.validateMap(this.currentWindow);
1166
+ }
740
1167
  super.validate();
741
1168
  }
742
1169
 
@@ -747,36 +1174,57 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
747
1174
 
748
1175
  export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
749
1176
  /**
1177
+ * @remarks
1178
+ * The allowed storage actions. Default value: all actions. Valid values: ADD, UPDATE, MERGE, and DELETE.
1179
+ *
750
1180
  * @example
751
1181
  * ["ADD","UPDATE","MERGE","DELETE"]
752
1182
  */
753
1183
  allowedActions?: string[];
754
1184
  /**
1185
+ * @remarks
1186
+ * Specifies whether to enable deduplication in event mode. Default value: true.
1187
+ *
755
1188
  * @example
756
1189
  * true
757
1190
  */
758
1191
  dedupe?: boolean;
759
1192
  /**
1193
+ * @remarks
1194
+ * Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
1195
+ *
760
1196
  * @example
761
1197
  * true
762
1198
  */
763
1199
  humanEditProtection?: boolean;
764
1200
  /**
1201
+ * @remarks
1202
+ * The merge key for upsert operations. Default value: semantic. Valid values: factKey, semantic, and both.
1203
+ *
765
1204
  * @example
766
1205
  * semantic
767
1206
  */
768
1207
  mergeKey?: string;
769
1208
  /**
1209
+ * @remarks
1210
+ * The storage mode. Default value: upsert. Valid values: event (event append) and upsert (merge update).
1211
+ *
770
1212
  * @example
771
1213
  * upsert
772
1214
  */
773
1215
  mode?: string;
774
1216
  /**
1217
+ * @remarks
1218
+ * The similarity threshold for semantic merging. Valid values: 0 to 1. Default value: 0.4.
1219
+ *
775
1220
  * @example
776
1221
  * 0.4
777
1222
  */
778
1223
  similarityThreshold?: number;
779
1224
  /**
1225
+ * @remarks
1226
+ * The number of days before memories expire. A value of 0 indicates that memories do not expire.
1227
+ *
780
1228
  * @example
781
1229
  * 0
782
1230
  */
@@ -818,8 +1266,25 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
818
1266
  }
819
1267
 
820
1268
  export class GetContextStoreResponseBodyConfig extends $dara.Model {
1269
+ /**
1270
+ * @remarks
1271
+ * The audit configuration.
1272
+ */
821
1273
  audit?: GetContextStoreResponseBodyConfigAudit;
1274
+ /**
1275
+ * @remarks
1276
+ * The extraction policies. You can configure 1 to 10 policies. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
1277
+ */
1278
+ extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
1279
+ /**
1280
+ * @remarks
1281
+ * The extraction policy for the memory type.
1282
+ */
822
1283
  extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
1284
+ /**
1285
+ * @remarks
1286
+ * The system-assigned coordinates of the event Logstore for the memory type. The Logstore is located in the Simple Log Service (SLS) project bound to the AgentSpace.
1287
+ */
823
1288
  innerSource?: GetContextStoreResponseBodyConfigInnerSource;
824
1289
  /**
825
1290
  * @remarks
@@ -831,18 +1296,38 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
831
1296
  metadataField?: { [key: string]: string };
832
1297
  /**
833
1298
  * @remarks
834
- * The experience mining interval. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d.
1299
+ * The interval for experience mining. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d.
835
1300
  *
836
1301
  * @example
837
1302
  * 1d
838
1303
  */
839
1304
  miningInterval?: string;
1305
+ /**
1306
+ * @remarks
1307
+ * The name of the internal running task associated with the server. For continuous libraries, it is used to view consumption records in read-only mode. For manual libraries, it can run limited mining. It is not inferred by the client and cannot replace the ingestion and recall criteria of the native experience library.
1308
+ *
1309
+ * @example
1310
+ * experience-review-library
1311
+ */
1312
+ miningTaskName?: string;
1313
+ /**
1314
+ * @remarks
1315
+ * The observability resource coordinates (memory type).
1316
+ */
840
1317
  observability?: GetContextStoreResponseBodyConfigObservability;
1318
+ /**
1319
+ * @remarks
1320
+ * The location of the memory output dataset (memory type).
1321
+ */
841
1322
  outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
1323
+ /**
1324
+ * @remarks
1325
+ * The scope constraint policy.
1326
+ */
842
1327
  scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
843
1328
  /**
844
1329
  * @remarks
845
- * The list of service names. This works together with source.agentSpace to locate the trace data source. This value cannot be changed in the current version.
1330
+ * The list of service names used to locate the trace data source together with source.agentSpace. This parameter cannot be modified in the current phase.
846
1331
  *
847
1332
  * @example
848
1333
  * ["order-service","payment-service"]
@@ -850,12 +1335,23 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
850
1335
  serviceNames?: string[];
851
1336
  /**
852
1337
  * @remarks
853
- * The datasource config passed in by the user. This serves only as the root identifier of the data source.
1338
+ * The data source configuration provided by the user, which serves only as the root identifier of the data source.
854
1339
  */
855
1340
  source?: GetContextStoreResponseBodyConfigSource;
1341
+ /**
1342
+ * @remarks
1343
+ * The running status of the data source, applicable to the memory type and experience Dataset follow mode. The experience library submits a checkpoint only after it is published and automatically applied successfully. Pausing and restarting retain the checkpoint.
1344
+ */
856
1345
  sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
1346
+ /**
1347
+ * @remarks
1348
+ * The storage policy for the memory type.
1349
+ */
857
1350
  storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
858
1351
  /**
1352
+ * @remarks
1353
+ * The currently effective strategy version number for the memory type.
1354
+ *
859
1355
  * @example
860
1356
  * 1
861
1357
  */
@@ -863,10 +1359,12 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
863
1359
  static names(): { [key: string]: string } {
864
1360
  return {
865
1361
  audit: 'audit',
1362
+ extractionPolicies: 'extractionPolicies',
866
1363
  extractionPolicy: 'extractionPolicy',
867
1364
  innerSource: 'innerSource',
868
1365
  metadataField: 'metadataField',
869
1366
  miningInterval: 'miningInterval',
1367
+ miningTaskName: 'miningTaskName',
870
1368
  observability: 'observability',
871
1369
  outputDataset: 'outputDataset',
872
1370
  scopePolicy: 'scopePolicy',
@@ -881,10 +1379,12 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
881
1379
  static types(): { [key: string]: any } {
882
1380
  return {
883
1381
  audit: GetContextStoreResponseBodyConfigAudit,
1382
+ extractionPolicies: { 'type': 'array', 'itemType': GetContextStoreResponseBodyConfigExtractionPolicies },
884
1383
  extractionPolicy: GetContextStoreResponseBodyConfigExtractionPolicy,
885
1384
  innerSource: GetContextStoreResponseBodyConfigInnerSource,
886
1385
  metadataField: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
887
1386
  miningInterval: 'string',
1387
+ miningTaskName: 'string',
888
1388
  observability: GetContextStoreResponseBodyConfigObservability,
889
1389
  outputDataset: GetContextStoreResponseBodyConfigOutputDataset,
890
1390
  scopePolicy: GetContextStoreResponseBodyConfigScopePolicy,
@@ -900,6 +1400,9 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
900
1400
  if(this.audit && typeof (this.audit as any).validate === 'function') {
901
1401
  (this.audit as any).validate();
902
1402
  }
1403
+ if(Array.isArray(this.extractionPolicies)) {
1404
+ $dara.Model.validateArray(this.extractionPolicies);
1405
+ }
903
1406
  if(this.extractionPolicy && typeof (this.extractionPolicy as any).validate === 'function') {
904
1407
  (this.extractionPolicy as any).validate();
905
1408
  }
@@ -941,7 +1444,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
941
1444
  export class GetContextStoreResponseBody extends $dara.Model {
942
1445
  /**
943
1446
  * @remarks
944
- * The name of the AgentSpace to which the context store belongs.
1447
+ * The name of the associated AgentSpace.
945
1448
  *
946
1449
  * @example
947
1450
  * my-agent-space
@@ -949,12 +1452,12 @@ export class GetContextStoreResponseBody extends $dara.Model {
949
1452
  agentSpace?: string;
950
1453
  /**
951
1454
  * @remarks
952
- * The configuration of the context store.
1455
+ * The context library configuration.
953
1456
  */
954
1457
  config?: GetContextStoreResponseBodyConfig;
955
1458
  /**
956
1459
  * @remarks
957
- * The context store name.
1460
+ * The name of the context store.
958
1461
  *
959
1462
  * @example
960
1463
  * my-context-store
@@ -983,12 +1486,12 @@ export class GetContextStoreResponseBody extends $dara.Model {
983
1486
  * The description of the context store.
984
1487
  *
985
1488
  * @example
986
- * 我的上下文库
1489
+ * My context store
987
1490
  */
988
1491
  description?: string;
989
1492
  /**
990
1493
  * @remarks
991
- * The region ID of the context store.
1494
+ * The ID of the region where the context store is located.
992
1495
  *
993
1496
  * @example
994
1497
  * cn-hangzhou
@@ -996,7 +1499,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
996
1499
  regionId?: string;
997
1500
  /**
998
1501
  * @remarks
999
- * The request ID, which is used to locate and troubleshoot issues.
1502
+ * The request ID used to locate the request during troubleshooting.
1000
1503
  *
1001
1504
  * @example
1002
1505
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -1004,10 +1507,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1004
1507
  requestId?: string;
1005
1508
  /**
1006
1509
  * @remarks
1007
- * The status of the context store. Valid values:
1008
- * - ACTIVE
1009
- * - INITIALIZING
1010
- * - FAILED
1510
+ * The status of the context store, such as ACTIVE, INITIALIZING, or FAILED.
1011
1511
  *
1012
1512
  * @example
1013
1513
  * ACTIVE