@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
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to write item events for candidates dropped during retrieval. Default value: false.
8
+ * Specifies whether to write item events for dropped recall candidates. Default value: false.
9
9
  *
10
10
  * @example
11
11
  * false
@@ -13,7 +13,7 @@ export class GetContextStoreResponseBodyConfigAudit 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,148 @@ export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
52
52
  }
53
53
  }
54
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
+
55
193
  export class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
56
194
  /**
57
195
  * @remarks
58
- * The name of the extraction model. Currently, only qwen3.8-flash is supported, which uses internal platform credentials.
196
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
59
197
  *
60
198
  * @example
61
199
  * qwen3.8-flash
@@ -93,7 +231,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicy extends $dara.Mod
93
231
  categories?: string[];
94
232
  /**
95
233
  * @remarks
96
- * The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8,000 characters.
234
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
97
235
  *
98
236
  * @example
99
237
  * Extract only user product preferences
@@ -217,7 +355,7 @@ export class GetContextStoreResponseBodyConfigObservability extends $dara.Model
217
355
  eventsLogstore?: string;
218
356
  /**
219
357
  * @remarks
220
- * The SLS project where both resources are located, which is the project bound to the AgentSpace.
358
+ * The Simple Log Service (SLS) project to which both belong, which is bound to the AgentSpace.
221
359
  *
222
360
  * @example
223
361
  * agentloop-xxx
@@ -251,7 +389,7 @@ export class GetContextStoreResponseBodyConfigObservability extends $dara.Model
251
389
  export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model {
252
390
  /**
253
391
  * @remarks
254
- * The AgentSpace where the dataset is located.
392
+ * The AgentSpace to which the dataset belongs.
255
393
  *
256
394
  * @example
257
395
  * my-agent-space
@@ -311,7 +449,7 @@ export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model
311
449
  export class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
312
450
  /**
313
451
  * @remarks
314
- * At least one of the specified scope fields must be non-empty. Valid element values: userId, agentId, appId, and runId.
452
+ * Specifies that at least one of the scope fields must be non-empty. Valid values: userId, agentId, appId, and runId.
315
453
  *
316
454
  * @example
317
455
  * ["userId"]
@@ -352,7 +490,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
352
490
  description?: string;
353
491
  /**
354
492
  * @remarks
355
- * Specifies whether the field is sensitive.
493
+ * Specifies whether the field is a sensitive field.
356
494
  *
357
495
  * @example
358
496
  * false
@@ -368,7 +506,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
368
506
  sourceField?: string;
369
507
  /**
370
508
  * @remarks
371
- * The target path for writing data, such as metadata.customerTier.
509
+ * The target path for writing, such as metadata.customerTier.
372
510
  *
373
511
  * @example
374
512
  * metadata.customerTier
@@ -376,9 +514,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
376
514
  target?: string;
377
515
  /**
378
516
  * @remarks
379
- * The usage of the field. Valid values:
380
- * - extraction-input: Participates in extraction.
381
- * - ignore: Ignored.
517
+ * The usage of the field. Valid values: extraction-input (participates in extraction) and ignore (ignored).
382
518
  *
383
519
  * @example
384
520
  * extraction-input
@@ -416,7 +552,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
416
552
  export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
417
553
  /**
418
554
  * @remarks
419
- * The subset of the Pipeline where clause, which is pushed down to SQL.
555
+ * The subset of the pipeline where clause, which is pushed down to SQL.
420
556
  *
421
557
  * @example
422
558
  * appId = \\"crm-service\\"
@@ -446,9 +582,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.
446
582
  export class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
447
583
  /**
448
584
  * @remarks
449
- * The consumption mode. Valid values:
450
- * - follow: Consumes data incrementally based on __dataset_seq.
451
- * - fixed: Consumes the specified ACTIVE version in full at once.
585
+ * The consumption mode. Valid values: follow (incremental consumption based on __dataset_seq) and fixed (full consumption of the specified ACTIVE version at once).
452
586
  *
453
587
  * @example
454
588
  * follow
@@ -464,7 +598,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends
464
598
  startSeq?: number;
465
599
  /**
466
600
  * @remarks
467
- * The Dataset version specified for the fixed mode.
601
+ * The dataset version specified for the fixed mode.
468
602
  *
469
603
  * @example
470
604
  * v3
@@ -503,7 +637,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
503
637
  customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
504
638
  /**
505
639
  * @remarks
506
- * The name of the Dataset in the same AgentSpace. This parameter cannot be modified after creation.
640
+ * The name of the dataset in the same AgentSpace. This parameter cannot be modified after creation.
507
641
  *
508
642
  * @example
509
643
  * trajectory-with-crm-profile
@@ -511,7 +645,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
511
645
  datasetName?: string;
512
646
  /**
513
647
  * @remarks
514
- * The row filter conditions.
648
+ * The row filter condition.
515
649
  */
