@alicloud/agentloop20260520 2.3.2 → 2.3.4
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 +26 -18
- package/dist/client.js +29 -29
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEvaluationTaskRequest.d.ts +11 -11
- package/dist/models/CreateExperimentPlanRequest.d.ts +10 -6
- package/dist/models/CreateExperimentPlanRequest.js.map +1 -1
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +2 -2
- package/dist/models/CreatePipelineRequest.d.ts +251 -9
- package/dist/models/CreatePipelineRequest.js +203 -1
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/Evaluator.d.ts +11 -3
- package/dist/models/Evaluator.js +6 -0
- package/dist/models/Evaluator.js.map +1 -1
- package/dist/models/EvaluatorVariableExtractorMappingValue.d.ts +37 -0
- package/dist/models/EvaluatorVariableExtractorMappingValue.js +62 -0
- package/dist/models/EvaluatorVariableExtractorMappingValue.js.map +1 -0
- package/dist/models/ExecuteQueryRequest.d.ts +100 -0
- package/dist/models/ExecuteQueryRequest.js +51 -1
- package/dist/models/ExecuteQueryRequest.js.map +1 -1
- package/dist/models/ExecuteQueryResponseBody.d.ts +13 -1
- package/dist/models/ExecuteQueryResponseBody.js.map +1 -1
- package/dist/models/GetEvaluationTaskResponseBody.d.ts +3 -3
- package/dist/models/GetExperimentPlanResponseBody.d.ts +8 -4
- package/dist/models/GetExperimentPlanResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +358 -4
- package/dist/models/GetPipelineResponseBody.js +203 -1
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListExperimentRunsRequest.d.ts +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +68 -2
- package/dist/models/PreviewPipelineRequest.js +53 -1
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +6 -6
- package/dist/models/RunPipelineRequest.d.ts +16 -0
- package/dist/models/RunPipelineRequest.js.map +1 -1
- package/dist/models/RunPipelineResponseBody.d.ts +15 -0
- package/dist/models/RunPipelineResponseBody.js.map +1 -1
- package/dist/models/UpdateEvaluationTaskRequest.d.ts +5 -5
- package/dist/models/UpdateExperimentPlanRequest.d.ts +10 -6
- package/dist/models/UpdateExperimentPlanRequest.js.map +1 -1
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +3 -3
- package/dist/models/UpdatePipelineRequest.d.ts +267 -13
- package/dist/models/UpdatePipelineRequest.js +205 -1
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +89 -30
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +30 -29
- package/src/models/CreateEvaluationTaskRequest.ts +11 -11
- package/src/models/CreateExperimentPlanRequest.ts +10 -6
- package/src/models/CreateExperimentPlanResponseBody.ts +2 -2
- package/src/models/CreatePipelineRequest.ts +381 -9
- package/src/models/Evaluator.ts +14 -3
- package/src/models/EvaluatorVariableExtractorMappingValue.ts +54 -0
- package/src/models/ExecuteQueryRequest.ts +132 -0
- package/src/models/ExecuteQueryResponseBody.ts +13 -1
- package/src/models/GetEvaluationTaskResponseBody.ts +3 -3
- package/src/models/GetExperimentPlanResponseBody.ts +8 -4
- package/src/models/GetPipelineResponseBody.ts +488 -4
- package/src/models/ListExperimentRunsRequest.ts +1 -1
- package/src/models/PreviewPipelineRequest.ts +102 -2
- package/src/models/PreviewPipelineResponseBody.ts +6 -6
- package/src/models/RunPipelineRequest.ts +16 -0
- package/src/models/RunPipelineResponseBody.ts +15 -0
- package/src/models/UpdateEvaluationTaskRequest.ts +5 -5
- package/src/models/UpdateExperimentPlanRequest.ts +10 -6
- package/src/models/UpdateExperimentPlanResponseBody.ts +3 -3
- package/src/models/UpdatePipelineRequest.ts +399 -13
- package/src/models/model.ts +29 -0
|
@@ -14,7 +14,7 @@ export declare class UpdateEvaluationTaskRequest extends $dara.Model {
|
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The filter
|
|
17
|
+
* The filter conditions for evaluation data. JSON objects and JSON strings are supported.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* {"query":"serviceName=\\"checkout-service\\" AND status=\\"OK\\"","maxRecords":10,"samplingRate":50}
|
|
@@ -25,7 +25,7 @@ export declare class UpdateEvaluationTaskRequest extends $dara.Model {
|
|
|
25
25
|
* The description of the evaluation task.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
|
-
*
|
|
28
|
+
* Updated trace link task completion evaluation
|
|
29
29
|
*/
|
|
30
30
|
description?: string;
|
|
31
31
|
/**
|
|
@@ -38,12 +38,12 @@ export declare class UpdateEvaluationTaskRequest extends $dara.Model {
|
|
|
38
38
|
evaluators?: Evaluator[];
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The new task execution strategies.
|
|
41
|
+
* The new task execution strategies. JSON objects and JSON strings are supported. If the task is in the `Completed`, `Terminated`, or `Failed` state and the new strategy enables backfill or continuous mode, the backend restores the task to the `Pending` state and triggers orchestration.
|
|
42
42
|
*/
|
|
43
43
|
runStrategies?: RunStrategies;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The task status. Currently the backend only allows users to
|
|
46
|
+
* The task status. Currently, the backend only allows users to manually set this to `Terminated`. Other statuses are managed by the system.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* Terminated
|
|
@@ -61,7 +61,7 @@ export declare class UpdateEvaluationTaskRequest extends $dara.Model {
|
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency
|
|
64
|
+
* The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -4,7 +4,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
|
|
|
4
4
|
export declare class UpdateExperimentPlanRequest extends $dara.Model {
|
|
5
5
|
/**
|
|
6
6
|
* @remarks
|
|
7
|
-
* The associated dataset
|
|
7
|
+
* The ID of the associated dataset.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* rca_benckmark_eval
|
|
@@ -23,12 +23,12 @@ export declare class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
23
23
|
* The description.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
|
-
* rca_benchmark_eval_experiment offline experiment
|
|
26
|
+
* rca_benchmark_eval_experiment offline experiment
|
|
27
27
|
*/
|
|
28
28
|
description?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The
|
|
31
|
+
* The list of evaluators. Omitting this field indicates no modification. Passing an empty array clears the list.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* [{"evaluatorRef": "Builtin.agent_task_completion"}]
|
|
@@ -44,7 +44,7 @@ export declare class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
44
44
|
experimentType?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The experiment
|
|
47
|
+
* The list of experiment configurations. When specified, the entire list is replaced. The number of configurations must be 1 to 5.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* [{"label": "A", "name": "baseline", "modelName": "qwen-max"}]
|
|
@@ -55,15 +55,19 @@ export declare class UpdateExperimentPlanRequest extends $dara.Model {
|
|
|
55
55
|
* Optional.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
-
* {"question": "How do I
|
|
58
|
+
* {"question": "How do I request a refund?"}
|
|
59
59
|
*/
|
|
60
60
|
input?: {
|
|
61
61
|
[key: string]: any;
|
|
62
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The name of the associated data processing pipeline. This parameter is optional. If not specified, the value is not updated. If an empty character string is specified, the association is dissociated. After association, when an experiment under this plan finishes execution and writes results to the experiment result Logstore, the system filters by the traceId of the experiment trace and calls PreviewPipeline. The pipeline-processed results are then written together.
|
|
66
|
+
*/
|
|
63
67
|
pipelineName?: string;
|
|
64
68
|
/**
|
|
65
69
|
* @remarks
|
|
66
|
-
* The experiment plan
|
|
70
|
+
* The name of the experiment plan.
|
|
67
71
|
*
|
|
68
72
|
* @example
|
|
69
73
|
* rca_benchmark_eval_experiment
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateExperimentPlanRequest.js","sourceRoot":"","sources":["../../src/models/UpdateExperimentPlanRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2CAAwC;AACxC,yDAAsD;AAGtD,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateExperimentPlanRequest.js","sourceRoot":"","sources":["../../src/models/UpdateExperimentPlanRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2CAAwC;AACxC,yDAAsD;AAGtD,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAsF1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,gBAAgB;YAChC,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,cAAc,EAAE,QAAQ;YACxB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,qBAAS,EAAE;YACtD,cAAc,EAAE,QAAQ;YACxB,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,mCAAgB,EAAE;YAC9D,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YACjE,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SAC3D,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,IAAG,IAAI,CAAC,KAAK,EAAE,CAAC;YACd,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;YACvC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAClD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzID,kEAyIC"}
|
|
@@ -5,12 +5,12 @@ export declare class UpdateExperimentPlanResponseBody extends $dara.Model {
|
|
|
5
5
|
* The prompt message.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
|
-
* Experiment plan updated successfully
|
|
8
|
+
* Experiment plan updated successfully
|
|
9
9
|
*/
|
|
10
10
|
message?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The experiment plan
|
|
13
|
+
* The ID of the experiment plan.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* exp-plan-e95bff54685a4ae29ff3a834c1008a71
|
|
@@ -26,7 +26,7 @@ export declare class UpdateExperimentPlanResponseBody extends $dara.Model {
|
|
|
26
26
|
requestId?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The update result.
|
|
29
|
+
* The update result. A value of updated indicates success.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* updated
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The data processing
|
|
5
|
+
* The start time for data processing, in UNIX millisecond timestamp.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 1735660800000
|
|
@@ -10,7 +10,7 @@ export declare class UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Mod
|
|
|
10
10
|
fromTime?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The data processing
|
|
13
|
+
* The end time for data processing, in UNIX millisecond timestamp.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 1735747200000
|
|
@@ -38,7 +38,7 @@ export declare class UpdatePipelineRequestExecutePolicyScheduled extends $dara.M
|
|
|
38
38
|
fromTime?: number;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The scheduling interval
|
|
41
|
+
* The scheduling interval. For example, 1h.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* 1h
|
|
@@ -58,7 +58,7 @@ export declare class UpdatePipelineRequestExecutePolicyScheduled extends $dara.M
|
|
|
58
58
|
export declare class UpdatePipelineRequestExecutePolicy extends $dara.Model {
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The scheduling mode
|
|
61
|
+
* The scheduling mode. For example, Scheduled (timed scheduling) or RunOnce (one-time execution).
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* Scheduled
|
|
@@ -96,7 +96,7 @@ export declare class UpdatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
96
96
|
id?: string;
|
|
97
97
|
/**
|
|
98
98
|
* @remarks
|
|
99
|
-
* The node parameters in key-value format. The parameters vary
|
|
99
|
+
* The node parameters in key-value format. The parameters vary depending on the node type.
|
|
100
100
|
*/
|
|
101
101
|
parameters?: {
|
|
102
102
|
[key: string]: any;
|
|
@@ -137,8 +137,180 @@ export declare class UpdatePipelineRequestPipeline extends $dara.Model {
|
|
|
137
137
|
[key: string]: any;
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
+
export declare class UpdatePipelineRequestSinkConditionDefaultSinkDataset extends $dara.Model {
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* The name of the AgentSpace to which the default destination dataset belongs.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* my-agent-space
|
|
147
|
+
*/
|
|
148
|
+
agentSpace?: string;
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* The name of the default destination dataset.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* other-result
|
|
155
|
+
*/
|
|
156
|
+
dataset?: string;
|
|
157
|
+
static names(): {
|
|
158
|
+
[key: string]: string;
|
|
159
|
+
};
|
|
160
|
+
static types(): {
|
|
161
|
+
[key: string]: any;
|
|
162
|
+
};
|
|
163
|
+
validate(): void;
|
|
164
|
+
constructor(map?: {
|
|
165
|
+
[key: string]: any;
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
export declare class UpdatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
|
|
169
|
+
/**
|
|
170
|
+
* @remarks
|
|
171
|
+
* The default destination dataset.
|
|
172
|
+
*/
|
|
173
|
+
dataset?: UpdatePipelineRequestSinkConditionDefaultSinkDataset;
|
|
174
|
+
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* The default destination type. Currently, only dataset is supported.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* dataset
|
|
180
|
+
*/
|
|
181
|
+
type?: string;
|
|
182
|
+
static names(): {
|
|
183
|
+
[key: string]: string;
|
|
184
|
+
};
|
|
185
|
+
static types(): {
|
|
186
|
+
[key: string]: any;
|
|
187
|
+
};
|
|
188
|
+
validate(): void;
|
|
189
|
+
constructor(map?: {
|
|
190
|
+
[key: string]: any;
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
export declare class UpdatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.Model {
|
|
194
|
+
/**
|
|
195
|
+
* @remarks
|
|
196
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* my-agent-space
|
|
200
|
+
*/
|
|
201
|
+
agentSpace?: string;
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The name of the destination dataset.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* refund-result
|
|
208
|
+
*/
|
|
209
|
+
dataset?: string;
|
|
210
|
+
static names(): {
|
|
211
|
+
[key: string]: string;
|
|
212
|
+
};
|
|
213
|
+
static types(): {
|
|
214
|
+
[key: string]: any;
|
|
215
|
+
};
|
|
216
|
+
validate(): void;
|
|
217
|
+
constructor(map?: {
|
|
218
|
+
[key: string]: any;
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
export declare class UpdatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
222
|
+
/**
|
|
223
|
+
* @remarks
|
|
224
|
+
* The destination dataset for the route.
|
|
225
|
+
*/
|
|
226
|
+
dataset?: UpdatePipelineRequestSinkConditionRoutesSinkDataset;
|
|
227
|
+
/**
|
|
228
|
+
* @remarks
|
|
229
|
+
* The route destination type. Currently, only dataset is supported.
|
|
230
|
+
*
|
|
231
|
+
* @example
|
|
232
|
+
* dataset
|
|
233
|
+
*/
|
|
234
|
+
type?: string;
|
|
235
|
+
static names(): {
|
|
236
|
+
[key: string]: string;
|
|
237
|
+
};
|
|
238
|
+
static types(): {
|
|
239
|
+
[key: string]: any;
|
|
240
|
+
};
|
|
241
|
+
validate(): void;
|
|
242
|
+
constructor(map?: {
|
|
243
|
+
[key: string]: any;
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
export declare class UpdatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
247
|
+
/**
|
|
248
|
+
* @remarks
|
|
249
|
+
* The route expression in SPL. Only where, project, and extend are supported.
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* * | where intent = \\"refund\\"
|
|
253
|
+
*/
|
|
254
|
+
expression?: string;
|
|
255
|
+
/**
|
|
256
|
+
* @remarks
|
|
257
|
+
* The route ID.
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* refund
|
|
261
|
+
*/
|
|
262
|
+
id?: string;
|
|
263
|
+
/**
|
|
264
|
+
* @remarks
|
|
265
|
+
* The write destination for the route.
|
|
266
|
+
*/
|
|
267
|
+
sink?: UpdatePipelineRequestSinkConditionRoutesSink;
|
|
268
|
+
static names(): {
|
|
269
|
+
[key: string]: string;
|
|
270
|
+
};
|
|
271
|
+
static types(): {
|
|
272
|
+
[key: string]: any;
|
|
273
|
+
};
|
|
274
|
+
validate(): void;
|
|
275
|
+
constructor(map?: {
|
|
276
|
+
[key: string]: any;
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
export declare class UpdatePipelineRequestSinkCondition extends $dara.Model {
|
|
280
|
+
/**
|
|
281
|
+
* @remarks
|
|
282
|
+
* The default write destination used when no conditional route is matched.
|
|
283
|
+
*/
|
|
284
|
+
defaultSink?: UpdatePipelineRequestSinkConditionDefaultSink;
|
|
285
|
+
/**
|
|
286
|
+
* @remarks
|
|
287
|
+
* The route matching mode. Currently, only all is supported.
|
|
288
|
+
*
|
|
289
|
+
* @example
|
|
290
|
+
* all
|
|
291
|
+
*/
|
|
292
|
+
matchMode?: string;
|
|
293
|
+
/**
|
|
294
|
+
* @remarks
|
|
295
|
+
* The list of conditional routes.
|
|
296
|
+
*/
|
|
297
|
+
routes?: UpdatePipelineRequestSinkConditionRoutes[];
|
|
298
|
+
static names(): {
|
|
299
|
+
[key: string]: string;
|
|
300
|
+
};
|
|
301
|
+
static types(): {
|
|
302
|
+
[key: string]: any;
|
|
303
|
+
};
|
|
304
|
+
validate(): void;
|
|
305
|
+
constructor(map?: {
|
|
306
|
+
[key: string]: any;
|
|
307
|
+
});
|
|
308
|
+
}
|
|
140
309
|
export declare class UpdatePipelineRequestSinkDataset extends $dara.Model {
|
|
141
310
|
/**
|
|
311
|
+
* @remarks
|
|
312
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
313
|
+
*
|
|
142
314
|
* @example
|
|
143
315
|
* my-agent-space
|
|
144
316
|
*/
|
|
@@ -165,15 +337,76 @@ export declare class UpdatePipelineRequestSinkDataset extends $dara.Model {
|
|
|
165
337
|
export declare class UpdatePipelineRequestSink extends $dara.Model {
|
|
166
338
|
/**
|
|
167
339
|
* @remarks
|
|
168
|
-
* The
|
|
340
|
+
* The conditional routing configuration. This parameter takes effect only when sink.type is set to condition.
|
|
341
|
+
*/
|
|
342
|
+
condition?: UpdatePipelineRequestSinkCondition;
|
|
343
|
+
/**
|
|
344
|
+
* @remarks
|
|
345
|
+
* The destination dataset configuration for the dataset sink. This parameter takes effect only when sink.type is set to dataset.
|
|
169
346
|
*/
|
|
170
347
|
dataset?: UpdatePipelineRequestSinkDataset;
|
|
171
348
|
/**
|
|
172
349
|
* @remarks
|
|
173
|
-
* The sink type
|
|
350
|
+
* The sink type. Valid values: dataset and condition.
|
|
174
351
|
*
|
|
175
352
|
* @example
|
|
176
|
-
*
|
|
353
|
+
* condition
|
|
354
|
+
*/
|
|
355
|
+
type?: string;
|
|
356
|
+
static names(): {
|
|
357
|
+
[key: string]: string;
|
|
358
|
+
};
|
|
359
|
+
static types(): {
|
|
360
|
+
[key: string]: any;
|
|
361
|
+
};
|
|
362
|
+
validate(): void;
|
|
363
|
+
constructor(map?: {
|
|
364
|
+
[key: string]: any;
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
export declare class UpdatePipelineRequestSourceDataset extends $dara.Model {
|
|
368
|
+
/**
|
|
369
|
+
* @remarks
|
|
370
|
+
* The name of the source dataset.
|
|
371
|
+
*
|
|
372
|
+
* @example
|
|
373
|
+
* my-dataset
|
|
374
|
+
*/
|
|
375
|
+
dataset?: string;
|
|
376
|
+
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The filter condition for the dataset data.
|
|
379
|
+
*
|
|
380
|
+
* @example
|
|
381
|
+
* status = \\"pending\\"
|
|
382
|
+
*/
|
|
383
|
+
filter?: string;
|
|
384
|
+
static names(): {
|
|
385
|
+
[key: string]: string;
|
|
386
|
+
};
|
|
387
|
+
static types(): {
|
|
388
|
+
[key: string]: any;
|
|
389
|
+
};
|
|
390
|
+
validate(): void;
|
|
391
|
+
constructor(map?: {
|
|
392
|
+
[key: string]: any;
|
|
393
|
+
});
|
|
394
|
+
}
|
|
395
|
+
export declare class UpdatePipelineRequestSourceInputFields extends $dara.Model {
|
|
396
|
+
/**
|
|
397
|
+
* @remarks
|
|
398
|
+
* The field name.
|
|
399
|
+
*
|
|
400
|
+
* @example
|
|
401
|
+
* question
|
|
402
|
+
*/
|
|
403
|
+
name?: string;
|
|
404
|
+
/**
|
|
405
|
+
* @remarks
|
|
406
|
+
* The field type. Valid values: text, long, double, and json.
|
|
407
|
+
*
|
|
408
|
+
* @example
|
|
409
|
+
* text
|
|
177
410
|
*/
|
|
178
411
|
type?: string;
|
|
179
412
|
static names(): {
|
|
@@ -196,6 +429,14 @@ export declare class UpdatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
196
429
|
* my-sls-logstore
|
|
197
430
|
*/
|
|
198
431
|
logstore?: string;
|
|
432
|
+
/**
|
|
433
|
+
* @remarks
|
|
434
|
+
* The name of the SLS project.
|
|
435
|
+
*
|
|
436
|
+
* @example
|
|
437
|
+
* my-sls-project
|
|
438
|
+
*/
|
|
439
|
+
project?: string;
|
|
199
440
|
/**
|
|
200
441
|
* @remarks
|
|
201
442
|
* The data filtered query statement in SLS query/analysis syntax.
|
|
@@ -216,6 +457,16 @@ export declare class UpdatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
216
457
|
});
|
|
217
458
|
}
|
|
218
459
|
export declare class UpdatePipelineRequestSource extends $dara.Model {
|
|
460
|
+
/**
|
|
461
|
+
* @remarks
|
|
462
|
+
* The dataset datasource config within the current AgentSpace.
|
|
463
|
+
*/
|
|
464
|
+
dataset?: UpdatePipelineRequestSourceDataset;
|
|
465
|
+
/**
|
|
466
|
+
* @remarks
|
|
467
|
+
* The input fields and their types. This parameter applies to all data source types.
|
|
468
|
+
*/
|
|
469
|
+
inputFields?: UpdatePipelineRequestSourceInputFields[];
|
|
219
470
|
/**
|
|
220
471
|
* @remarks
|
|
221
472
|
* The SLS Logstore datasource config.
|
|
@@ -223,10 +474,10 @@ export declare class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
223
474
|
logstore?: UpdatePipelineRequestSourceLogstore;
|
|
224
475
|
/**
|
|
225
476
|
* @remarks
|
|
226
|
-
* The data source type
|
|
477
|
+
* The data source type. Valid values: logstore and dataset.
|
|
227
478
|
*
|
|
228
479
|
* @example
|
|
229
|
-
*
|
|
480
|
+
* dataset
|
|
230
481
|
*/
|
|
231
482
|
type?: string;
|
|
232
483
|
static names(): {
|
|
@@ -246,12 +497,12 @@ export declare class UpdatePipelineRequest extends $dara.Model {
|
|
|
246
497
|
* The description of the pipeline, which helps users understand its purpose.
|
|
247
498
|
*
|
|
248
499
|
* @example
|
|
249
|
-
*
|
|
500
|
+
* My pipeline
|
|
250
501
|
*/
|
|
251
502
|
description?: string;
|
|
252
503
|
/**
|
|
253
504
|
* @remarks
|
|
254
|
-
* The
|
|
505
|
+
* The scheduling policy. If provided, the entire scheduling policy is overwritten.
|
|
255
506
|
*/
|
|
256
507
|
executePolicy?: UpdatePipelineRequestExecutePolicy;
|
|
257
508
|
/**
|
|
@@ -261,7 +512,7 @@ export declare class UpdatePipelineRequest extends $dara.Model {
|
|
|
261
512
|
pipeline?: UpdatePipelineRequestPipeline;
|
|
262
513
|
/**
|
|
263
514
|
* @remarks
|
|
264
|
-
* The pipeline sink (data write destination). If
|
|
515
|
+
* The pipeline sink (data write destination). If provided, the entire sink configuration is overwritten.
|
|
265
516
|
*/
|
|
266
517
|
sink?: UpdatePipelineRequestSink;
|
|
267
518
|
/**
|
|
@@ -270,6 +521,9 @@ export declare class UpdatePipelineRequest extends $dara.Model {
|
|
|
270
521
|
*/
|
|
271
522
|
source?: UpdatePipelineRequestSource;
|
|
272
523
|
/**
|
|
524
|
+
* @remarks
|
|
525
|
+
* The idempotency token. A unique string generated by the client to ensure the idempotency of the update operation.
|
|
526
|
+
*
|
|
273
527
|
* @example
|
|
274
528
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
275
529
|
*/
|