@alicloud/bailian20231229 1.5.0 → 1.7.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 CHANGED
@@ -261,6 +261,69 @@ export declare class ApplyFileUploadLeaseResponse extends $tea.Model {
261
261
  [key: string]: any;
262
262
  });
263
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
+ }
264
327
  export declare class CreateIndexRequest extends $tea.Model {
265
328
  categoryIds?: string[];
266
329
  /**
@@ -491,6 +554,39 @@ export declare class CreateIndexResponse extends $tea.Model {
491
554
  [key: string]: any;
492
555
  });
493
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
+ }
494
590
  export declare class DeleteCategoryResponseBody extends $tea.Model {
495
591
  /**
496
592
  * @example
@@ -918,6 +1014,39 @@ export declare class GetIndexJobStatusResponse extends $tea.Model {
918
1014
  [key: string]: any;
919
1015
  });
920
1016
  }
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
+ }
921
1050
  export declare class ListCategoryRequest extends $tea.Model {
922
1051
  /**
923
1052
  * @remarks
@@ -1099,6 +1228,91 @@ export declare class ListChunksResponse extends $tea.Model {
1099
1228
  [key: string]: any;
1100
1229
  });
1101
1230
  }
1231
+ export declare class ListFileRequest extends $tea.Model {
1232
+ /**
1233
+ * @remarks
1234
+ * This parameter is required.
1235
+ *
1236
+ * @example
1237
+ * cate_cdd11b1b79a74e8bbd675c356a91ee3510024405
1238
+ */
1239
+ categoryId?: string;
1240
+ /**
1241
+ * @example
1242
+ * 20
1243
+ */
1244
+ maxResults?: number;
1245
+ /**
1246
+ * @example
1247
+ * AAAAAdH70eOCSCKtacdomNzak4U=
1248
+ */
1249
+ nextToken?: string;
1250
+ static names(): {
1251
+ [key: string]: string;
1252
+ };
1253
+ static types(): {
1254
+ [key: string]: any;
1255
+ };
1256
+ constructor(map?: {
1257
+ [key: string]: any;
1258
+ });
1259
+ }
1260
+ export declare class ListFileResponseBody extends $tea.Model {
1261
+ /**
1262
+ * @example
1263
+ * success
1264
+ */
1265
+ code?: string;
1266
+ data?: ListFileResponseBodyData;
1267
+ /**
1268
+ * @example
1269
+ * Requests throttling triggered.
1270
+ */
1271
+ message?: string;
1272
+ /**
1273
+ * @remarks
1274
+ * Id of the request
1275
+ *
1276
+ * @example
1277
+ * 8F97A63B-55F1-527F-9D6E-467B6A7E8CF1
1278
+ */
1279
+ requestId?: string;
1280
+ /**
1281
+ * @example
1282
+ * 200
1283
+ */
1284
+ status?: string;
1285
+ /**
1286
+ * @example
1287
+ * true
1288
+ */
1289
+ success?: boolean;
1290
+ static names(): {
1291
+ [key: string]: string;
1292
+ };
1293
+ static types(): {
1294
+ [key: string]: any;
1295
+ };
1296
+ constructor(map?: {
1297
+ [key: string]: any;
1298
+ });
1299
+ }
1300
+ export declare class ListFileResponse extends $tea.Model {
1301
+ headers?: {
1302
+ [key: string]: string;
1303
+ };
1304
+ statusCode?: number;
1305
+ body?: ListFileResponseBody;
1306
+ static names(): {
1307
+ [key: string]: string;
1308
+ };
1309
+ static types(): {
1310
+ [key: string]: any;
1311
+ };
1312
+ constructor(map?: {
1313
+ [key: string]: any;
1314
+ });
1315
+ }
1102
1316
  export declare class ListIndexDocumentsRequest extends $tea.Model {
1103
1317
  documentName?: string;
1104
1318
  /**
@@ -1272,6 +1486,52 @@ export declare class ListIndicesResponse extends $tea.Model {
1272
1486
  [key: string]: any;
1273
1487
  });
1274
1488
  }
1489
+ export declare class ListPublishedAgentRequest extends $tea.Model {
1490
+ pageNo?: number;
1491
+ pageSize?: number;
1492
+ static names(): {
1493
+ [key: string]: string;
1494
+ };
1495
+ static types(): {
1496
+ [key: string]: any;
1497
+ };
1498
+ constructor(map?: {
1499
+ [key: string]: any;
1500
+ });
1501
+ }
1502
+ export declare class ListPublishedAgentResponseBody extends $tea.Model {
1503
+ code?: string;
1504
+ data?: ListPublishedAgentResponseBodyData;
1505
+ httpStatusCode?: number;
1506
+ message?: string;
1507
+ requestId?: string;
1508
+ success?: string;
1509
+ static names(): {
1510
+ [key: string]: string;
1511
+ };
1512
+ static types(): {
1513
+ [key: string]: any;
1514
+ };
1515
+ constructor(map?: {
1516
+ [key: string]: any;
1517
+ });
1518
+ }
1519
+ export declare class ListPublishedAgentResponse extends $tea.Model {
1520
+ headers?: {
1521
+ [key: string]: string;
1522
+ };
1523
+ statusCode?: number;
1524
+ body?: ListPublishedAgentResponseBody;
1525
+ static names(): {
1526
+ [key: string]: string;
1527
+ };
1528
+ static types(): {
1529
+ [key: string]: any;
1530
+ };
1531
+ constructor(map?: {
1532
+ [key: string]: any;
1533
+ });
1534
+ }
1275
1535
  export declare class RetrieveRequest extends $tea.Model {
1276
1536
  /**
1277
1537
  * @example
@@ -1635,13 +1895,11 @@ export declare class SubmitIndexJobResponse extends $tea.Model {
1635
1895
  [key: string]: any;
1636
1896
  });
1637
1897
  }
1638
- export declare class AddCategoryResponseBodyData extends $tea.Model {
1639
- /**
1640
- * @example
1641
- * cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
1642
- */
1643
- categoryId?: string;
1644
- categoryName?: string;
1898
+ export declare class UpdateAndPublishAgentRequest extends $tea.Model {
1899
+ applicationConfig?: UpdateAndPublishAgentRequestApplicationConfig;
1900
+ instructions?: string;
1901
+ modelId?: string;
1902
+ name?: string;
1645
1903
  static names(): {
1646
1904
  [key: string]: string;
1647
1905
  };
@@ -1652,17 +1910,11 @@ export declare class AddCategoryResponseBodyData extends $tea.Model {
1652
1910
  [key: string]: any;
1653
1911
  });
1654
1912
  }
