@alicloud/agentloop20260520 2.8.0 → 2.8.2
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 +110 -54
- package/dist/client.js +110 -54
- package/dist/client.js.map +1 -1
- package/dist/models/AnalysisTask.d.ts +16 -8
- package/dist/models/AnalysisTask.js.map +1 -1
- package/dist/models/AuditTaskState.d.ts +17 -7
- package/dist/models/AuditTaskState.js.map +1 -1
- package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
- package/dist/models/ConnectorProperties.d.ts +21 -12
- package/dist/models/ConnectorProperties.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +44 -44
- package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +47 -30
- package/dist/models/CreatePipelineRequest.js +8 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +3 -3
- package/dist/models/GetDatasetRequest.d.ts +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +26 -3
- package/dist/models/GetDatasetResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +55 -38
- package/dist/models/GetPipelineResponseBody.js +8 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
- package/dist/models/ListDatasetsRequest.d.ts +8 -3
- package/dist/models/ListDatasetsRequest.js.map +1 -1
- package/dist/models/ListDatasetsResponseBody.d.ts +12 -7
- package/dist/models/ListDatasetsResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsShrinkRequest.d.ts +8 -3
- package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
- package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
- package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +5 -17
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +50 -33
- package/dist/models/ListPipelinesResponseBody.js +8 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PipelineOssSource.d.ts +69 -0
- package/dist/models/PipelineOssSource.js +69 -0
- package/dist/models/PipelineOssSource.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +37 -20
- package/dist/models/PreviewPipelineRequest.js +8 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +30 -14
- package/dist/models/PreviewPipelineResponseBody.js +4 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/RunPipelineRequest.d.ts +3 -3
- package/dist/models/RunPipelineResponseBody.d.ts +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +50 -36
- package/dist/models/UpdatePipelineRequest.js +8 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +8 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +110 -54
- package/src/models/AnalysisTask.ts +16 -8
- package/src/models/AuditTaskState.ts +17 -7
- package/src/models/CancelPipelineRunResponseBody.ts +2 -2
- package/src/models/ConnectorProperties.ts +21 -12
- package/src/models/CreateContextStoreRequest.ts +44 -44
- package/src/models/CreateContextStoreResponseBody.ts +1 -1
- package/src/models/CreatePipelineRequest.ts +54 -30
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetAuditConversionSourceResponseBody.ts +3 -3
- package/src/models/GetDatasetRequest.ts +1 -1
- package/src/models/GetDatasetResponseBody.ts +26 -3
- package/src/models/GetPipelineResponseBody.ts +62 -38
- package/src/models/GetPipelineRunResponseBody.ts +7 -7
- package/src/models/ListDatasetsRequest.ts +8 -3
- package/src/models/ListDatasetsResponseBody.ts +12 -7
- package/src/models/ListDatasetsShrinkRequest.ts +8 -3
- package/src/models/ListPipelineRunsRequest.ts +1 -1
- package/src/models/ListPipelineRunsResponseBody.ts +8 -6
- package/src/models/ListPipelinesRequest.ts +5 -17
- package/src/models/ListPipelinesResponseBody.ts +57 -33
- package/src/models/PipelineOssSource.ts +91 -0
- package/src/models/PreviewPipelineRequest.ts +44 -20
- package/src/models/PreviewPipelineResponseBody.ts +34 -14
- package/src/models/RunPipelineRequest.ts +3 -3
- package/src/models/RunPipelineResponseBody.ts +1 -1
- package/src/models/UpdatePipelineRequest.ts +57 -36
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +1 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateContextStoreRequestConfigAudit extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to write item events for dropped retrieval
|
|
8
|
+
* Specifies whether to write item events for dropped candidates during retrieval. Default value: false.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* false
|
|
@@ -13,7 +13,7 @@ export class CreateContextStoreRequestConfigAudit extends $dara.Model {
|
|
|
13
13
|
droppedCandidates?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The recording mode for
|
|
16
|
+
* The recording mode for retrieved queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* raw
|
|
@@ -55,7 +55,7 @@ export class CreateContextStoreRequestConfigAudit extends $dara.Model {
|
|
|
55
55
|
export class CreateContextStoreRequestConfigExtractionPoliciesModel extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
58
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* qwen3.8-flash
|
|
@@ -85,7 +85,7 @@ export class CreateContextStoreRequestConfigExtractionPoliciesModel extends $dar
|
|
|
85
85
|
export class CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The allowed storage actions. Default value:
|
|
88
|
+
* The allowed storage actions. Default value: ADD, UPDATE, MERGE, and DELETE.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -93,7 +93,7 @@ export class CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
93
93
|
allowedActions?: string[];
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* Specifies whether to
|
|
96
|
+
* Specifies whether to deduplicate in event mode. Default value: true.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* true
|
|
@@ -101,7 +101,7 @@ export class CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
101
101
|
dedupe?: boolean;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* Specifies whether to enable human edit protection.
|
|
104
|
+
* Specifies whether to enable human edit protection. If enabled, automatic extraction does not overwrite manually modified memories. Default value: true.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* true
|
|
@@ -109,7 +109,7 @@ export class CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
109
109
|
humanEditProtection?: boolean;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
* The
|
|
112
|
+
* The merge key for upsert. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* semantic
|
|
@@ -133,7 +133,7 @@ export class CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
133
133
|
similarityThreshold?: number;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The number of days before
|
|
136
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
139
|
* 0
|
|
@@ -205,7 +205,7 @@ export class CreateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
205
205
|
* The list of exclusion rules. Content that matches the rules is not extracted.
|
|
206
206
|
*
|
|
207
207
|
* @example
|
|
208
|
-
* ["
|
|
208
|
+
* ["密码","证件号"]
|
|
209
209
|
*/
|
|
210
210
|
excludeRules?: string[];
|
|
211
211
|
/**
|
|
@@ -231,12 +231,12 @@ export class CreateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
231
231
|
preset?: string;
|
|
232
232
|
/**
|
|
233
233
|
* @remarks
|
|
234
|
-
* The independent storage
|
|
234
|
+
* 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.
|
|
235
235
|
*/
|
|
236
236
|
storagePolicy?: CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy;
|
|
237
237
|
/**
|
|
238
238
|
* @remarks
|
|
239
|
-
* The ID of the extraction policy. This parameter is optional. If omitted, the default value is
|
|
239
|
+
* The ID of the extraction policy. This parameter is optional. If omitted, the default value is used. The ID must start with a letter and can contain only letters, digits, underscores, and hyphens. It can be up to 64 characters in length. After default processing, the ID must be unique within the same database. Modifying the name or instructions does not change this ID.
|
|
240
240
|
*
|
|
241
241
|
* @example
|
|
242
242
|
* preferences
|
|
@@ -294,7 +294,7 @@ export class CreateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
294
294
|
export class CreateContextStoreRequestConfigExtractionPolicyModel extends $dara.Model {
|
|
295
295
|
/**
|
|
296
296
|
* @remarks
|
|
297
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
297
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
|
|
298
298
|
*
|
|
299
299
|
* @example
|
|
300
300
|
* qwen3.8-flash
|
|
@@ -400,7 +400,7 @@ export class CreateContextStoreRequestConfigExtractionPolicy extends $dara.Model
|
|
|
400
400
|
export class CreateContextStoreRequestConfigScopePolicy extends $dara.Model {
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
*
|
|
403
|
+
* Specifies that at least one of the scope fields must be non-empty. Valid values for the elements: userId, agentId, appId, and runId.
|
|
404
404
|
*
|
|
405
405
|
* @example
|
|
406
406
|
* ["userId"]
|
|
@@ -433,7 +433,7 @@ export class CreateContextStoreRequestConfigScopePolicy extends $dara.Model {
|
|
|
433
433
|
export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $dara.Model {
|
|
434
434
|
/**
|
|
435
435
|
* @remarks
|
|
436
|
-
* The description of the field. This parameter is required when usage is set to extraction-input
|
|
436
|
+
* The description of the field. This parameter is required when usage is set to extraction-input. The description is appended to the extraction prompt.
|
|
437
437
|
*
|
|
438
438
|
* @example
|
|
439
439
|
* Customer tier
|
|
@@ -441,7 +441,7 @@ export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
441
441
|
description?: string;
|
|
442
442
|
/**
|
|
443
443
|
* @remarks
|
|
444
|
-
* Specifies whether the field is
|
|
444
|
+
* Specifies whether the field is sensitive.
|
|
445
445
|
*
|
|
446
446
|
* @example
|
|
447
447
|
* false
|
|
@@ -533,7 +533,7 @@ export class CreateContextStoreRequestConfigSourceDatasetFilter extends $dara.Mo
|
|
|
533
533
|
export class CreateContextStoreRequestConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
534
534
|
/**
|
|
535
535
|
* @remarks
|
|
536
|
-
* The
|
|
536
|
+
* The consumption mode. Valid values: follow, which consumes data incrementally by __dataset_seq, and fixed, which consumes the specified ACTIVE version in full at once.
|
|
537
537
|
*
|
|
538
538
|
* @example
|
|
539
539
|
* follow
|
|
@@ -541,7 +541,7 @@ export class CreateContextStoreRequestConfigSourceDatasetVersionPolicy extends $
|
|
|
541
541
|
mode?: string;
|
|
542
542
|
/**
|
|
543
543
|
* @remarks
|
|
544
|
-
* The
|
|
544
|
+
* The starting __dataset_seq for the follow mode.
|
|
545
545
|
*
|
|
546
546
|
* @example
|
|
547
547
|
* 0
|
|
@@ -609,7 +609,7 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
|
|
|
609
609
|
pollIntervalSeconds?: number;
|
|
610
610
|
/**
|
|
611
611
|
* @remarks
|
|
612
|
-
* The row schema contract
|
|
612
|
+
* The row schema contract of the dataset. In the current phase, the value is fixed to MemorySourceV1.
|
|
613
613
|
*
|
|
614
614
|
* @example
|
|
615
615
|
* MemorySourceV1
|
|
@@ -617,7 +617,7 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
|
|
|
617
617
|
schemaContract?: string;
|
|
618
618
|
/**
|
|
619
619
|
* @remarks
|
|
620
|
-
* The version consumption policy
|
|
620
|
+
* The version consumption policy of the dataset.
|
|
621
621
|
*/
|
|
622
622
|
versionPolicy?: CreateContextStoreRequestConfigSourceDatasetVersionPolicy;
|
|
623
623
|
static names(): { [key: string]: string } {
|
|
@@ -687,7 +687,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
687
687
|
minStepCount?: number;
|
|
688
688
|
/**
|
|
689
689
|
* @remarks
|
|
690
|
-
* The native Simple Log Service (SLS) query statement. It is combined with the preceding conditions using AND.
|
|
690
|
+
* The native Simple Log Service (SLS) query statement. It is combined with the preceding conditions by using the AND operator.
|
|
691
691
|
*
|
|
692
692
|
* @example
|
|
693
693
|
* tool_names:"search_order"
|
|
@@ -739,7 +739,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
739
739
|
export class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping extends $dara.Model {
|
|
740
740
|
/**
|
|
741
741
|
* @remarks
|
|
742
|
-
* The JSONPath for agentId. Default value: $.agent_name.
|
|
742
|
+
* The JSONPath expression for agentId. Default value: $.agent_name.
|
|
743
743
|
*
|
|
744
744
|
* @example
|
|
745
745
|
* $.agent_name
|
|
@@ -747,7 +747,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
747
747
|
agentId?: string;
|
|
748
748
|
/**
|
|
749
749
|
* @remarks
|
|
750
|
-
* The JSONPath for appId. Default value: $.service_names[0].
|
|
750
|
+
* The JSONPath expression for appId. Default value: $.service_names[0].
|
|
751
751
|
*
|
|
752
752
|
* @example
|
|
753
753
|
* $.service_names[0]
|
|
@@ -755,7 +755,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
755
755
|
appId?: string;
|
|
756
756
|
/**
|
|
757
757
|
* @remarks
|
|
758
|
-
* The JSONPath for runId. Default value: $.trajectory_id.
|
|
758
|
+
* The JSONPath expression for runId. Default value: $.trajectory_id.
|
|
759
759
|
*
|
|
760
760
|
* @example
|
|
761
761
|
* $.trajectory_id
|
|
@@ -763,7 +763,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
763
763
|
runId?: string;
|
|
764
764
|
/**
|
|
765
765
|
* @remarks
|
|
766
|
-
* The JSONPath for userId. By default, no mapping is applied.
|
|
766
|
+
* The JSONPath expression for userId. By default, no mapping is applied.
|
|
767
767
|
*
|
|
768
768
|
* @example
|
|
769
769
|
* $.trajectory_extensions.user_id
|
|
@@ -799,7 +799,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
799
799
|
export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model {
|
|
800
800
|
/**
|
|
801
801
|
* @remarks
|
|
802
|
-
* The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
|
|
802
|
+
* The trajectory filter conditions. Conditions are combined with the AND operator, and items within a list are combined with the OR operator.
|
|
803
803
|
*/
|
|
804
804
|
filter?: CreateContextStoreRequestConfigSourceTrajectoryFilter;
|
|
805
805
|
/**
|
|
@@ -825,7 +825,7 @@ export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
825
825
|
scopeMapping?: CreateContextStoreRequestConfigSourceTrajectoryScopeMapping;
|
|
826
826
|
/**
|
|
827
827
|
* @remarks
|
|
828
|
-
* The default mapping version for
|
|
828
|
+
* The default mapping version for trajectory identities. A value of 1 retains the legacy rules. A value of 2 reads user.id or enduser.id from agent attributes. The version is frozen upon creation.
|
|
829
829
|
*
|
|
830
830
|
* @example
|
|
831
831
|
* 2
|
|
@@ -833,7 +833,7 @@ export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
833
833
|
scopeMappingVersion?: number;
|
|
834
834
|
/**
|
|
835
835
|
* @remarks
|
|
836
|
-
* The start time for trajectory consumption in ISO 8601 UTC format. If
|
|
836
|
+
* The start time for trajectory consumption in ISO 8601 UTC format. If you do not specify this parameter, the consumption starts from the creation time.
|
|
837
837
|
*
|
|
838
838
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
839
839
|
*
|
|
@@ -921,7 +921,7 @@ export class CreateContextStoreRequestConfigSourceVersionPolicy extends $dara.Mo
|
|
|
921
921
|
export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
922
922
|
/**
|
|
923
923
|
* @remarks
|
|
924
|
-
* The AgentSpace where the trace data source resides. If
|
|
924
|
+
* The AgentSpace where the trace data source resides. If you do not specify this parameter, the AgentSpace in the current path is used by default. Cross-AgentSpace is not supported in the current phase. If specified, the value must be the same as the path AgentSpace. Otherwise, a 400 parameter error is returned. This parameter cannot be modified after creation.
|
|
925
925
|
*
|
|
926
926
|
* @example
|
|
927
927
|
* my-agent-space
|
|
@@ -942,7 +942,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
942
942
|
dataset?: CreateContextStoreRequestConfigSourceDataset;
|
|
943
943
|
/**
|
|
944
944
|
* @remarks
|
|
945
|
-
* The name of the dataset source
|
|
945
|
+
* The name of the experience dataset source. The dataset must reside in the current AgentSpace. This parameter is provided only when the source type is dataset for an experience.
|
|
946
946
|
*
|
|
947
947
|
* @example
|
|
948
948
|
* reviewed_trajectories
|
|
@@ -950,7 +950,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
950
950
|
datasetName?: string;
|
|
951
951
|
/**
|
|
952
952
|
* @remarks
|
|
953
|
-
* The input format of the dataset. For dataset sources
|
|
953
|
+
* The input format of the dataset. For experience dataset sources, only atif is supported, and the fixed columns are the same as those in optimization tasks.
|
|
954
954
|
*
|
|
955
955
|
* @example
|
|
956
956
|
* atif
|
|
@@ -958,7 +958,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
958
958
|
format?: string;
|
|
959
959
|
/**
|
|
960
960
|
* @remarks
|
|
961
|
-
* The maximum number of records to read per batch
|
|
961
|
+
* The maximum number of records to read per dataset batch. Valid values: 1 to 1000. Default value: 1000. In manual mode, exceeding the limit causes a failure. In follow mode, bounded pagination is used to continue consumption.
|
|
962
962
|
*
|
|
963
963
|
* @example
|
|
964
964
|
* 1000
|
|
@@ -966,7 +966,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
966
966
|
maxRecords?: number;
|
|
967
967
|
/**
|
|
968
968
|
* @remarks
|
|
969
|
-
* The start time for data backfill in ISO 8601 UTC format. If
|
|
969
|
+
* The start time for data backfill in ISO 8601 UTC format. If you do not specify this parameter, the backfill starts from the current time.
|
|
970
970
|
*
|
|
971
971
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
972
972
|
*
|
|
@@ -981,7 +981,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
981
981
|
trajectory?: CreateContextStoreRequestConfigSourceTrajectory;
|
|
982
982
|
/**
|
|
983
983
|
* @remarks
|
|
984
|
-
* The data source type for the memory type. Valid values: trajectory and dataset. If
|
|
984
|
+
* The data source type for the memory type. Valid values: trajectory and dataset. If you do not specify this parameter, the value defaults to manual, which means data is written only by using AddContexts. This parameter cannot be modified after creation.
|
|
985
985
|
*
|
|
986
986
|
* @example
|
|
987
987
|
* trajectory
|
|
@@ -989,7 +989,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
989
989
|
type?: string;
|
|
990
990
|
/**
|
|
991
991
|
* @remarks
|
|
992
|
-
* The continuous consumption configuration for
|
|
992
|
+
* The continuous consumption configuration for native experience datasets. The default mode is manual. The follow mode only allows binding.selection.mode=all and consumes data by append sequence number. This configuration cannot be modified after creation.
|
|
993
993
|
*/
|
|
994
994
|
versionPolicy?: CreateContextStoreRequestConfigSourceVersionPolicy;
|
|
995
995
|
static names(): { [key: string]: string } {
|
|
@@ -1046,7 +1046,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
1046
1046
|
export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
1047
1047
|
/**
|
|
1048
1048
|
* @remarks
|
|
1049
|
-
* The allowed storage actions. Default value:
|
|
1049
|
+
* The allowed storage actions. Default value: ADD, UPDATE, MERGE, and DELETE.
|
|
1050
1050
|
*
|
|
1051
1051
|
* @example
|
|
1052
1052
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -1054,7 +1054,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
1054
1054
|
allowedActions?: string[];
|
|
1055
1055
|
/**
|
|
1056
1056
|
* @remarks
|
|
1057
|
-
* Specifies whether to
|
|
1057
|
+
* Specifies whether to deduplicate in event mode. Default value: true.
|
|
1058
1058
|
*
|
|
1059
1059
|
* @example
|
|
1060
1060
|
* true
|
|
@@ -1062,7 +1062,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
1062
1062
|
dedupe?: boolean;
|
|
1063
1063
|
/**
|
|
1064
1064
|
* @remarks
|
|
1065
|
-
* Specifies whether to enable human edit protection.
|
|
1065
|
+
* Specifies whether to enable human edit protection. If enabled, automatic extraction does not overwrite manually modified memories. Default value: true.
|
|
1066
1066
|
*
|
|
1067
1067
|
* @example
|
|
1068
1068
|
* true
|
|
@@ -1070,7 +1070,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
1070
1070
|
humanEditProtection?: boolean;
|
|
1071
1071
|
/**
|
|
1072
1072
|
* @remarks
|
|
1073
|
-
* The
|
|
1073
|
+
* The merge key for upsert. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
1074
1074
|
*
|
|
1075
1075
|
* @example
|
|
1076
1076
|
* semantic
|
|
@@ -1094,7 +1094,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
1094
1094
|
similarityThreshold?: number;
|
|
1095
1095
|
/**
|
|
1096
1096
|
* @remarks
|
|
1097
|
-
* The number of days before
|
|
1097
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
1098
1098
|
*
|
|
1099
1099
|
* @example
|
|
1100
1100
|
* 0
|
|
@@ -1175,7 +1175,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
|
|
|
1175
1175
|
scopePolicy?: CreateContextStoreRequestConfigScopePolicy;
|
|
1176
1176
|
/**
|
|
1177
1177
|
* @remarks
|
|
1178
|
-
* The list of service names. This parameter is required and cannot be empty. It works with source.agentSpace to locate the trace data source. The trajectory extraction service uses agentSpace to
|
|
1178
|
+
* The list of service names. This parameter is required and cannot be empty. It works with source.agentSpace to locate the trace data source. The trajectory extraction service uses agentSpace to find the bound CMS workspace and project or logstore, and then filters by service name. This parameter cannot be modified after creation.
|
|
1179
1179
|
*
|
|
1180
1180
|
* @example
|
|
1181
1181
|
* ["order-service","payment-service"]
|
|
@@ -1183,7 +1183,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
|
|
|
1183
1183
|
serviceNames?: string[];
|
|
1184
1184
|
/**
|
|
1185
1185
|
* @remarks
|
|
1186
|
-
* The datasource config, which serves only as the root identity for the
|
|
1186
|
+
* The datasource config, which serves only as the root identity for the datasource. This is an optional block.
|
|
1187
1187
|
*/
|
|
1188
1188
|
source?: CreateContextStoreRequestConfigSource;
|
|
1189
1189
|
/**
|
|
@@ -1270,7 +1270,7 @@ export class CreateContextStoreRequest extends $dara.Model {
|
|
|
1270
1270
|
contextStoreName?: string;
|
|
1271
1271
|
/**
|
|
1272
1272
|
* @remarks
|
|
1273
|
-
* The type of the context store.
|
|
1273
|
+
* The type of the context store. Valid values include experience (experience store) and memory (memory store).
|
|
1274
1274
|
*
|
|
1275
1275
|
* This parameter is required.
|
|
1276
1276
|
*
|
|
@@ -1280,7 +1280,7 @@ export class CreateContextStoreRequest extends $dara.Model {
|
|
|
1280
1280
|
contextType?: string;
|
|
1281
1281
|
/**
|
|
1282
1282
|
* @remarks
|
|
1283
|
-
* The description of the context store
|
|
1283
|
+
* The description of the context store. This helps business users understand its purpose.
|
|
1284
1284
|
*
|
|
1285
1285
|
* @example
|
|
1286
1286
|
* My context store
|
|
@@ -1288,7 +1288,7 @@ export class CreateContextStoreRequest extends $dara.Model {
|
|
|
1288
1288
|
description?: string;
|
|
1289
1289
|
/**
|
|
1290
1290
|
* @remarks
|
|
1291
|
-
* The idempotency token, a unique string generated by the client to ensure the idempotency of the creation operation.
|
|
1291
|
+
* The idempotency token, which is a unique string generated by the client to ensure the idempotency of the creation operation.
|
|
1292
1292
|
*
|
|
1293
1293
|
* @example
|
|
1294
1294
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateContextStoreResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID
|
|
8
|
+
* The request ID used to locate the request during troubleshooting.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|