@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
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateContextStoreRequestConfigAudit extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to write item events for dropped retrieval
|
|
5
|
+
* Specifies whether to write item events for dropped candidates during retrieval. Default value: false.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* false
|
|
@@ -10,7 +10,7 @@ export declare class CreateContextStoreRequestConfigAudit extends $dara.Model {
|
|
|
10
10
|
droppedCandidates?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The recording mode for
|
|
13
|
+
* The recording mode for retrieved queries. 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 CreateContextStoreRequestConfigAudit extends $dara.Model {
|
|
|
38
38
|
export declare class CreateContextStoreRequestConfigExtractionPoliciesModel extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
41
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* qwen3.8-flash
|
|
@@ -58,7 +58,7 @@ export declare class CreateContextStoreRequestConfigExtractionPoliciesModel exte
|
|
|
58
58
|
export declare class CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The allowed storage actions. Default value:
|
|
61
|
+
* The allowed storage actions. Default value: ADD, UPDATE, MERGE, and DELETE.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -66,7 +66,7 @@ export declare class CreateContextStoreRequestConfigExtractionPoliciesStoragePol
|
|
|
66
66
|
allowedActions?: string[];
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* Specifies whether to
|
|
69
|
+
* Specifies whether to deduplicate in event mode. Default value: true.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* true
|
|
@@ -74,7 +74,7 @@ export declare class CreateContextStoreRequestConfigExtractionPoliciesStoragePol
|
|
|
74
74
|
dedupe?: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* Specifies whether to enable human edit protection.
|
|
77
|
+
* Specifies whether to enable human edit protection. If enabled, automatic extraction does not overwrite manually modified memories. Default value: true.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* true
|
|
@@ -82,7 +82,7 @@ export declare class CreateContextStoreRequestConfigExtractionPoliciesStoragePol
|
|
|
82
82
|
humanEditProtection?: boolean;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The
|
|
85
|
+
* The merge key for upsert. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* semantic
|
|
@@ -106,7 +106,7 @@ export declare class CreateContextStoreRequestConfigExtractionPoliciesStoragePol
|
|
|
106
106
|
similarityThreshold?: number;
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
* The number of days before
|
|
109
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
112
|
* 0
|
|
@@ -153,7 +153,7 @@ export declare class CreateContextStoreRequestConfigExtractionPolicies extends $
|
|
|
153
153
|
* The list of exclusion rules. Content that matches the rules is not extracted.
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
|
-
* ["
|
|
156
|
+
* ["密码","证件号"]
|
|
157
157
|
*/
|
|
158
158
|
excludeRules?: string[];
|
|
159
159
|
/**
|
|
@@ -179,12 +179,12 @@ export declare class CreateContextStoreRequestConfigExtractionPolicies extends $
|
|
|
179
179
|
preset?: string;
|
|
180
180
|
/**
|
|
181
181
|
* @remarks
|
|
182
|
-
* The independent storage
|
|
182
|
+
* 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.
|
|
183
183
|
*/
|
|
184
184
|
storagePolicy?: CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy;
|
|
185
185
|
/**
|
|
186
186
|
* @remarks
|
|
187
|
-
* The ID of the extraction policy. This parameter is optional. If omitted, the default value is
|
|
187
|
+
* 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.
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
190
190
|
* preferences
|
|
@@ -204,7 +204,7 @@ export declare class CreateContextStoreRequestConfigExtractionPolicies extends $
|
|
|
204
204
|
export declare class CreateContextStoreRequestConfigExtractionPolicyModel extends $dara.Model {
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
207
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
|
|
208
208
|
*
|
|
209
209
|
* @example
|
|
210
210
|
* qwen3.8-flash
|
|
@@ -273,7 +273,7 @@ export declare class CreateContextStoreRequestConfigExtractionPolicy extends $da
|
|
|
273
273
|
export declare class CreateContextStoreRequestConfigScopePolicy extends $dara.Model {
|
|
274
274
|
/**
|
|
275
275
|
* @remarks
|
|
276
|
-
*
|
|
276
|
+
* Specifies that at least one of the scope fields must be non-empty. Valid values for the elements: userId, agentId, appId, and runId.
|
|
277
277
|
*
|
|
278
278
|
* @example
|
|
279
279
|
* ["userId"]
|
|
@@ -293,7 +293,7 @@ export declare class CreateContextStoreRequestConfigScopePolicy extends $dara.Mo
|
|
|
293
293
|
export declare class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $dara.Model {
|
|
294
294
|
/**
|
|
295
295
|
* @remarks
|
|
296
|
-
* The description of the field. This parameter is required when usage is set to extraction-input
|
|
296
|
+
* The description of the field. This parameter is required when usage is set to extraction-input. The description is appended to the extraction prompt.
|
|
297
297
|
*
|
|
298
298
|
* @example
|
|
299
299
|
* Customer tier
|
|
@@ -301,7 +301,7 @@ export declare class CreateContextStoreRequestConfigSourceDatasetCustomFields ex
|
|
|
301
301
|
description?: string;
|
|
302
302
|
/**
|
|
303
303
|
* @remarks
|
|
304
|
-
* Specifies whether the field is
|
|
304
|
+
* Specifies whether the field is sensitive.
|
|
305
305
|
*
|
|
306
306
|
* @example
|
|
307
307
|
* false
|
|
@@ -365,7 +365,7 @@ export declare class CreateContextStoreRequestConfigSourceDatasetFilter extends
|
|
|
365
365
|
export declare class CreateContextStoreRequestConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
366
366
|
/**
|
|
367
367
|
* @remarks
|
|
368
|
-
* The
|
|
368
|
+
* 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.
|
|
369
369
|
*
|
|
370
370
|
* @example
|
|
371
371
|
* follow
|
|
@@ -373,7 +373,7 @@ export declare class CreateContextStoreRequestConfigSourceDatasetVersionPolicy e
|
|
|
373
373
|
mode?: string;
|
|
374
374
|
/**
|
|
375
375
|
* @remarks
|
|
376
|
-
* The
|
|
376
|
+
* The starting __dataset_seq for the follow mode.
|
|
377
377
|
*
|
|
378
378
|
* @example
|
|
379
379
|
* 0
|
|
@@ -427,7 +427,7 @@ export declare class CreateContextStoreRequestConfigSourceDataset extends $dara.
|
|
|
427
427
|
pollIntervalSeconds?: number;
|
|
428
428
|
/**
|
|
429
429
|
* @remarks
|
|
430
|
-
* The row schema contract
|
|
430
|
+
* The row schema contract of the dataset. In the current phase, the value is fixed to MemorySourceV1.
|
|
431
431
|
*
|
|
432
432
|
* @example
|
|
433
433
|
* MemorySourceV1
|
|
@@ -435,7 +435,7 @@ export declare class CreateContextStoreRequestConfigSourceDataset extends $dara.
|
|
|
435
435
|
schemaContract?: string;
|
|
436
436
|
/**
|
|
437
437
|
* @remarks
|
|
438
|
-
* The version consumption policy
|
|
438
|
+
* The version consumption policy of the dataset.
|
|
439
439
|
*/
|
|
440
440
|
versionPolicy?: CreateContextStoreRequestConfigSourceDatasetVersionPolicy;
|
|
441
441
|
static names(): {
|
|
@@ -476,7 +476,7 @@ export declare class CreateContextStoreRequestConfigSourceTrajectoryFilter exten
|
|
|
476
476
|
minStepCount?: number;
|
|
477
477
|
/**
|
|
478
478
|
* @remarks
|
|
479
|
-
* The native Simple Log Service (SLS) query statement. It is combined with the preceding conditions using AND.
|
|
479
|
+
* The native Simple Log Service (SLS) query statement. It is combined with the preceding conditions by using the AND operator.
|
|
480
480
|
*
|
|
481
481
|
* @example
|
|
482
482
|
* tool_names:"search_order"
|
|
@@ -504,7 +504,7 @@ export declare class CreateContextStoreRequestConfigSourceTrajectoryFilter exten
|
|
|
504
504
|
export declare class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping extends $dara.Model {
|
|
505
505
|
/**
|
|
506
506
|
* @remarks
|
|
507
|
-
* The JSONPath for agentId. Default value: $.agent_name.
|
|
507
|
+
* The JSONPath expression for agentId. Default value: $.agent_name.
|
|
508
508
|
*
|
|
509
509
|
* @example
|
|
510
510
|
* $.agent_name
|
|
@@ -512,7 +512,7 @@ export declare class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping
|
|
|
512
512
|
agentId?: string;
|
|
513
513
|
/**
|
|
514
514
|
* @remarks
|
|
515
|
-
* The JSONPath for appId. Default value: $.service_names[0].
|
|
515
|
+
* The JSONPath expression for appId. Default value: $.service_names[0].
|
|
516
516
|
*
|
|
517
517
|
* @example
|
|
518
518
|
* $.service_names[0]
|
|
@@ -520,7 +520,7 @@ export declare class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping
|
|
|
520
520
|
appId?: string;
|
|
521
521
|
/**
|
|
522
522
|
* @remarks
|
|
523
|
-
* The JSONPath for runId. Default value: $.trajectory_id.
|
|
523
|
+
* The JSONPath expression for runId. Default value: $.trajectory_id.
|
|
524
524
|
*
|
|
525
525
|
* @example
|
|
526
526
|
* $.trajectory_id
|
|
@@ -528,7 +528,7 @@ export declare class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping
|
|
|
528
528
|
runId?: string;
|
|
529
529
|
/**
|
|
530
530
|
* @remarks
|
|
531
|
-
* The JSONPath for userId. By default, no mapping is applied.
|
|
531
|
+
* The JSONPath expression for userId. By default, no mapping is applied.
|
|
532
532
|
*
|
|
533
533
|
* @example
|
|
534
534
|
* $.trajectory_extensions.user_id
|
|
@@ -548,7 +548,7 @@ export declare class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping
|
|
|
548
548
|
export declare class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model {
|
|
549
549
|
/**
|
|
550
550
|
* @remarks
|
|
551
|
-
* The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
|
|
551
|
+
* The trajectory filter conditions. Conditions are combined with the AND operator, and items within a list are combined with the OR operator.
|
|
552
552
|
*/
|
|
553
553
|
filter?: CreateContextStoreRequestConfigSourceTrajectoryFilter;
|
|
554
554
|
/**
|
|
@@ -574,7 +574,7 @@ export declare class CreateContextStoreRequestConfigSourceTrajectory extends $da
|
|
|
574
574
|
scopeMapping?: CreateContextStoreRequestConfigSourceTrajectoryScopeMapping;
|
|
575
575
|
/**
|
|
576
576
|
* @remarks
|
|
577
|
-
* The default mapping version for
|
|
577
|
+
* 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.
|
|
578
578
|
*
|
|
579
579
|
* @example
|
|
580
580
|
* 2
|
|
@@ -582,7 +582,7 @@ export declare class CreateContextStoreRequestConfigSourceTrajectory extends $da
|
|
|
582
582
|
scopeMappingVersion?: number;
|
|
583
583
|
/**
|
|
584
584
|
* @remarks
|
|
585
|
-
* The start time for trajectory consumption in ISO 8601 UTC format. If
|
|
585
|
+
* 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.
|
|
586
586
|
*
|
|
587
587
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
588
588
|
*
|
|
@@ -632,7 +632,7 @@ export declare class CreateContextStoreRequestConfigSourceVersionPolicy extends
|
|
|
632
632
|
export declare class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
633
633
|
/**
|
|
634
634
|
* @remarks
|
|
635
|
-
* The AgentSpace where the trace data source resides. If
|
|
635
|
+
* 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.
|
|
636
636
|
*
|
|
637
637
|
* @example
|
|
638
638
|
* my-agent-space
|
|
@@ -655,7 +655,7 @@ export declare class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
655
655
|
dataset?: CreateContextStoreRequestConfigSourceDataset;
|
|
656
656
|
/**
|
|
657
657
|
* @remarks
|
|
658
|
-
* The name of the dataset source
|
|
658
|
+
* 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.
|
|
659
659
|
*
|
|
660
660
|
* @example
|
|
661
661
|
* reviewed_trajectories
|
|
@@ -663,7 +663,7 @@ export declare class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
663
663
|
datasetName?: string;
|
|
664
664
|
/**
|
|
665
665
|
* @remarks
|
|
666
|
-
* The input format of the dataset. For dataset sources
|
|
666
|
+
* 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.
|
|
667
667
|
*
|
|
668
668
|
* @example
|
|
669
669
|
* atif
|
|
@@ -671,7 +671,7 @@ export declare class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
671
671
|
format?: string;
|
|
672
672
|
/**
|
|
673
673
|
* @remarks
|
|
674
|
-
* The maximum number of records to read per batch
|
|
674
|
+
* 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.
|
|
675
675
|
*
|
|
676
676
|
* @example
|
|
677
677
|
* 1000
|
|
@@ -679,7 +679,7 @@ export declare class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
679
679
|
maxRecords?: number;
|
|
680
680
|
/**
|
|
681
681
|
* @remarks
|
|
682
|
-
* The start time for data backfill in ISO 8601 UTC format. If
|
|
682
|
+
* 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.
|
|
683
683
|
*
|
|
684
684
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
685
685
|
*
|
|
@@ -694,7 +694,7 @@ export declare class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
694
694
|
trajectory?: CreateContextStoreRequestConfigSourceTrajectory;
|
|
695
695
|
/**
|
|
696
696
|
* @remarks
|
|
697
|
-
* The data source type for the memory type. Valid values: trajectory and dataset. If
|
|
697
|
+
* 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.
|
|
698
698
|
*
|
|
699
699
|
* @example
|
|
700
700
|
* trajectory
|
|
@@ -702,7 +702,7 @@ export declare class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
702
702
|
type?: string;
|
|
703
703
|
/**
|
|
704
704
|
* @remarks
|
|
705
|
-
* The continuous consumption configuration for
|
|
705
|
+
* 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.
|
|
706
706
|
*/
|
|
707
707
|
versionPolicy?: CreateContextStoreRequestConfigSourceVersionPolicy;
|
|
708
708
|
static names(): {
|
|
@@ -719,7 +719,7 @@ export declare class CreateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
719
719
|
export declare class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
720
720
|
/**
|
|
721
721
|
* @remarks
|
|
722
|
-
* The allowed storage actions. Default value:
|
|
722
|
+
* The allowed storage actions. Default value: ADD, UPDATE, MERGE, and DELETE.
|
|
723
723
|
*
|
|
724
724
|
* @example
|
|
725
725
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -727,7 +727,7 @@ export declare class CreateContextStoreRequestConfigStoragePolicy extends $dara.
|
|
|
727
727
|
allowedActions?: string[];
|
|
728
728
|
/**
|
|
729
729
|
* @remarks
|
|
730
|
-
* Specifies whether to
|
|
730
|
+
* Specifies whether to deduplicate in event mode. Default value: true.
|
|
731
731
|
*
|
|
732
732
|
* @example
|
|
733
733
|
* true
|
|
@@ -735,7 +735,7 @@ export declare class CreateContextStoreRequestConfigStoragePolicy extends $dara.
|
|
|
735
735
|
dedupe?: boolean;
|
|
736
736
|
/**
|
|
737
737
|
* @remarks
|
|
738
|
-
* Specifies whether to enable human edit protection.
|
|
738
|
+
* Specifies whether to enable human edit protection. If enabled, automatic extraction does not overwrite manually modified memories. Default value: true.
|
|
739
739
|
*
|
|
740
740
|
* @example
|
|
741
741
|
* true
|
|
@@ -743,7 +743,7 @@ export declare class CreateContextStoreRequestConfigStoragePolicy extends $dara.
|
|
|
743
743
|
humanEditProtection?: boolean;
|
|
744
744
|
/**
|
|
745
745
|
* @remarks
|
|
746
|
-
* The
|
|
746
|
+
* The merge key for upsert. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
747
747
|
*
|
|
748
748
|
* @example
|
|
749
749
|
* semantic
|
|
@@ -767,7 +767,7 @@ export declare class CreateContextStoreRequestConfigStoragePolicy extends $dara.
|
|
|
767
767
|
similarityThreshold?: number;
|
|
768
768
|
/**
|
|
769
769
|
* @remarks
|
|
770
|
-
* The number of days before
|
|
770
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
771
771
|
*
|
|
772
772
|
* @example
|
|
773
773
|
* 0
|
|
@@ -825,7 +825,7 @@ export declare class CreateContextStoreRequestConfig extends $dara.Model {
|
|
|
825
825
|
scopePolicy?: CreateContextStoreRequestConfigScopePolicy;
|
|
826
826
|
/**
|
|
827
827
|
* @remarks
|
|
828
|
-
* 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
|
|
828
|
+
* 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.
|
|
829
829
|
*
|
|
830
830
|
* @example
|
|
831
831
|
* ["order-service","payment-service"]
|
|
@@ -833,7 +833,7 @@ export declare class CreateContextStoreRequestConfig extends $dara.Model {
|
|
|
833
833
|
serviceNames?: string[];
|
|
834
834
|
/**
|
|
835
835
|
* @remarks
|
|
836
|
-
* The datasource config, which serves only as the root identity for the
|
|
836
|
+
* The datasource config, which serves only as the root identity for the datasource. This is an optional block.
|
|
837
837
|
*/
|
|
838
838
|
source?: CreateContextStoreRequestConfigSource;
|
|
839
839
|
/**
|
|
@@ -870,7 +870,7 @@ export declare class CreateContextStoreRequest extends $dara.Model {
|
|
|
870
870
|
contextStoreName?: string;
|
|
871
871
|
/**
|
|
872
872
|
* @remarks
|
|
873
|
-
* The type of the context store.
|
|
873
|
+
* The type of the context store. Valid values include experience (experience store) and memory (memory store).
|
|
874
874
|
*
|
|
875
875
|
* This parameter is required.
|
|
876
876
|
*
|
|
@@ -880,7 +880,7 @@ export declare class CreateContextStoreRequest extends $dara.Model {
|
|
|
880
880
|
contextType?: string;
|
|
881
881
|
/**
|
|
882
882
|
* @remarks
|
|
883
|
-
* The description of the context store
|
|
883
|
+
* The description of the context store. This helps business users understand its purpose.
|
|
884
884
|
*
|
|
885
885
|
* @example
|
|
886
886
|
* My context store
|
|
@@ -888,7 +888,7 @@ export declare class CreateContextStoreRequest extends $dara.Model {
|
|
|
888
888
|
description?: string;
|
|
889
889
|
/**
|
|
890
890
|
* @remarks
|
|
891
|
-
* The idempotency token, a unique string generated by the client to ensure the idempotency of the creation operation.
|
|
891
|
+
* The idempotency token, which is a unique string generated by the client to ensure the idempotency of the creation operation.
|
|
892
892
|
*
|
|
893
893
|
* @example
|
|
894
894
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateContextStoreResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The request ID
|
|
5
|
+
* The request ID used to locate the request during troubleshooting.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|