516
650
  filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
517
651
  /**
@@ -524,7 +658,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
524
658
  pollIntervalSeconds?: number;
525
659
  /**
526
660
  * @remarks
527
- * The row schema contract of the Dataset. The value is fixed to MemorySourceV1 in the current phase.
661
+ * The row schema contract of the dataset. In the current phase, this parameter is fixed to MemorySourceV1.
528
662
  *
529
663
  * @example
530
664
  * MemorySourceV1
@@ -532,7 +666,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
532
666
  schemaContract?: string;
533
667
  /**
534
668
  * @remarks
535
- * The version consumption policy of the Dataset.
669
+ * The version consumption policy of the dataset.
536
670
  */
537
671
  versionPolicy?: GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy;
538
672
  static names(): { [key: string]: string } {
@@ -578,7 +712,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
578
712
  export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $dara.Model {
579
713
  /**
580
714
  * @remarks
581
- * The list of agent names. An explicitly empty list returns a 400 error.
715
+ * The list of agent names. An explicit empty list returns a 400 error.
582
716
  *
583
717
  * @example
584
718
  * ["sales-copilot"]
@@ -594,7 +728,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
594
728
  excludeDegraded?: boolean;
595
729
  /**
596
730
  * @remarks
597
- * The minimum number of steps. The value must be greater than or equal to 0.
731
+ * The minimum step count, which must be greater than or equal to 0.
598
732
  *
599
733
  * @example
600
734
  * 2
@@ -602,7 +736,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
602
736
  minStepCount?: number;
603
737
  /**
604
738
  * @remarks
605
- * The native Simple Log Service (SLS) query statement, which is combined with the preceding conditions using AND.
739
+ * The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using the AND operator.
606
740
  *
607
741
  * @example
608
742
  * tool_names:"search_order"
@@ -610,7 +744,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
610
744
  query?: string;
611
745
  /**
612
746
  * @remarks
613
- * The list of service names. A single trailing asterisk (*) is supported. An explicitly empty list returns a 400 error.
747
+ * The list of service names. A single trailing asterisk (*) is supported. An explicit empty list returns a 400 error.
614
748
  *
615
749
  * @example
616
750
  * ["crm-service","app-*"]
@@ -714,7 +848,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
714
848
  export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
715
849
  /**
716
850
  * @remarks
717
- * The trajectory filter conditions. Conditions are combined with AND, while items within a list are combined with OR.
851
+ * The trajectory filter condition. Multiple conditions are combined with AND, and conditions within a list are combined with OR.
718
852
  */
719
853
  filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
720
854
  /**
@@ -786,7 +920,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
786
920
  export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.Model {
787
921
  /**
788
922
  * @remarks
789
- * The continuous consumption mode, which is fixed to follow.
923
+ * The continuous consumption mode. The value is fixed to follow.
790
924
  *
791
925
  * @example
792
926
  * follow
@@ -794,7 +928,7 @@ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.
794
928
  mode?: string;
795
929
  /**
796
930
  * @remarks
797
- * 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.
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.
798
932
  *
799
933
  * @example
800
934
  * 0
@@ -826,7 +960,7 @@ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.
826
960
  export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
827
961
  /**
828
962
  * @remarks
829
- * The AgentSpace where the trace data source resides. It must be 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.
830
964
  *
831
965
  * @example
832
966
  * my-agent-space
@@ -842,12 +976,12 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
842
976
  binding?: { [key: string]: any };
843
977
  /**
844
978
  * @remarks
845
- * The Dataset datasource config for the memory type. This parameter is required when the type is memory and source.type is dataset.
979
+ * The data source configuration for the memory type dataset. This parameter is required when the type is memory and source.type is dataset.
846
980
  */
847
981
  dataset?: GetContextStoreResponseBodyConfigSourceDataset;
848
982
  /**
849
983
  * @remarks
850
- * The name of the source Dataset for the experience type in the current AgentSpace.
984
+ * The name of the source dataset for the experience type in the current AgentSpace.
851
985
  *
852
986
  * @example
853
987
  * reviewed_trajectories
@@ -855,7 +989,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
855
989
  datasetName?: string;
856
990
  /**
857
991
  * @remarks
858
- * The input format of the Dataset. For Datasets from the experience library, the value is atif.
992
+ * The input format of the dataset. For the experience base dataset, the source is atif.
859
993
  *
860
994
  * @example
861
995
  * atif
@@ -863,7 +997,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
863
997
  format?: string;
864
998
  /**
865
999
  * @remarks
866
- * The maximum number of records to read from the Dataset at a time. Valid values: 1 to 1000.
1000
+ * The maximum number of records to read from the dataset at a time. Valid values: 1 to 1000.
867
1001
  *
868
1002
  * @example
869
1003
  * 1000
@@ -881,12 +1015,12 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
881
1015
  startTime?: string;
882
1016
  /**
883
1017
  * @remarks
884
- * The trajectory datasource config for the memory type. This parameter is required when the type is memory and source.type is trajectory.
1018
+ * The data source configuration for the memory type trajectory. This parameter is required when the type is memory and source.type is trajectory.
885
1019
  */
886
1020
  trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
887
1021
  /**
888
1022
  * @remarks
889
- * 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.
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.
890
1024
  *
891
1025
  * @example
892
1026
  * dataset
@@ -894,7 +1028,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
894
1028
  type?: string;
895
1029
  /**
896
1030
  * @remarks
897
- * 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.
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.
898
1032
  */
899
1033
  versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
900
1034
  static names(): { [key: string]: string } {
@@ -951,25 +1085,25 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
951
1085
  export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
952
1086
  /**
953
1087
  * @remarks
954
- * 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.
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.
955
1089
  */
956
1090
  checkpoint?: { [key: string]: any };
957
1091
  /**
958
1092
  * @remarks
959
- * 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.
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.
960
1094
  */
961
1095
  currentWindow?: { [key: string]: string };
962
1096
  /**
963
1097
  * @remarks
964
- * The desensitized latest error message. It is empty when the status is normal.
1098
+ * The last desensitized error message. This field is empty when the status is normal.
965
1099
  *
966
1100
  * @example
967
- * Timeout reading the data source
1101
+ * Data source read timeout
968
1102
  */
969
1103
  lastError?: string;
970
1104
  /**
971
1105
  * @remarks
972
- * The run ID of the last successful automatic application to the native experience store. This is for audit purposes only.
1106
+ * The run ID of the last successful automatic application to the native experience library. This field is for audit purposes only.
973
1107
  *
974
1108
  * @example
975
1109
  * opr-example
@@ -985,7 +1119,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
985
1119
  lastWindowAt?: string;
986
1120
  /**
987
1121
  * @remarks
988
- * The consecutive retry count.
1122
+ * The number of consecutive retries.
989
1123
  *
990
1124
  * @example
991
1125
  * 0
@@ -993,7 +1127,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
993
1127
  retryCount?: number;
994
1128
  /**
995
1129
  * @remarks
996
- * The data source status. Valid values: Validating, Ready, Running, Retrying, Paused, SourceSchemaChanged, and Failed.
1130
+ * The state of the data source. Valid values: Validating, Ready, Running, Retrying, Paused, SourceSchemaChanged, and Failed.
997
1131
  *
998
1132
  * @example
999
1133
  * Running
@@ -1041,7 +1175,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
1041
1175
  export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
1042
1176
  /**
1043
1177
  * @remarks
1044
- * The allowed storage actions. The default is all: ADD, UPDATE, MERGE, and DELETE.
1178
+ * The allowed storage actions. Default value: all actions. Valid values: ADD, UPDATE, MERGE, and DELETE.
1045
1179
  *
1046
1180
  * @example
1047
1181
  * ["ADD","UPDATE","MERGE","DELETE"]
@@ -1049,7 +1183,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
1049
1183
  allowedActions?: string[];
1050
1184
  /**
1051
1185
  * @remarks
1052
- * Specifies whether to deduplicate in event mode. The default is true.
1186
+ * Specifies whether to enable deduplication in event mode. Default value: true.
1053
1187
  *
1054
1188
  * @example
1055
1189
  * true
@@ -1057,7 +1191,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
1057
1191
  dedupe?: boolean;
1058
1192
  /**
1059
1193
  * @remarks
1060
- * The human edit protection. The default is true. When enabled, automatic extraction does not overwrite manually modified memories.
1194
+ * Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
1061
1195
  *
1062
1196
  * @example
1063
1197
  * true
@@ -1065,7 +1199,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
1065
1199
  humanEditProtection?: boolean;
1066
1200
  /**
1067
1201
  * @remarks
1068
- * The upsert merge key. Valid values: factKey, semantic, and both. The default is semantic.
1202
+ * The merge key for upsert operations. Default value: semantic. Valid values: factKey, semantic, and both.
1069
1203
  *
1070
1204
  * @example
1071
1205
  * semantic
@@ -1073,7 +1207,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
1073
1207
  mergeKey?: string;
1074
1208
  /**
1075
1209
  * @remarks
1076
- * The storage mode. Valid values: event for event appending, and upsert for merge updating. The default is upsert.
1210
+ * The storage mode. Default value: upsert. Valid values: event (event append) and upsert (merge update).
1077
1211
  *
1078
1212
  * @example
1079
1213
  * upsert
@@ -1081,7 +1215,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
1081
1215
  mode?: string;
1082
1216
  /**
1083
1217
  * @remarks
1084
- * The semantic merge similarity threshold. Valid values: 0 to 1. The default is 0.4.
1218
+ * The similarity threshold for semantic merging. Valid values: 0 to 1. Default value: 0.4.
1085
1219
  *
1086
1220
  * @example
1087
1221
  * 0.4
@@ -1089,7 +1223,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
1089
1223
  similarityThreshold?: number;
1090
1224
  /**
1091
1225
  * @remarks
1092
- * The memory expiration days. A value of 0 indicates no expiration.
1226
+ * The number of days before memories expire. A value of 0 indicates that memories do not expire.
1093
1227
  *
1094
1228
  * @example
1095
1229
  * 0
@@ -1137,6 +1271,11 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1137
1271
  * The audit configuration.
1138
1272
  */
1139
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[];
1140
1279
  /**
1141
1280
  * @remarks
1142
1281
  * The extraction policy for the memory type.
@@ -1144,12 +1283,12 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1144
1283
  extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
1145
1284
  /**
1146
1285
  * @remarks
1147
- * The system-assigned coordinates of the event Logstore for the memory type, located in the Simple Log Service (SLS) project bound to the AgentSpace.
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.
1148
1287
  */
1149
1288
  innerSource?: GetContextStoreResponseBodyConfigInnerSource;
1150
1289
  /**
1151
1290
  * @remarks
1152
- * The metadata field mapping, where the key is the business field and the value is the storage field.
1291
+ * The metadata field mapping. The key is the business field and the value is the storage field.
1153
1292
  *
1154
1293
  * @example
1155
1294
  * {"userId":"user_id","sessionId":"session_id"}
@@ -1165,7 +1304,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1165
1304
  miningInterval?: string;
1166
1305
  /**
1167
1306
  * @remarks
1168
- * 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.
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.
1169
1308
  *
1170
1309
  * @example
1171
1310
  * experience-review-library
@@ -1173,12 +1312,12 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1173
1312
  miningTaskName?: string;
1174
1313
  /**
1175
1314
  * @remarks
1176
- * The coordinates of observability resources for the memory type.
1315
+ * The observability resource coordinates (memory type).
1177
1316
  */
1178
1317
  observability?: GetContextStoreResponseBodyConfigObservability;
1179
1318
  /**
1180
1319
  * @remarks
1181
- * The location of the memory output dataset for the memory type.
1320
+ * The location of the memory output dataset (memory type).
1182
1321
  */
1183
1322
  outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
1184
1323
  /**
@@ -1188,7 +1327,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1188
1327
  scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
1189
1328
  /**
1190
1329
  * @remarks
1191
- * 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.
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.
1192
1331
  *
1193
1332
  * @example
1194
1333
  * ["order-service","payment-service"]
@@ -1196,12 +1335,12 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1196
1335
  serviceNames?: string[];
1197
1336
  /**
1198
1337
  * @remarks
1199
- * The datasource config provided by the user, which serves only as the root identity for the data source.
1338
+ * The data source configuration provided by the user, which serves only as the root identifier of the data source.
1200
1339
  */
1201
1340
  source?: GetContextStoreResponseBodyConfigSource;
1202
1341
  /**
1203
1342
  * @remarks
1204
- * 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.
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.
1205
1344
  */
1206
1345
  sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
1207
1346
  /**
@@ -1211,7 +1350,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1211
1350
  storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
1212
1351
  /**
1213
1352
  * @remarks
1214
- * The current effective strategy version number for the memory type.
1353
+ * The currently effective strategy version number for the memory type.
1215
1354
  *
1216
1355
  * @example
1217
1356
  * 1
@@ -1220,6 +1359,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1220
1359
  static names(): { [key: string]: string } {
1221
1360
  return {
1222
1361
  audit: 'audit',
1362
+ extractionPolicies: 'extractionPolicies',
1223
1363
  extractionPolicy: 'extractionPolicy',
1224
1364
  innerSource: 'innerSource',
1225
1365
  metadataField: 'metadataField',
@@ -1239,6 +1379,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1239
1379
  static types(): { [key: string]: any } {
1240
1380
  return {
1241
1381
  audit: GetContextStoreResponseBodyConfigAudit,
1382
+ extractionPolicies: { 'type': 'array', 'itemType': GetContextStoreResponseBodyConfigExtractionPolicies },
1242
1383
  extractionPolicy: GetContextStoreResponseBodyConfigExtractionPolicy,
1243
1384
  innerSource: GetContextStoreResponseBodyConfigInnerSource,
1244
1385
  metadataField: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
@@ -1259,6 +1400,9 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1259
1400
  if(this.audit && typeof (this.audit as any).validate === 'function') {
1260
1401
  (this.audit as any).validate();
1261
1402
  }
1403
+ if(Array.isArray(this.extractionPolicies)) {
1404
+ $dara.Model.validateArray(this.extractionPolicies);
1405
+ }
1262
1406
  if(this.extractionPolicy && typeof (this.extractionPolicy as any).validate === 'function') {
1263
1407
  (this.extractionPolicy as any).validate();
1264
1408
  }
@@ -1313,7 +1457,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1313
1457
  config?: GetContextStoreResponseBodyConfig;
1314
1458
  /**
1315
1459
  * @remarks
1316
- * The context store name.
1460
+ * The name of the context store.
1317
1461
  *
1318
1462
  * @example
1319
1463
  * my-context-store
@@ -1321,7 +1465,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1321
1465
  contextStoreName?: string;
1322
1466
  /**
1323
1467
  * @remarks
1324
- * The context store type, such as experience for experience store and memory for memory store.
1468
+ * The type of the context store, such as experience or memory.
1325
1469
  *
1326
1470
  * @example
1327
1471
  * experience
@@ -1329,7 +1473,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1329
1473
  contextType?: string;
1330
1474
  /**
1331
1475
  * @remarks
1332
- * The context store creation time in ISO 8601 UTC format.
1476
+ * The time when the context store was created, in ISO 8601 UTC format.
1333
1477
  *
1334
1478
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
1335
1479
  *
@@ -1339,7 +1483,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1339
1483
  createTime?: string;
1340
1484
  /**
1341
1485
  * @remarks
1342
- * The context store description.
1486
+ * The description of the context store.
1343
1487
  *
1344
1488
  * @example
1345
1489
  * My context store
@@ -1347,7 +1491,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1347
1491
  description?: string;
1348
1492
  /**
1349
1493
  * @remarks
1350
- * The region ID of the context store.
1494
+ * The ID of the region where the context store is located.
1351
1495
  *
1352
1496
  * @example
1353
1497
  * cn-hangzhou
@@ -1363,7 +1507,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1363
1507
  requestId?: string;
1364
1508
  /**
1365
1509
  * @remarks
1366
- * The context store status. Valid values: ACTIVE, INITIALIZING, and FAILED.
1510
+ * The status of the context store, such as ACTIVE, INITIALIZING, or FAILED.
1367
1511
  *
1368
1512
  * @example
1369
1513
  * ACTIVE
@@ -1371,7 +1515,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1371
1515
  status?: string;
1372
1516
  /**
1373
1517
  * @remarks
1374
- * The last update time of the context store in ISO 8601 UTC format.
1518
+ * The time when the context store was last updated, in ISO 8601 UTC format.
1375
1519
  *
1376
1520
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
1377
1521
  *