@alicloud/agentloop20260520 2.4.3 → 2.4.5
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 +14 -14
- package/dist/client.js +26 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentSpaceRequest.d.ts +11 -3
- package/dist/models/CreateAgentSpaceRequest.js +2 -0
- package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +69 -61
- package/dist/models/CreateContextStoreRequest.js +2 -0
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +2 -2
- package/dist/models/CreateExperimentPlanRequest.d.ts +9 -9
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +3 -3
- package/dist/models/CreatePipelineRequest.d.ts +36 -36
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +84 -78
- package/dist/models/GetContextStoreResponseBody.js +2 -0
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/GetDatasetRequest.d.ts +8 -0
- package/dist/models/GetDatasetRequest.js +6 -2
- package/dist/models/GetDatasetRequest.js.map +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +1 -1
- package/dist/models/GetExperimentPlanResponseBody.d.ts +10 -10
- package/dist/models/GetExperimentRunResponseBody.d.ts +1 -1
- package/dist/models/ListAgentSpacesRequest.d.ts +2 -2
- package/dist/models/ListAgentSpacesResponseBody.d.ts +15 -8
- package/dist/models/ListAgentSpacesResponseBody.js.map +1 -1
- package/dist/models/ListExperimentRunsRequest.d.ts +6 -6
- package/dist/models/ListExperimentRunsResponseBody.d.ts +2 -2
- package/dist/models/ModelParameters.d.ts +142 -6
- package/dist/models/ModelParameters.js +69 -1
- package/dist/models/ModelParameters.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +58 -59
- package/dist/models/UpdateContextStoreRequest.js +2 -0
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
- package/dist/models/UpdateExperimentPlanRequest.d.ts +5 -5
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +15 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +28 -14
- package/src/models/CreateAgentSpaceRequest.ts +13 -3
- package/src/models/CreateContextStoreRequest.ts +71 -61
- package/src/models/CreateContextStoreResponseBody.ts +2 -2
- package/src/models/CreateExperimentPlanRequest.ts +9 -9
- package/src/models/CreateExperimentPlanResponseBody.ts +3 -3
- package/src/models/CreatePipelineRequest.ts +36 -36
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetContextStoreResponseBody.ts +86 -78
- package/src/models/GetDatasetRequest.ts +10 -0
- package/src/models/GetDatasetResponseBody.ts +1 -1
- package/src/models/GetExperimentPlanResponseBody.ts +10 -10
- package/src/models/GetExperimentRunResponseBody.ts +1 -1
- package/src/models/ListAgentSpacesRequest.ts +2 -2
- package/src/models/ListAgentSpacesResponseBody.ts +15 -8
- package/src/models/ListExperimentRunsRequest.ts +6 -6
- package/src/models/ListExperimentRunsResponseBody.ts +2 -2
- package/src/models/ModelParameters.ts +192 -6
- package/src/models/UpdateContextStoreRequest.ts +60 -59
- package/src/models/UpdateContextStoreResponseBody.ts +2 -2
- package/src/models/UpdateExperimentPlanRequest.ts +5 -5
- package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
- package/src/models/model.ts +2 -0
|
@@ -4,7 +4,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
|
|
|
4
4
|
export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
5
5
|
/**
|
|
6
6
|
* @remarks
|
|
7
|
-
* The ID of the associated dataset. If not
|
|
7
|
+
* The ID of the associated dataset. If you do not specify this parameter, the execution phase is processed in simple mode.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* rca_benckmark_eval
|
|
@@ -20,7 +20,7 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
20
20
|
description?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The list of evaluators.
|
|
23
|
+
* The list of evaluators. After you configure this parameter, an evaluation is automatically triggered when the experiment is completed.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* [{"evaluatorRef": "Builtin.agent_correctness", "name": "Builtin.agent_correctness", "type": "AGENT", "resultName": "Builtin.agent_correctness", "resultType": "score", "variableMapping": {"input": "experiment_input", "output": "experiment_output", "expected_output": "dataset.ground_truth_json"}, "filters": {"query": "", "sample": "100"}, "config": {"variables": [], "prompt": ""}}, {"evaluatorRef": "rca-toxicity-safety-accuracy", "name": "rca-toxicity-safety-accuracy", "type": "AGENT", "resultName": "rca-toxicity-safety-accuracy", "resultType": "score", "variableMapping": {"input": "experiment_input", "output": "experiment_output", "question": "dataset.question", "expected_output": "dataset.ground_truth_json", "payload_json": "dataset.payload_json"}, "filters": {"query": "", "sample": "100"}, "config": {"variables": [], "prompt": ""}}]
|
|
@@ -28,7 +28,7 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
28
28
|
evaluators?: Evaluator[];
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The
|
|
31
|
+
* The type of the experiment. Valid values: OFFLINE and ONLINE.
|
|
32
32
|
*
|
|
33
33
|
* This parameter is required.
|
|
34
34
|
*
|
|
@@ -38,12 +38,12 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
38
38
|
experimentType?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The list of experiment configurations.
|
|
41
|
+
* The list of experiment configurations. You can specify up to 5 configurations. This parameter is optional or can be left empty for offline experiments. For online experiments, you must specify at least one configuration.
|
|
42
42
|
*
|
|
43
43
|
* This parameter is required.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
|
-
* [{"label": "A", "name": "experimentA", "modelName": "qwen3.7-plus", "modelProvider": "dashscope", "modelParameters": {"temperature": 0.7, "topP": 0.8, "presencePenalty": 0.0, "frequencyPenalty": 0.0}, "promptTemplate": [{"role": "system", "content": "You are
|
|
46
|
+
* [{"label": "A", "name": "experimentA", "modelName": "qwen3.7-plus", "modelProvider": "dashscope", "modelParameters": {"temperature": 0.7, "topP": 0.8, "presencePenalty": 0.0, "frequencyPenalty": 0.0}, "promptTemplate": [{"role": "system", "content": "You are the Alibaba Cloud ARMS product Q&A bot."}, {"role": "user", "content": "{{input}}"}]}, {"label": "B", "name": "experimentB", "modelName": "qwen3.7-max", "modelProvider": "dashscope", "modelParameters": {"temperature": 0.7, "topP": 0.8, "presencePenalty": 0.0, "frequencyPenalty": 0.0}, "promptTemplate": [{"role": "system", "content": "You are the Alibaba Cloud ARMS product Q&A bot."}, {"role": "user", "content": "{{input}}"}]}]
|
|
47
47
|
*/
|
|
48
48
|
experiments?: ExperimentConfig[];
|
|
49
49
|
/**
|
|
@@ -58,12 +58,12 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The name of the associated data processing pipeline
|
|
61
|
+
* The name of the associated data processing pipeline. This parameter is optional. After you associate a pipeline, when the experiment execution under this plan is completed and the experiment results are written to the Logstore, the system filters the data by the traceId of the current experiment trace and calls PreviewPipeline to write the results processed by the pipeline.
|
|
62
62
|
*/
|
|
63
63
|
pipelineName?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The name of the experiment plan. The name must be unique within the same
|
|
66
|
+
* The name of the experiment plan. The name must be unique within the same account in an AgentSpace.
|
|
67
67
|
*
|
|
68
68
|
* This parameter is required.
|
|
69
69
|
*
|
|
@@ -73,7 +73,7 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
73
73
|
planName?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The custom query SQL clause
|
|
76
|
+
* The custom query SQL clause in partial dataset mode. You can use this parameter when selectedItemIds is empty.
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* status=\\"OK\\"
|
|
@@ -81,7 +81,7 @@ export declare class CreateExperimentPlanRequest extends $dara.Model {
|
|
|
81
81
|
querySql?: string;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The list of selected data item IDs
|
|
84
|
+
* The list of selected data item IDs in partial dataset mode. This parameter must be used together with the datasetId parameter.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* ["019ef4d5-a0f0-7114-832d-5542d771cd8c", "019f1729-be9b-7769-a006-8e98023ad7ad"]
|
|
@@ -5,12 +5,12 @@ export declare class CreateExperimentPlanResponseBody extends $dara.Model {
|
|
|
5
5
|
* The message.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
|
-
*
|
|
8
|
+
* The experiment plan is created
|
|
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 CreateExperimentPlanResponseBody extends $dara.Model {
|
|
|
26
26
|
requestId?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The creation result.
|
|
29
|
+
* The creation result. A value of created indicates success.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* created
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The bootstrap start time
|
|
5
|
+
* The bootstrap historical start time as a UNIX timestamp in seconds. It shares the same precision as runOnce or scheduled.fromTime, and millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from the grid-aligned time and catches up window by window. After catching up, it switches to a minute interval. By default, it starts from the current time and processes only incremental data.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 1735660800
|
|
@@ -22,7 +22,7 @@ export declare class CreatePipelineRequestExecutePolicyContinuous extends $dara.
|
|
|
22
22
|
export declare class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The start time of the data processing window
|
|
25
|
+
* The start time of the data processing window as a UNIX timestamp in seconds. The value must be earlier than toTime.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 1735660800
|
|
@@ -30,7 +30,7 @@ export declare class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Mod
|
|
|
30
30
|
fromTime?: number;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The end time of the data processing window
|
|
33
|
+
* The end time of the data processing window as a UNIX timestamp in seconds. The value must be later than fromTime.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* 1735747200
|
|
@@ -50,7 +50,7 @@ export declare class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Mod
|
|
|
50
50
|
export declare class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The start time of the scheduling
|
|
53
|
+
* The start time of the scheduling as a UNIX timestamp in milliseconds.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 1735660800000
|
|
@@ -78,7 +78,7 @@ export declare class CreatePipelineRequestExecutePolicyScheduled extends $dara.M
|
|
|
78
78
|
export declare class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The continuous execution configuration
|
|
81
|
+
* The continuous execution configuration, which is used when the type is trace. The processing frequency is a fixed value managed by the server.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* {"fromTime":1735660800}
|
|
@@ -94,7 +94,7 @@ export declare class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
94
94
|
mode?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The single execution configuration. This parameter is required only when the mode is RunOnce.
|
|
97
|
+
* The single execution configuration. This parameter is required only when the mode is set to RunOnce.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* {"fromTime":1735660800,"toTime":1735664400}
|
|
@@ -102,7 +102,7 @@ export declare class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
102
102
|
runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
|
|
103
103
|
/**
|
|
104
104
|
* @remarks
|
|
105
|
-
* The periodic scheduling configuration. This parameter is required only when the mode is Scheduled.
|
|
105
|
+
* The periodic scheduling configuration. This parameter is required only when the mode is set to Scheduled.
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
* {"interval":"1h","fromTime":1735660800}
|
|
@@ -130,7 +130,7 @@ export declare class CreatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
130
130
|
id?: string;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
* The parameters of the node
|
|
133
|
+
* The parameters of the node in a key-value structure, which vary based on the node type.
|
|
134
134
|
*/
|
|
135
135
|
parameters?: {
|
|
136
136
|
[key: string]: any;
|
|
@@ -177,7 +177,7 @@ export declare class CreatePipelineRequestPipeline extends $dara.Model {
|
|
|
177
177
|
export declare class CreatePipelineRequestSinkConditionDefaultSinkDataset extends $dara.Model {
|
|
178
178
|
/**
|
|
179
179
|
* @remarks
|
|
180
|
-
* The name of the
|
|
180
|
+
* The name of the AgentSpace to which the default destination dataset belongs.
|
|
181
181
|
*
|
|
182
182
|
* @example
|
|
183
183
|
* my-agent-space
|
|
@@ -210,7 +210,7 @@ export declare class CreatePipelineRequestSinkConditionDefaultSink extends $dara
|
|
|
210
210
|
dataset?: CreatePipelineRequestSinkConditionDefaultSinkDataset;
|
|
211
211
|
/**
|
|
212
212
|
* @remarks
|
|
213
|
-
* The default destination type.
|
|
213
|
+
* The default destination type. Only dataset is supported.
|
|
214
214
|
*
|
|
215
215
|
* @example
|
|
216
216
|
* dataset
|
|
@@ -230,7 +230,7 @@ export declare class CreatePipelineRequestSinkConditionDefaultSink extends $dara
|
|
|
230
230
|
export declare class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.Model {
|
|
231
231
|
/**
|
|
232
232
|
* @remarks
|
|
233
|
-
* The name of the
|
|
233
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
234
234
|
*
|
|
235
235
|
* @example
|
|
236
236
|
* my-agent-space
|
|
@@ -258,12 +258,12 @@ export declare class CreatePipelineRequestSinkConditionRoutesSinkDataset extends
|
|
|
258
258
|
export declare class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
259
259
|
/**
|
|
260
260
|
* @remarks
|
|
261
|
-
* The destination dataset
|
|
261
|
+
* The destination dataset of the route.
|
|
262
262
|
*/
|
|
263
263
|
dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* The destination type
|
|
266
|
+
* The route destination type. Only dataset is supported.
|
|
267
267
|
*
|
|
268
268
|
* @example
|
|
269
269
|
* dataset
|
|
@@ -299,7 +299,7 @@ export declare class CreatePipelineRequestSinkConditionRoutes extends $dara.Mode
|
|
|
299
299
|
id?: string;
|
|
300
300
|
/**
|
|
301
301
|
* @remarks
|
|
302
|
-
* The write destination
|
|
302
|
+
* The write destination of the route.
|
|
303
303
|
*/
|
|
304
304
|
sink?: CreatePipelineRequestSinkConditionRoutesSink;
|
|
305
305
|
static names(): {
|
|
@@ -321,7 +321,7 @@ export declare class CreatePipelineRequestSinkCondition extends $dara.Model {
|
|
|
321
321
|
defaultSink?: CreatePipelineRequestSinkConditionDefaultSink;
|
|
322
322
|
/**
|
|
323
323
|
* @remarks
|
|
324
|
-
* The route matching mode.
|
|
324
|
+
* The route matching mode. Only all is supported.
|
|
325
325
|
*
|
|
326
326
|
* @example
|
|
327
327
|
* all
|
|
@@ -346,7 +346,7 @@ export declare class CreatePipelineRequestSinkCondition extends $dara.Model {
|
|
|
346
346
|
export declare class CreatePipelineRequestSinkDataset extends $dara.Model {
|
|
347
347
|
/**
|
|
348
348
|
* @remarks
|
|
349
|
-
* The name of the
|
|
349
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
350
350
|
*
|
|
351
351
|
* @example
|
|
352
352
|
* my-agent-space
|
|
@@ -374,17 +374,17 @@ export declare class CreatePipelineRequestSinkDataset extends $dara.Model {
|
|
|
374
374
|
export declare class CreatePipelineRequestSink extends $dara.Model {
|
|
375
375
|
/**
|
|
376
376
|
* @remarks
|
|
377
|
-
* The conditional routing configuration. This is used only when sink.type is set to condition.
|
|
377
|
+
* The conditional routing configuration. This parameter is used only when sink.type is set to condition.
|
|
378
378
|
*/
|
|
379
379
|
condition?: CreatePipelineRequestSinkCondition;
|
|
380
380
|
/**
|
|
381
381
|
* @remarks
|
|
382
|
-
* The destination dataset configuration
|
|
382
|
+
* The destination dataset configuration.
|
|
383
383
|
*/
|
|
384
384
|
dataset?: CreatePipelineRequestSinkDataset;
|
|
385
385
|
/**
|
|
386
386
|
* @remarks
|
|
387
|
-
* The destination type. Currently, dataset is supported.
|
|
387
|
+
* The destination type. Currently, only dataset is supported.
|
|
388
388
|
*
|
|
389
389
|
* @example
|
|
390
390
|
* Dataset
|
|
@@ -460,7 +460,7 @@ export declare class CreatePipelineRequestSourceInputFields extends $dara.Model
|
|
|
460
460
|
export declare class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
461
461
|
/**
|
|
462
462
|
* @remarks
|
|
463
|
-
* The name of the
|
|
463
|
+
* The name of the SLS Logstore.
|
|
464
464
|
*
|
|
465
465
|
* @example
|
|
466
466
|
* my-sls-logstore
|
|
@@ -468,7 +468,7 @@ export declare class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
468
468
|
logstore?: string;
|
|
469
469
|
/**
|
|
470
470
|
* @remarks
|
|
471
|
-
* The name of the
|
|
471
|
+
* The name of the SLS project.
|
|
472
472
|
*
|
|
473
473
|
* @example
|
|
474
474
|
* my-sls-project
|
|
@@ -476,7 +476,7 @@ export declare class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
476
476
|
project?: string;
|
|
477
477
|
/**
|
|
478
478
|
* @remarks
|
|
479
|
-
* The
|
|
479
|
+
* The filtered query statement for data in SLS query and analysis syntax.
|
|
480
480
|
*
|
|
481
481
|
* @example
|
|
482
482
|
* * | SELECT *
|
|
@@ -496,7 +496,7 @@ export declare class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
496
496
|
export declare class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
497
497
|
/**
|
|
498
498
|
* @remarks
|
|
499
|
-
* The list of enrichment columns. This parameter is retained for backward compatibility. The current implementation outputs only the fixed agent_trajectory
|
|
499
|
+
* The list of enrichment columns. This parameter is retained for backward compatibility. The current implementation outputs only the fixed column agent_trajectory, and this parameter no longer affects the output.
|
|
500
500
|
*
|
|
501
501
|
* @example
|
|
502
502
|
* ["input","output","session_id"]
|
|
@@ -524,7 +524,7 @@ export declare class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.M
|
|
|
524
524
|
export declare class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
525
525
|
/**
|
|
526
526
|
* @remarks
|
|
527
|
-
* The trajectory enrichment configuration. It mounts trajectory data into the scrubbing
|
|
527
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the scrubbing result based on trace_id. When writing to a dataset, the data is stored in the fixed column agent_trajectory, and the column value is the trajectory JSON content.
|
|
528
528
|
*
|
|
529
529
|
* @example
|
|
530
530
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -544,7 +544,7 @@ export declare class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
544
544
|
export declare class CreatePipelineRequestSource extends $dara.Model {
|
|
545
545
|
/**
|
|
546
546
|
* @remarks
|
|
547
|
-
* The dataset datasource config
|
|
547
|
+
* The dataset datasource config in the current AgentSpace.
|
|
548
548
|
*
|
|
549
549
|
* @example
|
|
550
550
|
* {"dataset":"my-dataset","filter":"status = \\"pending\\""}
|
|
@@ -552,7 +552,7 @@ export declare class CreatePipelineRequestSource extends $dara.Model {
|
|
|
552
552
|
dataset?: CreatePipelineRequestSourceDataset;
|
|
553
553
|
/**
|
|
554
554
|
* @remarks
|
|
555
|
-
* The input fields and their data types. This applies to all data source types.
|
|
555
|
+
* The input fields and their data types. This parameter applies to all data source types.
|
|
556
556
|
*
|
|
557
557
|
* @example
|
|
558
558
|
* [{"name":"question","type":"text"}]
|
|
@@ -560,7 +560,7 @@ export declare class CreatePipelineRequestSource extends $dara.Model {
|
|
|
560
560
|
inputFields?: CreatePipelineRequestSourceInputFields[];
|
|
561
561
|
/**
|
|
562
562
|
* @remarks
|
|
563
|
-
* The Simple Log Service Logstore datasource config.
|
|
563
|
+
* The Simple Log Service (SLS) Logstore datasource config.
|
|
564
564
|
*
|
|
565
565
|
* @example
|
|
566
566
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -568,7 +568,7 @@ export declare class CreatePipelineRequestSource extends $dara.Model {
|
|
|
568
568
|
logstore?: CreatePipelineRequestSourceLogstore;
|
|
569
569
|
/**
|
|
570
570
|
* @remarks
|
|
571
|
-
* The trajectory data configuration. This is optional and takes effect only when
|
|
571
|
+
* The trajectory data configuration. This parameter is optional and takes effect only when type is set to trace. It obtains ATIF standard trajectory data from the trajectory scrubbing service and extends the data by feature.
|
|
572
572
|
*
|
|
573
573
|
* @example
|
|
574
574
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -576,7 +576,7 @@ export declare class CreatePipelineRequestSource extends $dara.Model {
|
|
|
576
576
|
trajectory?: CreatePipelineRequestSourceTrajectory;
|
|
577
577
|
/**
|
|
578
578
|
* @remarks
|
|
579
|
-
* The data source type. Currently,
|
|
579
|
+
* The data source type. Currently, only SLS is supported.
|
|
580
580
|
*
|
|
581
581
|
* @example
|
|
582
582
|
* SLS
|
|
@@ -596,15 +596,15 @@ export declare class CreatePipelineRequestSource extends $dara.Model {
|
|
|
596
596
|
export declare class CreatePipelineRequest extends $dara.Model {
|
|
597
597
|
/**
|
|
598
598
|
* @remarks
|
|
599
|
-
* The description of the pipeline
|
|
599
|
+
* The description of the pipeline, which can be up to 256 characters in length.
|
|
600
600
|
*
|
|
601
601
|
* @example
|
|
602
|
-
* Collect trace data from
|
|
602
|
+
* Collect trace data from Simple Log Service and perform data cleaning to ingest into a dataset
|
|
603
603
|
*/
|
|
604
604
|
description?: string;
|
|
605
605
|
/**
|
|
606
606
|
* @remarks
|
|
607
|
-
* The
|
|
607
|
+
* The execution policy.
|
|
608
608
|
*
|
|
609
609
|
* @example
|
|
610
610
|
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
|
|
@@ -612,7 +612,7 @@ export declare class CreatePipelineRequest extends $dara.Model {
|
|
|
612
612
|
executePolicy?: CreatePipelineRequestExecutePolicy;
|
|
613
613
|
/**
|
|
614
614
|
* @remarks
|
|
615
|
-
* The pipeline configuration
|
|
615
|
+
* The pipeline configuration for node orchestration.
|
|
616
616
|
*
|
|
617
617
|
* @example
|
|
618
618
|
* {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
|
|
@@ -628,12 +628,12 @@ export declare class CreatePipelineRequest extends $dara.Model {
|
|
|
628
628
|
pipelineName?: string;
|
|
629
629
|
/**
|
|
630
630
|
* @remarks
|
|
631
|
-
* The pipeline sink, which
|
|
631
|
+
* The pipeline sink, which specifies the data write destination.
|
|
632
632
|
*/
|
|
633
633
|
sink?: CreatePipelineRequestSink;
|
|
634
634
|
/**
|
|
635
635
|
* @remarks
|
|
636
|
-
* The data source
|
|
636
|
+
* The pipeline data source.
|
|
637
637
|
*
|
|
638
638
|
* @example
|
|
639
639
|
* {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
|
|
@@ -641,7 +641,7 @@ export declare class CreatePipelineRequest extends $dara.Model {
|
|
|
641
641
|
source?: CreatePipelineRequestSource;
|
|
642
642
|
/**
|
|
643
643
|
* @remarks
|
|
644
|
-
* The idempotency token
|
|
644
|
+
* The idempotency token, which is a unique string generated by the client to ensure the idempotence of the creation operation.
|
|
645
645
|
*
|
|
646
646
|
* @example
|
|
647
647
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreatePipelineResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The request ID used to locate the request during troubleshooting.
|
|
5
|
+
* The request ID, used to locate the request during troubleshooting.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|