@alicloud/agentloop20260520 2.4.2 → 2.4.3
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 +8 -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/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 +1 -1
- package/src/client.ts +10 -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/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
|
@@ -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 dropped
|
|
5
|
+
* Specifies whether to write item events for dropped candidates during retrieval. 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
|
|
13
|
+
* The recording mode for retrieval queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* raw
|
|
@@ -35,10 +35,38 @@ export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model
|
|
|
35
35
|
[key: string]: any;
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
+
export declare class GetContextStoreResponseBodyConfigAuditLogStore extends $dara.Model {
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The name of the Logstore for the experience library audit logs.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* experience_audit
|
|
45
|
+
*/
|
|
46
|
+
logstore?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The name of the user SLS project where the experience library audit logs are stored.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* agentloop-xxx
|
|
53
|
+
*/
|
|
54
|
+
project?: string;
|
|
55
|
+
static names(): {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
static types(): {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
};
|
|
61
|
+
validate(): void;
|
|
62
|
+
constructor(map?: {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
38
66
|
export declare class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $dara.Model {
|
|
39
67
|
/**
|
|
40
68
|
* @remarks
|
|
41
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported.
|
|
69
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. The platform uses internal credentials.
|
|
42
70
|
*
|
|
43
71
|
* @example
|
|
44
72
|
* qwen3.8-flash
|
|
@@ -57,36 +85,57 @@ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesModel ex
|
|
|
57
85
|
}
|
|
58
86
|
export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
59
87
|
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
|
|
90
|
+
*
|
|
60
91
|
* @example
|
|
61
92
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
62
93
|
*/
|
|
63
94
|
allowedActions?: string[];
|
|
64
95
|
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* Specifies whether to enable deduplication in event mode. Default value: true.
|
|
98
|
+
*
|
|
65
99
|
* @example
|
|
66
100
|
* true
|
|
67
101
|
*/
|
|
68
102
|
dedupe?: boolean;
|
|
69
103
|
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
|
|
106
|
+
*
|
|
70
107
|
* @example
|
|
71
108
|
* true
|
|
72
109
|
*/
|
|
73
110
|
humanEditProtection?: boolean;
|
|
74
111
|
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
114
|
+
*
|
|
75
115
|
* @example
|
|
76
116
|
* semantic
|
|
77
117
|
*/
|
|
78
118
|
mergeKey?: string;
|
|
79
119
|
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
122
|
+
*
|
|
80
123
|
* @example
|
|
81
124
|
* upsert
|
|
82
125
|
*/
|
|
83
126
|
mode?: string;
|
|
84
127
|
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The similarity threshold for semantic merging. Valid values: 0 to 1. Default value: 0.4.
|
|
130
|
+
*
|
|
85
131
|
* @example
|
|
86
132
|
* 0.4
|
|
87
133
|
*/
|
|
88
134
|
similarityThreshold?: number;
|
|
89
135
|
/**
|
|
136
|
+
* @remarks
|
|
137
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
138
|
+
*
|
|
90
139
|
* @example
|
|
91
140
|
* 0
|
|
92
141
|
*/
|
|
@@ -121,7 +170,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
121
170
|
customInstructions?: string;
|
|
122
171
|
/**
|
|
123
172
|
* @remarks
|
|
124
|
-
* Specifies whether to
|
|
173
|
+
* Specifies whether to execute this policy for new input. Default value: true. Disabling the policy does not delete historical memories.
|
|
125
174
|
*
|
|
126
175
|
* @example
|
|
127
176
|
* true
|
|
@@ -129,7 +178,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
129
178
|
enabled?: boolean;
|
|
130
179
|
/**
|
|
131
180
|
* @remarks
|
|
132
|
-
* The list of exclusion rules. Content that matches
|
|
181
|
+
* The list of exclusion rules. Content that matches the rules is not extracted.
|
|
133
182
|
*
|
|
134
183
|
* @example
|
|
135
184
|
* ["Password","ID number"]
|
|
@@ -156,6 +205,10 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
156
205
|
* fact
|
|
157
206
|
*/
|
|
158
207
|
preset?: string;
|
|
208
|
+
/**
|
|
209
|
+
* @remarks
|
|
210
|
+
* The independent storage rules for this policy. If omitted, the original value is retained. New policies use the default value. Repeatedly confirmed memories refresh the validity period by default.
|
|
211
|
+
*/
|
|
159
212
|
storagePolicy?: GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy;
|
|
160
213
|
/**
|
|
161
214
|
* @remarks
|
|
@@ -181,7 +234,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
181
234
|
export declare class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
|
|
182
235
|
/**
|
|
183
236
|
* @remarks
|
|
184
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported.
|
|
237
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. The platform uses internal credentials.
|
|
185
238
|
*
|
|
186
239
|
* @example
|
|
187
240
|
* qwen3.8-flash
|
|
@@ -217,7 +270,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicy extends $
|
|
|
217
270
|
customInstructions?: string;
|
|
218
271
|
/**
|
|
219
272
|
* @remarks
|
|
220
|
-
* The list of exclusion rules. Content that matches
|
|
273
|
+
* The list of exclusion rules. Content that matches the rules is not extracted.
|
|
221
274
|
*
|
|
222
275
|
* @example
|
|
223
276
|
* ["Password","ID number"]
|
|
@@ -258,7 +311,7 @@ export declare class GetContextStoreResponseBodyConfigInnerSource extends $dara.
|
|
|
258
311
|
logstore?: string;
|
|
259
312
|
/**
|
|
260
313
|
* @remarks
|
|
261
|
-
* The name of the SLS project.
|
|
314
|
+
* The name of the Simple Log Service (SLS) project.
|
|
262
315
|
*
|
|
263
316
|
* @example
|
|
264
317
|
* agentloop-xxx
|
|
@@ -294,7 +347,7 @@ export declare class GetContextStoreResponseBodyConfigObservability extends $dar
|
|
|
294
347
|
eventsLogstore?: string;
|
|
295
348
|
/**
|
|
296
349
|
* @remarks
|
|
297
|
-
* The Simple Log Service (SLS) project
|
|
350
|
+
* The Simple Log Service (SLS) project where both resources are located, which is the project bound to the AgentSpace.
|
|
298
351
|
*
|
|
299
352
|
* @example
|
|
300
353
|
* agentloop-xxx
|
|
@@ -314,7 +367,7 @@ export declare class GetContextStoreResponseBodyConfigObservability extends $dar
|
|
|
314
367
|
export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model {
|
|
315
368
|
/**
|
|
316
369
|
* @remarks
|
|
317
|
-
* The AgentSpace
|
|
370
|
+
* The AgentSpace where the dataset is located.
|
|
318
371
|
*
|
|
319
372
|
* @example
|
|
320
373
|
* my-agent-space
|
|
@@ -338,7 +391,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
|
|
|
338
391
|
schemaContract?: string;
|
|
339
392
|
/**
|
|
340
393
|
* @remarks
|
|
341
|
-
* The schema
|
|
394
|
+
* The version of the schema.
|
|
342
395
|
*
|
|
343
396
|
* @example
|
|
344
397
|
* 1
|
|
@@ -358,7 +411,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
|
|
|
358
411
|
export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
|
|
359
412
|
/**
|
|
360
413
|
* @remarks
|
|
361
|
-
*
|
|
414
|
+
* At least one of the scope fields must be non-empty. Valid values for the elements: userId, agentId, appId, and runId.
|
|
362
415
|
*
|
|
363
416
|
* @example
|
|
364
417
|
* ["userId"]
|
|
@@ -378,7 +431,7 @@ export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.
|
|
|
378
431
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends $dara.Model {
|
|
379
432
|
/**
|
|
380
433
|
* @remarks
|
|
381
|
-
* The description of the field. This parameter is required when usage is extraction-input and is appended to the extraction prompt.
|
|
434
|
+
* The description of the field. This parameter is required when usage is set to extraction-input, and it is appended to the extraction prompt.
|
|
382
435
|
*
|
|
383
436
|
* @example
|
|
384
437
|
* Customer tier
|
|
@@ -402,7 +455,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
402
455
|
sourceField?: string;
|
|
403
456
|
/**
|
|
404
457
|
* @remarks
|
|
405
|
-
* The target path
|
|
458
|
+
* The write target path, such as metadata.customerTier.
|
|
406
459
|
*
|
|
407
460
|
* @example
|
|
408
461
|
* metadata.customerTier
|
|
@@ -430,7 +483,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
430
483
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
|
|
431
484
|
/**
|
|
432
485
|
* @remarks
|
|
433
|
-
* The subset of the pipeline where clause
|
|
486
|
+
* The subset of the pipeline where clause that is pushed down to SQL.
|
|
434
487
|
*
|
|
435
488
|
* @example
|
|
436
489
|
* appId = \\"crm-service\\"
|
|
@@ -450,7 +503,9 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extend
|
|
|
450
503
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
451
504
|
/**
|
|
452
505
|
* @remarks
|
|
453
|
-
* The consumption mode. Valid values:
|
|
506
|
+
* The version consumption mode. Valid values:
|
|
507
|
+
* - follow: consumes data incrementally based on __dataset_seq.
|
|
508
|
+
* - fixed: consumes the specified ACTIVE version in full at once.
|
|
454
509
|
*
|
|
455
510
|
* @example
|
|
456
511
|
* follow
|
|
@@ -491,7 +546,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
491
546
|
customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
|
|
492
547
|
/**
|
|
493
548
|
* @remarks
|
|
494
|
-
* The name of the dataset in the same AgentSpace. This parameter cannot be
|
|
549
|
+
* The name of the dataset in the same AgentSpace. This parameter cannot be changed after creation.
|
|
495
550
|
*
|
|
496
551
|
* @example
|
|
497
552
|
* trajectory-with-crm-profile
|
|
@@ -499,7 +554,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
499
554
|
datasetName?: string;
|
|
500
555
|
/**
|
|
501
556
|
* @remarks
|
|
502
|
-
* The row filter
|
|
557
|
+
* The row filter conditions.
|
|
503
558
|
*/
|
|
504
559
|
filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
|
|
505
560
|
/**
|
|
@@ -512,7 +567,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
512
567
|
pollIntervalSeconds?: number;
|
|
513
568
|
/**
|
|
514
569
|
* @remarks
|
|
515
|
-
* The row schema contract of the dataset.
|
|
570
|
+
* The row schema contract of the dataset. The value is fixed to MemorySourceV1 in the current phase.
|
|
516
571
|
*
|
|
517
572
|
* @example
|
|
518
573
|
* MemorySourceV1
|
|
@@ -537,7 +592,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
537
592
|
export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $dara.Model {
|
|
538
593
|
/**
|
|
539
594
|
* @remarks
|
|
540
|
-
* The list of agent names. An
|
|
595
|
+
* The list of agent names. An explicitly empty list returns a 400 error.
|
|
541
596
|
*
|
|
542
597
|
* @example
|
|
543
598
|
* ["sales-copilot"]
|
|
@@ -545,7 +600,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
545
600
|
agentNames?: string[];
|
|
546
601
|
/**
|
|
547
602
|
* @remarks
|
|
548
|
-
* Specifies whether to exclude degraded trajectories. Default value: false
|
|
603
|
+
* Specifies whether to exclude degraded trajectories. Default value: false, which includes degraded trajectories.
|
|
549
604
|
*
|
|
550
605
|
* @example
|
|
551
606
|
* false
|
|
@@ -553,7 +608,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
553
608
|
excludeDegraded?: boolean;
|
|
554
609
|
/**
|
|
555
610
|
* @remarks
|
|
556
|
-
* The minimum
|
|
611
|
+
* The minimum number of steps. The value must be greater than or equal to 0.
|
|
557
612
|
*
|
|
558
613
|
* @example
|
|
559
614
|
* 2
|
|
@@ -561,7 +616,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
561
616
|
minStepCount?: number;
|
|
562
617
|
/**
|
|
563
618
|
* @remarks
|
|
564
|
-
* The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using
|
|
619
|
+
* The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using AND.
|
|
565
620
|
*
|
|
566
621
|
* @example
|
|
567
622
|
* tool_names:"search_order"
|
|
@@ -569,7 +624,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
569
624
|
query?: string;
|
|
570
625
|
/**
|
|
571
626
|
* @remarks
|
|
572
|
-
* The list of service names. A single trailing asterisk (*) is supported. An
|
|
627
|
+
* The list of service names. A single trailing asterisk (*) is supported. An explicitly empty list returns a 400 error.
|
|
573
628
|
*
|
|
574
629
|
* @example
|
|
575
630
|
* ["crm-service","app-*"]
|
|
@@ -633,12 +688,12 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
633
688
|
export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
|
|
634
689
|
/**
|
|
635
690
|
* @remarks
|
|
636
|
-
* The trajectory filter
|
|
691
|
+
* The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
|
|
637
692
|
*/
|
|
638
693
|
filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
|
|
639
694
|
/**
|
|
640
695
|
* @remarks
|
|
641
|
-
* The name of the trajectory Logstore. Default value: agent-trajectory.
|
|
696
|
+
* The name of the trajectory Logstore. Default value: agent-trajectory. The value cannot be changed after creation.
|
|
642
697
|
*
|
|
643
698
|
* @example
|
|
644
699
|
* agent-trajectory
|
|
@@ -689,7 +744,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
689
744
|
mode?: string;
|
|
690
745
|
/**
|
|
691
746
|
* @remarks
|
|
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
|
|
747
|
+
* The initial consumed append sequence number. The value is a decimal string of a non-negative int64 integer. Default value: 0. The __dataset_seq parameter is used, and the business timestamp is not used as the consumption checkpoint.
|
|
693
748
|
*
|
|
694
749
|
* @example
|
|
695
750
|
* 0
|
|
@@ -709,7 +764,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
709
764
|
export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
710
765
|
/**
|
|
711
766
|
* @remarks
|
|
712
|
-
* The AgentSpace
|
|
767
|
+
* The AgentSpace where the trace data source is located, which is the same as the AgentSpace to which it belonged when it was created.
|
|
713
768
|
*
|
|
714
769
|
* @example
|
|
715
770
|
* my-agent-space
|
|
@@ -727,7 +782,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
727
782
|
};
|
|
728
783
|
/**
|
|
729
784
|
* @remarks
|
|
730
|
-
* The data source configuration for the memory type
|
|
785
|
+
* The dataset data source configuration for the memory type. This parameter is required when the memory type is used and source.type is set to dataset.
|
|
731
786
|
*/
|
|
732
787
|
dataset?: GetContextStoreResponseBodyConfigSourceDataset;
|
|
733
788
|
/**
|
|
@@ -740,7 +795,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
740
795
|
datasetName?: string;
|
|
741
796
|
/**
|
|
742
797
|
* @remarks
|
|
743
|
-
* The input format of the dataset.
|
|
798
|
+
* The input format of the dataset. The source of the experience base dataset is atif.
|
|
744
799
|
*
|
|
745
800
|
* @example
|
|
746
801
|
* atif
|
|
@@ -766,12 +821,12 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
766
821
|
startTime?: string;
|
|
767
822
|
/**
|
|
768
823
|
* @remarks
|
|
769
|
-
* The
|
|
824
|
+
* The trajectory datasource config for the memory type. This parameter is required when the type is memory and source.type is trajectory.
|
|
770
825
|
*/
|
|
771
826
|
trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
|
|
772
827
|
/**
|
|
773
828
|
* @remarks
|
|
774
|
-
* The source type
|
|
829
|
+
* The source type. Valid values: trajectory and dataset. For the experience type, if this parameter is not specified, trajectory is used. For datasets, the datasetName, format, and binding parameters at the current level are used. The default mode is manual. If versionPolicy.mode is set to follow, data is continuously processed and automatically applied to the experience base. For the memory type, if this parameter is not specified, manual is used, meaning data is written only through AddContexts. Otherwise, the trajectory or dataset sub-configuration with the same name is used. The value cannot be changed after creation.
|
|
775
830
|
*
|
|
776
831
|
* @example
|
|
777
832
|
* dataset
|
|
@@ -779,7 +834,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
779
834
|
type?: string;
|
|
780
835
|
/**
|
|
781
836
|
* @remarks
|
|
782
|
-
* The continuous consumption configuration for the native experience
|
|
837
|
+
* The continuous consumption configuration for the native experience base dataset. The default mode is manual. The follow mode only allows binding.selection.mode to be set to all, and data is consumed based on the append sequence number. The value cannot be changed after creation.
|
|
783
838
|
*/
|
|
784
839
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
|
|
785
840
|
static names(): {
|
|
@@ -796,14 +851,14 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
796
851
|
export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
797
852
|
/**
|
|
798
853
|
* @remarks
|
|
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
|
|
854
|
+
* The processing progress. For memory trajectory, the format is {processTimeNs, watermarkMs}. For dataset, the format is {seq}. For manual, the format is {}. For the experience dataset in follow mode, the seq value is an exact int64 decimal string.
|
|
800
855
|
*/
|
|
801
856
|
checkpoint?: {
|
|
802
857
|
[key: string]: any;
|
|
803
858
|
};
|
|
804
859
|
/**
|
|
805
860
|
* @remarks
|
|
806
|
-
* The current
|
|
861
|
+
* The current scheduled sequence window for the experience dataset in follow mode. The format is {after, until, runId}. All sequence numbers are decimal strings. If a failure occurs, the submitted checkpoint is not advanced.
|
|
807
862
|
*/
|
|
808
863
|
currentWindow?: {
|
|
809
864
|
[key: string]: string;
|
|
@@ -818,7 +873,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
818
873
|
lastError?: string;
|
|
819
874
|
/**
|
|
820
875
|
* @remarks
|
|
821
|
-
* The run ID of the last successful automatic application to the native experience
|
|
876
|
+
* The run ID of the last successful automatic application to the native experience store, for audit purposes only.
|
|
822
877
|
*
|
|
823
878
|
* @example
|
|
824
879
|
* opr-example
|
|
@@ -862,7 +917,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
862
917
|
export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
|
|
863
918
|
/**
|
|
864
919
|
* @remarks
|
|
865
|
-
* The allowed storage actions. Default value: all actions
|
|
920
|
+
* The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
|
|
866
921
|
*
|
|
867
922
|
* @example
|
|
868
923
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -886,7 +941,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
886
941
|
humanEditProtection?: boolean;
|
|
887
942
|
/**
|
|
888
943
|
* @remarks
|
|
889
|
-
* The merge key for upsert operations.
|
|
944
|
+
* The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
890
945
|
*
|
|
891
946
|
* @example
|
|
892
947
|
* semantic
|
|
@@ -894,7 +949,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
894
949
|
mergeKey?: string;
|
|
895
950
|
/**
|
|
896
951
|
* @remarks
|
|
897
|
-
* The storage mode.
|
|
952
|
+
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
898
953
|
*
|
|
899
954
|
* @example
|
|
900
955
|
* upsert
|
|
@@ -933,6 +988,11 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
933
988
|
* The audit configuration.
|
|
934
989
|
*/
|
|
935
990
|
audit?: GetContextStoreResponseBodyConfigAudit;
|
|
991
|
+
/**
|
|
992
|
+
* @remarks
|
|
993
|
+
* The Simple Log Service (SLS) audit log location for the experience library user. The console reads the logs by using the existing GetLogs permission.
|
|
994
|
+
*/
|
|
995
|
+
auditLogStore?: GetContextStoreResponseBodyConfigAuditLogStore;
|
|
936
996
|
/**
|
|
937
997
|
* @remarks
|
|
938
998
|
* The extraction policies. You can configure 1 to 10 policies. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
|
|
@@ -940,17 +1000,17 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
940
1000
|
extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
|
|
941
1001
|
/**
|
|
942
1002
|
* @remarks
|
|
943
|
-
* The extraction policy
|
|
1003
|
+
* The extraction policy of the memory type.
|
|
944
1004
|
*/
|
|
945
1005
|
extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
|
|
946
1006
|
/**
|
|
947
1007
|
* @remarks
|
|
948
|
-
* The system-assigned
|
|
1008
|
+
* The system-assigned event Logstore coordinates for the memory type, located in the Simple Log Service (SLS) project bound to the AgentSpace.
|
|
949
1009
|
*/
|
|
950
1010
|
innerSource?: GetContextStoreResponseBodyConfigInnerSource;
|
|
951
1011
|
/**
|
|
952
1012
|
* @remarks
|
|
953
|
-
* The metadata field mapping
|
|
1013
|
+
* The metadata field mapping, where the key is the business field and the value is the storage field.
|
|
954
1014
|
*
|
|
955
1015
|
* @example
|
|
956
1016
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -960,7 +1020,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
960
1020
|
};
|
|
961
1021
|
/**
|
|
962
1022
|
* @remarks
|
|
963
|
-
* The
|
|
1023
|
+
* The experience mining interval. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d.
|
|
964
1024
|
*
|
|
965
1025
|
* @example
|
|
966
1026
|
* 1d
|
|
@@ -968,7 +1028,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
968
1028
|
miningInterval?: string;
|
|
969
1029
|
/**
|
|
970
1030
|
* @remarks
|
|
971
|
-
* The name of the internal running task associated with the server.
|
|
1031
|
+
* The name of the internal running task associated with the server. Continuous libraries are used for read-only viewing of consumption records, and manual libraries can run limited mining. This value is not inferred by the client and cannot replace the ingestion and recall criteria of the native experience library.
|
|
972
1032
|
*
|
|
973
1033
|
* @example
|
|
974
1034
|
* experience-review-library
|
|
@@ -976,14 +1036,27 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
976
1036
|
miningTaskName?: string;
|
|
977
1037
|
/**
|
|
978
1038
|
* @remarks
|
|
979
|
-
* The observability resource coordinates
|
|
1039
|
+
* The observability resource coordinates for the memory type.
|
|
980
1040
|
*/
|
|
981
1041
|
observability?: GetContextStoreResponseBodyConfigObservability;
|
|
982
1042
|
/**
|
|
983
1043
|
* @remarks
|
|
984
|
-
* The location of the memory output dataset
|
|
1044
|
+
* The location of the memory output dataset for the memory type.
|
|
985
1045
|
*/
|
|
986
1046
|
outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
|
|
1047
|
+
/**
|
|
1048
|
+
* @remarks
|
|
1049
|
+
* Specifies whether runtime recall is allowed for the experience library. This parameter is returned only for the experience type.
|
|
1050
|
+
*/
|
|
1051
|
+
runtimeRecallEnabled?: boolean;
|
|
1052
|
+
/**
|
|
1053
|
+
* @remarks
|
|
1054
|
+
* The version of the runtime recall property, which is read-only. When you update the switch, a concurrency check is performed by using expectedRuntimeRecallRevision.
|
|
1055
|
+
*
|
|
1056
|
+
* @example
|
|
1057
|
+
* 1
|
|
1058
|
+
*/
|
|
1059
|
+
runtimeRecallRevision?: number;
|
|
987
1060
|
/**
|
|
988
1061
|
* @remarks
|
|
989
1062
|
* The scope constraint policy.
|
|
@@ -991,7 +1064,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
991
1064
|
scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
|
|
992
1065
|
/**
|
|
993
1066
|
* @remarks
|
|
994
|
-
* The list of service names used to locate the trace data source
|
|
1067
|
+
* The list of service names, which are used together with source.agentSpace to locate the trace data source. This parameter cannot be changed in the current phase.
|
|
995
1068
|
*
|
|
996
1069
|
* @example
|
|
997
1070
|
* ["order-service","payment-service"]
|
|
@@ -999,14 +1072,18 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
999
1072
|
serviceNames?: string[];
|
|
1000
1073
|
/**
|
|
1001
1074
|
* @remarks
|
|
1002
|
-
* The data source configuration
|
|
1075
|
+
* The data source configuration passed by the user, which serves only as the root identity of the data source.
|
|
1003
1076
|
*/
|
|
1004
1077
|
source?: GetContextStoreResponseBodyConfigSource;
|
|
1005
1078
|
/**
|
|
1006
1079
|
* @remarks
|
|
1007
|
-
* The running status of the data source
|
|
1080
|
+
* The running status of the data source. This applies to the memory type and the experience dataset in follow mode. The experience base submits a checkpoint only after it is published and automatically applied. Pausing and restarting retain the checkpoint.
|
|
1008
1081
|
*/
|
|
1009
1082
|
sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
|
|
1083
|
+
/**
|
|
1084
|
+
* @remarks
|
|
1085
|
+
* The actual storage modes for each policy. A hybrid store includes event and upsert.
|
|
1086
|
+
*/
|
|
1010
1087
|
storageModes?: string[];
|
|
1011
1088
|
/**
|
|
1012
1089
|
* @remarks
|
|
@@ -1015,7 +1092,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1015
1092
|
storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
|
|
1016
1093
|
/**
|
|
1017
1094
|
* @remarks
|
|
1018
|
-
* The currently effective
|
|
1095
|
+
* The version number of the currently effective policy for the memory type.
|
|
1019
1096
|
*
|
|
1020
1097
|
* @example
|
|
1021
1098
|
* 1
|
|
@@ -1064,7 +1141,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1064
1141
|
contextType?: string;
|
|
1065
1142
|
/**
|
|
1066
1143
|
* @remarks
|
|
1067
|
-
* The time
|
|
1144
|
+
* The creation time of the context store in ISO 8601 UTC format.
|
|
1068
1145
|
*
|
|
1069
1146
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1070
1147
|
*
|
|
@@ -1082,7 +1159,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1082
1159
|
description?: string;
|
|
1083
1160
|
/**
|
|
1084
1161
|
* @remarks
|
|
1085
|
-
* The ID of the region where the context store
|
|
1162
|
+
* The ID of the region where the context store resides.
|
|
1086
1163
|
*
|
|
1087
1164
|
* @example
|
|
1088
1165
|
* cn-hangzhou
|
|
@@ -1090,7 +1167,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1090
1167
|
regionId?: string;
|
|
1091
1168
|
/**
|
|
1092
1169
|
* @remarks
|
|
1093
|
-
* The request ID used to locate the request
|
|
1170
|
+
* The request ID, which is used to locate the request for troubleshooting.
|
|
1094
1171
|
*
|
|
1095
1172
|
* @example
|
|
1096
1173
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -1098,7 +1175,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1098
1175
|
requestId?: string;
|
|
1099
1176
|
/**
|
|
1100
1177
|
* @remarks
|
|
1101
|
-
* The status of the context store
|
|
1178
|
+
* The status of the context store. Valid values: ACTIVE, INITIALIZING, and FAILED.
|
|
1102
1179
|
*
|
|
1103
1180
|
* @example
|
|
1104
1181
|
* ACTIVE
|
|
@@ -1106,7 +1183,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1106
1183
|
status?: string;
|
|
1107
1184
|
/**
|
|
1108
1185
|
* @remarks
|
|
1109
|
-
* The time
|
|
1186
|
+
* The last update time of the context store in ISO 8601 UTC format.
|
|
1110
1187
|
*
|
|
1111
1188
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1112
1189
|
*
|