@alicloud/agentloop20260520 2.4.0 → 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 (34) hide show
  1. package/dist/client.d.ts +4 -4
  2. package/dist/client.js +7 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContextStoreRequest.d.ts +142 -42
  5. package/dist/models/CreateContextStoreRequest.js +67 -1
  6. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  7. package/dist/models/CreateContextStoreResponseBody.d.ts +2 -2
  8. package/dist/models/GetAgentSpaceResponseBody.d.ts +8 -1
  9. package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
  10. package/dist/models/GetContextStoreResponseBody.d.ts +162 -66
  11. package/dist/models/GetContextStoreResponseBody.js +67 -1
  12. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  13. package/dist/models/SearchContextRequest.d.ts +13 -5
  14. package/dist/models/SearchContextRequest.js +5 -0
  15. package/dist/models/SearchContextRequest.js.map +1 -1
  16. package/dist/models/SearchContextResponseBody.d.ts +3 -3
  17. package/dist/models/UpdateContextStoreRequest.d.ts +129 -31
  18. package/dist/models/UpdateContextStoreRequest.js +67 -1
  19. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  20. package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
  21. package/dist/models/model.d.ts +6 -0
  22. package/dist/models/model.js +71 -59
  23. package/dist/models/model.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/client.ts +8 -4
  26. package/src/models/CreateContextStoreRequest.ts +190 -42
  27. package/src/models/CreateContextStoreResponseBody.ts +2 -2
  28. package/src/models/GetAgentSpaceResponseBody.ts +8 -1
  29. package/src/models/GetContextStoreResponseBody.ts +210 -66
  30. package/src/models/SearchContextRequest.ts +18 -5
  31. package/src/models/SearchContextResponseBody.ts +3 -3
  32. package/src/models/UpdateContextStoreRequest.ts +177 -31
  33. package/src/models/UpdateContextStoreResponseBody.ts +2 -2
  34. package/src/models/model.ts +6 -0
