@alicloud/agentloop20260520 2.7.0 → 2.8.0
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 +120 -12
- package/dist/client.js +183 -12
- package/dist/client.js.map +1 -1
- package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/AddAuditConversionSourceRequest.js +54 -0
- package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/AddAuditConversionSourceResponse.js +63 -0
- package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/CreateEvaluatorRequest.d.ts +42 -18
- package/dist/models/CreateEvaluatorRequest.js.map +1 -1
- package/dist/models/CreateEvaluatorResponseBody.d.ts +2 -2
- package/dist/models/CreateEvaluatorSkillRequest.d.ts +10 -7
- package/dist/models/CreateEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +41 -33
- 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/DeleteEvaluatorSkillRequest.d.ts +4 -1
- package/dist/models/DeleteEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/ExperimentConfig.d.ts +3 -0
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/GetAuditConversionSourceRequest.js +54 -0
- package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
- package/dist/models/GetAuditConversionSourceResponse.js +69 -0
- package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
- package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
- package/dist/models/GetEvaluatorResponseBody.d.ts +45 -12
- package/dist/models/GetEvaluatorResponseBody.js.map +1 -1
- package/dist/models/GetEvaluatorSkillRequest.d.ts +5 -2
- package/dist/models/GetEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/GetEvaluatorSkillResponseBody.d.ts +8 -8
- package/dist/models/GetPipelineResponseBody.d.ts +66 -34
- package/dist/models/GetPipelineResponseBody.js +8 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +546 -6
- package/dist/models/GetPipelineRunResponseBody.js +244 -1
- package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
- package/dist/models/ListContextStoresRequest.d.ts +3 -3
- package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
- package/dist/models/ListEvaluatorSkillsRequest.d.ts +4 -1
- package/dist/models/ListEvaluatorSkillsRequest.js.map +1 -1
- package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +8 -8
- package/dist/models/ListEvaluatorsRequest.d.ts +1 -1
- package/dist/models/ListEvaluatorsResponseBody.d.ts +10 -4
- package/dist/models/ListEvaluatorsResponseBody.js.map +1 -1
- package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
- package/dist/models/ListPipelineRunsResponseBody.d.ts +25 -9
- package/dist/models/ListPipelineRunsResponseBody.js +4 -0
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +25 -5
- package/dist/models/ListPipelinesRequest.js +2 -0
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +153 -37
- package/dist/models/ListPipelinesResponseBody.js +68 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/UpdateEvaluatorRequest.d.ts +40 -10
- package/dist/models/UpdateEvaluatorRequest.js.map +1 -1
- package/dist/models/UpdateEvaluatorSkillRequest.d.ts +7 -4
- package/dist/models/UpdateEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/UpdateEvaluatorVersionStatusRequest.d.ts +5 -3
- package/dist/models/UpdateEvaluatorVersionStatusRequest.js.map +1 -1
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +57 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +191 -12
- package/src/models/AddAuditConversionSourceRequest.ts +24 -0
- package/src/models/AddAuditConversionSourceResponse.ts +33 -0
- package/src/models/CreateEvaluatorRequest.ts +42 -18
- package/src/models/CreateEvaluatorResponseBody.ts +2 -2
- package/src/models/CreateEvaluatorSkillRequest.ts +10 -7
- package/src/models/CreatePipelineRequest.ts +43 -33
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DeleteEvaluatorSkillRequest.ts +4 -1
- package/src/models/ExperimentConfig.ts +3 -0
- package/src/models/GetAuditConversionSourceRequest.ts +24 -0
- package/src/models/GetAuditConversionSourceResponse.ts +40 -0
- package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
- package/src/models/GetContextStoreResponseBody.ts +49 -49
- package/src/models/GetEvaluatorResponseBody.ts +45 -12
- package/src/models/GetEvaluatorSkillRequest.ts +5 -2
- package/src/models/GetEvaluatorSkillResponseBody.ts +8 -8
- package/src/models/GetPipelineResponseBody.ts +74 -34
- package/src/models/GetPipelineRunResponseBody.ts +733 -6
- package/src/models/ListContextStoresRequest.ts +3 -3
- package/src/models/ListContextStoresResponseBody.ts +8 -8
- package/src/models/ListEvaluatorSkillsRequest.ts +4 -1
- package/src/models/ListEvaluatorSkillsResponseBody.ts +8 -8
- package/src/models/ListEvaluatorsRequest.ts +1 -1
- package/src/models/ListEvaluatorsResponseBody.ts +10 -4
- package/src/models/ListPipelineRunsRequest.ts +5 -5
- package/src/models/ListPipelineRunsResponseBody.ts +29 -9
- package/src/models/ListPipelinesRequest.ts +27 -5
- package/src/models/ListPipelinesResponseBody.ts +200 -37
- package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
- package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
- package/src/models/UpdateEvaluatorRequest.ts +40 -10
- package/src/models/UpdateEvaluatorSkillRequest.ts +7 -4
- package/src/models/UpdateEvaluatorVersionStatusRequest.ts +5 -3
- package/src/models/model.ts +15 -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
|
|
8
|
+
* Specifies whether to write item events for candidates dropped 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
|
|
16
|
+
* The recording method for recalled queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* raw
|
|
@@ -63,7 +63,7 @@ export class GetContextStoreResponseBodyConfigAuditLogStore extends $dara.Model
|
|
|
63
63
|
logstore?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The name of the SLS project where the audit logs
|
|
66
|
+
* The name of the SLS project where the audit logs for the experience store are stored.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* agentloop-xxx
|
|
@@ -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. Default value: all actions, including ADD, UPDATE, MERGE, and DELETE.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -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 memories expire. A value of 0 indicates that memories do 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
|
|
229
|
+
* The custom extraction instruction. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
230
230
|
*
|
|
231
231
|
* @example
|
|
232
232
|
* Extract only user product preferences
|
|
@@ -242,10 +242,10 @@ 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 the rules is not extracted.
|
|
246
246
|
*
|
|
247
247
|
* @example
|
|
248
|
-
* ["
|
|
248
|
+
* ["密码","证件号"]
|
|
249
249
|
*/
|
|
250
250
|
excludeRules?: string[];
|
|
251
251
|
/**
|
|
@@ -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
|
|
274
|
+
* The independent storage rules for this policy. If 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. 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. The ID is 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
|
*
|
|
@@ -374,7 +374,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicy extends $dara.Mod
|
|
|
374
374
|
categories?: string[];
|
|
375
375
|
/**
|
|
376
376
|
* @remarks
|
|
377
|
-
* The custom extraction
|
|
377
|
+
* The custom extraction instruction. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
378
378
|
*
|
|
379
379
|
* @example
|
|
380
380
|
* Extract only user product preferences
|
|
@@ -382,10 +382,10 @@ 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 the rules is not extracted.
|
|
386
386
|
*
|
|
387
387
|
* @example
|
|
388
|
-
* ["
|
|
388
|
+
* ["密码","证件号"]
|
|
389
389
|
*/
|
|
390
390
|
excludeRules?: string[];
|
|
391
391
|
/**
|
|
@@ -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
|
+
* Specifies that at least one of the scope fields must be non-empty. Valid values for the elements: 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. The description is appended to the extraction prompt.
|
|
629
629
|
*
|
|
630
630
|
* @example
|
|
631
631
|
* Customer tier
|
|
@@ -633,7 +633,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
|
|
|
633
633
|
description?: string;
|
|
634
634
|
/**
|
|
635
635
|
* @remarks
|
|
636
|
-
* Specifies whether the field is
|
|
636
|
+
* Specifies whether the field is sensitive.
|
|
637
637
|
*
|
|
638
638
|
* @example
|
|
639
639
|
* false
|
|
@@ -649,7 +649,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
|
|
|
649
649
|
sourceField?: string;
|
|
650
650
|
/**
|
|
651
651
|
* @remarks
|
|
652
|
-
* The target
|
|
652
|
+
* The target path for writing, such as metadata.customerTier.
|
|
653
653
|
*
|
|
654
654
|
* @example
|
|
655
655
|
* metadata.customerTier
|
|
@@ -741,7 +741,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends
|
|
|
741
741
|
startSeq?: number;
|
|
742
742
|
/**
|
|
743
743
|
* @remarks
|
|
744
|
-
* The
|
|
744
|
+
* The Dataset version specified for the fixed mode.
|
|
745
745
|
*
|
|
746
746
|
* @example
|
|
747
747
|
* v3
|
|
@@ -780,7 +780,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
|
|
|
780
780
|
customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
|
|
781
781
|
/**
|
|
782
782
|
* @remarks
|
|
783
|
-
* The name of the
|
|
783
|
+
* The name of the Dataset in the same AgentSpace. The name cannot be changed after creation.
|
|
784
784
|
*
|
|
785
785
|
* @example
|
|
786
786
|
* trajectory-with-crm-profile
|
|
@@ -788,7 +788,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
|
|
|
788
788
|
datasetName?: string;
|
|
789
789
|
/**
|
|
790
790
|
* @remarks
|
|
791
|
-
* The row filter
|
|
791
|
+
* The row filter condition.
|
|
792
792
|
*/
|
|
793
793
|
filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
|
|
794
794
|
/**
|
|
@@ -801,7 +801,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
|
|
|
801
801
|
pollIntervalSeconds?: number;
|
|
802
802
|
/**
|
|
803
803
|
* @remarks
|
|
804
|
-
* The row schema contract of the
|
|
804
|
+
* The row schema contract of the Dataset. The value is fixed to MemorySourceV1 in the current phase.
|
|
805
805
|
*
|
|
806
806
|
* @example
|
|
807
807
|
* MemorySourceV1
|
|
@@ -809,7 +809,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
|
|
|
809
809
|
schemaContract?: string;
|
|
810
810
|
/**
|
|
811
811
|
* @remarks
|
|
812
|
-
* The version consumption policy of the
|
|
812
|
+
* The version consumption policy of the Dataset.
|
|
813
813
|
*/
|
|
814
814
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy;
|
|
815
815
|
static names(): { [key: string]: string } {
|
|
@@ -863,7 +863,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
|
|
|
863
863
|
agentNames?: string[];
|
|
864
864
|
/**
|
|
865
865
|
* @remarks
|
|
866
|
-
* Specifies whether to exclude degraded trajectories. Default value: false, which
|
|
866
|
+
* Specifies whether to exclude degraded trajectories. Default value: false, which indicates that degraded trajectories are included.
|
|
867
867
|
*
|
|
868
868
|
* @example
|
|
869
869
|
* false
|
|
@@ -931,7 +931,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
|
|
|
931
931
|
export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping extends $dara.Model {
|
|
932
932
|
/**
|
|
933
933
|
* @remarks
|
|
934
|
-
* The JSONPath
|
|
934
|
+
* The JSONPath of agentId. Default value: $.agent_name.
|
|
935
935
|
*
|
|
936
936
|
* @example
|
|
937
937
|
* $.agent_name
|
|
@@ -939,7 +939,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
|
|
|
939
939
|
agentId?: string;
|
|
940
940
|
/**
|
|
941
941
|
* @remarks
|
|
942
|
-
* The JSONPath
|
|
942
|
+
* The JSONPath of appId. Default value: $.service_names[0].
|
|
943
943
|
*
|
|
944
944
|
* @example
|
|
945
945
|
* $.service_names[0]
|
|
@@ -947,7 +947,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
|
|
|
947
947
|
appId?: string;
|
|
948
948
|
/**
|
|
949
949
|
* @remarks
|
|
950
|
-
* The JSONPath
|
|
950
|
+
* The JSONPath of runId. By default, this field is not mapped to prevent memory isolation by a single trajectory.
|
|
951
951
|
*
|
|
952
952
|
* @example
|
|
953
953
|
* $.trajectory_id
|
|
@@ -955,7 +955,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
|
|
|
955
955
|
runId?: string;
|
|
956
956
|
/**
|
|
957
957
|
* @remarks
|
|
958
|
-
* The JSONPath
|
|
958
|
+
* The JSONPath of userId. By default, version 1 does not map this field, and version 2 sequentially retrieves user.id and enduser.id from agent attributes.
|
|
959
959
|
*
|
|
960
960
|
* @example
|
|
961
961
|
* $.trajectory_extensions.user_id
|
|
@@ -1012,12 +1012,12 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
|
|
|
1012
1012
|
pollIntervalSeconds?: number;
|
|
1013
1013
|
/**
|
|
1014
1014
|
* @remarks
|
|
1015
|
-
* The scope field mapping. Dot paths, array
|
|
1015
|
+
* The scope field mapping. Dot paths, array subscripts, and quoted property keys are supported. An empty string indicates no mapping.
|
|
1016
1016
|
*/
|
|
1017
1017
|
scopeMapping?: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping;
|
|
1018
1018
|
/**
|
|
1019
1019
|
* @remarks
|
|
1020
|
-
* The default mapping version for trajectory identity.
|
|
1020
|
+
* The default mapping version for trajectory identity. A value of 1 retains legacy rules, and a value of 2 reads user.id or enduser.id from agent attributes. The version is frozen upon creation.
|
|
1021
1021
|
*
|
|
1022
1022
|
* @example
|
|
1023
1023
|
* 2
|
|
@@ -1025,7 +1025,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Mod
|
|
|
1025
1025
|
scopeMappingVersion?: number;
|
|
1026
1026
|
/**
|
|
1027
1027
|
* @remarks
|
|
1028
|
-
* The start time for trajectory consumption, in ISO 8601 UTC format. If not specified, the
|
|
1028
|
+
* The start time for trajectory consumption, in ISO 8601 UTC format. If not specified, the creation time is used by default.
|
|
1029
1029
|
*
|
|
1030
1030
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
1031
1031
|
*
|
|
@@ -1081,7 +1081,7 @@ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.
|
|
|
1081
1081
|
mode?: string;
|
|
1082
1082
|
/**
|
|
1083
1083
|
* @remarks
|
|
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.
|
|
1084
|
+
* The initial consumed append sequence number, which is a decimal string of a non-negative int64 value. Default value: 0. The __dataset_seq field is used, and the business timestamp is not used as the consumption checkpoint.
|
|
1085
1085
|
*
|
|
1086
1086
|
* @example
|
|
1087
1087
|
* 0
|
|
@@ -1113,7 +1113,7 @@ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.
|
|
|
1113
1113
|
export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
1114
1114
|
/**
|
|
1115
1115
|
* @remarks
|
|
1116
|
-
* 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 belonged upon creation.
|
|
1117
1117
|
*
|
|
1118
1118
|
* @example
|
|
1119
1119
|
* my-agent-space
|
|
@@ -1150,7 +1150,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1150
1150
|
format?: string;
|
|
1151
1151
|
/**
|
|
1152
1152
|
* @remarks
|
|
1153
|
-
* The maximum number of records read in a single dataset operation. Valid values: 1 to 1000.
|
|
1153
|
+
* The maximum number of records read in a single dataset read operation. Valid values: 1 to 1000.
|
|
1154
1154
|
*
|
|
1155
1155
|
* @example
|
|
1156
1156
|
* 1000
|
|
@@ -1173,7 +1173,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1173
1173
|
trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
|
|
1174
1174
|
/**
|
|
1175
1175
|
* @remarks
|
|
1176
|
-
* The source type, which can be trajectory or dataset. For the experience type, if this parameter is not
|
|
1176
|
+
* The source type, which can be trajectory or dataset. For the experience type, if this parameter is not specified, trajectory is used. If dataset is used, the datasetName, format, and binding at this level are used. The default is manual. If versionPolicy.mode is set to follow, continuous processing is performed and automatically applied to the experience store. For the memory type, if this parameter is not specified, manual is used, meaning only AddContexts writes are allowed. Otherwise, the trajectory or dataset sub-configuration with the same name is used. This parameter cannot be changed after creation.
|
|
1177
1177
|
*
|
|
1178
1178
|
* @example
|
|
1179
1179
|
* dataset
|
|
@@ -1181,7 +1181,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1181
1181
|
type?: string;
|
|
1182
1182
|
/**
|
|
1183
1183
|
* @remarks
|
|
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.
|
|
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 data by append sequence number. This parameter cannot be changed after creation.
|
|
1185
1185
|
*/
|
|
1186
1186
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
|
|
1187
1187
|
static names(): { [key: string]: string } {
|
|
@@ -1238,12 +1238,12 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
1238
1238
|
export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
1239
1239
|
/**
|
|
1240
1240
|
* @remarks
|
|
1241
|
-
* The processing progress. For memory trajectory, the
|
|
1241
|
+
* The processing progress. For memory trajectory, the format is {processTimeNs, watermarkMs}. For dataset, the format is {seq}. For manual, the format is {}. The seq for experience dataset follow uses an exact int64 decimal string.
|
|
1242
1242
|
*/
|
|
1243
1243
|
checkpoint?: { [key: string]: any };
|
|
1244
1244
|
/**
|
|
1245
1245
|
* @remarks
|
|
1246
|
-
* The current reserved sequence window {after,until,runId}
|
|
1246
|
+
* The current reserved sequence window for experience dataset follow, formatted as {after, until, runId}. All sequence numbers are decimal strings. A failure does not advance the submitted checkpoint.
|
|
1247
1247
|
*/
|
|
1248
1248
|
currentWindow?: { [key: string]: string };
|
|
1249
1249
|
/**
|
|
@@ -1256,7 +1256,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
|
1256
1256
|
lastError?: string;
|
|
1257
1257
|
/**
|
|
1258
1258
|
* @remarks
|
|
1259
|
-
* The run ID of the last successful automatic application to the native experience library. This is for audit purposes only.
|
|
1259
|
+
* The run ID of the last successful automatic application to the native experience library. This field is for audit purposes only.
|
|
1260
1260
|
*
|
|
1261
1261
|
* @example
|
|
1262
1262
|
* opr-example
|
|
@@ -1328,7 +1328,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
|
1328
1328
|
export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
|
|
1329
1329
|
/**
|
|
1330
1330
|
* @remarks
|
|
1331
|
-
* The allowed storage actions.
|
|
1331
|
+
* The allowed storage actions. Default value: all actions, including ADD, UPDATE, MERGE, and DELETE.
|
|
1332
1332
|
*
|
|
1333
1333
|
* @example
|
|
1334
1334
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -1376,7 +1376,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
|
|
|
1376
1376
|
similarityThreshold?: number;
|
|
1377
1377
|
/**
|
|
1378
1378
|
* @remarks
|
|
1379
|
-
* The number of days before
|
|
1379
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
1380
1380
|
*
|
|
1381
1381
|
* @example
|
|
1382
1382
|
* 0
|
|
@@ -1431,7 +1431,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1431
1431
|
auditLogStore?: GetContextStoreResponseBodyConfigAuditLogStore;
|
|
1432
1432
|
/**
|
|
1433
1433
|
* @remarks
|
|
1434
|
-
* The extraction policies.
|
|
1434
|
+
* The extraction policies. You can configure 1 to 10 policies. The strategyVersion indicates the snapshot version of the global configuration.
|
|
1435
1435
|
*/
|
|
1436
1436
|
extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
|
|
1437
1437
|
/**
|
|
@@ -1441,12 +1441,12 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1441
1441
|
extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
|
|
1442
1442
|
/**
|
|
1443
1443
|
* @remarks
|
|
1444
|
-
* The
|
|
1444
|
+
* The coordinates of the system-assigned event Logstore for the memory type, which is located in the SLS project bound to the AgentSpace.
|
|
1445
1445
|
*/
|
|
1446
1446
|
innerSource?: GetContextStoreResponseBodyConfigInnerSource;
|
|
1447
1447
|
/**
|
|
1448
1448
|
* @remarks
|
|
1449
|
-
* The metadata field mapping. The key is the business field and the value is the storage field.
|
|
1449
|
+
* The metadata field mapping. The key is the business field, and the value is the storage field.
|
|
1450
1450
|
*
|
|
1451
1451
|
* @example
|
|
1452
1452
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -1462,7 +1462,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1462
1462
|
miningInterval?: string;
|
|
1463
1463
|
/**
|
|
1464
1464
|
* @remarks
|
|
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
|
|
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 name is not inferred by the client and cannot replace the ingestion and recall criteria of the native experience database.
|
|
1466
1466
|
*
|
|
1467
1467
|
* @example
|
|
1468
1468
|
* experience-review-library
|
|
@@ -1498,7 +1498,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1498
1498
|
scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
|
|
1499
1499
|
/**
|
|
1500
1500
|
* @remarks
|
|
1501
|
-
* The list of service names, which
|
|
1501
|
+
* The list of service names, which are used together with source.agentSpace to locate the trace data source. The list cannot be changed in the current phase.
|
|
1502
1502
|
*
|
|
1503
1503
|
* @example
|
|
1504
1504
|
* ["order-service","payment-service"]
|
|
@@ -1506,12 +1506,12 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1506
1506
|
serviceNames?: string[];
|
|
1507
1507
|
/**
|
|
1508
1508
|
* @remarks
|
|
1509
|
-
* The datasource config
|
|
1509
|
+
* The datasource config provided by the user, which serves only as the root identity of the data source.
|
|
1510
1510
|
*/
|
|
1511
1511
|
source?: GetContextStoreResponseBodyConfigSource;
|
|
1512
1512
|
/**
|
|
1513
1513
|
* @remarks
|
|
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.
|
|
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. Pausing and restarting retain the checkpoint.
|
|
1515
1515
|
*/
|
|
1516
1516
|
sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
|
|
1517
1517
|
/**
|
|
@@ -1655,7 +1655,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1655
1655
|
contextStoreName?: string;
|
|
1656
1656
|
/**
|
|
1657
1657
|
* @remarks
|
|
1658
|
-
* The type of the context store, such as experience
|
|
1658
|
+
* The type of the context store, such as experience for experience store and memory for memory store.
|
|
1659
1659
|
*
|
|
1660
1660
|
* @example
|
|
1661
1661
|
* experience
|
|
@@ -1697,7 +1697,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1697
1697
|
requestId?: string;
|
|
1698
1698
|
/**
|
|
1699
1699
|
* @remarks
|
|
1700
|
-
* The status of the context store
|
|
1700
|
+
* The status of the context store, such as ACTIVE, INITIALIZING, or FAILED.
|
|
1701
1701
|
*
|
|
1702
1702
|
* @example
|
|
1703
1703
|
* ACTIVE
|
|
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetEvaluatorResponseBodyEvaluatorSkills extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The skill revision number used by this evaluator version.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1770386951147366810
|
|
9
12
|
*/
|
|
10
13
|
currentVersion?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The description of the skill purpose.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
|
-
*
|
|
19
|
+
* Verify the factual basis in the response
|
|
14
20
|
*/
|
|
15
21
|
description?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The display name of the skill.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
|
-
*
|
|
27
|
+
* Fact-checking
|
|
19
28
|
*/
|
|
20
29
|
displayName?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* Indicates whether the skill is enabled in the queried evaluator version.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* true
|
|
24
36
|
*/
|
|
25
37
|
enable?: boolean;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The skill name.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* fact-check
|
|
29
44
|
*/
|
|
@@ -60,23 +75,32 @@ export class GetEvaluatorResponseBodyEvaluatorSkills extends $dara.Model {
|
|
|
60
75
|
export class GetEvaluatorResponseBodyEvaluatorVersions extends $dara.Model {
|
|
61
76
|
/**
|
|
62
77
|
* @remarks
|
|
63
|
-
* The version
|
|
78
|
+
* The time when the version was created. The value is a UNIX timestamp in seconds.
|
|
64
79
|
*
|
|
65
80
|
* @example
|
|
66
81
|
* 1782816000
|
|
67
82
|
*/
|
|
68
83
|
createdAt?: number;
|
|
69
84
|
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* Indicates whether this version can be selected when creating an evaluation task or an experiment plan.
|
|
87
|
+
*
|
|
70
88
|
* @example
|
|
71
89
|
* true
|
|
72
90
|
*/
|
|
73
91
|
selectable?: boolean;
|
|
74
92
|
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The version status. DRAFT indicates a draft. PUBLISHED indicates that the version is published. OFFLINE indicates that the version is offline.
|
|
95
|
+
*
|
|
75
96
|
* @example
|
|
76
97
|
* PUBLISHED
|
|
77
98
|
*/
|
|
78
99
|
status?: string;
|
|
79
100
|
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The time when the version was last updated. The value is a UNIX timestamp in seconds.
|
|
103
|
+
*
|
|
80
104
|
* @example
|
|
81
105
|
* 1795478400
|
|
82
106
|
*/
|
|
@@ -139,7 +163,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
139
163
|
agentSpace?: string;
|
|
140
164
|
/**
|
|
141
165
|
* @remarks
|
|
142
|
-
* The list of
|
|
166
|
+
* The list of annotation tags.
|
|
143
167
|
*
|
|
144
168
|
* @example
|
|
145
169
|
* ["__en"]
|
|
@@ -147,15 +171,15 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
147
171
|
annotations?: string[];
|
|
148
172
|
/**
|
|
149
173
|
* @remarks
|
|
150
|
-
* The
|
|
174
|
+
* The current version configuration.
|
|
151
175
|
*
|
|
152
176
|
* @example
|
|
153
|
-
* {"prompt":"
|
|
177
|
+
* {"prompt":"Evaluate the task completion"}
|
|
154
178
|
*/
|
|
155
179
|
config?: { [key: string]: any };
|
|
156
180
|
/**
|
|
157
181
|
* @remarks
|
|
158
|
-
* The creation time
|
|
182
|
+
* The creation time. The value is a UNIX timestamp in seconds.
|
|
159
183
|
*
|
|
160
184
|
* @example
|
|
161
185
|
* 1782816000
|
|
@@ -163,7 +187,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
163
187
|
createdAt?: number;
|
|
164
188
|
/**
|
|
165
189
|
* @remarks
|
|
166
|
-
* The version number
|
|
190
|
+
* The current version number.
|
|
167
191
|
*
|
|
168
192
|
* @example
|
|
169
193
|
* 1.0.0
|
|
@@ -174,7 +198,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
174
198
|
* The evaluator description.
|
|
175
199
|
*
|
|
176
200
|
* @example
|
|
177
|
-
* Determines whether the
|
|
201
|
+
* Determines whether the agent completed the user task
|
|
178
202
|
*/
|
|
179
203
|
description?: string;
|
|
180
204
|
/**
|
|
@@ -182,7 +206,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
182
206
|
* The display name.
|
|
183
207
|
*
|
|
184
208
|
* @example
|
|
185
|
-
*
|
|
209
|
+
* Workflow task completion
|
|
186
210
|
*/
|
|
187
211
|
displayName?: string;
|
|
188
212
|
/**
|
|
@@ -218,16 +242,25 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
218
242
|
*/
|
|
219
243
|
properties?: { [key: string]: any };
|
|
220
244
|
/**
|
|
245
|
+
* @remarks
|
|
246
|
+
* Indicates whether this version can be selected when creating an evaluation task or an experiment plan.
|
|
247
|
+
*
|
|
221
248
|
* @example
|
|
222
249
|
* true
|
|
223
250
|
*/
|
|
224
251
|
selectable?: boolean;
|
|
225
252
|
/**
|
|
253
|
+
* @remarks
|
|
254
|
+
* The list of business skill summaries for the queried evaluator version.
|
|
255
|
+
*
|
|
226
256
|
* @example
|
|
227
|
-
* [{"skillName":"fact-check","displayName":"
|
|
257
|
+
* [{"skillName":"fact-check","displayName":"Fact-checking","description":"Verify the factual basis in the response","enable":true,"currentVersion":"1770386951147366810"}]
|
|
228
258
|
*/
|
|
229
259
|
skills?: GetEvaluatorResponseBodyEvaluatorSkills[];
|
|
230
260
|
/**
|
|
261
|
+
* @remarks
|
|
262
|
+
* The version status. DRAFT indicates a draft. PUBLISHED indicates that the version is published. OFFLINE indicates that the version is offline.
|
|
263
|
+
*
|
|
231
264
|
* @example
|
|
232
265
|
* PUBLISHED
|
|
233
266
|
*/
|
|
@@ -242,7 +275,7 @@ export class GetEvaluatorResponseBodyEvaluator extends $dara.Model {
|
|
|
242
275
|
type?: string;
|
|
243
276
|
/**
|
|
244
277
|
* @remarks
|
|
245
|
-
* The update time
|
|
278
|
+
* The update time. The value is a UNIX timestamp in seconds.
|
|
246
279
|
*
|
|
247
280
|
* @example
|
|
248
281
|
* 1782816600
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetEvaluatorSkillRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The AgentSpace
|
|
8
|
+
* The name of the AgentSpace.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -14,13 +14,16 @@ export class GetEvaluatorSkillRequest extends $dara.Model {
|
|
|
14
14
|
*/
|
|
15
15
|
agentSpace?: string;
|
|
16
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The version number of the custom evaluator to which the queried skill belongs. If omitted, the latestVersion of the evaluator is used. The revision number of the skill itself is specified by version.
|
|
19
|
+
*
|
|
17
20
|
* @example
|
|
18
21
|
* v2
|
|
19
22
|
*/
|
|
20
23
|
evaluatorVersion?: string;
|
|
21
24
|
/**
|
|
22
25
|
* @remarks
|
|
23
|
-
* The skill
|
|
26
|
+
* The version of the skill.
|
|
24
27
|
*
|
|
25
28
|
* @example
|
|
26
29
|
* 1782816000000
|
|
@@ -55,7 +55,7 @@ export class GetEvaluatorSkillResponseBodySkillFiles extends $dara.Model {
|
|
|
55
55
|
export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The
|
|
58
|
+
* The creation time of the version. UNIX timestamp in seconds.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 1782816000
|
|
@@ -74,7 +74,7 @@ export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
|
|
|
74
74
|
* The version description.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
|
-
* Initial release
|
|
77
|
+
* Initial release
|
|
78
78
|
*/
|
|
79
79
|
versionDescription?: string;
|
|
80
80
|
static names(): { [key: string]: string } {
|
|
@@ -105,7 +105,7 @@ export class GetEvaluatorSkillResponseBodySkillVersions extends $dara.Model {
|
|
|
105
105
|
export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
106
106
|
/**
|
|
107
107
|
* @remarks
|
|
108
|
-
* The creation time
|
|
108
|
+
* The creation time. UNIX timestamp in seconds.
|
|
109
109
|
*
|
|
110
110
|
* @example
|
|
111
111
|
* 1782816000
|
|
@@ -132,12 +132,12 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
132
132
|
* The display name.
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
135
|
-
*
|
|
135
|
+
* Read trace context
|
|
136
136
|
*/
|
|
137
137
|
displayName?: string;
|
|
138
138
|
/**
|
|
139
139
|
* @remarks
|
|
140
|
-
*
|
|
140
|
+
* Specifies whether the skill is enabled.
|
|
141
141
|
*
|
|
142
142
|
* @example
|
|
143
143
|
* true
|
|
@@ -161,7 +161,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
161
161
|
latestVersion?: string;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The skill
|
|
164
|
+
* The name of the skill.
|
|
165
165
|
*
|
|
166
166
|
* @example
|
|
167
167
|
* trace_context_loader
|
|
@@ -169,7 +169,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
169
169
|
skillName?: string;
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
|
-
* The update time
|
|
172
|
+
* The update time. UNIX timestamp in seconds.
|
|
173
173
|
*
|
|
174
174
|
* @example
|
|
175
175
|
* 1782816600
|
|
@@ -180,7 +180,7 @@ export class GetEvaluatorSkillResponseBodySkill extends $dara.Model {
|
|
|
180
180
|
* The list of skill versions.
|
|
181
181
|
*
|
|
182
182
|
* @example
|
|
183
|
-
* [{"version":"1782816000000","versionDescription":"Initial release
|
|
183
|
+
* [{"version":"1782816000000","versionDescription":"Initial release"}]
|
|
184
184
|
*/
|
|
185
185
|
versions?: GetEvaluatorSkillResponseBodySkillVersions[];
|
|
186
186
|
static names(): { [key: string]: string } {
|