@alicloud/agentloop20260520 2.4.4 → 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 +17 -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/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 +1 -1
- package/src/client.ts +18 -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/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
|
@@ -8,12 +8,12 @@ export class CreateExperimentPlanResponseBody extends $dara.Model {
|
|
|
8
8
|
* The message.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* The experiment plan is created
|
|
12
12
|
*/
|
|
13
13
|
message?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The experiment plan
|
|
16
|
+
* The ID of the experiment plan.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* exp-plan-e95bff54685a4ae29ff3a834c1008a71
|
|
@@ -29,7 +29,7 @@ export class CreateExperimentPlanResponseBody extends $dara.Model {
|
|
|
29
29
|
requestId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The creation result.
|
|
32
|
+
* The creation result. A value of created indicates success.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* created
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The bootstrap start time
|
|
8
|
+
* 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.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1735660800
|
|
@@ -35,7 +35,7 @@ export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
|
35
35
|
export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The start time of the data processing window
|
|
38
|
+
* The start time of the data processing window as a UNIX timestamp in seconds. The value must be earlier than toTime.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* 1735660800
|
|
@@ -43,7 +43,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
43
43
|
fromTime?: number;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The end time of the data processing window
|
|
46
|
+
* The end time of the data processing window as a UNIX timestamp in seconds. The value must be later than fromTime.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 1735747200
|
|
@@ -75,7 +75,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
75
75
|
export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The start time of the scheduling
|
|
78
|
+
* The start time of the scheduling as a UNIX timestamp in milliseconds.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* 1735660800000
|
|
@@ -115,7 +115,7 @@ export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
|
115
115
|
export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The continuous execution configuration
|
|
118
|
+
* The continuous execution configuration, which is used when the type is trace. The processing frequency is a fixed value managed by the server.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* {"fromTime":1735660800}
|
|
@@ -131,7 +131,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
131
131
|
mode?: string;
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The single execution configuration. This parameter is required only when the mode is RunOnce.
|
|
134
|
+
* The single execution configuration. This parameter is required only when the mode is set to RunOnce.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* {"fromTime":1735660800,"toTime":1735664400}
|
|
@@ -139,7 +139,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
139
139
|
runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
|
|
140
140
|
/**
|
|
141
141
|
* @remarks
|
|
142
|
-
* The periodic scheduling configuration. This parameter is required only when the mode is Scheduled.
|
|
142
|
+
* The periodic scheduling configuration. This parameter is required only when the mode is set to Scheduled.
|
|
143
143
|
*
|
|
144
144
|
* @example
|
|
145
145
|
* {"interval":"1h","fromTime":1735660800}
|
|
@@ -192,7 +192,7 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
192
192
|
id?: string;
|
|
193
193
|
/**
|
|
194
194
|
* @remarks
|
|
195
|
-
* The parameters of the node
|
|
195
|
+
* The parameters of the node in a key-value structure, which vary based on the node type.
|
|
196
196
|
*/
|
|
197
197
|
parameters?: { [key: string]: any };
|
|
198
198
|
/**
|
|
@@ -267,7 +267,7 @@ export class CreatePipelineRequestPipeline extends $dara.Model {
|
|
|
267
267
|
export class CreatePipelineRequestSinkConditionDefaultSinkDataset extends $dara.Model {
|
|
268
268
|
/**
|
|
269
269
|
* @remarks
|
|
270
|
-
* The name of the
|
|
270
|
+
* The name of the AgentSpace to which the default destination dataset belongs.
|
|
271
271
|
*
|
|
272
272
|
* @example
|
|
273
273
|
* my-agent-space
|
|
@@ -312,7 +312,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
|
|
|
312
312
|
dataset?: CreatePipelineRequestSinkConditionDefaultSinkDataset;
|
|
313
313
|
/**
|
|
314
314
|
* @remarks
|
|
315
|
-
* The default destination type.
|
|
315
|
+
* The default destination type. Only dataset is supported.
|
|
316
316
|
*
|
|
317
317
|
* @example
|
|
318
318
|
* dataset
|
|
@@ -347,7 +347,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
|
|
|
347
347
|
export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.Model {
|
|
348
348
|
/**
|
|
349
349
|
* @remarks
|
|
350
|
-
* The name of the
|
|
350
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
351
351
|
*
|
|
352
352
|
* @example
|
|
353
353
|
* my-agent-space
|
|
@@ -387,12 +387,12 @@ export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
|
|
|
387
387
|
export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
388
388
|
/**
|
|
389
389
|
* @remarks
|
|
390
|
-
* The destination dataset
|
|
390
|
+
* The destination dataset of the route.
|
|
391
391
|
*/
|
|
392
392
|
dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
|
|
393
393
|
/**
|
|
394
394
|
* @remarks
|
|
395
|
-
* The destination type
|
|
395
|
+
* The route destination type. Only dataset is supported.
|
|
396
396
|
*
|
|
397
397
|
* @example
|
|
398
398
|
* dataset
|
|
@@ -443,7 +443,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
|
443
443
|
id?: string;
|
|
444
444
|
/**
|
|
445
445
|
* @remarks
|
|
446
|
-
* The write destination
|
|
446
|
+
* The write destination of the route.
|
|
447
447
|
*/
|
|
448
448
|
sink?: CreatePipelineRequestSinkConditionRoutesSink;
|
|
449
449
|
static names(): { [key: string]: string } {
|
|
@@ -482,7 +482,7 @@ export class CreatePipelineRequestSinkCondition extends $dara.Model {
|
|
|
482
482
|
defaultSink?: CreatePipelineRequestSinkConditionDefaultSink;
|
|
483
483
|
/**
|
|
484
484
|
* @remarks
|
|
485
|
-
* The route matching mode.
|
|
485
|
+
* The route matching mode. Only all is supported.
|
|
486
486
|
*
|
|
487
487
|
* @example
|
|
488
488
|
* all
|
|
@@ -527,7 +527,7 @@ export class CreatePipelineRequestSinkCondition extends $dara.Model {
|
|
|
527
527
|
export class CreatePipelineRequestSinkDataset extends $dara.Model {
|
|
528
528
|
/**
|
|
529
529
|
* @remarks
|
|
530
|
-
* The name of the
|
|
530
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
531
531
|
*
|
|
532
532
|
* @example
|
|
533
533
|
* my-agent-space
|
|
@@ -567,17 +567,17 @@ export class CreatePipelineRequestSinkDataset extends $dara.Model {
|
|
|
567
567
|
export class CreatePipelineRequestSink extends $dara.Model {
|
|
568
568
|
/**
|
|
569
569
|
* @remarks
|
|
570
|
-
* The conditional routing configuration. This is used only when sink.type is set to condition.
|
|
570
|
+
* The conditional routing configuration. This parameter is used only when sink.type is set to condition.
|
|
571
571
|
*/
|
|
572
572
|
condition?: CreatePipelineRequestSinkCondition;
|
|
573
573
|
/**
|
|
574
574
|
* @remarks
|
|
575
|
-
* The destination dataset configuration
|
|
575
|
+
* The destination dataset configuration.
|
|
576
576
|
*/
|
|
577
577
|
dataset?: CreatePipelineRequestSinkDataset;
|
|
578
578
|
/**
|
|
579
579
|
* @remarks
|
|
580
|
-
* The destination type. Currently, dataset is supported.
|
|
580
|
+
* The destination type. Currently, only dataset is supported.
|
|
581
581
|
*
|
|
582
582
|
* @example
|
|
583
583
|
* Dataset
|
|
@@ -697,7 +697,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
|
|
|
697
697
|
export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
698
698
|
/**
|
|
699
699
|
* @remarks
|
|
700
|
-
* The name of the
|
|
700
|
+
* The name of the SLS Logstore.
|
|
701
701
|
*
|
|
702
702
|
* @example
|
|
703
703
|
* my-sls-logstore
|
|
@@ -705,7 +705,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
705
705
|
logstore?: string;
|
|
706
706
|
/**
|
|
707
707
|
* @remarks
|
|
708
|
-
* The name of the
|
|
708
|
+
* The name of the SLS project.
|
|
709
709
|
*
|
|
710
710
|
* @example
|
|
711
711
|
* my-sls-project
|
|
@@ -713,7 +713,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
713
713
|
project?: string;
|
|
714
714
|
/**
|
|
715
715
|
* @remarks
|
|
716
|
-
* The
|
|
716
|
+
* The filtered query statement for data in SLS query and analysis syntax.
|
|
717
717
|
*
|
|
718
718
|
* @example
|
|
719
719
|
* * | SELECT *
|
|
@@ -747,7 +747,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
747
747
|
export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
748
748
|
/**
|
|
749
749
|
* @remarks
|
|
750
|
-
* The list of enrichment columns. This parameter is retained for backward compatibility. The current implementation outputs only the fixed agent_trajectory
|
|
750
|
+
* 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.
|
|
751
751
|
*
|
|
752
752
|
* @example
|
|
753
753
|
* ["input","output","session_id"]
|
|
@@ -790,7 +790,7 @@ export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
790
790
|
export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
791
791
|
/**
|
|
792
792
|
* @remarks
|
|
793
|
-
* The trajectory enrichment configuration. It mounts trajectory data into the scrubbing
|
|
793
|
+
* 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.
|
|
794
794
|
*
|
|
795
795
|
* @example
|
|
796
796
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -823,7 +823,7 @@ export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
823
823
|
export class CreatePipelineRequestSource extends $dara.Model {
|
|
824
824
|
/**
|
|
825
825
|
* @remarks
|
|
826
|
-
* The dataset datasource config
|
|
826
|
+
* The dataset datasource config in the current AgentSpace.
|
|
827
827
|
*
|
|
828
828
|
* @example
|
|
829
829
|
* {"dataset":"my-dataset","filter":"status = \\"pending\\""}
|
|
@@ -831,7 +831,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
831
831
|
dataset?: CreatePipelineRequestSourceDataset;
|
|
832
832
|
/**
|
|
833
833
|
* @remarks
|
|
834
|
-
* The input fields and their data types. This applies to all data source types.
|
|
834
|
+
* The input fields and their data types. This parameter applies to all data source types.
|
|
835
835
|
*
|
|
836
836
|
* @example
|
|
837
837
|
* [{"name":"question","type":"text"}]
|
|
@@ -839,7 +839,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
839
839
|
inputFields?: CreatePipelineRequestSourceInputFields[];
|
|
840
840
|
/**
|
|
841
841
|
* @remarks
|
|
842
|
-
* The Simple Log Service Logstore datasource config.
|
|
842
|
+
* The Simple Log Service (SLS) Logstore datasource config.
|
|
843
843
|
*
|
|
844
844
|
* @example
|
|
845
845
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -847,7 +847,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
847
847
|
logstore?: CreatePipelineRequestSourceLogstore;
|
|
848
848
|
/**
|
|
849
849
|
* @remarks
|
|
850
|
-
* The trajectory data configuration. This is optional and takes effect only when
|
|
850
|
+
* 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.
|
|
851
851
|
*
|
|
852
852
|
* @example
|
|
853
853
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -855,7 +855,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
855
855
|
trajectory?: CreatePipelineRequestSourceTrajectory;
|
|
856
856
|
/**
|
|
857
857
|
* @remarks
|
|
858
|
-
* The data source type. Currently,
|
|
858
|
+
* The data source type. Currently, only SLS is supported.
|
|
859
859
|
*
|
|
860
860
|
* @example
|
|
861
861
|
* SLS
|
|
@@ -905,15 +905,15 @@ export class CreatePipelineRequestSource extends $dara.Model {
|
|
|
905
905
|
export class CreatePipelineRequest extends $dara.Model {
|
|
906
906
|
/**
|
|
907
907
|
* @remarks
|
|
908
|
-
* The description of the pipeline
|
|
908
|
+
* The description of the pipeline, which can be up to 256 characters in length.
|
|
909
909
|
*
|
|
910
910
|
* @example
|
|
911
|
-
* Collect trace data from
|
|
911
|
+
* Collect trace data from Simple Log Service and perform data cleaning to ingest into a dataset
|
|
912
912
|
*/
|
|
913
913
|
description?: string;
|
|
914
914
|
/**
|
|
915
915
|
* @remarks
|
|
916
|
-
* The
|
|
916
|
+
* The execution policy.
|
|
917
917
|
*
|
|
918
918
|
* @example
|
|
919
919
|
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
|
|
@@ -921,7 +921,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
921
921
|
executePolicy?: CreatePipelineRequestExecutePolicy;
|
|
922
922
|
/**
|
|
923
923
|
* @remarks
|
|
924
|
-
* The pipeline configuration
|
|
924
|
+
* The pipeline configuration for node orchestration.
|
|
925
925
|
*
|
|
926
926
|
* @example
|
|
927
927
|
* {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
|
|
@@ -937,12 +937,12 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
937
937
|
pipelineName?: string;
|
|
938
938
|
/**
|
|
939
939
|
* @remarks
|
|
940
|
-
* The pipeline sink, which
|
|
940
|
+
* The pipeline sink, which specifies the data write destination.
|
|
941
941
|
*/
|
|
942
942
|
sink?: CreatePipelineRequestSink;
|
|
943
943
|
/**
|
|
944
944
|
* @remarks
|
|
945
|
-
* The data source
|
|
945
|
+
* The pipeline data source.
|
|
946
946
|
*
|
|
947
947
|
* @example
|
|
948
948
|
* {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
|
|
@@ -950,7 +950,7 @@ export class CreatePipelineRequest extends $dara.Model {
|
|
|
950
950
|
source?: CreatePipelineRequestSource;
|
|
951
951
|
/**
|
|
952
952
|
* @remarks
|
|
953
|
-
* The idempotency token
|
|
953
|
+
* The idempotency token, which is a unique string generated by the client to ensure the idempotence of the creation operation.
|
|
954
954
|
*
|
|
955
955
|
* @example
|
|
956
956
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreatePipelineResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID used to locate the request during troubleshooting.
|
|
8
|
+
* The request ID, used to locate the request during troubleshooting.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|