@alicloud/agentloop20260520 2.4.0 → 2.4.1
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 +4 -4
- package/dist/client.js +7 -4
- package/dist/client.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +142 -42
- package/dist/models/CreateContextStoreRequest.js +67 -1
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +2 -2
- package/dist/models/GetAgentSpaceResponseBody.d.ts +8 -1
- package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +162 -66
- package/dist/models/GetContextStoreResponseBody.js +67 -1
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/SearchContextRequest.d.ts +13 -5
- package/dist/models/SearchContextRequest.js +5 -0
- package/dist/models/SearchContextRequest.js.map +1 -1
- package/dist/models/SearchContextResponseBody.d.ts +3 -3
- package/dist/models/UpdateContextStoreRequest.d.ts +129 -31
- package/dist/models/UpdateContextStoreRequest.js +67 -1
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +71 -59
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +8 -4
- package/src/models/CreateContextStoreRequest.ts +190 -42
- package/src/models/CreateContextStoreResponseBody.ts +2 -2
- package/src/models/GetAgentSpaceResponseBody.ts +8 -1
- package/src/models/GetContextStoreResponseBody.ts +210 -66
- package/src/models/SearchContextRequest.ts +18 -5
- package/src/models/SearchContextResponseBody.ts +3 -3
- package/src/models/UpdateContextStoreRequest.ts +177 -31
- package/src/models/UpdateContextStoreResponseBody.ts +2 -2
- package/src/models/model.ts +6 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class GetAgentSpaceResponseBodyMseNamespace extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The attach type of the MSE namespace. AutoCreated indicates automatic creation by AgentLoop. UserSelected indicates that an existing namespace is selected and attached when the AgentSpace is created.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* AutoCreated
|
|
9
|
+
*/
|
|
3
10
|
bindType?: string;
|
|
4
11
|
/**
|
|
5
12
|
* @remarks
|
|
@@ -39,7 +46,7 @@ export declare class GetAgentSpaceResponseBody extends $dara.Model {
|
|
|
39
46
|
agentSpace?: string;
|
|
40
47
|
/**
|
|
41
48
|
* @remarks
|
|
42
|
-
* The
|
|
49
|
+
* The CMS workspace.
|
|
43
50
|
*
|
|
44
51
|
* @example
|
|
45
52
|
* test-cms-workspace
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetAgentSpaceResponseBody.js","sourceRoot":"","sources":["../../src/models/GetAgentSpaceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetAgentSpaceResponseBody.js","sourceRoot":"","sources":["../../src/models/GetAgentSpaceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAyBpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,sFAgDC;AAED,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAkFxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,oBAAoB,EAAE,sBAAsB;YAC5C,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,oBAAoB,EAAE,QAAQ;YAC9B,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,qCAAqC;YACnD,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,YAAY,IAAI,OAAQ,IAAI,CAAC,YAAoB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjF,IAAI,CAAC,YAAoB,CAAC,QAAQ,EAAE,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1HD,8DA0HC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to write item events for
|
|
5
|
+
* Specifies whether to write item events for dropped recall candidates. Default value: false.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* false
|
|
@@ -10,7 +10,7 @@ export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model
|
|
|
10
10
|
droppedCandidates?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The recording mode for
|
|
13
|
+
* The recording mode for recall queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* raw
|
|
@@ -35,10 +35,105 @@ export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model
|
|
|
35
35
|
[key: string]: any;
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
+
export declare class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $dara.Model {
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* qwen3.8-flash
|
|
45
|
+
*/
|
|
46
|
+
name?: string;
|
|
47
|
+
static names(): {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
static types(): {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
validate(): void;
|
|
54
|
+
constructor(map?: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.Model {
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The list of memory categories.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ["preference","profile"]
|
|
65
|
+
*/
|
|
66
|
+
categories?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* Extract only user product preferences
|
|
73
|
+
*/
|
|
74
|
+
customInstructions?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* Specifies whether to apply this policy to new inputs. Default value: true. Disabling the policy does not delete historical memories.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* true
|
|
81
|
+
*/
|
|
82
|
+
enabled?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The list of exclusion rules. Content that matches these rules is not extracted.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ["Password","ID number"]
|
|
89
|
+
*/
|
|
90
|
+
excludeRules?: string[];
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The extraction model configuration.
|
|
94
|
+
*/
|
|
95
|
+
model?: GetContextStoreResponseBodyConfigExtractionPoliciesModel;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The display name of the extraction policy.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* User preferences
|
|
102
|
+
*/
|
|
103
|
+
name?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* fact
|
|
110
|
+
*/
|
|
111
|
+
preset?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* 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 must be unique within the same context library. Modifying the name or instructions does not change this ID.
|
|
115
|
+
*
|
|
116
|
+
* This parameter is required.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* preferences
|
|
120
|
+
*/
|
|
121
|
+
strategyId?: string;
|
|
122
|
+
static names(): {
|
|
123
|
+
[key: string]: string;
|
|
124
|
+
};
|
|
125
|
+
static types(): {
|
|
126
|
+
[key: string]: any;
|
|
127
|
+
};
|
|
128
|
+
validate(): void;
|
|
129
|
+
constructor(map?: {
|
|
130
|
+
[key: string]: any;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
38
133
|
export declare class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
|
|
39
134
|
/**
|
|
40
135
|
* @remarks
|
|
41
|
-
* The name of the extraction model. Currently, only qwen3.8-flash is supported
|
|
136
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
|
|
42
137
|
*
|
|
43
138
|
* @example
|
|
44
139
|
* qwen3.8-flash
|
|
@@ -66,7 +161,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicy extends $
|
|
|
66
161
|
categories?: string[];
|
|
67
162
|
/**
|
|
68
163
|
* @remarks
|
|
69
|
-
* The custom extraction instructions. This parameter is required when preset is set to custom.
|
|
164
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
70
165
|
*
|
|
71
166
|
* @example
|
|
72
167
|
* Extract only user product preferences
|
|
@@ -151,7 +246,7 @@ export declare class GetContextStoreResponseBodyConfigObservability extends $dar
|
|
|
151
246
|
eventsLogstore?: string;
|
|
152
247
|
/**
|
|
153
248
|
* @remarks
|
|
154
|
-
* The SLS project
|
|
249
|
+
* The Simple Log Service (SLS) project to which both belong, which is bound to the AgentSpace.
|
|
155
250
|
*
|
|
156
251
|
* @example
|
|
157
252
|
* agentloop-xxx
|
|
@@ -171,7 +266,7 @@ export declare class GetContextStoreResponseBodyConfigObservability extends $dar
|
|
|
171
266
|
export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model {
|
|
172
267
|
/**
|
|
173
268
|
* @remarks
|
|
174
|
-
* The AgentSpace
|
|
269
|
+
* The AgentSpace to which the dataset belongs.
|
|
175
270
|
*
|
|
176
271
|
* @example
|
|
177
272
|
* my-agent-space
|
|
@@ -215,7 +310,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
|
|
|
215
310
|
export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
|
|
216
311
|
/**
|
|
217
312
|
* @remarks
|
|
218
|
-
*
|
|
313
|
+
* Specifies that at least one of the scope fields must be non-empty. Valid values: userId, agentId, appId, and runId.
|
|
219
314
|
*
|
|
220
315
|
* @example
|
|
221
316
|
* ["userId"]
|
|
@@ -243,7 +338,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
243
338
|
description?: string;
|
|
244
339
|
/**
|
|
245
340
|
* @remarks
|
|
246
|
-
* Specifies whether the field is sensitive.
|
|
341
|
+
* Specifies whether the field is a sensitive field.
|
|
247
342
|
*
|
|
248
343
|
* @example
|
|
249
344
|
* false
|
|
@@ -259,7 +354,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
259
354
|
sourceField?: string;
|
|
260
355
|
/**
|
|
261
356
|
* @remarks
|
|
262
|
-
* The target path for writing
|
|
357
|
+
* The target path for writing, such as metadata.customerTier.
|
|
263
358
|
*
|
|
264
359
|
* @example
|
|
265
360
|
* metadata.customerTier
|
|
@@ -267,9 +362,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
267
362
|
target?: string;
|
|
268
363
|
/**
|
|
269
364
|
* @remarks
|
|
270
|
-
* The usage of the field. Valid values:
|
|
271
|
-
* - extraction-input: Participates in extraction.
|
|
272
|
-
* - ignore: Ignored.
|
|
365
|
+
* The usage of the field. Valid values: extraction-input (participates in extraction) and ignore (ignored).
|
|
273
366
|
*
|
|
274
367
|
* @example
|
|
275
368
|
* extraction-input
|
|
@@ -289,7 +382,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
289
382
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
|
|
290
383
|
/**
|
|
291
384
|
* @remarks
|
|
292
|
-
* The subset of the
|
|
385
|
+
* The subset of the pipeline where clause, which is pushed down to SQL.
|
|
293
386
|
*
|
|
294
387
|
* @example
|
|
295
388
|
* appId = \\"crm-service\\"
|
|
@@ -309,9 +402,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetFilter extend
|
|
|
309
402
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
310
403
|
/**
|
|
311
404
|
* @remarks
|
|
312
|
-
* The consumption mode. Valid values:
|
|
313
|
-
* - follow: Consumes data incrementally based on __dataset_seq.
|
|
314
|
-
* - fixed: Consumes the specified ACTIVE version in full at once.
|
|
405
|
+
* The consumption mode. Valid values: follow (incremental consumption based on __dataset_seq) and fixed (full consumption of the specified ACTIVE version at once).
|
|
315
406
|
*
|
|
316
407
|
* @example
|
|
317
408
|
* follow
|
|
@@ -327,7 +418,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy
|
|
|
327
418
|
startSeq?: number;
|
|
328
419
|
/**
|
|
329
420
|
* @remarks
|
|
330
|
-
* The
|
|
421
|
+
* The dataset version specified for the fixed mode.
|
|
331
422
|
*
|
|
332
423
|
* @example
|
|
333
424
|
* v3
|
|
@@ -352,7 +443,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
352
443
|
customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
|
|
353
444
|
/**
|
|
354
445
|
* @remarks
|
|
355
|
-
* The name of the
|
|
446
|
+
* The name of the dataset in the same AgentSpace. This parameter cannot be modified after creation.
|
|
356
447
|
*
|
|
357
448
|
* @example
|
|
358
449
|
* trajectory-with-crm-profile
|
|
@@ -360,7 +451,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
360
451
|
datasetName?: string;
|
|
361
452
|
/**
|
|
362
453
|
* @remarks
|
|
363
|
-
* The row filter
|
|
454
|
+
* The row filter condition.
|
|
364
455
|
*/
|
|
365
456
|
filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
|
|
366
457
|
/**
|
|
@@ -373,7 +464,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
373
464
|
pollIntervalSeconds?: number;
|
|
374
465
|
/**
|
|
375
466
|
* @remarks
|
|
376
|
-
* The row schema contract of the
|
|
467
|
+
* The row schema contract of the dataset. In the current phase, this parameter is fixed to MemorySourceV1.
|
|
377
468
|
*
|
|
378
469
|
* @example
|
|
379
470
|
* MemorySourceV1
|
|
@@ -381,7 +472,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
381
472
|
schemaContract?: string;
|
|
382
473
|
/**
|
|
383
474
|
* @remarks
|
|
384
|
-
* The version consumption policy of the
|
|
475
|
+
* The version consumption policy of the dataset.
|
|
385
476
|
*/
|
|
386
477
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy;
|
|
387
478
|
static names(): {
|
|
@@ -398,7 +489,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
398
489
|
export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $dara.Model {
|
|
399
490
|
/**
|
|
400
491
|
* @remarks
|
|
401
|
-
* The list of agent names. An
|
|
492
|
+
* The list of agent names. An explicit empty list returns a 400 error.
|
|
402
493
|
*
|
|
403
494
|
* @example
|
|
404
495
|
* ["sales-copilot"]
|
|
@@ -414,7 +505,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
414
505
|
excludeDegraded?: boolean;
|
|
415
506
|
/**
|
|
416
507
|
* @remarks
|
|
417
|
-
* The minimum
|
|
508
|
+
* The minimum step count, which must be greater than or equal to 0.
|
|
418
509
|
*
|
|
419
510
|
* @example
|
|
420
511
|
* 2
|
|
@@ -422,7 +513,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
422
513
|
minStepCount?: number;
|
|
423
514
|
/**
|
|
424
515
|
* @remarks
|
|
425
|
-
* The native Simple Log Service (SLS) query statement
|
|
516
|
+
* The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using the AND operator.
|
|
426
517
|
*
|
|
427
518
|
* @example
|
|
428
519
|
* tool_names:"search_order"
|
|
@@ -430,7 +521,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
430
521
|
query?: string;
|
|
431
522
|
/**
|
|
432
523
|
* @remarks
|
|
433
|
-
* The list of service names. A single trailing asterisk (*) is supported. An
|
|
524
|
+
* The list of service names. A single trailing asterisk (*) is supported. An explicit empty list returns a 400 error.
|
|
434
525
|
*
|
|
435
526
|
* @example
|
|
436
527
|
* ["crm-service","app-*"]
|
|
@@ -494,7 +585,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
494
585
|
export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
|
|
495
586
|
/**
|
|
496
587
|
* @remarks
|
|
497
|
-
* The trajectory filter
|
|
588
|
+
* The trajectory filter condition. Multiple conditions are combined with AND, and conditions within a list are combined with OR.
|
|
498
589
|
*/
|
|
499
590
|
filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
|
|
500
591
|
/**
|
|
@@ -542,7 +633,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $
|
|
|
542
633
|
export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.Model {
|
|
543
634
|
/**
|
|
544
635
|
* @remarks
|
|
545
|
-
* The continuous consumption mode
|
|
636
|
+
* The continuous consumption mode. The value is fixed to follow.
|
|
546
637
|
*
|
|
547
638
|
* @example
|
|
548
639
|
* follow
|
|
@@ -550,7 +641,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
550
641
|
mode?: string;
|
|
551
642
|
/**
|
|
552
643
|
* @remarks
|
|
553
|
-
* The initial consumed append sequence
|
|
644
|
+
* The initial consumed append sequence number. The value is a decimal string of a non-negative int64 integer. Default value: 0. The __dataset_seq field is used, and the business timestamp is not used as the consumption checkpoint.
|
|
554
645
|
*
|
|
555
646
|
* @example
|
|
556
647
|
* 0
|
|
@@ -570,7 +661,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
570
661
|
export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
571
662
|
/**
|
|
572
663
|
* @remarks
|
|
573
|
-
* The AgentSpace
|
|
664
|
+
* The AgentSpace to which the trace data source belongs, which is the same as the AgentSpace to which it belonged when it was created.
|
|
574
665
|
*
|
|
575
666
|
* @example
|
|
576
667
|
* my-agent-space
|
|
@@ -588,12 +679,12 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
588
679
|
};
|
|
589
680
|
/**
|
|
590
681
|
* @remarks
|
|
591
|
-
* The
|
|
682
|
+
* The data source configuration for the memory type dataset. This parameter is required when the type is memory and source.type is dataset.
|
|
592
683
|
*/
|
|
593
684
|
dataset?: GetContextStoreResponseBodyConfigSourceDataset;
|
|
594
685
|
/**
|
|
595
686
|
* @remarks
|
|
596
|
-
* The name of the source
|
|
687
|
+
* The name of the source dataset for the experience type in the current AgentSpace.
|
|
597
688
|
*
|
|
598
689
|
* @example
|
|
599
690
|
* reviewed_trajectories
|
|
@@ -601,7 +692,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
601
692
|
datasetName?: string;
|
|
602
693
|
/**
|
|
603
694
|
* @remarks
|
|
604
|
-
* The input format of the
|
|
695
|
+
* The input format of the dataset. For the experience base dataset, the source is atif.
|
|
605
696
|
*
|
|
606
697
|
* @example
|
|
607
698
|
* atif
|
|
@@ -609,7 +700,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
609
700
|
format?: string;
|
|
610
701
|
/**
|
|
611
702
|
* @remarks
|
|
612
|
-
* The maximum number of records to read from the
|
|
703
|
+
* The maximum number of records to read from the dataset at a time. Valid values: 1 to 1000.
|
|
613
704
|
*
|
|
614
705
|
* @example
|
|
615
706
|
* 1000
|
|
@@ -627,12 +718,12 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
627
718
|
startTime?: string;
|
|
628
719
|
/**
|
|
629
720
|
* @remarks
|
|
630
|
-
* The
|
|
721
|
+
* The data source configuration for the memory type trajectory. This parameter is required when the type is memory and source.type is trajectory.
|
|
631
722
|
*/
|
|
632
723
|
trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
|
|
633
724
|
/**
|
|
634
725
|
* @remarks
|
|
635
|
-
* The source type, which can be trajectory or dataset. For experience, if not specified,
|
|
726
|
+
* The source type, which can be trajectory or dataset. For experience, if not specified, the trajectory configuration is used. For Dataset, the datasetName, format, and binding at the current level are used. The default mode is manual. If versionPolicy.mode is set to follow, continuous processing is performed and automatically applied to the experience library. For memory, if not specified, the mode is manual (only written by AddContexts). Otherwise, the trajectory or dataset sub-configuration with the same name is used. This parameter cannot be modified after creation.
|
|
636
727
|
*
|
|
637
728
|
* @example
|
|
638
729
|
* dataset
|
|
@@ -640,7 +731,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
640
731
|
type?: string;
|
|
641
732
|
/**
|
|
642
733
|
* @remarks
|
|
643
|
-
* The continuous consumption configuration for the native experience
|
|
734
|
+
* The continuous consumption configuration for the native experience library Dataset. The default mode is manual. The follow mode only allows binding.selection.mode to be set to all, and consumes data by append sequence number. This parameter cannot be modified after creation.
|
|
644
735
|
*/
|
|
645
736
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
|
|
646
737
|
static names(): {
|
|
@@ -657,29 +748,29 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
657
748
|
export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
658
749
|
/**
|
|
659
750
|
* @remarks
|
|
660
|
-
* The processing progress. For memory trajectory,
|
|
751
|
+
* The processing progress. For memory trajectory, the format is {processTimeNs, watermarkMs}. For dataset, the format is {seq}. For manual, the format is {}. For experience Dataset follow, the seq field uses an exact int64 decimal string.
|
|
661
752
|
*/
|
|
662
753
|
checkpoint?: {
|
|
663
754
|
[key: string]: any;
|
|
664
755
|
};
|
|
665
756
|
/**
|
|
666
757
|
* @remarks
|
|
667
|
-
* The current
|
|
758
|
+
* The current reserved sequence window for experience Dataset follow, in the format of {after, until, runId}. All sequence numbers are decimal strings. If a failure occurs, the submitted checkpoint is not advanced.
|
|
668
759
|
*/
|
|
669
760
|
currentWindow?: {
|
|
670
761
|
[key: string]: string;
|
|
671
762
|
};
|
|
672
763
|
/**
|
|
673
764
|
* @remarks
|
|
674
|
-
* The desensitized
|
|
765
|
+
* The last desensitized error message. This field is empty when the status is normal.
|
|
675
766
|
*
|
|
676
767
|
* @example
|
|
677
|
-
*
|
|
768
|
+
* Data source read timeout
|
|
678
769
|
*/
|
|
679
770
|
lastError?: string;
|
|
680
771
|
/**
|
|
681
772
|
* @remarks
|
|
682
|
-
* The run ID of the last successful automatic application to the native experience
|
|
773
|
+
* The run ID of the last successful automatic application to the native experience library. This field is for audit purposes only.
|
|
683
774
|
*
|
|
684
775
|
* @example
|
|
685
776
|
* opr-example
|
|
@@ -695,7 +786,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
695
786
|
lastWindowAt?: string;
|
|
696
787
|
/**
|
|
697
788
|
* @remarks
|
|
698
|
-
* The consecutive
|
|
789
|
+
* The number of consecutive retries.
|
|
699
790
|
*
|
|
700
791
|
* @example
|
|
701
792
|
* 0
|
|
@@ -703,7 +794,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
703
794
|
retryCount?: number;
|
|
704
795
|
/**
|
|
705
796
|
* @remarks
|
|
706
|
-
* The data source
|
|
797
|
+
* The state of the data source. Valid values: Validating, Ready, Running, Retrying, Paused, SourceSchemaChanged, and Failed.
|
|
707
798
|
*
|
|
708
799
|
* @example
|
|
709
800
|
* Running
|
|
@@ -723,7 +814,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
723
814
|
export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
|
|
724
815
|
/**
|
|
725
816
|
* @remarks
|
|
726
|
-
* The allowed storage actions.
|
|
817
|
+
* The allowed storage actions. Default value: all actions. Valid values: ADD, UPDATE, MERGE, and DELETE.
|
|
727
818
|
*
|
|
728
819
|
* @example
|
|
729
820
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -731,7 +822,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
731
822
|
allowedActions?: string[];
|
|
732
823
|
/**
|
|
733
824
|
* @remarks
|
|
734
|
-
* Specifies whether to
|
|
825
|
+
* Specifies whether to enable deduplication in event mode. Default value: true.
|
|
735
826
|
*
|
|
736
827
|
* @example
|
|
737
828
|
* true
|
|
@@ -739,7 +830,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
739
830
|
dedupe?: boolean;
|
|
740
831
|
/**
|
|
741
832
|
* @remarks
|
|
742
|
-
*
|
|
833
|
+
* Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
|
|
743
834
|
*
|
|
744
835
|
* @example
|
|
745
836
|
* true
|
|
@@ -747,7 +838,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
747
838
|
humanEditProtection?: boolean;
|
|
748
839
|
/**
|
|
749
840
|
* @remarks
|
|
750
|
-
* The
|
|
841
|
+
* The merge key for upsert operations. Default value: semantic. Valid values: factKey, semantic, and both.
|
|
751
842
|
*
|
|
752
843
|
* @example
|
|
753
844
|
* semantic
|
|
@@ -755,7 +846,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
755
846
|
mergeKey?: string;
|
|
756
847
|
/**
|
|
757
848
|
* @remarks
|
|
758
|
-
* The storage mode. Valid values: event
|
|
849
|
+
* The storage mode. Default value: upsert. Valid values: event (event append) and upsert (merge update).
|
|
759
850
|
*
|
|
760
851
|
* @example
|
|
761
852
|
* upsert
|
|
@@ -763,7 +854,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
763
854
|
mode?: string;
|
|
764
855
|
/**
|
|
765
856
|
* @remarks
|
|
766
|
-
* The
|
|
857
|
+
* The similarity threshold for semantic merging. Valid values: 0 to 1. Default value: 0.4.
|
|
767
858
|
*
|
|
768
859
|
* @example
|
|
769
860
|
* 0.4
|
|
@@ -771,7 +862,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
771
862
|
similarityThreshold?: number;
|
|
772
863
|
/**
|
|
773
864
|
* @remarks
|
|
774
|
-
* The
|
|
865
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
775
866
|
*
|
|
776
867
|
* @example
|
|
777
868
|
* 0
|
|
@@ -794,6 +885,11 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
794
885
|
* The audit configuration.
|
|
795
886
|
*/
|
|
796
887
|
audit?: GetContextStoreResponseBodyConfigAudit;
|
|
888
|
+
/**
|
|
889
|
+
* @remarks
|
|
890
|
+
* The extraction policies. You can configure 1 to 10 policies. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
|
|
891
|
+
*/
|
|
892
|
+
extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
|
|
797
893
|
/**
|
|
798
894
|
* @remarks
|
|
799
895
|
* The extraction policy for the memory type.
|
|
@@ -801,12 +897,12 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
801
897
|
extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
|
|
802
898
|
/**
|
|
803
899
|
* @remarks
|
|
804
|
-
* The system-assigned coordinates of the event Logstore for the memory type
|
|
900
|
+
* The system-assigned coordinates of the event Logstore for the memory type. The Logstore is located in the Simple Log Service (SLS) project bound to the AgentSpace.
|
|
805
901
|
*/
|
|
806
902
|
innerSource?: GetContextStoreResponseBodyConfigInnerSource;
|
|
807
903
|
/**
|
|
808
904
|
* @remarks
|
|
809
|
-
* The metadata field mapping
|
|
905
|
+
* The metadata field mapping. The key is the business field and the value is the storage field.
|
|
810
906
|
*
|
|
811
907
|
* @example
|
|
812
908
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -824,7 +920,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
824
920
|
miningInterval?: string;
|
|
825
921
|
/**
|
|
826
922
|
* @remarks
|
|
827
|
-
* The name of the internal running task associated with the server.
|
|
923
|
+
* The name of the internal running task associated with the server. For continuous libraries, it is used to view consumption records in read-only mode. For manual libraries, it can run limited mining. It is not inferred by the client and cannot replace the ingestion and recall criteria of the native experience library.
|
|
828
924
|
*
|
|
829
925
|
* @example
|
|
830
926
|
* experience-review-library
|
|
@@ -832,12 +928,12 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
832
928
|
miningTaskName?: string;
|
|
833
929
|
/**
|
|
834
930
|
* @remarks
|
|
835
|
-
* The
|
|
931
|
+
* The observability resource coordinates (memory type).
|
|
836
932
|
*/
|
|
837
933
|
observability?: GetContextStoreResponseBodyConfigObservability;
|
|
838
934
|
/**
|
|
839
935
|
* @remarks
|
|
840
|
-
* The location of the memory output dataset
|
|
936
|
+
* The location of the memory output dataset (memory type).
|
|
841
937
|
*/
|
|
842
938
|
outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
|
|
843
939
|
/**
|
|
@@ -847,7 +943,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
847
943
|
scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
|
|
848
944
|
/**
|
|
849
945
|
* @remarks
|
|
850
|
-
* The list of service names
|
|
946
|
+
* The list of service names used to locate the trace data source together with source.agentSpace. This parameter cannot be modified in the current phase.
|
|
851
947
|
*
|
|
852
948
|
* @example
|
|
853
949
|
* ["order-service","payment-service"]
|
|
@@ -855,12 +951,12 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
855
951
|
serviceNames?: string[];
|
|
856
952
|
/**
|
|
857
953
|
* @remarks
|
|
858
|
-
* The
|
|
954
|
+
* The data source configuration provided by the user, which serves only as the root identifier of the data source.
|
|
859
955
|
*/
|
|
860
956
|
source?: GetContextStoreResponseBodyConfigSource;
|
|
861
957
|
/**
|
|
862
958
|
* @remarks
|
|
863
|
-
* The data source
|
|
959
|
+
* The running status of the data source, applicable to the memory type and experience Dataset follow mode. The experience library submits a checkpoint only after it is published and automatically applied successfully. Pausing and restarting retain the checkpoint.
|
|
864
960
|
*/
|
|
865
961
|
sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
|
|
866
962
|
/**
|
|
@@ -870,7 +966,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
870
966
|
storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
|
|
871
967
|
/**
|
|
872
968
|
* @remarks
|
|
873
|
-
* The
|
|
969
|
+
* The currently effective strategy version number for the memory type.
|
|
874
970
|
*
|
|
875
971
|
* @example
|
|
876
972
|
* 1
|
|
@@ -903,7 +999,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
903
999
|
config?: GetContextStoreResponseBodyConfig;
|
|
904
1000
|
/**
|
|
905
1001
|
* @remarks
|
|
906
|
-
* The context store
|
|
1002
|
+
* The name of the context store.
|
|
907
1003
|
*
|
|
908
1004
|
* @example
|
|
909
1005
|
* my-context-store
|
|
@@ -911,7 +1007,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
911
1007
|
contextStoreName?: string;
|
|
912
1008
|
/**
|
|
913
1009
|
* @remarks
|
|
914
|
-
* The context store
|
|
1010
|
+
* The type of the context store, such as experience or memory.
|
|
915
1011
|
*
|
|
916
1012
|
* @example
|
|
917
1013
|
* experience
|
|
@@ -919,7 +1015,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
919
1015
|
contextType?: string;
|
|
920
1016
|
/**
|
|
921
1017
|
* @remarks
|
|
922
|
-
* The context store
|
|
1018
|
+
* The time when the context store was created, in ISO 8601 UTC format.
|
|
923
1019
|
*
|
|
924
1020
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
925
1021
|
*
|
|
@@ -929,7 +1025,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
929
1025
|
createTime?: string;
|
|
930
1026
|
/**
|
|
931
1027
|
* @remarks
|
|
932
|
-
* The context store
|
|
1028
|
+
* The description of the context store.
|
|
933
1029
|
*
|
|
934
1030
|
* @example
|
|
935
1031
|
* My context store
|
|
@@ -937,7 +1033,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
937
1033
|
description?: string;
|
|
938
1034
|
/**
|
|
939
1035
|
* @remarks
|
|
940
|
-
* The
|
|
1036
|
+
* The ID of the region where the context store is located.
|
|
941
1037
|
*
|
|
942
1038
|
* @example
|
|
943
1039
|
* cn-hangzhou
|
|
@@ -953,7 +1049,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
953
1049
|
requestId?: string;
|
|
954
1050
|
/**
|
|
955
1051
|
* @remarks
|
|
956
|
-
* The context store
|
|
1052
|
+
* The status of the context store, such as ACTIVE, INITIALIZING, or FAILED.
|
|
957
1053
|
*
|
|
958
1054
|
* @example
|
|
959
1055
|
* ACTIVE
|
|
@@ -961,7 +1057,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
961
1057
|
status?: string;
|
|
962
1058
|
/**
|
|
963
1059
|
* @remarks
|
|
964
|
-
* The
|
|
1060
|
+
* The time when the context store was last updated, in ISO 8601 UTC format.
|
|
965
1061
|
*
|
|
966
1062
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
967
1063
|
*
|