@alicloud/agentloop20260520 2.4.2 → 2.4.4
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.
- package/dist/client.d.ts +2 -2
- package/dist/client.js +17 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +69 -48
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +132 -55
- package/dist/models/GetContextStoreResponseBody.js +31 -1
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/GetDatasetRequest.d.ts +8 -0
- package/dist/models/GetDatasetRequest.js +6 -2
- package/dist/models/GetDatasetRequest.js.map +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +1 -1
- package/dist/models/ListContextStoresRequest.d.ts +1 -1
- package/dist/models/ListContextStoresResponseBody.d.ts +10 -6
- package/dist/models/ListContextStoresResponseBody.js.map +1 -1
- package/dist/models/SearchContextRequest.d.ts +8 -8
- package/dist/models/SearchContextResponseBody.d.ts +54 -3
- package/dist/models/SearchContextResponseBody.js +23 -0
- package/dist/models/SearchContextResponseBody.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +88 -33
- package/dist/models/UpdateContextStoreRequest.js +6 -0
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +32 -2
- package/dist/models/UpdateContextStoreResponseBody.js +27 -1
- package/dist/models/UpdateContextStoreResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +38 -34
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +20 -2
- package/src/models/CreateContextStoreRequest.ts +69 -48
- package/src/models/CreateContextStoreResponseBody.ts +1 -1
- package/src/models/GetContextStoreResponseBody.ts +153 -55
- package/src/models/GetDatasetRequest.ts +10 -0
- package/src/models/GetDatasetResponseBody.ts +1 -1
- package/src/models/ListContextStoresRequest.ts +1 -1
- package/src/models/ListContextStoresResponseBody.ts +10 -6
- package/src/models/SearchContextRequest.ts +8 -8
- package/src/models/SearchContextResponseBody.ts +73 -3
- package/src/models/UpdateContextStoreRequest.ts +94 -33
- package/src/models/UpdateContextStoreResponseBody.ts +49 -2
- package/src/models/model.ts +2 -0
|
@@ -13,7 +13,7 @@ export class CreateContextStoreRequestConfigAudit extends $dara.Model {
|
|
|
13
13
|
droppedCandidates?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
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
|
|
@@ -55,7 +55,7 @@ export class CreateContextStoreRequestConfigAudit extends $dara.Model {
|
|
|
55
55
|
export class CreateContextStoreRequestConfigExtractionPoliciesModel extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
58
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. Platform internal credentials are used.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* qwen3.8-flash
|
|
@@ -84,36 +84,57 @@ export class CreateContextStoreRequestConfigExtractionPoliciesModel extends $dar
|
|
|
84
84
|
|
|
85
85
|
export class CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
86
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
|
|
89
|
+
*
|
|
87
90
|
* @example
|
|
88
91
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
89
92
|
*/
|
|
90
93
|
allowedActions?: string[];
|
|
91
94
|
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* Specifies whether to enable deduplication in event mode. Default value: true.
|
|
97
|
+
*
|
|
92
98
|
* @example
|
|
93
99
|
* true
|
|
94
100
|
*/
|
|
95
101
|
dedupe?: boolean;
|
|
96
102
|
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
|
|
105
|
+
*
|
|
97
106
|
* @example
|
|
98
107
|
* true
|
|
99
108
|
*/
|
|
100
109
|
humanEditProtection?: boolean;
|
|
101
110
|
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
113
|
+
*
|
|
102
114
|
* @example
|
|
103
115
|
* semantic
|
|
104
116
|
*/
|
|
105
117
|
mergeKey?: string;
|
|
106
118
|
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
121
|
+
*
|
|
107
122
|
* @example
|
|
108
123
|
* upsert
|
|
109
124
|
*/
|
|
110
125
|
mode?: string;
|
|
111
126
|
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The similarity threshold for semantic merging. Valid values: 0 to 1. Default value: 0.4.
|
|
129
|
+
*
|
|
112
130
|
* @example
|
|
113
131
|
* 0.4
|
|
114
132
|
*/
|
|
115
133
|
similarityThreshold?: number;
|
|
116
134
|
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
137
|
+
*
|
|
117
138
|
* @example
|
|
118
139
|
* 0
|
|
119
140
|
*/
|
|
@@ -165,7 +186,7 @@ export class CreateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
165
186
|
categories?: string[];
|
|
166
187
|
/**
|
|
167
188
|
* @remarks
|
|
168
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
189
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8,000 characters.
|
|
169
190
|
*
|
|
170
191
|
* @example
|
|
171
192
|
* Extract only user product preferences
|
|
@@ -173,7 +194,7 @@ export class CreateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
173
194
|
customInstructions?: string;
|
|
174
195
|
/**
|
|
175
196
|
* @remarks
|
|
176
|
-
* Specifies whether to
|
|
197
|
+
* Specifies whether to apply this policy to new inputs. Default value: true. Disabling the policy does not delete historical memories.
|
|
177
198
|
*
|
|
178
199
|
* @example
|
|
179
200
|
* true
|
|
@@ -208,10 +229,14 @@ export class CreateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
208
229
|
* fact
|
|
209
230
|
*/
|
|
210
231
|
preset?: string;
|
|
232
|
+
/**
|
|
233
|
+
* @remarks
|
|
234
|
+
* The independent storage rules for this policy. If omitted, the original values are retained. New policies use default values. Repeatedly confirmed memories refresh the validity period by default.
|
|
235
|
+
*/
|
|
211
236
|
storagePolicy?: CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy;
|
|
212
237
|
/**
|
|
213
238
|
* @remarks
|
|
214
|
-
* The ID of the extraction policy. This parameter is optional. If omitted, the default value is used. The ID must start with a letter and can contain only letters, digits, underscores, and hyphens.
|
|
239
|
+
* The ID of the extraction policy. This parameter is optional. If omitted, the default value is used. The ID must start with a letter and can contain only letters, digits, underscores, and hyphens. Maximum length: 64 characters. After default processing, the ID must be unique within the same library. Modifying the name or instructions does not change this ID.
|
|
215
240
|
*
|
|
216
241
|
* @example
|
|
217
242
|
* preferences
|
|
@@ -269,7 +294,7 @@ export class CreateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
269
294
|
export class CreateContextStoreRequestConfigExtractionPolicyModel extends $dara.Model {
|
|
270
295
|
/**
|
|
271
296
|
* @remarks
|
|
272
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
297
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. Platform internal credentials are used.
|
|
273
298
|
*
|
|
274
299
|
* @example
|
|
275
300
|
* qwen3.8-flash
|
|
@@ -307,7 +332,7 @@ export class CreateContextStoreRequestConfigExtractionPolicy extends $dara.Model
|
|
|
307
332
|
categories?: string[];
|
|
308
333
|
/**
|
|
309
334
|
* @remarks
|
|
310
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
335
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8,000 characters.
|
|
311
336
|
*
|
|
312
337
|
* @example
|
|
313
338
|
* Extract only user product preferences
|
|
@@ -408,7 +433,7 @@ export class CreateContextStoreRequestConfigScopePolicy extends $dara.Model {
|
|
|
408
433
|
export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $dara.Model {
|
|
409
434
|
/**
|
|
410
435
|
* @remarks
|
|
411
|
-
* The field
|
|
436
|
+
* The description of the field. This parameter is required when usage is set to extraction-input and is appended to the extraction prompt.
|
|
412
437
|
*
|
|
413
438
|
* @example
|
|
414
439
|
* Customer tier
|
|
@@ -416,7 +441,7 @@ export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
416
441
|
description?: string;
|
|
417
442
|
/**
|
|
418
443
|
* @remarks
|
|
419
|
-
* Specifies whether the field is sensitive.
|
|
444
|
+
* Specifies whether the field is a sensitive field.
|
|
420
445
|
*
|
|
421
446
|
* @example
|
|
422
447
|
* false
|
|
@@ -432,7 +457,7 @@ export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
432
457
|
sourceField?: string;
|
|
433
458
|
/**
|
|
434
459
|
* @remarks
|
|
435
|
-
* The target path
|
|
460
|
+
* The target write path, such as metadata.customerTier.
|
|
436
461
|
*
|
|
437
462
|
* @example
|
|
438
463
|
* metadata.customerTier
|
|
@@ -440,9 +465,7 @@ export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
440
465
|
target?: string;
|
|
441
466
|
/**
|
|
442
467
|
* @remarks
|
|
443
|
-
* The usage of the field. Valid values:
|
|
444
|
-
* - extraction-input: Participates in extraction.
|
|
445
|
-
* - ignore: Ignored.
|
|
468
|
+
* The usage of the field. Valid values: extraction-input (participates in extraction) and ignore (ignored).
|
|
446
469
|
*
|
|
447
470
|
* @example
|
|
448
471
|
* extraction-input
|
|
@@ -480,7 +503,7 @@ export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
480
503
|
export class CreateContextStoreRequestConfigSourceDatasetFilter extends $dara.Model {
|
|
481
504
|
/**
|
|
482
505
|
* @remarks
|
|
483
|
-
* The subset of the
|
|
506
|
+
* The subset of the pipeline where clause, which is pushed down to SQL.
|
|
484
507
|
*
|
|
485
508
|
* @example
|
|
486
509
|
* appId = \\"crm-service\\"
|
|
@@ -510,9 +533,7 @@ export class CreateContextStoreRequestConfigSourceDatasetFilter extends $dara.Mo
|
|
|
510
533
|
export class CreateContextStoreRequestConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
511
534
|
/**
|
|
512
535
|
* @remarks
|
|
513
|
-
* The consumption mode. Valid values:
|
|
514
|
-
* - follow: Consumes data incrementally based on __dataset_seq.
|
|
515
|
-
* - fixed: Consumes the specified ACTIVE version in full once.
|
|
536
|
+
* The consumption mode. Valid values: follow (incremental consumption based on __dataset_seq) and fixed (full consumption of the specified ACTIVE version once).
|
|
516
537
|
*
|
|
517
538
|
* @example
|
|
518
539
|
* follow
|
|
@@ -575,7 +596,7 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
|
|
|
575
596
|
datasetName?: string;
|
|
576
597
|
/**
|
|
577
598
|
* @remarks
|
|
578
|
-
* The row filter
|
|
599
|
+
* The row filter conditions.
|
|
579
600
|
*/
|
|
580
601
|
filter?: CreateContextStoreRequestConfigSourceDatasetFilter;
|
|
581
602
|
/**
|
|
@@ -588,7 +609,7 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
|
|
|
588
609
|
pollIntervalSeconds?: number;
|
|
589
610
|
/**
|
|
590
611
|
* @remarks
|
|
591
|
-
* The row schema contract
|
|
612
|
+
* The row schema contract of the Dataset. In the current version, this parameter is fixed to MemorySourceV1.
|
|
592
613
|
*
|
|
593
614
|
* @example
|
|
594
615
|
* MemorySourceV1
|
|
@@ -596,7 +617,7 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
|
|
|
596
617
|
schemaContract?: string;
|
|
597
618
|
/**
|
|
598
619
|
* @remarks
|
|
599
|
-
* The version consumption policy
|
|
620
|
+
* The version consumption policy of the Dataset.
|
|
600
621
|
*/
|
|
601
622
|
versionPolicy?: CreateContextStoreRequestConfigSourceDatasetVersionPolicy;
|
|
602
623
|
static names(): { [key: string]: string } {
|
|
@@ -650,7 +671,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
650
671
|
agentNames?: string[];
|
|
651
672
|
/**
|
|
652
673
|
* @remarks
|
|
653
|
-
* Specifies whether to exclude degraded trajectories. Default value: false
|
|
674
|
+
* Specifies whether to exclude degraded trajectories. Default value: false (degraded trajectories are included).
|
|
654
675
|
*
|
|
655
676
|
* @example
|
|
656
677
|
* false
|
|
@@ -658,7 +679,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
658
679
|
excludeDegraded?: boolean;
|
|
659
680
|
/**
|
|
660
681
|
* @remarks
|
|
661
|
-
* The minimum number of steps
|
|
682
|
+
* The minimum number of steps, which must be greater than or equal to 0.
|
|
662
683
|
*
|
|
663
684
|
* @example
|
|
664
685
|
* 2
|
|
@@ -778,7 +799,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
778
799
|
export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model {
|
|
779
800
|
/**
|
|
780
801
|
* @remarks
|
|
781
|
-
* The trajectory filter
|
|
802
|
+
* The trajectory filter conditions. Conditions are combined with AND, and elements within a list are combined with OR.
|
|
782
803
|
*/
|
|
783
804
|
filter?: CreateContextStoreRequestConfigSourceTrajectoryFilter;
|
|
784
805
|
/**
|
|
@@ -799,12 +820,12 @@ export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
799
820
|
pollIntervalSeconds?: number;
|
|
800
821
|
/**
|
|
801
822
|
* @remarks
|
|
802
|
-
* The scope field mapping. The value
|
|
823
|
+
* The scope field mapping. The value must be a JSONPath expression. Only the $.a.b and $.a[0] formats are supported.
|
|
803
824
|
*/
|
|
804
825
|
scopeMapping?: CreateContextStoreRequestConfigSourceTrajectoryScopeMapping;
|
|
805
826
|
/**
|
|
806
827
|
* @remarks
|
|
807
|
-
* The start time for trajectory consumption in ISO 8601 UTC format. If
|
|
828
|
+
* The start time for trajectory consumption in ISO 8601 UTC format. If you do not specify this parameter, the creation time is used by default.
|
|
808
829
|
*
|
|
809
830
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
810
831
|
*
|
|
@@ -850,7 +871,7 @@ export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
850
871
|
export class CreateContextStoreRequestConfigSourceVersionPolicy extends $dara.Model {
|
|
851
872
|
/**
|
|
852
873
|
* @remarks
|
|
853
|
-
* The continuous consumption mode.
|
|
874
|
+
* The continuous consumption mode. Set the value to follow.
|
|
854
875
|
*
|
|
855
876
|
* @example
|
|
856
877
|
* follow
|
|
@@ -858,7 +879,7 @@ export class CreateContextStoreRequestConfigSourceVersionPolicy extends $dara.Mo
|
|
|
858
879
|
mode?: string;
|
|
859
880
|
/**
|
|
860
881
|
* @remarks
|
|
861
|
-
* The initial consumed append sequence number. The value
|
|
882
|
+
* The initial consumed append sequence number. The value must be a decimal string of a non-negative 64-bit integer. Default value: 0. The __dataset_seq field is used, and the business timestamp is not used as the consumption checkpoint.
|
|
862
883
|
*
|
|
863
884
|
* @example
|
|
864
885
|
* 0
|
|
@@ -890,7 +911,7 @@ export class CreateContextStoreRequestConfigSourceVersionPolicy extends $dara.Mo
|
|
|
890
911
|
export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
891
912
|
/**
|
|
892
913
|
* @remarks
|
|
893
|
-
* The AgentSpace where the trace data source is located. If not specified, the default value is the AgentSpace in the current path. Cross-AgentSpace operations are not supported in the current
|
|
914
|
+
* The AgentSpace where the trace data source is located. If not specified, the default value is the AgentSpace in the current path. Cross-AgentSpace operations are not supported in the current version. If specified, the value must be the same as the AgentSpace in the path. Otherwise, a 400 parameter error is returned. This parameter cannot be modified after creation.
|
|
894
915
|
*
|
|
895
916
|
* @example
|
|
896
917
|
* my-agent-space
|
|
@@ -898,7 +919,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
898
919
|
agentSpace?: string;
|
|
899
920
|
/**
|
|
900
921
|
* @remarks
|
|
901
|
-
* The DatasetBinding v1
|
|
922
|
+
* The DatasetBinding v1 shared with optimization tasks, which includes version, selection (all/window and structured filters), and customFields. This parameter is validated by the server and does not accept SQL or column mappings.
|
|
902
923
|
*
|
|
903
924
|
* @example
|
|
904
925
|
* {"version":1,"selection":{"mode":"all"}}
|
|
@@ -906,12 +927,12 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
906
927
|
binding?: { [key: string]: any };
|
|
907
928
|
/**
|
|
908
929
|
* @remarks
|
|
909
|
-
* The Dataset
|
|
930
|
+
* The Dataset datasource config. This parameter is required when source.type is set to dataset.
|
|
910
931
|
*/
|
|
911
932
|
dataset?: CreateContextStoreRequestConfigSourceDataset;
|
|
912
933
|
/**
|
|
913
934
|
* @remarks
|
|
914
|
-
* The
|
|
935
|
+
* The name of the experience Dataset source, which must be located in the current AgentSpace. This parameter is provided only when the type is experience and source.type is set to dataset.
|
|
915
936
|
*
|
|
916
937
|
* @example
|
|
917
938
|
* reviewed_trajectories
|
|
@@ -919,7 +940,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
919
940
|
datasetName?: string;
|
|
920
941
|
/**
|
|
921
942
|
* @remarks
|
|
922
|
-
* The input format of the Dataset. For experience library Dataset sources, only atif is supported, and the fixed columns are
|
|
943
|
+
* The input format of the Dataset. For experience library Dataset sources, only atif is supported, and the fixed columns are the same as those for optimization tasks.
|
|
923
944
|
*
|
|
924
945
|
* @example
|
|
925
946
|
* atif
|
|
@@ -927,7 +948,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
927
948
|
format?: string;
|
|
928
949
|
/**
|
|
929
950
|
* @remarks
|
|
930
|
-
* The maximum number of
|
|
951
|
+
* The maximum number of records to read per batch. Valid values: 1 to 1000. Default value: 1000. In manual mode, exceeding the limit causes a failure. In follow mode, bounded pagination is used to continue consumption.
|
|
931
952
|
*
|
|
932
953
|
* @example
|
|
933
954
|
* 1000
|
|
@@ -935,7 +956,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
935
956
|
maxRecords?: number;
|
|
936
957
|
/**
|
|
937
958
|
* @remarks
|
|
938
|
-
* The start time for data backfill in ISO 8601 UTC format. If
|
|
959
|
+
* The start time for data backfill in ISO 8601 UTC format. If not specified, the backfill starts from the current time.
|
|
939
960
|
*
|
|
940
961
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
941
962
|
*
|
|
@@ -945,12 +966,12 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
945
966
|
startTime?: string;
|
|
946
967
|
/**
|
|
947
968
|
* @remarks
|
|
948
|
-
* The trajectory
|
|
969
|
+
* The trajectory datasource config. This parameter is required when source.type is set to trajectory.
|
|
949
970
|
*/
|
|
950
971
|
trajectory?: CreateContextStoreRequestConfigSourceTrajectory;
|
|
951
972
|
/**
|
|
952
973
|
* @remarks
|
|
953
|
-
* The data source type for the memory type. Valid values: trajectory
|
|
974
|
+
* The data source type for the memory type. Valid values: trajectory and dataset. If this parameter is not specified, manual is used, which means only AddContexts can write data. This parameter cannot be modified after creation.
|
|
954
975
|
*
|
|
955
976
|
* @example
|
|
956
977
|
* trajectory
|
|
@@ -958,7 +979,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
958
979
|
type?: string;
|
|
959
980
|
/**
|
|
960
981
|
* @remarks
|
|
961
|
-
* The continuous consumption configuration for the native experience
|
|
982
|
+
* The continuous consumption configuration for the Dataset of the native experience library. Default value: manual. If the value is follow, only binding.selection.mode=all is allowed, and data is consumed based on the append sequence number. This parameter cannot be modified after creation.
|
|
962
983
|
*/
|
|
963
984
|
versionPolicy?: CreateContextStoreRequestConfigSourceVersionPolicy;
|
|
964
985
|
static names(): { [key: string]: string } {
|
|
@@ -1015,7 +1036,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
1015
1036
|
export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
1016
1037
|
/**
|
|
1017
1038
|
* @remarks
|
|
1018
|
-
* The allowed storage actions. Default value: all
|
|
1039
|
+
* The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
|
|
1019
1040
|
*
|
|
1020
1041
|
* @example
|
|
1021
1042
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -1031,7 +1052,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
1031
1052
|
dedupe?: boolean;
|
|
1032
1053
|
/**
|
|
1033
1054
|
* @remarks
|
|
1034
|
-
* Specifies whether to enable
|
|
1055
|
+
* Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
|
|
1035
1056
|
*
|
|
1036
1057
|
* @example
|
|
1037
1058
|
* true
|
|
@@ -1039,7 +1060,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
1039
1060
|
humanEditProtection?: boolean;
|
|
1040
1061
|
/**
|
|
1041
1062
|
* @remarks
|
|
1042
|
-
* The merge key for upsert operations.
|
|
1063
|
+
* The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
1043
1064
|
*
|
|
1044
1065
|
* @example
|
|
1045
1066
|
* semantic
|
|
@@ -1047,7 +1068,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
1047
1068
|
mergeKey?: string;
|
|
1048
1069
|
/**
|
|
1049
1070
|
* @remarks
|
|
1050
|
-
* The storage mode.
|
|
1071
|
+
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
1051
1072
|
*
|
|
1052
1073
|
* @example
|
|
1053
1074
|
* upsert
|
|
@@ -1063,7 +1084,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
1063
1084
|
similarityThreshold?: number;
|
|
1064
1085
|
/**
|
|
1065
1086
|
* @remarks
|
|
1066
|
-
* The number of days before
|
|
1087
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
1067
1088
|
*
|
|
1068
1089
|
* @example
|
|
1069
1090
|
* 0
|
|
@@ -1113,7 +1134,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
|
|
|
1113
1134
|
audit?: CreateContextStoreRequestConfigAudit;
|
|
1114
1135
|
/**
|
|
1115
1136
|
* @remarks
|
|
1116
|
-
* The extraction policies. You can
|
|
1137
|
+
* The extraction policies. You can configure 1 to 10 policies. Compatible fields passed back as-is during updates are ignored. strategyVersion indicates the snapshot version of the entire library configuration.
|
|
1117
1138
|
*/
|
|
1118
1139
|
extractionPolicies?: CreateContextStoreRequestConfigExtractionPolicies[];
|
|
1119
1140
|
/**
|
|
@@ -1123,7 +1144,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
|
|
|
1123
1144
|
extractionPolicy?: CreateContextStoreRequestConfigExtractionPolicy;
|
|
1124
1145
|
/**
|
|
1125
1146
|
* @remarks
|
|
1126
|
-
* The metadata field mapping
|
|
1147
|
+
* The metadata field mapping, where the key is the business field and the value is the storage field.
|
|
1127
1148
|
*
|
|
1128
1149
|
* @example
|
|
1129
1150
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -1144,7 +1165,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
|
|
|
1144
1165
|
scopePolicy?: CreateContextStoreRequestConfigScopePolicy;
|
|
1145
1166
|
/**
|
|
1146
1167
|
* @remarks
|
|
1147
|
-
* The list of service names. This parameter is required and cannot be empty. It works with source.agentSpace to locate the trace data source. The trajectory extraction service uses agentSpace to
|
|
1168
|
+
* The list of service names. This parameter is required and cannot be empty. It works with source.agentSpace to locate the trace data source. The trajectory extraction service uses the agentSpace to find the bound CMS workspace and project or logstore, and then filters by serviceName. This parameter cannot be modified after creation.
|
|
1148
1169
|
*
|
|
1149
1170
|
* @example
|
|
1150
1171
|
* ["order-service","payment-service"]
|
|
@@ -1152,7 +1173,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
|
|
|
1152
1173
|
serviceNames?: string[];
|
|
1153
1174
|
/**
|
|
1154
1175
|
* @remarks
|
|
1155
|
-
* The
|
|
1176
|
+
* The datasource config, which serves only as the root identity for the data source. This block is optional.
|
|
1156
1177
|
*/
|
|
1157
1178
|
source?: CreateContextStoreRequestConfigSource;
|
|
1158
1179
|
/**
|
|
@@ -1239,7 +1260,7 @@ export class CreateContextStoreRequest extends $dara.Model {
|
|
|
1239
1260
|
contextStoreName?: string;
|
|
1240
1261
|
/**
|
|
1241
1262
|
* @remarks
|
|
1242
|
-
* The type of the context store. Valid values include experience
|
|
1263
|
+
* The type of the context store. Valid values include experience and memory.
|
|
1243
1264
|
*
|
|
1244
1265
|
* This parameter is required.
|
|
1245
1266
|
*
|
|
@@ -1257,7 +1278,7 @@ export class CreateContextStoreRequest extends $dara.Model {
|
|
|
1257
1278
|
description?: string;
|
|
1258
1279
|
/**
|
|
1259
1280
|
* @remarks
|
|
1260
|
-
* The
|
|
1281
|
+
* The client token. It is a unique string generated by the client to ensure the idempotency of the create operation.
|
|
1261
1282
|
*
|
|
1262
1283
|
* @example
|
|
1263
1284
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -13,7 +13,7 @@ export class CreateContextStoreResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The version number of the
|
|
16
|
+
* The version number of the effective strategy for the memory type.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1
|