@alicloud/agentloop20260520 2.4.1 → 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 +117 -48
- package/dist/models/CreateContextStoreRequest.js +40 -1
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +181 -55
- package/dist/models/GetContextStoreResponseBody.js +75 -1
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/ListContextStoresRequest.d.ts +1 -1
- package/dist/models/ListContextStoresResponseBody.d.ts +11 -6
- package/dist/models/ListContextStoresResponseBody.js +5 -0
- 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 +136 -33
- package/dist/models/UpdateContextStoreRequest.js +46 -1
- 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 +5 -0
- package/dist/models/model.js +75 -65
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -2
- package/src/models/CreateContextStoreRequest.ts +147 -48
- package/src/models/CreateContextStoreResponseBody.ts +1 -1
- package/src/models/GetContextStoreResponseBody.ts +237 -55
- package/src/models/ListContextStoresRequest.ts +1 -1
- package/src/models/ListContextStoresResponseBody.ts +16 -6
- package/src/models/SearchContextRequest.ts +8 -8
- package/src/models/SearchContextResponseBody.ts +73 -3
- package/src/models/UpdateContextStoreRequest.ts +172 -33
- package/src/models/UpdateContextStoreResponseBody.ts +49 -2
- package/src/models/model.ts +5 -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
|
|
@@ -55,6 +83,74 @@ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesModel ex
|
|
|
55
83
|
[key: string]: any;
|
|
56
84
|
});
|
|
57
85
|
}
|
|
86
|
+
export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
93
|
+
*/
|
|
94
|
+
allowedActions?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* Specifies whether to enable deduplication in event mode. Default value: true.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* true
|
|
101
|
+
*/
|
|
102
|
+
dedupe?: boolean;
|
|
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
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* true
|
|
109
|
+
*/
|
|
110
|
+
humanEditProtection?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* semantic
|
|
117
|
+
*/
|
|
118
|
+
mergeKey?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* upsert
|
|
125
|
+
*/
|
|
126
|
+
mode?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The similarity threshold for semantic merging. Valid values: 0 to 1. Default value: 0.4.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* 0.4
|
|
133
|
+
*/
|
|
134
|
+
similarityThreshold?: number;
|
|
135
|
+
/**
|
|
136
|
+
* @remarks
|
|
137
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* 0
|
|
141
|
+
*/
|
|
142
|
+
ttlDays?: number;
|
|
143
|
+
static names(): {
|
|
144
|
+
[key: string]: string;
|
|
145
|
+
};
|
|
146
|
+
static types(): {
|
|
147
|
+
[key: string]: any;
|
|
148
|
+
};
|
|
149
|
+
validate(): void;
|
|
150
|
+
constructor(map?: {
|
|
151
|
+
[key: string]: any;
|
|
152
|
+
});
|
|
153
|
+
}
|
|
58
154
|
export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.Model {
|
|
59
155
|
/**
|
|
60
156
|
* @remarks
|
|
@@ -74,7 +170,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
74
170
|
customInstructions?: string;
|
|
75
171
|
/**
|
|
76
172
|
* @remarks
|
|
77
|
-
* Specifies whether to
|
|
173
|
+
* Specifies whether to execute this policy for new input. Default value: true. Disabling the policy does not delete historical memories.
|
|
78
174
|
*
|
|
79
175
|
* @example
|
|
80
176
|
* true
|
|
@@ -82,7 +178,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
82
178
|
enabled?: boolean;
|
|
83
179
|
/**
|
|
84
180
|
* @remarks
|
|
85
|
-
* The list of exclusion rules. Content that matches
|
|
181
|
+
* The list of exclusion rules. Content that matches the rules is not extracted.
|
|
86
182
|
*
|
|
87
183
|
* @example
|
|
88
184
|
* ["Password","ID number"]
|
|
@@ -109,6 +205,11 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
109
205
|
* fact
|
|
110
206
|
*/
|
|
111
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
|
+
*/
|
|
212
|
+
storagePolicy?: GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy;
|
|
112
213
|
/**
|
|
113
214
|
* @remarks
|
|
114
215
|
* 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.
|
|
@@ -133,7 +234,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
133
234
|
export declare class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
|
|
134
235
|
/**
|
|
135
236
|
* @remarks
|
|
136
|
-
* 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.
|
|
137
238
|
*
|
|
138
239
|
* @example
|
|
139
240
|
* qwen3.8-flash
|
|
@@ -169,7 +270,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicy extends $
|
|
|
169
270
|
customInstructions?: string;
|
|
170
271
|
/**
|
|
171
272
|
* @remarks
|
|
172
|
-
* The list of exclusion rules. Content that matches
|
|
273
|
+
* The list of exclusion rules. Content that matches the rules is not extracted.
|
|
173
274
|
*
|
|
174
275
|
* @example
|
|
175
276
|
* ["Password","ID number"]
|
|
@@ -210,7 +311,7 @@ export declare class GetContextStoreResponseBodyConfigInnerSource extends $dara.
|
|
|
210
311
|
logstore?: string;
|
|
211
312
|
/**
|
|
212
313
|
* @remarks
|
|
213
|
-
* The name of the SLS project.
|
|
314
|
+
* The name of the Simple Log Service (SLS) project.
|
|
214
315
|
*
|
|
215
316
|
* @example
|
|
216
317
|
* agentloop-xxx
|
|
@@ -246,7 +347,7 @@ export declare class GetContextStoreResponseBodyConfigObservability extends $dar
|
|
|
246
347
|
eventsLogstore?: string;
|
|
247
348
|
/**
|
|
248
349
|
* @remarks
|
|
249
|
-
* 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.
|
|
250
351
|
*
|
|
251
352
|
* @example
|
|
252
353
|
* agentloop-xxx
|
|
@@ -266,7 +367,7 @@ export declare class GetContextStoreResponseBodyConfigObservability extends $dar
|
|
|
266
367
|
export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model {
|
|
267
368
|
/**
|
|
268
369
|
* @remarks
|
|
269
|
-
* The AgentSpace
|
|
370
|
+
* The AgentSpace where the dataset is located.
|
|
270
371
|
*
|
|
271
372
|
* @example
|
|
272
373
|
* my-agent-space
|
|
@@ -290,7 +391,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
|
|
|
290
391
|
schemaContract?: string;
|
|
291
392
|
/**
|
|
292
393
|
* @remarks
|
|
293
|
-
* The schema
|
|
394
|
+
* The version of the schema.
|
|
294
395
|
*
|
|
295
396
|
* @example
|
|
296
397
|
* 1
|
|
@@ -310,7 +411,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
|
|
|
310
411
|
export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
|
|
311
412
|
/**
|
|
312
413
|
* @remarks
|
|
313
|
-
*
|
|
414
|
+
* At least one of the scope fields must be non-empty. Valid values for the elements: userId, agentId, appId, and runId.
|
|
314
415
|
*
|
|
315
416
|
* @example
|
|
316
417
|
* ["userId"]
|
|
@@ -330,7 +431,7 @@ export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.
|
|
|
330
431
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends $dara.Model {
|
|
331
432
|
/**
|
|
332
433
|
* @remarks
|
|
333
|
-
* 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.
|
|
334
435
|
*
|
|
335
436
|
* @example
|
|
336
437
|
* Customer tier
|
|
@@ -354,7 +455,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
354
455
|
sourceField?: string;
|
|
355
456
|
/**
|
|
356
457
|
* @remarks
|
|
357
|
-
* The target path
|
|
458
|
+
* The write target path, such as metadata.customerTier.
|
|
358
459
|
*
|
|
359
460
|
* @example
|
|
360
461
|
* metadata.customerTier
|
|
@@ -382,7 +483,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
382
483
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
|
|
383
484
|
/**
|
|
384
485
|
* @remarks
|
|
385
|
-
* The subset of the pipeline where clause
|
|
486
|
+
* The subset of the pipeline where clause that is pushed down to SQL.
|
|
386
487
|
*
|
|
387
488
|
* @example
|
|
388
489
|
* appId = \\"crm-service\\"
|
|
@@ -402,7 +503,9 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extend
|
|
|
402
503
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
403
504
|
/**
|
|
404
505
|
* @remarks
|
|
405
|
-
* 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.
|
|
406
509
|
*
|
|
407
510
|
* @example
|
|
408
511
|
* follow
|
|
@@ -443,7 +546,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
443
546
|
customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
|
|
444
547
|
/**
|
|
445
548
|
* @remarks
|
|
446
|
-
* 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.
|
|
447
550
|
*
|
|
448
551
|
* @example
|
|
449
552
|
* trajectory-with-crm-profile
|
|
@@ -451,7 +554,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
451
554
|
datasetName?: string;
|
|
452
555
|
/**
|
|
453
556
|
* @remarks
|
|
454
|
-
* The row filter
|
|
557
|
+
* The row filter conditions.
|
|
455
558
|
*/
|
|
456
559
|
filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
|
|
457
560
|
/**
|
|
@@ -464,7 +567,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
464
567
|
pollIntervalSeconds?: number;
|
|
465
568
|
/**
|
|
466
569
|
* @remarks
|
|
467
|
-
* 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.
|
|
468
571
|
*
|
|
469
572
|
* @example
|
|
470
573
|
* MemorySourceV1
|
|
@@ -489,7 +592,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
489
592
|
export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $dara.Model {
|
|
490
593
|
/**
|
|
491
594
|
* @remarks
|
|
492
|
-
* The list of agent names. An
|
|
595
|
+
* The list of agent names. An explicitly empty list returns a 400 error.
|
|
493
596
|
*
|
|
494
597
|
* @example
|
|
495
598
|
* ["sales-copilot"]
|
|
@@ -497,7 +600,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
497
600
|
agentNames?: string[];
|
|
498
601
|
/**
|
|
499
602
|
* @remarks
|
|
500
|
-
* Specifies whether to exclude degraded trajectories. Default value: false
|
|
603
|
+
* Specifies whether to exclude degraded trajectories. Default value: false, which includes degraded trajectories.
|
|
501
604
|
*
|
|
502
605
|
* @example
|
|
503
606
|
* false
|
|
@@ -505,7 +608,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
505
608
|
excludeDegraded?: boolean;
|
|
506
609
|
/**
|
|
507
610
|
* @remarks
|
|
508
|
-
* The minimum
|
|
611
|
+
* The minimum number of steps. The value must be greater than or equal to 0.
|
|
509
612
|
*
|
|
510
613
|
* @example
|
|
511
614
|
* 2
|
|
@@ -513,7 +616,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
513
616
|
minStepCount?: number;
|
|
514
617
|
/**
|
|
515
618
|
* @remarks
|
|
516
|
-
* 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.
|
|
517
620
|
*
|
|
518
621
|
* @example
|
|
519
622
|
* tool_names:"search_order"
|
|
@@ -521,7 +624,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
521
624
|
query?: string;
|
|
522
625
|
/**
|
|
523
626
|
* @remarks
|
|
524
|
-
* 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.
|
|
525
628
|
*
|
|
526
629
|
* @example
|
|
527
630
|
* ["crm-service","app-*"]
|
|
@@ -585,12 +688,12 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
585
688
|
export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
|
|
586
689
|
/**
|
|
587
690
|
* @remarks
|
|
588
|
-
* The trajectory filter
|
|
691
|
+
* The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
|
|
589
692
|
*/
|
|
590
693
|
filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
|
|
591
694
|
/**
|
|
592
695
|
* @remarks
|
|
593
|
-
* 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.
|
|
594
697
|
*
|
|
595
698
|
* @example
|
|
596
699
|
* agent-trajectory
|
|
@@ -641,7 +744,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
641
744
|
mode?: string;
|
|
642
745
|
/**
|
|
643
746
|
* @remarks
|
|
644
|
-
* 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.
|
|
645
748
|
*
|
|
646
749
|
* @example
|
|
647
750
|
* 0
|
|
@@ -661,7 +764,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
661
764
|
export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
662
765
|
/**
|
|
663
766
|
* @remarks
|
|
664
|
-
* 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.
|
|
665
768
|
*
|
|
666
769
|
* @example
|
|
667
770
|
* my-agent-space
|
|
@@ -679,7 +782,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
679
782
|
};
|
|
680
783
|
/**
|
|
681
784
|
* @remarks
|
|
682
|
-
* 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.
|
|
683
786
|
*/
|
|
684
787
|
dataset?: GetContextStoreResponseBodyConfigSourceDataset;
|
|
685
788
|
/**
|
|
@@ -692,7 +795,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
692
795
|
datasetName?: string;
|
|
693
796
|
/**
|
|
694
797
|
* @remarks
|
|
695
|
-
* The input format of the dataset.
|
|
798
|
+
* The input format of the dataset. The source of the experience base dataset is atif.
|
|
696
799
|
*
|
|
697
800
|
* @example
|
|
698
801
|
* atif
|
|
@@ -718,12 +821,12 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
718
821
|
startTime?: string;
|
|
719
822
|
/**
|
|
720
823
|
* @remarks
|
|
721
|
-
* The
|
|
824
|
+
* The trajectory datasource config for the memory type. This parameter is required when the type is memory and source.type is trajectory.
|
|
722
825
|
*/
|
|
723
826
|
trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
|
|
724
827
|
/**
|
|
725
828
|
* @remarks
|
|
726
|
-
* 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.
|
|
727
830
|
*
|
|
728
831
|
* @example
|
|
729
832
|
* dataset
|
|
@@ -731,7 +834,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
731
834
|
type?: string;
|
|
732
835
|
/**
|
|
733
836
|
* @remarks
|
|
734
|
-
* 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.
|
|
735
838
|
*/
|
|
736
839
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
|
|
737
840
|
static names(): {
|
|
@@ -748,14 +851,14 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
748
851
|
export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
749
852
|
/**
|
|
750
853
|
* @remarks
|
|
751
|
-
* 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.
|
|
752
855
|
*/
|
|
753
856
|
checkpoint?: {
|
|
754
857
|
[key: string]: any;
|
|
755
858
|
};
|
|
756
859
|
/**
|
|
757
860
|
* @remarks
|
|
758
|
-
* 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.
|
|
759
862
|
*/
|
|
760
863
|
currentWindow?: {
|
|
761
864
|
[key: string]: string;
|
|
@@ -770,7 +873,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
770
873
|
lastError?: string;
|
|
771
874
|
/**
|
|
772
875
|
* @remarks
|
|
773
|
-
* 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.
|
|
774
877
|
*
|
|
775
878
|
* @example
|
|
776
879
|
* opr-example
|
|
@@ -814,7 +917,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
814
917
|
export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
|
|
815
918
|
/**
|
|
816
919
|
* @remarks
|
|
817
|
-
* The allowed storage actions. Default value: all actions
|
|
920
|
+
* The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
|
|
818
921
|
*
|
|
819
922
|
* @example
|
|
820
923
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -838,7 +941,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
838
941
|
humanEditProtection?: boolean;
|
|
839
942
|
/**
|
|
840
943
|
* @remarks
|
|
841
|
-
* The merge key for upsert operations.
|
|
944
|
+
* The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
842
945
|
*
|
|
843
946
|
* @example
|
|
844
947
|
* semantic
|
|
@@ -846,7 +949,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
846
949
|
mergeKey?: string;
|
|
847
950
|
/**
|
|
848
951
|
* @remarks
|
|
849
|
-
* The storage mode.
|
|
952
|
+
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
850
953
|
*
|
|
851
954
|
* @example
|
|
852
955
|
* upsert
|
|
@@ -885,6 +988,11 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
885
988
|
* The audit configuration.
|
|
886
989
|
*/
|
|
887
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;
|
|
888
996
|
/**
|
|
889
997
|
* @remarks
|
|
890
998
|
* The extraction policies. You can configure 1 to 10 policies. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
|
|
@@ -892,17 +1000,17 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
892
1000
|
extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
|
|
893
1001
|
/**
|
|
894
1002
|
* @remarks
|
|
895
|
-
* The extraction policy
|
|
1003
|
+
* The extraction policy of the memory type.
|
|
896
1004
|
*/
|
|
897
1005
|
extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
|
|
898
1006
|
/**
|
|
899
1007
|
* @remarks
|
|
900
|
-
* 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.
|
|
901
1009
|
*/
|
|
902
1010
|
innerSource?: GetContextStoreResponseBodyConfigInnerSource;
|
|
903
1011
|
/**
|
|
904
1012
|
* @remarks
|
|
905
|
-
* The metadata field mapping
|
|
1013
|
+
* The metadata field mapping, where the key is the business field and the value is the storage field.
|
|
906
1014
|
*
|
|
907
1015
|
* @example
|
|
908
1016
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -912,7 +1020,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
912
1020
|
};
|
|
913
1021
|
/**
|
|
914
1022
|
* @remarks
|
|
915
|
-
* The
|
|
1023
|
+
* The experience mining interval. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d.
|
|
916
1024
|
*
|
|
917
1025
|
* @example
|
|
918
1026
|
* 1d
|
|
@@ -920,7 +1028,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
920
1028
|
miningInterval?: string;
|
|
921
1029
|
/**
|
|
922
1030
|
* @remarks
|
|
923
|
-
* 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.
|
|
924
1032
|
*
|
|
925
1033
|
* @example
|
|
926
1034
|
* experience-review-library
|
|
@@ -928,14 +1036,27 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
928
1036
|
miningTaskName?: string;
|
|
929
1037
|
/**
|
|
930
1038
|
* @remarks
|
|
931
|
-
* The observability resource coordinates
|
|
1039
|
+
* The observability resource coordinates for the memory type.
|
|
932
1040
|
*/
|
|
933
1041
|
observability?: GetContextStoreResponseBodyConfigObservability;
|
|
934
1042
|
/**
|
|
935
1043
|
* @remarks
|
|
936
|
-
* The location of the memory output dataset
|
|
1044
|
+
* The location of the memory output dataset for the memory type.
|
|
937
1045
|
*/
|
|
938
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;
|
|
939
1060
|
/**
|
|
940
1061
|
* @remarks
|
|
941
1062
|
* The scope constraint policy.
|
|
@@ -943,7 +1064,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
943
1064
|
scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
|
|
944
1065
|
/**
|
|
945
1066
|
* @remarks
|
|
946
|
-
* 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.
|
|
947
1068
|
*
|
|
948
1069
|
* @example
|
|
949
1070
|
* ["order-service","payment-service"]
|
|
@@ -951,14 +1072,19 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
951
1072
|
serviceNames?: string[];
|
|
952
1073
|
/**
|
|
953
1074
|
* @remarks
|
|
954
|
-
* The data source configuration
|
|
1075
|
+
* The data source configuration passed by the user, which serves only as the root identity of the data source.
|
|
955
1076
|
*/
|
|
956
1077
|
source?: GetContextStoreResponseBodyConfigSource;
|
|
957
1078
|
/**
|
|
958
1079
|
* @remarks
|
|
959
|
-
* 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.
|
|
960
1081
|
*/
|
|
961
1082
|
sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
|
|
1083
|
+
/**
|
|
1084
|
+
* @remarks
|
|
1085
|
+
* The actual storage modes for each policy. A hybrid store includes event and upsert.
|
|
1086
|
+
*/
|
|
1087
|
+
storageModes?: string[];
|
|
962
1088
|
/**
|
|
963
1089
|
* @remarks
|
|
964
1090
|
* The storage policy for the memory type.
|
|
@@ -966,7 +1092,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
966
1092
|
storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
|
|
967
1093
|
/**
|
|
968
1094
|
* @remarks
|
|
969
|
-
* The currently effective
|
|
1095
|
+
* The version number of the currently effective policy for the memory type.
|
|
970
1096
|
*
|
|
971
1097
|
* @example
|
|
972
1098
|
* 1
|
|
@@ -1015,7 +1141,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1015
1141
|
contextType?: string;
|
|
1016
1142
|
/**
|
|
1017
1143
|
* @remarks
|
|
1018
|
-
* The time
|
|
1144
|
+
* The creation time of the context store in ISO 8601 UTC format.
|
|
1019
1145
|
*
|
|
1020
1146
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1021
1147
|
*
|
|
@@ -1033,7 +1159,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1033
1159
|
description?: string;
|
|
1034
1160
|
/**
|
|
1035
1161
|
* @remarks
|
|
1036
|
-
* The ID of the region where the context store
|
|
1162
|
+
* The ID of the region where the context store resides.
|
|
1037
1163
|
*
|
|
1038
1164
|
* @example
|
|
1039
1165
|
* cn-hangzhou
|
|
@@ -1041,7 +1167,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1041
1167
|
regionId?: string;
|
|
1042
1168
|
/**
|
|
1043
1169
|
* @remarks
|
|
1044
|
-
* The request ID used to locate the request
|
|
1170
|
+
* The request ID, which is used to locate the request for troubleshooting.
|
|
1045
1171
|
*
|
|
1046
1172
|
* @example
|
|
1047
1173
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -1049,7 +1175,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1049
1175
|
requestId?: string;
|
|
1050
1176
|
/**
|
|
1051
1177
|
* @remarks
|
|
1052
|
-
* The status of the context store
|
|
1178
|
+
* The status of the context store. Valid values: ACTIVE, INITIALIZING, and FAILED.
|
|
1053
1179
|
*
|
|
1054
1180
|
* @example
|
|
1055
1181
|
* ACTIVE
|
|
@@ -1057,7 +1183,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1057
1183
|
status?: string;
|
|
1058
1184
|
/**
|
|
1059
1185
|
* @remarks
|
|
1060
|
-
* The time
|
|
1186
|
+
* The last update time of the context store in ISO 8601 UTC format.
|
|
1061
1187
|
*
|
|
1062
1188
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1063
1189
|
*
|