@alicloud/agentloop20260520 2.3.8 → 2.4.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 +182 -20
- package/dist/client.js +464 -20
- package/dist/client.js.map +1 -1
- package/dist/models/AnalysisTask.d.ts +92 -0
- package/dist/models/AnalysisTask.js +79 -0
- package/dist/models/AnalysisTask.js.map +1 -0
- package/dist/models/AuditTaskState.d.ts +100 -0
- package/dist/models/AuditTaskState.js +101 -0
- package/dist/models/AuditTaskState.js.map +1 -0
- package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
- package/dist/models/ConnectorProperties.d.ts +32 -11
- package/dist/models/ConnectorProperties.js.map +1 -1
- package/dist/models/CreateContextStoreApikeyRequest.d.ts +2 -2
- package/dist/models/CreateContextStoreApikeyResponseBody.d.ts +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +614 -15
- package/dist/models/CreateContextStoreRequest.js +402 -3
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +9 -1
- package/dist/models/CreateContextStoreResponseBody.js +2 -0
- package/dist/models/CreateContextStoreResponseBody.js.map +1 -1
- package/dist/models/CreateOptimizeRunRequest.d.ts +39 -0
- package/dist/models/CreateOptimizeRunRequest.js +62 -0
- package/dist/models/CreateOptimizeRunRequest.js.map +1 -0
- package/dist/models/CreateOptimizeRunResponse.d.ts +19 -0
- package/dist/models/CreateOptimizeRunResponse.js +69 -0
- package/dist/models/CreateOptimizeRunResponse.js.map +1 -0
- package/dist/models/CreateOptimizeRunResponseBody.d.ts +39 -0
- package/dist/models/CreateOptimizeRunResponseBody.js +65 -0
- package/dist/models/CreateOptimizeRunResponseBody.js.map +1 -0
- package/dist/models/CreateOptimizeTaskRequest.d.ts +55 -0
- package/dist/models/CreateOptimizeTaskRequest.js +69 -0
- package/dist/models/CreateOptimizeTaskRequest.js.map +1 -0
- package/dist/models/CreateOptimizeTaskResponse.d.ts +19 -0
- package/dist/models/CreateOptimizeTaskResponse.js +69 -0
- package/dist/models/CreateOptimizeTaskResponse.js.map +1 -0
- package/dist/models/CreateOptimizeTaskResponseBody.d.ts +29 -0
- package/dist/models/CreateOptimizeTaskResponseBody.js +60 -0
- package/dist/models/CreateOptimizeTaskResponseBody.js.map +1 -0
- package/dist/models/DataFilter.d.ts +12 -5
- package/dist/models/DataFilter.js.map +1 -1
- package/dist/models/DeleteContextStoreApikeyResponseBody.d.ts +1 -1
- package/dist/models/DeleteContextStoreRequest.d.ts +8 -0
- package/dist/models/DeleteContextStoreRequest.js +6 -2
- package/dist/models/DeleteContextStoreRequest.js.map +1 -1
- package/dist/models/DeleteContextStoreResponseBody.d.ts +1 -1
- package/dist/models/DeleteOptimizeTaskRequest.d.ts +21 -0
- package/dist/models/DeleteOptimizeTaskRequest.js +58 -0
- package/dist/models/DeleteOptimizeTaskRequest.js.map +1 -0
- package/dist/models/DeleteOptimizeTaskResponse.d.ts +19 -0
- package/dist/models/DeleteOptimizeTaskResponse.js +69 -0
- package/dist/models/DeleteOptimizeTaskResponse.js.map +1 -0
- package/dist/models/DeleteOptimizeTaskResponseBody.d.ts +21 -0
- package/dist/models/DeleteOptimizeTaskResponseBody.js +58 -0
- package/dist/models/DeleteOptimizeTaskResponseBody.js.map +1 -0
- package/dist/models/ExperimentConfig.d.ts +27 -6
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/ExperimentPlanData.d.ts +77 -0
- package/dist/models/ExperimentPlanData.js.map +1 -1
- package/dist/models/ExperimentRecord.d.ts +154 -0
- package/dist/models/ExperimentRecord.js.map +1 -1
- package/dist/models/GetContextStoreApikeyResponseBody.d.ts +5 -5
- package/dist/models/GetContextStoreResponseBody.d.ts +830 -18
- package/dist/models/GetContextStoreResponseBody.js +532 -1
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +11 -3
- package/dist/models/GetDatasetResponseBody.js.map +1 -1
- package/dist/models/GetOptimizeRunRequest.d.ts +13 -0
- package/dist/models/GetOptimizeRunRequest.js +54 -0
- package/dist/models/GetOptimizeRunRequest.js.map +1 -0
- package/dist/models/GetOptimizeRunResponse.d.ts +19 -0
- package/dist/models/GetOptimizeRunResponse.js +69 -0
- package/dist/models/GetOptimizeRunResponse.js.map +1 -0
- package/dist/models/GetOptimizeRunResponseBody.d.ts +163 -0
- package/dist/models/GetOptimizeRunResponseBody.js +100 -0
- package/dist/models/GetOptimizeRunResponseBody.js.map +1 -0
- package/dist/models/GetOptimizeTaskRequest.d.ts +13 -0
- package/dist/models/GetOptimizeTaskRequest.js +54 -0
- package/dist/models/GetOptimizeTaskRequest.js.map +1 -0
- package/dist/models/GetOptimizeTaskResponse.d.ts +19 -0
- package/dist/models/GetOptimizeTaskResponse.js +69 -0
- package/dist/models/GetOptimizeTaskResponse.js.map +1 -0
- package/dist/models/GetOptimizeTaskResponseBody.d.ts +94 -0
- package/dist/models/GetOptimizeTaskResponseBody.js +82 -0
- package/dist/models/GetOptimizeTaskResponseBody.js.map +1 -0
- package/dist/models/GetPipelineStatsRequest.d.ts +9 -0
- package/dist/models/GetPipelineStatsRequest.js.map +1 -1
- package/dist/models/GetPipelineStatsResponseBody.d.ts +78 -1
- package/dist/models/GetPipelineStatsResponseBody.js.map +1 -1
- package/dist/models/IndexJsonKey.d.ts +3 -3
- package/dist/models/IndexKey.d.ts +10 -7
- package/dist/models/IndexKey.js.map +1 -1
- package/dist/models/ListContextStoreApikeysRequest.d.ts +2 -2
- package/dist/models/ListContextStoreApikeysResponseBody.d.ts +5 -5
- package/dist/models/ListContextStoresRequest.d.ts +12 -4
- package/dist/models/ListContextStoresRequest.js +2 -0
- package/dist/models/ListContextStoresRequest.js.map +1 -1
- package/dist/models/ListContextStoresResponseBody.d.ts +24 -8
- package/dist/models/ListContextStoresResponseBody.js +4 -0
- package/dist/models/ListContextStoresResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsRequest.d.ts +6 -2
- package/dist/models/ListDatasetsRequest.js.map +1 -1
- package/dist/models/ListDatasetsResponseBody.d.ts +14 -6
- package/dist/models/ListDatasetsResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsShrinkRequest.d.ts +6 -2
- package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
- package/dist/models/ListOptimizeRunsRequest.d.ts +53 -0
- package/dist/models/ListOptimizeRunsRequest.js +66 -0
- package/dist/models/ListOptimizeRunsRequest.js.map +1 -0
- package/dist/models/ListOptimizeRunsResponse.d.ts +19 -0
- package/dist/models/ListOptimizeRunsResponse.js +69 -0
- package/dist/models/ListOptimizeRunsResponse.js.map +1 -0
- package/dist/models/ListOptimizeRunsResponseBody.d.ts +204 -0
- package/dist/models/ListOptimizeRunsResponseBody.js +128 -0
- package/dist/models/ListOptimizeRunsResponseBody.js.map +1 -0
- package/dist/models/ListOptimizeTasksRequest.d.ts +45 -0
- package/dist/models/ListOptimizeTasksRequest.js +64 -0
- package/dist/models/ListOptimizeTasksRequest.js.map +1 -0
- package/dist/models/ListOptimizeTasksResponse.d.ts +19 -0
- package/dist/models/ListOptimizeTasksResponse.js +69 -0
- package/dist/models/ListOptimizeTasksResponse.js.map +1 -0
- package/dist/models/ListOptimizeTasksResponseBody.d.ts +135 -0
- package/dist/models/ListOptimizeTasksResponseBody.js +110 -0
- package/dist/models/ListOptimizeTasksResponseBody.js.map +1 -0
- package/dist/models/ListPipelineRunsRequest.d.ts +10 -4
- package/dist/models/ListPipelineRunsRequest.js.map +1 -1
- package/dist/models/ListPipelineRunsResponseBody.d.ts +9 -9
- package/dist/models/ListPipelinesRequest.d.ts +6 -12
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +56 -37
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/ModelParameters.d.ts +49 -0
- package/dist/models/ModelParameters.js.map +1 -1
- package/dist/models/OfflineExperimentConfig.d.ts +21 -0
- package/dist/models/OfflineExperimentConfig.js.map +1 -1
- package/dist/models/PausePipelineResponseBody.d.ts +3 -3
- package/dist/models/PromptTemplateItem.d.ts +14 -0
- package/dist/models/PromptTemplateItem.js.map +1 -1
- package/dist/models/ResumePipelineResponseBody.d.ts +3 -3
- package/dist/models/RunPipelineRequest.d.ts +4 -4
- package/dist/models/RunPipelineResponseBody.d.ts +4 -4
- package/dist/models/SearchContextRequest.d.ts +61 -4
- package/dist/models/SearchContextRequest.js +33 -1
- package/dist/models/SearchContextRequest.js.map +1 -1
- package/dist/models/SearchContextResponseBody.d.ts +17 -1
- package/dist/models/SearchContextResponseBody.js +4 -0
- package/dist/models/SearchContextResponseBody.js.map +1 -1
- package/dist/models/TerminatePipelineRequest.d.ts +3 -0
- package/dist/models/TerminatePipelineRequest.js.map +1 -1
- package/dist/models/TerminatePipelineResponseBody.d.ts +17 -0
- package/dist/models/TerminatePipelineResponseBody.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +479 -9
- package/dist/models/UpdateContextStoreRequest.js +331 -1
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +8 -0
- package/dist/models/UpdateContextStoreResponseBody.js +2 -0
- package/dist/models/UpdateContextStoreResponseBody.js.map +1 -1
- package/dist/models/UpdateExperimentPlanRequest.d.ts +6 -6
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +3 -3
- package/dist/models/UpdateOptimizeRunRequest.d.ts +39 -0
- package/dist/models/UpdateOptimizeRunRequest.js +65 -0
- package/dist/models/UpdateOptimizeRunRequest.js.map +1 -0
- package/dist/models/UpdateOptimizeRunResponse.d.ts +19 -0
- package/dist/models/UpdateOptimizeRunResponse.js +69 -0
- package/dist/models/UpdateOptimizeRunResponse.js.map +1 -0
- package/dist/models/UpdateOptimizeRunResponseBody.d.ts +29 -0
- package/dist/models/UpdateOptimizeRunResponseBody.js +60 -0
- package/dist/models/UpdateOptimizeRunResponseBody.js.map +1 -0
- package/dist/models/UpdateOptimizeTaskRequest.d.ts +39 -0
- package/dist/models/UpdateOptimizeTaskRequest.js +65 -0
- package/dist/models/UpdateOptimizeTaskRequest.js.map +1 -0
- package/dist/models/UpdateOptimizeTaskResponse.d.ts +19 -0
- package/dist/models/UpdateOptimizeTaskResponse.js +69 -0
- package/dist/models/UpdateOptimizeTaskResponse.js.map +1 -0
- package/dist/models/UpdateOptimizeTaskResponseBody.d.ts +21 -0
- package/dist/models/UpdateOptimizeTaskResponseBody.js +58 -0
- package/dist/models/UpdateOptimizeTaskResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +74 -0
- package/dist/models/model.js +171 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +511 -20
- package/src/models/AnalysisTask.ts +124 -0
- package/src/models/AuditTaskState.ts +143 -0
- package/src/models/CancelPipelineRunResponseBody.ts +2 -2
- package/src/models/ConnectorProperties.ts +32 -11
- package/src/models/CreateContextStoreApikeyRequest.ts +2 -2
- package/src/models/CreateContextStoreApikeyResponseBody.ts +1 -1
- package/src/models/CreateContextStoreRequest.ts +896 -15
- package/src/models/CreateContextStoreResponseBody.ts +11 -1
- package/src/models/CreateOptimizeRunRequest.ts +56 -0
- package/src/models/CreateOptimizeRunResponse.ts +40 -0
- package/src/models/CreateOptimizeRunResponseBody.ts +57 -0
- package/src/models/CreateOptimizeTaskRequest.ts +77 -0
- package/src/models/CreateOptimizeTaskResponse.ts +40 -0
- package/src/models/CreateOptimizeTaskResponseBody.ts +44 -0
- package/src/models/DataFilter.ts +12 -5
- package/src/models/DeleteContextStoreApikeyResponseBody.ts +1 -1
- package/src/models/DeleteContextStoreRequest.ts +10 -0
- package/src/models/DeleteContextStoreResponseBody.ts +1 -1
- package/src/models/DeleteOptimizeTaskRequest.ts +34 -0
- package/src/models/DeleteOptimizeTaskResponse.ts +40 -0
- package/src/models/DeleteOptimizeTaskResponseBody.ts +34 -0
- package/src/models/ExperimentConfig.ts +27 -6
- package/src/models/ExperimentPlanData.ts +77 -0
- package/src/models/ExperimentRecord.ts +154 -0
- package/src/models/GetContextStoreApikeyResponseBody.ts +5 -5
- package/src/models/GetContextStoreResponseBody.ts +1202 -18
- package/src/models/GetDatasetResponseBody.ts +11 -3
- package/src/models/GetOptimizeRunRequest.ts +24 -0
- package/src/models/GetOptimizeRunResponse.ts +40 -0
- package/src/models/GetOptimizeRunResponseBody.ts +214 -0
- package/src/models/GetOptimizeTaskRequest.ts +24 -0
- package/src/models/GetOptimizeTaskResponse.ts +40 -0
- package/src/models/GetOptimizeTaskResponseBody.ts +127 -0
- package/src/models/GetPipelineStatsRequest.ts +9 -0
- package/src/models/GetPipelineStatsResponseBody.ts +78 -1
- package/src/models/IndexJsonKey.ts +3 -3
- package/src/models/IndexKey.ts +10 -7
- package/src/models/ListContextStoreApikeysRequest.ts +2 -2
- package/src/models/ListContextStoreApikeysResponseBody.ts +5 -5
- package/src/models/ListContextStoresRequest.ts +14 -4
- package/src/models/ListContextStoresResponseBody.ts +28 -8
- package/src/models/ListDatasetsRequest.ts +6 -2
- package/src/models/ListDatasetsResponseBody.ts +14 -6
- package/src/models/ListDatasetsShrinkRequest.ts +6 -2
- package/src/models/ListOptimizeRunsRequest.ts +74 -0
- package/src/models/ListOptimizeRunsResponse.ts +40 -0
- package/src/models/ListOptimizeRunsResponseBody.ts +274 -0
- package/src/models/ListOptimizeTasksRequest.ts +64 -0
- package/src/models/ListOptimizeTasksResponse.ts +40 -0
- package/src/models/ListOptimizeTasksResponseBody.ts +187 -0
- package/src/models/ListPipelineRunsRequest.ts +10 -4
- package/src/models/ListPipelineRunsResponseBody.ts +9 -9
- package/src/models/ListPipelinesRequest.ts +6 -12
- package/src/models/ListPipelinesResponseBody.ts +56 -37
- package/src/models/ModelParameters.ts +49 -0
- package/src/models/OfflineExperimentConfig.ts +21 -0
- package/src/models/PausePipelineResponseBody.ts +3 -3
- package/src/models/PromptTemplateItem.ts +14 -0
- package/src/models/ResumePipelineResponseBody.ts +3 -3
- package/src/models/RunPipelineRequest.ts +4 -4
- package/src/models/RunPipelineResponseBody.ts +4 -4
- package/src/models/SearchContextRequest.ts +84 -4
- package/src/models/SearchContextResponseBody.ts +21 -1
- package/src/models/TerminatePipelineRequest.ts +3 -0
- package/src/models/TerminatePipelineResponseBody.ts +17 -0
- package/src/models/UpdateContextStoreRequest.ts +710 -9
- package/src/models/UpdateContextStoreResponseBody.ts +10 -0
- package/src/models/UpdateExperimentPlanRequest.ts +6 -6
- package/src/models/UpdateExperimentPlanResponseBody.ts +3 -3
- package/src/models/UpdateOptimizeRunRequest.ts +57 -0
- package/src/models/UpdateOptimizeRunResponse.ts +40 -0
- package/src/models/UpdateOptimizeRunResponseBody.ts +44 -0
- package/src/models/UpdateOptimizeTaskRequest.ts +57 -0
- package/src/models/UpdateOptimizeTaskResponse.ts +40 -0
- package/src/models/UpdateOptimizeTaskResponseBody.ts +34 -0
- package/src/models/model.ts +74 -0
|
@@ -2,10 +2,831 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to write item events for candidates dropped during retrieval. Default value: false.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* false
|
|
12
|
+
*/
|
|
13
|
+
droppedCandidates?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The recording mode for retrieval queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* raw
|
|
20
|
+
*/
|
|
21
|
+
queryMode?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of days to retain audit logs. Valid values: 1 to 180. Default value: 30.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 30
|
|
28
|
+
*/
|
|
29
|
+
retentionDays?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
droppedCandidates: 'droppedCandidates',
|
|
33
|
+
queryMode: 'queryMode',
|
|
34
|
+
retentionDays: 'retentionDays',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
droppedCandidates: 'boolean',
|
|
41
|
+
queryMode: 'string',
|
|
42
|
+
retentionDays: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The name of the extraction model. Currently, only qwen3.8-flash is supported, which uses internal platform credentials.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* qwen3.8-flash
|
|
62
|
+
*/
|
|
63
|
+
name?: string;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
name: 'name',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
name: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
validate() {
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class GetContextStoreResponseBodyConfigExtractionPolicy extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The list of memory categories.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ["preference","profile"]
|
|
92
|
+
*/
|
|
93
|
+
categories?: string[];
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8,000 characters.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* Extract only user product preferences
|
|
100
|
+
*/
|
|
101
|
+
customInstructions?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The list of exclusion rules. Content that matches these rules is not extracted.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ["Password","ID number"]
|
|
108
|
+
*/
|
|
109
|
+
excludeRules?: string[];
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The extraction model configuration.
|
|
113
|
+
*/
|
|
114
|
+
model?: GetContextStoreResponseBodyConfigExtractionPolicyModel;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* fact
|
|
121
|
+
*/
|
|
122
|
+
preset?: string;
|
|
123
|
+
static names(): { [key: string]: string } {
|
|
124
|
+
return {
|
|
125
|
+
categories: 'categories',
|
|
126
|
+
customInstructions: 'customInstructions',
|
|
127
|
+
excludeRules: 'excludeRules',
|
|
128
|
+
model: 'model',
|
|
129
|
+
preset: 'preset',
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
static types(): { [key: string]: any } {
|
|
134
|
+
return {
|
|
135
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
136
|
+
customInstructions: 'string',
|
|
137
|
+
excludeRules: { 'type': 'array', 'itemType': 'string' },
|
|
138
|
+
model: GetContextStoreResponseBodyConfigExtractionPolicyModel,
|
|
139
|
+
preset: 'string',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
validate() {
|
|
144
|
+
if(Array.isArray(this.categories)) {
|
|
145
|
+
$dara.Model.validateArray(this.categories);
|
|
146
|
+
}
|
|
147
|
+
if(Array.isArray(this.excludeRules)) {
|
|
148
|
+
$dara.Model.validateArray(this.excludeRules);
|
|
149
|
+
}
|
|
150
|
+
if(this.model && typeof (this.model as any).validate === 'function') {
|
|
151
|
+
(this.model as any).validate();
|
|
152
|
+
}
|
|
153
|
+
super.validate();
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
constructor(map?: { [key: string]: any }) {
|
|
157
|
+
super(map);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export class GetContextStoreResponseBodyConfigInnerSource extends $dara.Model {
|
|
162
|
+
/**
|
|
163
|
+
* @remarks
|
|
164
|
+
* The name of the event Logstore.
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* memory_events_0a1b2c3d
|
|
168
|
+
*/
|
|
169
|
+
logstore?: string;
|
|
170
|
+
/**
|
|
171
|
+
* @remarks
|
|
172
|
+
* The name of the SLS project.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* agentloop-xxx
|
|
176
|
+
*/
|
|
177
|
+
project?: string;
|
|
178
|
+
static names(): { [key: string]: string } {
|
|
179
|
+
return {
|
|
180
|
+
logstore: 'logstore',
|
|
181
|
+
project: 'project',
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
static types(): { [key: string]: any } {
|
|
186
|
+
return {
|
|
187
|
+
logstore: 'string',
|
|
188
|
+
project: 'string',
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
validate() {
|
|
193
|
+
super.validate();
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
constructor(map?: { [key: string]: any }) {
|
|
197
|
+
super(map);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export class GetContextStoreResponseBodyConfigObservability extends $dara.Model {
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The name of the audit Logstore.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* memory-audit
|
|
208
|
+
*/
|
|
209
|
+
auditLogstore?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* The name of the event Logstore.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* memory_events_0a1b2c3d
|
|
216
|
+
*/
|
|
217
|
+
eventsLogstore?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* The SLS project where both resources are located, which is the project bound to the AgentSpace.
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* agentloop-xxx
|
|
224
|
+
*/
|
|
225
|
+
project?: string;
|
|
226
|
+
static names(): { [key: string]: string } {
|
|
227
|
+
return {
|
|
228
|
+
auditLogstore: 'auditLogstore',
|
|
229
|
+
eventsLogstore: 'eventsLogstore',
|
|
230
|
+
project: 'project',
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
static types(): { [key: string]: any } {
|
|
235
|
+
return {
|
|
236
|
+
auditLogstore: 'string',
|
|
237
|
+
eventsLogstore: 'string',
|
|
238
|
+
project: 'string',
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
validate() {
|
|
243
|
+
super.validate();
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
constructor(map?: { [key: string]: any }) {
|
|
247
|
+
super(map);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model {
|
|
252
|
+
/**
|
|
253
|
+
* @remarks
|
|
254
|
+
* The AgentSpace where the dataset is located.
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* my-agent-space
|
|
258
|
+
*/
|
|
259
|
+
agentSpace?: string;
|
|
260
|
+
/**
|
|
261
|
+
* @remarks
|
|
262
|
+
* The name of the dataset.
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* memory-my-context-store
|
|
266
|
+
*/
|
|
267
|
+
datasetName?: string;
|
|
268
|
+
/**
|
|
269
|
+
* @remarks
|
|
270
|
+
* The row schema contract of the dataset.
|
|
271
|
+
*
|
|
272
|
+
* @example
|
|
273
|
+
* MemoryRecordV1
|
|
274
|
+
*/
|
|
275
|
+
schemaContract?: string;
|
|
276
|
+
/**
|
|
277
|
+
* @remarks
|
|
278
|
+
* The schema version.
|
|
279
|
+
*
|
|
280
|
+
* @example
|
|
281
|
+
* 1
|
|
282
|
+
*/
|
|
283
|
+
schemaVersion?: number;
|
|
284
|
+
static names(): { [key: string]: string } {
|
|
285
|
+
return {
|
|
286
|
+
agentSpace: 'agentSpace',
|
|
287
|
+
datasetName: 'datasetName',
|
|
288
|
+
schemaContract: 'schemaContract',
|
|
289
|
+
schemaVersion: 'schemaVersion',
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
static types(): { [key: string]: any } {
|
|
294
|
+
return {
|
|
295
|
+
agentSpace: 'string',
|
|
296
|
+
datasetName: 'string',
|
|
297
|
+
schemaContract: 'string',
|
|
298
|
+
schemaVersion: 'number',
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
validate() {
|
|
303
|
+
super.validate();
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
constructor(map?: { [key: string]: any }) {
|
|
307
|
+
super(map);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
|
|
312
|
+
/**
|
|
313
|
+
* @remarks
|
|
314
|
+
* At least one of the specified scope fields must be non-empty. Valid element values: userId, agentId, appId, and runId.
|
|
315
|
+
*
|
|
316
|
+
* @example
|
|
317
|
+
* ["userId"]
|
|
318
|
+
*/
|
|
319
|
+
requiredAnyOf?: string[];
|
|
320
|
+
static names(): { [key: string]: string } {
|
|
321
|
+
return {
|
|
322
|
+
requiredAnyOf: 'requiredAnyOf',
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
static types(): { [key: string]: any } {
|
|
327
|
+
return {
|
|
328
|
+
requiredAnyOf: { 'type': 'array', 'itemType': 'string' },
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
validate() {
|
|
333
|
+
if(Array.isArray(this.requiredAnyOf)) {
|
|
334
|
+
$dara.Model.validateArray(this.requiredAnyOf);
|
|
335
|
+
}
|
|
336
|
+
super.validate();
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
constructor(map?: { [key: string]: any }) {
|
|
340
|
+
super(map);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends $dara.Model {
|
|
345
|
+
/**
|
|
346
|
+
* @remarks
|
|
347
|
+
* The description of the field. This parameter is required when usage is extraction-input and is appended to the extraction prompt.
|
|
348
|
+
*
|
|
349
|
+
* @example
|
|
350
|
+
* Customer tier
|
|
351
|
+
*/
|
|
352
|
+
description?: string;
|
|
353
|
+
/**
|
|
354
|
+
* @remarks
|
|
355
|
+
* Specifies whether the field is sensitive.
|
|
356
|
+
*
|
|
357
|
+
* @example
|
|
358
|
+
* false
|
|
359
|
+
*/
|
|
360
|
+
sensitive?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* @remarks
|
|
363
|
+
* The name of the source field.
|
|
364
|
+
*
|
|
365
|
+
* @example
|
|
366
|
+
* customerTier
|
|
367
|
+
*/
|
|
368
|
+
sourceField?: string;
|
|
369
|
+
/**
|
|
370
|
+
* @remarks
|
|
371
|
+
* The target path for writing data, such as metadata.customerTier.
|
|
372
|
+
*
|
|
373
|
+
* @example
|
|
374
|
+
* metadata.customerTier
|
|
375
|
+
*/
|
|
376
|
+
target?: string;
|
|
377
|
+
/**
|
|
378
|
+
* @remarks
|
|
379
|
+
* The usage of the field. Valid values:
|
|
380
|
+
* - extraction-input: Participates in extraction.
|
|
381
|
+
* - ignore: Ignored.
|
|
382
|
+
*
|
|
383
|
+
* @example
|
|
384
|
+
* extraction-input
|
|
385
|
+
*/
|
|
386
|
+
usage?: string;
|
|
387
|
+
static names(): { [key: string]: string } {
|
|
388
|
+
return {
|
|
389
|
+
description: 'description',
|
|
390
|
+
sensitive: 'sensitive',
|
|
391
|
+
sourceField: 'sourceField',
|
|
392
|
+
target: 'target',
|
|
393
|
+
usage: 'usage',
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
static types(): { [key: string]: any } {
|
|
398
|
+
return {
|
|
399
|
+
description: 'string',
|
|
400
|
+
sensitive: 'boolean',
|
|
401
|
+
sourceField: 'string',
|
|
402
|
+
target: 'string',
|
|
403
|
+
usage: 'string',
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
validate() {
|
|
408
|
+
super.validate();
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
constructor(map?: { [key: string]: any }) {
|
|
412
|
+
super(map);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
|
|
417
|
+
/**
|
|
418
|
+
* @remarks
|
|
419
|
+
* The subset of the Pipeline where clause, which is pushed down to SQL.
|
|
420
|
+
*
|
|
421
|
+
* @example
|
|
422
|
+
* appId = \\"crm-service\\"
|
|
423
|
+
*/
|
|
424
|
+
where?: string;
|
|
425
|
+
static names(): { [key: string]: string } {
|
|
426
|
+
return {
|
|
427
|
+
where: 'where',
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
static types(): { [key: string]: any } {
|
|
432
|
+
return {
|
|
433
|
+
where: 'string',
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
validate() {
|
|
438
|
+
super.validate();
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
constructor(map?: { [key: string]: any }) {
|
|
442
|
+
super(map);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
|
|
447
|
+
/**
|
|
448
|
+
* @remarks
|
|
449
|
+
* The consumption mode. Valid values:
|
|
450
|
+
* - follow: Consumes data incrementally based on __dataset_seq.
|
|
451
|
+
* - fixed: Consumes the specified ACTIVE version in full at once.
|
|
452
|
+
*
|
|
453
|
+
* @example
|
|
454
|
+
* follow
|
|
455
|
+
*/
|
|
456
|
+
mode?: string;
|
|
457
|
+
/**
|
|
458
|
+
* @remarks
|
|
459
|
+
* The starting __dataset_seq for the follow mode.
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* 0
|
|
463
|
+
*/
|
|
464
|
+
startSeq?: number;
|
|
465
|
+
/**
|
|
466
|
+
* @remarks
|
|
467
|
+
* The Dataset version specified for the fixed mode.
|
|
468
|
+
*
|
|
469
|
+
* @example
|
|
470
|
+
* v3
|
|
471
|
+
*/
|
|
472
|
+
version?: string;
|
|
473
|
+
static names(): { [key: string]: string } {
|
|
474
|
+
return {
|
|
475
|
+
mode: 'mode',
|
|
476
|
+
startSeq: 'startSeq',
|
|
477
|
+
version: 'version',
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
static types(): { [key: string]: any } {
|
|
482
|
+
return {
|
|
483
|
+
mode: 'string',
|
|
484
|
+
startSeq: 'number',
|
|
485
|
+
version: 'string',
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
validate() {
|
|
490
|
+
super.validate();
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
constructor(map?: { [key: string]: any }) {
|
|
494
|
+
super(map);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model {
|
|
499
|
+
/**
|
|
500
|
+
* @remarks
|
|
501
|
+
* The list of custom field declarations.
|
|
502
|
+
*/
|
|
503
|
+
customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
|
|
504
|
+
/**
|
|
505
|
+
* @remarks
|
|
506
|
+
* The name of the Dataset in the same AgentSpace. This parameter cannot be modified after creation.
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* trajectory-with-crm-profile
|
|
510
|
+
*/
|
|
511
|
+
datasetName?: string;
|
|
512
|
+
/**
|
|
513
|
+
* @remarks
|
|
514
|
+
* The row filter conditions.
|
|
515
|
+
*/
|
|
516
|
+
filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
|
|
517
|
+
/**
|
|
518
|
+
* @remarks
|
|
519
|
+
* The polling interval in seconds. Valid values: 60 to 3600. Default value: 300.
|
|
520
|
+
*
|
|
521
|
+
* @example
|
|
522
|
+
* 300
|
|
523
|
+
*/
|
|
524
|
+
pollIntervalSeconds?: number;
|
|
525
|
+
/**
|
|
526
|
+
* @remarks
|
|
527
|
+
* The row schema contract of the Dataset. The value is fixed to MemorySourceV1 in the current phase.
|
|
528
|
+
*
|
|
529
|
+
* @example
|
|
530
|
+
* MemorySourceV1
|
|
531
|
+
*/
|
|
532
|
+
schemaContract?: string;
|
|
533
|
+
/**
|
|
534
|
+
* @remarks
|
|
535
|
+
* The version consumption policy of the Dataset.
|
|
536
|
+
*/
|
|
537
|
+
versionPolicy?: GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy;
|
|
538
|
+
static names(): { [key: string]: string } {
|
|
539
|
+
return {
|
|
540
|
+
customFields: 'customFields',
|
|
541
|
+
datasetName: 'datasetName',
|
|
542
|
+
filter: 'filter',
|
|
543
|
+
pollIntervalSeconds: 'pollIntervalSeconds',
|
|
544
|
+
schemaContract: 'schemaContract',
|
|
545
|
+
versionPolicy: 'versionPolicy',
|
|
546
|
+
};
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
static types(): { [key: string]: any } {
|
|
550
|
+
return {
|
|
551
|
+
customFields: { 'type': 'array', 'itemType': GetContextStoreResponseBodyConfigSourceDatasetCustomFields },
|
|
552
|
+
datasetName: 'string',
|
|
553
|
+
filter: GetContextStoreResponseBodyConfigSourceDatasetFilter,
|
|
554
|
+
pollIntervalSeconds: 'number',
|
|
555
|
+
schemaContract: 'string',
|
|
556
|
+
versionPolicy: GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy,
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
validate() {
|
|
561
|
+
if(Array.isArray(this.customFields)) {
|
|
562
|
+
$dara.Model.validateArray(this.customFields);
|
|
563
|
+
}
|
|
564
|
+
if(this.filter && typeof (this.filter as any).validate === 'function') {
|
|
565
|
+
(this.filter as any).validate();
|
|
566
|
+
}
|
|
567
|
+
if(this.versionPolicy && typeof (this.versionPolicy as any).validate === 'function') {
|
|
568
|
+
(this.versionPolicy as any).validate();
|
|
569
|
+
}
|
|
570
|
+
super.validate();
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
constructor(map?: { [key: string]: any }) {
|
|
574
|
+
super(map);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $dara.Model {
|
|
579
|
+
/**
|
|
580
|
+
* @remarks
|
|
581
|
+
* The list of agent names. An explicitly empty list returns a 400 error.
|
|
582
|
+
*
|
|
583
|
+
* @example
|
|
584
|
+
* ["sales-copilot"]
|
|
585
|
+
*/
|
|
586
|
+
agentNames?: string[];
|
|
587
|
+
/**
|
|
588
|
+
* @remarks
|
|
589
|
+
* Specifies whether to exclude degraded trajectories. Default value: false (includes degraded trajectories).
|
|
590
|
+
*
|
|
591
|
+
* @example
|
|
592
|
+
* false
|
|
593
|
+
*/
|
|
594
|
+
excludeDegraded?: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* @remarks
|
|
597
|
+
* The minimum number of steps. The value must be greater than or equal to 0.
|
|
598
|
+
*
|
|
599
|
+
* @example
|
|
600
|
+
* 2
|
|
601
|
+
*/
|
|
602
|
+
minStepCount?: number;
|
|
603
|
+
/**
|
|
604
|
+
* @remarks
|
|
605
|
+
* The native Simple Log Service (SLS) query statement, which is combined with the preceding conditions using AND.
|
|
606
|
+
*
|
|
607
|
+
* @example
|
|
608
|
+
* tool_names:"search_order"
|
|
609
|
+
*/
|
|
610
|
+
query?: string;
|
|
611
|
+
/**
|
|
612
|
+
* @remarks
|
|
613
|
+
* The list of service names. A single trailing asterisk (*) is supported. An explicitly empty list returns a 400 error.
|
|
614
|
+
*
|
|
615
|
+
* @example
|
|
616
|
+
* ["crm-service","app-*"]
|
|
617
|
+
*/
|
|
618
|
+
serviceNames?: string[];
|
|
619
|
+
static names(): { [key: string]: string } {
|
|
620
|
+
return {
|
|
621
|
+
agentNames: 'agentNames',
|
|
622
|
+
excludeDegraded: 'excludeDegraded',
|
|
623
|
+
minStepCount: 'minStepCount',
|
|
624
|
+
query: 'query',
|
|
625
|
+
serviceNames: 'serviceNames',
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
static types(): { [key: string]: any } {
|
|
630
|
+
return {
|
|
631
|
+
agentNames: { 'type': 'array', 'itemType': 'string' },
|
|
632
|
+
excludeDegraded: 'boolean',
|
|
633
|
+
minStepCount: 'number',
|
|
634
|
+
query: 'string',
|
|
635
|
+
serviceNames: { 'type': 'array', 'itemType': 'string' },
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
validate() {
|
|
640
|
+
if(Array.isArray(this.agentNames)) {
|
|
641
|
+
$dara.Model.validateArray(this.agentNames);
|
|
642
|
+
}
|
|
643
|
+
if(Array.isArray(this.serviceNames)) {
|
|
644
|
+
$dara.Model.validateArray(this.serviceNames);
|
|
645
|
+
}
|
|
646
|
+
super.validate();
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
constructor(map?: { [key: string]: any }) {
|
|
650
|
+
super(map);
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping extends $dara.Model {
|
|
655
|
+
/**
|
|
656
|
+
* @remarks
|
|
657
|
+
* The JSONPath expression for agentId. Default value: $.agent_name.
|
|
658
|
+
*
|
|
659
|
+
* @example
|
|
660
|
+
* $.agent_name
|
|
661
|
+
*/
|
|
662
|
+
agentId?: string;
|
|
663
|
+
/**
|
|
664
|
+
* @remarks
|
|
665
|
+
* The JSONPath expression for appId. Default value: $.service_names[0].
|
|
666
|
+
*
|
|
667
|
+
* @example
|
|
668
|
+
* $.service_names[0]
|
|
669
|
+
*/
|
|
670
|
+
appId?: string;
|
|
671
|
+
/**
|
|
672
|
+
* @remarks
|
|
673
|
+
* The JSONPath expression for runId. Default value: $.trajectory_id.
|
|
674
|
+
*
|
|
675
|
+
* @example
|
|
676
|
+
* $.trajectory_id
|
|
677
|
+
*/
|
|
678
|
+
runId?: string;
|
|
679
|
+
/**
|
|
680
|
+
* @remarks
|
|
681
|
+
* The JSONPath expression for userId. By default, this field is not mapped.
|
|
682
|
+
*
|
|
683
|
+
* @example
|
|
684
|
+
* $.trajectory_extensions.user_id
|
|
685
|
+
*/
|
|
686
|
+
userId?: string;
|
|
687
|
+
static names(): { [key: string]: string } {
|
|
688
|
+
return {
|
|
689
|
+
agentId: 'agentId',
|
|
690
|
+
appId: 'appId',
|
|
691
|
+
runId: 'runId',
|
|
692
|
+
userId: 'userId',
|
|
693
|
+
};
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
static types(): { [key: string]: any } {
|
|
697
|
+
return {
|
|
698
|
+
agentId: 'string',
|
|
699
|
+
appId: 'string',
|
|
700
|
+
runId: 'string',
|
|
701
|
+
userId: 'string',
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
validate() {
|
|
706
|
+
super.validate();
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
constructor(map?: { [key: string]: any }) {
|
|
710
|
+
super(map);
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
|
|
715
|
+
/**
|
|
716
|
+
* @remarks
|
|
717
|
+
* The trajectory filter conditions. Conditions are combined with AND, while items within a list are combined with OR.
|
|
718
|
+
*/
|
|
719
|
+
filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
|
|
720
|
+
/**
|
|
721
|
+
* @remarks
|
|
722
|
+
* The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be modified after creation.
|
|
723
|
+
*
|
|
724
|
+
* @example
|
|
725
|
+
* agent-trajectory
|
|
726
|
+
*/
|
|
727
|
+
logstore?: string;
|
|
728
|
+
/**
|
|
729
|
+
* @remarks
|
|
730
|
+
* The polling interval in seconds. Valid values: 60 to 3600. Default value: 300.
|
|
731
|
+
*
|
|
732
|
+
* @example
|
|
733
|
+
* 300
|
|
734
|
+
*/
|
|
735
|
+
pollIntervalSeconds?: number;
|
|
736
|
+
/**
|
|
737
|
+
* @remarks
|
|
738
|
+
* The scope field mapping. The value is a JSONPath expression. Only the $.a.b and $.a[0] formats are supported.
|
|
739
|
+
*/
|
|
740
|
+
scopeMapping?: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping;
|
|
741
|
+
/**
|
|
742
|
+
* @remarks
|
|
743
|
+
* The start time for trajectory consumption in ISO 8601 UTC format. If not specified, the default value is the creation time.
|
|
744
|
+
*
|
|
745
|
+
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
746
|
+
*
|
|
747
|
+
* @example
|
|
748
|
+
* 2026-10-01T00:00:00Z
|
|
749
|
+
*/
|
|
750
|
+
startTime?: string;
|
|
751
|
+
static names(): { [key: string]: string } {
|
|
752
|
+
return {
|
|
753
|
+
filter: 'filter',
|
|
754
|
+
logstore: 'logstore',
|
|
755
|
+
pollIntervalSeconds: 'pollIntervalSeconds',
|
|
756
|
+
scopeMapping: 'scopeMapping',
|
|
757
|
+
startTime: 'startTime',
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
static types(): { [key: string]: any } {
|
|
762
|
+
return {
|
|
763
|
+
filter: GetContextStoreResponseBodyConfigSourceTrajectoryFilter,
|
|
764
|
+
logstore: 'string',
|
|
765
|
+
pollIntervalSeconds: 'number',
|
|
766
|
+
scopeMapping: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping,
|
|
767
|
+
startTime: 'string',
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
validate() {
|
|
772
|
+
if(this.filter && typeof (this.filter as any).validate === 'function') {
|
|
773
|
+
(this.filter as any).validate();
|
|
774
|
+
}
|
|
775
|
+
if(this.scopeMapping && typeof (this.scopeMapping as any).validate === 'function') {
|
|
776
|
+
(this.scopeMapping as any).validate();
|
|
777
|
+
}
|
|
778
|
+
super.validate();
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
constructor(map?: { [key: string]: any }) {
|
|
782
|
+
super(map);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.Model {
|
|
787
|
+
/**
|
|
788
|
+
* @remarks
|
|
789
|
+
* The continuous consumption mode, which is fixed to follow.
|
|
790
|
+
*
|
|
791
|
+
* @example
|
|
792
|
+
* follow
|
|
793
|
+
*/
|
|
794
|
+
mode?: string;
|
|
795
|
+
/**
|
|
796
|
+
* @remarks
|
|
797
|
+
* The initial consumed append sequence, which is a decimal string of a non-negative int64. The default is 0. It uses __dataset_seq. Business timestamps are not used as consumption checkpoints.
|
|
798
|
+
*
|
|
799
|
+
* @example
|
|
800
|
+
* 0
|
|
801
|
+
*/
|
|
802
|
+
startSeq?: string;
|
|
803
|
+
static names(): { [key: string]: string } {
|
|
804
|
+
return {
|
|
805
|
+
mode: 'mode',
|
|
806
|
+
startSeq: 'startSeq',
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
static types(): { [key: string]: any } {
|
|
811
|
+
return {
|
|
812
|
+
mode: 'string',
|
|
813
|
+
startSeq: 'string',
|
|
814
|
+
};
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
validate() {
|
|
818
|
+
super.validate();
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
constructor(map?: { [key: string]: any }) {
|
|
822
|
+
super(map);
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
|
|
5
826
|
export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
6
827
|
/**
|
|
7
828
|
* @remarks
|
|
8
|
-
* The AgentSpace where the trace data source resides.
|
|
829
|
+
* The AgentSpace where the trace data source resides. It must be the same as the AgentSpace specified during creation.
|
|
9
830
|
*
|
|
10
831
|
* @example
|
|
11
832
|
* my-agent-space
|
|
@@ -13,7 +834,44 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
13
834
|
agentSpace?: string;
|
|
14
835
|
/**
|
|
15
836
|
* @remarks
|
|
16
|
-
* The
|
|
837
|
+
* The DatasetBinding v1 shared with optimization tasks, which retains fixed column validation, supplementary column usage, and all/window selection.
|
|
838
|
+
*
|
|
839
|
+
* @example
|
|
840
|
+
* {"version":1,"selection":{"mode":"all"}}
|
|
841
|
+
*/
|
|
842
|
+
binding?: { [key: string]: any };
|
|
843
|
+
/**
|
|
844
|
+
* @remarks
|
|
845
|
+
* The Dataset datasource config for the memory type. This parameter is required when the type is memory and source.type is dataset.
|
|
846
|
+
*/
|
|
847
|
+
dataset?: GetContextStoreResponseBodyConfigSourceDataset;
|
|
848
|
+
/**
|
|
849
|
+
* @remarks
|
|
850
|
+
* The name of the source Dataset for the experience type in the current AgentSpace.
|
|
851
|
+
*
|
|
852
|
+
* @example
|
|
853
|
+
* reviewed_trajectories
|
|
854
|
+
*/
|
|
855
|
+
datasetName?: string;
|
|
856
|
+
/**
|
|
857
|
+
* @remarks
|
|
858
|
+
* The input format of the Dataset. For Datasets from the experience library, the value is atif.
|
|
859
|
+
*
|
|
860
|
+
* @example
|
|
861
|
+
* atif
|
|
862
|
+
*/
|
|
863
|
+
format?: string;
|
|
864
|
+
/**
|
|
865
|
+
* @remarks
|
|
866
|
+
* The maximum number of records to read from the Dataset at a time. Valid values: 1 to 1000.
|
|
867
|
+
*
|
|
868
|
+
* @example
|
|
869
|
+
* 1000
|
|
870
|
+
*/
|
|
871
|
+
maxRecords?: number;
|
|
872
|
+
/**
|
|
873
|
+
* @remarks
|
|
874
|
+
* The start time for data backfill in ISO 8601 UTC format.
|
|
17
875
|
*
|
|
18
876
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
19
877
|
*
|
|
@@ -21,21 +879,250 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
21
879
|
* 2026-01-01T00:00:00Z
|
|
22
880
|
*/
|
|
23
881
|
startTime?: string;
|
|
882
|
+
/**
|
|
883
|
+
* @remarks
|
|
884
|
+
* The trajectory datasource config for the memory type. This parameter is required when the type is memory and source.type is trajectory.
|
|
885
|
+
*/
|
|
886
|
+
trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
|
|
887
|
+
/**
|
|
888
|
+
* @remarks
|
|
889
|
+
* The source type, which can be trajectory or dataset. For experience, if not specified, it inherits the trajectory configuration. For Dataset, it uses the datasetName, format, and binding at this level. The default is manual. If versionPolicy.mode is follow, it continuously processes and automatically applies changes to this experience store. For memory, if not specified, it indicates manual, meaning only AddContexts writes data. Otherwise, it uses the sub-configuration of the trajectory or dataset with the same name. This property cannot be modified after creation.
|
|
890
|
+
*
|
|
891
|
+
* @example
|
|
892
|
+
* dataset
|
|
893
|
+
*/
|
|
894
|
+
type?: string;
|
|
895
|
+
/**
|
|
896
|
+
* @remarks
|
|
897
|
+
* The continuous consumption configuration for the native experience store Dataset. The default is manual. The follow mode only allows binding.selection.mode=all and consumes by append sequence. This cannot be changed after creation.
|
|
898
|
+
*/
|
|
899
|
+
versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
|
|
24
900
|
static names(): { [key: string]: string } {
|
|
25
901
|
return {
|
|
26
902
|
agentSpace: 'agentSpace',
|
|
903
|
+
binding: 'binding',
|
|
904
|
+
dataset: 'dataset',
|
|
905
|
+
datasetName: 'datasetName',
|
|
906
|
+
format: 'format',
|
|
907
|
+
maxRecords: 'maxRecords',
|
|
27
908
|
startTime: 'startTime',
|
|
909
|
+
trajectory: 'trajectory',
|
|
910
|
+
type: 'type',
|
|
911
|
+
versionPolicy: 'versionPolicy',
|
|
28
912
|
};
|
|
29
913
|
}
|
|
30
914
|
|
|
31
915
|
static types(): { [key: string]: any } {
|
|
32
916
|
return {
|
|
33
917
|
agentSpace: 'string',
|
|
918
|
+
binding: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
919
|
+
dataset: GetContextStoreResponseBodyConfigSourceDataset,
|
|
920
|
+
datasetName: 'string',
|
|
921
|
+
format: 'string',
|
|
922
|
+
maxRecords: 'number',
|
|
34
923
|
startTime: 'string',
|
|
924
|
+
trajectory: GetContextStoreResponseBodyConfigSourceTrajectory,
|
|
925
|
+
type: 'string',
|
|
926
|
+
versionPolicy: GetContextStoreResponseBodyConfigSourceVersionPolicy,
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
validate() {
|
|
931
|
+
if(this.binding) {
|
|
932
|
+
$dara.Model.validateMap(this.binding);
|
|
933
|
+
}
|
|
934
|
+
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
935
|
+
(this.dataset as any).validate();
|
|
936
|
+
}
|
|
937
|
+
if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
|
|
938
|
+
(this.trajectory as any).validate();
|
|
939
|
+
}
|
|
940
|
+
if(this.versionPolicy && typeof (this.versionPolicy as any).validate === 'function') {
|
|
941
|
+
(this.versionPolicy as any).validate();
|
|
942
|
+
}
|
|
943
|
+
super.validate();
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
constructor(map?: { [key: string]: any }) {
|
|
947
|
+
super(map);
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
952
|
+
/**
|
|
953
|
+
* @remarks
|
|
954
|
+
* The processing progress. For memory trajectory, it includes processTimeNs and watermarkMs. For dataset, it includes seq. For manual, it is empty. For experience Dataset follow mode, seq uses an exact int64 decimal string.
|
|
955
|
+
*/
|
|
956
|
+
checkpoint?: { [key: string]: any };
|
|
957
|
+
/**
|
|
958
|
+
* @remarks
|
|
959
|
+
* The current scheduled sequence window for experience Dataset follow mode, including after, until, and runId. All sequences are decimal strings. Failures do not advance the submitted checkpoint.
|
|
960
|
+
*/
|
|
961
|
+
currentWindow?: { [key: string]: string };
|
|
962
|
+
/**
|
|
963
|
+
* @remarks
|
|
964
|
+
* The desensitized latest error message. It is empty when the status is normal.
|
|
965
|
+
*
|
|
966
|
+
* @example
|
|
967
|
+
* Timeout reading the data source
|
|
968
|
+
*/
|
|
969
|
+
lastError?: string;
|
|
970
|
+
/**
|
|
971
|
+
* @remarks
|
|
972
|
+
* The run ID of the last successful automatic application to the native experience store. This is for audit purposes only.
|
|
973
|
+
*
|
|
974
|
+
* @example
|
|
975
|
+
* opr-example
|
|
976
|
+
*/
|
|
977
|
+
lastRunId?: string;
|
|
978
|
+
/**
|
|
979
|
+
* @remarks
|
|
980
|
+
* The last window processing time in ISO 8601 UTC format.
|
|
981
|
+
*
|
|
982
|
+
* @example
|
|
983
|
+
* 2026-10-01T08:00:00Z
|
|
984
|
+
*/
|
|
985
|
+
lastWindowAt?: string;
|
|
986
|
+
/**
|
|
987
|
+
* @remarks
|
|
988
|
+
* The consecutive retry count.
|
|
989
|
+
*
|
|
990
|
+
* @example
|
|
991
|
+
* 0
|
|
992
|
+
*/
|
|
993
|
+
retryCount?: number;
|
|
994
|
+
/**
|
|
995
|
+
* @remarks
|
|
996
|
+
* The data source status. Valid values: Validating, Ready, Running, Retrying, Paused, SourceSchemaChanged, and Failed.
|
|
997
|
+
*
|
|
998
|
+
* @example
|
|
999
|
+
* Running
|
|
1000
|
+
*/
|
|
1001
|
+
state?: string;
|
|
1002
|
+
static names(): { [key: string]: string } {
|
|
1003
|
+
return {
|
|
1004
|
+
checkpoint: 'checkpoint',
|
|
1005
|
+
currentWindow: 'currentWindow',
|
|
1006
|
+
lastError: 'lastError',
|
|
1007
|
+
lastRunId: 'lastRunId',
|
|
1008
|
+
lastWindowAt: 'lastWindowAt',
|
|
1009
|
+
retryCount: 'retryCount',
|
|
1010
|
+
state: 'state',
|
|
1011
|
+
};
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
static types(): { [key: string]: any } {
|
|
1015
|
+
return {
|
|
1016
|
+
checkpoint: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1017
|
+
currentWindow: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1018
|
+
lastError: 'string',
|
|
1019
|
+
lastRunId: 'string',
|
|
1020
|
+
lastWindowAt: 'string',
|
|
1021
|
+
retryCount: 'number',
|
|
1022
|
+
state: 'string',
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
validate() {
|
|
1027
|
+
if(this.checkpoint) {
|
|
1028
|
+
$dara.Model.validateMap(this.checkpoint);
|
|
1029
|
+
}
|
|
1030
|
+
if(this.currentWindow) {
|
|
1031
|
+
$dara.Model.validateMap(this.currentWindow);
|
|
1032
|
+
}
|
|
1033
|
+
super.validate();
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
constructor(map?: { [key: string]: any }) {
|
|
1037
|
+
super(map);
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
|
|
1042
|
+
/**
|
|
1043
|
+
* @remarks
|
|
1044
|
+
* The allowed storage actions. The default is all: ADD, UPDATE, MERGE, and DELETE.
|
|
1045
|
+
*
|
|
1046
|
+
* @example
|
|
1047
|
+
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
1048
|
+
*/
|
|
1049
|
+
allowedActions?: string[];
|
|
1050
|
+
/**
|
|
1051
|
+
* @remarks
|
|
1052
|
+
* Specifies whether to deduplicate in event mode. The default is true.
|
|
1053
|
+
*
|
|
1054
|
+
* @example
|
|
1055
|
+
* true
|
|
1056
|
+
*/
|
|
1057
|
+
dedupe?: boolean;
|
|
1058
|
+
/**
|
|
1059
|
+
* @remarks
|
|
1060
|
+
* The human edit protection. The default is true. When enabled, automatic extraction does not overwrite manually modified memories.
|
|
1061
|
+
*
|
|
1062
|
+
* @example
|
|
1063
|
+
* true
|
|
1064
|
+
*/
|
|
1065
|
+
humanEditProtection?: boolean;
|
|
1066
|
+
/**
|
|
1067
|
+
* @remarks
|
|
1068
|
+
* The upsert merge key. Valid values: factKey, semantic, and both. The default is semantic.
|
|
1069
|
+
*
|
|
1070
|
+
* @example
|
|
1071
|
+
* semantic
|
|
1072
|
+
*/
|
|
1073
|
+
mergeKey?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* @remarks
|
|
1076
|
+
* The storage mode. Valid values: event for event appending, and upsert for merge updating. The default is upsert.
|
|
1077
|
+
*
|
|
1078
|
+
* @example
|
|
1079
|
+
* upsert
|
|
1080
|
+
*/
|
|
1081
|
+
mode?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* @remarks
|
|
1084
|
+
* The semantic merge similarity threshold. Valid values: 0 to 1. The default is 0.4.
|
|
1085
|
+
*
|
|
1086
|
+
* @example
|
|
1087
|
+
* 0.4
|
|
1088
|
+
*/
|
|
1089
|
+
similarityThreshold?: number;
|
|
1090
|
+
/**
|
|
1091
|
+
* @remarks
|
|
1092
|
+
* The memory expiration days. A value of 0 indicates no expiration.
|
|
1093
|
+
*
|
|
1094
|
+
* @example
|
|
1095
|
+
* 0
|
|
1096
|
+
*/
|
|
1097
|
+
ttlDays?: number;
|
|
1098
|
+
static names(): { [key: string]: string } {
|
|
1099
|
+
return {
|
|
1100
|
+
allowedActions: 'allowedActions',
|
|
1101
|
+
dedupe: 'dedupe',
|
|
1102
|
+
humanEditProtection: 'humanEditProtection',
|
|
1103
|
+
mergeKey: 'mergeKey',
|
|
1104
|
+
mode: 'mode',
|
|
1105
|
+
similarityThreshold: 'similarityThreshold',
|
|
1106
|
+
ttlDays: 'ttlDays',
|
|
1107
|
+
};
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
static types(): { [key: string]: any } {
|
|
1111
|
+
return {
|
|
1112
|
+
allowedActions: { 'type': 'array', 'itemType': 'string' },
|
|
1113
|
+
dedupe: 'boolean',
|
|
1114
|
+
humanEditProtection: 'boolean',
|
|
1115
|
+
mergeKey: 'string',
|
|
1116
|
+
mode: 'string',
|
|
1117
|
+
similarityThreshold: 'number',
|
|
1118
|
+
ttlDays: 'number',
|
|
35
1119
|
};
|
|
36
1120
|
}
|
|
37
1121
|
|
|
38
1122
|
validate() {
|
|
1123
|
+
if(Array.isArray(this.allowedActions)) {
|
|
1124
|
+
$dara.Model.validateArray(this.allowedActions);
|
|
1125
|
+
}
|
|
39
1126
|
super.validate();
|
|
40
1127
|
}
|
|
41
1128
|
|
|
@@ -47,7 +1134,22 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
|
47
1134
|
export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
48
1135
|
/**
|
|
49
1136
|
* @remarks
|
|
50
|
-
* The
|
|
1137
|
+
* The audit configuration.
|
|
1138
|
+
*/
|
|
1139
|
+
audit?: GetContextStoreResponseBodyConfigAudit;
|
|
1140
|
+
/**
|
|
1141
|
+
* @remarks
|
|
1142
|
+
* The extraction policy for the memory type.
|
|
1143
|
+
*/
|
|
1144
|
+
extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
|
|
1145
|
+
/**
|
|
1146
|
+
* @remarks
|
|
1147
|
+
* The system-assigned coordinates of the event Logstore for the memory type, located in the Simple Log Service (SLS) project bound to the AgentSpace.
|
|
1148
|
+
*/
|
|
1149
|
+
innerSource?: GetContextStoreResponseBodyConfigInnerSource;
|
|
1150
|
+
/**
|
|
1151
|
+
* @remarks
|
|
1152
|
+
* The metadata field mapping, where the key is the business field and the value is the storage field.
|
|
51
1153
|
*
|
|
52
1154
|
* @example
|
|
53
1155
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -55,7 +1157,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
55
1157
|
metadataField?: { [key: string]: string };
|
|
56
1158
|
/**
|
|
57
1159
|
* @remarks
|
|
58
|
-
* The experience mining
|
|
1160
|
+
* The interval for experience mining. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d.
|
|
59
1161
|
*
|
|
60
1162
|
* @example
|
|
61
1163
|
* 1d
|
|
@@ -63,7 +1165,30 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
63
1165
|
miningInterval?: string;
|
|
64
1166
|
/**
|
|
65
1167
|
* @remarks
|
|
66
|
-
* The
|
|
1168
|
+
* The name of the internal running task associated with the server. Continuous libraries use this for read-only viewing of consumption records, while manual libraries can run limited mining. This is not inferred by the client and cannot replace the ingestion and retrieval criteria of the native experience library.
|
|
1169
|
+
*
|
|
1170
|
+
* @example
|
|
1171
|
+
* experience-review-library
|
|
1172
|
+
*/
|
|
1173
|
+
miningTaskName?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* @remarks
|
|
1176
|
+
* The coordinates of observability resources for the memory type.
|
|
1177
|
+
*/
|
|
1178
|
+
observability?: GetContextStoreResponseBodyConfigObservability;
|
|
1179
|
+
/**
|
|
1180
|
+
* @remarks
|
|
1181
|
+
* The location of the memory output dataset for the memory type.
|
|
1182
|
+
*/
|
|
1183
|
+
outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
|
|
1184
|
+
/**
|
|
1185
|
+
* @remarks
|
|
1186
|
+
* The scope constraint policy.
|
|
1187
|
+
*/
|
|
1188
|
+
scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
|
|
1189
|
+
/**
|
|
1190
|
+
* @remarks
|
|
1191
|
+
* The list of service names, which are used together with source.agentSpace to locate the trace data source. This parameter cannot be modified in the current phase.
|
|
67
1192
|
*
|
|
68
1193
|
* @example
|
|
69
1194
|
* ["order-service","payment-service"]
|
|
@@ -71,37 +1196,99 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
71
1196
|
serviceNames?: string[];
|
|
72
1197
|
/**
|
|
73
1198
|
* @remarks
|
|
74
|
-
* The datasource config
|
|
1199
|
+
* The datasource config provided by the user, which serves only as the root identity for the data source.
|
|
75
1200
|
*/
|
|
76
1201
|
source?: GetContextStoreResponseBodyConfigSource;
|
|
1202
|
+
/**
|
|
1203
|
+
* @remarks
|
|
1204
|
+
* The data source running status for memory type and experience Dataset follow mode. The experience store submits a checkpoint only after successful publishing and automatic application. Pausing and restarting retain the checkpoint.
|
|
1205
|
+
*/
|
|
1206
|
+
sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
|
|
1207
|
+
/**
|
|
1208
|
+
* @remarks
|
|
1209
|
+
* The storage policy for the memory type.
|
|
1210
|
+
*/
|
|
1211
|
+
storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
|
|
1212
|
+
/**
|
|
1213
|
+
* @remarks
|
|
1214
|
+
* The current effective strategy version number for the memory type.
|
|
1215
|
+
*
|
|
1216
|
+
* @example
|
|
1217
|
+
* 1
|
|
1218
|
+
*/
|
|
1219
|
+
strategyVersion?: number;
|
|
77
1220
|
static names(): { [key: string]: string } {
|
|
78
1221
|
return {
|
|
1222
|
+
audit: 'audit',
|
|
1223
|
+
extractionPolicy: 'extractionPolicy',
|
|
1224
|
+
innerSource: 'innerSource',
|
|
79
1225
|
metadataField: 'metadataField',
|
|
80
1226
|
miningInterval: 'miningInterval',
|
|
1227
|
+
miningTaskName: 'miningTaskName',
|
|
1228
|
+
observability: 'observability',
|
|
1229
|
+
outputDataset: 'outputDataset',
|
|
1230
|
+
scopePolicy: 'scopePolicy',
|
|
81
1231
|
serviceNames: 'serviceNames',
|
|
82
1232
|
source: 'source',
|
|
1233
|
+
sourceStatus: 'sourceStatus',
|
|
1234
|
+
storagePolicy: 'storagePolicy',
|
|
1235
|
+
strategyVersion: 'strategyVersion',
|
|
83
1236
|
};
|
|
84
1237
|
}
|
|
85
1238
|
|
|
86
1239
|
static types(): { [key: string]: any } {
|
|
87
1240
|
return {
|
|
1241
|
+
audit: GetContextStoreResponseBodyConfigAudit,
|
|
1242
|
+
extractionPolicy: GetContextStoreResponseBodyConfigExtractionPolicy,
|
|
1243
|
+
innerSource: GetContextStoreResponseBodyConfigInnerSource,
|
|
88
1244
|
metadataField: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
89
1245
|
miningInterval: 'string',
|
|
1246
|
+
miningTaskName: 'string',
|
|
1247
|
+
observability: GetContextStoreResponseBodyConfigObservability,
|
|
1248
|
+
outputDataset: GetContextStoreResponseBodyConfigOutputDataset,
|
|
1249
|
+
scopePolicy: GetContextStoreResponseBodyConfigScopePolicy,
|
|
90
1250
|
serviceNames: { 'type': 'array', 'itemType': 'string' },
|
|
91
1251
|
source: GetContextStoreResponseBodyConfigSource,
|
|
1252
|
+
sourceStatus: GetContextStoreResponseBodyConfigSourceStatus,
|
|
1253
|
+
storagePolicy: GetContextStoreResponseBodyConfigStoragePolicy,
|
|
1254
|
+
strategyVersion: 'number',
|
|
92
1255
|
};
|
|
93
1256
|
}
|
|
94
1257
|
|
|
95
1258
|
validate() {
|
|
1259
|
+
if(this.audit && typeof (this.audit as any).validate === 'function') {
|
|
1260
|
+
(this.audit as any).validate();
|
|
1261
|
+
}
|
|
1262
|
+
if(this.extractionPolicy && typeof (this.extractionPolicy as any).validate === 'function') {
|
|
1263
|
+
(this.extractionPolicy as any).validate();
|
|
1264
|
+
}
|
|
1265
|
+
if(this.innerSource && typeof (this.innerSource as any).validate === 'function') {
|
|
1266
|
+
(this.innerSource as any).validate();
|
|
1267
|
+
}
|
|
96
1268
|
if(this.metadataField) {
|
|
97
1269
|
$dara.Model.validateMap(this.metadataField);
|
|
98
1270
|
}
|
|
1271
|
+
if(this.observability && typeof (this.observability as any).validate === 'function') {
|
|
1272
|
+
(this.observability as any).validate();
|
|
1273
|
+
}
|
|
1274
|
+
if(this.outputDataset && typeof (this.outputDataset as any).validate === 'function') {
|
|
1275
|
+
(this.outputDataset as any).validate();
|
|
1276
|
+
}
|
|
1277
|
+
if(this.scopePolicy && typeof (this.scopePolicy as any).validate === 'function') {
|
|
1278
|
+
(this.scopePolicy as any).validate();
|
|
1279
|
+
}
|
|
99
1280
|
if(Array.isArray(this.serviceNames)) {
|
|
100
1281
|
$dara.Model.validateArray(this.serviceNames);
|
|
101
1282
|
}
|
|
102
1283
|
if(this.source && typeof (this.source as any).validate === 'function') {
|
|
103
1284
|
(this.source as any).validate();
|
|
104
1285
|
}
|
|
1286
|
+
if(this.sourceStatus && typeof (this.sourceStatus as any).validate === 'function') {
|
|
1287
|
+
(this.sourceStatus as any).validate();
|
|
1288
|
+
}
|
|
1289
|
+
if(this.storagePolicy && typeof (this.storagePolicy as any).validate === 'function') {
|
|
1290
|
+
(this.storagePolicy as any).validate();
|
|
1291
|
+
}
|
|
105
1292
|
super.validate();
|
|
106
1293
|
}
|
|
107
1294
|
|
|
@@ -113,7 +1300,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
113
1300
|
export class GetContextStoreResponseBody extends $dara.Model {
|
|
114
1301
|
/**
|
|
115
1302
|
* @remarks
|
|
116
|
-
* The name of the AgentSpace
|
|
1303
|
+
* The name of the associated AgentSpace.
|
|
117
1304
|
*
|
|
118
1305
|
* @example
|
|
119
1306
|
* my-agent-space
|
|
@@ -121,7 +1308,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
121
1308
|
agentSpace?: string;
|
|
122
1309
|
/**
|
|
123
1310
|
* @remarks
|
|
124
|
-
* The
|
|
1311
|
+
* The context library configuration.
|
|
125
1312
|
*/
|
|
126
1313
|
config?: GetContextStoreResponseBodyConfig;
|
|
127
1314
|
/**
|
|
@@ -134,7 +1321,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
134
1321
|
contextStoreName?: string;
|
|
135
1322
|
/**
|
|
136
1323
|
* @remarks
|
|
137
|
-
* The
|
|
1324
|
+
* The context store type, such as experience for experience store and memory for memory store.
|
|
138
1325
|
*
|
|
139
1326
|
* @example
|
|
140
1327
|
* experience
|
|
@@ -142,7 +1329,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
142
1329
|
contextType?: string;
|
|
143
1330
|
/**
|
|
144
1331
|
* @remarks
|
|
145
|
-
* The
|
|
1332
|
+
* The context store creation time in ISO 8601 UTC format.
|
|
146
1333
|
*
|
|
147
1334
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
148
1335
|
*
|
|
@@ -152,10 +1339,10 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
152
1339
|
createTime?: string;
|
|
153
1340
|
/**
|
|
154
1341
|
* @remarks
|
|
155
|
-
* The
|
|
1342
|
+
* The context store description.
|
|
156
1343
|
*
|
|
157
1344
|
* @example
|
|
158
|
-
*
|
|
1345
|
+
* My context store
|
|
159
1346
|
*/
|
|
160
1347
|
description?: string;
|
|
161
1348
|
/**
|
|
@@ -168,7 +1355,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
168
1355
|
regionId?: string;
|
|
169
1356
|
/**
|
|
170
1357
|
* @remarks
|
|
171
|
-
* The request ID
|
|
1358
|
+
* The request ID used to locate the request during troubleshooting.
|
|
172
1359
|
*
|
|
173
1360
|
* @example
|
|
174
1361
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -176,10 +1363,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
176
1363
|
requestId?: string;
|
|
177
1364
|
/**
|
|
178
1365
|
* @remarks
|
|
179
|
-
* The
|
|
180
|
-
* - ACTIVE
|
|
181
|
-
* - INITIALIZING
|
|
182
|
-
* - FAILED
|
|
1366
|
+
* The context store status. Valid values: ACTIVE, INITIALIZING, and FAILED.
|
|
183
1367
|
*
|
|
184
1368
|
* @example
|
|
185
1369
|
* ACTIVE
|
|
@@ -187,7 +1371,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
|
|
|
187
1371
|
status?: string;
|
|
188
1372
|
/**
|
|
189
1373
|
* @remarks
|
|
190
|
-
* The time
|
|
1374
|
+
* The last update time of the context store in ISO 8601 UTC format.
|
|
191
1375
|
*
|
|
192
1376
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
193
1377
|
*
|