@alicloud/bailian20231229 1.4.1 → 1.6.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 +1270 -81
- package/dist/client.js +1793 -144
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2433 -263
package/dist/client.d.ts
CHANGED
|
@@ -3,6 +3,91 @@
|
|
|
3
3
|
import * as $Util from '@alicloud/tea-util';
|
|
4
4
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
5
5
|
import * as $tea from '@alicloud/tea-typescript';
|
|
6
|
+
export declare class AddCategoryRequest extends $tea.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*/
|
|
11
|
+
categoryName?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* This parameter is required.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* UNSTRUCTURED
|
|
18
|
+
*/
|
|
19
|
+
categoryType?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @example
|
|
22
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
23
|
+
*/
|
|
24
|
+
parentCategoryId?: string;
|
|
25
|
+
static names(): {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
static types(): {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
constructor(map?: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
export declare class AddCategoryResponseBody extends $tea.Model {
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* success
|
|
39
|
+
*/
|
|
40
|
+
code?: string;
|
|
41
|
+
data?: AddCategoryResponseBodyData;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* Requests throttling triggered.
|
|
45
|
+
*/
|
|
46
|
+
message?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* Id of the request
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* 778C0B3B-03C1-5FC1-A947-36EDD13606AB
|
|
53
|
+
*/
|
|
54
|
+
requestId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* 200
|
|
58
|
+
*/
|
|
59
|
+
status?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* true
|
|
63
|
+
*/
|
|
64
|
+
success?: boolean;
|
|
65
|
+
static names(): {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
};
|
|
68
|
+
static types(): {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
};
|
|
71
|
+
constructor(map?: {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
export declare class AddCategoryResponse extends $tea.Model {
|
|
76
|
+
headers?: {
|
|
77
|
+
[key: string]: string;
|
|
78
|
+
};
|
|
79
|
+
statusCode?: number;
|
|
80
|
+
body?: AddCategoryResponseBody;
|
|
81
|
+
static names(): {
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
};
|
|
84
|
+
static types(): {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
};
|
|
87
|
+
constructor(map?: {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
});
|
|
90
|
+
}
|
|
6
91
|
export declare class AddFileRequest extends $tea.Model {
|
|
7
92
|
/**
|
|
8
93
|
* @remarks
|
|
@@ -176,6 +261,69 @@ export declare class ApplyFileUploadLeaseResponse extends $tea.Model {
|
|
|
176
261
|
[key: string]: any;
|
|
177
262
|
});
|
|
178
263
|
}
|
|
264
|
+
export declare class CreateAndPulishAgentRequest extends $tea.Model {
|
|
265
|
+
applicationConfig?: CreateAndPulishAgentRequestApplicationConfig;
|
|
266
|
+
instructions?: string;
|
|
267
|
+
modelId?: string;
|
|
268
|
+
name?: string;
|
|
269
|
+
static names(): {
|
|
270
|
+
[key: string]: string;
|
|
271
|
+
};
|
|
272
|
+
static types(): {
|
|
273
|
+
[key: string]: any;
|
|
274
|
+
};
|
|
275
|
+
constructor(map?: {
|
|
276
|
+
[key: string]: any;
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
export declare class CreateAndPulishAgentShrinkRequest extends $tea.Model {
|
|
280
|
+
applicationConfigShrink?: string;
|
|
281
|
+
instructions?: string;
|
|
282
|
+
modelId?: string;
|
|
283
|
+
name?: string;
|
|
284
|
+
static names(): {
|
|
285
|
+
[key: string]: string;
|
|
286
|
+
};
|
|
287
|
+
static types(): {
|
|
288
|
+
[key: string]: any;
|
|
289
|
+
};
|
|
290
|
+
constructor(map?: {
|
|
291
|
+
[key: string]: any;
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
export declare class CreateAndPulishAgentResponseBody extends $tea.Model {
|
|
295
|
+
code?: string;
|
|
296
|
+
data?: string;
|
|
297
|
+
httpStatusCode?: number;
|
|
298
|
+
message?: string;
|
|
299
|
+
requestId?: string;
|
|
300
|
+
success?: boolean;
|
|
301
|
+
static names(): {
|
|
302
|
+
[key: string]: string;
|
|
303
|
+
};
|
|
304
|
+
static types(): {
|
|
305
|
+
[key: string]: any;
|
|
306
|
+
};
|
|
307
|
+
constructor(map?: {
|
|
308
|
+
[key: string]: any;
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
export declare class CreateAndPulishAgentResponse extends $tea.Model {
|
|
312
|
+
headers?: {
|
|
313
|
+
[key: string]: string;
|
|
314
|
+
};
|
|
315
|
+
statusCode?: number;
|
|
316
|
+
body?: CreateAndPulishAgentResponseBody;
|
|
317
|
+
static names(): {
|
|
318
|
+
[key: string]: string;
|
|
319
|
+
};
|
|
320
|
+
static types(): {
|
|
321
|
+
[key: string]: any;
|
|
322
|
+
};
|
|
323
|
+
constructor(map?: {
|
|
324
|
+
[key: string]: any;
|
|
325
|
+
});
|
|
326
|
+
}
|
|
179
327
|
export declare class CreateIndexRequest extends $tea.Model {
|
|
180
328
|
categoryIds?: string[];
|
|
181
329
|
/**
|
|
@@ -406,6 +554,99 @@ export declare class CreateIndexResponse extends $tea.Model {
|
|
|
406
554
|
[key: string]: any;
|
|
407
555
|
});
|
|
408
556
|
}
|
|
557
|
+
export declare class DeleteAgentResponseBody extends $tea.Model {
|
|
558
|
+
code?: string;
|
|
559
|
+
data?: string;
|
|
560
|
+
httpStatusCode?: number;
|
|
561
|
+
message?: string;
|
|
562
|
+
requestId?: string;
|
|
563
|
+
success?: boolean;
|
|
564
|
+
static names(): {
|
|
565
|
+
[key: string]: string;
|
|
566
|
+
};
|
|
567
|
+
static types(): {
|
|
568
|
+
[key: string]: any;
|
|
569
|
+
};
|
|
570
|
+
constructor(map?: {
|
|
571
|
+
[key: string]: any;
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
export declare class DeleteAgentResponse extends $tea.Model {
|
|
575
|
+
headers?: {
|
|
576
|
+
[key: string]: string;
|
|
577
|
+
};
|
|
578
|
+
statusCode?: number;
|
|
579
|
+
body?: DeleteAgentResponseBody;
|
|
580
|
+
static names(): {
|
|
581
|
+
[key: string]: string;
|
|
582
|
+
};
|
|
583
|
+
static types(): {
|
|
584
|
+
[key: string]: any;
|
|
585
|
+
};
|
|
586
|
+
constructor(map?: {
|
|
587
|
+
[key: string]: any;
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
export declare class DeleteCategoryResponseBody extends $tea.Model {
|
|
591
|
+
/**
|
|
592
|
+
* @example
|
|
593
|
+
* success
|
|
594
|
+
*/
|
|
595
|
+
code?: string;
|
|
596
|
+
/**
|
|
597
|
+
* @remarks
|
|
598
|
+
* data
|
|
599
|
+
*/
|
|
600
|
+
data?: DeleteCategoryResponseBodyData;
|
|
601
|
+
/**
|
|
602
|
+
* @example
|
|
603
|
+
* workspace id is null or invalid.
|
|
604
|
+
*/
|
|
605
|
+
message?: string;
|
|
606
|
+
/**
|
|
607
|
+
* @remarks
|
|
608
|
+
* Id of the request
|
|
609
|
+
*
|
|
610
|
+
* @example
|
|
611
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
612
|
+
*/
|
|
613
|
+
requestId?: string;
|
|
614
|
+
/**
|
|
615
|
+
* @example
|
|
616
|
+
* 200
|
|
617
|
+
*/
|
|
618
|
+
status?: string;
|
|
619
|
+
/**
|
|
620
|
+
* @example
|
|
621
|
+
* true
|
|
622
|
+
*/
|
|
623
|
+
success?: boolean;
|
|
624
|
+
static names(): {
|
|
625
|
+
[key: string]: string;
|
|
626
|
+
};
|
|
627
|
+
static types(): {
|
|
628
|
+
[key: string]: any;
|
|
629
|
+
};
|
|
630
|
+
constructor(map?: {
|
|
631
|
+
[key: string]: any;
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
export declare class DeleteCategoryResponse extends $tea.Model {
|
|
635
|
+
headers?: {
|
|
636
|
+
[key: string]: string;
|
|
637
|
+
};
|
|
638
|
+
statusCode?: number;
|
|
639
|
+
body?: DeleteCategoryResponseBody;
|
|
640
|
+
static names(): {
|
|
641
|
+
[key: string]: string;
|
|
642
|
+
};
|
|
643
|
+
static types(): {
|
|
644
|
+
[key: string]: any;
|
|
645
|
+
};
|
|
646
|
+
constructor(map?: {
|
|
647
|
+
[key: string]: any;
|
|
648
|
+
});
|
|
649
|
+
}
|
|
409
650
|
export declare class DeleteFileResponseBody extends $tea.Model {
|
|
410
651
|
/**
|
|
411
652
|
* @example
|
|
@@ -773,31 +1014,63 @@ export declare class GetIndexJobStatusResponse extends $tea.Model {
|
|
|
773
1014
|
[key: string]: any;
|
|
774
1015
|
});
|
|
775
1016
|
}
|
|
776
|
-
export declare class
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
1017
|
+
export declare class GetPublishedAgentResponseBody extends $tea.Model {
|
|
1018
|
+
code?: string;
|
|
1019
|
+
data?: GetPublishedAgentResponseBodyData;
|
|
1020
|
+
httpStatusCode?: number;
|
|
1021
|
+
message?: string;
|
|
1022
|
+
requestId?: string;
|
|
1023
|
+
success?: boolean;
|
|
1024
|
+
static names(): {
|
|
1025
|
+
[key: string]: string;
|
|
1026
|
+
};
|
|
1027
|
+
static types(): {
|
|
1028
|
+
[key: string]: any;
|
|
1029
|
+
};
|
|
1030
|
+
constructor(map?: {
|
|
1031
|
+
[key: string]: any;
|
|
1032
|
+
});
|
|
1033
|
+
}
|
|
1034
|
+
export declare class GetPublishedAgentResponse extends $tea.Model {
|
|
1035
|
+
headers?: {
|
|
1036
|
+
[key: string]: string;
|
|
1037
|
+
};
|
|
1038
|
+
statusCode?: number;
|
|
1039
|
+
body?: GetPublishedAgentResponseBody;
|
|
1040
|
+
static names(): {
|
|
1041
|
+
[key: string]: string;
|
|
1042
|
+
};
|
|
1043
|
+
static types(): {
|
|
1044
|
+
[key: string]: any;
|
|
1045
|
+
};
|
|
1046
|
+
constructor(map?: {
|
|
1047
|
+
[key: string]: any;
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
1050
|
+
export declare class ListCategoryRequest extends $tea.Model {
|
|
783
1051
|
/**
|
|
784
1052
|
* @remarks
|
|
785
1053
|
* This parameter is required.
|
|
786
1054
|
*
|
|
787
1055
|
* @example
|
|
788
|
-
*
|
|
1056
|
+
* UNSTRUCTURED
|
|
789
1057
|
*/
|
|
790
|
-
|
|
1058
|
+
categoryType?: string;
|
|
791
1059
|
/**
|
|
792
1060
|
* @example
|
|
793
|
-
*
|
|
1061
|
+
* 20
|
|
794
1062
|
*/
|
|
795
|
-
|
|
1063
|
+
maxResults?: number;
|
|
796
1064
|
/**
|
|
797
1065
|
* @example
|
|
798
|
-
*
|
|
1066
|
+
* AAAAAdH70eOCSCKtacdomNzak4U=
|
|
799
1067
|
*/
|
|
800
|
-
|
|
1068
|
+
nextToken?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* @example
|
|
1071
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
1072
|
+
*/
|
|
1073
|
+
parentCategoryId?: string;
|
|
801
1074
|
static names(): {
|
|
802
1075
|
[key: string]: string;
|
|
803
1076
|
};
|
|
@@ -808,16 +1081,16 @@ export declare class ListChunksRequest extends $tea.Model {
|
|
|
808
1081
|
[key: string]: any;
|
|
809
1082
|
});
|
|
810
1083
|
}
|
|
811
|
-
export declare class
|
|
1084
|
+
export declare class ListCategoryResponseBody extends $tea.Model {
|
|
812
1085
|
/**
|
|
813
1086
|
* @example
|
|
814
|
-
*
|
|
1087
|
+
* success
|
|
815
1088
|
*/
|
|
816
1089
|
code?: string;
|
|
817
|
-
data?:
|
|
1090
|
+
data?: ListCategoryResponseBodyData;
|
|
818
1091
|
/**
|
|
819
1092
|
* @example
|
|
820
|
-
*
|
|
1093
|
+
* workspace id is null or invalid.
|
|
821
1094
|
*/
|
|
822
1095
|
message?: string;
|
|
823
1096
|
/**
|
|
@@ -825,7 +1098,98 @@ export declare class ListChunksResponseBody extends $tea.Model {
|
|
|
825
1098
|
* Id of the request
|
|
826
1099
|
*
|
|
827
1100
|
* @example
|
|
828
|
-
*
|
|
1101
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
1102
|
+
*/
|
|
1103
|
+
requestId?: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* @example
|
|
1106
|
+
* 200
|
|
1107
|
+
*/
|
|
1108
|
+
status?: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* @example
|
|
1111
|
+
* true
|
|
1112
|
+
*/
|
|
1113
|
+
success?: boolean;
|
|
1114
|
+
static names(): {
|
|
1115
|
+
[key: string]: string;
|
|
1116
|
+
};
|
|
1117
|
+
static types(): {
|
|
1118
|
+
[key: string]: any;
|
|
1119
|
+
};
|
|
1120
|
+
constructor(map?: {
|
|
1121
|
+
[key: string]: any;
|
|
1122
|
+
});
|
|
1123
|
+
}
|
|
1124
|
+
export declare class ListCategoryResponse extends $tea.Model {
|
|
1125
|
+
headers?: {
|
|
1126
|
+
[key: string]: string;
|
|
1127
|
+
};
|
|
1128
|
+
statusCode?: number;
|
|
1129
|
+
body?: ListCategoryResponseBody;
|
|
1130
|
+
static names(): {
|
|
1131
|
+
[key: string]: string;
|
|
1132
|
+
};
|
|
1133
|
+
static types(): {
|
|
1134
|
+
[key: string]: any;
|
|
1135
|
+
};
|
|
1136
|
+
constructor(map?: {
|
|
1137
|
+
[key: string]: any;
|
|
1138
|
+
});
|
|
1139
|
+
}
|
|
1140
|
+
export declare class ListChunksRequest extends $tea.Model {
|
|
1141
|
+
fields?: string[];
|
|
1142
|
+
/**
|
|
1143
|
+
* @example
|
|
1144
|
+
* file_5f03dfea56da4050ab68d61871fc4cb3_10151493
|
|
1145
|
+
*/
|
|
1146
|
+
filed?: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* @remarks
|
|
1149
|
+
* This parameter is required.
|
|
1150
|
+
*
|
|
1151
|
+
* @example
|
|
1152
|
+
* otoru9en4v
|
|
1153
|
+
*/
|
|
1154
|
+
indexId?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* @example
|
|
1157
|
+
* 1
|
|
1158
|
+
*/
|
|
1159
|
+
pageNum?: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* @example
|
|
1162
|
+
* 10
|
|
1163
|
+
*/
|
|
1164
|
+
pageSize?: number;
|
|
1165
|
+
static names(): {
|
|
1166
|
+
[key: string]: string;
|
|
1167
|
+
};
|
|
1168
|
+
static types(): {
|
|
1169
|
+
[key: string]: any;
|
|
1170
|
+
};
|
|
1171
|
+
constructor(map?: {
|
|
1172
|
+
[key: string]: any;
|
|
1173
|
+
});
|
|
1174
|
+
}
|
|
1175
|
+
export declare class ListChunksResponseBody extends $tea.Model {
|
|
1176
|
+
/**
|
|
1177
|
+
* @example
|
|
1178
|
+
* Index.InvalidParameter
|
|
1179
|
+
*/
|
|
1180
|
+
code?: string;
|
|
1181
|
+
data?: ListChunksResponseBodyData;
|
|
1182
|
+
/**
|
|
1183
|
+
* @example
|
|
1184
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
1185
|
+
*/
|
|
1186
|
+
message?: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* @remarks
|
|
1189
|
+
* Id of the request
|
|
1190
|
+
*
|
|
1191
|
+
* @example
|
|
1192
|
+
* 8F97A63B-55F1-527F-9D6E-467B6A7E8CF1
|
|
829
1193
|
*/
|
|
830
1194
|
requestId?: string;
|
|
831
1195
|
/**
|
|
@@ -1037,6 +1401,52 @@ export declare class ListIndicesResponse extends $tea.Model {
|
|
|
1037
1401
|
[key: string]: any;
|
|
1038
1402
|
});
|
|
1039
1403
|
}
|
|
1404
|
+
export declare class ListPublishedAgentRequest extends $tea.Model {
|
|
1405
|
+
pageNo?: number;
|
|
1406
|
+
pageSize?: number;
|
|
1407
|
+
static names(): {
|
|
1408
|
+
[key: string]: string;
|
|
1409
|
+
};
|
|
1410
|
+
static types(): {
|
|
1411
|
+
[key: string]: any;
|
|
1412
|
+
};
|
|
1413
|
+
constructor(map?: {
|
|
1414
|
+
[key: string]: any;
|
|
1415
|
+
});
|
|
1416
|
+
}
|
|
1417
|
+
export declare class ListPublishedAgentResponseBody extends $tea.Model {
|
|
1418
|
+
code?: string;
|
|
1419
|
+
data?: ListPublishedAgentResponseBodyData;
|
|
1420
|
+
httpStatusCode?: number;
|
|
1421
|
+
message?: string;
|
|
1422
|
+
requestId?: string;
|
|
1423
|
+
success?: string;
|
|
1424
|
+
static names(): {
|
|
1425
|
+
[key: string]: string;
|
|
1426
|
+
};
|
|
1427
|
+
static types(): {
|
|
1428
|
+
[key: string]: any;
|
|
1429
|
+
};
|
|
1430
|
+
constructor(map?: {
|
|
1431
|
+
[key: string]: any;
|
|
1432
|
+
});
|
|
1433
|
+
}
|
|
1434
|
+
export declare class ListPublishedAgentResponse extends $tea.Model {
|
|
1435
|
+
headers?: {
|
|
1436
|
+
[key: string]: string;
|
|
1437
|
+
};
|
|
1438
|
+
statusCode?: number;
|
|
1439
|
+
body?: ListPublishedAgentResponseBody;
|
|
1440
|
+
static names(): {
|
|
1441
|
+
[key: string]: string;
|
|
1442
|
+
};
|
|
1443
|
+
static types(): {
|
|
1444
|
+
[key: string]: any;
|
|
1445
|
+
};
|
|
1446
|
+
constructor(map?: {
|
|
1447
|
+
[key: string]: any;
|
|
1448
|
+
});
|
|
1449
|
+
}
|
|
1040
1450
|
export declare class RetrieveRequest extends $tea.Model {
|
|
1041
1451
|
/**
|
|
1042
1452
|
* @example
|
|
@@ -1400,6 +1810,86 @@ export declare class SubmitIndexJobResponse extends $tea.Model {
|
|
|
1400
1810
|
[key: string]: any;
|
|
1401
1811
|
});
|
|
1402
1812
|
}
|
|
1813
|
+
export declare class UpdateAndPublishAgentRequest extends $tea.Model {
|
|
1814
|
+
applicationConfig?: UpdateAndPublishAgentRequestApplicationConfig;
|
|
1815
|
+
instructions?: string;
|
|
1816
|
+
modelId?: string;
|
|
1817
|
+
name?: string;
|
|
1818
|
+
static names(): {
|
|
1819
|
+
[key: string]: string;
|
|
1820
|
+
};
|
|
1821
|
+
static types(): {
|
|
1822
|
+
[key: string]: any;
|
|
1823
|
+
};
|
|
1824
|
+
constructor(map?: {
|
|
1825
|
+
[key: string]: any;
|
|
1826
|
+
});
|
|
1827
|
+
}
|
|
1828
|
+
export declare class UpdateAndPublishAgentShrinkRequest extends $tea.Model {
|
|
1829
|
+
applicationConfigShrink?: string;
|
|
1830
|
+
instructions?: string;
|
|
1831
|
+
modelId?: string;
|
|
1832
|
+
name?: string;
|
|
1833
|
+
static names(): {
|
|
1834
|
+
[key: string]: string;
|
|
1835
|
+
};
|
|
1836
|
+
static types(): {
|
|
1837
|
+
[key: string]: any;
|
|
1838
|
+
};
|
|
1839
|
+
constructor(map?: {
|
|
1840
|
+
[key: string]: any;
|
|
1841
|
+
});
|
|
1842
|
+
}
|
|
1843
|
+
export declare class UpdateAndPublishAgentResponseBody extends $tea.Model {
|
|
1844
|
+
code?: string;
|
|
1845
|
+
data?: string;
|
|
1846
|
+
httpStatusCode?: number;
|
|
1847
|
+
message?: string;
|
|
1848
|
+
requestId?: string;
|
|
1849
|
+
success?: boolean;
|
|
1850
|
+
static names(): {
|
|
1851
|
+
[key: string]: string;
|
|
1852
|
+
};
|
|
1853
|
+
static types(): {
|
|
1854
|
+
[key: string]: any;
|
|
1855
|
+
};
|
|
1856
|
+
constructor(map?: {
|
|
1857
|
+
[key: string]: any;
|
|
1858
|
+
});
|
|
1859
|
+
}
|
|
1860
|
+
export declare class UpdateAndPublishAgentResponse extends $tea.Model {
|
|
1861
|
+
headers?: {
|
|
1862
|
+
[key: string]: string;
|
|
1863
|
+
};
|
|
1864
|
+
statusCode?: number;
|
|
1865
|
+
body?: UpdateAndPublishAgentResponseBody;
|
|
1866
|
+
static names(): {
|
|
1867
|
+
[key: string]: string;
|
|
1868
|
+
};
|
|
1869
|
+
static types(): {
|
|
1870
|
+
[key: string]: any;
|
|
1871
|
+
};
|
|
1872
|
+
constructor(map?: {
|
|
1873
|
+
[key: string]: any;
|
|
1874
|
+
});
|
|
1875
|
+
}
|
|
1876
|
+
export declare class AddCategoryResponseBodyData extends $tea.Model {
|
|
1877
|
+
/**
|
|
1878
|
+
* @example
|
|
1879
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
1880
|
+
*/
|
|
1881
|
+
categoryId?: string;
|
|
1882
|
+
categoryName?: string;
|
|
1883
|
+
static names(): {
|
|
1884
|
+
[key: string]: string;
|
|
1885
|
+
};
|
|
1886
|
+
static types(): {
|
|
1887
|
+
[key: string]: any;
|
|
1888
|
+
};
|
|
1889
|
+
constructor(map?: {
|
|
1890
|
+
[key: string]: any;
|
|
1891
|
+
});
|
|
1892
|
+
}
|
|
1403
1893
|
export declare class AddFileResponseBodyData extends $tea.Model {
|
|
1404
1894
|
/**
|
|
1405
1895
|
* @example
|
|
@@ -1470,12 +1960,12 @@ export declare class ApplyFileUploadLeaseResponseBodyData extends $tea.Model {
|
|
|
1470
1960
|
[key: string]: any;
|
|
1471
1961
|
});
|
|
1472
1962
|
}
|
|
1473
|
-
export declare class
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1963
|
+
export declare class CreateAndPulishAgentRequestApplicationConfigHistoryConfig extends $tea.Model {
|
|
1964
|
+
enableAdbRecord?: boolean;
|
|
1965
|
+
enableRecord?: boolean;
|
|
1966
|
+
instanceId?: string;
|
|
1967
|
+
region?: string;
|
|
1968
|
+
storeCode?: string;
|
|
1479
1969
|
static names(): {
|
|
1480
1970
|
[key: string]: string;
|
|
1481
1971
|
};
|
|
@@ -1486,12 +1976,8 @@ export declare class CreateIndexRequestColumns extends $tea.Model {
|
|
|
1486
1976
|
[key: string]: any;
|
|
1487
1977
|
});
|
|
1488
1978
|
}
|
|
1489
|
-
export declare class
|
|
1490
|
-
|
|
1491
|
-
* @example
|
|
1492
|
-
* jkurxhju6b
|
|
1493
|
-
*/
|
|
1494
|
-
id?: string;
|
|
1979
|
+
export declare class CreateAndPulishAgentRequestApplicationConfigLongTermMemory extends $tea.Model {
|
|
1980
|
+
enable?: boolean;
|
|
1495
1981
|
static names(): {
|
|
1496
1982
|
[key: string]: string;
|
|
1497
1983
|
};
|
|
@@ -1502,12 +1988,10 @@ export declare class CreateIndexResponseBodyData extends $tea.Model {
|
|
|
1502
1988
|
[key: string]: any;
|
|
1503
1989
|
});
|
|
1504
1990
|
}
|
|
1505
|
-
export declare class
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
*/
|
|
1510
|
-
fileId?: string;
|
|
1991
|
+
export declare class CreateAndPulishAgentRequestApplicationConfigParameters extends $tea.Model {
|
|
1992
|
+
dialogRound?: number;
|
|
1993
|
+
maxTokens?: number;
|
|
1994
|
+
temperature?: number;
|
|
1511
1995
|
static names(): {
|
|
1512
1996
|
[key: string]: string;
|
|
1513
1997
|
};
|
|
@@ -1518,8 +2002,11 @@ export declare class DeleteFileResponseBodyData extends $tea.Model {
|
|
|
1518
2002
|
[key: string]: any;
|
|
1519
2003
|
});
|
|
1520
2004
|
}
|
|
1521
|
-
export declare class
|
|
1522
|
-
|
|
2005
|
+
export declare class CreateAndPulishAgentRequestApplicationConfigRagConfig extends $tea.Model {
|
|
2006
|
+
enableCitation?: boolean;
|
|
2007
|
+
enableSearch?: boolean;
|
|
2008
|
+
knowledgeBaseCodeList?: string[];
|
|
2009
|
+
topK?: number;
|
|
1523
2010
|
static names(): {
|
|
1524
2011
|
[key: string]: string;
|
|
1525
2012
|
};
|
|
@@ -1530,47 +2017,8 @@ export declare class DeleteIndexDocumentResponseBodyData extends $tea.Model {
|
|
|
1530
2017
|
[key: string]: any;
|
|
1531
2018
|
});
|
|
1532
2019
|
}
|
|
1533
|
-
export declare class
|
|
1534
|
-
|
|
1535
|
-
* @example
|
|
1536
|
-
* cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
1537
|
-
*/
|
|
1538
|
-
categoryId?: string;
|
|
1539
|
-
/**
|
|
1540
|
-
* @example
|
|
1541
|
-
* 2024-05-26 12:45:43
|
|
1542
|
-
*/
|
|
1543
|
-
createTime?: string;
|
|
1544
|
-
/**
|
|
1545
|
-
* @example
|
|
1546
|
-
* file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
|
|
1547
|
-
*/
|
|
1548
|
-
fileId?: string;
|
|
1549
|
-
/**
|
|
1550
|
-
* @example
|
|
1551
|
-
* test.pdf
|
|
1552
|
-
*/
|
|
1553
|
-
fileName?: string;
|
|
1554
|
-
/**
|
|
1555
|
-
* @example
|
|
1556
|
-
* pdf
|
|
1557
|
-
*/
|
|
1558
|
-
fileType?: string;
|
|
1559
|
-
/**
|
|
1560
|
-
* @example
|
|
1561
|
-
* DASHSCOPE_DOCMIND
|
|
1562
|
-
*/
|
|
1563
|
-
parser?: string;
|
|
1564
|
-
/**
|
|
1565
|
-
* @example
|
|
1566
|
-
* 1234
|
|
1567
|
-
*/
|
|
1568
|
-
sizeInBytes?: number;
|
|
1569
|
-
/**
|
|
1570
|
-
* @example
|
|
1571
|
-
* PARSE_SUCCESS
|
|
1572
|
-
*/
|
|
1573
|
-
status?: string;
|
|
2020
|
+
export declare class CreateAndPulishAgentRequestApplicationConfigSecurityConfig extends $tea.Model {
|
|
2021
|
+
processingStrategy?: string;
|
|
1574
2022
|
static names(): {
|
|
1575
2023
|
[key: string]: string;
|
|
1576
2024
|
};
|
|
@@ -1581,7 +2029,176 @@ export declare class DescribeFileResponseBodyData extends $tea.Model {
|
|
|
1581
2029
|
[key: string]: any;
|
|
1582
2030
|
});
|
|
1583
2031
|
}
|
|
1584
|
-
export declare class
|
|
2032
|
+
export declare class CreateAndPulishAgentRequestApplicationConfigTools extends $tea.Model {
|
|
2033
|
+
type?: string;
|
|
2034
|
+
static names(): {
|
|
2035
|
+
[key: string]: string;
|
|
2036
|
+
};
|
|
2037
|
+
static types(): {
|
|
2038
|
+
[key: string]: any;
|
|
2039
|
+
};
|
|
2040
|
+
constructor(map?: {
|
|
2041
|
+
[key: string]: any;
|
|
2042
|
+
});
|
|
2043
|
+
}
|
|
2044
|
+
export declare class CreateAndPulishAgentRequestApplicationConfigWorkFlows extends $tea.Model {
|
|
2045
|
+
type?: string;
|
|
2046
|
+
static names(): {
|
|
2047
|
+
[key: string]: string;
|
|
2048
|
+
};
|
|
2049
|
+
static types(): {
|
|
2050
|
+
[key: string]: any;
|
|
2051
|
+
};
|
|
2052
|
+
constructor(map?: {
|
|
2053
|
+
[key: string]: any;
|
|
2054
|
+
});
|
|
2055
|
+
}
|
|
2056
|
+
export declare class CreateAndPulishAgentRequestApplicationConfig extends $tea.Model {
|
|
2057
|
+
historyConfig?: CreateAndPulishAgentRequestApplicationConfigHistoryConfig;
|
|
2058
|
+
longTermMemory?: CreateAndPulishAgentRequestApplicationConfigLongTermMemory;
|
|
2059
|
+
parameters?: CreateAndPulishAgentRequestApplicationConfigParameters;
|
|
2060
|
+
ragConfig?: CreateAndPulishAgentRequestApplicationConfigRagConfig;
|
|
2061
|
+
securityConfig?: CreateAndPulishAgentRequestApplicationConfigSecurityConfig;
|
|
2062
|
+
tools?: CreateAndPulishAgentRequestApplicationConfigTools[];
|
|
2063
|
+
workFlows?: CreateAndPulishAgentRequestApplicationConfigWorkFlows[];
|
|
2064
|
+
static names(): {
|
|
2065
|
+
[key: string]: string;
|
|
2066
|
+
};
|
|
2067
|
+
static types(): {
|
|
2068
|
+
[key: string]: any;
|
|
2069
|
+
};
|
|
2070
|
+
constructor(map?: {
|
|
2071
|
+
[key: string]: any;
|
|
2072
|
+
});
|
|
2073
|
+
}
|
|
2074
|
+
export declare class CreateIndexRequestColumns extends $tea.Model {
|
|
2075
|
+
column?: string;
|
|
2076
|
+
isRecall?: boolean;
|
|
2077
|
+
isSearch?: boolean;
|
|
2078
|
+
name?: string;
|
|
2079
|
+
type?: string;
|
|
2080
|
+
static names(): {
|
|
2081
|
+
[key: string]: string;
|
|
2082
|
+
};
|
|
2083
|
+
static types(): {
|
|
2084
|
+
[key: string]: any;
|
|
2085
|
+
};
|
|
2086
|
+
constructor(map?: {
|
|
2087
|
+
[key: string]: any;
|
|
2088
|
+
});
|
|
2089
|
+
}
|
|
2090
|
+
export declare class CreateIndexResponseBodyData extends $tea.Model {
|
|
2091
|
+
/**
|
|
2092
|
+
* @example
|
|
2093
|
+
* jkurxhju6b
|
|
2094
|
+
*/
|
|
2095
|
+
id?: string;
|
|
2096
|
+
static names(): {
|
|
2097
|
+
[key: string]: string;
|
|
2098
|
+
};
|
|
2099
|
+
static types(): {
|
|
2100
|
+
[key: string]: any;
|
|
2101
|
+
};
|
|
2102
|
+
constructor(map?: {
|
|
2103
|
+
[key: string]: any;
|
|
2104
|
+
});
|
|
2105
|
+
}
|
|
2106
|
+
export declare class DeleteCategoryResponseBodyData extends $tea.Model {
|
|
2107
|
+
/**
|
|
2108
|
+
* @example
|
|
2109
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
2110
|
+
*/
|
|
2111
|
+
categoryId?: string;
|
|
2112
|
+
static names(): {
|
|
2113
|
+
[key: string]: string;
|
|
2114
|
+
};
|
|
2115
|
+
static types(): {
|
|
2116
|
+
[key: string]: any;
|
|
2117
|
+
};
|
|
2118
|
+
constructor(map?: {
|
|
2119
|
+
[key: string]: any;
|
|
2120
|
+
});
|
|
2121
|
+
}
|
|
2122
|
+
export declare class DeleteFileResponseBodyData extends $tea.Model {
|
|
2123
|
+
/**
|
|
2124
|
+
* @example
|
|
2125
|
+
* file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
|
|
2126
|
+
*/
|
|
2127
|
+
fileId?: string;
|
|
2128
|
+
static names(): {
|
|
2129
|
+
[key: string]: string;
|
|
2130
|
+
};
|
|
2131
|
+
static types(): {
|
|
2132
|
+
[key: string]: any;
|
|
2133
|
+
};
|
|
2134
|
+
constructor(map?: {
|
|
2135
|
+
[key: string]: any;
|
|
2136
|
+
});
|
|
2137
|
+
}
|
|
2138
|
+
export declare class DeleteIndexDocumentResponseBodyData extends $tea.Model {
|
|
2139
|
+
deletedDocument?: string[];
|
|
2140
|
+
static names(): {
|
|
2141
|
+
[key: string]: string;
|
|
2142
|
+
};
|
|
2143
|
+
static types(): {
|
|
2144
|
+
[key: string]: any;
|
|
2145
|
+
};
|
|
2146
|
+
constructor(map?: {
|
|
2147
|
+
[key: string]: any;
|
|
2148
|
+
});
|
|
2149
|
+
}
|
|
2150
|
+
export declare class DescribeFileResponseBodyData extends $tea.Model {
|
|
2151
|
+
/**
|
|
2152
|
+
* @example
|
|
2153
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
2154
|
+
*/
|
|
2155
|
+
categoryId?: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* @example
|
|
2158
|
+
* 2024-05-26 12:45:43
|
|
2159
|
+
*/
|
|
2160
|
+
createTime?: string;
|
|
2161
|
+
/**
|
|
2162
|
+
* @example
|
|
2163
|
+
* file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
|
|
2164
|
+
*/
|
|
2165
|
+
fileId?: string;
|
|
2166
|
+
/**
|
|
2167
|
+
* @example
|
|
2168
|
+
* test.pdf
|
|
2169
|
+
*/
|
|
2170
|
+
fileName?: string;
|
|
2171
|
+
/**
|
|
2172
|
+
* @example
|
|
2173
|
+
* pdf
|
|
2174
|
+
*/
|
|
2175
|
+
fileType?: string;
|
|
2176
|
+
/**
|
|
2177
|
+
* @example
|
|
2178
|
+
* DASHSCOPE_DOCMIND
|
|
2179
|
+
*/
|
|
2180
|
+
parser?: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* @example
|
|
2183
|
+
* 1234
|
|
2184
|
+
*/
|
|
2185
|
+
sizeInBytes?: number;
|
|
2186
|
+
/**
|
|
2187
|
+
* @example
|
|
2188
|
+
* PARSE_SUCCESS
|
|
2189
|
+
*/
|
|
2190
|
+
status?: string;
|
|
2191
|
+
static names(): {
|
|
2192
|
+
[key: string]: string;
|
|
2193
|
+
};
|
|
2194
|
+
static types(): {
|
|
2195
|
+
[key: string]: any;
|
|
2196
|
+
};
|
|
2197
|
+
constructor(map?: {
|
|
2198
|
+
[key: string]: any;
|
|
2199
|
+
});
|
|
2200
|
+
}
|
|
2201
|
+
export declare class GetIndexJobStatusResponseBodyDataDocuments extends $tea.Model {
|
|
1585
2202
|
/**
|
|
1586
2203
|
* @example
|
|
1587
2204
|
* Index.Document.ChunkError
|
|
@@ -1624,7 +2241,198 @@ export declare class GetIndexJobStatusResponseBodyData extends $tea.Model {
|
|
|
1624
2241
|
* @example
|
|
1625
2242
|
* PENDING
|
|
1626
2243
|
*/
|
|
1627
|
-
status?: string;
|
|
2244
|
+
status?: string;
|
|
2245
|
+
static names(): {
|
|
2246
|
+
[key: string]: string;
|
|
2247
|
+
};
|
|
2248
|
+
static types(): {
|
|
2249
|
+
[key: string]: any;
|
|
2250
|
+
};
|
|
2251
|
+
constructor(map?: {
|
|
2252
|
+
[key: string]: any;
|
|
2253
|
+
});
|
|
2254
|
+
}
|
|
2255
|
+
export declare class GetPublishedAgentResponseBodyDataApplicationConfigHistoryConfig extends $tea.Model {
|
|
2256
|
+
enableAdbRecord?: boolean;
|
|
2257
|
+
enableRecord?: boolean;
|
|
2258
|
+
instanceId?: string;
|
|
2259
|
+
region?: string;
|
|
2260
|
+
storeCode?: string;
|
|
2261
|
+
static names(): {
|
|
2262
|
+
[key: string]: string;
|
|
2263
|
+
};
|
|
2264
|
+
static types(): {
|
|
2265
|
+
[key: string]: any;
|
|
2266
|
+
};
|
|
2267
|
+
constructor(map?: {
|
|
2268
|
+
[key: string]: any;
|
|
2269
|
+
});
|
|
2270
|
+
}
|
|
2271
|
+
export declare class GetPublishedAgentResponseBodyDataApplicationConfigLongTermMemory extends $tea.Model {
|
|
2272
|
+
enable?: boolean;
|
|
2273
|
+
static names(): {
|
|
2274
|
+
[key: string]: string;
|
|
2275
|
+
};
|
|
2276
|
+
static types(): {
|
|
2277
|
+
[key: string]: any;
|
|
2278
|
+
};
|
|
2279
|
+
constructor(map?: {
|
|
2280
|
+
[key: string]: any;
|
|
2281
|
+
});
|
|
2282
|
+
}
|
|
2283
|
+
export declare class GetPublishedAgentResponseBodyDataApplicationConfigParameters extends $tea.Model {
|
|
2284
|
+
dialogRound?: number;
|
|
2285
|
+
maxTokens?: number;
|
|
2286
|
+
temperature?: number;
|
|
2287
|
+
static names(): {
|
|
2288
|
+
[key: string]: string;
|
|
2289
|
+
};
|
|
2290
|
+
static types(): {
|
|
2291
|
+
[key: string]: any;
|
|
2292
|
+
};
|
|
2293
|
+
constructor(map?: {
|
|
2294
|
+
[key: string]: any;
|
|
2295
|
+
});
|
|
2296
|
+
}
|
|
2297
|
+
export declare class GetPublishedAgentResponseBodyDataApplicationConfigRagConfig extends $tea.Model {
|
|
2298
|
+
enableCitation?: boolean;
|
|
2299
|
+
enableSearch?: boolean;
|
|
2300
|
+
knowledgeBaseCodeList?: string[];
|
|
2301
|
+
topK?: number;
|
|
2302
|
+
static names(): {
|
|
2303
|
+
[key: string]: string;
|
|
2304
|
+
};
|
|
2305
|
+
static types(): {
|
|
2306
|
+
[key: string]: any;
|
|
2307
|
+
};
|
|
2308
|
+
constructor(map?: {
|
|
2309
|
+
[key: string]: any;
|
|
2310
|
+
});
|
|
2311
|
+
}
|
|
2312
|
+
export declare class GetPublishedAgentResponseBodyDataApplicationConfigSecurity extends $tea.Model {
|
|
2313
|
+
processingStrategy?: string;
|
|
2314
|
+
static names(): {
|
|
2315
|
+
[key: string]: string;
|
|
2316
|
+
};
|
|
2317
|
+
static types(): {
|
|
2318
|
+
[key: string]: any;
|
|
2319
|
+
};
|
|
2320
|
+
constructor(map?: {
|
|
2321
|
+
[key: string]: any;
|
|
2322
|
+
});
|
|
2323
|
+
}
|
|
2324
|
+
export declare class GetPublishedAgentResponseBodyDataApplicationConfigTools extends $tea.Model {
|
|
2325
|
+
type?: string;
|
|
2326
|
+
static names(): {
|
|
2327
|
+
[key: string]: string;
|
|
2328
|
+
};
|
|
2329
|
+
static types(): {
|
|
2330
|
+
[key: string]: any;
|
|
2331
|
+
};
|
|
2332
|
+
constructor(map?: {
|
|
2333
|
+
[key: string]: any;
|
|
2334
|
+
});
|
|
2335
|
+
}
|
|
2336
|
+
export declare class GetPublishedAgentResponseBodyDataApplicationConfigWorkFlows extends $tea.Model {
|
|
2337
|
+
type?: string;
|
|
2338
|
+
static names(): {
|
|
2339
|
+
[key: string]: string;
|
|
2340
|
+
};
|
|
2341
|
+
static types(): {
|
|
2342
|
+
[key: string]: any;
|
|
2343
|
+
};
|
|
2344
|
+
constructor(map?: {
|
|
2345
|
+
[key: string]: any;
|
|
2346
|
+
});
|
|
2347
|
+
}
|
|
2348
|
+
export declare class GetPublishedAgentResponseBodyDataApplicationConfig extends $tea.Model {
|
|
2349
|
+
historyConfig?: GetPublishedAgentResponseBodyDataApplicationConfigHistoryConfig;
|
|
2350
|
+
longTermMemory?: GetPublishedAgentResponseBodyDataApplicationConfigLongTermMemory;
|
|
2351
|
+
parameters?: GetPublishedAgentResponseBodyDataApplicationConfigParameters;
|
|
2352
|
+
ragConfig?: GetPublishedAgentResponseBodyDataApplicationConfigRagConfig;
|
|
2353
|
+
security?: GetPublishedAgentResponseBodyDataApplicationConfigSecurity;
|
|
2354
|
+
tools?: GetPublishedAgentResponseBodyDataApplicationConfigTools[];
|
|
2355
|
+
workFlows?: GetPublishedAgentResponseBodyDataApplicationConfigWorkFlows[];
|
|
2356
|
+
static names(): {
|
|
2357
|
+
[key: string]: string;
|
|
2358
|
+
};
|
|
2359
|
+
static types(): {
|
|
2360
|
+
[key: string]: any;
|
|
2361
|
+
};
|
|
2362
|
+
constructor(map?: {
|
|
2363
|
+
[key: string]: any;
|
|
2364
|
+
});
|
|
2365
|
+
}
|
|
2366
|
+
export declare class GetPublishedAgentResponseBodyData extends $tea.Model {
|
|
2367
|
+
applicationConfig?: GetPublishedAgentResponseBodyDataApplicationConfig;
|
|
2368
|
+
code?: string;
|
|
2369
|
+
instructions?: string;
|
|
2370
|
+
modelId?: string;
|
|
2371
|
+
name?: string;
|
|
2372
|
+
static names(): {
|
|
2373
|
+
[key: string]: string;
|
|
2374
|
+
};
|
|
2375
|
+
static types(): {
|
|
2376
|
+
[key: string]: any;
|
|
2377
|
+
};
|
|
2378
|
+
constructor(map?: {
|
|
2379
|
+
[key: string]: any;
|
|
2380
|
+
});
|
|
2381
|
+
}
|
|
2382
|
+
export declare class ListCategoryResponseBodyDataCategoryList extends $tea.Model {
|
|
2383
|
+
/**
|
|
2384
|
+
* @example
|
|
2385
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
2386
|
+
*/
|
|
2387
|
+
categoryId?: string;
|
|
2388
|
+
categoryName?: string;
|
|
2389
|
+
/**
|
|
2390
|
+
* @example
|
|
2391
|
+
* UNSTRUCTURED
|
|
2392
|
+
*/
|
|
2393
|
+
categoryType?: string;
|
|
2394
|
+
/**
|
|
2395
|
+
* @example
|
|
2396
|
+
* true
|
|
2397
|
+
*/
|
|
2398
|
+
isDefault?: boolean;
|
|
2399
|
+
/**
|
|
2400
|
+
* @example
|
|
2401
|
+
* cate_addd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
2402
|
+
*/
|
|
2403
|
+
parentCategoryId?: string;
|
|
2404
|
+
static names(): {
|
|
2405
|
+
[key: string]: string;
|
|
2406
|
+
};
|
|
2407
|
+
static types(): {
|
|
2408
|
+
[key: string]: any;
|
|
2409
|
+
};
|
|
2410
|
+
constructor(map?: {
|
|
2411
|
+
[key: string]: any;
|
|
2412
|
+
});
|
|
2413
|
+
}
|
|
2414
|
+
export declare class ListCategoryResponseBodyData extends $tea.Model {
|
|
2415
|
+
categoryList?: ListCategoryResponseBodyDataCategoryList[];
|
|
2416
|
+
/**
|
|
2417
|
+
* @example
|
|
2418
|
+
* true
|
|
2419
|
+
*/
|
|
2420
|
+
hasNext?: boolean;
|
|
2421
|
+
/**
|
|
2422
|
+
* @example
|
|
2423
|
+
* 20
|
|
2424
|
+
*/
|
|
2425
|
+
maxResults?: number;
|
|
2426
|
+
/**
|
|
2427
|
+
* @example
|
|
2428
|
+
* AAAAALHWGpGoYCcYMxiFfmlhvh7Z4G8jiXR6IjHYd+M9WQVJ
|
|
2429
|
+
*/
|
|
2430
|
+
nextToken?: string;
|
|
2431
|
+
/**
|
|
2432
|
+
* @example
|
|
2433
|
+
* 20
|
|
2434
|
+
*/
|
|
2435
|
+
totalCount?: number;
|
|
1628
2436
|
static names(): {
|
|
1629
2437
|
[key: string]: string;
|
|
1630
2438
|
};
|
|
@@ -1858,6 +2666,148 @@ export declare class ListIndicesResponseBodyData extends $tea.Model {
|
|
|
1858
2666
|
[key: string]: any;
|
|
1859
2667
|
});
|
|
1860
2668
|
}
|
|
2669
|
+
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigHistoryConfig extends $tea.Model {
|
|
2670
|
+
enableAdbRecord?: boolean;
|
|
2671
|
+
enableRecord?: boolean;
|
|
2672
|
+
instanceId?: string;
|
|
2673
|
+
region?: string;
|
|
2674
|
+
storeCode?: string;
|
|
2675
|
+
static names(): {
|
|
2676
|
+
[key: string]: string;
|
|
2677
|
+
};
|
|
2678
|
+
static types(): {
|
|
2679
|
+
[key: string]: any;
|
|
2680
|
+
};
|
|
2681
|
+
constructor(map?: {
|
|
2682
|
+
[key: string]: any;
|
|
2683
|
+
});
|
|
2684
|
+
}
|
|
2685
|
+
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigLongTermMemory extends $tea.Model {
|
|
2686
|
+
enable?: boolean;
|
|
2687
|
+
static names(): {
|
|
2688
|
+
[key: string]: string;
|
|
2689
|
+
};
|
|
2690
|
+
static types(): {
|
|
2691
|
+
[key: string]: any;
|
|
2692
|
+
};
|
|
2693
|
+
constructor(map?: {
|
|
2694
|
+
[key: string]: any;
|
|
2695
|
+
});
|
|
2696
|
+
}
|
|
2697
|
+
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigParameters extends $tea.Model {
|
|
2698
|
+
dialogRound?: number;
|
|
2699
|
+
maxTokens?: number;
|
|
2700
|
+
temperature?: number;
|
|
2701
|
+
static names(): {
|
|
2702
|
+
[key: string]: string;
|
|
2703
|
+
};
|
|
2704
|
+
static types(): {
|
|
2705
|
+
[key: string]: any;
|
|
2706
|
+
};
|
|
2707
|
+
constructor(map?: {
|
|
2708
|
+
[key: string]: any;
|
|
2709
|
+
});
|
|
2710
|
+
}
|
|
2711
|
+
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigRagConfig extends $tea.Model {
|
|
2712
|
+
enableCitation?: boolean;
|
|
2713
|
+
enableSearch?: boolean;
|
|
2714
|
+
knowledgeBaseCodeList?: string[];
|
|
2715
|
+
topK?: number;
|
|
2716
|
+
static names(): {
|
|
2717
|
+
[key: string]: string;
|
|
2718
|
+
};
|
|
2719
|
+
static types(): {
|
|
2720
|
+
[key: string]: any;
|
|
2721
|
+
};
|
|
2722
|
+
constructor(map?: {
|
|
2723
|
+
[key: string]: any;
|
|
2724
|
+
});
|
|
2725
|
+
}
|
|
2726
|
+
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigSecurity extends $tea.Model {
|
|
2727
|
+
processingStrategy?: string;
|
|
2728
|
+
static names(): {
|
|
2729
|
+
[key: string]: string;
|
|
2730
|
+
};
|
|
2731
|
+
static types(): {
|
|
2732
|
+
[key: string]: any;
|
|
2733
|
+
};
|
|
2734
|
+
constructor(map?: {
|
|
2735
|
+
[key: string]: any;
|
|
2736
|
+
});
|
|
2737
|
+
}
|
|
2738
|
+
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigTools extends $tea.Model {
|
|
2739
|
+
type?: string;
|
|
2740
|
+
static names(): {
|
|
2741
|
+
[key: string]: string;
|
|
2742
|
+
};
|
|
2743
|
+
static types(): {
|
|
2744
|
+
[key: string]: any;
|
|
2745
|
+
};
|
|
2746
|
+
constructor(map?: {
|
|
2747
|
+
[key: string]: any;
|
|
2748
|
+
});
|
|
2749
|
+
}
|
|
2750
|
+
export declare class ListPublishedAgentResponseBodyDataListApplicationConfigWorkFlows extends $tea.Model {
|
|
2751
|
+
type?: string;
|
|
2752
|
+
static names(): {
|
|
2753
|
+
[key: string]: string;
|
|
2754
|
+
};
|
|
2755
|
+
static types(): {
|
|
2756
|
+
[key: string]: any;
|
|
2757
|
+
};
|
|
2758
|
+
constructor(map?: {
|
|
2759
|
+
[key: string]: any;
|
|
2760
|
+
});
|
|
2761
|
+
}
|
|
2762
|
+
export declare class ListPublishedAgentResponseBodyDataListApplicationConfig extends $tea.Model {
|
|
2763
|
+
historyConfig?: ListPublishedAgentResponseBodyDataListApplicationConfigHistoryConfig;
|
|
2764
|
+
longTermMemory?: ListPublishedAgentResponseBodyDataListApplicationConfigLongTermMemory;
|
|
2765
|
+
parameters?: ListPublishedAgentResponseBodyDataListApplicationConfigParameters;
|
|
2766
|
+
ragConfig?: ListPublishedAgentResponseBodyDataListApplicationConfigRagConfig;
|
|
2767
|
+
security?: ListPublishedAgentResponseBodyDataListApplicationConfigSecurity;
|
|
2768
|
+
tools?: ListPublishedAgentResponseBodyDataListApplicationConfigTools[];
|
|
2769
|
+
workFlows?: ListPublishedAgentResponseBodyDataListApplicationConfigWorkFlows[];
|
|
2770
|
+
static names(): {
|
|
2771
|
+
[key: string]: string;
|
|
2772
|
+
};
|
|
2773
|
+
static types(): {
|
|
2774
|
+
[key: string]: any;
|
|
2775
|
+
};
|
|
2776
|
+
constructor(map?: {
|
|
2777
|
+
[key: string]: any;
|
|
2778
|
+
});
|
|
2779
|
+
}
|
|
2780
|
+
export declare class ListPublishedAgentResponseBodyDataList extends $tea.Model {
|
|
2781
|
+
applicationConfig?: ListPublishedAgentResponseBodyDataListApplicationConfig;
|
|
2782
|
+
code?: string;
|
|
2783
|
+
instructions?: string;
|
|
2784
|
+
modelId?: string;
|
|
2785
|
+
name?: string;
|
|
2786
|
+
static names(): {
|
|
2787
|
+
[key: string]: string;
|
|
2788
|
+
};
|
|
2789
|
+
static types(): {
|
|
2790
|
+
[key: string]: any;
|
|
2791
|
+
};
|
|
2792
|
+
constructor(map?: {
|
|
2793
|
+
[key: string]: any;
|
|
2794
|
+
});
|
|
2795
|
+
}
|
|
2796
|
+
export declare class ListPublishedAgentResponseBodyData extends $tea.Model {
|
|
2797
|
+
list?: ListPublishedAgentResponseBodyDataList[];
|
|
2798
|
+
pageNo?: number;
|
|
2799
|
+
pageSize?: number;
|
|
2800
|
+
total?: number;
|
|
2801
|
+
static names(): {
|
|
2802
|
+
[key: string]: string;
|
|
2803
|
+
};
|
|
2804
|
+
static types(): {
|
|
2805
|
+
[key: string]: any;
|
|
2806
|
+
};
|
|
2807
|
+
constructor(map?: {
|
|
2808
|
+
[key: string]: any;
|
|
2809
|
+
});
|
|
2810
|
+
}
|
|
1861
2811
|
export declare class RetrieveRequestRerank extends $tea.Model {
|
|
1862
2812
|
/**
|
|
1863
2813
|
* @example
|
|
@@ -1953,11 +2903,136 @@ export declare class SubmitIndexJobResponseBodyData extends $tea.Model {
|
|
|
1953
2903
|
[key: string]: any;
|
|
1954
2904
|
});
|
|
1955
2905
|
}
|
|
2906
|
+
export declare class UpdateAndPublishAgentRequestApplicationConfigHistoryConfig extends $tea.Model {
|
|
2907
|
+
enableAdbRecord?: boolean;
|
|
2908
|
+
enableRecord?: boolean;
|
|
2909
|
+
instanceId?: string;
|
|
2910
|
+
region?: string;
|
|
2911
|
+
storeCode?: string;
|
|
2912
|
+
static names(): {
|
|
2913
|
+
[key: string]: string;
|
|
2914
|
+
};
|
|
2915
|
+
static types(): {
|
|
2916
|
+
[key: string]: any;
|
|
2917
|
+
};
|
|
2918
|
+
constructor(map?: {
|
|
2919
|
+
[key: string]: any;
|
|
2920
|
+
});
|
|
2921
|
+
}
|
|
2922
|
+
export declare class UpdateAndPublishAgentRequestApplicationConfigLongTermMemory extends $tea.Model {
|
|
2923
|
+
enable?: boolean;
|
|
2924
|
+
static names(): {
|
|
2925
|
+
[key: string]: string;
|
|
2926
|
+
};
|
|
2927
|
+
static types(): {
|
|
2928
|
+
[key: string]: any;
|
|
2929
|
+
};
|
|
2930
|
+
constructor(map?: {
|
|
2931
|
+
[key: string]: any;
|
|
2932
|
+
});
|
|
2933
|
+
}
|
|
2934
|
+
export declare class UpdateAndPublishAgentRequestApplicationConfigParameters extends $tea.Model {
|
|
2935
|
+
dialogRound?: number;
|
|
2936
|
+
maxTokens?: number;
|
|
2937
|
+
temperature?: number;
|
|
2938
|
+
static names(): {
|
|
2939
|
+
[key: string]: string;
|
|
2940
|
+
};
|
|
2941
|
+
static types(): {
|
|
2942
|
+
[key: string]: any;
|
|
2943
|
+
};
|
|
2944
|
+
constructor(map?: {
|
|
2945
|
+
[key: string]: any;
|
|
2946
|
+
});
|
|
2947
|
+
}
|
|
2948
|
+
export declare class UpdateAndPublishAgentRequestApplicationConfigRagConfig extends $tea.Model {
|
|
2949
|
+
enableCitation?: boolean;
|
|
2950
|
+
enableSearch?: boolean;
|
|
2951
|
+
knowledgeBaseCodeList?: string[];
|
|
2952
|
+
topK?: number;
|
|
2953
|
+
static names(): {
|
|
2954
|
+
[key: string]: string;
|
|
2955
|
+
};
|
|
2956
|
+
static types(): {
|
|
2957
|
+
[key: string]: any;
|
|
2958
|
+
};
|
|
2959
|
+
constructor(map?: {
|
|
2960
|
+
[key: string]: any;
|
|
2961
|
+
});
|
|
2962
|
+
}
|
|
2963
|
+
export declare class UpdateAndPublishAgentRequestApplicationConfigSecurity extends $tea.Model {
|
|
2964
|
+
processingStrategy?: string;
|
|
2965
|
+
static names(): {
|
|
2966
|
+
[key: string]: string;
|
|
2967
|
+
};
|
|
2968
|
+
static types(): {
|
|
2969
|
+
[key: string]: any;
|
|
2970
|
+
};
|
|
2971
|
+
constructor(map?: {
|
|
2972
|
+
[key: string]: any;
|
|
2973
|
+
});
|
|
2974
|
+
}
|
|
2975
|
+
export declare class UpdateAndPublishAgentRequestApplicationConfigTools extends $tea.Model {
|
|
2976
|
+
type?: string;
|
|
2977
|
+
static names(): {
|
|
2978
|
+
[key: string]: string;
|
|
2979
|
+
};
|
|
2980
|
+
static types(): {
|
|
2981
|
+
[key: string]: any;
|
|
2982
|
+
};
|
|
2983
|
+
constructor(map?: {
|
|
2984
|
+
[key: string]: any;
|
|
2985
|
+
});
|
|
2986
|
+
}
|
|
2987
|
+
export declare class UpdateAndPublishAgentRequestApplicationConfigWorkFlows extends $tea.Model {
|
|
2988
|
+
type?: string;
|
|
2989
|
+
static names(): {
|
|
2990
|
+
[key: string]: string;
|
|
2991
|
+
};
|
|
2992
|
+
static types(): {
|
|
2993
|
+
[key: string]: any;
|
|
2994
|
+
};
|
|
2995
|
+
constructor(map?: {
|
|
2996
|
+
[key: string]: any;
|
|
2997
|
+
});
|
|
2998
|
+
}
|
|
2999
|
+
export declare class UpdateAndPublishAgentRequestApplicationConfig extends $tea.Model {
|
|
3000
|
+
historyConfig?: UpdateAndPublishAgentRequestApplicationConfigHistoryConfig;
|
|
3001
|
+
longTermMemory?: UpdateAndPublishAgentRequestApplicationConfigLongTermMemory;
|
|
3002
|
+
parameters?: UpdateAndPublishAgentRequestApplicationConfigParameters;
|
|
3003
|
+
ragConfig?: UpdateAndPublishAgentRequestApplicationConfigRagConfig;
|
|
3004
|
+
security?: UpdateAndPublishAgentRequestApplicationConfigSecurity;
|
|
3005
|
+
tools?: UpdateAndPublishAgentRequestApplicationConfigTools[];
|
|
3006
|
+
workFlows?: UpdateAndPublishAgentRequestApplicationConfigWorkFlows[];
|
|
3007
|
+
static names(): {
|
|
3008
|
+
[key: string]: string;
|
|
3009
|
+
};
|
|
3010
|
+
static types(): {
|
|
3011
|
+
[key: string]: any;
|
|
3012
|
+
};
|
|
3013
|
+
constructor(map?: {
|
|
3014
|
+
[key: string]: any;
|
|
3015
|
+
});
|
|
3016
|
+
}
|
|
1956
3017
|
export default class Client extends OpenApi {
|
|
1957
3018
|
constructor(config: $OpenApi.Config);
|
|
1958
3019
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
1959
3020
|
[key: string]: string;
|
|
1960
3021
|
}, endpoint: string): string;
|
|
3022
|
+
/**
|
|
3023
|
+
* @param request - AddCategoryRequest
|
|
3024
|
+
* @param headers - map
|
|
3025
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3026
|
+
* @returns AddCategoryResponse
|
|
3027
|
+
*/
|
|
3028
|
+
addCategoryWithOptions(WorkspaceId: string, request: AddCategoryRequest, headers: {
|
|
3029
|
+
[key: string]: string;
|
|
3030
|
+
}, runtime: $Util.RuntimeOptions): Promise<AddCategoryResponse>;
|
|
3031
|
+
/**
|
|
3032
|
+
* @param request - AddCategoryRequest
|
|
3033
|
+
* @returns AddCategoryResponse
|
|
3034
|
+
*/
|
|
3035
|
+
addCategory(WorkspaceId: string, request: AddCategoryRequest): Promise<AddCategoryResponse>;
|
|
1961
3036
|
/**
|
|
1962
3037
|
* 将临时上传的文档导入百炼数据中心,导入成功之后会自动触发文档解析。
|
|
1963
3038
|
*
|
|
@@ -1994,6 +3069,24 @@ export default class Client extends OpenApi {
|
|
|
1994
3069
|
* @returns ApplyFileUploadLeaseResponse
|
|
1995
3070
|
*/
|
|
1996
3071
|
applyFileUploadLease(CategoryId: string, WorkspaceId: string, request: ApplyFileUploadLeaseRequest): Promise<ApplyFileUploadLeaseResponse>;
|
|
3072
|
+
/**
|
|
3073
|
+
* 创建并发布智能体应用
|
|
3074
|
+
*
|
|
3075
|
+
* @param tmpReq - CreateAndPulishAgentRequest
|
|
3076
|
+
* @param headers - map
|
|
3077
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3078
|
+
* @returns CreateAndPulishAgentResponse
|
|
3079
|
+
*/
|
|
3080
|
+
createAndPulishAgentWithOptions(workspaceId: string, tmpReq: CreateAndPulishAgentRequest, headers: {
|
|
3081
|
+
[key: string]: string;
|
|
3082
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateAndPulishAgentResponse>;
|
|
3083
|
+
/**
|
|
3084
|
+
* 创建并发布智能体应用
|
|
3085
|
+
*
|
|
3086
|
+
* @param request - CreateAndPulishAgentRequest
|
|
3087
|
+
* @returns CreateAndPulishAgentResponse
|
|
3088
|
+
*/
|
|
3089
|
+
createAndPulishAgent(workspaceId: string, request: CreateAndPulishAgentRequest): Promise<CreateAndPulishAgentResponse>;
|
|
1997
3090
|
/**
|
|
1998
3091
|
* 创建并运行pipeline
|
|
1999
3092
|
*
|
|
@@ -2012,6 +3105,33 @@ export default class Client extends OpenApi {
|
|
|
2012
3105
|
* @returns CreateIndexResponse
|
|
2013
3106
|
*/
|
|
2014
3107
|
createIndex(WorkspaceId: string, request: CreateIndexRequest): Promise<CreateIndexResponse>;
|
|
3108
|
+
/**
|
|
3109
|
+
* 删除智能体
|
|
3110
|
+
*
|
|
3111
|
+
* @param headers - map
|
|
3112
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3113
|
+
* @returns DeleteAgentResponse
|
|
3114
|
+
*/
|
|
3115
|
+
deleteAgentWithOptions(workspaceId: string, appCode: string, headers: {
|
|
3116
|
+
[key: string]: string;
|
|
3117
|
+
}, runtime: $Util.RuntimeOptions): Promise<DeleteAgentResponse>;
|
|
3118
|
+
/**
|
|
3119
|
+
* 删除智能体
|
|
3120
|
+
* @returns DeleteAgentResponse
|
|
3121
|
+
*/
|
|
3122
|
+
deleteAgent(workspaceId: string, appCode: string): Promise<DeleteAgentResponse>;
|
|
3123
|
+
/**
|
|
3124
|
+
* @param headers - map
|
|
3125
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3126
|
+
* @returns DeleteCategoryResponse
|
|
3127
|
+
*/
|
|
3128
|
+
deleteCategoryWithOptions(CategoryId: string, WorkspaceId: string, headers: {
|
|
3129
|
+
[key: string]: string;
|
|
3130
|
+
}, runtime: $Util.RuntimeOptions): Promise<DeleteCategoryResponse>;
|
|
3131
|
+
/**
|
|
3132
|
+
* @returns DeleteCategoryResponse
|
|
3133
|
+
*/
|
|
3134
|
+
deleteCategory(CategoryId: string, WorkspaceId: string): Promise<DeleteCategoryResponse>;
|
|
2015
3135
|
/**
|
|
2016
3136
|
* 删除文档
|
|
2017
3137
|
*
|
|
@@ -2096,6 +3216,39 @@ export default class Client extends OpenApi {
|
|
|
2096
3216
|
* @returns GetIndexJobStatusResponse
|
|
2097
3217
|
*/
|
|
2098
3218
|
getIndexJobStatus(WorkspaceId: string, request: GetIndexJobStatusRequest): Promise<GetIndexJobStatusResponse>;
|
|
3219
|
+
/**
|
|
3220
|
+
* 获取发布态智能体应用
|
|
3221
|
+
*
|
|
3222
|
+
* @param headers - map
|
|
3223
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3224
|
+
* @returns GetPublishedAgentResponse
|
|
3225
|
+
*/
|
|
3226
|
+
getPublishedAgentWithOptions(workspaceId: string, appCode: string, headers: {
|
|
3227
|
+
[key: string]: string;
|
|
3228
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetPublishedAgentResponse>;
|
|
3229
|
+
/**
|
|
3230
|
+
* 获取发布态智能体应用
|
|
3231
|
+
* @returns GetPublishedAgentResponse
|
|
3232
|
+
*/
|
|
3233
|
+
getPublishedAgent(workspaceId: string, appCode: string): Promise<GetPublishedAgentResponse>;
|
|
3234
|
+
/**
|
|
3235
|
+
* ListCategory
|
|
3236
|
+
*
|
|
3237
|
+
* @param request - ListCategoryRequest
|
|
3238
|
+
* @param headers - map
|
|
3239
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3240
|
+
* @returns ListCategoryResponse
|
|
3241
|
+
*/
|
|
3242
|
+
listCategoryWithOptions(WorkspaceId: string, request: ListCategoryRequest, headers: {
|
|
3243
|
+
[key: string]: string;
|
|
3244
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListCategoryResponse>;
|
|
3245
|
+
/**
|
|
3246
|
+
* ListCategory
|
|
3247
|
+
*
|
|
3248
|
+
* @param request - ListCategoryRequest
|
|
3249
|
+
* @returns ListCategoryResponse
|
|
3250
|
+
*/
|
|
3251
|
+
listCategory(WorkspaceId: string, request: ListCategoryRequest): Promise<ListCategoryResponse>;
|
|
2099
3252
|
/**
|
|
2100
3253
|
* Chunk
|
|
2101
3254
|
*
|
|
@@ -2150,6 +3303,24 @@ export default class Client extends OpenApi {
|
|
|
2150
3303
|
* @returns ListIndicesResponse
|
|
2151
3304
|
*/
|
|
2152
3305
|
listIndices(WorkspaceId: string, request: ListIndicesRequest): Promise<ListIndicesResponse>;
|
|
3306
|
+
/**
|
|
3307
|
+
* 查询已发布的智能体应用列表
|
|
3308
|
+
*
|
|
3309
|
+
* @param request - ListPublishedAgentRequest
|
|
3310
|
+
* @param headers - map
|
|
3311
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3312
|
+
* @returns ListPublishedAgentResponse
|
|
3313
|
+
*/
|
|
3314
|
+
listPublishedAgentWithOptions(workspaceId: string, request: ListPublishedAgentRequest, headers: {
|
|
3315
|
+
[key: string]: string;
|
|
3316
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListPublishedAgentResponse>;
|
|
3317
|
+
/**
|
|
3318
|
+
* 查询已发布的智能体应用列表
|
|
3319
|
+
*
|
|
3320
|
+
* @param request - ListPublishedAgentRequest
|
|
3321
|
+
* @returns ListPublishedAgentResponse
|
|
3322
|
+
*/
|
|
3323
|
+
listPublishedAgent(workspaceId: string, request: ListPublishedAgentRequest): Promise<ListPublishedAgentResponse>;
|
|
2153
3324
|
/**
|
|
2154
3325
|
* 召回测试
|
|
2155
3326
|
*
|
|
@@ -2204,4 +3375,22 @@ export default class Client extends OpenApi {
|
|
|
2204
3375
|
* @returns SubmitIndexJobResponse
|
|
2205
3376
|
*/
|
|
2206
3377
|
submitIndexJob(WorkspaceId: string, request: SubmitIndexJobRequest): Promise<SubmitIndexJobResponse>;
|
|
3378
|
+
/**
|
|
3379
|
+
* 更新并发布智能体应用
|
|
3380
|
+
*
|
|
3381
|
+
* @param tmpReq - UpdateAndPublishAgentRequest
|
|
3382
|
+
* @param headers - map
|
|
3383
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3384
|
+
* @returns UpdateAndPublishAgentResponse
|
|
3385
|
+
*/
|
|
3386
|
+
updateAndPublishAgentWithOptions(workspaceId: string, appCode: string, tmpReq: UpdateAndPublishAgentRequest, headers: {
|
|
3387
|
+
[key: string]: string;
|
|
3388
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateAndPublishAgentResponse>;
|
|
3389
|
+
/**
|
|
3390
|
+
* 更新并发布智能体应用
|
|
3391
|
+
*
|
|
3392
|
+
* @param request - UpdateAndPublishAgentRequest
|
|
3393
|
+
* @returns UpdateAndPublishAgentResponse
|
|
3394
|
+
*/
|
|
3395
|
+
updateAndPublishAgent(workspaceId: string, appCode: string, request: UpdateAndPublishAgentRequest): Promise<UpdateAndPublishAgentResponse>;
|
|
2207
3396
|
}
|