@@ -65,7 +65,7 @@ export class SearchContextRequestScope extends $dara.Model {
65
65
  export class SearchContextRequest extends $dara.Model {
66
66
  /**
67
67
  * @remarks
68
- * The structured filter conditions. The key is the field name, and the value is the expected matching value.
68
+ * The structured filter conditions. The key is the field name, and the value is the expected match value.
69
69
  *
70
70
  * @example
71
71
  * {"userId":"alice"}
@@ -73,7 +73,7 @@ export class SearchContextRequest extends $dara.Model {
73
73
  filter?: { [key: string]: any };
74
74
  /**
75
75
  * @remarks
76
- * Specifies whether to structurally format the returned results.
76
+ * Specifies whether to apply structured formatting to the returned results.
77
77
  *
78
78
  * @example
79
79
  * true
@@ -81,7 +81,7 @@ export class SearchContextRequest extends $dara.Model {
81
81
  formatted?: boolean;
82
82
  /**
83
83
  * @remarks
84
- * Specifies whether to include memories with sourceState=inactive. Default value: false.
84
+ * Specifies whether to include memories whose sourceState is inactive. Default value: false.
85
85
  *
86
86
  * @example
87
87
  * false
@@ -89,7 +89,7 @@ export class SearchContextRequest extends $dara.Model {
89
89
  includeInactive?: boolean;
90
90
  /**
91
91
  * @remarks
92
- * The maximum number of returned results, which corresponds to the Top-N similarity.
92
+ * The maximum number of returned results, which corresponds to the top N results by similarity.
93
93
  *
94
94
  * @example
95
95
  * 10
@@ -120,7 +120,15 @@ export class SearchContextRequest extends $dara.Model {
120
120
  scope?: SearchContextRequestScope;
121
121
  /**
122
122
  * @remarks
123
- * The similarity threshold. Results with a similarity score lower than this value are filtered out. Valid values: 0 to 1.
123
+ * Filters results by extraction strategy ID. Multiple IDs in the list are evaluated with an OR condition. If this parameter is not specified, all strategies are recalled. An empty list returns a 400 error. If the format is valid but no matching IDs are found, an empty result is returned. IDs of historically removed strategies are supported.
124
+ *
125
+ * @example
126
+ * ["preferences","profile"]
127
+ */
128
+ strategyIds?: string[];
129
+ /**
130
+ * @remarks
131
+ * The similarity threshold. Results with a similarity score below this value are filtered out. Valid values: 0 to 1.
124
132
  *
125
133
  * @example
126
134
  * 0.5
@@ -135,6 +143,7 @@ export class SearchContextRequest extends $dara.Model {
135
143
  query: 'query',
136
144
  retrievalOption: 'retrievalOption',
137
145
  scope: 'scope',
146
+ strategyIds: 'strategyIds',
138
147
  threshold: 'threshold',
139
148
  };
140
149
  }
@@ -148,6 +157,7 @@ export class SearchContextRequest extends $dara.Model {
148
157
  query: 'string',
149
158
  retrievalOption: 'string',
150
159
  scope: SearchContextRequestScope,
160
+ strategyIds: { 'type': 'array', 'itemType': 'string' },
151
161
  threshold: 'number',
152
162
  };
153
163
  }
@@ -159,6 +169,9 @@ export class SearchContextRequest extends $dara.Model {
159
169
  if(this.scope && typeof (this.scope as any).validate === 'function') {
160
170
  (this.scope as any).validate();
161
171
  }
172
+ if(Array.isArray(this.strategyIds)) {
173
+ $dara.Model.validateArray(this.strategyIds);
174
+ }
162
175
  super.validate();
163
176
  }
164
177
 
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SearchContextResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The audit write status. Valid values: ok and degraded.
8
+ * The audit write status. Valid values: ok, degraded.
9
9
  *
10
10
  * @example
11
11
  * ok
@@ -13,7 +13,7 @@ export class SearchContextResponseBody extends $dara.Model {
13
13
  auditStatus?: string;
14
14
  /**
15
15
  * @remarks
16
- * The recall event ID. You can use this ID to call the GetContextStoreRecall operation to view audit details.
16
+ * The recall event ID. You can use this ID to call GetContextStoreRecall to view audit details.
17
17
  *
18
18
  * @example
19
19
  * 0190f1c2-7d3e-7a1b-9c4d-2e5f6a7b8c9d
@@ -21,7 +21,7 @@ export class SearchContextResponseBody extends $dara.Model {
21
21
  recallEventId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The request ID, which can be used to locate the request during troubleshooting.
24
+ * The request ID, which is used to locate the request during troubleshooting.
25
25
  *
26
26
  * @example
27
27
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateContextStoreRequestConfigAudit extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to write item events for dropped candidates during retrieval. Default value: false.
8
+ * Specifies whether to write item events for candidates dropped during recall. Default value: false.
9
9
  *
10
10
  * @example
11
11
  * false
@@ -13,7 +13,7 @@ export class UpdateContextStoreRequestConfigAudit extends $dara.Model {
13
13
  droppedCandidates?: boolean;
14
14
  /**
15
15
  * @remarks
16
- * The recording mode for retrieval queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
16
+ * The recording mode for recall queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
17
17
  *
18
18
  * @example
19
19
  * raw
@@ -52,10 +52,146 @@ export class UpdateContextStoreRequestConfigAudit extends $dara.Model {
52
52
  }
53
53
  }
54
54
 
55
+ export class UpdateContextStoreRequestConfigExtractionPoliciesModel extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. The platform uses internal credentials.
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 UpdateContextStoreRequestConfigExtractionPolicies 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?: UpdateContextStoreRequestConfigExtractionPoliciesModel;
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 ID of the extraction policy. This parameter is optional. If omitted, the default value is default. 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. After default value processing, the ID must be unique within the same library. Modifying the name or instructions does not change this ID.
142
+ *
143
+ * @example
144
+ * preferences
145
+ */
146
+ strategyId?: string;
147
+ static names(): { [key: string]: string } {
148
+ return {
149
+ categories: 'categories',
150
+ customInstructions: 'customInstructions',
151
+ enabled: 'enabled',
152
+ excludeRules: 'excludeRules',
153
+ model: 'model',
154
+ name: 'name',
155
+ preset: 'preset',
156
+ strategyId: 'strategyId',
157
+ };
158
+ }
159
+
160
+ static types(): { [key: string]: any } {
161
+ return {
162
+ categories: { 'type': 'array', 'itemType': 'string' },
163
+ customInstructions: 'string',
164
+ enabled: 'boolean',
165
+ excludeRules: { 'type': 'array', 'itemType': 'string' },
166
+ model: UpdateContextStoreRequestConfigExtractionPoliciesModel,
167
+ name: 'string',
168
+ preset: 'string',
169
+ strategyId: 'string',
170
+ };
171
+ }
172
+
173
+ validate() {
174
+ if(Array.isArray(this.categories)) {
175
+ $dara.Model.validateArray(this.categories);
176
+ }
177
+ if(Array.isArray(this.excludeRules)) {
178
+ $dara.Model.validateArray(this.excludeRules);
179
+ }
180
+ if(this.model && typeof (this.model as any).validate === 'function') {
181
+ (this.model as any).validate();
182
+ }
183
+ super.validate();
184
+ }
185
+
186
+ constructor(map?: { [key: string]: any }) {
187
+ super(map);
188
+ }
189
+ }
190
+
55
191
  export class UpdateContextStoreRequestConfigExtractionPolicyModel extends $dara.Model {
56
192
  /**
57
193
  * @remarks
58
- * The name of the extraction model. Currently, only qwen3.8-flash is supported, which uses internal platform credentials.
194
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. The platform uses internal credentials.
59
195
  *
60
196
  * @example
61
197
  * qwen3.8-flash
@@ -93,7 +229,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
93
229
  categories?: string[];
94
230
  /**
95
231
  * @remarks
96
- * The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8000 characters.
232
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
97
233
  *
98
234
  * @example
99
235
  * Extract only user product preferences
@@ -104,7 +240,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
104
240
  * The list of exclusion rules. Content that matches these rules is not extracted.
105
241
  *
106
242
  * @example
107
- * ["Password", "ID number"]
243
+ * ["Password","ID number"]
108
244
  */
109
245
  excludeRules?: string[];
110
246
  /**
@@ -161,7 +297,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
161
297
  export class UpdateContextStoreRequestConfigScopePolicy extends $dara.Model {
162
298
  /**
163
299
  * @remarks
164
- * The list of scope fields where at least one must be non-empty. Valid values for elements: userId, agentId, appId, and runId.
300
+ * Specifies that at least one of the specified scope fields must be non-empty. Valid values for elements: userId, agentId, appId, and runId.
165
301
  *
166
302
  * @example
167
303
  * ["userId"]
@@ -194,7 +330,7 @@ export class UpdateContextStoreRequestConfigScopePolicy extends $dara.Model {
194
330
  export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $dara.Model {
195
331
  /**
196
332
  * @remarks
197
- * The description of the field. This parameter is required when usage is set to extraction-input.
333
+ * The field description. Required when usage is set to extraction-input.
198
334
  *
199
335
  * @example
200
336
  * Customer tier
@@ -264,7 +400,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
264
400
  export class UpdateContextStoreRequestConfigSourceDatasetFilter extends $dara.Model {
265
401
  /**
266
402
  * @remarks
267
- * The subset of the Pipeline where clause, which is pushed down to SQL.
403
+ * The subset of the pipeline where clause, which is pushed down to SQL.
268
404
  *
269
405
  * @example
270
406
  * appId = \\"crm-service\\"
@@ -352,7 +488,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
352
488
  agentNames?: string[];
353
489
  /**
354
490
  * @remarks
355
- * Specifies whether to exclude degraded trajectories. Default value: false (degraded trajectories are included).
491
+ * Specifies whether to exclude degraded trajectories. Default value: false (includes degraded trajectories).
356
492
  *
357
493
  * @example
358
494
  * false
@@ -368,7 +504,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
368
504
  minStepCount?: number;
369
505
  /**
370
506
  * @remarks
371
- * The native Simple Log Service (SLS) query statement, which is ANDed with the preceding conditions.
507
+ * The native Simple Log Service (SLS) query statement. It is combined with the preceding conditions using AND.
372
508
  *
373
509
  * @example
374
510
  * tool_names:"search_order"
@@ -420,7 +556,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
420
556
  export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends $dara.Model {
421
557
  /**
422
558
  * @remarks
423
- * The JSONPath expression for agentId. Default value: $.agent_name.
559
+ * The JSONPath for agentId. Default value: $.agent_name.
424
560
  *
425
561
  * @example
426
562
  * $.agent_name
@@ -428,7 +564,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
428
564
  agentId?: string;
429
565
  /**
430
566
  * @remarks
431
- * The JSONPath expression for appId. Default value: $.service_names[0].
567
+ * The JSONPath for appId. Default value: $.service_names[0].
432
568
  *
433
569
  * @example
434
570
  * $.service_names[0]
@@ -436,7 +572,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
436
572
  appId?: string;
437
573
  /**
438
574
  * @remarks
439
- * The JSONPath expression for runId. Default value: $.trajectory_id.
575
+ * The JSONPath for runId. Default value: $.trajectory_id.
440
576
  *
441
577
  * @example
442
578
  * $.trajectory_id
@@ -444,7 +580,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
444
580
  runId?: string;
445
581
  /**
446
582
  * @remarks
447
- * The JSONPath expression for userId. By default, this field is not mapped.
583
+ * The JSONPath for userId. By default, this field is not mapped.
448
584
  *
449
585
  * @example
450
586
  * $.trajectory_extensions.user_id
@@ -480,12 +616,12 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
480
616
  export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model {
481
617
  /**
482
618
  * @remarks
483
- * The trajectory filter conditions. Conditions are combined with AND, and elements within a list are combined with OR.
619
+ * The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
484
620
  */
485
621
  filter?: UpdateContextStoreRequestConfigSourceTrajectoryFilter;
486
622
  /**
487
623
  * @remarks
488
- * The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be modified after creation.
624
+ * The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be changed after creation.
489
625
  *
490
626
  * @example
491
627
  * agent-trajectory
@@ -540,7 +676,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model
540
676
  export class UpdateContextStoreRequestConfigSource extends $dara.Model {
541
677
  /**
542
678
  * @remarks
543
- * The AgentSpace where the trace data source is located. Cross-AgentSpace is not supported in the current phase. If specified, it must be equal to the path AgentSpace; otherwise, a 400 parameter error is returned. The AgentSpace cannot be changed after creation.
679
+ * The AgentSpace where the trace data source is located. Cross-AgentSpace operations are not supported in the current phase. If specified, the value must be equal to the path AgentSpace. Otherwise, a 400 parameter error is returned. The AgentSpace cannot be changed after creation.
544
680
  *
545
681
  * @example
546
682
  * my-agent-space
@@ -548,7 +684,7 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
548
684
  agentSpace?: string;
549
685
  /**
550
686
  * @remarks
551
- * The updatable items for the Dataset data source. The datasetName cannot be changed after creation.
687
+ * The updatable items of the Dataset data source. The datasetName cannot be changed after creation.
552
688
  */
553
689
  dataset?: UpdateContextStoreRequestConfigSourceDataset;
554
690
  /**
@@ -561,7 +697,7 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
561
697
  startTime?: string;
562
698
  /**
563
699
  * @remarks
564
- * The updatable items for the trajectory data source. The source.type cannot be changed after creation.
700
+ * The updatable items of the trajectory data source. The source.type cannot be changed after creation.
565
701
  */
566
702
  trajectory?: UpdateContextStoreRequestConfigSourceTrajectory;
567
703
  static names(): { [key: string]: string } {
@@ -600,7 +736,7 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
600
736
  export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
601
737
  /**
602
738
  * @remarks
603
- * The allowed storage actions. Default value: all actions, including ADD, UPDATE, MERGE, and DELETE.
739
+ * The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
604
740
  *
605
741
  * @example
606
742
  * ["ADD","UPDATE","MERGE","DELETE"]
@@ -608,7 +744,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
608
744
  allowedActions?: string[];
609
745
  /**
610
746
  * @remarks
611
- * Specifies whether to enable deduplication in event mode. Default value: true.
747
+ * Specifies whether to deduplicate data in event mode. Default value: true.
612
748
  *
613
749
  * @example
614
750
  * true
@@ -616,7 +752,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
616
752
  dedupe?: boolean;
617
753
  /**
618
754
  * @remarks
619
- * Specifies whether to enable manual edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
755
+ * Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
620
756
  *
621
757
  * @example
622
758
  * true
@@ -632,7 +768,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
632
768
  mergeKey?: string;
633
769
  /**
634
770
  * @remarks
635
- * The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
771
+ * The storage mode. Valid values: event (event append) and upsert (merge and update). Default value: upsert.
636
772
  *
637
773
  * @example
638
774
  * upsert
@@ -648,7 +784,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
648
784
  similarityThreshold?: number;
649
785
  /**
650
786
  * @remarks
651
- * The number of days before a memory expires. A value of 0 indicates that the memory never expires.
787
+ * The number of days before memories expire. A value of 0 indicates that memories do not expire.
652
788
  *
653
789
  * @example
654
790
  * 0
@@ -696,6 +832,11 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
696
832
  * The audit configuration.
697
833
  */
698
834
  audit?: UpdateContextStoreRequestConfigAudit;
835
+ /**
836
+ * @remarks
837
+ * The extraction policies. You can specify 1 to 10 policies. In a request, you can specify either this field or the compatible extractionPolicy field, but not both. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
838
+ */
839
+ extractionPolicies?: UpdateContextStoreRequestConfigExtractionPolicies[];
699
840
  /**
700
841
  * @remarks
701
842
  * The extraction policy for the memory type.
@@ -716,7 +857,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
716
857
  scopePolicy?: UpdateContextStoreRequestConfigScopePolicy;
717
858
  /**
718
859
  * @remarks
719
- * The datasource config, which serves only as the root identity for the data source.
860
+ * The datasource config. This serves only as the root identity for the data source.
720
861
  */
721
862
  source?: UpdateContextStoreRequestConfigSource;
722
863
  /**
@@ -727,6 +868,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
727
868
  static names(): { [key: string]: string } {
728
869
  return {
729
870
  audit: 'audit',
871
+ extractionPolicies: 'extractionPolicies',
730
872
  extractionPolicy: 'extractionPolicy',
731
873
  metadataField: 'metadataField',
732
874
  scopePolicy: 'scopePolicy',
@@ -738,6 +880,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
738
880
  static types(): { [key: string]: any } {
739
881
  return {
740
882
  audit: UpdateContextStoreRequestConfigAudit,
883
+ extractionPolicies: { 'type': 'array', 'itemType': UpdateContextStoreRequestConfigExtractionPolicies },
741
884
  extractionPolicy: UpdateContextStoreRequestConfigExtractionPolicy,
742
885
  metadataField: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
743
886
  scopePolicy: UpdateContextStoreRequestConfigScopePolicy,
@@ -750,6 +893,9 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
750
893
  if(this.audit && typeof (this.audit as any).validate === 'function') {
751
894
  (this.audit as any).validate();
752
895
  }
896
+ if(Array.isArray(this.extractionPolicies)) {
897
+ $dara.Model.validateArray(this.extractionPolicies);
898
+ }
753
899
  if(this.extractionPolicy && typeof (this.extractionPolicy as any).validate === 'function') {
754
900
  (this.extractionPolicy as any).validate();
755
901
  }
@@ -776,20 +922,20 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
776
922
  export class UpdateContextStoreRequest extends $dara.Model {
777
923
  /**
778
924
  * @remarks
779
- * The description of the policy change. A new policy version is written when policy fields in the configuration change.
925
+ * The description of the policy change. A new policy version is created when policy fields in the configuration are changed.
780
926
  *
781
927
  * @example
782
- * Relax similarity threshold
928
+ * Relax the similarity threshold
783
929
  */
784
930
  changeNote?: string;
785
931
  /**
786
932
  * @remarks
787
- * The context library configuration. If specified, the entire configuration is overwritten. If not specified, the original configuration is retained.
933
+ * The context library configuration. If specified, the entire configuration is overwritten. If omitted, the original configuration is retained.
788
934
  */
789
935
  config?: UpdateContextStoreRequestConfig;
790
936
  /**
791
937
  * @remarks
792
- * The context library type. This field is typically immutable after creation and is provided only for exception correction.
938
+ * The context library type. This field generally cannot be modified after creation and is provided only for exception correction.
793
939
  *
794
940
  * @example
795
941
  * experience
@@ -805,7 +951,7 @@ export class UpdateContextStoreRequest extends $dara.Model {
805
951
  description?: string;
806
952
  /**
807
953
  * @remarks
808
- * The running status. Valid values: Active and Paused. For the memory type, pausing stops data source reading and extraction. For the experience Dataset follow type, pausing retains submitted and in-flight checkpoints, and resuming continues processing new records without skipping history from the current time. If you update only the status, you do not need to pass back the source.
954
+ * The running status. Valid values: Active and Paused. For the memory type, pausing stops data source reading and extraction. For the experience dataset follow type, pausing retains submitted and in-flight checkpoints, and resuming continues to process new records without skipping history from the current time. You do not need to pass back the source parameter when only updating the status.
809
955
  *
810
956
  * @example
811
957
  * Active
@@ -813,7 +959,7 @@ export class UpdateContextStoreRequest extends $dara.Model {
813
959
  status?: string;
814
960
  /**
815
961
  * @remarks
816
- * The idempotency token. It is a unique string generated by the client to ensure the idempotence of the update operation.
962
+ * The idempotency token, which is a unique string generated by the client to ensure the idempotence of the update operation.
817
963
  *
818
964
  * @example
819
965
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateContextStoreResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID, which is used to locate the request during troubleshooting.
8
+ * The request ID, which is used to locate the request when troubleshooting issues.
9
9
  *
10
10
  * @example
11
11
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -13,7 +13,7 @@ export class UpdateContextStoreResponseBody extends $dara.Model {
13
13
  requestId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The strategy version number that takes effect after the update for the memory type. If the strategy remains unchanged, the version number is the same as that before the update.
16
+ * The strategy version that takes effect after the update for the memory type. If the strategy remains unchanged, the version is the same as the one before the update.
17
17
  *
18
18
  * @example
19
19
  * 2
@@ -1,5 +1,7 @@
1
1
  export { AuditTaskStateRuntimeError } from './AuditTaskState';
2
2
  export { CreateContextStoreRequestConfigAudit } from './CreateContextStoreRequest';
3
+ export { CreateContextStoreRequestConfigExtractionPoliciesModel } from './CreateContextStoreRequest';
4
+ export { CreateContextStoreRequestConfigExtractionPolicies } from './CreateContextStoreRequest';
3
5
  export { CreateContextStoreRequestConfigExtractionPolicyModel } from './CreateContextStoreRequest';
4
6
  export { CreateContextStoreRequestConfigExtractionPolicy } from './CreateContextStoreRequest';
5
7
  export { CreateContextStoreRequestConfigScopePolicy } from './CreateContextStoreRequest';
@@ -42,6 +44,8 @@ export { ExecuteQueryResponseBodyMetaTruncation } from './ExecuteQueryResponseBo
42
44
  export { ExecuteQueryResponseBodyMeta } from './ExecuteQueryResponseBody';
43
45
  export { GetAgentSpaceResponseBodyMseNamespace } from './GetAgentSpaceResponseBody';
44
46
  export { GetContextStoreResponseBodyConfigAudit } from './GetContextStoreResponseBody';
47
+ export { GetContextStoreResponseBodyConfigExtractionPoliciesModel } from './GetContextStoreResponseBody';
48
+ export { GetContextStoreResponseBodyConfigExtractionPolicies } from './GetContextStoreResponseBody';
45
49
  export { GetContextStoreResponseBodyConfigExtractionPolicyModel } from './GetContextStoreResponseBody';
46
50
  export { GetContextStoreResponseBodyConfigExtractionPolicy } from './GetContextStoreResponseBody';
47
51
  export { GetContextStoreResponseBodyConfigInnerSource } from './GetContextStoreResponseBody';
@@ -131,6 +135,8 @@ export { PreviewPipelineResponseBodyMeta } from './PreviewPipelineResponseBody';
131
135
  export { RunPipelineRequestOutput } from './RunPipelineRequest';
132
136
  export { SearchContextRequestScope } from './SearchContextRequest';
133
137
  export { UpdateContextStoreRequestConfigAudit } from './UpdateContextStoreRequest';
138
+ export { UpdateContextStoreRequestConfigExtractionPoliciesModel } from './UpdateContextStoreRequest';
139
+ export { UpdateContextStoreRequestConfigExtractionPolicies } from './UpdateContextStoreRequest';
134
140
  export { UpdateContextStoreRequestConfigExtractionPolicyModel } from './UpdateContextStoreRequest';
135
141
  export { UpdateContextStoreRequestConfigExtractionPolicy } from './UpdateContextStoreRequest';
136
142
  export { UpdateContextStoreRequestConfigScopePolicy } from './UpdateContextStoreRequest';