@alicloud/agentloop20260520 2.4.0 → 2.4.2

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 (38) 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 +190 -42
  5. package/dist/models/CreateContextStoreRequest.js +106 -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 +211 -66
  11. package/dist/models/GetContextStoreResponseBody.js +111 -1
  12. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  13. package/dist/models/ListContextStoresResponseBody.d.ts +1 -0
  14. package/dist/models/ListContextStoresResponseBody.js +5 -0
  15. package/dist/models/ListContextStoresResponseBody.js.map +1 -1
  16. package/dist/models/SearchContextRequest.d.ts +13 -5
  17. package/dist/models/SearchContextRequest.js +5 -0
  18. package/dist/models/SearchContextRequest.js.map +1 -1
  19. package/dist/models/SearchContextResponseBody.d.ts +3 -3
  20. package/dist/models/UpdateContextStoreRequest.d.ts +177 -31
  21. package/dist/models/UpdateContextStoreRequest.js +106 -1
  22. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  23. package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
  24. package/dist/models/model.d.ts +9 -0
  25. package/dist/models/model.js +77 -59
  26. package/dist/models/model.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/client.ts +8 -4
  29. package/src/models/CreateContextStoreRequest.ts +268 -42
  30. package/src/models/CreateContextStoreResponseBody.ts +2 -2
  31. package/src/models/GetAgentSpaceResponseBody.ts +8 -1
  32. package/src/models/GetContextStoreResponseBody.ts +294 -66
  33. package/src/models/ListContextStoresResponseBody.ts +6 -0
  34. package/src/models/SearchContextRequest.ts +18 -5
  35. package/src/models/SearchContextResponseBody.ts +3 -3
  36. package/src/models/UpdateContextStoreRequest.ts +255 -31
  37. package/src/models/UpdateContextStoreResponseBody.ts +2 -2
  38. package/src/models/model.ts +9 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Specifies whether to write item events for candidates dropped during retrieval. Default value: false.
5
+ * Specifies whether to write item events for dropped recall candidates. Default value: false.
6
6
  *
7
7
  * @example
8
8
  * false
@@ -10,7 +10,7 @@ export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model
10
10
  droppedCandidates?: boolean;
