@alicloud/agentloop20260520 2.4.4 → 2.5.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 +70 -16
- package/dist/client.js +160 -17
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentSpaceRequest.d.ts +11 -3
- package/dist/models/CreateAgentSpaceRequest.js +2 -0
- package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +69 -61
- package/dist/models/CreateContextStoreRequest.js +2 -0
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +2 -2
- package/dist/models/CreateDatasetVersionRequest.d.ts +39 -0
- package/dist/models/CreateDatasetVersionRequest.js +62 -0
- package/dist/models/CreateDatasetVersionRequest.js.map +1 -0
- package/dist/models/CreateDatasetVersionResponse.d.ts +19 -0
- package/dist/models/CreateDatasetVersionResponse.js +69 -0
- package/dist/models/CreateDatasetVersionResponse.js.map +1 -0
- package/dist/models/CreateDatasetVersionResponseBody.d.ts +21 -0
- package/dist/models/CreateDatasetVersionResponseBody.js +58 -0
- package/dist/models/CreateDatasetVersionResponseBody.js.map +1 -0
- package/dist/models/CreateExperimentPlanRequest.d.ts +9 -9
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +3 -3
- package/dist/models/CreatePipelineRequest.d.ts +36 -36
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/DeleteDatasetVersionRequest.d.ts +13 -0
- package/dist/models/DeleteDatasetVersionRequest.js +54 -0
- package/dist/models/DeleteDatasetVersionRequest.js.map +1 -0
- package/dist/models/DeleteDatasetVersionResponse.d.ts +19 -0
- package/dist/models/DeleteDatasetVersionResponse.js +69 -0
- package/dist/models/DeleteDatasetVersionResponse.js.map +1 -0
- package/dist/models/DeleteDatasetVersionResponseBody.d.ts +21 -0
- package/dist/models/DeleteDatasetVersionResponseBody.js +58 -0
- package/dist/models/DeleteDatasetVersionResponseBody.js.map +1 -0
- package/dist/models/GetAgentSpaceResponseBody.d.ts +27 -0
- package/dist/models/GetAgentSpaceResponseBody.js +27 -1
- package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +84 -78
- package/dist/models/GetContextStoreResponseBody.js +2 -0
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/GetExperimentPlanResponseBody.d.ts +10 -10
- package/dist/models/GetExperimentRunResponseBody.d.ts +1 -1
- package/dist/models/ListAgentSpacesRequest.d.ts +38 -2
- package/dist/models/ListAgentSpacesRequest.js +27 -1
- package/dist/models/ListAgentSpacesRequest.js.map +1 -1
- package/dist/models/ListAgentSpacesResponseBody.d.ts +50 -7
- package/dist/models/ListAgentSpacesResponseBody.js +27 -1
- package/dist/models/ListAgentSpacesResponseBody.js.map +1 -1
- package/dist/models/ListAgentSpacesShrinkRequest.d.ts +53 -0
- package/dist/models/ListAgentSpacesShrinkRequest.js +66 -0
- package/dist/models/ListAgentSpacesShrinkRequest.js.map +1 -0
- package/dist/models/ListDatasetVersionsRequest.d.ts +29 -0
- package/dist/models/ListDatasetVersionsRequest.js +60 -0
- package/dist/models/ListDatasetVersionsRequest.js.map +1 -0
- package/dist/models/ListDatasetVersionsResponse.d.ts +19 -0
- package/dist/models/ListDatasetVersionsResponse.js +69 -0
- package/dist/models/ListDatasetVersionsResponse.js.map +1 -0
- package/dist/models/ListDatasetVersionsResponseBody.d.ts +86 -0
- package/dist/models/ListDatasetVersionsResponseBody.js +92 -0
- package/dist/models/ListDatasetVersionsResponseBody.js.map +1 -0
- package/dist/models/ListExperimentRunsRequest.d.ts +6 -6
- package/dist/models/ListExperimentRunsResponseBody.d.ts +2 -2
- package/dist/models/ModelParameters.d.ts +142 -6
- package/dist/models/ModelParameters.js +69 -1
- package/dist/models/ModelParameters.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +58 -59
- package/dist/models/UpdateContextStoreRequest.js +2 -0
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
- package/dist/models/UpdateExperimentPlanRequest.d.ts +5 -5
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +50 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +174 -17
- package/src/models/CreateAgentSpaceRequest.ts +13 -3
- package/src/models/CreateContextStoreRequest.ts +71 -61
- package/src/models/CreateContextStoreResponseBody.ts +2 -2
- package/src/models/CreateDatasetVersionRequest.ts +56 -0
- package/src/models/CreateDatasetVersionResponse.ts +40 -0
- package/src/models/CreateDatasetVersionResponseBody.ts +34 -0
- package/src/models/CreateExperimentPlanRequest.ts +9 -9
- package/src/models/CreateExperimentPlanResponseBody.ts +3 -3
- package/src/models/CreatePipelineRequest.ts +36 -36
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DeleteDatasetVersionRequest.ts +24 -0
- package/src/models/DeleteDatasetVersionResponse.ts +40 -0
- package/src/models/DeleteDatasetVersionResponseBody.ts +34 -0
- package/src/models/GetAgentSpaceResponseBody.ts +44 -0
- package/src/models/GetContextStoreResponseBody.ts +86 -78
- package/src/models/GetExperimentPlanResponseBody.ts +10 -10
- package/src/models/GetExperimentRunResponseBody.ts +1 -1
- package/src/models/ListAgentSpacesRequest.ts +55 -2
- package/src/models/ListAgentSpacesResponseBody.ts +67 -7
- package/src/models/ListAgentSpacesShrinkRequest.ts +74 -0
- package/src/models/ListDatasetVersionsRequest.ts +44 -0
- package/src/models/ListDatasetVersionsResponse.ts +40 -0
- package/src/models/ListDatasetVersionsResponseBody.ts +124 -0
- package/src/models/ListExperimentRunsRequest.ts +6 -6
- package/src/models/ListExperimentRunsResponseBody.ts +2 -2
- package/src/models/ModelParameters.ts +192 -6
- package/src/models/UpdateContextStoreRequest.ts +60 -59
- package/src/models/UpdateContextStoreResponseBody.ts +2 -2
- package/src/models/UpdateExperimentPlanRequest.ts +5 -5
- package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
- package/src/models/model.ts +16 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateContextStoreRequestConfigAudit 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 dropped candidates during retrieval. Default value: false.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* false
|
|
@@ -13,10 +13,7 @@ export class UpdateContextStoreRequestConfigAudit extends $dara.Model {
|
|
|
13
13
|
droppedCandidates?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
-
* - raw: Plaintext.
|
|
18
|
-
* - hash: HMAC only.
|
|
19
|
-
* Default value: raw.
|
|
16
|
+
* The method used to record retrieved queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
20
17
|
*
|
|
21
18
|
* @example
|
|
22
19
|
* raw
|
|
@@ -96,7 +93,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
96
93
|
allowedActions?: string[];
|
|
97
94
|
/**
|
|
98
95
|
* @remarks
|
|
99
|
-
* Specifies whether to
|
|
96
|
+
* Specifies whether to deduplicate data in event mode. Default value: true.
|
|
100
97
|
*
|
|
101
98
|
* @example
|
|
102
99
|
* true
|
|
@@ -104,7 +101,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
104
101
|
dedupe?: boolean;
|
|
105
102
|
/**
|
|
106
103
|
* @remarks
|
|
107
|
-
* Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified
|
|
104
|
+
* Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memory.
|
|
108
105
|
*
|
|
109
106
|
* @example
|
|
110
107
|
* true
|
|
@@ -112,7 +109,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
112
109
|
humanEditProtection?: boolean;
|
|
113
110
|
/**
|
|
114
111
|
* @remarks
|
|
115
|
-
* The merge key for upsert
|
|
112
|
+
* The merge key for the upsert mode. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
116
113
|
*
|
|
117
114
|
* @example
|
|
118
115
|
* semantic
|
|
@@ -120,10 +117,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
120
117
|
mergeKey?: string;
|
|
121
118
|
/**
|
|
122
119
|
* @remarks
|
|
123
|
-
* The storage mode. Valid values:
|
|
124
|
-
* - event: Event append.
|
|
125
|
-
* - upsert: Merge and update.
|
|
126
|
-
* Default value: upsert.
|
|
120
|
+
* The storage mode. Valid values: event (event append) and upsert (merge and update). Default value: upsert.
|
|
127
121
|
*
|
|
128
122
|
* @example
|
|
129
123
|
* upsert
|
|
@@ -139,7 +133,7 @@ export class UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy exte
|
|
|
139
133
|
similarityThreshold?: number;
|
|
140
134
|
/**
|
|
141
135
|
* @remarks
|
|
142
|
-
* The number of days before
|
|
136
|
+
* The number of days before memory expires. A value of 0 indicates that the memory does not expire.
|
|
143
137
|
*
|
|
144
138
|
* @example
|
|
145
139
|
* 0
|
|
@@ -192,7 +186,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
192
186
|
categories?: string[];
|
|
193
187
|
/**
|
|
194
188
|
* @remarks
|
|
195
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
189
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
196
190
|
*
|
|
197
191
|
* @example
|
|
198
192
|
* Extract only user product preferences
|
|
@@ -200,7 +194,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
200
194
|
customInstructions?: string;
|
|
201
195
|
/**
|
|
202
196
|
* @remarks
|
|
203
|
-
* Specifies whether to execute this policy for new
|
|
197
|
+
* Specifies whether to execute this policy for new input. Default value: true. Disabling the policy does not delete historical memory.
|
|
204
198
|
*
|
|
205
199
|
* @example
|
|
206
200
|
* true
|
|
@@ -208,7 +202,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
208
202
|
enabled?: boolean;
|
|
209
203
|
/**
|
|
210
204
|
* @remarks
|
|
211
|
-
* The list of
|
|
205
|
+
* The list of exclude rules. Content that matches these rules is not extracted.
|
|
212
206
|
*
|
|
213
207
|
* @example
|
|
214
208
|
* ["Password","ID number"]
|
|
@@ -237,12 +231,12 @@ export class UpdateContextStoreRequestConfigExtractionPolicies extends $dara.Mod
|
|
|
237
231
|
preset?: string;
|
|
238
232
|
/**
|
|
239
233
|
* @remarks
|
|
240
|
-
* 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 memory refreshes the validity period by default.
|
|
241
235
|
*/
|
|
242
236
|
storagePolicy?: UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy;
|
|
243
237
|
/**
|
|
244
238
|
* @remarks
|
|
245
|
-
* 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.
|
|
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.
|
|
246
240
|
*
|
|
247
241
|
* @example
|
|
248
242
|
* preferences
|
|
@@ -338,7 +332,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
|
|
|
338
332
|
categories?: string[];
|
|
339
333
|
/**
|
|
340
334
|
* @remarks
|
|
341
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
335
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
342
336
|
*
|
|
343
337
|
* @example
|
|
344
338
|
* Extract only user product preferences
|
|
@@ -346,7 +340,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
|
|
|
346
340
|
customInstructions?: string;
|
|
347
341
|
/**
|
|
348
342
|
* @remarks
|
|
349
|
-
* The list of
|
|
343
|
+
* The list of exclude rules. Content that matches these rules is not extracted.
|
|
350
344
|
*
|
|
351
345
|
* @example
|
|
352
346
|
* ["Password","ID number"]
|
|
@@ -406,7 +400,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
|
|
|
406
400
|
export class UpdateContextStoreRequestConfigScopePolicy extends $dara.Model {
|
|
407
401
|
/**
|
|
408
402
|
* @remarks
|
|
409
|
-
* Specifies that at least one
|
|
403
|
+
* Specifies that at least one scope field must be non-empty. Valid values: userId, agentId, appId, and runId.
|
|
410
404
|
*
|
|
411
405
|
* @example
|
|
412
406
|
* ["userId"]
|
|
@@ -439,7 +433,7 @@ export class UpdateContextStoreRequestConfigScopePolicy extends $dara.Model {
|
|
|
439
433
|
export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $dara.Model {
|
|
440
434
|
/**
|
|
441
435
|
* @remarks
|
|
442
|
-
* The description
|
|
436
|
+
* The field description. This parameter is required when usage is set to extraction-input.
|
|
443
437
|
*
|
|
444
438
|
* @example
|
|
445
439
|
* Customer tier
|
|
@@ -447,7 +441,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
447
441
|
description?: string;
|
|
448
442
|
/**
|
|
449
443
|
* @remarks
|
|
450
|
-
* Specifies whether the field is sensitive.
|
|
444
|
+
* Specifies whether the field is a sensitive field.
|
|
451
445
|
*
|
|
452
446
|
* @example
|
|
453
447
|
* false
|
|
@@ -455,7 +449,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
455
449
|
sensitive?: boolean;
|
|
456
450
|
/**
|
|
457
451
|
* @remarks
|
|
458
|
-
* The
|
|
452
|
+
* The source field name.
|
|
459
453
|
*
|
|
460
454
|
* @example
|
|
461
455
|
* customerTier
|
|
@@ -463,7 +457,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
463
457
|
sourceField?: string;
|
|
464
458
|
/**
|
|
465
459
|
* @remarks
|
|
466
|
-
* The target
|
|
460
|
+
* The write target path, such as metadata.customerTier.
|
|
467
461
|
*
|
|
468
462
|
* @example
|
|
469
463
|
* metadata.customerTier
|
|
@@ -509,7 +503,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
|
|
|
509
503
|
export class UpdateContextStoreRequestConfigSourceDatasetFilter extends $dara.Model {
|
|
510
504
|
/**
|
|
511
505
|
* @remarks
|
|
512
|
-
* The subset of the
|
|
506
|
+
* The subset of the pipeline where clause, which is pushed down to SQL.
|
|
513
507
|
*
|
|
514
508
|
* @example
|
|
515
509
|
* appId = \\"crm-service\\"
|
|
@@ -539,12 +533,12 @@ export class UpdateContextStoreRequestConfigSourceDatasetFilter extends $dara.Mo
|
|
|
539
533
|
export class UpdateContextStoreRequestConfigSourceDataset extends $dara.Model {
|
|
540
534
|
/**
|
|
541
535
|
* @remarks
|
|
542
|
-
* The list of custom field declarations. If
|
|
536
|
+
* The list of custom field declarations. If passed, the list is completely overwritten.
|
|
543
537
|
*/
|
|
544
538
|
customFields?: UpdateContextStoreRequestConfigSourceDatasetCustomFields[];
|
|
545
539
|
/**
|
|
546
540
|
* @remarks
|
|
547
|
-
* The row filter
|
|
541
|
+
* The row filter conditions.
|
|
548
542
|
*/
|
|
549
543
|
filter?: UpdateContextStoreRequestConfigSourceDatasetFilter;
|
|
550
544
|
/**
|
|
@@ -597,7 +591,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
597
591
|
agentNames?: string[];
|
|
598
592
|
/**
|
|
599
593
|
* @remarks
|
|
600
|
-
* Specifies whether to exclude degraded trajectories. Default value: false
|
|
594
|
+
* Specifies whether to exclude degraded trajectories. Default value: false, which includes degraded trajectories.
|
|
601
595
|
*
|
|
602
596
|
* @example
|
|
603
597
|
* false
|
|
@@ -605,7 +599,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
605
599
|
excludeDegraded?: boolean;
|
|
606
600
|
/**
|
|
607
601
|
* @remarks
|
|
608
|
-
* The minimum
|
|
602
|
+
* The minimum step count, which must be greater than or equal to 0.
|
|
609
603
|
*
|
|
610
604
|
* @example
|
|
611
605
|
* 2
|
|
@@ -665,7 +659,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
|
|
|
665
659
|
export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends $dara.Model {
|
|
666
660
|
/**
|
|
667
661
|
* @remarks
|
|
668
|
-
* The JSONPath
|
|
662
|
+
* The JSONPath for agentId. Default value: $.agent_name.
|
|
669
663
|
*
|
|
670
664
|
* @example
|
|
671
665
|
* $.agent_name
|
|
@@ -673,7 +667,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
673
667
|
agentId?: string;
|
|
674
668
|
/**
|
|
675
669
|
* @remarks
|
|
676
|
-
* The JSONPath
|
|
670
|
+
* The JSONPath for appId. Default value: $.service_names[0].
|
|
677
671
|
*
|
|
678
672
|
* @example
|
|
679
673
|
* $.service_names[0]
|
|
@@ -681,7 +675,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
681
675
|
appId?: string;
|
|
682
676
|
/**
|
|
683
677
|
* @remarks
|
|
684
|
-
* The JSONPath
|
|
678
|
+
* The JSONPath for runId. It is not mapped by default to avoid isolating memory by a single trajectory.
|
|
685
679
|
*
|
|
686
680
|
* @example
|
|
687
681
|
* $.trajectory_id
|
|
@@ -689,7 +683,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
689
683
|
runId?: string;
|
|
690
684
|
/**
|
|
691
685
|
* @remarks
|
|
692
|
-
* The JSONPath
|
|
686
|
+
* The JSONPath for userId. In version 1, it is not mapped by default. In version 2, it defaults to user.id and then enduser.id from agent attributes.
|
|
693
687
|
*
|
|
694
688
|
* @example
|
|
695
689
|
* $.trajectory_extensions.user_id
|
|
@@ -725,12 +719,12 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
|
|
|
725
719
|
export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model {
|
|
726
720
|
/**
|
|
727
721
|
* @remarks
|
|
728
|
-
* The trajectory filter conditions. Conditions are combined with AND,
|
|
722
|
+
* The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
|
|
729
723
|
*/
|
|
730
724
|
filter?: UpdateContextStoreRequestConfigSourceTrajectoryFilter;
|
|
731
725
|
/**
|
|
732
726
|
* @remarks
|
|
733
|
-
* The name of the trajectory Logstore. Default value: agent-trajectory.
|
|
727
|
+
* The name of the trajectory Logstore. Default value: agent-trajectory. It cannot be changed after creation.
|
|
734
728
|
*
|
|
735
729
|
* @example
|
|
736
730
|
* agent-trajectory
|
|
@@ -746,15 +740,24 @@ export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
746
740
|
pollIntervalSeconds?: number;
|
|
747
741
|
/**
|
|
748
742
|
* @remarks
|
|
749
|
-
* The scope field mapping.
|
|
743
|
+
* The scope field mapping. Dot paths, array indices, and quoted property keys are supported. An empty string indicates no mapping.
|
|
750
744
|
*/
|
|
751
745
|
scopeMapping?: UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping;
|
|
746
|
+
/**
|
|
747
|
+
* @remarks
|
|
748
|
+
* The default mapping version for trajectory identity. Version 1 retains the old rules. Version 2 reads user.id or enduser.id from agent attributes. The version is frozen upon creation.
|
|
749
|
+
*
|
|
750
|
+
* @example
|
|
751
|
+
* 2
|
|
752
|
+
*/
|
|
753
|
+
scopeMappingVersion?: number;
|
|
752
754
|
static names(): { [key: string]: string } {
|
|
753
755
|
return {
|
|
754
756
|
filter: 'filter',
|
|
755
757
|
logstore: 'logstore',
|
|
756
758
|
pollIntervalSeconds: 'pollIntervalSeconds',
|
|
757
759
|
scopeMapping: 'scopeMapping',
|
|
760
|
+
scopeMappingVersion: 'scopeMappingVersion',
|
|
758
761
|
};
|
|
759
762
|
}
|
|
760
763
|
|
|
@@ -764,6 +767,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
764
767
|
logstore: 'string',
|
|
765
768
|
pollIntervalSeconds: 'number',
|
|
766
769
|
scopeMapping: UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping,
|
|
770
|
+
scopeMappingVersion: 'number',
|
|
767
771
|
};
|
|
768
772
|
}
|
|
769
773
|
|
|
@@ -785,7 +789,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model
|
|
|
785
789
|
export class UpdateContextStoreRequestConfigSource extends $dara.Model {
|
|
786
790
|
/**
|
|
787
791
|
* @remarks
|
|
788
|
-
* The AgentSpace where the trace data source is located. Cross-AgentSpace
|
|
792
|
+
* The AgentSpace where the trace data source is located. Cross-AgentSpace is not supported in the current phase. If passed, it must be equal to the path AgentSpace. Otherwise, a 400 parameter error is returned. The AgentSpace cannot be changed after creation.
|
|
789
793
|
*
|
|
790
794
|
* @example
|
|
791
795
|
* my-agent-space
|
|
@@ -793,12 +797,12 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
|
|
|
793
797
|
agentSpace?: string;
|
|
794
798
|
/**
|
|
795
799
|
* @remarks
|
|
796
|
-
* The updatable items of the
|
|
800
|
+
* The updatable items of the dataset data source. The datasetName cannot be changed after creation.
|
|
797
801
|
*/
|
|
798
802
|
dataset?: UpdateContextStoreRequestConfigSourceDataset;
|
|
799
803
|
/**
|
|
800
804
|
* @remarks
|
|
801
|
-
* The start time
|
|
805
|
+
* The data backfill start time in ISO 8601 UTC format.
|
|
802
806
|
*
|
|
803
807
|
* @example
|
|
804
808
|
* 2026-01-01T00:00:00Z
|
|
@@ -853,7 +857,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
853
857
|
allowedActions?: string[];
|
|
854
858
|
/**
|
|
855
859
|
* @remarks
|
|
856
|
-
* Specifies whether to
|
|
860
|
+
* Specifies whether to deduplicate data in event mode. Default value: true.
|
|
857
861
|
*
|
|
858
862
|
* @example
|
|
859
863
|
* true
|
|
@@ -861,7 +865,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
861
865
|
dedupe?: boolean;
|
|
862
866
|
/**
|
|
863
867
|
* @remarks
|
|
864
|
-
* Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified
|
|
868
|
+
* Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memory.
|
|
865
869
|
*
|
|
866
870
|
* @example
|
|
867
871
|
* true
|
|
@@ -869,7 +873,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
869
873
|
humanEditProtection?: boolean;
|
|
870
874
|
/**
|
|
871
875
|
* @remarks
|
|
872
|
-
* The merge key for upsert
|
|
876
|
+
* The merge key for the upsert mode. Valid values: factKey, semantic, and both. Default value: semantic.
|
|
873
877
|
*
|
|
874
878
|
* @example
|
|
875
879
|
* semantic
|
|
@@ -877,10 +881,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
877
881
|
mergeKey?: string;
|
|
878
882
|
/**
|
|
879
883
|
* @remarks
|
|
880
|
-
* The storage mode. Valid values:
|
|
881
|
-
* - event: Event append.
|
|
882
|
-
* - upsert: Merge and update.
|
|
883
|
-
* Default value: upsert.
|
|
884
|
+
* The storage mode. Valid values: event (event append) and upsert (merge and update). Default value: upsert.
|
|
884
885
|
*
|
|
885
886
|
* @example
|
|
886
887
|
* upsert
|
|
@@ -896,7 +897,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
|
|
|
896
897
|
similarityThreshold?: number;
|
|
897
898
|
/**
|
|
898
899
|
* @remarks
|
|
899
|
-
* The number of days before
|
|
900
|
+
* The number of days before memory expires. A value of 0 indicates that the memory does not expire.
|
|
900
901
|
*
|
|
901
902
|
* @example
|
|
902
903
|
* 0
|
|
@@ -946,7 +947,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
|
|
|
946
947
|
audit?: UpdateContextStoreRequestConfigAudit;
|
|
947
948
|
/**
|
|
948
949
|
* @remarks
|
|
949
|
-
* The extraction policies. You can specify 1 to 10 policies.
|
|
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 parameter indicates the snapshot version of the entire database configuration.
|
|
950
951
|
*/
|
|
951
952
|
extractionPolicies?: UpdateContextStoreRequestConfigExtractionPolicies[];
|
|
952
953
|
/**
|
|
@@ -964,7 +965,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
|
|
|
964
965
|
metadataField?: { [key: string]: string };
|
|
965
966
|
/**
|
|
966
967
|
* @remarks
|
|
967
|
-
* Specifies whether
|
|
968
|
+
* Specifies whether the experience library allows runtime recall. When modifying this property, you must pass expectedRuntimeRecallRevision and submit only this property in the config.
|
|
968
969
|
*/
|
|
969
970
|
runtimeRecallEnabled?: boolean;
|
|
970
971
|
/**
|
|
@@ -1041,7 +1042,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
|
|
|
1041
1042
|
export class UpdateContextStoreRequest extends $dara.Model {
|
|
1042
1043
|
/**
|
|
1043
1044
|
* @remarks
|
|
1044
|
-
* The description of the policy change. A new policy version is
|
|
1045
|
+
* The description of the policy change. A new policy version is written when a policy field in the config changes.
|
|
1045
1046
|
*
|
|
1046
1047
|
* @example
|
|
1047
1048
|
* Relax the similarity threshold
|
|
@@ -1049,12 +1050,12 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
1049
1050
|
changeNote?: string;
|
|
1050
1051
|
/**
|
|
1051
1052
|
* @remarks
|
|
1052
|
-
* The context library configuration. If passed, the
|
|
1053
|
+
* The context library configuration. If passed, the configuration is completely overwritten. If not passed, the original configuration is retained.
|
|
1053
1054
|
*/
|
|
1054
1055
|
config?: UpdateContextStoreRequestConfig;
|
|
1055
1056
|
/**
|
|
1056
1057
|
* @remarks
|
|
1057
|
-
* The context library type. This field
|
|
1058
|
+
* The context library type. This field is typically immutable after creation and is provided only for exception correction.
|
|
1058
1059
|
*
|
|
1059
1060
|
* @example
|
|
1060
1061
|
* experience
|
|
@@ -1062,15 +1063,15 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
1062
1063
|
contextType?: string;
|
|
1063
1064
|
/**
|
|
1064
1065
|
* @remarks
|
|
1065
|
-
* The description of the context
|
|
1066
|
+
* The description of the context store, which helps business users understand its purpose.
|
|
1066
1067
|
*
|
|
1067
1068
|
* @example
|
|
1068
|
-
* My context
|
|
1069
|
+
* My context store
|
|
1069
1070
|
*/
|
|
1070
1071
|
description?: string;
|
|
1071
1072
|
/**
|
|
1072
1073
|
* @remarks
|
|
1073
|
-
*
|
|
1074
|
+
* Required when modifying the runtime recall switch. The value must be equal to the config.runtimeRecallRevision value returned by GetContextStore. A 409 error is returned if a conflict occurs.
|
|
1074
1075
|
*
|
|
1075
1076
|
* @example
|
|
1076
1077
|
* 1
|
|
@@ -1081,12 +1082,12 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
1081
1082
|
* The audit reason for modifying the runtime recall switch. The maximum length is 2,000 characters.
|
|
1082
1083
|
*
|
|
1083
1084
|
* @example
|
|
1084
|
-
*
|
|
1085
|
+
* Suspend runtime recall while adjusting experience content
|
|
1085
1086
|
*/
|
|
1086
1087
|
reason?: string;
|
|
1087
1088
|
/**
|
|
1088
1089
|
* @remarks
|
|
1089
|
-
* The running status
|
|
1090
|
+
* The running status. Valid values: Active and Paused. For the memory type, Paused suspends data source reading and extraction. For the experience Dataset follow type, Paused retains committed and in-flight checkpoints, and resuming continues to process new records without skipping history from the current time. You do not need to pass back the source parameter if you only update the status.
|
|
1090
1091
|
*
|
|
1091
1092
|
* @example
|
|
1092
1093
|
* Active
|
|
@@ -1094,7 +1095,7 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
1094
1095
|
status?: string;
|
|
1095
1096
|
/**
|
|
1096
1097
|
* @remarks
|
|
1097
|
-
* The
|
|
1098
|
+
* The idempotency token. This is a unique string generated by the client to ensure the idempotence of the update operation.
|
|
1098
1099
|
*
|
|
1099
1100
|
* @example
|
|
1100
1101
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -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 configuration properties after the runtime recall switch
|
|
45
|
+
* The configuration properties after updating the runtime recall switch. 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. You can use this ID to locate the request when troubleshooting issues.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -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
|
|
34
|
+
* The list of evaluators. If omitted, the list is not modified. If an empty array is passed, the list is cleared. When configured, evaluation is automatically triggered upon experiment completion.
|
|
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 experiment
|
|
42
|
+
* The type of the experiment. Valid values: OFFLINE (offline experiment) and ONLINE (online experiment).
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* OFFLINE
|
|
@@ -58,12 +58,12 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
58
58
|
* Optional.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
|
-
* {"question": "How do I
|
|
61
|
+
* {"question": "How do I request a refund?"}
|
|
62
62
|
*/
|
|
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 you do not specify this parameter, the association is not updated. If you specify an empty string, the association is removed. After the association is established, when an experiment under this plan completes and writes experiment results to a Logstore, the system filters the data by the traceId of the current experiment trace and calls PreviewPipeline to write the pipeline-processed trace results together with the experiment results.
|
|
67
67
|
*/
|
|
68
68
|
pipelineName?: string;
|
|
69
69
|
/**
|
|
@@ -84,7 +84,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
84
84
|
querySql?: string;
|
|
85
85
|
/**
|
|
86
86
|
* @remarks
|
|
87
|
-
* The list of selected data item IDs in partial dataset mode.
|
|
87
|
+
* The list of selected data item IDs in partial dataset mode. Passing an empty array clears the list.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* []
|
package/src/models/model.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { AuditTaskStateRuntimeError } from './AuditTaskState';
|
|
2
|
+
export { ModelParametersResponseFormatJsonSchema } from './ModelParameters';
|
|
3
|
+
export { ModelParametersResponseFormat } from './ModelParameters';
|
|
2
4
|
export { CreateContextStoreRequestConfigAudit } from './CreateContextStoreRequest';
|
|
3
5
|
export { CreateContextStoreRequestConfigExtractionPoliciesModel } from './CreateContextStoreRequest';
|
|
4
6
|
export { CreateContextStoreRequestConfigExtractionPoliciesStoragePolicy } from './CreateContextStoreRequest';
|
|
@@ -44,6 +46,7 @@ export { ExecuteQueryRequestAnnotationFilter } from './ExecuteQueryRequest';
|
|
|
44
46
|
export { ExecuteQueryResponseBodyMetaTruncation } from './ExecuteQueryResponseBody';
|
|
45
47
|
export { ExecuteQueryResponseBodyMeta } from './ExecuteQueryResponseBody';
|
|
46
48
|
export { GetAgentSpaceResponseBodyMseNamespace } from './GetAgentSpaceResponseBody';
|
|
49
|
+
export { GetAgentSpaceResponseBodyTags } from './GetAgentSpaceResponseBody';
|
|
47
50
|
export { GetContextStoreResponseBodyConfigAudit } from './GetContextStoreResponseBody';
|
|
48
51
|
export { GetContextStoreResponseBodyConfigAuditLogStore } from './GetContextStoreResponseBody';
|
|
49
52
|
export { GetContextStoreResponseBodyConfigExtractionPoliciesModel } from './GetContextStoreResponseBody';
|
|
@@ -95,10 +98,13 @@ export { GetPipelineResponseBodySourceTrajectory } from './GetPipelineResponseBo
|
|
|
95
98
|
export { GetPipelineResponseBodySource } from './GetPipelineResponseBody';
|
|
96
99
|
export { GetPipelineStatsResponseBodySummary } from './GetPipelineStatsResponseBody';
|
|
97
100
|
export { GetPipelineStatsResponseBodyTimeSeries } from './GetPipelineStatsResponseBody';
|
|
101
|
+
export { ListAgentSpacesRequestTag } from './ListAgentSpacesRequest';
|
|
98
102
|
export { ListAgentSpacesResponseBodyAgentSpacesMseNamespace } from './ListAgentSpacesResponseBody';
|
|
103
|
+
export { ListAgentSpacesResponseBodyAgentSpacesTags } from './ListAgentSpacesResponseBody';
|
|
99
104
|
export { ListAgentSpacesResponseBodyAgentSpaces } from './ListAgentSpacesResponseBody';
|
|
100
105
|
export { ListContextStoreAPIKeysResponseBodyResults } from './ListContextStoreApikeysResponseBody';
|
|
101
106
|
export { ListContextStoresResponseBodyResults } from './ListContextStoresResponseBody';
|
|
107
|
+
export { ListDatasetVersionsResponseBodyVersions } from './ListDatasetVersionsResponseBody';
|
|
102
108
|
export { ListDatasetsResponseBodyDatasets } from './ListDatasetsResponseBody';
|
|
103
109
|
export { ListEvaluationRunsResponseBodyEvaluationRuns } from './ListEvaluationRunsResponseBody';
|
|
104
110
|
export { ListEvaluationTasksResponseBodyEvaluationTasks } from './ListEvaluationTasksResponseBody';
|
|
@@ -213,6 +219,9 @@ export { CreateContextStoreAPIKeyResponse } from './CreateContextStoreApikeyResp
|
|
|
213
219
|
export { CreateDatasetRequest } from './CreateDatasetRequest';
|
|
214
220
|
export { CreateDatasetResponseBody } from './CreateDatasetResponseBody';
|
|
215
221
|
export { CreateDatasetResponse } from './CreateDatasetResponse';
|
|
222
|
+
export { CreateDatasetVersionRequest } from './CreateDatasetVersionRequest';
|
|
223
|
+
export { CreateDatasetVersionResponseBody } from './CreateDatasetVersionResponseBody';
|
|
224
|
+
export { CreateDatasetVersionResponse } from './CreateDatasetVersionResponse';
|
|
216
225
|
export { CreateEvaluationTaskRequest } from './CreateEvaluationTaskRequest';
|
|
217
226
|
export { CreateEvaluationTaskResponseBody } from './CreateEvaluationTaskResponseBody';
|
|
218
227
|
export { CreateEvaluationTaskResponse } from './CreateEvaluationTaskResponse';
|
|
@@ -249,6 +258,9 @@ export { DeleteContextStoreAPIKeyResponse } from './DeleteContextStoreApikeyResp
|
|
|
249
258
|
export { DeleteDatasetRequest } from './DeleteDatasetRequest';
|
|
250
259
|
export { DeleteDatasetResponseBody } from './DeleteDatasetResponseBody';
|
|
251
260
|
export { DeleteDatasetResponse } from './DeleteDatasetResponse';
|
|
261
|
+
export { DeleteDatasetVersionRequest } from './DeleteDatasetVersionRequest';
|
|
262
|
+
export { DeleteDatasetVersionResponseBody } from './DeleteDatasetVersionResponseBody';
|
|
263
|
+
export { DeleteDatasetVersionResponse } from './DeleteDatasetVersionResponse';
|
|
252
264
|
export { DeleteEvaluationRunRequest } from './DeleteEvaluationRunRequest';
|
|
253
265
|
export { DeleteEvaluationRunResponseBody } from './DeleteEvaluationRunResponseBody';
|
|
254
266
|
export { DeleteEvaluationRunResponse } from './DeleteEvaluationRunResponse';
|
|
@@ -325,6 +337,7 @@ export { GetPipelineStatsRequest } from './GetPipelineStatsRequest';
|
|
|
325
337
|
export { GetPipelineStatsResponseBody } from './GetPipelineStatsResponseBody';
|
|
326
338
|
export { GetPipelineStatsResponse } from './GetPipelineStatsResponse';
|
|
327
339
|
export { ListAgentSpacesRequest } from './ListAgentSpacesRequest';
|
|
340
|
+
export { ListAgentSpacesShrinkRequest } from './ListAgentSpacesShrinkRequest';
|
|
328
341
|
export { ListAgentSpacesResponseBody } from './ListAgentSpacesResponseBody';
|
|
329
342
|
export { ListAgentSpacesResponse } from './ListAgentSpacesResponse';
|
|
330
343
|
export { ListContextStoreAPIKeysRequest } from './ListContextStoreApikeysRequest';
|
|
@@ -333,6 +346,9 @@ export { ListContextStoreAPIKeysResponse } from './ListContextStoreApikeysRespon
|
|
|
333
346
|
export { ListContextStoresRequest } from './ListContextStoresRequest';
|
|
334
347
|
export { ListContextStoresResponseBody } from './ListContextStoresResponseBody';
|
|
335
348
|
export { ListContextStoresResponse } from './ListContextStoresResponse';
|
|
349
|
+
export { ListDatasetVersionsRequest } from './ListDatasetVersionsRequest';
|
|
350
|
+
export { ListDatasetVersionsResponseBody } from './ListDatasetVersionsResponseBody';
|
|
351
|
+
export { ListDatasetVersionsResponse } from './ListDatasetVersionsResponse';
|
|
336
352
|
export { ListDatasetsRequest } from './ListDatasetsRequest';
|
|
337
353
|
export { ListDatasetsShrinkRequest } from './ListDatasetsShrinkRequest';
|
|
338
354
|
export { ListDatasetsResponseBody } from './ListDatasetsResponseBody';
|