1655
- export declare class AddFileResponseBodyData extends $tea.Model {
1656
- /**
1657
- * @example
1658
- * file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
1659
- */
1660
- fileId?: string;
1661
- /**
1662
- * @example
1663
- * DASHSCOPE_DOCMIND
1664
- */
1665
- parser?: string;
1913
+ export declare class UpdateAndPublishAgentShrinkRequest extends $tea.Model {
1914
+ applicationConfigShrink?: string;
1915
+ instructions?: string;
1916
+ modelId?: string;
1917
+ name?: string;
1666
1918
  static names(): {
1667
1919
  [key: string]: string;
1668
1920
  };
@@ -1673,17 +1925,88 @@ export declare class AddFileResponseBodyData extends $tea.Model {
1673
1925
  [key: string]: any;
1674
1926
  });
1675
1927
  }
1676
- export declare class ApplyFileUploadLeaseResponseBodyDataParam extends $tea.Model {
1677
- /**
1678
- * @example
1679
- * "X-bailian-extra": "MTAwNTQyNjQ5NTE2OTE3OA==",
1680
- * "Content-Type": "application/pdf"
1681
- */
1682
- headers?: any;
1683
- /**
1684
- * @example
1685
- * PUT
1686
- */
1928
+ export declare class UpdateAndPublishAgentResponseBody extends $tea.Model {
1929
+ code?: string;
1930
+ data?: string;
1931
+ httpStatusCode?: number;
1932
+ message?: string;
1933
+ requestId?: string;
1934
+ success?: boolean;
1935
+ static names(): {
1936
+ [key: string]: string;
1937
+ };
1938
+ static types(): {
1939
+ [key: string]: any;
1940
+ };
1941
+ constructor(map?: {
1942
+ [key: string]: any;
1943
+ });
1944
+ }
1945
+ export declare class UpdateAndPublishAgentResponse extends $tea.Model {
1946
+ headers?: {
1947
+ [key: string]: string;
1948
+ };
1949
+ statusCode?: number;
1950
+ body?: UpdateAndPublishAgentResponseBody;
1951
+ static names(): {
1952
+ [key: string]: string;
1953
+ };
1954
+ static types(): {
1955
+ [key: string]: any;
1956
+ };
1957
+ constructor(map?: {
1958
+ [key: string]: any;
1959
+ });
1960
+ }
1961
+ export declare class AddCategoryResponseBodyData extends $tea.Model {
1962
+ /**
1963
+ * @example
1964
+ * cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
1965
+ */
1966
+ categoryId?: string;
1967
+ categoryName?: string;
1968
+ static names(): {
1969
+ [key: string]: string;
1970
+ };
1971
+ static types(): {
1972
+ [key: string]: any;
1973
+ };
1974
+ constructor(map?: {
1975
+ [key: string]: any;
1976
+ });
1977
+ }
1978
+ export declare class AddFileResponseBodyData extends $tea.Model {
1979
+ /**
1980
+ * @example
1981
+ * file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
1982
+ */
1983
+ fileId?: string;
1984
+ /**
1985
+ * @example
1986
+ * DASHSCOPE_DOCMIND
1987
+ */
1988
+ parser?: string;
1989
+ static names(): {
1990
+ [key: string]: string;
1991
+ };
1992
+ static types(): {
1993
+ [key: string]: any;
1994
+ };
1995
+ constructor(map?: {
1996
+ [key: string]: any;
1997
+ });
1998
+ }
1999
+ export declare class ApplyFileUploadLeaseResponseBodyDataParam extends $tea.Model {
2000
+ /**
2001
+ * @example
2002
+ * "X-bailian-extra": "MTAwNTQyNjQ5NTE2OTE3OA==",
2003
+ * "Content-Type": "application/pdf"
2004
+ */
2005
+ headers?: any;
2006
+ /**
2007
+ * @example
2008
+ * PUT
2009
+ */
1687
2010
  method?: string;
1688
2011
  /**
1689
2012
  * @example
@@ -1722,6 +2045,117 @@ export declare class ApplyFileUploadLeaseResponseBodyData extends $tea.Model {
1722
2045
  [key: string]: any;
1723
2046
  });
1724
2047
  }
2048
+ export declare class CreateAndPulishAgentRequestApplicationConfigHistoryConfig extends $tea.Model {
2049
+ enableAdbRecord?: boolean;
2050
+ enableRecord?: boolean;
2051
+ instanceId?: string;
2052
+ region?: string;
2053
+ storeCode?: string;
2054
+ static names(): {
2055
+ [key: string]: string;
2056
+ };
2057
+ static types(): {
2058
+ [key: string]: any;
2059
+ };
2060
+ constructor(map?: {
2061
+ [key: string]: any;
2062
+ });
2063
+ }
2064
+ export declare class CreateAndPulishAgentRequestApplicationConfigLongTermMemory extends $tea.Model {
2065
+ enable?: boolean;
2066
+ static names(): {
2067
+ [key: string]: string;
2068
+ };
2069
+ static types(): {
2070
+ [key: string]: any;
2071
+ };
2072
+ constructor(map?: {
2073
+ [key: string]: any;
2074
+ });
2075
+ }
2076
+ export declare class CreateAndPulishAgentRequestApplicationConfigParameters extends $tea.Model {
2077
+ dialogRound?: number;
2078
+ maxTokens?: number;
2079
+ temperature?: number;
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 CreateAndPulishAgentRequestApplicationConfigRagConfig extends $tea.Model {
2091
+ enableCitation?: boolean;
2092
+ enableSearch?: boolean;
2093
+ knowledgeBaseCodeList?: string[];
2094
+ topK?: number;
2095
+ static names(): {
2096
+ [key: string]: string;
2097
+ };
2098
+ static types(): {
2099
+ [key: string]: any;
2100
+ };
2101
+ constructor(map?: {
2102
+ [key: string]: any;
2103
+ });
2104
+ }
2105
+ export declare class CreateAndPulishAgentRequestApplicationConfigSecurityConfig extends $tea.Model {
2106
+ processingStrategy?: string;
2107
+ static names(): {
2108
+ [key: string]: string;
2109
+ };
2110
+ static types(): {
2111
+ [key: string]: any;
2112
+ };
2113
+ constructor(map?: {
2114
+ [key: string]: any;
2115
+ });
2116
+ }
2117
+ export declare class CreateAndPulishAgentRequestApplicationConfigTools extends $tea.Model {
2118
+ type?: string;
2119
+ static names(): {
2120
+ [key: string]: string;
2121
+ };
2122
+ static types(): {
2123
+ [key: string]: any;
2124
+ };
2125
+ constructor(map?: {
2126
+ [key: string]: any;
2127
+ });
2128
+ }
2129
+ export declare class CreateAndPulishAgentRequestApplicationConfigWorkFlows extends $tea.Model {
2130
+ type?: string;
2131
+ static names(): {
2132
+ [key: string]: string;
2133
+ };
2134
+ static types(): {
2135
+ [key: string]: any;
2136
+ };
2137
+ constructor(map?: {
2138
+ [key: string]: any;
2139
+ });
2140
+ }
2141
+ export declare class CreateAndPulishAgentRequestApplicationConfig extends $tea.Model {
2142
+ historyConfig?: CreateAndPulishAgentRequestApplicationConfigHistoryConfig;
2143
+ longTermMemory?: CreateAndPulishAgentRequestApplicationConfigLongTermMemory;
2144
+ parameters?: CreateAndPulishAgentRequestApplicationConfigParameters;
2145
+ ragConfig?: CreateAndPulishAgentRequestApplicationConfigRagConfig;
2146
+ securityConfig?: CreateAndPulishAgentRequestApplicationConfigSecurityConfig;
2147
+ tools?: CreateAndPulishAgentRequestApplicationConfigTools[];
2148
+ workFlows?: CreateAndPulishAgentRequestApplicationConfigWorkFlows[];
2149
+ static names(): {
2150
+ [key: string]: string;
2151
+ };
2152
+ static types(): {
2153
+ [key: string]: any;
2154
+ };
2155
+ constructor(map?: {
2156
+ [key: string]: any;
2157
+ });
2158
+ }
1725
2159
  export declare class CreateIndexRequestColumns extends $tea.Model {
1726
2160
  column?: string;
1727
2161
  isRecall?: boolean;
@@ -1903,6 +2337,133 @@ export declare class GetIndexJobStatusResponseBodyData extends $tea.Model {
1903
2337
  [key: string]: any;
1904
2338
  });
1905
2339
  }
2340
+ export declare class GetPublishedAgentResponseBodyDataApplicationConfigHistoryConfig extends $tea.Model {
2341
+ enableAdbRecord?: boolean;
2342
+ enableRecord?: boolean;
2343
+ instanceId?: string;
2344
+ region?: string;
2345
+ storeCode?: string;
2346
+ static names(): {
2347
+ [key: string]: string;
2348
+ };
2349
+ static types(): {
2350
+ [key: string]: any;
2351
+ };
2352
+ constructor(map?: {
2353
+ [key: string]: any;
2354
+ });
2355
+ }
2356
+ export declare class GetPublishedAgentResponseBodyDataApplicationConfigLongTermMemory extends $tea.Model {
2357
+ enable?: boolean;
2358
+ static names(): {
2359
+ [key: string]: string;
2360
+ };
2361
+ static types(): {
2362
+ [key: string]: any;
2363
+ };
2364
+ constructor(map?: {
2365
+ [key: string]: any;
2366
+ });
2367
+ }
2368
+ export declare class GetPublishedAgentResponseBodyDataApplicationConfigParameters extends $tea.Model {
2369
+ dialogRound?: number;
2370
+ maxTokens?: number;
2371
+ temperature?: number;
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 GetPublishedAgentResponseBodyDataApplicationConfigRagConfig extends $tea.Model {
2383
+ enableCitation?: boolean;
2384
+ enableSearch?: boolean;
2385
+ knowledgeBaseCodeList?: string[];
2386
+ topK?: number;
2387
+ static names(): {
2388
+ [key: string]: string;
2389
+ };
2390
+ static types(): {
2391
+ [key: string]: any;
2392
+ };
2393
+ constructor(map?: {
2394
+ [key: string]: any;
2395
+ });
2396
+ }
2397
+ export declare class GetPublishedAgentResponseBodyDataApplicationConfigSecurity extends $tea.Model {
2398
+ processingStrategy?: string;
2399
+ static names(): {
2400
+ [key: string]: string;
2401
+ };
2402
+ static types(): {
2403
+ [key: string]: any;
2404
+ };
2405
+ constructor(map?: {
2406
+ [key: string]: any;
2407
+ });
2408
+ }
2409
+ export declare class GetPublishedAgentResponseBodyDataApplicationConfigTools extends $tea.Model {
2410
+ type?: string;
2411
+ static names(): {
2412
+ [key: string]: string;
2413
+ };
2414
+ static types(): {
2415
+ [key: string]: any;
2416
+ };
2417
+ constructor(map?: {
2418
+ [key: string]: any;
2419
+ });
2420
+ }
2421
+ export declare class GetPublishedAgentResponseBodyDataApplicationConfigWorkFlows extends $tea.Model {
2422
+ type?: string;
2423
+ static names(): {
2424
+ [key: string]: string;
2425
+ };
2426
+ static types(): {
2427
+ [key: string]: any;
2428
+ };
2429
+ constructor(map?: {
2430
+ [key: string]: any;
2431
+ });
2432
+ }
2433
+ export declare class GetPublishedAgentResponseBodyDataApplicationConfig extends $tea.Model {
2434
+ historyConfig?: GetPublishedAgentResponseBodyDataApplicationConfigHistoryConfig;
2435
+ longTermMemory?: GetPublishedAgentResponseBodyDataApplicationConfigLongTermMemory;
2436
+ parameters?: GetPublishedAgentResponseBodyDataApplicationConfigParameters;
2437
+ ragConfig?: GetPublishedAgentResponseBodyDataApplicationConfigRagConfig;
2438
+ security?: GetPublishedAgentResponseBodyDataApplicationConfigSecurity;
2439
+ tools?: GetPublishedAgentResponseBodyDataApplicationConfigTools[];
2440
+ workFlows?: GetPublishedAgentResponseBodyDataApplicationConfigWorkFlows[];
2441
+ static names(): {
2442
+ [key: string]: string;
2443
+ };
2444
+ static types(): {
2445
+ [key: string]: any;
2446
+ };
2447
+ constructor(map?: {
2448
+ [key: string]: any;
2449
+ });
2450
+ }
2451
+ export declare class GetPublishedAgentResponseBodyData extends $tea.Model {
2452
+ applicationConfig?: GetPublishedAgentResponseBodyDataApplicationConfig;
2453
+ code?: string;
2454
+ instructions?: string;
2455
+ modelId?: string;
2456
+ name?: string;
2457
+ static names(): {
2458
+ [key: string]: string;
2459
+ };
2460
+ static types(): {
2461
+ [key: string]: any;
2462
+ };
2463
+ constructor(map?: {
2464
+ [key: string]: any;
2465
+ });
2466
+ }
1906
2467
  export declare class ListCategoryResponseBodyDataCategoryList extends $tea.Model {
1907
2468
  /**
1908
2469
  * @example
@@ -1989,9 +2550,92 @@ export declare class ListChunksResponseBodyData extends $tea.Model {
1989
2550
  nodes?: ListChunksResponseBodyDataNodes[];
1990
2551
  /**
1991
2552
  * @example
1992
- * 16
2553
+ * 16
2554
+ */
2555
+ total?: number;
2556
+ static names(): {
2557
+ [key: string]: string;
2558
+ };
2559
+ static types(): {
2560
+ [key: string]: any;
2561
+ };
2562
+ constructor(map?: {
2563
+ [key: string]: any;
2564
+ });
2565
+ }
2566
+ export declare class ListFileResponseBodyDataFileList extends $tea.Model {
2567
+ /**
2568
+ * @example
2569
+ * cate_cdd11b1b79a74e8bbd675c356a91ee3510024405
2570
+ */
2571
+ categoryId?: string;
2572
+ /**
2573
+ * @example
2574
+ * 2023-08-18 11:03:35
2575
+ */
2576
+ createTime?: string;
2577
+ /**
2578
+ * @example
2579
+ * file_5ff599b3455a45db8c41b0054b361518_10098576
2580
+ */
2581
+ fileId?: string;
2582
+ /**
2583
+ * @example
2584
+ * auto-test-1721096109278.pdf
2585
+ */
2586
+ fileName?: string;
2587
+ /**
2588
+ * @example
2589
+ * docx
2590
+ */
2591
+ fileType?: string;
2592
+ /**
2593
+ * @example
2594
+ * DASHSCOPE_DOCMIND
2595
+ */
2596
+ parser?: string;
2597
+ /**
2598
+ * @example
2599
+ * 512
2600
+ */
2601
+ sizeInBytes?: number;
2602
+ /**
2603
+ * @example
2604
+ * 200
2605
+ */
2606
+ status?: string;
2607
+ static names(): {
2608
+ [key: string]: string;
2609
+ };
2610
+ static types(): {
2611
+ [key: string]: any;
2612
+ };
2613
+ constructor(map?: {
2614
+ [key: string]: any;
2615
+ });
2616
+ }
2617
+ export declare class ListFileResponseBodyData extends $tea.Model {
2618
+ fileList?: ListFileResponseBodyDataFileList[];
2619
+ /**
2620
+ * @example
2621
+ * true
2622
+ */
2623
+ hasNext?: boolean;
2624
+ /**
2625
+ * @example
2626
+ * 20
1993
2627
  */
1994
- total?: number;
2628
+ maxResults?: number;
2629
+ /**
2630
+ * @example
2631
+ * 4jzbJk9J6lNeuXD9hP0viA==
2632
+ */
2633
+ nextToken?: string;
2634
+ /**
2635
+ * @example
2636
+ * 48
2637
+ */
2638
+ totalCount?: number;
1995
2639
  static names(): {
1996
2640
  [key: string]: string;
1997
2641
  };
@@ -2190,6 +2834,148 @@ export declare class ListIndicesResponseBodyData extends $tea.Model {
2190
2834
  [key: string]: any;
2191
2835
  });
2192
2836
  }