11
11
  /**
12
12
  * @remarks
13
- * The recording mode for retrieval queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
13
+ * The recording mode for recall queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
14
14
  *
15
15
  * @example
16
16
  * raw
@@ -35,10 +35,153 @@ export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model
35
35
  [key: string]: any;
36
36
  });
37
37
  }
38
+ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $dara.Model {
39
+ /**
40
+ * @remarks
41
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
42
+ *
43
+ * @example
44
+ * qwen3.8-flash
45
+ */
46
+ name?: string;
47
+ static names(): {
48
+ [key: string]: string;
49
+ };
50
+ static types(): {
51
+ [key: string]: any;
52
+ };
53
+ validate(): void;
54
+ constructor(map?: {
55
+ [key: string]: any;
56
+ });
57
+ }
58
+ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy extends $dara.Model {
59
+ /**
60
+ * @example
61
+ * ["ADD","UPDATE","MERGE","DELETE"]
62
+ */
63
+ allowedActions?: string[];
64
+ /**
65
+ * @example
66
+ * true
67
+ */
68
+ dedupe?: boolean;
69
+ /**
70
+ * @example
71
+ * true
72
+ */
73
+ humanEditProtection?: boolean;
74
+ /**
75
+ * @example
76
+ * semantic
77
+ */
78
+ mergeKey?: string;
79
+ /**
80
+ * @example
81
+ * upsert
82
+ */
83
+ mode?: string;
84
+ /**
85
+ * @example
86
+ * 0.4
87
+ */
88
+ similarityThreshold?: number;
89
+ /**
90
+ * @example
91
+ * 0
92
+ */
93
+ ttlDays?: number;
94
+ static names(): {
95
+ [key: string]: string;
96
+ };
97
+ static types(): {
98
+ [key: string]: any;
99
+ };
100
+ validate(): void;
101
+ constructor(map?: {
102
+ [key: string]: any;
103
+ });
104
+ }
105
+ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.Model {
106
+ /**
107
+ * @remarks
108
+ * The list of memory categories.
109
+ *
110
+ * @example
111
+ * ["preference","profile"]
112
+ */
113
+ categories?: string[];
114
+ /**
115
+ * @remarks
116
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
117
+ *
118
+ * @example
119
+ * Extract only user product preferences
120
+ */
121
+ customInstructions?: string;
122
+ /**
123
+ * @remarks
124
+ * Specifies whether to apply this policy to new inputs. Default value: true. Disabling the policy does not delete historical memories.
125
+ *
126
+ * @example
127
+ * true
128
+ */
129
+ enabled?: boolean;
130
+ /**
131
+ * @remarks
132
+ * The list of exclusion rules. Content that matches these rules is not extracted.
133
+ *
134
+ * @example
135
+ * ["Password","ID number"]
136
+ */
137
+ excludeRules?: string[];
138
+ /**
139
+ * @remarks
140
+ * The extraction model configuration.
141
+ */
142
+ model?: GetContextStoreResponseBodyConfigExtractionPoliciesModel;
143
+ /**
144
+ * @remarks
145
+ * The display name of the extraction policy.
146
+ *
147
+ * @example
148
+ * User preferences
149
+ */
150
+ name?: string;
151
+ /**
152
+ * @remarks
153
+ * The preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
154
+ *
155
+ * @example
156
+ * fact
157
+ */
158
+ preset?: string;
159
+ storagePolicy?: GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy;
160
+ /**
161
+ * @remarks
162
+ * 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.
163
+ *
164
+ * This parameter is required.
165
+ *
166
+ * @example
167
+ * preferences
168
+ */
169
+ strategyId?: string;
170
+ static names(): {
171
+ [key: string]: string;
172
+ };
173
+ static types(): {
174
+ [key: string]: any;
175
+ };
176
+ validate(): void;
177
+ constructor(map?: {
178
+ [key: string]: any;
179
+ });
180
+ }
38
181
  export declare class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
