@alicloud/bailian20231229 1.5.0 → 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 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
@@ -1272,6 +1401,52 @@ export declare class ListIndicesResponse extends $tea.Model {
1272
1401
  [key: string]: any;
1273
1402
  });
1274
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
+ }
1275
1450
  export declare class RetrieveRequest extends $tea.Model {
1276
1451
  /**
1277
1452
  * @example
@@ -1635,6 +1810,69 @@ export declare class SubmitIndexJobResponse extends $tea.Model {
1635
1810
  [key: string]: any;
1636
1811
  });
1637
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
+ }
1638
1876
  export declare class AddCategoryResponseBodyData extends $tea.Model {
1639
1877
  /**
1640
1878
  * @example
@@ -1722,12 +1960,12 @@ export declare class ApplyFileUploadLeaseResponseBodyData extends $tea.Model {
1722
1960
  [key: string]: any;
1723
1961
  });
1724
1962
  }
1725
- export declare class CreateIndexRequestColumns extends $tea.Model {
1726
- column?: string;
1727
- isRecall?: boolean;
1728
- isSearch?: boolean;
1729
- name?: string;
1730
- type?: string;
1963
+ export declare class CreateAndPulishAgentRequestApplicationConfigHistoryConfig extends $tea.Model {
1964
+ enableAdbRecord?: boolean;
1965
+ enableRecord?: boolean;
1966
+ instanceId?: string;
1967
+ region?: string;
1968
+ storeCode?: string;
1731
1969
  static names(): {
1732
1970
  [key: string]: string;
1733
1971
  };
@@ -1738,12 +1976,8 @@ export declare class CreateIndexRequestColumns extends $tea.Model {
1738
1976
  [key: string]: any;
1739
1977
  });
1740
1978
  }
1741
- export declare class CreateIndexResponseBodyData extends $tea.Model {
1742
- /**
1743
- * @example
1744
- * jkurxhju6b
1745
- */
1746
- id?: string;
1979
+ export declare class CreateAndPulishAgentRequestApplicationConfigLongTermMemory extends $tea.Model {
1980
+ enable?: boolean;
1747
1981
  static names(): {
1748
1982
  [key: string]: string;
1749
1983
  };
@@ -1754,12 +1988,10 @@ export declare class CreateIndexResponseBodyData extends $tea.Model {
1754
1988
  [key: string]: any;
1755
1989
  });
1756
1990
  }
1757
- export declare class DeleteCategoryResponseBodyData extends $tea.Model {
1758
- /**
1759
- * @example
1760
- * cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
1761
- */
1762
- categoryId?: string;
1991
+ export declare class CreateAndPulishAgentRequestApplicationConfigParameters extends $tea.Model {
1992
+ dialogRound?: number;
1993
+ maxTokens?: number;
1994
+ temperature?: number;
1763
1995
  static names(): {
1764
1996
  [key: string]: string;
1765
1997
  };
@@ -1770,12 +2002,11 @@ export declare class DeleteCategoryResponseBodyData extends $tea.Model {
1770
2002
  [key: string]: any;
1771
2003
  });
1772
2004
  }
1773
- export declare class DeleteFileResponseBodyData extends $tea.Model {
1774
- /**
1775
- * @example
1776
- * file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
1777
- */
1778
- fileId?: string;
2005
+ export declare class CreateAndPulishAgentRequestApplicationConfigRagConfig extends $tea.Model {
2006
+ enableCitation?: boolean;
2007
+ enableSearch?: boolean;
2008
+ knowledgeBaseCodeList?: string[];
2009
+ topK?: number;
1779
2010
  static names(): {
1780
2011
  [key: string]: string;
1781
2012
  };
@@ -1786,8 +2017,8 @@ export declare class DeleteFileResponseBodyData extends $tea.Model {
1786
2017
  [key: string]: any;
1787
2018
  });
1788
2019
  }
1789
- export declare class DeleteIndexDocumentResponseBodyData extends $tea.Model {
1790
- deletedDocument?: string[];
2020
+ export declare class CreateAndPulishAgentRequestApplicationConfigSecurityConfig extends $tea.Model {
2021
+ processingStrategy?: string;
1791
2022
  static names(): {
1792
2023
  [key: string]: string;
1793
2024
  };
@@ -1798,41 +2029,159 @@ export declare class DeleteIndexDocumentResponseBodyData extends $tea.Model {
1798
2029
  [key: string]: any;
1799
2030
  });
1800
2031
  }
1801
- export declare class DescribeFileResponseBodyData extends $tea.Model {
1802
- /**
1803
- * @example
1804
- * cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
1805
- */
1806
- categoryId?: string;
1807
- /**
1808
- * @example
1809
- * 2024-05-26 12:45:43
1810
- */
1811
- createTime?: string;
1812
- /**
1813
- * @example
1814
- * file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
1815
- */
1816
- fileId?: string;
1817
- /**
1818
- * @example
1819
- * test.pdf
1820
- */
1821
- fileName?: string;
1822
- /**
1823
- * @example
1824
- * pdf
1825
- */
1826
- fileType?: string;
1827
- /**
1828
- * @example
1829
- * DASHSCOPE_DOCMIND
1830
- */
1831
- parser?: string;
1832
- /**
1833
- * @example
1834
- * 1234
1835
- */
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
+ */
1836
2185
  sizeInBytes?: number;
1837
2186
  /**
1838
2187
  * @example
@@ -1903,6 +2252,133 @@ export declare class GetIndexJobStatusResponseBodyData extends $tea.Model {
1903
2252
  [key: string]: any;
1904
2253
  });
1905
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
+ }
1906
2382
  export declare class ListCategoryResponseBodyDataCategoryList extends $tea.Model {
1907
2383
  /**
1908
2384
  * @example
@@ -2190,6 +2666,148 @@ export declare class ListIndicesResponseBodyData extends $tea.Model {
2190
2666
  [key: string]: any;
2191
2667
  });
2192
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
+ }
2193
2811
  export declare class RetrieveRequestRerank extends $tea.Model {
2194
2812
  /**
2195
2813
  * @example
@@ -2285,6 +2903,117 @@ export declare class SubmitIndexJobResponseBodyData extends $tea.Model {
2285
2903
  [key: string]: any;
2286
2904
  });
2287
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
+ }
2288
3017
  export default class Client extends OpenApi {
2289
3018
  constructor(config: $OpenApi.Config);
2290
3019
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
@@ -2340,6 +3069,24 @@ export default class Client extends OpenApi {
2340
3069
  * @returns ApplyFileUploadLeaseResponse
2341
3070
  */
2342
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>;
2343
3090
  /**
2344
3091
  * 创建并运行pipeline
2345
3092
  *
@@ -2358,6 +3105,21 @@ export default class Client extends OpenApi {
2358
3105
  * @returns CreateIndexResponse
2359
3106
  */
2360
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>;
2361
3123
  /**
2362
3124
  * @param headers - map
2363
3125
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2454,6 +3216,21 @@ export default class Client extends OpenApi {
2454
3216
  * @returns GetIndexJobStatusResponse
2455
3217
  */
2456
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>;
2457
3234
  /**
2458
3235
  * ListCategory
2459
3236
  *
@@ -2526,6 +3303,24 @@ export default class Client extends OpenApi {
2526
3303
  * @returns ListIndicesResponse
2527
3304
  */
2528
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>;
2529
3324
  /**
2530
3325
  * 召回测试
2531
3326
  *
@@ -2580,4 +3375,22 @@ export default class Client extends OpenApi {
2580
3375
  * @returns SubmitIndexJobResponse
2581
3376
  */
2582
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>;
2583
3396
  }