@alicloud/agentloop20260520 2.5.0 → 2.5.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 +36 -24
- package/dist/client.js +36 -24
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDatasetVersionRequest.d.ts +3 -3
- package/dist/models/CreateExperimentPlanRequest.d.ts +11 -8
- package/dist/models/CreateExperimentPlanRequest.js.map +1 -1
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +32 -29
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +3 -3
- package/dist/models/GetAgentSpaceResponseBody.d.ts +11 -2
- package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
- package/dist/models/GetEvaluationRunResponseBody.d.ts +27 -17
- package/dist/models/GetEvaluationRunResponseBody.js +5 -0
- package/dist/models/GetEvaluationRunResponseBody.js.map +1 -1
- package/dist/models/GetEvaluationTaskResponseBody.d.ts +23 -13
- package/dist/models/GetEvaluationTaskResponseBody.js +5 -0
- package/dist/models/GetEvaluationTaskResponseBody.js.map +1 -1
- package/dist/models/GetOptimizeTaskResponseBody.d.ts +14 -5
- package/dist/models/GetOptimizeTaskResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +25 -21
- package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
- package/dist/models/ListAgentSpacesRequest.d.ts +2 -2
- package/dist/models/ListAgentSpacesResponseBody.d.ts +5 -5
- package/dist/models/ListAgentSpacesShrinkRequest.d.ts +2 -2
- package/dist/models/ListDatasetVersionsRequest.d.ts +1 -1
- package/dist/models/ListEvaluatorsRequest.d.ts +2 -2
- package/dist/models/ListEvaluatorsResponseBody.d.ts +7 -7
- package/dist/models/ListExperimentPlansRequest.d.ts +5 -5
- package/dist/models/ListExperimentPlansResponseBody.d.ts +3 -3
- package/dist/models/ListOptimizeRunsRequest.d.ts +6 -6
- package/dist/models/ListOptimizeRunsResponseBody.d.ts +25 -8
- package/dist/models/ListOptimizeRunsResponseBody.js.map +1 -1
- package/dist/models/ListOptimizeTasksRequest.d.ts +2 -2
- package/dist/models/ListOptimizeTasksResponseBody.d.ts +17 -8
- package/dist/models/ListOptimizeTasksResponseBody.js.map +1 -1
- package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
- package/dist/models/ListPipelineRunsResponseBody.d.ts +18 -9
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/MetaSchemaValue.d.ts +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +13 -10
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +12 -12
- package/dist/models/UpdateContextStoreRequest.d.ts +59 -45
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +5 -5
- package/dist/models/UpdateEvaluatorSkillRequest.d.ts +11 -11
- package/dist/models/UpdateExperimentPlanRequest.d.ts +7 -4
- package/dist/models/UpdateExperimentPlanRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +36 -24
- package/src/models/CreateDatasetVersionRequest.ts +3 -3
- package/src/models/CreateExperimentPlanRequest.ts +11 -8
- package/src/models/CreateExperimentPlanResponseBody.ts +1 -1
- package/src/models/CreatePipelineRequest.ts +32 -29
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DescribeRegionsRequest.ts +1 -1
- package/src/models/DescribeRegionsResponseBody.ts +3 -3
- package/src/models/GetAgentSpaceResponseBody.ts +11 -2
- package/src/models/GetEvaluationRunResponseBody.ts +30 -17
- package/src/models/GetEvaluationTaskResponseBody.ts +26 -13
- package/src/models/GetOptimizeTaskResponseBody.ts +14 -5
- package/src/models/GetPipelineRunResponseBody.ts +25 -21
- package/src/models/ListAgentSpacesRequest.ts +2 -2
- package/src/models/ListAgentSpacesResponseBody.ts +5 -5
- package/src/models/ListAgentSpacesShrinkRequest.ts +2 -2
- package/src/models/ListDatasetVersionsRequest.ts +1 -1
- package/src/models/ListEvaluatorsRequest.ts +2 -2
- package/src/models/ListEvaluatorsResponseBody.ts +7 -7
- package/src/models/ListExperimentPlansRequest.ts +5 -5
- package/src/models/ListExperimentPlansResponseBody.ts +3 -3
- package/src/models/ListOptimizeRunsRequest.ts +6 -6
- package/src/models/ListOptimizeRunsResponseBody.ts +25 -8
- package/src/models/ListOptimizeTasksRequest.ts +2 -2
- package/src/models/ListOptimizeTasksResponseBody.ts +17 -8
- package/src/models/ListPipelineRunsRequest.ts +5 -5
- package/src/models/ListPipelineRunsResponseBody.ts +18 -9
- package/src/models/MetaSchemaValue.ts +1 -1
- package/src/models/PreviewPipelineRequest.ts +13 -10
- package/src/models/PreviewPipelineResponseBody.ts +12 -12
- package/src/models/UpdateContextStoreRequest.ts +59 -45
- package/src/models/UpdateContextStoreResponseBody.ts +5 -5
- package/src/models/UpdateEvaluatorSkillRequest.ts +11 -11
- package/src/models/UpdateExperimentPlanRequest.ts +7 -4
|
@@ -85,7 +85,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesModel extends $dar
|
|
|
85
85
|
export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The allowed storage actions.
|
|
88
|
+
* The allowed storage actions. By default, all actions are allowed, including ADD, UPDATE, MERGE, and DELETE.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -93,7 +93,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
93
93
|
allowedActions?: string[];
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* Specifies whether to
|
|
96
|
+
* Specifies whether to enable deduplication in event mode. Default value: true.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* true
|
|
@@ -101,7 +101,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
101
101
|
dedupe?: boolean;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* Specifies whether to enable
|
|
104
|
+
* Specifies whether to enable manual edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* true
|
|
@@ -109,7 +109,11 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
109
109
|
humanEditProtection?: boolean;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
* The merge key for the upsert mode. Valid values:
|
|
112
|
+
* The merge key for the upsert mode. Valid values:
|
|
113
|
+
* - factKey
|
|
114
|
+
* - semantic
|
|
115
|
+
* - both
|
|
116
|
+
* Default value: semantic.
|
|
113
117
|
*
|
|
114
118
|
* @example
|
|
115
119
|
* semantic
|
|
@@ -117,7 +121,10 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
117
121
|
mergeKey?: string;
|
|
118
122
|
/**
|
|
119
123
|
* @remarks
|
|
120
|
-
* The storage mode. Valid values:
|
|
124
|
+
* The storage mode. Valid values:
|
|
125
|
+
* - event: event append
|
|
126
|
+
* - upsert: merge and update
|
|
127
|
+
* Default value: upsert.
|
|
121
128
|
*
|
|
122
129
|
* @example
|
|
123
130
|
* upsert
|
|
@@ -133,7 +140,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
133
140
|
similarityThreshold?: number;
|
|
134
141
|
/**
|
|
135
142
|
* @remarks
|
|
136
|
-
* The number of days before memory expires. A value of 0 indicates that the memory does not expire.
|
|
143
|
+
* The number of days before a memory expires. A value of 0 indicates that the memory does not expire.
|
|
137
144
|
*
|
|
138
145
|
* @example
|
|
139
146
|
* 0
|
|
@@ -186,7 +193,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
186
193
|
categories?: string[];
|
|
187
194
|
/**
|
|
188
195
|
* @remarks
|
|
189
|
-
* The custom extraction instructions. This
|
|
196
|
+
* The custom extraction instructions. This is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
190
197
|
*
|
|
191
198
|
* @example
|
|
192
199
|
* Extract only user product preferences
|
|
@@ -194,7 +201,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
194
201
|
customInstructions?: string;
|
|
195
202
|
/**
|
|
196
203
|
* @remarks
|
|
197
|
-
* Specifies whether to execute this policy for new input. Default value: true. Disabling the policy does not delete historical
|
|
204
|
+
* Specifies whether to execute this policy for new input. Default value: true. Disabling the policy does not delete historical memories.
|
|
198
205
|
*
|
|
199
206
|
* @example
|
|
200
207
|
* true
|
|
@@ -231,12 +238,12 @@ export class UpdateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
231
238
|
preset?: string;
|
|
232
239
|
/**
|
|
233
240
|
* @remarks
|
|
234
|
-
* The independent storage rules for this policy. If omitted, the original value is retained. New policies use the default value.
|
|
241
|
+
* The independent storage rules for this policy. If omitted, the original value is retained. New policies use the default value. By default, the validity period is refreshed for repeatedly confirmed memories.
|
|
235
242
|
*/
|
|
236
243
|
storagePolicy?: UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy;
|
|
237
244
|
/**
|
|
238
245
|
* @remarks
|
|
239
|
-
* The ID of the extraction policy. This parameter is optional. If omitted, the default value is
|
|
246
|
+
* The ID of the extraction policy. This parameter is optional. If omitted, the default value is default. 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
247
|
*
|
|
241
248
|
* @example
|
|
242
249
|
* preferences
|
|
@@ -332,7 +339,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
|
|
|
332
339
|
categories?: string[];
|
|
333
340
|
/**
|
|
334
341
|
* @remarks
|
|
335
|
-
* The custom extraction instructions. This
|
|
342
|
+
* The custom extraction instructions. This is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
336
343
|
*
|
|
337
344
|
* @example
|
|
338
345
|
* Extract only user product preferences
|
|
@@ -400,7 +407,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
|
|
|
400
407
|
export class UpdateContextStoreRequestConfigScopePolicy extends $dara.Model {
|
|
401
408
|
/**
|
|
402
409
|
* @remarks
|
|
403
|
-
*
|
|
410
|
+
* At least one scope field must be non-empty. Valid element values are userId, agentId, appId, and runId.
|
|
404
411
|
*
|
|
405
412
|
* @example
|
|
406
413
|
* ["userId"]
|
|
@@ -433,7 +440,7 @@ export class UpdateContextStoreRequestConfigScopePolicy extends $dara.Model {
|
|
|
433
440
|
export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $dara.Model {
|
|
434
441
|
/**
|
|
435
442
|
* @remarks
|
|
436
|
-
* The field
|
|
443
|
+
* The description of the field. This is required when usage is set to extraction-input.
|
|
437
444
|
*
|
|
438
445
|
* @example
|
|
439
446
|
* Customer tier
|
|
@@ -441,7 +448,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
441
448
|
description?: string;
|
|
442
449
|
/**
|
|
443
450
|
* @remarks
|
|
444
|
-
* Specifies whether the field is
|
|
451
|
+
* Specifies whether the field is sensitive.
|
|
445
452
|
*
|
|
446
453
|
* @example
|
|
447
454
|
* false
|
|
@@ -449,7 +456,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
449
456
|
sensitive?: boolean;
|
|
450
457
|
/**
|
|
451
458
|
* @remarks
|
|
452
|
-
* The source field
|
|
459
|
+
* The name of the source field.
|
|
453
460
|
*
|
|
454
461
|
* @example
|
|
455
462
|
* customerTier
|
|
@@ -457,7 +464,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
457
464
|
sourceField?: string;
|
|
458
465
|
/**
|
|
459
466
|
* @remarks
|
|
460
|
-
* The
|
|
467
|
+
* The target path for writing data, such as metadata.customerTier.
|
|
461
468
|
*
|
|
462
469
|
* @example
|
|
463
470
|
* metadata.customerTier
|
|
@@ -533,7 +540,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetFilter extends $dara.Mo
|
|
|
533
540
|
export class UpdateContextStoreRequestConfigSourceDataset extends $dara.Model {
|
|
534
541
|
/**
|
|
535
542
|
* @remarks
|
|
536
|
-
* The list of custom field declarations. If
|
|
543
|
+
* The list of custom field declarations. If specified, the entire list is overwritten.
|
|
537
544
|
*/
|
|
538
545
|
customFields?: UpdateContextStoreRequestConfigSourceDatasetCustomFields[];
|
|
539
546
|
/**
|
|
@@ -599,7 +606,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
599
606
|
excludeDegraded?: boolean;
|
|
600
607
|
/**
|
|
601
608
|
* @remarks
|
|
602
|
-
* The minimum
|
|
609
|
+
* The minimum number of steps. The value must be greater than or equal to 0.
|
|
603
610
|
*
|
|
604
611
|
* @example
|
|
605
612
|
* 2
|
|
@@ -607,7 +614,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
607
614
|
minStepCount?: number;
|
|
608
615
|
/**
|
|
609
616
|
* @remarks
|
|
610
|
-
* The native Simple Log Service (SLS) query statement
|
|
617
|
+
* The native Simple Log Service (SLS) query statement. This is combined with the preceding conditions using AND.
|
|
611
618
|
*
|
|
612
619
|
* @example
|
|
613
620
|
* tool_names:"search_order"
|
|
@@ -675,7 +682,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
675
682
|
appId?: string;
|
|
676
683
|
/**
|
|
677
684
|
* @remarks
|
|
678
|
-
* The JSONPath for runId.
|
|
685
|
+
* The JSONPath for runId. By default, this field is not mapped to prevent memory isolation by a single trajectory.
|
|
679
686
|
*
|
|
680
687
|
* @example
|
|
681
688
|
* $.trajectory_id
|
|
@@ -683,7 +690,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
683
690
|
runId?: string;
|
|
684
691
|
/**
|
|
685
692
|
* @remarks
|
|
686
|
-
* The JSONPath for userId.
|
|
693
|
+
* The JSONPath for userId. By default, version 1 does not map this field, and version 2 sequentially retrieves user.id and enduser.id from agent attributes.
|
|
687
694
|
*
|
|
688
695
|
* @example
|
|
689
696
|
* $.trajectory_extensions.user_id
|
|
@@ -719,12 +726,12 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
719
726
|
export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model {
|
|
720
727
|
/**
|
|
721
728
|
* @remarks
|
|
722
|
-
* The trajectory filter conditions. Conditions are combined with AND,
|
|
729
|
+
* The trajectory filter conditions. Conditions are combined with AND, while items within a list are combined with OR.
|
|
723
730
|
*/
|
|
724
731
|
filter?: UpdateContextStoreRequestConfigSourceTrajectoryFilter;
|
|
725
732
|
/**
|
|
726
733
|
* @remarks
|
|
727
|
-
* The name of the trajectory Logstore. Default value: agent-trajectory.
|
|
734
|
+
* The name of the trajectory Logstore. Default value: agent-trajectory. This cannot be changed after creation.
|
|
728
735
|
*
|
|
729
736
|
* @example
|
|
730
737
|
* agent-trajectory
|
|
@@ -740,12 +747,12 @@ export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
740
747
|
pollIntervalSeconds?: number;
|
|
741
748
|
/**
|
|
742
749
|
* @remarks
|
|
743
|
-
* The scope field mapping. Dot paths, array
|
|
750
|
+
* The scope field mapping. Dot paths, array subscripts, and quoted property keys are supported. An empty string indicates no mapping.
|
|
744
751
|
*/
|
|
745
752
|
scopeMapping?: UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping;
|
|
746
753
|
/**
|
|
747
754
|
* @remarks
|
|
748
|
-
* The default mapping version for trajectory identity. Version 1 retains the
|
|
755
|
+
* The default mapping version for trajectory identity. Version 1 retains the legacy rules. Version 2 reads user.id or enduser.id from agent attributes. The version is frozen upon creation.
|
|
749
756
|
*
|
|
750
757
|
* @example
|
|
751
758
|
* 2
|
|
@@ -789,7 +796,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
789
796
|
export class UpdateContextStoreRequestConfigSource extends $dara.Model {
|
|
790
797
|
/**
|
|
791
798
|
* @remarks
|
|
792
|
-
* The AgentSpace where the trace data source is located. Cross-AgentSpace
|
|
799
|
+
* The AgentSpace where the trace data source is located. Cross-AgentSpace operations are not supported in the current version. If specified, the value must be equal to the path AgentSpace. Otherwise, a 400 parameter error is returned. The AgentSpace cannot be changed after creation.
|
|
793
800
|
*
|
|
794
801
|
* @example
|
|
795
802
|
* my-agent-space
|
|
@@ -797,12 +804,12 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
797
804
|
agentSpace?: string;
|
|
798
805
|
/**
|
|
799
806
|
* @remarks
|
|
800
|
-
* The updatable items
|
|
807
|
+
* The updatable items for the dataset data source. The datasetName cannot be changed after creation.
|
|
801
808
|
*/
|
|
802
809
|
dataset?: UpdateContextStoreRequestConfigSourceDataset;
|
|
803
810
|
/**
|
|
804
811
|
* @remarks
|
|
805
|
-
* The data backfill
|
|
812
|
+
* The start time for data backfill in ISO 8601 UTC format.
|
|
806
813
|
*
|
|
807
814
|
* @example
|
|
808
815
|
* 2026-01-01T00:00:00Z
|
|
@@ -810,7 +817,7 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
810
817
|
startTime?: string;
|
|
811
818
|
/**
|
|
812
819
|
* @remarks
|
|
813
|
-
* The updatable items
|
|
820
|
+
* The updatable items for the trajectory data source. The source.type cannot be changed after creation.
|
|
814
821
|
*/
|
|
815
822
|
trajectory?: UpdateContextStoreRequestConfigSourceTrajectory;
|
|
816
823
|
static names(): { [key: string]: string } {
|
|
@@ -849,7 +856,7 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
849
856
|
export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
850
857
|
/**
|
|
851
858
|
* @remarks
|
|
852
|
-
* The allowed storage actions.
|
|
859
|
+
* The allowed storage actions. By default, all actions are allowed, including ADD, UPDATE, MERGE, and DELETE.
|
|
853
860
|
*
|
|
854
861
|
* @example
|
|
855
862
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -857,7 +864,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
857
864
|
allowedActions?: string[];
|
|
858
865
|
/**
|
|
859
866
|
* @remarks
|
|
860
|
-
* Specifies whether to
|
|
867
|
+
* Specifies whether to enable deduplication in event mode. Default value: true.
|
|
861
868
|
*
|
|
862
869
|
* @example
|
|
863
870
|
* true
|
|
@@ -865,7 +872,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
865
872
|
dedupe?: boolean;
|
|
866
873
|
/**
|
|
867
874
|
* @remarks
|
|
868
|
-
* Specifies whether to enable
|
|
875
|
+
* Specifies whether to enable manual edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
|
|
869
876
|
*
|
|
870
877
|
* @example
|
|
871
878
|
* true
|
|
@@ -873,7 +880,11 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
873
880
|
humanEditProtection?: boolean;
|
|
874
881
|
/**
|
|
875
882
|
* @remarks
|
|
876
|
-
* The merge key for the upsert mode. Valid values:
|
|
883
|
+
* The merge key for the upsert mode. Valid values:
|
|
884
|
+
* - factKey
|
|
885
|
+
* - semantic
|
|
886
|
+
* - both
|
|
887
|
+
* Default value: semantic.
|
|
877
888
|
*
|
|
878
889
|
* @example
|
|
879
890
|
* semantic
|
|
@@ -881,7 +892,10 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
881
892
|
mergeKey?: string;
|
|
882
893
|
/**
|
|
883
894
|
* @remarks
|
|
884
|
-
* The storage mode. Valid values:
|
|
895
|
+
* The storage mode. Valid values:
|
|
896
|
+
* - event: event append
|
|
897
|
+
* - upsert: merge and update
|
|
898
|
+
* Default value: upsert.
|
|
885
899
|
*
|
|
886
900
|
* @example
|
|
887
901
|
* upsert
|
|
@@ -897,7 +911,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
897
911
|
similarityThreshold?: number;
|
|
898
912
|
/**
|
|
899
913
|
* @remarks
|
|
900
|
-
* The number of days before memory expires. A value of 0 indicates that the memory does not expire.
|
|
914
|
+
* The number of days before a memory expires. A value of 0 indicates that the memory does not expire.
|
|
901
915
|
*
|
|
902
916
|
* @example
|
|
903
917
|
* 0
|
|
@@ -947,7 +961,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
|
|
|
947
961
|
audit?: UpdateContextStoreRequestConfigAudit;
|
|
948
962
|
/**
|
|
949
963
|
* @remarks
|
|
950
|
-
* The list of extraction policies. You can specify 1 to 10 policies. During an update, compatible fields returned as-is are ignored. The strategyVersion
|
|
964
|
+
* The list of extraction policies. You can specify 1 to 10 policies. During an update, compatible fields returned as-is are ignored. The strategyVersion field indicates the snapshot version of the overall database configuration.
|
|
951
965
|
*/
|
|
952
966
|
extractionPolicies?: UpdateContextStoreRequestConfigExtractionPolicies[];
|
|
953
967
|
/**
|
|
@@ -957,7 +971,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
|
|
|
957
971
|
extractionPolicy?: UpdateContextStoreRequestConfigExtractionPolicy;
|
|
958
972
|
/**
|
|
959
973
|
* @remarks
|
|
960
|
-
* The metadata field mapping
|
|
974
|
+
* The metadata field mapping. The key is the business field and the value is the storage field.
|
|
961
975
|
*
|
|
962
976
|
* @example
|
|
963
977
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -965,7 +979,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
|
|
|
965
979
|
metadataField?: { [key: string]: string };
|
|
966
980
|
/**
|
|
967
981
|
* @remarks
|
|
968
|
-
* Specifies whether the experience library
|
|
982
|
+
* Specifies whether runtime recall is enabled for the experience library. When modifying this property, you must pass expectedRuntimeRecallRevision and submit only this property in the config.
|
|
969
983
|
*/
|
|
970
984
|
runtimeRecallEnabled?: boolean;
|
|
971
985
|
/**
|
|
@@ -975,7 +989,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
|
|
|
975
989
|
scopePolicy?: UpdateContextStoreRequestConfigScopePolicy;
|
|
976
990
|
/**
|
|
977
991
|
* @remarks
|
|
978
|
-
* The datasource config
|
|
992
|
+
* The datasource config. This serves only as the root identity for the datasource.
|
|
979
993
|
*/
|
|
980
994
|
source?: UpdateContextStoreRequestConfigSource;
|
|
981
995
|
/**
|
|
@@ -1042,7 +1056,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
|
|
|
1042
1056
|
export class UpdateContextStoreRequest extends $dara.Model {
|
|
1043
1057
|
/**
|
|
1044
1058
|
* @remarks
|
|
1045
|
-
* The description of the policy change. A new policy version is
|
|
1059
|
+
* The description of the policy change. A new policy version is created when policy fields in the config are modified.
|
|
1046
1060
|
*
|
|
1047
1061
|
* @example
|
|
1048
1062
|
* Relax the similarity threshold
|
|
@@ -1050,12 +1064,12 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
1050
1064
|
changeNote?: string;
|
|
1051
1065
|
/**
|
|
1052
1066
|
* @remarks
|
|
1053
|
-
* The context library configuration. If
|
|
1067
|
+
* The context library configuration. If specified, the entire configuration is overwritten. If not specified, the original configuration is retained.
|
|
1054
1068
|
*/
|
|
1055
1069
|
config?: UpdateContextStoreRequestConfig;
|
|
1056
1070
|
/**
|
|
1057
1071
|
* @remarks
|
|
1058
|
-
* The context library type.
|
|
1072
|
+
* The context library type. It is generally immutable after creation and is provided only for exception correction.
|
|
1059
1073
|
*
|
|
1060
1074
|
* @example
|
|
1061
1075
|
* experience
|
|
@@ -1071,7 +1085,7 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
1071
1085
|
description?: string;
|
|
1072
1086
|
/**
|
|
1073
1087
|
* @remarks
|
|
1074
|
-
* Required when modifying the runtime recall switch. The value must be equal to the config.runtimeRecallRevision value returned by GetContextStore. A
|
|
1088
|
+
* Required when modifying the runtime recall switch. The value must be equal to the config.runtimeRecallRevision value returned by GetContextStore. A conflict returns a 409 error.
|
|
1075
1089
|
*
|
|
1076
1090
|
* @example
|
|
1077
1091
|
* 1
|
|
@@ -1087,10 +1101,10 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
1087
1101
|
reason?: string;
|
|
1088
1102
|
/**
|
|
1089
1103
|
* @remarks
|
|
1090
|
-
* The
|
|
1104
|
+
* The mining status of the experience library. This field applies only to the experience type. The specific valid values and combination constraints are defined by the server.
|
|
1091
1105
|
*
|
|
1092
1106
|
* @example
|
|
1093
|
-
*
|
|
1107
|
+
* Paused
|
|
1094
1108
|
*/
|
|
1095
1109
|
status?: string;
|
|
1096
1110
|
/**
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateContextStoreResponseBodyConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Specifies whether runtime recall is allowed after the experience library is updated.
|
|
9
9
|
*/
|
|
10
10
|
runtimeRecallEnabled?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The runtime recall
|
|
13
|
+
* The version of the runtime recall attributes that takes effect after the current update.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 1
|
|
@@ -42,12 +42,12 @@ export class UpdateContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
42
42
|
export class UpdateContextStoreResponseBody extends $dara.Model {
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The
|
|
45
|
+
* The attributes returned after the runtime recall switch is updated. This block is not returned for other library update operations.
|
|
46
46
|
*/
|
|
47
47
|
config?: UpdateContextStoreResponseBodyConfig;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The request ID.
|
|
50
|
+
* The request ID. It is used to locate the request when you troubleshoot issues.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -55,7 +55,7 @@ export class UpdateContextStoreResponseBody extends $dara.Model {
|
|
|
55
55
|
requestId?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The strategy version number that takes effect after the update for the memory type. If the strategy remains unchanged, the version
|
|
58
|
+
* The strategy version number that takes effect after the update for the memory type. If the strategy remains unchanged, the version is the same as the one before the update.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 2
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The skill file
|
|
8
|
+
* The content of the skill file.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class UpdateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
|
15
15
|
content?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The skill file
|
|
18
|
+
* The name of the skill file.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,10 +25,10 @@ export class UpdateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
|
25
25
|
name?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The file
|
|
28
|
+
* The remark for the file.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
|
-
*
|
|
31
|
+
* Primary skill description
|
|
32
32
|
*/
|
|
33
33
|
remark?: string;
|
|
34
34
|
static names(): { [key: string]: string } {
|
|
@@ -59,7 +59,7 @@ export class UpdateEvaluatorSkillRequestFiles extends $dara.Model {
|
|
|
59
59
|
export class UpdateEvaluatorSkillRequest extends $dara.Model {
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* The AgentSpace
|
|
62
|
+
* The name of the AgentSpace.
|
|
63
63
|
*
|
|
64
64
|
* This parameter is required.
|
|
65
65
|
*
|
|
@@ -72,7 +72,7 @@ export class UpdateEvaluatorSkillRequest extends $dara.Model {
|
|
|
72
72
|
* The description of the skill.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
|
-
*
|
|
75
|
+
* Read trace context to assist evaluation
|
|
76
76
|
*/
|
|
77
77
|
description?: string;
|
|
78
78
|
/**
|
|
@@ -80,12 +80,12 @@ export class UpdateEvaluatorSkillRequest extends $dara.Model {
|
|
|
80
80
|
* The display name of the skill.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
|
-
* Trace
|
|
83
|
+
* Read Trace Context
|
|
84
84
|
*/
|
|
85
85
|
displayName?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* Specifies whether
|
|
88
|
+
* Specifies whether the skill is enabled.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* true
|
|
@@ -93,15 +93,15 @@ export class UpdateEvaluatorSkillRequest extends $dara.Model {
|
|
|
93
93
|
enable?: boolean;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The list of skill files.
|
|
96
|
+
* The list of skill files. If specified, the content of the skill files is updated.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
|
-
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"
|
|
99
|
+
* [{"name":"SKILL.md","content":"# Trace Context Loader","remark":"Primary skill description"}]
|
|
100
100
|
*/
|
|
101
101
|
files?: UpdateEvaluatorSkillRequestFiles[];
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency
|
|
104
|
+
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -31,7 +31,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
31
31
|
description?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The list of evaluators. If omitted, the list is not modified. If an empty array is passed, the list is cleared.
|
|
34
|
+
* The list of evaluators. If omitted, the list is not modified. If an empty array is passed, the list is cleared.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* [{"evaluatorRef": "Builtin.agent_task_completion"}]
|
|
@@ -39,7 +39,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
39
39
|
evaluators?: Evaluator[];
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The type of the experiment.
|
|
42
|
+
* The type of the experiment.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* OFFLINE
|
|
@@ -63,7 +63,10 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
63
63
|
input?: { [key: string]: any };
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The name of the associated data processing pipeline. This parameter is optional. If
|
|
66
|
+
* The name of the associated data processing pipeline. This parameter is optional. If this parameter is not specified, the pipeline is not updated. If an empty character string is specified, the association is dissociated. After the association, when an experiment under this plan executes and completes writing experiment results to the Logstore, the system filters by the traceId of the current experiment trace and invokes PreviewPipeline to write the results processed by the pipeline.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* my-pipeline
|
|
67
70
|
*/
|
|
68
71
|
pipelineName?: string;
|
|
69
72
|
/**
|
|
@@ -84,7 +87,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
84
87
|
querySql?: string;
|
|
85
88
|
/**
|
|
86
89
|
* @remarks
|
|
87
|
-
* The list of selected data item IDs in partial dataset mode.
|
|
90
|
+
* The list of selected data item IDs in partial dataset mode. If an empty array is passed, the list is cleared.
|
|
88
91
|
*
|
|
89
92
|
* @example
|
|
90
93
|
* []
|