@alicloud/agentloop20260520 2.8.1 → 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 +64 -52
- package/dist/client.js +64 -52
- 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 +26 -18
- package/dist/models/CreatePipelineRequest.js +2 -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 +35 -27
- package/dist/models/GetPipelineResponseBody.js +2 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- 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/ListPipelinesResponseBody.d.ts +5 -0
- package/dist/models/ListPipelinesResponseBody.js +2 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +29 -21
- package/dist/models/PreviewPipelineRequest.js +2 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +4 -4
- package/dist/models/UpdatePipelineRequest.d.ts +25 -19
- package/dist/models/UpdatePipelineRequest.js +2 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/package.json +2 -2
- package/src/client.ts +64 -52
- 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 +28 -18
- 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 +37 -27
- package/src/models/ListDatasetsRequest.ts +8 -3
- package/src/models/ListDatasetsResponseBody.ts +12 -7
- package/src/models/ListDatasetsShrinkRequest.ts +8 -3
- package/src/models/ListPipelinesResponseBody.ts +7 -0
- package/src/models/PreviewPipelineRequest.ts +31 -21
- package/src/models/PreviewPipelineResponseBody.ts +4 -4
- package/src/models/UpdatePipelineRequest.ts +27 -19
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
|
@@ -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
|
|
@@ -6,7 +6,7 @@ import { PipelineOssSource } from "./PipelineOssSource";
|
|
|
6
6
|
export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The bootstrap
|
|
9
|
+
* The bootstrap historical start time in UNIX seconds. The precision is the same as runOnce or scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the grid and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* 1735660800
|
|
@@ -36,7 +36,7 @@ export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
|
36
36
|
export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The start time of the data processing window
|
|
39
|
+
* The start time of the data processing window in UNIX seconds. This value must be less than toTime.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* 1735660800
|
|
@@ -44,7 +44,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
44
44
|
fromTime?: number;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The end time of the data processing window
|
|
47
|
+
* The end time of the data processing window in UNIX seconds. This value must be greater than fromTime.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* 1735747200
|
|
@@ -76,7 +76,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
76
76
|
export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The scheduling start time
|
|
79
|
+
* The scheduling start time in UNIX milliseconds.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* 1735660800000
|
|
@@ -396,7 +396,7 @@ export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
|
396
396
|
dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
|
|
397
397
|
/**
|
|
398
398
|
* @remarks
|
|
399
|
-
* The sink type
|
|
399
|
+
* The route sink type. Currently, only dataset is supported.
|
|
400
400
|
*
|
|
401
401
|
* @example
|
|
402
402
|
* dataset
|
|
@@ -581,7 +581,7 @@ export class CreatePipelineRequestSink extends $dara.Model {
|
|
|
581
581
|
dataset?: CreatePipelineRequestSinkDataset;
|
|
582
582
|
/**
|
|
583
583
|
* @remarks
|
|
584
|
-
* The sink type. Currently, only
|
|
584
|
+
* The sink type. Currently, only Dataset is supported.
|
|
585
585
|
*
|
|
586
586
|
* @example
|
|
587
587
|
* Dataset
|
|
@@ -635,10 +635,19 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
|
|
|
635
635
|
* status = \"pending\"
|
|
636
636
|
*/
|
|
637
637
|
filter?: string;
|
|
638
|
+
/**
|
|
639
|
+
* @remarks
|
|
640
|
+
* The version of the source dataset.
|
|
641
|
+
*
|
|
642
|
+
* @example
|
|
643
|
+
* v1
|
|
644
|
+
*/
|
|
645
|
+
version?: string;
|
|
638
646
|
static names(): { [key: string]: string } {
|
|
639
647
|
return {
|
|
640
648
|
dataset: 'dataset',
|
|
641
649
|
filter: 'filter',
|
|
650
|
+
version: 'version',
|
|
642
651
|
};
|
|
643
652
|
}
|
|
644
653
|
|
|
@@ -646,6 +655,7 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
|
|
|
646
655
|
return {
|
|
647
656
|
dataset: 'string',
|
|
648
657
|
filter: 'string',
|
|
658
|
+
version: 'string',
|
|
649
659
|
};
|
|
650
660
|
}
|
|
651
661
|
|
|
@@ -669,7 +679,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
|
|
|
669
679
|
name?: string;
|
|
670
680
|
/**
|
|
671
681
|
* @remarks
|
|
672
|
-
* The type of the field. Valid values:
|
|
682
|
+
* The type of the field. Valid values: text, long, double, and json.
|
|
673
683
|
*
|
|
674
684
|
* @example
|
|
675
685
|
* text
|
|
@@ -717,7 +727,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
717
727
|
project?: string;
|
|
718
728
|
/**
|
|
719
729
|
* @remarks
|
|
720
|
-
* The filtered query statement (SLS query
|
|
730
|
+
* The filtered query statement (SLS query and analysis syntax).
|
|
721
731
|
*
|
|
722
732
|
* @example
|
|
723
733
|
* * | SELECT *
|
|
@@ -751,7 +761,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
751
761
|
export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
752
762
|
/**
|
|
753
763
|
* @remarks
|
|
754
|
-
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a fixed
|
|
764
|
+
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a single fixed column `agent_trajectory`, and this parameter no longer affects the output.
|
|
755
765
|
*
|
|
756
766
|
* @example
|
|
757
767
|
* ["input","output","session_id"]
|
|
@@ -794,7 +804,7 @@ export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
794
804
|
export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
795
805
|
/**
|
|
796
806
|
* @remarks
|
|
797
|
-
* Trajectory enrichment: mounts trajectory data into the
|
|
807
|
+
* Trajectory enrichment: mounts trajectory data into the cleansing result based on `trace_id`. When writing to the dataset, the data is stored in the fixed column `agent_trajectory`, where the column value is the JSON content of the trajectory.
|
|
798
808
|
*
|
|
799
809
|
* @example
|
|
800
810
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -827,7 +837,7 @@ export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
827
837
|
export class CreatePipelineRequestSource extends $dara.Model {
|
|
828
838
|
/**
|
|
829
839
|
* @remarks
|
|
830
|
-
* The datasource config for the dataset
|
|
840
|
+
* The datasource config for the dataset in the current AgentSpace.
|
|
831
841
|
*
|
|
832
842
|
* @example
|
|
833
843
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -835,7 +845,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
835
845
|
dataset?: CreatePipelineRequestSourceDataset;
|
|
836
846
|
/**
|
|
837
847
|
* @remarks
|
|
838
|
-
* The input fields and their types. For OSS sources, the server derives the input fields from metadata. Omit `source.inputFields`.
|
|
848
|
+
* The input fields and their types. For OSS sources, the server derives the input fields from the metadata. Omit `source.inputFields`.
|
|
839
849
|
*
|
|
840
850
|
* @example
|
|
841
851
|
* [{"name":"question","type":"text"}]
|
|
@@ -843,7 +853,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
843
853
|
inputFields?: CreatePipelineRequestSourceInputFields[];
|
|
844
854
|
/**
|
|
845
855
|
* @remarks
|
|
846
|
-
* The datasource config for SLS Logstore.
|
|
856
|
+
* The datasource config for the SLS Logstore.
|
|
847
857
|
*
|
|
848
858
|
* @example
|
|
849
859
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -859,7 +869,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
859
869
|
oss?: PipelineOssSource;
|
|
860
870
|
/**
|
|
861
871
|
* @remarks
|
|
862
|
-
* The trajectory data configuration. This parameter is optional and takes effect only when
|
|
872
|
+
* The trajectory data configuration. This parameter is optional and takes effect only when the type is `trace`. It obtains ATIF standard trajectory data from the trajectory cleansing service and extends it based on features.
|
|
863
873
|
*
|
|
864
874
|
* @example
|
|
865
875
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -938,7 +948,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
938
948
|
executePolicy?: CreatePipelineRequestExecutePolicy;
|
|
939
949
|
/**
|
|
940
950
|
* @remarks
|
|
941
|
-
* The pipeline configuration
|
|
951
|
+
* The pipeline configuration, including node orchestration.
|
|
942
952
|
*
|
|
943
953
|
* @example
|
|
944
954
|
* {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
|
|
@@ -946,7 +956,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
946
956
|
pipeline?: CreatePipelineRequestPipeline;
|
|
947
957
|
/**
|
|
948
958
|
* @remarks
|
|
949
|
-
* The pipeline
|
|
959
|
+
* The pipeline type. Valid values: PROCESSING (data processing) and ORCHESTRATION (orchestration task).
|
|
950
960
|
*
|
|
951
961
|
* @example
|
|
952
962
|
* ORCHESTRATION
|
|
@@ -962,7 +972,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
962
972
|
pipelineName?: string;
|
|
963
973
|
/**
|
|
964
974
|
* @remarks
|
|
965
|
-
* The pipeline sink
|
|
975
|
+
* The pipeline sink.
|
|
966
976
|
*/
|
|
967
977
|
sink?: CreatePipelineRequestSink;
|
|
968
978
|
/**
|
|
@@ -975,7 +985,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
975
985
|
source?: CreatePipelineRequestSource;
|
|
976
986
|
/**
|
|
977
987
|
* @remarks
|
|
978
|
-
* The idempotency token.
|
|
988
|
+
* The idempotency token. A unique string generated by the client to ensure the idempotence of the creation operation.
|
|
979
989
|
*
|
|
980
990
|
* @example
|
|
981
991
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreatePipelineResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID, which is used to locate the request
|
|
8
|
+
* The request ID, which is used to locate the request during troubleshooting.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -15,9 +15,9 @@ export class GetAuditConversionSourceResponseBody extends $dara.Model {
|
|
|
15
15
|
id?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* Indicates whether the object is
|
|
19
|
-
* - true: The object is
|
|
20
|
-
* - false: The object is not
|
|
18
|
+
* Indicates whether the object is included in the transformation list of the current type. Valid values:
|
|
19
|
+
* - true: The object is included.
|
|
20
|
+
* - false: The object is not included. If no audit configuration exists, false is returned. This does not indicate whether the object is online or the task is healthy.
|
|
21
21
|
*
|
|
22
22
|
* This parameter is required.
|
|
23
23
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetDatasetRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The version number.
|
|
8
|
+
* The version number of the dataset to read. If this parameter is omitted, the current dataset is read.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1.0.0
|