39
182
  /**
40
183
  * @remarks
41
- * The name of the extraction model. Currently, only qwen3.8-flash is supported, which uses internal platform credentials.
184
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
42
185
  *
43
186
  * @example
44
187
  * qwen3.8-flash
@@ -66,7 +209,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicy extends $
66
209
  categories?: string[];
67
210
  /**
68
211
  * @remarks
69
- * The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8,000 characters.
212
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
70
213
  *
71
214
  * @example
72
215
  * Extract only user product preferences
@@ -151,7 +294,7 @@ export declare class GetContextStoreResponseBodyConfigObservability extends $dar
151
294
  eventsLogstore?: string;
152
295
  /**
153
296
  * @remarks
154
- * The SLS project where both resources are located, which is the project bound to the AgentSpace.
297
+ * The Simple Log Service (SLS) project to which both belong, which is bound to the AgentSpace.
155
298
  *
156
299
  * @example
157
300
  * agentloop-xxx
@@ -171,7 +314,7 @@ export declare class GetContextStoreResponseBodyConfigObservability extends $dar
171
314
  export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model {
172
315
  /**
173
316
  * @remarks
174
- * The AgentSpace where the dataset is located.
317
+ * The AgentSpace to which the dataset belongs.
175
318
  *
176
319
  * @example
177
320
  * my-agent-space
@@ -215,7 +358,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
215
358
  export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
216
359
  /**
217
360
  * @remarks
218
- * At least one of the specified scope fields must be non-empty. Valid element values: userId, agentId, appId, and runId.
361
+ * Specifies that at least one of the scope fields must be non-empty. Valid values: userId, agentId, appId, and runId.
219
362
  *
220
363
  * @example
221
364
  * ["userId"]
@@ -243,7 +386,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
243
386
  description?: string;
244
387
  /**
245
388
  * @remarks
246
- * Specifies whether the field is sensitive.
389
+ * Specifies whether the field is a sensitive field.
247
390
  *
248
391
  * @example
249
392
  * false
@@ -259,7 +402,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
259
402
  sourceField?: string;
260
403
  /**
261
404
  * @remarks
262
- * The target path for writing data, such as metadata.customerTier.
405
+ * The target path for writing, such as metadata.customerTier.
263
406
  *
264
407
  * @example
265
408
  * metadata.customerTier
@@ -267,9 +410,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
267
410
  target?: string;
268
411
  /**
269
412
  * @remarks
270
- * The usage of the field. Valid values:
271
- * - extraction-input: Participates in extraction.
272
- * - ignore: Ignored.
413
+ * The usage of the field. Valid values: extraction-input (participates in extraction) and ignore (ignored).
273
414
  *
274
415
  * @example
275
416
  * extraction-input
@@ -289,7 +430,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
289
430
  export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
290
431
  /**
291
432
  * @remarks
292
- * The subset of the Pipeline where clause, which is pushed down to SQL.
433
+ * The subset of the pipeline where clause, which is pushed down to SQL.
293
434
  *
294
435
  * @example
295
436
  * appId = \\"crm-service\\"
@@ -309,9 +450,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extend
309
450
  export declare class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
310
451
  /**
311
452
  * @remarks
312
- * The consumption mode. Valid values:
313
- * - follow: Consumes data incrementally based on __dataset_seq.
314
- * - fixed: Consumes the specified ACTIVE version in full at once.
453
+ * The consumption mode. Valid values: follow (incremental consumption based on __dataset_seq) and fixed (full consumption of the specified ACTIVE version at once).
315
454
  *
316
455
  * @example
317
456
  * follow
@@ -327,7 +466,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy
327
466
  startSeq?: number;
328
467
  /**
329
468
  * @remarks
330
- * The Dataset version specified for the fixed mode.
469
+ * The dataset version specified for the fixed mode.
331
470
  *
332
471
  * @example
333
472
  * v3
@@ -352,7 +491,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
352
491
  customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
353
492
  /**
354
493
  * @remarks
355
- * The name of the Dataset in the same AgentSpace. This parameter cannot be modified after creation.
494
+ * The name of the dataset in the same AgentSpace. This parameter cannot be modified after creation.
356
495
  *
357
496
  * @example
358
497
  * trajectory-with-crm-profile
@@ -360,7 +499,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
360
499
  datasetName?: string;
361
500
  /**
362
501
  * @remarks
363
- * The row filter conditions.
502
+ * The row filter condition.
364
503
  */
365
504
  filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
366
505
  /**
@@ -373,7 +512,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
373
512
  pollIntervalSeconds?: number;
374
513
  /**
375
514
  * @remarks
376
- * The row schema contract of the Dataset. The value is fixed to MemorySourceV1 in the current phase.
515
+ * The row schema contract of the dataset. In the current phase, this parameter is fixed to MemorySourceV1.
377
516
  *
378
517
  * @example
379
518
  * MemorySourceV1
@@ -381,7 +520,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
381
520
  schemaContract?: string;
382
521
  /**
383
522
  * @remarks
384
- * The version consumption policy of the Dataset.
523
+ * The version consumption policy of the dataset.
385
524
  */
386
525
  versionPolicy?: GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy;
