@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
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to write item events for dropped candidates during
|
|
8
|
+
* Specifies whether to write item events for dropped candidates during recall. Default value: false.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* false
|
|
@@ -13,7 +13,7 @@ export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
|
|
|
13
13
|
droppedCandidates?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The recording mode for
|
|
16
|
+
* The query recording mode for recall. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* raw
|
|
@@ -55,7 +55,7 @@ export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
|
|
|
55
55
|
export class GetContextStoreResponseBodyConfigAuditLogStore extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The name of the Logstore for the
|
|
58
|
+
* The name of the Logstore for the audit logs of the experience store.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* experience_audit
|
|
@@ -63,7 +63,7 @@ export class GetContextStoreResponseBodyConfigAuditLogStore extends $dara.Model
|
|
|
63
63
|
logstore?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The name of the
|
|
66
|
+
* The name of the SLS project where the audit logs of the experience store are stored.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* agentloop-xxx
|
|
@@ -95,7 +95,7 @@ export class GetContextStoreResponseBodyConfigAuditLogStore extends $dara.Model
|
|
|
95
95
|
export class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
98
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported, and internal platform credentials are used.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* qwen3.8-flash
|
|
@@ -125,7 +125,7 @@ export class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $d
|
|
|
125
125
|
export class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The allowed storage actions.
|
|
128
|
+
* The allowed storage actions. By default, all actions are allowed, including ADD, UPDATE, MERGE, and DELETE.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -149,7 +149,7 @@ export class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy ex
|
|
|
149
149
|
humanEditProtection?: boolean;
|
|
150
150
|
/**
|
|
151
151
|
* @remarks
|
|
152
|
-
* The merge key for upsert
|
|
152
|
+
* The merge key for the upsert mode. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
153
153
|
*
|
|
154
154
|
* @example
|
|
155
155
|
* semantic
|
|
@@ -157,7 +157,7 @@ export class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy ex
|
|
|
157
157
|
mergeKey?: string;
|
|
158
158
|
/**
|
|
159
159
|
* @remarks
|
|
160
|
-
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
160
|
+
* The storage mode. Valid values: event (event append) and upsert (merge and update). Default value: upsert.
|
|
161
161
|
*
|
|
162
162
|
* @example
|
|
163
163
|
* upsert
|
|
@@ -173,7 +173,7 @@ export class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy ex
|
|
|
173
173
|
similarityThreshold?: number;
|
|
174
174
|
/**
|
|
175
175
|
* @remarks
|
|
176
|
-
* The number of days before
|
|
176
|
+
* The number of days before a memory expires. A value of 0 indicates that the memory does not expire.
|
|
177
177
|
*
|
|
178
178
|
* @example
|
|
179
179
|
* 0
|
|
@@ -226,7 +226,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.M
|
|
|
226
226
|
categories?: string[];
|
|
227
227
|
/**
|
|
228
228
|
* @remarks
|
|
229
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
229
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8000 characters.
|
|
230
230
|
*
|
|
231
231
|
* @example
|
|
232
232
|
* Extract only user product preferences
|
|
@@ -242,15 +242,15 @@ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.M
|
|
|
242
242
|
enabled?: boolean;
|
|
243
243
|
/**
|
|
244
244
|
* @remarks
|
|
245
|
-
* The list of exclusion rules. Content that matches
|
|
245
|
+
* The list of exclusion rules. Content that matches these rules is not extracted.
|
|
246
246
|
*
|
|
247
247
|
* @example
|
|
248
|
-
* ["Password","ID number"]
|
|
248
|
+
* ["Password", "ID number"]
|
|
249
249
|
*/
|
|
250
250
|
excludeRules?: string[];
|
|
251
251
|
/**
|
|
252
252
|
* @remarks
|
|
253
|
-
* The extraction model
|
|
253
|
+
* The configuration of the extraction model.
|
|
254
254
|
*/
|
|
255
255
|
model?: GetContextStoreResponseBodyConfigExtractionPoliciesModel;
|
|
256
256
|
/**
|
|
@@ -271,12 +271,12 @@ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.M
|
|
|
271
271
|
preset?: string;
|
|
272
272
|
/**
|
|
273
273
|
* @remarks
|
|
274
|
-
* The independent storage rules for this policy. If omitted, the original value is retained.
|
|
274
|
+
* 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.
|
|
275
275
|
*/
|
|
276
276
|
storagePolicy?: GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy;
|
|
277
277
|
/**
|
|
278
278
|
* @remarks
|
|
279
|
-
* The stable ID of the extraction policy.
|
|
279
|
+
* 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.
|
|
280
280
|
*
|
|
281
281
|
* This parameter is required.
|
|
282
282
|
*
|
|
@@ -336,7 +336,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.M
|
|
|
336
336
|
export class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
|
|
337
337
|
/**
|
|
338
338
|
* @remarks
|
|
339
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
339
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported, and internal platform credentials are used.
|
|
340
340
|
*
|
|
341
341
|
* @example
|
|
342
342
|
* qwen3.8-flash
|
|
@@ -374,7 +374,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicy extends $dara.Mod
|
|
|
374
374
|
categories?: string[];
|
|
375
375
|
/**
|
|
376
376
|
* @remarks
|
|
377
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
377
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8000 characters.
|
|
378
378
|
*
|
|
379
379
|
* @example
|
|
380
380
|
* Extract only user product preferences
|
|
@@ -382,15 +382,15 @@ export class GetContextStoreResponseBodyConfigExtractionPolicy extends $dara.Mod
|
|
|
382
382
|
customInstructions?: string;
|
|
383
383
|
/**
|
|
384
384
|
* @remarks
|
|
385
|
-
* The list of exclusion rules. Content that matches
|
|
385
|
+
* The list of exclusion rules. Content that matches these rules is not extracted.
|
|
386
386
|
*
|
|
387
387
|
* @example
|
|
388
|
-
* ["Password","ID number"]
|
|
388
|
+
* ["Password", "ID number"]
|
|
389
389
|
*/
|
|
390
390
|
excludeRules?: string[];
|
|
391
391
|
/**
|
|
392
392
|
* @remarks
|
|
393
|
-
* The extraction model
|
|
393
|
+
* The configuration of the extraction model.
|
|
394
394
|
*/
|
|
395
395
|
model?: GetContextStoreResponseBodyConfigExtractionPolicyModel;
|
|
396
396
|
/**
|
|
@@ -450,7 +450,7 @@ export class GetContextStoreResponseBodyConfigInnerSource extends $dara.Model {
|
|
|
450
450
|
logstore?: string;
|
|
451
451
|
/**
|
|
452
452
|
* @remarks
|
|
453
|
-
* The name of the
|
|
453
|
+
* The name of the SLS project.
|
|
454
454
|
*
|
|
455
455
|
* @example
|
|
456
456
|
* agentloop-xxx
|
|
@@ -556,7 +556,7 @@ export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model
|
|
|
556
556
|
schemaContract?: string;
|
|
557
557
|
/**
|
|
558
558
|
* @remarks
|
|
559
|
-
* The version
|
|
559
|
+
* The schema version.
|
|
560
560
|
*
|
|
561
561
|
* @example
|
|
562
562
|
* 1
|
|
@@ -592,7 +592,7 @@ export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model
|
|
|
592
592
|
export class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
|
|
593
593
|
/**
|
|
594
594
|
* @remarks
|
|
595
|
-
*
|
|
595
|
+
* The scope fields that require at least one non-empty value. Valid values: userId, agentId, appId, and runId.
|
|
596
596
|
*
|
|
597
597
|
* @example
|
|
598
598
|
* ["userId"]
|
|
@@ -625,7 +625,7 @@ export class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
|
|
|
625
625
|
export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends $dara.Model {
|
|
626
626
|
/**
|
|
627
627
|
* @remarks
|
|
628
|
-
* The description of the field. This parameter is required when usage is set to extraction-input
|
|
628
|
+
* The description of the field. This parameter is required when usage is set to extraction-input and is appended to the extraction prompt.
|
|
629
629
|
*
|
|
630
630
|
* @example
|
|
631
631
|
* Customer tier
|
|
@@ -649,7 +649,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
|
|
|
649
649
|
sourceField?: string;
|
|
650
650
|
/**
|
|
651
651
|
* @remarks
|
|
652
|
-
* The write
|
|
652
|
+
* The target write path, such as metadata.customerTier.
|
|
653
653
|
*
|
|
654
654
|
* @example
|
|
655
655
|
* metadata.customerTier
|
|
@@ -657,7 +657,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
|
|
|
657
657
|
target?: string;
|
|
658
658
|
/**
|
|
659
659
|
* @remarks
|
|
660
|
-
* The usage of the field. Valid values: extraction-input
|
|
660
|
+
* The usage of the field. Valid values: extraction-input: Participates in extraction. ignore: Ignored.
|
|
661
661
|
*
|
|
662
662
|
* @example
|
|
663
663
|
* extraction-input
|
|
@@ -695,7 +695,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
|
|
|
695
695
|
export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
|
|
696
696
|
/**
|
|
697
697
|
* @remarks
|
|
698
|
-
* The subset of the pipeline where clause
|
|
698
|
+
* The subset of the pipeline where clause, which is pushed down to SQL.
|
|
699
699
|
*
|
|
700
700
|
* @example
|
|
701
701
|
* appId = \\"crm-service\\"
|
|
@@ -725,9 +725,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.
|
|
|
725
725
|
export class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
726
726
|
/**
|
|
727
727
|
* @remarks
|
|
728
|
-
* The version consumption mode. Valid values:
|
|
729
|
-
* - follow: consumes data incrementally based on __dataset_seq.
|
|
730
|
-
* - fixed: consumes the specified ACTIVE version in full at once.
|
|
728
|
+
* The version consumption mode. Valid values: follow: Consumes data incrementally based on __dataset_seq. fixed: Consumes the specified ACTIVE version in full at once.
|
|
731
729
|
*
|
|
732
730
|
* @example
|
|
733
731
|
* follow
|
|
@@ -782,7 +780,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
|
|
|
782
780
|
customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
|
|
783
781
|
/**
|
|
784
782
|
* @remarks
|
|
785
|
-
* The name of the dataset in the same AgentSpace. This parameter cannot be
|
|
783
|
+
* The name of the dataset in the same AgentSpace. This parameter cannot be modified after creation.
|
|
786
784
|
*
|
|
787
785
|
* @example
|
|
788
786
|
* trajectory-with-crm-profile
|
|
@@ -865,7 +863,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
|
|
|
865
863
|
agentNames?: string[];
|
|
866
864
|
/**
|
|
867
865
|
* @remarks
|
|
868
|
-
* Specifies whether to exclude degraded trajectories. Default value: false, which
|
|
866
|
+
* Specifies whether to exclude degraded trajectories. Default value: false, which means degraded trajectories are included.
|
|
869
867
|
*
|
|
870
868
|
* @example
|
|
871
869
|
* false
|
|
@@ -873,7 +871,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
|
|
|
873
871
|
excludeDegraded?: boolean;
|
|
874
872
|
/**
|
|
875
873
|
* @remarks
|
|
876
|
-
* The minimum number of steps
|
|
874
|
+
* The minimum number of steps, which must be greater than or equal to 0.
|
|
877
875
|
*
|
|
878
876
|
* @example
|
|
879
877
|
* 2
|
|
@@ -881,7 +879,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
|
|
|
881
879
|
minStepCount?: number;
|
|
882
880
|
/**
|
|
883
881
|
* @remarks
|
|
884
|
-
* The native
|
|
882
|
+
* The native SLS query statement, which is combined with the preceding conditions using AND.
|
|
885
883
|
*
|
|
886
884
|
* @example
|
|
887
885
|
* tool_names:"search_order"
|
|
@@ -933,7 +931,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
|
|
|
933
931
|
export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping extends $dara.Model {
|
|
934
932
|
/**
|
|
935
933
|
* @remarks
|
|
936
|
-
* The JSONPath
|
|
934
|
+
* The JSONPath for agentId. Default value: $.agent_name.
|
|
937
935
|
*
|
|
938
936
|
* @example
|
|
939
937
|
* $.agent_name
|
|
@@ -941,7 +939,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
|
|
|
941
939
|
agentId?: string;
|
|
942
940
|
/**
|
|
943
941
|
* @remarks
|
|
944
|
-
* The JSONPath
|
|
942
|
+
* The JSONPath for appId. Default value: $.service_names[0].
|
|
945
943
|
*
|
|
946
944
|
* @example
|
|
947
945
|
* $.service_names[0]
|
|
@@ -949,7 +947,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
|
|
|
949
947
|
appId?: string;
|
|
950
948
|
/**
|
|
951
949
|
* @remarks
|
|
952
|
-
* The JSONPath
|
|
950
|
+
* The JSONPath for runId. By default, this field is not mapped to prevent memory isolation by a single trajectory.
|
|
953
951
|
*
|
|
954
952
|
* @example
|
|
955
953
|
* $.trajectory_id
|
|
@@ -957,7 +955,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
|
|
|
957
955
|
runId?: string;
|
|
958
956
|
/**
|
|
959
957
|
* @remarks
|
|
960
|
-
* The JSONPath
|
|
958
|
+
* 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.
|
|
961
959
|
*
|
|
962
960
|
* @example
|
|
963
961
|
* $.trajectory_extensions.user_id
|
|
@@ -998,7 +996,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
|
|
|
998
996
|
filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
|
|
999
997
|
/**
|
|
1000
998
|
* @remarks
|
|
1001
|
-
* The name of the trajectory Logstore. Default value: agent-trajectory.
|
|
999
|
+
* The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be changed after creation.
|
|
1002
1000
|
*
|
|
1003
1001
|
* @example
|
|
1004
1002
|
* agent-trajectory
|
|
@@ -1014,12 +1012,20 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
|
|
|
1014
1012
|
pollIntervalSeconds?: number;
|
|
1015
1013
|
/**
|
|
1016
1014
|
* @remarks
|
|
1017
|
-
* The scope field mapping.
|
|
1015
|
+
* The scope field mapping. Dot paths, array indices, and quoted property keys are supported. An empty string indicates no mapping.
|
|
1018
1016
|
*/
|
|
1019
1017
|
scopeMapping?: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping;
|
|
1020
1018
|
/**
|
|
1021
1019
|
* @remarks
|
|
1022
|
-
* The
|
|
1020
|
+
* 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.
|
|
1021
|
+
*
|
|
1022
|
+
* @example
|
|
1023
|
+
* 2
|
|
1024
|
+
*/
|
|
1025
|
+
scopeMappingVersion?: number;
|
|
1026
|
+
/**
|
|
1027
|
+
* @remarks
|
|
1028
|
+
* The start time for trajectory consumption, in ISO 8601 UTC format. If not specified, the default is the creation time.
|
|
1023
1029
|
*
|
|
1024
1030
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1025
1031
|
*
|
|
@@ -1033,6 +1039,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
|
|
|
1033
1039
|
logstore: 'logstore',
|
|
1034
1040
|
pollIntervalSeconds: 'pollIntervalSeconds',
|
|
1035
1041
|
scopeMapping: 'scopeMapping',
|
|
1042
|
+
scopeMappingVersion: 'scopeMappingVersion',
|
|
1036
1043
|
startTime: 'startTime',
|
|
1037
1044
|
};
|
|
1038
1045
|
}
|
|
@@ -1043,6 +1050,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
|
|
|
1043
1050
|
logstore: 'string',
|
|
1044
1051
|
pollIntervalSeconds: 'number',
|
|
1045
1052
|
scopeMapping: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping,
|
|
1053
|
+
scopeMappingVersion: 'number',
|
|
1046
1054
|
startTime: 'string',
|
|
1047
1055
|
};
|
|
1048
1056
|
}
|
|
@@ -1065,7 +1073,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
|
|
|
1065
1073
|
export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.Model {
|
|
1066
1074
|
/**
|
|
1067
1075
|
* @remarks
|
|
1068
|
-
* The continuous consumption mode
|
|
1076
|
+
* The continuous consumption mode, which is fixed to follow.
|
|
1069
1077
|
*
|
|
1070
1078
|
* @example
|
|
1071
1079
|
* follow
|
|
@@ -1073,7 +1081,7 @@ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.
|
|
|
1073
1081
|
mode?: string;
|
|
1074
1082
|
/**
|
|
1075
1083
|
* @remarks
|
|
1076
|
-
* The initial consumed append sequence number
|
|
1084
|
+
* 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.
|
|
1077
1085
|
*
|
|
1078
1086
|
* @example
|
|
1079
1087
|
* 0
|
|
@@ -1105,7 +1113,7 @@ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.
|
|
|
1105
1113
|
export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
1106
1114
|
/**
|
|
1107
1115
|
* @remarks
|
|
1108
|
-
* The AgentSpace where the trace data source is located, which is the same as the AgentSpace to which it
|
|
1116
|
+
* The AgentSpace where the trace data source is located, which is the same as the AgentSpace to which it belongs upon creation.
|
|
1109
1117
|
*
|
|
1110
1118
|
* @example
|
|
1111
1119
|
* my-agent-space
|
|
@@ -1113,7 +1121,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1113
1121
|
agentSpace?: string;
|
|
1114
1122
|
/**
|
|
1115
1123
|
* @remarks
|
|
1116
|
-
* The DatasetBinding v1 shared with optimization
|
|
1124
|
+
* The DatasetBinding v1 shared with the optimization task, which retains fixed column validation, supplementary column usage, and all or window selection.
|
|
1117
1125
|
*
|
|
1118
1126
|
* @example
|
|
1119
1127
|
* {"version":1,"selection":{"mode":"all"}}
|
|
@@ -1121,7 +1129,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1121
1129
|
binding?: { [key: string]: any };
|
|
1122
1130
|
/**
|
|
1123
1131
|
* @remarks
|
|
1124
|
-
* The
|
|
1132
|
+
* 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.
|
|
1125
1133
|
*/
|
|
1126
1134
|
dataset?: GetContextStoreResponseBodyConfigSourceDataset;
|
|
1127
1135
|
/**
|
|
@@ -1134,7 +1142,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1134
1142
|
datasetName?: string;
|
|
1135
1143
|
/**
|
|
1136
1144
|
* @remarks
|
|
1137
|
-
* The input format of the dataset.
|
|
1145
|
+
* The input format of the dataset. For the experience store, the dataset source is atif.
|
|
1138
1146
|
*
|
|
1139
1147
|
* @example
|
|
1140
1148
|
* atif
|
|
@@ -1142,7 +1150,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1142
1150
|
format?: string;
|
|
1143
1151
|
/**
|
|
1144
1152
|
* @remarks
|
|
1145
|
-
* The maximum number of records
|
|
1153
|
+
* The maximum number of records read in a single dataset operation. Valid values: 1 to 1000.
|
|
1146
1154
|
*
|
|
1147
1155
|
* @example
|
|
1148
1156
|
* 1000
|
|
@@ -1150,7 +1158,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1150
1158
|
maxRecords?: number;
|
|
1151
1159
|
/**
|
|
1152
1160
|
* @remarks
|
|
1153
|
-
* The start time for data
|
|
1161
|
+
* The start time for data backfilling, in ISO 8601 UTC format.
|
|
1154
1162
|
*
|
|
1155
1163
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1156
1164
|
*
|
|
@@ -1165,7 +1173,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1165
1173
|
trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
|
|
1166
1174
|
/**
|
|
1167
1175
|
* @remarks
|
|
1168
|
-
* The source type
|
|
1176
|
+
* 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.
|
|
1169
1177
|
*
|
|
1170
1178
|
* @example
|
|
1171
1179
|
* dataset
|
|
@@ -1173,7 +1181,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1173
1181
|
type?: string;
|
|
1174
1182
|
/**
|
|
1175
1183
|
* @remarks
|
|
1176
|
-
* The continuous consumption configuration for the native experience
|
|
1184
|
+
* 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.
|
|
1177
1185
|
*/
|
|
1178
1186
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
|
|
1179
1187
|
static names(): { [key: string]: string } {
|
|
@@ -1230,12 +1238,12 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1230
1238
|
export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
1231
1239
|
/**
|
|
1232
1240
|
* @remarks
|
|
1233
|
-
* The processing progress. For memory trajectory, the
|
|
1241
|
+
* 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.
|
|
1234
1242
|
*/
|
|
1235
1243
|
checkpoint?: { [key: string]: any };
|
|
1236
1244
|
/**
|
|
1237
1245
|
* @remarks
|
|
1238
|
-
* The current
|
|
1246
|
+
* 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.
|
|
1239
1247
|
*/
|
|
1240
1248
|
currentWindow?: { [key: string]: string };
|
|
1241
1249
|
/**
|
|
@@ -1248,7 +1256,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
|
1248
1256
|
lastError?: string;
|
|
1249
1257
|
/**
|
|
1250
1258
|
* @remarks
|
|
1251
|
-
* The run ID of the last successful automatic application to the native experience
|
|
1259
|
+
* The run ID of the last successful automatic application to the native experience library. This is for audit purposes only.
|
|
1252
1260
|
*
|
|
1253
1261
|
* @example
|
|
1254
1262
|
* opr-example
|
|
@@ -1256,7 +1264,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
|
1256
1264
|
lastRunId?: string;
|
|
1257
1265
|
/**
|
|
1258
1266
|
* @remarks
|
|
1259
|
-
* The
|
|
1267
|
+
* The time when the window was last processed, in ISO 8601 UTC format.
|
|
1260
1268
|
*
|
|
1261
1269
|
* @example
|
|
1262
1270
|
* 2026-10-01T08:00:00Z
|
|
@@ -1320,7 +1328,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
|
1320
1328
|
export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
|
|
1321
1329
|
/**
|
|
1322
1330
|
* @remarks
|
|
1323
|
-
* The allowed storage actions.
|
|
1331
|
+
* The allowed storage actions. By default, all actions are allowed, including ADD, UPDATE, MERGE, and DELETE.
|
|
1324
1332
|
*
|
|
1325
1333
|
* @example
|
|
1326
1334
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -1344,7 +1352,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
|
|
|
1344
1352
|
humanEditProtection?: boolean;
|
|
1345
1353
|
/**
|
|
1346
1354
|
* @remarks
|
|
1347
|
-
* The merge key for upsert
|
|
1355
|
+
* The merge key for the upsert mode. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
1348
1356
|
*
|
|
1349
1357
|
* @example
|
|
1350
1358
|
* semantic
|
|
@@ -1352,7 +1360,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
|
|
|
1352
1360
|
mergeKey?: string;
|
|
1353
1361
|
/**
|
|
1354
1362
|
* @remarks
|
|
1355
|
-
* The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
|
|
1363
|
+
* The storage mode. Valid values: event (event append) and upsert (merge and update). Default value: upsert.
|
|
1356
1364
|
*
|
|
1357
1365
|
* @example
|
|
1358
1366
|
* upsert
|
|
@@ -1368,7 +1376,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
|
|
|
1368
1376
|
similarityThreshold?: number;
|
|
1369
1377
|
/**
|
|
1370
1378
|
* @remarks
|
|
1371
|
-
* The number of days before
|
|
1379
|
+
* The number of days before a memory expires. A value of 0 indicates that the memory does not expire.
|
|
1372
1380
|
*
|
|
1373
1381
|
* @example
|
|
1374
1382
|
* 0
|
|
@@ -1418,27 +1426,27 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1418
1426
|
audit?: GetContextStoreResponseBodyConfigAudit;
|
|
1419
1427
|
/**
|
|
1420
1428
|
* @remarks
|
|
1421
|
-
* The Simple Log Service (SLS) audit
|
|
1429
|
+
* 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.
|
|
1422
1430
|
*/
|
|
1423
1431
|
auditLogStore?: GetContextStoreResponseBodyConfigAuditLogStore;
|
|
1424
1432
|
/**
|
|
1425
1433
|
* @remarks
|
|
1426
|
-
* The extraction policies.
|
|
1434
|
+
* The extraction policies. A total of 1 to 10 policies can be configured. The strategyVersion field indicates the snapshot version of the global configuration.
|
|
1427
1435
|
*/
|
|
1428
1436
|
extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
|
|
1429
1437
|
/**
|
|
1430
1438
|
* @remarks
|
|
1431
|
-
* The extraction policy
|
|
1439
|
+
* The extraction policy for the memory type.
|
|
1432
1440
|
*/
|
|
1433
1441
|
extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
|
|
1434
1442
|
/**
|
|
1435
1443
|
* @remarks
|
|
1436
|
-
* The system-assigned event Logstore
|
|
1444
|
+
* The system-assigned coordinates of the event Logstore for the memory type, which is located in the SLS project bound to the AgentSpace.
|
|
1437
1445
|
*/
|
|
1438
1446
|
innerSource?: GetContextStoreResponseBodyConfigInnerSource;
|
|
1439
1447
|
/**
|
|
1440
1448
|
* @remarks
|
|
1441
|
-
* The metadata field mapping
|
|
1449
|
+
* The metadata field mapping. The key is the business field and the value is the storage field.
|
|
1442
1450
|
*
|
|
1443
1451
|
* @example
|
|
1444
1452
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -1454,7 +1462,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1454
1462
|
miningInterval?: string;
|
|
1455
1463
|
/**
|
|
1456
1464
|
* @remarks
|
|
1457
|
-
* The name of the internal running task associated with the server. Continuous
|
|
1465
|
+
* 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.
|
|
1458
1466
|
*
|
|
1459
1467
|
* @example
|
|
1460
1468
|
* experience-review-library
|
|
@@ -1472,7 +1480,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1472
1480
|
outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
|
|
1473
1481
|
/**
|
|
1474
1482
|
* @remarks
|
|
1475
|
-
* Specifies whether runtime recall is allowed for the experience
|
|
1483
|
+
* Specifies whether runtime recall is allowed for the experience store. This parameter is returned only for the experience type.
|
|
1476
1484
|
*/
|
|
1477
1485
|
runtimeRecallEnabled?: boolean;
|
|
1478
1486
|
/**
|
|
@@ -1490,7 +1498,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1490
1498
|
scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
|
|
1491
1499
|
/**
|
|
1492
1500
|
* @remarks
|
|
1493
|
-
* The list of service names, which
|
|
1501
|
+
* 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.
|
|
1494
1502
|
*
|
|
1495
1503
|
* @example
|
|
1496
1504
|
* ["order-service","payment-service"]
|
|
@@ -1498,17 +1506,17 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1498
1506
|
serviceNames?: string[];
|
|
1499
1507
|
/**
|
|
1500
1508
|
* @remarks
|
|
1501
|
-
* The
|
|
1509
|
+
* The datasource config passed by the user, which serves only as the root identity of the data source.
|
|
1502
1510
|
*/
|
|
1503
1511
|
source?: GetContextStoreResponseBodyConfigSource;
|
|
1504
1512
|
/**
|
|
1505
1513
|
* @remarks
|
|
1506
|
-
* The running status of the data source
|
|
1514
|
+
* 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.
|
|
1507
1515
|
*/
|
|
1508
1516
|
sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
|
|
1509
1517
|
/**
|
|
1510
1518
|
* @remarks
|
|
1511
|
-
* The actual storage modes
|
|
1519
|
+
* The actual storage modes of each policy. A hybrid library includes both event and upsert modes.
|
|
1512
1520
|
*/
|
|
1513
1521
|
storageModes?: string[];
|
|
1514
1522
|
/**
|
|
@@ -1518,7 +1526,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1518
1526
|
storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
|
|
1519
1527
|
/**
|
|
1520
1528
|
* @remarks
|
|
1521
|
-
* The
|
|
1529
|
+
* The currently effective strategy version number for the memory type.
|
|
1522
1530
|
*
|
|
1523
1531
|
* @example
|
|
1524
1532
|
* 1
|
|
@@ -1626,7 +1634,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1626
1634
|
export class GetContextStoreResponseBody extends $dara.Model {
|
|
1627
1635
|
/**
|
|
1628
1636
|
* @remarks
|
|
1629
|
-
* The name of the
|
|
1637
|
+
* The name of the AgentSpace to which the context store belongs.
|
|
1630
1638
|
*
|
|
1631
1639
|
* @example
|
|
1632
1640
|
* my-agent-space
|
|
@@ -1634,7 +1642,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1634
1642
|
agentSpace?: string;
|
|
1635
1643
|
/**
|
|
1636
1644
|
* @remarks
|
|
1637
|
-
* The context
|
|
1645
|
+
* The configuration of the context store.
|
|
1638
1646
|
*/
|
|
1639
1647
|
config?: GetContextStoreResponseBodyConfig;
|
|
1640
1648
|
/**
|
|
@@ -1647,7 +1655,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1647
1655
|
contextStoreName?: string;
|
|
1648
1656
|
/**
|
|
1649
1657
|
* @remarks
|
|
1650
|
-
* The type of the context store, such as experience or memory.
|
|
1658
|
+
* The type of the context store, such as experience (experience store) or memory (memory store).
|
|
1651
1659
|
*
|
|
1652
1660
|
* @example
|
|
1653
1661
|
* experience
|
|
@@ -1655,7 +1663,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1655
1663
|
contextType?: string;
|
|
1656
1664
|
/**
|
|
1657
1665
|
* @remarks
|
|
1658
|
-
* The
|
|
1666
|
+
* The time when the context library was created, in ISO 8601 UTC format.
|
|
1659
1667
|
*
|
|
1660
1668
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1661
1669
|
*
|
|
@@ -1673,7 +1681,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1673
1681
|
description?: string;
|
|
1674
1682
|
/**
|
|
1675
1683
|
* @remarks
|
|
1676
|
-
* The ID of the
|
|
1684
|
+
* The region ID of the context store.
|
|
1677
1685
|
*
|
|
1678
1686
|
* @example
|
|
1679
1687
|
* cn-hangzhou
|
|
@@ -1681,7 +1689,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1681
1689
|
regionId?: string;
|
|
1682
1690
|
/**
|
|
1683
1691
|
* @remarks
|
|
1684
|
-
* The request ID, which is used to locate the request
|
|
1692
|
+
* The request ID, which is used to locate the request during troubleshooting.
|
|
1685
1693
|
*
|
|
1686
1694
|
* @example
|
|
1687
1695
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -1697,7 +1705,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1697
1705
|
status?: string;
|
|
1698
1706
|
/**
|
|
1699
1707
|
* @remarks
|
|
1700
|
-
* The
|
|
1708
|
+
* The time when the context library was last updated, in ISO 8601 UTC format.
|
|
1701
1709
|
*
|
|
1702
1710
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1703
1711
|
*
|