2837
+ export declare class ListPublishedAgentResponseBodyDataListApplicationConfigHistoryConfig extends $tea.Model {
2838
+ enableAdbRecord?: boolean;
2839
+ enableRecord?: boolean;
2840
+ instanceId?: string;
2841
+ region?: string;
2842
+ storeCode?: string;
2843
+ static names(): {
2844
+ [key: string]: string;
2845
+ };
2846
+ static types(): {
2847
+ [key: string]: any;
2848
+ };
2849
+ constructor(map?: {
2850
+ [key: string]: any;
2851
+ });
2852
+ }
2853
+ export declare class ListPublishedAgentResponseBodyDataListApplicationConfigLongTermMemory extends $tea.Model {
2854
+ enable?: boolean;
2855
+ static names(): {
2856
+ [key: string]: string;
2857
+ };
2858
+ static types(): {
2859
+ [key: string]: any;
2860
+ };
2861
+ constructor(map?: {
2862
+ [key: string]: any;
2863
+ });
2864
+ }
2865
+ export declare class ListPublishedAgentResponseBodyDataListApplicationConfigParameters extends $tea.Model {
2866
+ dialogRound?: number;
2867
+ maxTokens?: number;
2868
+ temperature?: number;
2869
+ static names(): {
2870
+ [key: string]: string;
2871
+ };
2872
+ static types(): {
2873
+ [key: string]: any;
2874
+ };
2875
+ constructor(map?: {
2876
+ [key: string]: any;
2877
+ });
2878
+ }
2879
+ export declare class ListPublishedAgentResponseBodyDataListApplicationConfigRagConfig extends $tea.Model {
2880
+ enableCitation?: boolean;
2881
+ enableSearch?: boolean;
2882
+ knowledgeBaseCodeList?: string[];
2883
+ topK?: number;
2884
+ static names(): {
2885
+ [key: string]: string;
2886
+ };
2887
+ static types(): {
2888
+ [key: string]: any;
2889
+ };
2890
+ constructor(map?: {
2891
+ [key: string]: any;
2892
+ });
2893
+ }
2894
+ export declare class ListPublishedAgentResponseBodyDataListApplicationConfigSecurity extends $tea.Model {
2895
+ processingStrategy?: string;
2896
+ static names(): {
2897
+ [key: string]: string;
2898
+ };
2899
+ static types(): {
2900
+ [key: string]: any;
2901
+ };
2902
+ constructor(map?: {
2903
+ [key: string]: any;
2904
+ });
2905
+ }
2906
+ export declare class ListPublishedAgentResponseBodyDataListApplicationConfigTools extends $tea.Model {
2907
+ type?: string;
2908
+ static names(): {
2909
+ [key: string]: string;
2910
+ };
2911
+ static types(): {
2912
+ [key: string]: any;
2913
+ };
2914
+ constructor(map?: {
2915
+ [key: string]: any;
2916
+ });
2917
+ }
2918
+ export declare class ListPublishedAgentResponseBodyDataListApplicationConfigWorkFlows extends $tea.Model {
2919
+ type?: string;
2920
+ static names(): {
2921
+ [key: string]: string;
2922
+ };
2923
+ static types(): {
2924
+ [key: string]: any;
2925
+ };
2926
+ constructor(map?: {
2927
+ [key: string]: any;
2928
+ });
2929
+ }
2930
+ export declare class ListPublishedAgentResponseBodyDataListApplicationConfig extends $tea.Model {
2931
+ historyConfig?: ListPublishedAgentResponseBodyDataListApplicationConfigHistoryConfig;
2932
+ longTermMemory?: ListPublishedAgentResponseBodyDataListApplicationConfigLongTermMemory;
2933
+ parameters?: ListPublishedAgentResponseBodyDataListApplicationConfigParameters;
2934
+ ragConfig?: ListPublishedAgentResponseBodyDataListApplicationConfigRagConfig;
2935
+ security?: ListPublishedAgentResponseBodyDataListApplicationConfigSecurity;
2936
+ tools?: ListPublishedAgentResponseBodyDataListApplicationConfigTools[];
2937
+ workFlows?: ListPublishedAgentResponseBodyDataListApplicationConfigWorkFlows[];
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 ListPublishedAgentResponseBodyDataList extends $tea.Model {
2949
+ applicationConfig?: ListPublishedAgentResponseBodyDataListApplicationConfig;
2950
+ code?: string;
2951
+ instructions?: string;
2952
+ modelId?: string;
2953
+ name?: string;
2954
+ static names(): {
2955
+ [key: string]: string;
2956
+ };
2957
+ static types(): {
2958
+ [key: string]: any;
2959
+ };
2960
+ constructor(map?: {
2961
+ [key: string]: any;
2962
+ });
2963
+ }
2964
+ export declare class ListPublishedAgentResponseBodyData extends $tea.Model {
2965
+ list?: ListPublishedAgentResponseBodyDataList[];
2966
+ pageNo?: number;
2967
+ pageSize?: number;
2968
+ total?: number;
2969
+ static names(): {
2970
+ [key: string]: string;
2971
+ };
2972
+ static types(): {
2973
+ [key: string]: any;
2974
+ };
2975
+ constructor(map?: {
2976
+ [key: string]: any;
2977
+ });
2978
+ }
2193
2979
  export declare class RetrieveRequestRerank extends $tea.Model {
2194
2980
  /**
2195
2981
  * @example
@@ -2285,6 +3071,117 @@ export declare class SubmitIndexJobResponseBodyData extends $tea.Model {
2285
3071
  [key: string]: any;
2286
3072
  });
2287
3073
  }
3074
+ export declare class UpdateAndPublishAgentRequestApplicationConfigHistoryConfig extends $tea.Model {
3075
+ enableAdbRecord?: boolean;
3076
+ enableRecord?: boolean;
3077
+ instanceId?: string;
3078
+ region?: string;
3079
+ storeCode?: string;
3080
+ static names(): {
3081
+ [key: string]: string;
3082
+ };
3083
+ static types(): {
3084
+ [key: string]: any;
3085
+ };
3086
+ constructor(map?: {
3087
+ [key: string]: any;
3088
+ });
3089
+ }
3090
+ export declare class UpdateAndPublishAgentRequestApplicationConfigLongTermMemory extends $tea.Model {
3091
+ enable?: boolean;
3092
+ static names(): {
3093
+ [key: string]: string;
3094
+ };
3095
+ static types(): {
3096
+ [key: string]: any;
3097
+ };
3098
+ constructor(map?: {
3099
+ [key: string]: any;
3100
+ });
3101
+ }
3102
+ export declare class UpdateAndPublishAgentRequestApplicationConfigParameters extends $tea.Model {
3103
+ dialogRound?: number;
3104
+ maxTokens?: number;
3105
+ temperature?: number;
3106
+ static names(): {
3107
+ [key: string]: string;
3108
+ };
3109
+ static types(): {
3110
+ [key: string]: any;
3111
+ };
3112
+ constructor(map?: {
3113
+ [key: string]: any;
3114
+ });
3115
+ }
3116
+ export declare class UpdateAndPublishAgentRequestApplicationConfigRagConfig extends $tea.Model {
3117
+ enableCitation?: boolean;
3118
+ enableSearch?: boolean;
3119
+ knowledgeBaseCodeList?: string[];
3120
+ topK?: number;
3121
+ static names(): {
3122
+ [key: string]: string;
3123
+ };
3124
+ static types(): {
3125
+ [key: string]: any;
3126
+ };
3127
+ constructor(map?: {
3128
+ [key: string]: any;
3129
+ });
3130
+ }
3131
+ export declare class UpdateAndPublishAgentRequestApplicationConfigSecurity extends $tea.Model {
3132
+ processingStrategy?: string;
3133
+ static names(): {
3134
+ [key: string]: string;
3135
+ };
3136
+ static types(): {
3137
+ [key: string]: any;
3138
+ };
3139
+ constructor(map?: {
3140
+ [key: string]: any;
3141
+ });
3142
+ }
3143
+ export declare class UpdateAndPublishAgentRequestApplicationConfigTools extends $tea.Model {
3144
+ type?: string;
3145
+ static names(): {
3146
+ [key: string]: string;
3147
+ };
3148
+ static types(): {
3149
+ [key: string]: any;
3150
+ };
3151
+ constructor(map?: {
3152
+ [key: string]: any;
3153
+ });
3154
+ }
3155
+ export declare class UpdateAndPublishAgentRequestApplicationConfigWorkFlows extends $tea.Model {
3156
+ type?: string;
3157
+ static names(): {
3158
+ [key: string]: string;
3159
+ };
3160
+ static types(): {
3161
+ [key: string]: any;
3162
+ };
3163
+ constructor(map?: {
3164
+ [key: string]: any;
3165
+ });
3166
+ }
3167
+ export declare class UpdateAndPublishAgentRequestApplicationConfig extends $tea.Model {
3168
+ historyConfig?: UpdateAndPublishAgentRequestApplicationConfigHistoryConfig;
3169
+ longTermMemory?: UpdateAndPublishAgentRequestApplicationConfigLongTermMemory;
3170
+ parameters?: UpdateAndPublishAgentRequestApplicationConfigParameters;
3171
+ ragConfig?: UpdateAndPublishAgentRequestApplicationConfigRagConfig;
3172
+ security?: UpdateAndPublishAgentRequestApplicationConfigSecurity;
3173
+ tools?: UpdateAndPublishAgentRequestApplicationConfigTools[];
3174
+ workFlows?: UpdateAndPublishAgentRequestApplicationConfigWorkFlows[];
3175
+ static names(): {
3176
+ [key: string]: string;
3177
+ };
3178
+ static types(): {
3179
+ [key: string]: any;
3180
+ };
3181
+ constructor(map?: {
3182
+ [key: string]: any;
3183
+ });
3184
+ }
2288
3185
  export default class Client extends OpenApi {
2289
3186
  constructor(config: $OpenApi.Config);
2290
3187
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
@@ -2340,6 +3237,24 @@ export default class Client extends OpenApi {
2340
3237
  * @returns ApplyFileUploadLeaseResponse
2341
3238
  */
2342
3239
  applyFileUploadLease(CategoryId: string, WorkspaceId: string, request: ApplyFileUploadLeaseRequest): Promise<ApplyFileUploadLeaseResponse>;
3240
+ /**
3241
+ * 创建并发布智能体应用
3242
+ *
3243
+ * @param tmpReq - CreateAndPulishAgentRequest
3244
+ * @param headers - map
3245
+ * @param runtime - runtime options for this request RuntimeOptions
3246
+ * @returns CreateAndPulishAgentResponse
3247
+ */
3248
+ createAndPulishAgentWithOptions(workspaceId: string, tmpReq: CreateAndPulishAgentRequest, headers: {
3249
+ [key: string]: string;
3250
+ }, runtime: $Util.RuntimeOptions): Promise<CreateAndPulishAgentResponse>;
3251
+ /**
3252
+ * 创建并发布智能体应用
3253
+ *
3254
+ * @param request - CreateAndPulishAgentRequest
3255
+ * @returns CreateAndPulishAgentResponse
3256
+ */
3257
+ createAndPulishAgent(workspaceId: string, request: CreateAndPulishAgentRequest): Promise<CreateAndPulishAgentResponse>;
2343
3258
  /**
2344
3259
  * 创建并运行pipeline
2345
3260
  *
@@ -2358,6 +3273,21 @@ export default class Client extends OpenApi {
2358
3273
  * @returns CreateIndexResponse
2359
3274
  */
2360
3275
  createIndex(WorkspaceId: string, request: CreateIndexRequest): Promise<CreateIndexResponse>;
3276
+ /**
3277
+ * 删除智能体
3278
+ *
3279
+ * @param headers - map
3280
+ * @param runtime - runtime options for this request RuntimeOptions
3281
+ * @returns DeleteAgentResponse
3282
+ */
3283
+ deleteAgentWithOptions(workspaceId: string, appCode: string, headers: {
3284
+ [key: string]: string;
3285
+ }, runtime: $Util.RuntimeOptions): Promise<DeleteAgentResponse>;
3286
+ /**
3287
+ * 删除智能体
3288
+ * @returns DeleteAgentResponse
3289
+ */
3290
+ deleteAgent(workspaceId: string, appCode: string): Promise<DeleteAgentResponse>;
2361
3291
  /**
2362
3292
  * @param headers - map
2363
3293
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2454,6 +3384,21 @@ export default class Client extends OpenApi {
2454
3384
  * @returns GetIndexJobStatusResponse
2455
3385
  */
2456
3386
  getIndexJobStatus(WorkspaceId: string, request: GetIndexJobStatusRequest): Promise<GetIndexJobStatusResponse>;
3387
+ /**
3388
+ * 获取发布态智能体应用
3389
+ *
3390
+ * @param headers - map
3391
+ * @param runtime - runtime options for this request RuntimeOptions
3392
+ * @returns GetPublishedAgentResponse
3393
+ */
3394
+ getPublishedAgentWithOptions(workspaceId: string, appCode: string, headers: {
3395
+ [key: string]: string;
3396
+ }, runtime: $Util.RuntimeOptions): Promise<GetPublishedAgentResponse>;
3397
+ /**
3398
+ * 获取发布态智能体应用
3399
+ * @returns GetPublishedAgentResponse
3400
+ */
3401
+ getPublishedAgent(workspaceId: string, appCode: string): Promise<GetPublishedAgentResponse>;
2457
3402
  /**
2458
3403
  * ListCategory
2459
3404
  *
@@ -2490,6 +3435,24 @@ export default class Client extends OpenApi {
2490
3435
  * @returns ListChunksResponse
2491
3436
  */
2492
3437
  listChunks(WorkspaceId: string, request: ListChunksRequest): Promise<ListChunksResponse>;
3438
+ /**
3439
+ * 获取文档列表
3440
+ *
3441
+ * @param request - ListFileRequest
3442
+ * @param headers - map
3443
+ * @param runtime - runtime options for this request RuntimeOptions
3444
+ * @returns ListFileResponse
3445
+ */
3446
+ listFileWithOptions(WorkspaceId: string, request: ListFileRequest, headers: {
3447
+ [key: string]: string;
3448
+ }, runtime: $Util.RuntimeOptions): Promise<ListFileResponse>;
3449
+ /**
3450
+ * 获取文档列表
3451
+ *
3452
+ * @param request - ListFileRequest
3453
+ * @returns ListFileResponse
3454
+ */
3455
+ listFile(WorkspaceId: string, request: ListFileRequest): Promise<ListFileResponse>;
2493
3456
  /**
2494
3457
  * 查询Index文件
2495
3458
  *
@@ -2526,6 +3489,24 @@ export default class Client extends OpenApi {
2526
3489
  * @returns ListIndicesResponse
2527
3490
  */
2528
3491
  listIndices(WorkspaceId: string, request: ListIndicesRequest): Promise<ListIndicesResponse>;
3492
+ /**
3493
+ * 查询已发布的智能体应用列表
3494
+ *
3495
+ * @param request - ListPublishedAgentRequest
3496
+ * @param headers - map
3497
+ * @param runtime - runtime options for this request RuntimeOptions
3498
+ * @returns ListPublishedAgentResponse
3499
+ */
3500
+ listPublishedAgentWithOptions(workspaceId: string, request: ListPublishedAgentRequest, headers: {
3501
+ [key: string]: string;
3502
+ }, runtime: $Util.RuntimeOptions): Promise<ListPublishedAgentResponse>;
3503
+ /**
3504
+ * 查询已发布的智能体应用列表
3505
+ *
3506
+ * @param request - ListPublishedAgentRequest
3507
+ * @returns ListPublishedAgentResponse
3508
+ */
3509
+ listPublishedAgent(workspaceId: string, request: ListPublishedAgentRequest): Promise<ListPublishedAgentResponse>;
2529
3510
  /**
2530
3511
  * 召回测试
2531
3512
  *
@@ -2580,4 +3561,22 @@ export default class Client extends OpenApi {
2580
3561
  * @returns SubmitIndexJobResponse
2581
3562
  */
2582
3563
  submitIndexJob(WorkspaceId: string, request: SubmitIndexJobRequest): Promise<SubmitIndexJobResponse>;
3564
+ /**
3565
+ * 更新并发布智能体应用
3566
+ *
3567
+ * @param tmpReq - UpdateAndPublishAgentRequest
3568
+ * @param headers - map
3569
+ * @param runtime - runtime options for this request RuntimeOptions
3570
+ * @returns UpdateAndPublishAgentResponse
3571
+ */
3572
+ updateAndPublishAgentWithOptions(workspaceId: string, appCode: string, tmpReq: UpdateAndPublishAgentRequest, headers: {
3573
+ [key: string]: string;
3574
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateAndPublishAgentResponse>;
3575
+ /**
3576
+ * 更新并发布智能体应用
3577
+ *
3578
+ * @param request - UpdateAndPublishAgentRequest
3579
+ * @returns UpdateAndPublishAgentResponse
3580
+ */
3581
+ updateAndPublishAgent(workspaceId: string, appCode: string, request: UpdateAndPublishAgentRequest): Promise<UpdateAndPublishAgentResponse>;
2583
3582
  }