387
526
  static names(): {
@@ -398,7 +537,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
398
537
  export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $dara.Model {
399
538
  /**
400
539
  * @remarks
401
- * The list of agent names. An explicitly empty list returns a 400 error.
540
+ * The list of agent names. An explicit empty list returns a 400 error.
402
541
  *
403
542
  * @example
404
543
  * ["sales-copilot"]
@@ -414,7 +553,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
414
553
  excludeDegraded?: boolean;
415
554
  /**
416
555
  * @remarks
417
- * The minimum number of steps. The value must be greater than or equal to 0.
556
+ * The minimum step count, which must be greater than or equal to 0.
418
557
  *
419
558
  * @example
420
559
  * 2
@@ -422,7 +561,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
422
561
  minStepCount?: number;
423
562
  /**
424
563
  * @remarks
425
- * The native Simple Log Service (SLS) query statement, which is combined with the preceding conditions using AND.
564
+ * The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using the AND operator.
426
565
  *
427
566
  * @example
428
567
  * tool_names:"search_order"
@@ -430,7 +569,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
430
569
  query?: string;
431
570
  /**
432
571
  * @remarks
433
- * The list of service names. A single trailing asterisk (*) is supported. An explicitly empty list returns a 400 error.
572
+ * The list of service names. A single trailing asterisk (*) is supported. An explicit empty list returns a 400 error.
434
573
  *
435
574
  * @example
436
575
  * ["crm-service","app-*"]
@@ -494,7 +633,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
494
633
  export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
495
634
  /**
496
635
  * @remarks
497
- * The trajectory filter conditions. Conditions are combined with AND, while items within a list are combined with OR.
636
+ * The trajectory filter condition. Multiple conditions are combined with AND, and conditions within a list are combined with OR.
498
637
  */
499
638
  filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
500
639
  /**
@@ -542,7 +681,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $
542
681
  export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.Model {
543
682
  /**
544
683
  * @remarks
545
- * The continuous consumption mode, which is fixed to follow.
684
+ * The continuous consumption mode. The value is fixed to follow.
546
685
  *
547
686
  * @example
548
687
  * follow
@@ -550,7 +689,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
550
689
  mode?: string;
551
690
  /**
552
691
  * @remarks
553
- * The initial consumed append sequence, which is a decimal string of a non-negative int64. The default is 0. It uses __dataset_seq. Business timestamps are not used as consumption checkpoints.
692
+ * 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.
554
693
  *
555
694
  * @example
556
695
  * 0
@@ -570,7 +709,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
570
709
  export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model {
571
710
  /**
572
711
  * @remarks
573
- * The AgentSpace where the trace data source resides. It must be the same as the AgentSpace specified during creation.
712
+ * The AgentSpace to which the trace data source belongs, which is the same as the AgentSpace to which it belonged when it was created.
574
713
  *
575
714
  * @example
576
715
  * my-agent-space
@@ -588,12 +727,12 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
588
727
  };
589
728
  /**
590
729
  * @remarks
591
- * The Dataset datasource config for the memory type. This parameter is required when the type is memory and source.type is dataset.
730
+ * The data source configuration for the memory type dataset. This parameter is required when the type is memory and source.type is dataset.
592
731
  */
593
732
  dataset?: GetContextStoreResponseBodyConfigSourceDataset;
594
733
  /**
595
734
  * @remarks
596
- * The name of the source Dataset for the experience type in the current AgentSpace.
735
+ * The name of the source dataset for the experience type in the current AgentSpace.
597
736
  *
598
737
  * @example
599
738
  * reviewed_trajectories
@@ -601,7 +740,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
601
740
  datasetName?: string;
602
741
  /**
603
742
  * @remarks
604
- * The input format of the Dataset. For Datasets from the experience library, the value is atif.
743
+ * The input format of the dataset. For the experience base dataset, the source is atif.
605
744
  *
606
745
  * @example
607
746
  * atif
@@ -609,7 +748,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
609
748
  format?: string;
610
749
  /**
611
750
  * @remarks
612
- * The maximum number of records to read from the Dataset at a time. Valid values: 1 to 1000.
751
+ * The maximum number of records to read from the dataset at a time. Valid values: 1 to 1000.
613
752
  *
614
753
  * @example
615
754
  * 1000
@@ -627,12 +766,12 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
627
766
  startTime?: string;
628
767
  /**
629
768
  * @remarks
630
- * The trajectory datasource config for the memory type. This parameter is required when the type is memory and source.type is trajectory.
769
+ * The data source configuration for the memory type trajectory. This parameter is required when the type is memory and source.type is trajectory.
631
770
  */
632
771
  trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
633
772
  /**
634
773
  * @remarks
635
- * The source type, which can be trajectory or dataset. For experience, if not specified, it inherits the trajectory configuration. For Dataset, it uses the datasetName, format, and binding at this level. The default is manual. If versionPolicy.mode is follow, it continuously processes and automatically applies changes to this experience store. For memory, if not specified, it indicates manual, meaning only AddContexts writes data. Otherwise, it uses the sub-configuration of the trajectory or dataset with the same name. This property cannot be modified after creation.
774
+ * 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.
636
775
  *
637
776
  * @example
638
777
  * dataset
@@ -640,7 +779,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
640
779
  type?: string;
641
780
  /**
642
781
  * @remarks
643
- * The continuous consumption configuration for the native experience store Dataset. The default is manual. The follow mode only allows binding.selection.mode=all and consumes by append sequence. This cannot be changed after creation.
782
+ * 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.
644
783
  */
645
784
  versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
646
785
  static names(): {
@@ -657,29 +796,29 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
657
796
  export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
658
797
  /**
659
798
  * @remarks
660
- * The processing progress. For memory trajectory, it includes processTimeNs and watermarkMs. For dataset, it includes seq. For manual, it is empty. For experience Dataset follow mode, seq uses an exact int64 decimal string.
799
+ * 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.
661
800
  */
662
801
  checkpoint?: {
663
802
  [key: string]: any;
664
803
  };
665
804
  /**
666
805
  * @remarks
667
- * The current scheduled sequence window for experience Dataset follow mode, including after, until, and runId. All sequences are decimal strings. Failures do not advance the submitted checkpoint.
806
+ * 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.
668
807
  */
669
808
  currentWindow?: {
670
809
  [key: string]: string;
671
810
  };
672
811
  /**
673
812
  * @remarks
674
- * The desensitized latest error message. It is empty when the status is normal.
813
+ * The last desensitized error message. This field is empty when the status is normal.
675
814
  *
676
815
  * @example
677
- * Timeout reading the data source
816
+ * Data source read timeout
678
817
  */
679
818
  lastError?: string;
680
819
  /**
681
820
  * @remarks
682
- * The run ID of the last successful automatic application to the native experience store. This is for audit purposes only.
821
+ * The run ID of the last successful automatic application to the native experience library. This field is for audit purposes only.
683
822
  *
684
823
  * @example
685
824
  * opr-example
@@ -695,7 +834,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
695
834
  lastWindowAt?: string;
696
835
  /**
697
836
  * @remarks
698
- * The consecutive retry count.
837
+ * The number of consecutive retries.
699
838
  *
700
839
  * @example
701
840
  * 0
@@ -703,7 +842,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
703
842
  retryCount?: number;
704
843
  /**
705
844
  * @remarks
706
- * The data source status. Valid values: Validating, Ready, Running, Retrying, Paused, SourceSchemaChanged, and Failed.
845
+ * The state of the data source. Valid values: Validating, Ready, Running, Retrying, Paused, SourceSchemaChanged, and Failed.
707
846
  *
708
847
  * @example
709
848
  * Running
@@ -723,7 +862,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
723
862
  export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
724
863
  /**
725
864
  * @remarks
726
- * The allowed storage actions. The default is all: ADD, UPDATE, MERGE, and DELETE.
865
+ * The allowed storage actions. Default value: all actions. Valid values: ADD, UPDATE, MERGE, and DELETE.
727
866
  *
728
867
  * @example
729
868
  * ["ADD","UPDATE","MERGE","DELETE"]
@@ -731,7 +870,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
731
870
  allowedActions?: string[];
732
871
  /**
733
872
  * @remarks
734
- * Specifies whether to deduplicate in event mode. The default is true.
873
+ * Specifies whether to enable deduplication in event mode. Default value: true.
735
874
  *
736
875
  * @example
737
876
  * true
@@ -739,7 +878,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
739
878
  dedupe?: boolean;
740
879
  /**
741
880
  * @remarks
742
- * The human edit protection. The default is true. When enabled, automatic extraction does not overwrite manually modified memories.
881
+ * Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
743
882
  *
744
883
  * @example
745
884
  * true
@@ -747,7 +886,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
747
886
  humanEditProtection?: boolean;
748
887
  /**
749
888
  * @remarks
750
- * The upsert merge key. Valid values: factKey, semantic, and both. The default is semantic.
889
+ * The merge key for upsert operations. Default value: semantic. Valid values: factKey, semantic, and both.
751
890
  *
752
891
  * @example
753
892
  * semantic
@@ -755,7 +894,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
755
894
  mergeKey?: string;
756
895
  /**
757
896
  * @remarks
758
- * The storage mode. Valid values: event for event appending, and upsert for merge updating. The default is upsert.
897
+ * The storage mode. Default value: upsert. Valid values: event (event append) and upsert (merge update).
759
898
  *
760
899
  * @example
761
900
  * upsert
@@ -763,7 +902,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
763
902
  mode?: string;
764
903
  /**
765
904
  * @remarks
766
- * The semantic merge similarity threshold. Valid values: 0 to 1. The default is 0.4.
905
+ * The similarity threshold for semantic merging. Valid values: 0 to 1. Default value: 0.4.
767
906
  *
768
907
  * @example
769
908
  * 0.4
@@ -771,7 +910,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
771
910
  similarityThreshold?: number;
772
911
  /**
773
912
  * @remarks
774
- * The memory expiration days. A value of 0 indicates no expiration.
913
+ * The number of days before memories expire. A value of 0 indicates that memories do not expire.
775
914
  *
776
915
  * @example
777
916
  * 0
@@ -794,6 +933,11 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
794
933
  * The audit configuration.
795
934
  */
796
935
  audit?: GetContextStoreResponseBodyConfigAudit;
936
+ /**
937
+ * @remarks
938
+ * The extraction policies. You can configure 1 to 10 policies. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
939
+ */
940
+ extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
797
941
  /**
798
942
  * @remarks
799
943
  * The extraction policy for the memory type.
@@ -801,12 +945,12 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
801
945
  extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
802
946
  /**
803
947
  * @remarks
804
- * The system-assigned coordinates of the event Logstore for the memory type, located in the Simple Log Service (SLS) project bound to the AgentSpace.
948
+ * 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.
805
949
  */
806
950
  innerSource?: GetContextStoreResponseBodyConfigInnerSource;
807
951
  /**
808
952
  * @remarks
809
- * The metadata field mapping, where the key is the business field and the value is the storage field.
953
+ * The metadata field mapping. The key is the business field and the value is the storage field.
810
954
  *
811
955
  * @example
812
956
  * {"userId":"user_id","sessionId":"session_id"}
@@ -824,7 +968,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
824
968
  miningInterval?: string;
825
969
  /**
826
970
  * @remarks
827
- * The name of the internal running task associated with the server. Continuous libraries use this for read-only viewing of consumption records, while manual libraries can run limited mining. This is not inferred by the client and cannot replace the ingestion and retrieval criteria of the native experience library.
971
+ * 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.
828
972
  *
829
973
  * @example
830
974
  * experience-review-library
@@ -832,12 +976,12 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
832
976
  miningTaskName?: string;
833
977
  /**
834
978
  * @remarks
835
- * The coordinates of observability resources for the memory type.
979
+ * The observability resource coordinates (memory type).
836
980
  */
837
981
  observability?: GetContextStoreResponseBodyConfigObservability;
838
982
  /**
839
983
  * @remarks
840
- * The location of the memory output dataset for the memory type.
984
+ * The location of the memory output dataset (memory type).
841
985
  */
842
986
  outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
843
987
  /**
@@ -847,7 +991,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
847
991
  scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
848
992
  /**
849
993
  * @remarks
850
- * The list of service names, which are used together with source.agentSpace to locate the trace data source. This parameter cannot be modified in the current phase.
994
+ * 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.
851
995
  *
852
996
  * @example
853
997
  * ["order-service","payment-service"]
@@ -855,14 +999,15 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
855
999
  serviceNames?: string[];
856
1000
  /**
857
1001
  * @remarks
858
- * The datasource config provided by the user, which serves only as the root identity for the data source.
1002
+ * The data source configuration provided by the user, which serves only as the root identifier of the data source.
859
1003
  */
860
1004
  source?: GetContextStoreResponseBodyConfigSource;
861
1005
  /**
862
1006
  * @remarks
863
- * The data source running status for memory type and experience Dataset follow mode. The experience store submits a checkpoint only after successful publishing and automatic application. Pausing and restarting retain the checkpoint.
1007
+ * 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.
864
1008
  */
865
1009
  sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
1010
+ storageModes?: string[];
866
1011
  /**
867
1012
  * @remarks
868
1013
  * The storage policy for the memory type.
@@ -870,7 +1015,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
870
1015
  storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
871
1016
  /**
872
1017
  * @remarks
873
- * The current effective strategy version number for the memory type.
1018
+ * The currently effective strategy version number for the memory type.
874
1019
  *
875
1020
  * @example
876
1021
  * 1
@@ -903,7 +1048,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
903
1048
  config?: GetContextStoreResponseBodyConfig;
904
1049
  /**
905
1050
  * @remarks
906
- * The context store name.
1051
+ * The name of the context store.
907
1052
  *
908
1053
  * @example
909
1054
  * my-context-store
@@ -911,7 +1056,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
911
1056
  contextStoreName?: string;
912
1057
  /**
913
1058
  * @remarks
914
- * The context store type, such as experience for experience store and memory for memory store.
1059
+ * The type of the context store, such as experience or memory.
915
1060
  *
916
1061
  * @example
917
1062
  * experience
@@ -919,7 +1064,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
919
1064
  contextType?: string;
920
1065
  /**
921
1066
  * @remarks
922
- * The context store creation time in ISO 8601 UTC format.
1067
+ * The time when the context store was created, in ISO 8601 UTC format.
923
1068
  *
924
1069
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
925
1070
  *
@@ -929,7 +1074,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
929
1074
  createTime?: string;
930
1075
  /**
931
1076
  * @remarks
932
- * The context store description.
1077
+ * The description of the context store.
933
1078
  *
934
1079
  * @example
935
1080
  * My context store
@@ -937,7 +1082,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
937
1082
  description?: string;
938
1083
  /**
939
1084
  * @remarks
940
- * The region ID of the context store.
1085
+ * The ID of the region where the context store is located.
941
1086
  *
942
1087
  * @example
943
1088
  * cn-hangzhou
@@ -953,7 +1098,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
953
1098
  requestId?: string;
954
1099
  /**
955
1100
  * @remarks
956
- * The context store status. Valid values: ACTIVE, INITIALIZING, and FAILED.
1101
+ * The status of the context store, such as ACTIVE, INITIALIZING, or FAILED.
957
1102
  *
958
1103
  * @example
959
1104
  * ACTIVE
@@ -961,7 +1106,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
961
1106
  status?: string;
962
1107
  /**
963
1108
  * @remarks
964
- * The last update time of the context store in ISO 8601 UTC format.
1109
+ * The time when the context store was last updated, in ISO 8601 UTC format.
965
1110
  *
966
1111
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
967
1112
  *