@alicloud/agentloop20260520 2.4.4 → 2.4.5
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 +14 -14
- package/dist/client.js +17 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentSpaceRequest.d.ts +11 -3
- package/dist/models/CreateAgentSpaceRequest.js +2 -0
- package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +69 -61
- package/dist/models/CreateContextStoreRequest.js +2 -0
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +2 -2
- package/dist/models/CreateExperimentPlanRequest.d.ts +9 -9
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +3 -3
- package/dist/models/CreatePipelineRequest.d.ts +36 -36
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +84 -78
- package/dist/models/GetContextStoreResponseBody.js +2 -0
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/GetExperimentPlanResponseBody.d.ts +10 -10
- package/dist/models/GetExperimentRunResponseBody.d.ts +1 -1
- package/dist/models/ListAgentSpacesRequest.d.ts +2 -2
- package/dist/models/ListAgentSpacesResponseBody.d.ts +15 -8
- package/dist/models/ListAgentSpacesResponseBody.js.map +1 -1
- package/dist/models/ListExperimentRunsRequest.d.ts +6 -6
- package/dist/models/ListExperimentRunsResponseBody.d.ts +2 -2
- package/dist/models/ModelParameters.d.ts +142 -6
- package/dist/models/ModelParameters.js +69 -1
- package/dist/models/ModelParameters.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +58 -59
- package/dist/models/UpdateContextStoreRequest.js +2 -0
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
- package/dist/models/UpdateExperimentPlanRequest.d.ts +5 -5
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +15 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -14
- package/src/models/CreateAgentSpaceRequest.ts +13 -3
- package/src/models/CreateContextStoreRequest.ts +71 -61
- package/src/models/CreateContextStoreResponseBody.ts +2 -2
- package/src/models/CreateExperimentPlanRequest.ts +9 -9
- package/src/models/CreateExperimentPlanResponseBody.ts +3 -3
- package/src/models/CreatePipelineRequest.ts +36 -36
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetContextStoreResponseBody.ts +86 -78
- package/src/models/GetExperimentPlanResponseBody.ts +10 -10
- package/src/models/GetExperimentRunResponseBody.ts +1 -1
- package/src/models/ListAgentSpacesRequest.ts +2 -2
- package/src/models/ListAgentSpacesResponseBody.ts +15 -8
- package/src/models/ListExperimentRunsRequest.ts +6 -6
- package/src/models/ListExperimentRunsResponseBody.ts +2 -2
- package/src/models/ModelParameters.ts +192 -6
- package/src/models/UpdateContextStoreRequest.ts +60 -59
- package/src/models/UpdateContextStoreResponseBody.ts +2 -2
- package/src/models/UpdateExperimentPlanRequest.ts +5 -5
- package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
- 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 candidates during
|
|
5
|
+
* Specifies whether to write item events for dropped candidates during recall. 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 query recording mode for recall. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* raw
|
|
@@ -38,7 +38,7 @@ export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model
|
|
|
38
38
|
export declare class GetContextStoreResponseBodyConfigAuditLogStore extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The name of the Logstore for the
|
|
41
|
+
* The name of the Logstore for the audit logs of the experience store.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* experience_audit
|
|
@@ -46,7 +46,7 @@ export declare class GetContextStoreResponseBodyConfigAuditLogStore extends $dar
|
|
|
46
46
|
logstore?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The name of the
|
|
49
|
+
* The name of the SLS project where the audit logs of the experience store are stored.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* agentloop-xxx
|
|
@@ -66,7 +66,7 @@ export declare class GetContextStoreResponseBodyConfigAuditLogStore extends $dar
|
|
|
66
66
|
export declare class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $dara.Model {
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* 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, and internal platform credentials are used.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* qwen3.8-flash
|
|
@@ -86,7 +86,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesModel ex
|
|
|
86
86
|
export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The allowed storage actions.
|
|
89
|
+
* The allowed storage actions. By default, all actions are allowed, including ADD, UPDATE, MERGE, and DELETE.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -110,7 +110,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStorageP
|
|
|
110
110
|
humanEditProtection?: boolean;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The merge key for upsert
|
|
113
|
+
* The merge key for the upsert mode. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
116
|
* semantic
|
|
@@ -118,7 +118,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStorageP
|
|
|
118
118
|
mergeKey?: string;
|
|
119
119
|
/**
|
|
120
120
|
* @remarks
|
|
121
|
-
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
121
|
+
* The storage mode. Valid values: event (event append) and upsert (merge and update). Default value: upsert.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* upsert
|
|
@@ -134,7 +134,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStorageP
|
|
|
134
134
|
similarityThreshold?: number;
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
|
-
* The number of days before
|
|
137
|
+
* The number of days before a memory expires. A value of 0 indicates that the memory does not expire.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
140
|
* 0
|
|
@@ -162,7 +162,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
162
162
|
categories?: string[];
|
|
163
163
|
/**
|
|
164
164
|
* @remarks
|
|
165
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
165
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8000 characters.
|
|
166
166
|
*
|
|
167
167
|
* @example
|
|
168
168
|
* Extract only user product preferences
|
|
@@ -178,15 +178,15 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
178
178
|
enabled?: boolean;
|
|
179
179
|
/**
|
|
180
180
|
* @remarks
|
|
181
|
-
* The list of exclusion rules. Content that matches
|
|
181
|
+
* The list of exclusion rules. Content that matches these rules is not extracted.
|
|
182
182
|
*
|
|
183
183
|
* @example
|
|
184
|
-
* ["Password","ID number"]
|
|
184
|
+
* ["Password", "ID number"]
|
|
185
185
|
*/
|
|
186
186
|
excludeRules?: string[];
|
|
187
187
|
/**
|
|
188
188
|
* @remarks
|
|
189
|
-
* The extraction model
|
|
189
|
+
* The configuration of the extraction model.
|
|
190
190
|
*/
|
|
191
191
|
model?: GetContextStoreResponseBodyConfigExtractionPoliciesModel;
|
|
192
192
|
/**
|
|
@@ -207,12 +207,12 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
207
207
|
preset?: string;
|
|
208
208
|
/**
|
|
209
209
|
* @remarks
|
|
210
|
-
* The independent storage rules for this policy. If omitted, the original value is retained.
|
|
210
|
+
* The independent storage rules for this policy. If this parameter is omitted, the original value is retained. A new policy uses the default value. Repeatedly confirmed memories refresh the validity period by default.
|
|
211
211
|
*/
|
|
212
212
|
storagePolicy?: GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy;
|
|
213
213
|
/**
|
|
214
214
|
* @remarks
|
|
215
|
-
* The stable ID of the extraction policy.
|
|
215
|
+
* The stable ID of the extraction policy. It must start with a letter and can contain only letters, digits, underscores, and hyphens. The maximum length is 64 characters. The ID must be unique within the same context library and remains unchanged when the name or instructions are modified.
|
|
216
216
|
*
|
|
217
217
|
* This parameter is required.
|
|
218
218
|
*
|
|
@@ -234,7 +234,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
234
234
|
export declare class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
|
|
235
235
|
/**
|
|
236
236
|
* @remarks
|
|
237
|
-
* 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, and internal platform credentials are used.
|
|
238
238
|
*
|
|
239
239
|
* @example
|
|
240
240
|
* qwen3.8-flash
|
|
@@ -262,7 +262,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicy extends $
|
|
|
262
262
|
categories?: string[];
|
|
263
263
|
/**
|
|
264
264
|
* @remarks
|
|
265
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
265
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8000 characters.
|
|
266
266
|
*
|
|
267
267
|
* @example
|
|
268
268
|
* Extract only user product preferences
|
|
@@ -270,15 +270,15 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicy extends $
|
|
|
270
270
|
customInstructions?: string;
|
|
271
271
|
/**
|
|
272
272
|
* @remarks
|
|
273
|
-
* The list of exclusion rules. Content that matches
|
|
273
|
+
* The list of exclusion rules. Content that matches these rules is not extracted.
|
|
274
274
|
*
|
|
275
275
|
* @example
|
|
276
|
-
* ["Password","ID number"]
|
|
276
|
+
* ["Password", "ID number"]
|
|
277
277
|
*/
|
|
278
278
|
excludeRules?: string[];
|
|
279
279
|
/**
|
|
280
280
|
* @remarks
|
|
281
|
-
* The extraction model
|
|
281
|
+
* The configuration of the extraction model.
|
|
282
282
|
*/
|
|
283
283
|
model?: GetContextStoreResponseBodyConfigExtractionPolicyModel;
|
|
284
284
|
/**
|
|
@@ -311,7 +311,7 @@ export declare class GetContextStoreResponseBodyConfigInnerSource extends $dara.
|
|
|
311
311
|
logstore?: string;
|
|
312
312
|
/**
|
|
313
313
|
* @remarks
|
|
314
|
-
* The name of the
|
|
314
|
+
* The name of the SLS project.
|
|
315
315
|
*
|
|
316
316
|
* @example
|
|
317
317
|
* agentloop-xxx
|
|
@@ -391,7 +391,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
|
|
|
391
391
|
schemaContract?: string;
|
|
392
392
|
/**
|
|
393
393
|
* @remarks
|
|
394
|
-
* The version
|
|
394
|
+
* The schema version.
|
|
395
395
|
*
|
|
396
396
|
* @example
|
|
397
397
|
* 1
|
|
@@ -411,7 +411,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
|
|
|
411
411
|
export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
*
|
|
414
|
+
* The scope fields that require at least one non-empty value. Valid values: userId, agentId, appId, and runId.
|
|
415
415
|
*
|
|
416
416
|
* @example
|
|
417
417
|
* ["userId"]
|
|
@@ -431,7 +431,7 @@ export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.
|
|
|
431
431
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends $dara.Model {
|
|
432
432
|
/**
|
|
433
433
|
* @remarks
|
|
434
|
-
* The description of the field. This parameter is required when usage is set to extraction-input
|
|
434
|
+
* The description of the field. This parameter is required when usage is set to extraction-input and is appended to the extraction prompt.
|
|
435
435
|
*
|
|
436
436
|
* @example
|
|
437
437
|
* Customer tier
|
|
@@ -455,7 +455,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
455
455
|
sourceField?: string;
|
|
456
456
|
/**
|
|
457
457
|
* @remarks
|
|
458
|
-
* The write
|
|
458
|
+
* The target write path, such as metadata.customerTier.
|
|
459
459
|
*
|
|
460
460
|
* @example
|
|
461
461
|
* metadata.customerTier
|
|
@@ -463,7 +463,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
463
463
|
target?: string;
|
|
464
464
|
/**
|
|
465
465
|
* @remarks
|
|
466
|
-
* The usage of the field. Valid values: extraction-input
|
|
466
|
+
* The usage of the field. Valid values: extraction-input: Participates in extraction. ignore: Ignored.
|
|
467
467
|
*
|
|
468
468
|
* @example
|
|
469
469
|
* extraction-input
|
|
@@ -483,7 +483,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
483
483
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
|
|
484
484
|
/**
|
|
485
485
|
* @remarks
|
|
486
|
-
* The subset of the pipeline where clause
|
|
486
|
+
* The subset of the pipeline where clause, which is pushed down to SQL.
|
|
487
487
|
*
|
|
488
488
|
* @example
|
|
489
489
|
* appId = \\"crm-service\\"
|
|
@@ -503,9 +503,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extend
|
|
|
503
503
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
504
504
|
/**
|
|
505
505
|
* @remarks
|
|
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.
|
|
506
|
+
* The version consumption mode. Valid values: follow: Consumes data incrementally based on __dataset_seq. fixed: Consumes the specified ACTIVE version in full at once.
|
|
509
507
|
*
|
|
510
508
|
* @example
|
|
511
509
|
* follow
|
|
@@ -546,7 +544,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
546
544
|
customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
|
|
547
545
|
/**
|
|
548
546
|
* @remarks
|
|
549
|
-
* The name of the dataset in the same AgentSpace. This parameter cannot be
|
|
547
|
+
* The name of the dataset in the same AgentSpace. This parameter cannot be modified after creation.
|
|
550
548
|
*
|
|
551
549
|
* @example
|
|
552
550
|
* trajectory-with-crm-profile
|
|
@@ -600,7 +598,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
600
598
|
agentNames?: string[];
|
|
601
599
|
/**
|
|
602
600
|
* @remarks
|
|
603
|
-
* Specifies whether to exclude degraded trajectories. Default value: false, which
|
|
601
|
+
* Specifies whether to exclude degraded trajectories. Default value: false, which means degraded trajectories are included.
|
|
604
602
|
*
|
|
605
603
|
* @example
|
|
606
604
|
* false
|
|
@@ -608,7 +606,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
608
606
|
excludeDegraded?: boolean;
|
|
609
607
|
/**
|
|
610
608
|
* @remarks
|
|
611
|
-
* The minimum number of steps
|
|
609
|
+
* The minimum number of steps, which must be greater than or equal to 0.
|
|
612
610
|
*
|
|
613
611
|
* @example
|
|
614
612
|
* 2
|
|
@@ -616,7 +614,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
616
614
|
minStepCount?: number;
|
|
617
615
|
/**
|
|
618
616
|
* @remarks
|
|
619
|
-
* The native
|
|
617
|
+
* The native SLS query statement, which is combined with the preceding conditions using AND.
|
|
620
618
|
*
|
|
621
619
|
* @example
|
|
622
620
|
* tool_names:"search_order"
|
|
@@ -644,7 +642,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
644
642
|
export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping extends $dara.Model {
|
|
645
643
|
/**
|
|
646
644
|
* @remarks
|
|
647
|
-
* The JSONPath
|
|
645
|
+
* The JSONPath for agentId. Default value: $.agent_name.
|
|
648
646
|
*
|
|
649
647
|
* @example
|
|
650
648
|
* $.agent_name
|
|
@@ -652,7 +650,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
652
650
|
agentId?: string;
|
|
653
651
|
/**
|
|
654
652
|
* @remarks
|
|
655
|
-
* The JSONPath
|
|
653
|
+
* The JSONPath for appId. Default value: $.service_names[0].
|
|
656
654
|
*
|
|
657
655
|
* @example
|
|
658
656
|
* $.service_names[0]
|
|
@@ -660,7 +658,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
660
658
|
appId?: string;
|
|
661
659
|
/**
|
|
662
660
|
* @remarks
|
|
663
|
-
* The JSONPath
|
|
661
|
+
* The JSONPath for runId. By default, this field is not mapped to prevent memory isolation by a single trajectory.
|
|
664
662
|
*
|
|
665
663
|
* @example
|
|
666
664
|
* $.trajectory_id
|
|
@@ -668,7 +666,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
668
666
|
runId?: string;
|
|
669
667
|
/**
|
|
670
668
|
* @remarks
|
|
671
|
-
* The JSONPath
|
|
669
|
+
* The JSONPath for userId. By default, version 1 does not map this field, and version 2 sequentially retrieves user.id and enduser.id from agent attributes.
|
|
672
670
|
*
|
|
673
671
|
* @example
|
|
674
672
|
* $.trajectory_extensions.user_id
|
|
@@ -693,7 +691,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $
|
|
|
693
691
|
filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
|
|
694
692
|
/**
|
|
695
693
|
* @remarks
|
|
696
|
-
* The name of the trajectory Logstore. Default value: agent-trajectory.
|
|
694
|
+
* The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be changed after creation.
|
|
697
695
|
*
|
|
698
696
|
* @example
|
|
699
697
|
* agent-trajectory
|
|
@@ -709,12 +707,20 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $
|
|
|
709
707
|
pollIntervalSeconds?: number;
|
|
710
708
|
/**
|
|
711
709
|
* @remarks
|
|
712
|
-
* The scope field mapping.
|
|
710
|
+
* The scope field mapping. Dot paths, array indices, and quoted property keys are supported. An empty string indicates no mapping.
|
|
713
711
|
*/
|
|
714
712
|
scopeMapping?: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping;
|
|
715
713
|
/**
|
|
716
714
|
* @remarks
|
|
717
|
-
* The
|
|
715
|
+
* The default mapping version for trajectory identity. Valid values: 1: Retains legacy rules. 2: Reads user.id or enduser.id from agent attributes. The version is frozen upon creation.
|
|
716
|
+
*
|
|
717
|
+
* @example
|
|
718
|
+
* 2
|
|
719
|
+
*/
|
|
720
|
+
scopeMappingVersion?: number;
|
|
721
|
+
/**
|
|
722
|
+
* @remarks
|
|
723
|
+
* The start time for trajectory consumption, in ISO 8601 UTC format. If not specified, the default is the creation time.
|
|
718
724
|
*
|
|
719
725
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
720
726
|
*
|
|
@@ -736,7 +742,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $
|
|
|
736
742
|
export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.Model {
|
|
737
743
|
/**
|
|
738
744
|
* @remarks
|
|
739
|
-
* The continuous consumption mode
|
|
745
|
+
* The continuous consumption mode, which is fixed to follow.
|
|
740
746
|
*
|
|
741
747
|
* @example
|
|
742
748
|
* follow
|
|
@@ -744,7 +750,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
744
750
|
mode?: string;
|
|
745
751
|
/**
|
|
746
752
|
* @remarks
|
|
747
|
-
* The initial consumed append sequence number
|
|
753
|
+
* The initial consumed append sequence number, which is a decimal string of a non-negative int64. Default value: 0. The __dataset_seq field is used, and the business timestamp is not used as the consumption checkpoint.
|
|
748
754
|
*
|
|
749
755
|
* @example
|
|
750
756
|
* 0
|
|
@@ -764,7 +770,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
764
770
|
export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
765
771
|
/**
|
|
766
772
|
* @remarks
|
|
767
|
-
* The AgentSpace where the trace data source is located, which is the same as the AgentSpace to which it
|
|
773
|
+
* The AgentSpace where the trace data source is located, which is the same as the AgentSpace to which it belongs upon creation.
|
|
768
774
|
*
|
|
769
775
|
* @example
|
|
770
776
|
* my-agent-space
|
|
@@ -772,7 +778,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
772
778
|
agentSpace?: string;
|
|
773
779
|
/**
|
|
774
780
|
* @remarks
|
|
775
|
-
* The DatasetBinding v1 shared with optimization
|
|
781
|
+
* The DatasetBinding v1 shared with the optimization task, which retains fixed column validation, supplementary column usage, and all or window selection.
|
|
776
782
|
*
|
|
777
783
|
* @example
|
|
778
784
|
* {"version":1,"selection":{"mode":"all"}}
|
|
@@ -782,7 +788,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
782
788
|
};
|
|
783
789
|
/**
|
|
784
790
|
* @remarks
|
|
785
|
-
* The
|
|
791
|
+
* The Dataset datasource config for the memory type. This parameter is required when the memory type is used and source.type is set to dataset.
|
|
786
792
|
*/
|
|
787
793
|
dataset?: GetContextStoreResponseBodyConfigSourceDataset;
|
|
788
794
|
/**
|
|
@@ -795,7 +801,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
795
801
|
datasetName?: string;
|
|
796
802
|
/**
|
|
797
803
|
* @remarks
|
|
798
|
-
* The input format of the dataset.
|
|
804
|
+
* The input format of the dataset. For the experience store, the dataset source is atif.
|
|
799
805
|
*
|
|
800
806
|
* @example
|
|
801
807
|
* atif
|
|
@@ -803,7 +809,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
803
809
|
format?: string;
|
|
804
810
|
/**
|
|
805
811
|
* @remarks
|
|
806
|
-
* The maximum number of records
|
|
812
|
+
* The maximum number of records read in a single dataset operation. Valid values: 1 to 1000.
|
|
807
813
|
*
|
|
808
814
|
* @example
|
|
809
815
|
* 1000
|
|
@@ -811,7 +817,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
811
817
|
maxRecords?: number;
|
|
812
818
|
/**
|
|
813
819
|
* @remarks
|
|
814
|
-
* The start time for data
|
|
820
|
+
* The start time for data backfilling, in ISO 8601 UTC format.
|
|
815
821
|
*
|
|
816
822
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
817
823
|
*
|
|
@@ -826,7 +832,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
826
832
|
trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
|
|
827
833
|
/**
|
|
828
834
|
* @remarks
|
|
829
|
-
* The source type
|
|
835
|
+
* The source type, which can be trajectory or dataset. For the experience type, if this parameter is not passed, trajectory is used. For Dataset, the datasetName, format, and binding at this level are used. The default is manual, and versionPolicy.mode=follow continuously processes and automatically applies to the experience store. For the memory type, if this parameter is not passed, it indicates manual (only AddContexts writes). Otherwise, the trajectory or dataset sub-configuration with the same name is used. This parameter cannot be changed after creation.
|
|
830
836
|
*
|
|
831
837
|
* @example
|
|
832
838
|
* dataset
|
|
@@ -834,7 +840,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
834
840
|
type?: string;
|
|
835
841
|
/**
|
|
836
842
|
* @remarks
|
|
837
|
-
* The continuous consumption configuration for the native experience
|
|
843
|
+
* The continuous consumption configuration for the native experience store dataset. The default is manual. The follow mode only allows binding.selection.mode=all and consumes by append sequence number. This parameter cannot be changed after creation.
|
|
838
844
|
*/
|
|
839
845
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
|
|
840
846
|
static names(): {
|
|
@@ -851,14 +857,14 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
851
857
|
export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
852
858
|
/**
|
|
853
859
|
* @remarks
|
|
854
|
-
* The processing progress. For memory trajectory, the
|
|
860
|
+
* The processing progress. For memory trajectory, the value is {processTimeNs, watermarkMs}. For dataset, the value is {seq}. For manual, the value is {}. For experience dataset follow, the seq uses an exact int64 decimal string.
|
|
855
861
|
*/
|
|
856
862
|
checkpoint?: {
|
|
857
863
|
[key: string]: any;
|
|
858
864
|
};
|
|
859
865
|
/**
|
|
860
866
|
* @remarks
|
|
861
|
-
* The current
|
|
867
|
+
* The current reserved sequence window {after,until,runId} for experience dataset follow. All sequence numbers are decimal strings. A failure does not advance the submitted checkpoint.
|
|
862
868
|
*/
|
|
863
869
|
currentWindow?: {
|
|
864
870
|
[key: string]: string;
|
|
@@ -873,7 +879,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
873
879
|
lastError?: string;
|
|
874
880
|
/**
|
|
875
881
|
* @remarks
|
|
876
|
-
* The run ID of the last successful automatic application to the native experience
|
|
882
|
+
* The run ID of the last successful automatic application to the native experience library. This is for audit purposes only.
|
|
877
883
|
*
|
|
878
884
|
* @example
|
|
879
885
|
* opr-example
|
|
@@ -881,7 +887,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
881
887
|
lastRunId?: string;
|
|
882
888
|
/**
|
|
883
889
|
* @remarks
|
|
884
|
-
* The
|
|
890
|
+
* The time when the window was last processed, in ISO 8601 UTC format.
|
|
885
891
|
*
|
|
886
892
|
* @example
|
|
887
893
|
* 2026-10-01T08:00:00Z
|
|
@@ -917,7 +923,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
917
923
|
export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
|
|
918
924
|
/**
|
|
919
925
|
* @remarks
|
|
920
|
-
* The allowed storage actions.
|
|
926
|
+
* The allowed storage actions. By default, all actions are allowed, including ADD, UPDATE, MERGE, and DELETE.
|
|
921
927
|
*
|
|
922
928
|
* @example
|
|
923
929
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -941,7 +947,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
941
947
|
humanEditProtection?: boolean;
|
|
942
948
|
/**
|
|
943
949
|
* @remarks
|
|
944
|
-
* The merge key for upsert
|
|
950
|
+
* The merge key for the upsert mode. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
945
951
|
*
|
|
946
952
|
* @example
|
|
947
953
|
* semantic
|
|
@@ -949,7 +955,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
949
955
|
mergeKey?: string;
|
|
950
956
|
/**
|
|
951
957
|
* @remarks
|
|
952
|
-
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
958
|
+
* The storage mode. Valid values: event (event append) and upsert (merge and update). Default value: upsert.
|
|
953
959
|
*
|
|
954
960
|
* @example
|
|
955
961
|
* upsert
|
|
@@ -965,7 +971,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
965
971
|
similarityThreshold?: number;
|
|
966
972
|
/**
|
|
967
973
|
* @remarks
|
|
968
|
-
* The number of days before
|
|
974
|
+
* The number of days before a memory expires. A value of 0 indicates that the memory does not expire.
|
|
969
975
|
*
|
|
970
976
|
* @example
|
|
971
977
|
* 0
|
|
@@ -990,27 +996,27 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
990
996
|
audit?: GetContextStoreResponseBodyConfigAudit;
|
|
991
997
|
/**
|
|
992
998
|
* @remarks
|
|
993
|
-
* The Simple Log Service (SLS) audit
|
|
999
|
+
* The location of the Simple Log Service (SLS) audit logs for the experience store, which is read by the console by using the existing GetLogs permission.
|
|
994
1000
|
*/
|
|
995
1001
|
auditLogStore?: GetContextStoreResponseBodyConfigAuditLogStore;
|
|
996
1002
|
/**
|
|
997
1003
|
* @remarks
|
|
998
|
-
* The extraction policies.
|
|
1004
|
+
* The extraction policies. A total of 1 to 10 policies can be configured. The strategyVersion field indicates the snapshot version of the global configuration.
|
|
999
1005
|
*/
|
|
1000
1006
|
extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
|
|
1001
1007
|
/**
|
|
1002
1008
|
* @remarks
|
|
1003
|
-
* The extraction policy
|
|
1009
|
+
* The extraction policy for the memory type.
|
|
1004
1010
|
*/
|
|
1005
1011
|
extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
|
|
1006
1012
|
/**
|
|
1007
1013
|
* @remarks
|
|
1008
|
-
* The system-assigned event Logstore
|
|
1014
|
+
* The system-assigned coordinates of the event Logstore for the memory type, which is located in the SLS project bound to the AgentSpace.
|
|
1009
1015
|
*/
|
|
1010
1016
|
innerSource?: GetContextStoreResponseBodyConfigInnerSource;
|
|
1011
1017
|
/**
|
|
1012
1018
|
* @remarks
|
|
1013
|
-
* The metadata field mapping
|
|
1019
|
+
* The metadata field mapping. The key is the business field and the value is the storage field.
|
|
1014
1020
|
*
|
|
1015
1021
|
* @example
|
|
1016
1022
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -1028,7 +1034,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1028
1034
|
miningInterval?: string;
|
|
1029
1035
|
/**
|
|
1030
1036
|
* @remarks
|
|
1031
|
-
* The name of the internal running task associated with the server. Continuous
|
|
1037
|
+
* The name of the internal running task associated with the server. Continuous databases use this for read-only viewing of consumption records, while manual databases can run limited mining. This value is not inferred by the client and cannot replace the ingestion and recall criteria of the native experience database.
|
|
1032
1038
|
*
|
|
1033
1039
|
* @example
|
|
1034
1040
|
* experience-review-library
|
|
@@ -1046,7 +1052,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1046
1052
|
outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
|
|
1047
1053
|
/**
|
|
1048
1054
|
* @remarks
|
|
1049
|
-
* Specifies whether runtime recall is allowed for the experience
|
|
1055
|
+
* Specifies whether runtime recall is allowed for the experience store. This parameter is returned only for the experience type.
|
|
1050
1056
|
*/
|
|
1051
1057
|
runtimeRecallEnabled?: boolean;
|
|
1052
1058
|
/**
|
|
@@ -1064,7 +1070,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1064
1070
|
scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
|
|
1065
1071
|
/**
|
|
1066
1072
|
* @remarks
|
|
1067
|
-
* The list of service names, which
|
|
1073
|
+
* The list of service names, which works with source.agentSpace to locate the trace data source. This parameter cannot be modified in the current phase.
|
|
1068
1074
|
*
|
|
1069
1075
|
* @example
|
|
1070
1076
|
* ["order-service","payment-service"]
|
|
@@ -1072,17 +1078,17 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1072
1078
|
serviceNames?: string[];
|
|
1073
1079
|
/**
|
|
1074
1080
|
* @remarks
|
|
1075
|
-
* The
|
|
1081
|
+
* The datasource config passed by the user, which serves only as the root identity of the data source.
|
|
1076
1082
|
*/
|
|
1077
1083
|
source?: GetContextStoreResponseBodyConfigSource;
|
|
1078
1084
|
/**
|
|
1079
1085
|
* @remarks
|
|
1080
|
-
* The running status of the data source
|
|
1086
|
+
* The running status of the data source for the memory type and experience dataset follow. The experience library submits a checkpoint only after it is published and automatically applied. The checkpoint is retained when the process is paused or restarted.
|
|
1081
1087
|
*/
|
|
1082
1088
|
sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
|
|
1083
1089
|
/**
|
|
1084
1090
|
* @remarks
|
|
1085
|
-
* The actual storage modes
|
|
1091
|
+
* The actual storage modes of each policy. A hybrid library includes both event and upsert modes.
|
|
1086
1092
|
*/
|
|
1087
1093
|
storageModes?: string[];
|
|
1088
1094
|
/**
|
|
@@ -1092,7 +1098,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1092
1098
|
storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
|
|
1093
1099
|
/**
|
|
1094
1100
|
* @remarks
|
|
1095
|
-
* The
|
|
1101
|
+
* The currently effective strategy version number for the memory type.
|
|
1096
1102
|
*
|
|
1097
1103
|
* @example
|
|
1098
1104
|
* 1
|
|
@@ -1112,7 +1118,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1112
1118
|
export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
1113
1119
|
/**
|
|
1114
1120
|
* @remarks
|
|
1115
|
-
* The name of the
|
|
1121
|
+
* The name of the AgentSpace to which the context store belongs.
|
|
1116
1122
|
*
|
|
1117
1123
|
* @example
|
|
1118
1124
|
* my-agent-space
|
|
@@ -1120,7 +1126,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1120
1126
|
agentSpace?: string;
|
|
1121
1127
|
/**
|
|
1122
1128
|
* @remarks
|
|
1123
|
-
* The context
|
|
1129
|
+
* The configuration of the context store.
|
|
1124
1130
|
*/
|
|
1125
1131
|
config?: GetContextStoreResponseBodyConfig;
|
|
1126
1132
|
/**
|
|
@@ -1133,7 +1139,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1133
1139
|
contextStoreName?: string;
|
|
1134
1140
|
/**
|
|
1135
1141
|
* @remarks
|
|
1136
|
-
* The type of the context store, such as experience or memory.
|
|
1142
|
+
* The type of the context store, such as experience (experience store) or memory (memory store).
|
|
1137
1143
|
*
|
|
1138
1144
|
* @example
|
|
1139
1145
|
* experience
|
|
@@ -1141,7 +1147,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1141
1147
|
contextType?: string;
|
|
1142
1148
|
/**
|
|
1143
1149
|
* @remarks
|
|
1144
|
-
* The
|
|
1150
|
+
* The time when the context library was created, in ISO 8601 UTC format.
|
|
1145
1151
|
*
|
|
1146
1152
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1147
1153
|
*
|
|
@@ -1159,7 +1165,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1159
1165
|
description?: string;
|
|
1160
1166
|
/**
|
|
1161
1167
|
* @remarks
|
|
1162
|
-
* The ID of the
|
|
1168
|
+
* The region ID of the context store.
|
|
1163
1169
|
*
|
|
1164
1170
|
* @example
|
|
1165
1171
|
* cn-hangzhou
|
|
@@ -1167,7 +1173,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1167
1173
|
regionId?: string;
|
|
1168
1174
|
/**
|
|
1169
1175
|
* @remarks
|
|
1170
|
-
* The request ID, which is used to locate the request
|
|
1176
|
+
* The request ID, which is used to locate the request during troubleshooting.
|
|
1171
1177
|
*
|
|
1172
1178
|
* @example
|
|
1173
1179
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -1183,7 +1189,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1183
1189
|
status?: string;
|
|
1184
1190
|
/**
|
|
1185
1191
|
* @remarks
|
|
1186
|
-
* The
|
|
1192
|
+
* The time when the context library was last updated, in ISO 8601 UTC format.
|
|
1187
1193
|
*
|
|
1188
1194
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1189
1195
|
*
|
|
@@ -498,6 +498,7 @@ class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
|
|
|
498
498
|
logstore: 'logstore',
|
|
499
499
|
pollIntervalSeconds: 'pollIntervalSeconds',
|
|
500
500
|
scopeMapping: 'scopeMapping',
|
|
501
|
+
scopeMappingVersion: 'scopeMappingVersion',
|
|
501
502
|
startTime: 'startTime',
|
|
502
503
|
};
|
|
503
504
|
}
|
|
@@ -507,6 +508,7 @@ class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
|
|
|
507
508
|
logstore: 'string',
|
|
508
509
|
pollIntervalSeconds: 'number',
|
|
509
510
|
scopeMapping: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping,
|
|
511
|
+
scopeMappingVersion: 'number',
|
|
510
512
|
startTime: 'string',
|
|
511
513
|
};
|
|
512
514
|
}
|