@alicloud/dianjin20240628 1.6.5 → 1.8.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 +1508 -214
- package/dist/client.js +1283 -15
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2808 -685
package/src/client.ts
CHANGED
|
@@ -159,6 +159,161 @@ export class CreateAnnualDocSummaryTaskResponse extends $tea.Model {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
export class CreateDialogRequest extends $tea.Model {
|
|
163
|
+
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* This parameter is required.
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
* taobao
|
|
169
|
+
*/
|
|
170
|
+
channel?: string;
|
|
171
|
+
enableLibrary?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* @example
|
|
174
|
+
* null
|
|
175
|
+
*/
|
|
176
|
+
metaData?: { [key: string]: any };
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* This parameter is required.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* live_broadcast_qa
|
|
183
|
+
*/
|
|
184
|
+
playCode?: string;
|
|
185
|
+
qaLibraryList?: string[];
|
|
186
|
+
/**
|
|
187
|
+
* @remarks
|
|
188
|
+
* This parameter is required.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* ebf83826-dc1c-46f8-9759-0fb6da4c8xxx
|
|
192
|
+
*/
|
|
193
|
+
requestId?: string;
|
|
194
|
+
selfDirected?: boolean;
|
|
195
|
+
static names(): { [key: string]: string } {
|
|
196
|
+
return {
|
|
197
|
+
channel: 'channel',
|
|
198
|
+
enableLibrary: 'enableLibrary',
|
|
199
|
+
metaData: 'metaData',
|
|
200
|
+
playCode: 'playCode',
|
|
201
|
+
qaLibraryList: 'qaLibraryList',
|
|
202
|
+
requestId: 'requestId',
|
|
203
|
+
selfDirected: 'selfDirected',
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
static types(): { [key: string]: any } {
|
|
208
|
+
return {
|
|
209
|
+
channel: 'string',
|
|
210
|
+
enableLibrary: 'boolean',
|
|
211
|
+
metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
212
|
+
playCode: 'string',
|
|
213
|
+
qaLibraryList: { 'type': 'array', 'itemType': 'string' },
|
|
214
|
+
requestId: 'string',
|
|
215
|
+
selfDirected: 'boolean',
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
constructor(map?: { [key: string]: any }) {
|
|
220
|
+
super(map);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export class CreateDialogResponseBody extends $tea.Model {
|
|
225
|
+
/**
|
|
226
|
+
* @example
|
|
227
|
+
* null
|
|
228
|
+
*/
|
|
229
|
+
cost?: number;
|
|
230
|
+
data?: CreateDialogResponseBodyData;
|
|
231
|
+
/**
|
|
232
|
+
* @example
|
|
233
|
+
* null
|
|
234
|
+
*/
|
|
235
|
+
dataType?: string;
|
|
236
|
+
/**
|
|
237
|
+
* @example
|
|
238
|
+
* 0
|
|
239
|
+
*/
|
|
240
|
+
errCode?: string;
|
|
241
|
+
/**
|
|
242
|
+
* @example
|
|
243
|
+
* ok
|
|
244
|
+
*/
|
|
245
|
+
message?: string;
|
|
246
|
+
/**
|
|
247
|
+
* @example
|
|
248
|
+
* 003D019A-1BB3-53EC-A0D2-CE76DA5D73B1
|
|
249
|
+
*/
|
|
250
|
+
requestId?: string;
|
|
251
|
+
/**
|
|
252
|
+
* @example
|
|
253
|
+
* true
|
|
254
|
+
*/
|
|
255
|
+
success?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* @example
|
|
258
|
+
* 2024-01-01 00:00:00
|
|
259
|
+
*/
|
|
260
|
+
time?: string;
|
|
261
|
+
static names(): { [key: string]: string } {
|
|
262
|
+
return {
|
|
263
|
+
cost: 'cost',
|
|
264
|
+
data: 'data',
|
|
265
|
+
dataType: 'dataType',
|
|
266
|
+
errCode: 'errCode',
|
|
267
|
+
message: 'message',
|
|
268
|
+
requestId: 'requestId',
|
|
269
|
+
success: 'success',
|
|
270
|
+
time: 'time',
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
static types(): { [key: string]: any } {
|
|
275
|
+
return {
|
|
276
|
+
cost: 'number',
|
|
277
|
+
data: CreateDialogResponseBodyData,
|
|
278
|
+
dataType: 'string',
|
|
279
|
+
errCode: 'string',
|
|
280
|
+
message: 'string',
|
|
281
|
+
requestId: 'string',
|
|
282
|
+
success: 'boolean',
|
|
283
|
+
time: 'string',
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
constructor(map?: { [key: string]: any }) {
|
|
288
|
+
super(map);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export class CreateDialogResponse extends $tea.Model {
|
|
293
|
+
headers?: { [key: string]: string };
|
|
294
|
+
statusCode?: number;
|
|
295
|
+
body?: CreateDialogResponseBody;
|
|
296
|
+
static names(): { [key: string]: string } {
|
|
297
|
+
return {
|
|
298
|
+
headers: 'headers',
|
|
299
|
+
statusCode: 'statusCode',
|
|
300
|
+
body: 'body',
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
static types(): { [key: string]: any } {
|
|
305
|
+
return {
|
|
306
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
307
|
+
statusCode: 'number',
|
|
308
|
+
body: CreateDialogResponseBody,
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
constructor(map?: { [key: string]: any }) {
|
|
313
|
+
super(map);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
162
317
|
export class CreateDocsSummaryTaskRequest extends $tea.Model {
|
|
163
318
|
/**
|
|
164
319
|
* @remarks
|
|
@@ -1388,13 +1543,59 @@ export class EvictTaskResponse extends $tea.Model {
|
|
|
1388
1543
|
}
|
|
1389
1544
|
}
|
|
1390
1545
|
|
|
1391
|
-
export class
|
|
1546
|
+
export class GenDocQaResultRequest extends $tea.Model {
|
|
1547
|
+
/**
|
|
1548
|
+
* @remarks
|
|
1549
|
+
* This parameter is required.
|
|
1550
|
+
*
|
|
1551
|
+
* @example
|
|
1552
|
+
* 182364872346
|
|
1553
|
+
*/
|
|
1554
|
+
docId?: string;
|
|
1555
|
+
/**
|
|
1556
|
+
* @remarks
|
|
1557
|
+
* This parameter is required.
|
|
1558
|
+
*
|
|
1559
|
+
* @example
|
|
1560
|
+
* sjdgdsfg
|
|
1561
|
+
*/
|
|
1562
|
+
libraryId?: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* @remarks
|
|
1565
|
+
* This parameter is required.
|
|
1566
|
+
*
|
|
1567
|
+
* @example
|
|
1568
|
+
* 0FC6636E-380A-5369-AE01-D1C15BB9B254
|
|
1569
|
+
*/
|
|
1570
|
+
requestId?: string;
|
|
1571
|
+
static names(): { [key: string]: string } {
|
|
1572
|
+
return {
|
|
1573
|
+
docId: 'docId',
|
|
1574
|
+
libraryId: 'libraryId',
|
|
1575
|
+
requestId: 'requestId',
|
|
1576
|
+
};
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
static types(): { [key: string]: any } {
|
|
1580
|
+
return {
|
|
1581
|
+
docId: 'string',
|
|
1582
|
+
libraryId: 'string',
|
|
1583
|
+
requestId: 'string',
|
|
1584
|
+
};
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
constructor(map?: { [key: string]: any }) {
|
|
1588
|
+
super(map);
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
export class GenDocQaResultResponseBody extends $tea.Model {
|
|
1392
1593
|
/**
|
|
1393
1594
|
* @example
|
|
1394
1595
|
* null
|
|
1395
1596
|
*/
|
|
1396
1597
|
cost?: number;
|
|
1397
|
-
data?:
|
|
1598
|
+
data?: GenDocQaResultResponseBodyData;
|
|
1398
1599
|
/**
|
|
1399
1600
|
* @example
|
|
1400
1601
|
* null
|
|
@@ -1407,17 +1608,17 @@ export class GetAppConfigResponseBody extends $tea.Model {
|
|
|
1407
1608
|
errCode?: string;
|
|
1408
1609
|
/**
|
|
1409
1610
|
* @example
|
|
1410
|
-
*
|
|
1611
|
+
* ok
|
|
1411
1612
|
*/
|
|
1412
1613
|
message?: string;
|
|
1413
1614
|
/**
|
|
1414
1615
|
* @example
|
|
1415
|
-
*
|
|
1616
|
+
* 44BD277A-87F9-5310-8D63-3E6645F1DA85
|
|
1416
1617
|
*/
|
|
1417
1618
|
requestId?: string;
|
|
1418
1619
|
/**
|
|
1419
1620
|
* @example
|
|
1420
|
-
*
|
|
1621
|
+
* true
|
|
1421
1622
|
*/
|
|
1422
1623
|
success?: boolean;
|
|
1423
1624
|
/**
|
|
@@ -1441,7 +1642,7 @@ export class GetAppConfigResponseBody extends $tea.Model {
|
|
|
1441
1642
|
static types(): { [key: string]: any } {
|
|
1442
1643
|
return {
|
|
1443
1644
|
cost: 'number',
|
|
1444
|
-
data:
|
|
1645
|
+
data: GenDocQaResultResponseBodyData,
|
|
1445
1646
|
dataType: 'string',
|
|
1446
1647
|
errCode: 'string',
|
|
1447
1648
|
message: 'string',
|
|
@@ -1456,10 +1657,10 @@ export class GetAppConfigResponseBody extends $tea.Model {
|
|
|
1456
1657
|
}
|
|
1457
1658
|
}
|
|
1458
1659
|
|
|
1459
|
-
export class
|
|
1660
|
+
export class GenDocQaResultResponse extends $tea.Model {
|
|
1460
1661
|
headers?: { [key: string]: string };
|
|
1461
1662
|
statusCode?: number;
|
|
1462
|
-
body?:
|
|
1663
|
+
body?: GenDocQaResultResponseBody;
|
|
1463
1664
|
static names(): { [key: string]: string } {
|
|
1464
1665
|
return {
|
|
1465
1666
|
headers: 'headers',
|
|
@@ -1472,7 +1673,7 @@ export class GetAppConfigResponse extends $tea.Model {
|
|
|
1472
1673
|
return {
|
|
1473
1674
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1474
1675
|
statusCode: 'number',
|
|
1475
|
-
body:
|
|
1676
|
+
body: GenDocQaResultResponseBody,
|
|
1476
1677
|
};
|
|
1477
1678
|
}
|
|
1478
1679
|
|
|
@@ -1481,72 +1682,66 @@ export class GetAppConfigResponse extends $tea.Model {
|
|
|
1481
1682
|
}
|
|
1482
1683
|
}
|
|
1483
1684
|
|
|
1484
|
-
export class
|
|
1485
|
-
chunkIdList?: string[];
|
|
1685
|
+
export class GetAppConfigResponseBody extends $tea.Model {
|
|
1486
1686
|
/**
|
|
1487
|
-
* @remarks
|
|
1488
|
-
* This parameter is required.
|
|
1489
|
-
*
|
|
1490
1687
|
* @example
|
|
1491
|
-
*
|
|
1688
|
+
* null
|
|
1492
1689
|
*/
|
|
1493
|
-
|
|
1690
|
+
cost?: number;
|
|
1691
|
+
data?: GetAppConfigResponseBodyData;
|
|
1494
1692
|
/**
|
|
1495
|
-
* @remarks
|
|
1496
|
-
* This parameter is required.
|
|
1497
|
-
*
|
|
1498
1693
|
* @example
|
|
1499
|
-
*
|
|
1694
|
+
* null
|
|
1500
1695
|
*/
|
|
1501
|
-
|
|
1696
|
+
dataType?: string;
|
|
1502
1697
|
/**
|
|
1503
1698
|
* @example
|
|
1504
|
-
*
|
|
1699
|
+
* 0
|
|
1505
1700
|
*/
|
|
1506
|
-
|
|
1701
|
+
errCode?: string;
|
|
1507
1702
|
/**
|
|
1508
1703
|
* @example
|
|
1509
|
-
*
|
|
1704
|
+
* None
|
|
1510
1705
|
*/
|
|
1511
|
-
|
|
1706
|
+
message?: string;
|
|
1512
1707
|
/**
|
|
1513
1708
|
* @example
|
|
1514
|
-
*
|
|
1709
|
+
* EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
|
|
1515
1710
|
*/
|
|
1516
|
-
|
|
1711
|
+
requestId?: string;
|
|
1517
1712
|
/**
|
|
1518
1713
|
* @example
|
|
1519
|
-
*
|
|
1714
|
+
* True
|
|
1520
1715
|
*/
|
|
1521
|
-
|
|
1716
|
+
success?: boolean;
|
|
1522
1717
|
/**
|
|
1523
1718
|
* @example
|
|
1524
|
-
*
|
|
1719
|
+
* 2024-04-24 11:54:34
|
|
1525
1720
|
*/
|
|
1526
|
-
|
|
1721
|
+
time?: string;
|
|
1527
1722
|
static names(): { [key: string]: string } {
|
|
1528
1723
|
return {
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1724
|
+
cost: 'cost',
|
|
1725
|
+
data: 'data',
|
|
1726
|
+
dataType: 'dataType',
|
|
1727
|
+
errCode: 'errCode',
|
|
1728
|
+
message: 'message',
|
|
1729
|
+
requestId: 'requestId',
|
|
1730
|
+
success: 'success',
|
|
1731
|
+
time: 'time',
|
|
1537
1732
|
};
|
|
1538
1733
|
}
|
|
1539
1734
|
|
|
1540
1735
|
static types(): { [key: string]: any } {
|
|
1541
1736
|
return {
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1737
|
+
cost: 'number',
|
|
1738
|
+
data: GetAppConfigResponseBodyData,
|
|
1739
|
+
dataType: 'string',
|
|
1740
|
+
errCode: 'string',
|
|
1741
|
+
message: 'string',
|
|
1742
|
+
requestId: 'string',
|
|
1743
|
+
success: 'boolean',
|
|
1744
|
+
time: 'string',
|
|
1550
1745
|
};
|
|
1551
1746
|
}
|
|
1552
1747
|
|
|
@@ -1555,13 +1750,74 @@ export class GetDocumentChunkListRequest extends $tea.Model {
|
|
|
1555
1750
|
}
|
|
1556
1751
|
}
|
|
1557
1752
|
|
|
1558
|
-
export class
|
|
1753
|
+
export class GetAppConfigResponse extends $tea.Model {
|
|
1754
|
+
headers?: { [key: string]: string };
|
|
1755
|
+
statusCode?: number;
|
|
1756
|
+
body?: GetAppConfigResponseBody;
|
|
1757
|
+
static names(): { [key: string]: string } {
|
|
1758
|
+
return {
|
|
1759
|
+
headers: 'headers',
|
|
1760
|
+
statusCode: 'statusCode',
|
|
1761
|
+
body: 'body',
|
|
1762
|
+
};
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
static types(): { [key: string]: any } {
|
|
1766
|
+
return {
|
|
1767
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1768
|
+
statusCode: 'number',
|
|
1769
|
+
body: GetAppConfigResponseBody,
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
constructor(map?: { [key: string]: any }) {
|
|
1774
|
+
super(map);
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
export class GetChatQuestionRespRequest extends $tea.Model {
|
|
1779
|
+
/**
|
|
1780
|
+
* @remarks
|
|
1781
|
+
* This parameter is required.
|
|
1782
|
+
*
|
|
1783
|
+
* @example
|
|
1784
|
+
* 1869307330227937280
|
|
1785
|
+
*/
|
|
1786
|
+
batchId?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* @remarks
|
|
1789
|
+
* This parameter is required.
|
|
1790
|
+
*
|
|
1791
|
+
* @example
|
|
1792
|
+
* 237645726354
|
|
1793
|
+
*/
|
|
1794
|
+
sessionId?: string;
|
|
1795
|
+
static names(): { [key: string]: string } {
|
|
1796
|
+
return {
|
|
1797
|
+
batchId: 'batchId',
|
|
1798
|
+
sessionId: 'sessionId',
|
|
1799
|
+
};
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
static types(): { [key: string]: any } {
|
|
1803
|
+
return {
|
|
1804
|
+
batchId: 'string',
|
|
1805
|
+
sessionId: 'string',
|
|
1806
|
+
};
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
constructor(map?: { [key: string]: any }) {
|
|
1810
|
+
super(map);
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
export class GetChatQuestionRespResponseBody extends $tea.Model {
|
|
1559
1815
|
/**
|
|
1560
1816
|
* @example
|
|
1561
1817
|
* null
|
|
1562
1818
|
*/
|
|
1563
1819
|
cost?: number;
|
|
1564
|
-
data?:
|
|
1820
|
+
data?: GetChatQuestionRespResponseBodyData;
|
|
1565
1821
|
/**
|
|
1566
1822
|
* @example
|
|
1567
1823
|
* null
|
|
@@ -1579,7 +1835,7 @@ export class GetDocumentChunkListResponseBody extends $tea.Model {
|
|
|
1579
1835
|
message?: string;
|
|
1580
1836
|
/**
|
|
1581
1837
|
* @example
|
|
1582
|
-
*
|
|
1838
|
+
* 44BD277A-87F9-5310-8D63-3E6645F1DA85
|
|
1583
1839
|
*/
|
|
1584
1840
|
requestId?: string;
|
|
1585
1841
|
/**
|
|
@@ -1589,7 +1845,7 @@ export class GetDocumentChunkListResponseBody extends $tea.Model {
|
|
|
1589
1845
|
success?: boolean;
|
|
1590
1846
|
/**
|
|
1591
1847
|
* @example
|
|
1592
|
-
* 2024-
|
|
1848
|
+
* 2024-01-01 00:00:00
|
|
1593
1849
|
*/
|
|
1594
1850
|
time?: string;
|
|
1595
1851
|
static names(): { [key: string]: string } {
|
|
@@ -1608,7 +1864,7 @@ export class GetDocumentChunkListResponseBody extends $tea.Model {
|
|
|
1608
1864
|
static types(): { [key: string]: any } {
|
|
1609
1865
|
return {
|
|
1610
1866
|
cost: 'number',
|
|
1611
|
-
data:
|
|
1867
|
+
data: GetChatQuestionRespResponseBodyData,
|
|
1612
1868
|
dataType: 'string',
|
|
1613
1869
|
errCode: 'string',
|
|
1614
1870
|
message: 'string',
|
|
@@ -1623,10 +1879,10 @@ export class GetDocumentChunkListResponseBody extends $tea.Model {
|
|
|
1623
1879
|
}
|
|
1624
1880
|
}
|
|
1625
1881
|
|
|
1626
|
-
export class
|
|
1882
|
+
export class GetChatQuestionRespResponse extends $tea.Model {
|
|
1627
1883
|
headers?: { [key: string]: string };
|
|
1628
1884
|
statusCode?: number;
|
|
1629
|
-
body?:
|
|
1885
|
+
body?: GetChatQuestionRespResponseBody;
|
|
1630
1886
|
static names(): { [key: string]: string } {
|
|
1631
1887
|
return {
|
|
1632
1888
|
headers: 'headers',
|
|
@@ -1639,7 +1895,7 @@ export class GetDocumentChunkListResponse extends $tea.Model {
|
|
|
1639
1895
|
return {
|
|
1640
1896
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1641
1897
|
statusCode: 'number',
|
|
1642
|
-
body:
|
|
1898
|
+
body: GetChatQuestionRespResponseBody,
|
|
1643
1899
|
};
|
|
1644
1900
|
}
|
|
1645
1901
|
|
|
@@ -1648,41 +1904,45 @@ export class GetDocumentChunkListResponse extends $tea.Model {
|
|
|
1648
1904
|
}
|
|
1649
1905
|
}
|
|
1650
1906
|
|
|
1651
|
-
export class
|
|
1907
|
+
export class GetDialogAnalysisResultRequest extends $tea.Model {
|
|
1652
1908
|
/**
|
|
1653
|
-
* @remarks
|
|
1654
|
-
* This parameter is required.
|
|
1655
|
-
*
|
|
1656
1909
|
* @example
|
|
1657
|
-
*
|
|
1910
|
+
* true
|
|
1658
1911
|
*/
|
|
1659
|
-
|
|
1912
|
+
asc?: boolean;
|
|
1660
1913
|
/**
|
|
1661
1914
|
* @example
|
|
1662
|
-
*
|
|
1915
|
+
* 2024-09-23 09:20:02
|
|
1663
1916
|
*/
|
|
1664
|
-
|
|
1917
|
+
endTime?: string;
|
|
1918
|
+
sessionIds?: string[];
|
|
1665
1919
|
/**
|
|
1666
1920
|
* @example
|
|
1667
|
-
*
|
|
1921
|
+
* 2024-09-14 09:11:00
|
|
1668
1922
|
*/
|
|
1669
|
-
|
|
1670
|
-
|
|
1923
|
+
startTime?: string;
|
|
1924
|
+
/**
|
|
1925
|
+
* @example
|
|
1926
|
+
* true
|
|
1927
|
+
*/
|
|
1928
|
+
useUrl?: boolean;
|
|
1671
1929
|
static names(): { [key: string]: string } {
|
|
1672
1930
|
return {
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1931
|
+
asc: 'asc',
|
|
1932
|
+
endTime: 'endTime',
|
|
1933
|
+
sessionIds: 'sessionIds',
|
|
1934
|
+
startTime: 'startTime',
|
|
1935
|
+
useUrl: 'useUrl',
|
|
1677
1936
|
};
|
|
1678
1937
|
}
|
|
1679
1938
|
|
|
1680
1939
|
static types(): { [key: string]: any } {
|
|
1681
1940
|
return {
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1941
|
+
asc: 'boolean',
|
|
1942
|
+
endTime: 'string',
|
|
1943
|
+
sessionIds: { 'type': 'array', 'itemType': 'string' },
|
|
1944
|
+
startTime: 'string',
|
|
1945
|
+
useUrl: 'boolean',
|
|
1686
1946
|
};
|
|
1687
1947
|
}
|
|
1688
1948
|
|
|
@@ -1691,13 +1951,13 @@ export class GetDocumentListRequest extends $tea.Model {
|
|
|
1691
1951
|
}
|
|
1692
1952
|
}
|
|
1693
1953
|
|
|
1694
|
-
export class
|
|
1954
|
+
export class GetDialogAnalysisResultResponseBody extends $tea.Model {
|
|
1695
1955
|
/**
|
|
1696
1956
|
* @example
|
|
1697
1957
|
* null
|
|
1698
1958
|
*/
|
|
1699
1959
|
cost?: number;
|
|
1700
|
-
data?:
|
|
1960
|
+
data?: GetDialogAnalysisResultResponseBodyData;
|
|
1701
1961
|
/**
|
|
1702
1962
|
* @example
|
|
1703
1963
|
* null
|
|
@@ -1715,7 +1975,7 @@ export class GetDocumentListResponseBody extends $tea.Model {
|
|
|
1715
1975
|
message?: string;
|
|
1716
1976
|
/**
|
|
1717
1977
|
* @example
|
|
1718
|
-
*
|
|
1978
|
+
* 88A006F0-B565-53BA-B38A-DBDF9D0B2935
|
|
1719
1979
|
*/
|
|
1720
1980
|
requestId?: string;
|
|
1721
1981
|
/**
|
|
@@ -1744,7 +2004,7 @@ export class GetDocumentListResponseBody extends $tea.Model {
|
|
|
1744
2004
|
static types(): { [key: string]: any } {
|
|
1745
2005
|
return {
|
|
1746
2006
|
cost: 'number',
|
|
1747
|
-
data:
|
|
2007
|
+
data: GetDialogAnalysisResultResponseBodyData,
|
|
1748
2008
|
dataType: 'string',
|
|
1749
2009
|
errCode: 'string',
|
|
1750
2010
|
message: 'string',
|
|
@@ -1759,10 +2019,10 @@ export class GetDocumentListResponseBody extends $tea.Model {
|
|
|
1759
2019
|
}
|
|
1760
2020
|
}
|
|
1761
2021
|
|
|
1762
|
-
export class
|
|
2022
|
+
export class GetDialogAnalysisResultResponse extends $tea.Model {
|
|
1763
2023
|
headers?: { [key: string]: string };
|
|
1764
2024
|
statusCode?: number;
|
|
1765
|
-
body?:
|
|
2025
|
+
body?: GetDialogAnalysisResultResponseBody;
|
|
1766
2026
|
static names(): { [key: string]: string } {
|
|
1767
2027
|
return {
|
|
1768
2028
|
headers: 'headers',
|
|
@@ -1775,7 +2035,7 @@ export class GetDocumentListResponse extends $tea.Model {
|
|
|
1775
2035
|
return {
|
|
1776
2036
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1777
2037
|
statusCode: 'number',
|
|
1778
|
-
body:
|
|
2038
|
+
body: GetDialogAnalysisResultResponseBody,
|
|
1779
2039
|
};
|
|
1780
2040
|
}
|
|
1781
2041
|
|
|
@@ -1784,24 +2044,72 @@ export class GetDocumentListResponse extends $tea.Model {
|
|
|
1784
2044
|
}
|
|
1785
2045
|
}
|
|
1786
2046
|
|
|
1787
|
-
export class
|
|
2047
|
+
export class GetDocumentChunkListRequest extends $tea.Model {
|
|
2048
|
+
chunkIdList?: string[];
|
|
1788
2049
|
/**
|
|
1789
2050
|
* @remarks
|
|
1790
2051
|
* This parameter is required.
|
|
1791
2052
|
*
|
|
1792
2053
|
* @example
|
|
1793
|
-
*
|
|
2054
|
+
* 182364872346
|
|
1794
2055
|
*/
|
|
1795
|
-
|
|
2056
|
+
docId?: string;
|
|
2057
|
+
/**
|
|
2058
|
+
* @remarks
|
|
2059
|
+
* This parameter is required.
|
|
2060
|
+
*
|
|
2061
|
+
* @example
|
|
2062
|
+
* dsjgfdjgfxxx
|
|
2063
|
+
*/
|
|
2064
|
+
libraryId?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* @example
|
|
2067
|
+
* desc
|
|
2068
|
+
*/
|
|
2069
|
+
order?: string;
|
|
2070
|
+
/**
|
|
2071
|
+
* @example
|
|
2072
|
+
* gmtCreate
|
|
2073
|
+
*/
|
|
2074
|
+
orderBy?: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* @example
|
|
2077
|
+
* 1
|
|
2078
|
+
*/
|
|
2079
|
+
page?: number;
|
|
2080
|
+
/**
|
|
2081
|
+
* @example
|
|
2082
|
+
* 10
|
|
2083
|
+
*/
|
|
2084
|
+
pageSize?: number;
|
|
2085
|
+
/**
|
|
2086
|
+
* @example
|
|
2087
|
+
* test
|
|
2088
|
+
*/
|
|
2089
|
+
searchQuery?: string;
|
|
1796
2090
|
static names(): { [key: string]: string } {
|
|
1797
2091
|
return {
|
|
1798
|
-
|
|
2092
|
+
chunkIdList: 'chunkIdList',
|
|
2093
|
+
docId: 'docId',
|
|
2094
|
+
libraryId: 'libraryId',
|
|
2095
|
+
order: 'order',
|
|
2096
|
+
orderBy: 'orderBy',
|
|
2097
|
+
page: 'page',
|
|
2098
|
+
pageSize: 'pageSize',
|
|
2099
|
+
searchQuery: 'searchQuery',
|
|
1799
2100
|
};
|
|
1800
2101
|
}
|
|
1801
2102
|
|
|
1802
2103
|
static types(): { [key: string]: any } {
|
|
1803
2104
|
return {
|
|
1804
|
-
|
|
2105
|
+
chunkIdList: { 'type': 'array', 'itemType': 'string' },
|
|
2106
|
+
docId: 'string',
|
|
2107
|
+
libraryId: 'string',
|
|
2108
|
+
order: 'string',
|
|
2109
|
+
orderBy: 'string',
|
|
2110
|
+
page: 'number',
|
|
2111
|
+
pageSize: 'number',
|
|
2112
|
+
searchQuery: 'string',
|
|
1805
2113
|
};
|
|
1806
2114
|
}
|
|
1807
2115
|
|
|
@@ -1810,17 +2118,13 @@ export class GetDocumentUrlRequest extends $tea.Model {
|
|
|
1810
2118
|
}
|
|
1811
2119
|
}
|
|
1812
2120
|
|
|
1813
|
-
export class
|
|
2121
|
+
export class GetDocumentChunkListResponseBody extends $tea.Model {
|
|
1814
2122
|
/**
|
|
1815
2123
|
* @example
|
|
1816
2124
|
* null
|
|
1817
2125
|
*/
|
|
1818
2126
|
cost?: number;
|
|
1819
|
-
|
|
1820
|
-
* @example
|
|
1821
|
-
* https://path_to_file
|
|
1822
|
-
*/
|
|
1823
|
-
data?: string;
|
|
2127
|
+
data?: GetDocumentChunkListResponseBodyData;
|
|
1824
2128
|
/**
|
|
1825
2129
|
* @example
|
|
1826
2130
|
* null
|
|
@@ -1838,7 +2142,7 @@ export class GetDocumentUrlResponseBody extends $tea.Model {
|
|
|
1838
2142
|
message?: string;
|
|
1839
2143
|
/**
|
|
1840
2144
|
* @example
|
|
1841
|
-
*
|
|
2145
|
+
* 2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF
|
|
1842
2146
|
*/
|
|
1843
2147
|
requestId?: string;
|
|
1844
2148
|
/**
|
|
@@ -1848,7 +2152,7 @@ export class GetDocumentUrlResponseBody extends $tea.Model {
|
|
|
1848
2152
|
success?: boolean;
|
|
1849
2153
|
/**
|
|
1850
2154
|
* @example
|
|
1851
|
-
* 2024-
|
|
2155
|
+
* 2024-04-24 11:54:34
|
|
1852
2156
|
*/
|
|
1853
2157
|
time?: string;
|
|
1854
2158
|
static names(): { [key: string]: string } {
|
|
@@ -1867,7 +2171,7 @@ export class GetDocumentUrlResponseBody extends $tea.Model {
|
|
|
1867
2171
|
static types(): { [key: string]: any } {
|
|
1868
2172
|
return {
|
|
1869
2173
|
cost: 'number',
|
|
1870
|
-
data:
|
|
2174
|
+
data: GetDocumentChunkListResponseBodyData,
|
|
1871
2175
|
dataType: 'string',
|
|
1872
2176
|
errCode: 'string',
|
|
1873
2177
|
message: 'string',
|
|
@@ -1882,10 +2186,10 @@ export class GetDocumentUrlResponseBody extends $tea.Model {
|
|
|
1882
2186
|
}
|
|
1883
2187
|
}
|
|
1884
2188
|
|
|
1885
|
-
export class
|
|
2189
|
+
export class GetDocumentChunkListResponse extends $tea.Model {
|
|
1886
2190
|
headers?: { [key: string]: string };
|
|
1887
2191
|
statusCode?: number;
|
|
1888
|
-
body?:
|
|
2192
|
+
body?: GetDocumentChunkListResponseBody;
|
|
1889
2193
|
static names(): { [key: string]: string } {
|
|
1890
2194
|
return {
|
|
1891
2195
|
headers: 'headers',
|
|
@@ -1898,7 +2202,7 @@ export class GetDocumentUrlResponse extends $tea.Model {
|
|
|
1898
2202
|
return {
|
|
1899
2203
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1900
2204
|
statusCode: 'number',
|
|
1901
|
-
body:
|
|
2205
|
+
body: GetDocumentChunkListResponseBody,
|
|
1902
2206
|
};
|
|
1903
2207
|
}
|
|
1904
2208
|
|
|
@@ -1907,18 +2211,15 @@ export class GetDocumentUrlResponse extends $tea.Model {
|
|
|
1907
2211
|
}
|
|
1908
2212
|
}
|
|
1909
2213
|
|
|
1910
|
-
export class
|
|
1911
|
-
and?: GetFilterDocumentListRequestAnd[];
|
|
1912
|
-
docIdList?: string[];
|
|
2214
|
+
export class GetDocumentListRequest extends $tea.Model {
|
|
1913
2215
|
/**
|
|
1914
2216
|
* @remarks
|
|
1915
2217
|
* This parameter is required.
|
|
1916
2218
|
*
|
|
1917
2219
|
* @example
|
|
1918
|
-
*
|
|
2220
|
+
* 3akzl28vap
|
|
1919
2221
|
*/
|
|
1920
2222
|
libraryId?: string;
|
|
1921
|
-
or?: GetFilterDocumentListRequestOr[];
|
|
1922
2223
|
/**
|
|
1923
2224
|
* @example
|
|
1924
2225
|
* 1
|
|
@@ -1929,13 +2230,10 @@ export class GetFilterDocumentListRequest extends $tea.Model {
|
|
|
1929
2230
|
* 10
|
|
1930
2231
|
*/
|
|
1931
2232
|
pageSize?: number;
|
|
1932
|
-
status?: string
|
|
2233
|
+
status?: string;
|
|
1933
2234
|
static names(): { [key: string]: string } {
|
|
1934
2235
|
return {
|
|
1935
|
-
and: 'and',
|
|
1936
|
-
docIdList: 'docIdList',
|
|
1937
2236
|
libraryId: 'libraryId',
|
|
1938
|
-
or: 'or',
|
|
1939
2237
|
page: 'page',
|
|
1940
2238
|
pageSize: 'pageSize',
|
|
1941
2239
|
status: 'status',
|
|
@@ -1944,13 +2242,10 @@ export class GetFilterDocumentListRequest extends $tea.Model {
|
|
|
1944
2242
|
|
|
1945
2243
|
static types(): { [key: string]: any } {
|
|
1946
2244
|
return {
|
|
1947
|
-
and: { 'type': 'array', 'itemType': GetFilterDocumentListRequestAnd },
|
|
1948
|
-
docIdList: { 'type': 'array', 'itemType': 'string' },
|
|
1949
2245
|
libraryId: 'string',
|
|
1950
|
-
or: { 'type': 'array', 'itemType': GetFilterDocumentListRequestOr },
|
|
1951
2246
|
page: 'number',
|
|
1952
2247
|
pageSize: 'number',
|
|
1953
|
-
status:
|
|
2248
|
+
status: 'string',
|
|
1954
2249
|
};
|
|
1955
2250
|
}
|
|
1956
2251
|
|
|
@@ -1959,13 +2254,13 @@ export class GetFilterDocumentListRequest extends $tea.Model {
|
|
|
1959
2254
|
}
|
|
1960
2255
|
}
|
|
1961
2256
|
|
|
1962
|
-
export class
|
|
2257
|
+
export class GetDocumentListResponseBody extends $tea.Model {
|
|
1963
2258
|
/**
|
|
1964
2259
|
* @example
|
|
1965
2260
|
* null
|
|
1966
2261
|
*/
|
|
1967
2262
|
cost?: number;
|
|
1968
|
-
data?:
|
|
2263
|
+
data?: GetDocumentListResponseBodyData;
|
|
1969
2264
|
/**
|
|
1970
2265
|
* @example
|
|
1971
2266
|
* null
|
|
@@ -1983,7 +2278,7 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
|
|
|
1983
2278
|
message?: string;
|
|
1984
2279
|
/**
|
|
1985
2280
|
* @example
|
|
1986
|
-
*
|
|
2281
|
+
* 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
|
|
1987
2282
|
*/
|
|
1988
2283
|
requestId?: string;
|
|
1989
2284
|
/**
|
|
@@ -1993,7 +2288,7 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
|
|
|
1993
2288
|
success?: boolean;
|
|
1994
2289
|
/**
|
|
1995
2290
|
* @example
|
|
1996
|
-
* 2024-
|
|
2291
|
+
* 2024-04-24 11:54:34
|
|
1997
2292
|
*/
|
|
1998
2293
|
time?: string;
|
|
1999
2294
|
static names(): { [key: string]: string } {
|
|
@@ -2012,7 +2307,7 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
|
|
|
2012
2307
|
static types(): { [key: string]: any } {
|
|
2013
2308
|
return {
|
|
2014
2309
|
cost: 'number',
|
|
2015
|
-
data:
|
|
2310
|
+
data: GetDocumentListResponseBodyData,
|
|
2016
2311
|
dataType: 'string',
|
|
2017
2312
|
errCode: 'string',
|
|
2018
2313
|
message: 'string',
|
|
@@ -2027,10 +2322,10 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
|
|
|
2027
2322
|
}
|
|
2028
2323
|
}
|
|
2029
2324
|
|
|
2030
|
-
export class
|
|
2325
|
+
export class GetDocumentListResponse extends $tea.Model {
|
|
2031
2326
|
headers?: { [key: string]: string };
|
|
2032
2327
|
statusCode?: number;
|
|
2033
|
-
body?:
|
|
2328
|
+
body?: GetDocumentListResponseBody;
|
|
2034
2329
|
static names(): { [key: string]: string } {
|
|
2035
2330
|
return {
|
|
2036
2331
|
headers: 'headers',
|
|
@@ -2043,7 +2338,7 @@ export class GetFilterDocumentListResponse extends $tea.Model {
|
|
|
2043
2338
|
return {
|
|
2044
2339
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2045
2340
|
statusCode: 'number',
|
|
2046
|
-
body:
|
|
2341
|
+
body: GetDocumentListResponseBody,
|
|
2047
2342
|
};
|
|
2048
2343
|
}
|
|
2049
2344
|
|
|
@@ -2052,48 +2347,24 @@ export class GetFilterDocumentListResponse extends $tea.Model {
|
|
|
2052
2347
|
}
|
|
2053
2348
|
}
|
|
2054
2349
|
|
|
2055
|
-
export class
|
|
2056
|
-
/**
|
|
2057
|
-
* @remarks
|
|
2058
|
-
* This parameter is required.
|
|
2059
|
-
*
|
|
2060
|
-
* @example
|
|
2061
|
-
* GysYBsxx
|
|
2062
|
-
*/
|
|
2063
|
-
bizId?: string;
|
|
2350
|
+
export class GetDocumentUrlRequest extends $tea.Model {
|
|
2064
2351
|
/**
|
|
2065
2352
|
* @remarks
|
|
2066
2353
|
* This parameter is required.
|
|
2067
2354
|
*
|
|
2068
2355
|
* @example
|
|
2069
|
-
*
|
|
2070
|
-
*/
|
|
2071
|
-
bizType?: string;
|
|
2072
|
-
/**
|
|
2073
|
-
* @example
|
|
2074
|
-
* 1
|
|
2075
|
-
*/
|
|
2076
|
-
page?: number;
|
|
2077
|
-
/**
|
|
2078
|
-
* @example
|
|
2079
|
-
* 10
|
|
2356
|
+
* 12681367362
|
|
2080
2357
|
*/
|
|
2081
|
-
|
|
2358
|
+
documentId?: string;
|
|
2082
2359
|
static names(): { [key: string]: string } {
|
|
2083
2360
|
return {
|
|
2084
|
-
|
|
2085
|
-
bizType: 'bizType',
|
|
2086
|
-
page: 'page',
|
|
2087
|
-
pageSize: 'pageSize',
|
|
2361
|
+
documentId: 'documentId',
|
|
2088
2362
|
};
|
|
2089
2363
|
}
|
|
2090
2364
|
|
|
2091
2365
|
static types(): { [key: string]: any } {
|
|
2092
2366
|
return {
|
|
2093
|
-
|
|
2094
|
-
bizType: 'string',
|
|
2095
|
-
page: 'number',
|
|
2096
|
-
pageSize: 'number',
|
|
2367
|
+
documentId: 'string',
|
|
2097
2368
|
};
|
|
2098
2369
|
}
|
|
2099
2370
|
|
|
@@ -2102,13 +2373,17 @@ export class GetHistoryListByBizTypeRequest extends $tea.Model {
|
|
|
2102
2373
|
}
|
|
2103
2374
|
}
|
|
2104
2375
|
|
|
2105
|
-
export class
|
|
2376
|
+
export class GetDocumentUrlResponseBody extends $tea.Model {
|
|
2106
2377
|
/**
|
|
2107
2378
|
* @example
|
|
2108
2379
|
* null
|
|
2109
2380
|
*/
|
|
2110
2381
|
cost?: number;
|
|
2111
|
-
|
|
2382
|
+
/**
|
|
2383
|
+
* @example
|
|
2384
|
+
* https://path_to_file
|
|
2385
|
+
*/
|
|
2386
|
+
data?: string;
|
|
2112
2387
|
/**
|
|
2113
2388
|
* @example
|
|
2114
2389
|
* null
|
|
@@ -2126,7 +2401,7 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
|
|
|
2126
2401
|
message?: string;
|
|
2127
2402
|
/**
|
|
2128
2403
|
* @example
|
|
2129
|
-
*
|
|
2404
|
+
* 66249B43-8C2B-5EE7-AE78-B382306621C6
|
|
2130
2405
|
*/
|
|
2131
2406
|
requestId?: string;
|
|
2132
2407
|
/**
|
|
@@ -2155,7 +2430,7 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
|
|
|
2155
2430
|
static types(): { [key: string]: any } {
|
|
2156
2431
|
return {
|
|
2157
2432
|
cost: 'number',
|
|
2158
|
-
data:
|
|
2433
|
+
data: 'string',
|
|
2159
2434
|
dataType: 'string',
|
|
2160
2435
|
errCode: 'string',
|
|
2161
2436
|
message: 'string',
|
|
@@ -2170,10 +2445,10 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
|
|
|
2170
2445
|
}
|
|
2171
2446
|
}
|
|
2172
2447
|
|
|
2173
|
-
export class
|
|
2448
|
+
export class GetDocumentUrlResponse extends $tea.Model {
|
|
2174
2449
|
headers?: { [key: string]: string };
|
|
2175
2450
|
statusCode?: number;
|
|
2176
|
-
body?:
|
|
2451
|
+
body?: GetDocumentUrlResponseBody;
|
|
2177
2452
|
static names(): { [key: string]: string } {
|
|
2178
2453
|
return {
|
|
2179
2454
|
headers: 'headers',
|
|
@@ -2186,7 +2461,7 @@ export class GetHistoryListByBizTypeResponse extends $tea.Model {
|
|
|
2186
2461
|
return {
|
|
2187
2462
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2188
2463
|
statusCode: 'number',
|
|
2189
|
-
body:
|
|
2464
|
+
body: GetDocumentUrlResponseBody,
|
|
2190
2465
|
};
|
|
2191
2466
|
}
|
|
2192
2467
|
|
|
@@ -2195,7 +2470,9 @@ export class GetHistoryListByBizTypeResponse extends $tea.Model {
|
|
|
2195
2470
|
}
|
|
2196
2471
|
}
|
|
2197
2472
|
|
|
2198
|
-
export class
|
|
2473
|
+
export class GetFilterDocumentListRequest extends $tea.Model {
|
|
2474
|
+
and?: GetFilterDocumentListRequestAnd[];
|
|
2475
|
+
docIdList?: string[];
|
|
2199
2476
|
/**
|
|
2200
2477
|
* @remarks
|
|
2201
2478
|
* This parameter is required.
|
|
@@ -2204,15 +2481,39 @@ export class GetLibraryRequest extends $tea.Model {
|
|
|
2204
2481
|
* cjshcxxxx
|
|
2205
2482
|
*/
|
|
2206
2483
|
libraryId?: string;
|
|
2484
|
+
or?: GetFilterDocumentListRequestOr[];
|
|
2485
|
+
/**
|
|
2486
|
+
* @example
|
|
2487
|
+
* 1
|
|
2488
|
+
*/
|
|
2489
|
+
page?: number;
|
|
2490
|
+
/**
|
|
2491
|
+
* @example
|
|
2492
|
+
* 10
|
|
2493
|
+
*/
|
|
2494
|
+
pageSize?: number;
|
|
2495
|
+
status?: string[];
|
|
2207
2496
|
static names(): { [key: string]: string } {
|
|
2208
2497
|
return {
|
|
2498
|
+
and: 'and',
|
|
2499
|
+
docIdList: 'docIdList',
|
|
2209
2500
|
libraryId: 'libraryId',
|
|
2501
|
+
or: 'or',
|
|
2502
|
+
page: 'page',
|
|
2503
|
+
pageSize: 'pageSize',
|
|
2504
|
+
status: 'status',
|
|
2210
2505
|
};
|
|
2211
2506
|
}
|
|
2212
2507
|
|
|
2213
2508
|
static types(): { [key: string]: any } {
|
|
2214
2509
|
return {
|
|
2510
|
+
and: { 'type': 'array', 'itemType': GetFilterDocumentListRequestAnd },
|
|
2511
|
+
docIdList: { 'type': 'array', 'itemType': 'string' },
|
|
2215
2512
|
libraryId: 'string',
|
|
2513
|
+
or: { 'type': 'array', 'itemType': GetFilterDocumentListRequestOr },
|
|
2514
|
+
page: 'number',
|
|
2515
|
+
pageSize: 'number',
|
|
2516
|
+
status: { 'type': 'array', 'itemType': 'string' },
|
|
2216
2517
|
};
|
|
2217
2518
|
}
|
|
2218
2519
|
|
|
@@ -2221,13 +2522,13 @@ export class GetLibraryRequest extends $tea.Model {
|
|
|
2221
2522
|
}
|
|
2222
2523
|
}
|
|
2223
2524
|
|
|
2224
|
-
export class
|
|
2525
|
+
export class GetFilterDocumentListResponseBody extends $tea.Model {
|
|
2225
2526
|
/**
|
|
2226
2527
|
* @example
|
|
2227
2528
|
* null
|
|
2228
2529
|
*/
|
|
2229
2530
|
cost?: number;
|
|
2230
|
-
data?:
|
|
2531
|
+
data?: GetFilterDocumentListResponseBodyData;
|
|
2231
2532
|
/**
|
|
2232
2533
|
* @example
|
|
2233
2534
|
* null
|
|
@@ -2245,7 +2546,7 @@ export class GetLibraryResponseBody extends $tea.Model {
|
|
|
2245
2546
|
message?: string;
|
|
2246
2547
|
/**
|
|
2247
2548
|
* @example
|
|
2248
|
-
*
|
|
2549
|
+
* 7ADF010C-FD89-569D-A079-2D4D5247E943
|
|
2249
2550
|
*/
|
|
2250
2551
|
requestId?: string;
|
|
2251
2552
|
/**
|
|
@@ -2274,7 +2575,7 @@ export class GetLibraryResponseBody extends $tea.Model {
|
|
|
2274
2575
|
static types(): { [key: string]: any } {
|
|
2275
2576
|
return {
|
|
2276
2577
|
cost: 'number',
|
|
2277
|
-
data:
|
|
2578
|
+
data: GetFilterDocumentListResponseBodyData,
|
|
2278
2579
|
dataType: 'string',
|
|
2279
2580
|
errCode: 'string',
|
|
2280
2581
|
message: 'string',
|
|
@@ -2289,10 +2590,10 @@ export class GetLibraryResponseBody extends $tea.Model {
|
|
|
2289
2590
|
}
|
|
2290
2591
|
}
|
|
2291
2592
|
|
|
2292
|
-
export class
|
|
2593
|
+
export class GetFilterDocumentListResponse extends $tea.Model {
|
|
2293
2594
|
headers?: { [key: string]: string };
|
|
2294
2595
|
statusCode?: number;
|
|
2295
|
-
body?:
|
|
2596
|
+
body?: GetFilterDocumentListResponseBody;
|
|
2296
2597
|
static names(): { [key: string]: string } {
|
|
2297
2598
|
return {
|
|
2298
2599
|
headers: 'headers',
|
|
@@ -2305,7 +2606,7 @@ export class GetLibraryResponse extends $tea.Model {
|
|
|
2305
2606
|
return {
|
|
2306
2607
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2307
2608
|
statusCode: 'number',
|
|
2308
|
-
body:
|
|
2609
|
+
body: GetFilterDocumentListResponseBody,
|
|
2309
2610
|
};
|
|
2310
2611
|
}
|
|
2311
2612
|
|
|
@@ -2314,7 +2615,23 @@ export class GetLibraryResponse extends $tea.Model {
|
|
|
2314
2615
|
}
|
|
2315
2616
|
}
|
|
2316
2617
|
|
|
2317
|
-
export class
|
|
2618
|
+
export class GetHistoryListByBizTypeRequest extends $tea.Model {
|
|
2619
|
+
/**
|
|
2620
|
+
* @remarks
|
|
2621
|
+
* This parameter is required.
|
|
2622
|
+
*
|
|
2623
|
+
* @example
|
|
2624
|
+
* GysYBsxx
|
|
2625
|
+
*/
|
|
2626
|
+
bizId?: string;
|
|
2627
|
+
/**
|
|
2628
|
+
* @remarks
|
|
2629
|
+
* This parameter is required.
|
|
2630
|
+
*
|
|
2631
|
+
* @example
|
|
2632
|
+
* LibraryChat
|
|
2633
|
+
*/
|
|
2634
|
+
bizType?: string;
|
|
2318
2635
|
/**
|
|
2319
2636
|
* @example
|
|
2320
2637
|
* 1
|
|
@@ -2325,20 +2642,21 @@ export class GetLibraryListRequest extends $tea.Model {
|
|
|
2325
2642
|
* 10
|
|
2326
2643
|
*/
|
|
2327
2644
|
pageSize?: number;
|
|
2328
|
-
query?: string;
|
|
2329
2645
|
static names(): { [key: string]: string } {
|
|
2330
2646
|
return {
|
|
2647
|
+
bizId: 'bizId',
|
|
2648
|
+
bizType: 'bizType',
|
|
2331
2649
|
page: 'page',
|
|
2332
2650
|
pageSize: 'pageSize',
|
|
2333
|
-
query: 'query',
|
|
2334
2651
|
};
|
|
2335
2652
|
}
|
|
2336
2653
|
|
|
2337
2654
|
static types(): { [key: string]: any } {
|
|
2338
2655
|
return {
|
|
2656
|
+
bizId: 'string',
|
|
2657
|
+
bizType: 'string',
|
|
2339
2658
|
page: 'number',
|
|
2340
2659
|
pageSize: 'number',
|
|
2341
|
-
query: 'string',
|
|
2342
2660
|
};
|
|
2343
2661
|
}
|
|
2344
2662
|
|
|
@@ -2347,13 +2665,13 @@ export class GetLibraryListRequest extends $tea.Model {
|
|
|
2347
2665
|
}
|
|
2348
2666
|
}
|
|
2349
2667
|
|
|
2350
|
-
export class
|
|
2668
|
+
export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
|
|
2351
2669
|
/**
|
|
2352
2670
|
* @example
|
|
2353
2671
|
* null
|
|
2354
2672
|
*/
|
|
2355
2673
|
cost?: number;
|
|
2356
|
-
data?:
|
|
2674
|
+
data?: GetHistoryListByBizTypeResponseBodyData;
|
|
2357
2675
|
/**
|
|
2358
2676
|
* @example
|
|
2359
2677
|
* null
|
|
@@ -2371,7 +2689,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
|
|
|
2371
2689
|
message?: string;
|
|
2372
2690
|
/**
|
|
2373
2691
|
* @example
|
|
2374
|
-
*
|
|
2692
|
+
* 9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E
|
|
2375
2693
|
*/
|
|
2376
2694
|
requestId?: string;
|
|
2377
2695
|
/**
|
|
@@ -2400,7 +2718,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
|
|
|
2400
2718
|
static types(): { [key: string]: any } {
|
|
2401
2719
|
return {
|
|
2402
2720
|
cost: 'number',
|
|
2403
|
-
data:
|
|
2721
|
+
data: GetHistoryListByBizTypeResponseBodyData,
|
|
2404
2722
|
dataType: 'string',
|
|
2405
2723
|
errCode: 'string',
|
|
2406
2724
|
message: 'string',
|
|
@@ -2415,10 +2733,10 @@ export class GetLibraryListResponseBody extends $tea.Model {
|
|
|
2415
2733
|
}
|
|
2416
2734
|
}
|
|
2417
2735
|
|
|
2418
|
-
export class
|
|
2736
|
+
export class GetHistoryListByBizTypeResponse extends $tea.Model {
|
|
2419
2737
|
headers?: { [key: string]: string };
|
|
2420
2738
|
statusCode?: number;
|
|
2421
|
-
body?:
|
|
2739
|
+
body?: GetHistoryListByBizTypeResponseBody;
|
|
2422
2740
|
static names(): { [key: string]: string } {
|
|
2423
2741
|
return {
|
|
2424
2742
|
headers: 'headers',
|
|
@@ -2431,7 +2749,7 @@ export class GetLibraryListResponse extends $tea.Model {
|
|
|
2431
2749
|
return {
|
|
2432
2750
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2433
2751
|
statusCode: 'number',
|
|
2434
|
-
body:
|
|
2752
|
+
body: GetHistoryListByBizTypeResponseBody,
|
|
2435
2753
|
};
|
|
2436
2754
|
}
|
|
2437
2755
|
|
|
@@ -2440,37 +2758,24 @@ export class GetLibraryListResponse extends $tea.Model {
|
|
|
2440
2758
|
}
|
|
2441
2759
|
}
|
|
2442
2760
|
|
|
2443
|
-
export class
|
|
2444
|
-
/**
|
|
2445
|
-
* @remarks
|
|
2446
|
-
* This parameter is required.
|
|
2447
|
-
*
|
|
2448
|
-
* @example
|
|
2449
|
-
* 873648346573245
|
|
2450
|
-
*/
|
|
2451
|
-
docId?: string;
|
|
2761
|
+
export class GetLibraryRequest extends $tea.Model {
|
|
2452
2762
|
/**
|
|
2453
2763
|
* @remarks
|
|
2454
2764
|
* This parameter is required.
|
|
2455
2765
|
*
|
|
2456
2766
|
* @example
|
|
2457
|
-
*
|
|
2767
|
+
* cjshcxxxx
|
|
2458
2768
|
*/
|
|
2459
2769
|
libraryId?: string;
|
|
2460
|
-
useUrlResult?: boolean;
|
|
2461
2770
|
static names(): { [key: string]: string } {
|
|
2462
2771
|
return {
|
|
2463
|
-
docId: 'docId',
|
|
2464
2772
|
libraryId: 'libraryId',
|
|
2465
|
-
useUrlResult: 'useUrlResult',
|
|
2466
2773
|
};
|
|
2467
2774
|
}
|
|
2468
2775
|
|
|
2469
2776
|
static types(): { [key: string]: any } {
|
|
2470
2777
|
return {
|
|
2471
|
-
docId: 'string',
|
|
2472
2778
|
libraryId: 'string',
|
|
2473
|
-
useUrlResult: 'boolean',
|
|
2474
2779
|
};
|
|
2475
2780
|
}
|
|
2476
2781
|
|
|
@@ -2479,13 +2784,13 @@ export class GetParseResultRequest extends $tea.Model {
|
|
|
2479
2784
|
}
|
|
2480
2785
|
}
|
|
2481
2786
|
|
|
2482
|
-
export class
|
|
2787
|
+
export class GetLibraryResponseBody extends $tea.Model {
|
|
2483
2788
|
/**
|
|
2484
2789
|
* @example
|
|
2485
2790
|
* null
|
|
2486
2791
|
*/
|
|
2487
2792
|
cost?: number;
|
|
2488
|
-
data?:
|
|
2793
|
+
data?: GetLibraryResponseBodyData;
|
|
2489
2794
|
/**
|
|
2490
2795
|
* @example
|
|
2491
2796
|
* null
|
|
@@ -2503,7 +2808,7 @@ export class GetParseResultResponseBody extends $tea.Model {
|
|
|
2503
2808
|
message?: string;
|
|
2504
2809
|
/**
|
|
2505
2810
|
* @example
|
|
2506
|
-
*
|
|
2811
|
+
* 44BD277A-87F9-5310-8D63-3E6645F1DA85
|
|
2507
2812
|
*/
|
|
2508
2813
|
requestId?: string;
|
|
2509
2814
|
/**
|
|
@@ -2513,7 +2818,7 @@ export class GetParseResultResponseBody extends $tea.Model {
|
|
|
2513
2818
|
success?: boolean;
|
|
2514
2819
|
/**
|
|
2515
2820
|
* @example
|
|
2516
|
-
* 2024-
|
|
2821
|
+
* 2024-01-01 00:00:00
|
|
2517
2822
|
*/
|
|
2518
2823
|
time?: string;
|
|
2519
2824
|
static names(): { [key: string]: string } {
|
|
@@ -2532,7 +2837,7 @@ export class GetParseResultResponseBody extends $tea.Model {
|
|
|
2532
2837
|
static types(): { [key: string]: any } {
|
|
2533
2838
|
return {
|
|
2534
2839
|
cost: 'number',
|
|
2535
|
-
data:
|
|
2840
|
+
data: GetLibraryResponseBodyData,
|
|
2536
2841
|
dataType: 'string',
|
|
2537
2842
|
errCode: 'string',
|
|
2538
2843
|
message: 'string',
|
|
@@ -2547,10 +2852,10 @@ export class GetParseResultResponseBody extends $tea.Model {
|
|
|
2547
2852
|
}
|
|
2548
2853
|
}
|
|
2549
2854
|
|
|
2550
|
-
export class
|
|
2855
|
+
export class GetLibraryResponse extends $tea.Model {
|
|
2551
2856
|
headers?: { [key: string]: string };
|
|
2552
2857
|
statusCode?: number;
|
|
2553
|
-
body?:
|
|
2858
|
+
body?: GetLibraryResponseBody;
|
|
2554
2859
|
static names(): { [key: string]: string } {
|
|
2555
2860
|
return {
|
|
2556
2861
|
headers: 'headers',
|
|
@@ -2563,7 +2868,7 @@ export class GetParseResultResponse extends $tea.Model {
|
|
|
2563
2868
|
return {
|
|
2564
2869
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2565
2870
|
statusCode: 'number',
|
|
2566
|
-
body:
|
|
2871
|
+
body: GetLibraryResponseBody,
|
|
2567
2872
|
};
|
|
2568
2873
|
}
|
|
2569
2874
|
|
|
@@ -2572,24 +2877,31 @@ export class GetParseResultResponse extends $tea.Model {
|
|
|
2572
2877
|
}
|
|
2573
2878
|
}
|
|
2574
2879
|
|
|
2575
|
-
export class
|
|
2880
|
+
export class GetLibraryListRequest extends $tea.Model {
|
|
2576
2881
|
/**
|
|
2577
|
-
* @remarks
|
|
2578
|
-
* This parameter is required.
|
|
2579
|
-
*
|
|
2580
2882
|
* @example
|
|
2581
|
-
*
|
|
2883
|
+
* 1
|
|
2582
2884
|
*/
|
|
2583
|
-
|
|
2885
|
+
page?: number;
|
|
2886
|
+
/**
|
|
2887
|
+
* @example
|
|
2888
|
+
* 10
|
|
2889
|
+
*/
|
|
2890
|
+
pageSize?: number;
|
|
2891
|
+
query?: string;
|
|
2584
2892
|
static names(): { [key: string]: string } {
|
|
2585
2893
|
return {
|
|
2586
|
-
|
|
2894
|
+
page: 'page',
|
|
2895
|
+
pageSize: 'pageSize',
|
|
2896
|
+
query: 'query',
|
|
2587
2897
|
};
|
|
2588
2898
|
}
|
|
2589
2899
|
|
|
2590
2900
|
static types(): { [key: string]: any } {
|
|
2591
2901
|
return {
|
|
2592
|
-
|
|
2902
|
+
page: 'number',
|
|
2903
|
+
pageSize: 'number',
|
|
2904
|
+
query: 'string',
|
|
2593
2905
|
};
|
|
2594
2906
|
}
|
|
2595
2907
|
|
|
@@ -2598,13 +2910,13 @@ export class GetQualityCheckTaskResultRequest extends $tea.Model {
|
|
|
2598
2910
|
}
|
|
2599
2911
|
}
|
|
2600
2912
|
|
|
2601
|
-
export class
|
|
2913
|
+
export class GetLibraryListResponseBody extends $tea.Model {
|
|
2602
2914
|
/**
|
|
2603
2915
|
* @example
|
|
2604
2916
|
* null
|
|
2605
2917
|
*/
|
|
2606
2918
|
cost?: number;
|
|
2607
|
-
data?:
|
|
2919
|
+
data?: GetLibraryListResponseBodyData;
|
|
2608
2920
|
/**
|
|
2609
2921
|
* @example
|
|
2610
2922
|
* null
|
|
@@ -2622,7 +2934,7 @@ export class GetQualityCheckTaskResultResponseBody extends $tea.Model {
|
|
|
2622
2934
|
message?: string;
|
|
2623
2935
|
/**
|
|
2624
2936
|
* @example
|
|
2625
|
-
*
|
|
2937
|
+
* 0a06dfe817156528535968405edce3
|
|
2626
2938
|
*/
|
|
2627
2939
|
requestId?: string;
|
|
2628
2940
|
/**
|
|
@@ -2651,7 +2963,7 @@ export class GetQualityCheckTaskResultResponseBody extends $tea.Model {
|
|
|
2651
2963
|
static types(): { [key: string]: any } {
|
|
2652
2964
|
return {
|
|
2653
2965
|
cost: 'number',
|
|
2654
|
-
data:
|
|
2966
|
+
data: GetLibraryListResponseBodyData,
|
|
2655
2967
|
dataType: 'string',
|
|
2656
2968
|
errCode: 'string',
|
|
2657
2969
|
message: 'string',
|
|
@@ -2666,10 +2978,10 @@ export class GetQualityCheckTaskResultResponseBody extends $tea.Model {
|
|
|
2666
2978
|
}
|
|
2667
2979
|
}
|
|
2668
2980
|
|
|
2669
|
-
export class
|
|
2981
|
+
export class GetLibraryListResponse extends $tea.Model {
|
|
2670
2982
|
headers?: { [key: string]: string };
|
|
2671
2983
|
statusCode?: number;
|
|
2672
|
-
body?:
|
|
2984
|
+
body?: GetLibraryListResponseBody;
|
|
2673
2985
|
static names(): { [key: string]: string } {
|
|
2674
2986
|
return {
|
|
2675
2987
|
headers: 'headers',
|
|
@@ -2682,7 +2994,7 @@ export class GetQualityCheckTaskResultResponse extends $tea.Model {
|
|
|
2682
2994
|
return {
|
|
2683
2995
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2684
2996
|
statusCode: 'number',
|
|
2685
|
-
body:
|
|
2997
|
+
body: GetLibraryListResponseBody,
|
|
2686
2998
|
};
|
|
2687
2999
|
}
|
|
2688
3000
|
|
|
@@ -2691,24 +3003,37 @@ export class GetQualityCheckTaskResultResponse extends $tea.Model {
|
|
|
2691
3003
|
}
|
|
2692
3004
|
}
|
|
2693
3005
|
|
|
2694
|
-
export class
|
|
3006
|
+
export class GetParseResultRequest extends $tea.Model {
|
|
2695
3007
|
/**
|
|
2696
3008
|
* @remarks
|
|
2697
3009
|
* This parameter is required.
|
|
2698
3010
|
*
|
|
2699
3011
|
* @example
|
|
2700
|
-
*
|
|
3012
|
+
* 873648346573245
|
|
2701
3013
|
*/
|
|
2702
|
-
|
|
3014
|
+
docId?: string;
|
|
3015
|
+
/**
|
|
3016
|
+
* @remarks
|
|
3017
|
+
* This parameter is required.
|
|
3018
|
+
*
|
|
3019
|
+
* @example
|
|
3020
|
+
* sjdgdsfg
|
|
3021
|
+
*/
|
|
3022
|
+
libraryId?: string;
|
|
3023
|
+
useUrlResult?: boolean;
|
|
2703
3024
|
static names(): { [key: string]: string } {
|
|
2704
3025
|
return {
|
|
2705
|
-
|
|
3026
|
+
docId: 'docId',
|
|
3027
|
+
libraryId: 'libraryId',
|
|
3028
|
+
useUrlResult: 'useUrlResult',
|
|
2706
3029
|
};
|
|
2707
3030
|
}
|
|
2708
3031
|
|
|
2709
3032
|
static types(): { [key: string]: any } {
|
|
2710
3033
|
return {
|
|
2711
|
-
|
|
3034
|
+
docId: 'string',
|
|
3035
|
+
libraryId: 'string',
|
|
3036
|
+
useUrlResult: 'boolean',
|
|
2712
3037
|
};
|
|
2713
3038
|
}
|
|
2714
3039
|
|
|
@@ -2717,13 +3042,13 @@ export class GetSummaryTaskResultRequest extends $tea.Model {
|
|
|
2717
3042
|
}
|
|
2718
3043
|
}
|
|
2719
3044
|
|
|
2720
|
-
export class
|
|
3045
|
+
export class GetParseResultResponseBody extends $tea.Model {
|
|
2721
3046
|
/**
|
|
2722
3047
|
* @example
|
|
2723
3048
|
* null
|
|
2724
3049
|
*/
|
|
2725
3050
|
cost?: number;
|
|
2726
|
-
data?:
|
|
3051
|
+
data?: GetParseResultResponseBodyData;
|
|
2727
3052
|
/**
|
|
2728
3053
|
* @example
|
|
2729
3054
|
* null
|
|
@@ -2741,7 +3066,7 @@ export class GetSummaryTaskResultResponseBody extends $tea.Model {
|
|
|
2741
3066
|
message?: string;
|
|
2742
3067
|
/**
|
|
2743
3068
|
* @example
|
|
2744
|
-
*
|
|
3069
|
+
* 0abb793617204049360065953ec6dd
|
|
2745
3070
|
*/
|
|
2746
3071
|
requestId?: string;
|
|
2747
3072
|
/**
|
|
@@ -2770,7 +3095,7 @@ export class GetSummaryTaskResultResponseBody extends $tea.Model {
|
|
|
2770
3095
|
static types(): { [key: string]: any } {
|
|
2771
3096
|
return {
|
|
2772
3097
|
cost: 'number',
|
|
2773
|
-
data:
|
|
3098
|
+
data: GetParseResultResponseBodyData,
|
|
2774
3099
|
dataType: 'string',
|
|
2775
3100
|
errCode: 'string',
|
|
2776
3101
|
message: 'string',
|
|
@@ -2785,10 +3110,10 @@ export class GetSummaryTaskResultResponseBody extends $tea.Model {
|
|
|
2785
3110
|
}
|
|
2786
3111
|
}
|
|
2787
3112
|
|
|
2788
|
-
export class
|
|
3113
|
+
export class GetParseResultResponse extends $tea.Model {
|
|
2789
3114
|
headers?: { [key: string]: string };
|
|
2790
3115
|
statusCode?: number;
|
|
2791
|
-
body?:
|
|
3116
|
+
body?: GetParseResultResponseBody;
|
|
2792
3117
|
static names(): { [key: string]: string } {
|
|
2793
3118
|
return {
|
|
2794
3119
|
headers: 'headers',
|
|
@@ -2801,7 +3126,7 @@ export class GetSummaryTaskResultResponse extends $tea.Model {
|
|
|
2801
3126
|
return {
|
|
2802
3127
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2803
3128
|
statusCode: 'number',
|
|
2804
|
-
body:
|
|
3129
|
+
body: GetParseResultResponseBody,
|
|
2805
3130
|
};
|
|
2806
3131
|
}
|
|
2807
3132
|
|
|
@@ -2810,7 +3135,7 @@ export class GetSummaryTaskResultResponse extends $tea.Model {
|
|
|
2810
3135
|
}
|
|
2811
3136
|
}
|
|
2812
3137
|
|
|
2813
|
-
export class
|
|
3138
|
+
export class GetQualityCheckTaskResultRequest extends $tea.Model {
|
|
2814
3139
|
/**
|
|
2815
3140
|
* @remarks
|
|
2816
3141
|
* This parameter is required.
|
|
@@ -2836,19 +3161,13 @@ export class GetTaskResultRequest extends $tea.Model {
|
|
|
2836
3161
|
}
|
|
2837
3162
|
}
|
|
2838
3163
|
|
|
2839
|
-
export class
|
|
3164
|
+
export class GetQualityCheckTaskResultResponseBody extends $tea.Model {
|
|
2840
3165
|
/**
|
|
2841
3166
|
* @example
|
|
2842
3167
|
* null
|
|
2843
3168
|
*/
|
|
2844
3169
|
cost?: number;
|
|
2845
|
-
|
|
2846
|
-
* @example
|
|
2847
|
-
* {
|
|
2848
|
-
* "file_url": "https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf"
|
|
2849
|
-
* }
|
|
2850
|
-
*/
|
|
2851
|
-
data?: { [key: string]: any };
|
|
3170
|
+
data?: GetQualityCheckTaskResultResponseBodyData;
|
|
2852
3171
|
/**
|
|
2853
3172
|
* @example
|
|
2854
3173
|
* null
|
|
@@ -2866,7 +3185,7 @@ export class GetTaskResultResponseBody extends $tea.Model {
|
|
|
2866
3185
|
message?: string;
|
|
2867
3186
|
/**
|
|
2868
3187
|
* @example
|
|
2869
|
-
*
|
|
3188
|
+
* 67C7021A-D268-553D-8C15-A087B9604028
|
|
2870
3189
|
*/
|
|
2871
3190
|
requestId?: string;
|
|
2872
3191
|
/**
|
|
@@ -2876,7 +3195,7 @@ export class GetTaskResultResponseBody extends $tea.Model {
|
|
|
2876
3195
|
success?: boolean;
|
|
2877
3196
|
/**
|
|
2878
3197
|
* @example
|
|
2879
|
-
* 2024-
|
|
3198
|
+
* 2024-01-01 00:00:00
|
|
2880
3199
|
*/
|
|
2881
3200
|
time?: string;
|
|
2882
3201
|
static names(): { [key: string]: string } {
|
|
@@ -2895,7 +3214,7 @@ export class GetTaskResultResponseBody extends $tea.Model {
|
|
|
2895
3214
|
static types(): { [key: string]: any } {
|
|
2896
3215
|
return {
|
|
2897
3216
|
cost: 'number',
|
|
2898
|
-
data:
|
|
3217
|
+
data: GetQualityCheckTaskResultResponseBodyData,
|
|
2899
3218
|
dataType: 'string',
|
|
2900
3219
|
errCode: 'string',
|
|
2901
3220
|
message: 'string',
|
|
@@ -2910,10 +3229,10 @@ export class GetTaskResultResponseBody extends $tea.Model {
|
|
|
2910
3229
|
}
|
|
2911
3230
|
}
|
|
2912
3231
|
|
|
2913
|
-
export class
|
|
3232
|
+
export class GetQualityCheckTaskResultResponse extends $tea.Model {
|
|
2914
3233
|
headers?: { [key: string]: string };
|
|
2915
3234
|
statusCode?: number;
|
|
2916
|
-
body?:
|
|
3235
|
+
body?: GetQualityCheckTaskResultResponseBody;
|
|
2917
3236
|
static names(): { [key: string]: string } {
|
|
2918
3237
|
return {
|
|
2919
3238
|
headers: 'headers',
|
|
@@ -2926,7 +3245,7 @@ export class GetTaskResultResponse extends $tea.Model {
|
|
|
2926
3245
|
return {
|
|
2927
3246
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2928
3247
|
statusCode: 'number',
|
|
2929
|
-
body:
|
|
3248
|
+
body: GetQualityCheckTaskResultResponseBody,
|
|
2930
3249
|
};
|
|
2931
3250
|
}
|
|
2932
3251
|
|
|
@@ -2935,10 +3254,13 @@ export class GetTaskResultResponse extends $tea.Model {
|
|
|
2935
3254
|
}
|
|
2936
3255
|
}
|
|
2937
3256
|
|
|
2938
|
-
export class
|
|
3257
|
+
export class GetSummaryTaskResultRequest extends $tea.Model {
|
|
2939
3258
|
/**
|
|
2940
3259
|
* @remarks
|
|
2941
3260
|
* This parameter is required.
|
|
3261
|
+
*
|
|
3262
|
+
* @example
|
|
3263
|
+
* 17071319
|
|
2942
3264
|
*/
|
|
2943
3265
|
taskId?: string;
|
|
2944
3266
|
static names(): { [key: string]: string } {
|
|
@@ -2958,14 +3280,42 @@ export class GetTaskStatusRequest extends $tea.Model {
|
|
|
2958
3280
|
}
|
|
2959
3281
|
}
|
|
2960
3282
|
|
|
2961
|
-
export class
|
|
3283
|
+
export class GetSummaryTaskResultResponseBody extends $tea.Model {
|
|
3284
|
+
/**
|
|
3285
|
+
* @example
|
|
3286
|
+
* null
|
|
3287
|
+
*/
|
|
2962
3288
|
cost?: number;
|
|
2963
|
-
data?:
|
|
3289
|
+
data?: GetSummaryTaskResultResponseBodyData;
|
|
3290
|
+
/**
|
|
3291
|
+
* @example
|
|
3292
|
+
* null
|
|
3293
|
+
*/
|
|
2964
3294
|
dataType?: string;
|
|
3295
|
+
/**
|
|
3296
|
+
* @example
|
|
3297
|
+
* 0
|
|
3298
|
+
*/
|
|
2965
3299
|
errCode?: string;
|
|
3300
|
+
/**
|
|
3301
|
+
* @example
|
|
3302
|
+
* ok
|
|
3303
|
+
*/
|
|
2966
3304
|
message?: string;
|
|
3305
|
+
/**
|
|
3306
|
+
* @example
|
|
3307
|
+
* 0bc13a9517168617617186457e401f
|
|
3308
|
+
*/
|
|
2967
3309
|
requestId?: string;
|
|
3310
|
+
/**
|
|
3311
|
+
* @example
|
|
3312
|
+
* true
|
|
3313
|
+
*/
|
|
2968
3314
|
success?: boolean;
|
|
3315
|
+
/**
|
|
3316
|
+
* @example
|
|
3317
|
+
* 2024-04-24 11:54:34
|
|
3318
|
+
*/
|
|
2969
3319
|
time?: string;
|
|
2970
3320
|
static names(): { [key: string]: string } {
|
|
2971
3321
|
return {
|
|
@@ -2983,7 +3333,7 @@ export class GetTaskStatusResponseBody extends $tea.Model {
|
|
|
2983
3333
|
static types(): { [key: string]: any } {
|
|
2984
3334
|
return {
|
|
2985
3335
|
cost: 'number',
|
|
2986
|
-
data:
|
|
3336
|
+
data: GetSummaryTaskResultResponseBodyData,
|
|
2987
3337
|
dataType: 'string',
|
|
2988
3338
|
errCode: 'string',
|
|
2989
3339
|
message: 'string',
|
|
@@ -2998,10 +3348,10 @@ export class GetTaskStatusResponseBody extends $tea.Model {
|
|
|
2998
3348
|
}
|
|
2999
3349
|
}
|
|
3000
3350
|
|
|
3001
|
-
export class
|
|
3351
|
+
export class GetSummaryTaskResultResponse extends $tea.Model {
|
|
3002
3352
|
headers?: { [key: string]: string };
|
|
3003
3353
|
statusCode?: number;
|
|
3004
|
-
body?:
|
|
3354
|
+
body?: GetSummaryTaskResultResponseBody;
|
|
3005
3355
|
static names(): { [key: string]: string } {
|
|
3006
3356
|
return {
|
|
3007
3357
|
headers: 'headers',
|
|
@@ -3014,7 +3364,7 @@ export class GetTaskStatusResponse extends $tea.Model {
|
|
|
3014
3364
|
return {
|
|
3015
3365
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3016
3366
|
statusCode: 'number',
|
|
3017
|
-
body:
|
|
3367
|
+
body: GetSummaryTaskResultResponseBody,
|
|
3018
3368
|
};
|
|
3019
3369
|
}
|
|
3020
3370
|
|
|
@@ -3023,24 +3373,24 @@ export class GetTaskStatusResponse extends $tea.Model {
|
|
|
3023
3373
|
}
|
|
3024
3374
|
}
|
|
3025
3375
|
|
|
3026
|
-
export class
|
|
3027
|
-
params?: { [key: string]: any };
|
|
3376
|
+
export class GetTaskResultRequest extends $tea.Model {
|
|
3028
3377
|
/**
|
|
3378
|
+
* @remarks
|
|
3379
|
+
* This parameter is required.
|
|
3380
|
+
*
|
|
3029
3381
|
* @example
|
|
3030
|
-
*
|
|
3382
|
+
* 17071319
|
|
3031
3383
|
*/
|
|
3032
|
-
|
|
3384
|
+
taskId?: string;
|
|
3033
3385
|
static names(): { [key: string]: string } {
|
|
3034
3386
|
return {
|
|
3035
|
-
|
|
3036
|
-
pluginId: 'pluginId',
|
|
3387
|
+
taskId: 'taskId',
|
|
3037
3388
|
};
|
|
3038
3389
|
}
|
|
3039
3390
|
|
|
3040
3391
|
static types(): { [key: string]: any } {
|
|
3041
3392
|
return {
|
|
3042
|
-
|
|
3043
|
-
pluginId: 'string',
|
|
3393
|
+
taskId: 'string',
|
|
3044
3394
|
};
|
|
3045
3395
|
}
|
|
3046
3396
|
|
|
@@ -3049,7 +3399,7 @@ export class InvokePluginRequest extends $tea.Model {
|
|
|
3049
3399
|
}
|
|
3050
3400
|
}
|
|
3051
3401
|
|
|
3052
|
-
export class
|
|
3402
|
+
export class GetTaskResultResponseBody extends $tea.Model {
|
|
3053
3403
|
/**
|
|
3054
3404
|
* @example
|
|
3055
3405
|
* null
|
|
@@ -3057,7 +3407,9 @@ export class InvokePluginResponseBody extends $tea.Model {
|
|
|
3057
3407
|
cost?: number;
|
|
3058
3408
|
/**
|
|
3059
3409
|
* @example
|
|
3060
|
-
* {
|
|
3410
|
+
* {
|
|
3411
|
+
* "file_url": "https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf"
|
|
3412
|
+
* }
|
|
3061
3413
|
*/
|
|
3062
3414
|
data?: { [key: string]: any };
|
|
3063
3415
|
/**
|
|
@@ -3077,7 +3429,7 @@ export class InvokePluginResponseBody extends $tea.Model {
|
|
|
3077
3429
|
message?: string;
|
|
3078
3430
|
/**
|
|
3079
3431
|
* @example
|
|
3080
|
-
*
|
|
3432
|
+
* 9D5D6BB5-BEAE-53C8-A70A-7275CC1F856C
|
|
3081
3433
|
*/
|
|
3082
3434
|
requestId?: string;
|
|
3083
3435
|
/**
|
|
@@ -3121,10 +3473,10 @@ export class InvokePluginResponseBody extends $tea.Model {
|
|
|
3121
3473
|
}
|
|
3122
3474
|
}
|
|
3123
3475
|
|
|
3124
|
-
export class
|
|
3476
|
+
export class GetTaskResultResponse extends $tea.Model {
|
|
3125
3477
|
headers?: { [key: string]: string };
|
|
3126
3478
|
statusCode?: number;
|
|
3127
|
-
body?:
|
|
3479
|
+
body?: GetTaskResultResponseBody;
|
|
3128
3480
|
static names(): { [key: string]: string } {
|
|
3129
3481
|
return {
|
|
3130
3482
|
headers: 'headers',
|
|
@@ -3137,7 +3489,7 @@ export class InvokePluginResponse extends $tea.Model {
|
|
|
3137
3489
|
return {
|
|
3138
3490
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3139
3491
|
statusCode: 'number',
|
|
3140
|
-
body:
|
|
3492
|
+
body: GetTaskResultResponseBody,
|
|
3141
3493
|
};
|
|
3142
3494
|
}
|
|
3143
3495
|
|
|
@@ -3146,24 +3498,21 @@ export class InvokePluginResponse extends $tea.Model {
|
|
|
3146
3498
|
}
|
|
3147
3499
|
}
|
|
3148
3500
|
|
|
3149
|
-
export class
|
|
3501
|
+
export class GetTaskStatusRequest extends $tea.Model {
|
|
3150
3502
|
/**
|
|
3151
3503
|
* @remarks
|
|
3152
3504
|
* This parameter is required.
|
|
3153
|
-
*
|
|
3154
|
-
* @example
|
|
3155
|
-
* 8326472354762354
|
|
3156
3505
|
*/
|
|
3157
|
-
|
|
3506
|
+
taskId?: string;
|
|
3158
3507
|
static names(): { [key: string]: string } {
|
|
3159
3508
|
return {
|
|
3160
|
-
|
|
3509
|
+
taskId: 'taskId',
|
|
3161
3510
|
};
|
|
3162
3511
|
}
|
|
3163
3512
|
|
|
3164
3513
|
static types(): { [key: string]: any } {
|
|
3165
3514
|
return {
|
|
3166
|
-
|
|
3515
|
+
taskId: 'string',
|
|
3167
3516
|
};
|
|
3168
3517
|
}
|
|
3169
3518
|
|
|
@@ -3172,42 +3521,14 @@ export class PreviewDocumentRequest extends $tea.Model {
|
|
|
3172
3521
|
}
|
|
3173
3522
|
}
|
|
3174
3523
|
|
|
3175
|
-
export class
|
|
3176
|
-
/**
|
|
3177
|
-
* @example
|
|
3178
|
-
* null
|
|
3179
|
-
*/
|
|
3524
|
+
export class GetTaskStatusResponseBody extends $tea.Model {
|
|
3180
3525
|
cost?: number;
|
|
3181
|
-
data?:
|
|
3182
|
-
/**
|
|
3183
|
-
* @example
|
|
3184
|
-
* null
|
|
3185
|
-
*/
|
|
3526
|
+
data?: string;
|
|
3186
3527
|
dataType?: string;
|
|
3187
|
-
/**
|
|
3188
|
-
* @example
|
|
3189
|
-
* 0
|
|
3190
|
-
*/
|
|
3191
3528
|
errCode?: string;
|
|
3192
|
-
/**
|
|
3193
|
-
* @example
|
|
3194
|
-
* ok
|
|
3195
|
-
*/
|
|
3196
3529
|
message?: string;
|
|
3197
|
-
/**
|
|
3198
|
-
* @example
|
|
3199
|
-
* ff551395-1c8a-4f30-8ffd-ef7e87c70b4c
|
|
3200
|
-
*/
|
|
3201
3530
|
requestId?: string;
|
|
3202
|
-
/**
|
|
3203
|
-
* @example
|
|
3204
|
-
* true
|
|
3205
|
-
*/
|
|
3206
3531
|
success?: boolean;
|
|
3207
|
-
/**
|
|
3208
|
-
* @example
|
|
3209
|
-
* 2024-04-24 11:54:34
|
|
3210
|
-
*/
|
|
3211
3532
|
time?: string;
|
|
3212
3533
|
static names(): { [key: string]: string } {
|
|
3213
3534
|
return {
|
|
@@ -3225,7 +3546,7 @@ export class PreviewDocumentResponseBody extends $tea.Model {
|
|
|
3225
3546
|
static types(): { [key: string]: any } {
|
|
3226
3547
|
return {
|
|
3227
3548
|
cost: 'number',
|
|
3228
|
-
data:
|
|
3549
|
+
data: 'string',
|
|
3229
3550
|
dataType: 'string',
|
|
3230
3551
|
errCode: 'string',
|
|
3231
3552
|
message: 'string',
|
|
@@ -3240,10 +3561,10 @@ export class PreviewDocumentResponseBody extends $tea.Model {
|
|
|
3240
3561
|
}
|
|
3241
3562
|
}
|
|
3242
3563
|
|
|
3243
|
-
export class
|
|
3564
|
+
export class GetTaskStatusResponse extends $tea.Model {
|
|
3244
3565
|
headers?: { [key: string]: string };
|
|
3245
3566
|
statusCode?: number;
|
|
3246
|
-
body?:
|
|
3567
|
+
body?: GetTaskStatusResponseBody;
|
|
3247
3568
|
static names(): { [key: string]: string } {
|
|
3248
3569
|
return {
|
|
3249
3570
|
headers: 'headers',
|
|
@@ -3256,7 +3577,7 @@ export class PreviewDocumentResponse extends $tea.Model {
|
|
|
3256
3577
|
return {
|
|
3257
3578
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3258
3579
|
statusCode: 'number',
|
|
3259
|
-
body:
|
|
3580
|
+
body: GetTaskStatusResponseBody,
|
|
3260
3581
|
};
|
|
3261
3582
|
}
|
|
3262
3583
|
|
|
@@ -3265,24 +3586,24 @@ export class PreviewDocumentResponse extends $tea.Model {
|
|
|
3265
3586
|
}
|
|
3266
3587
|
}
|
|
3267
3588
|
|
|
3268
|
-
export class
|
|
3589
|
+
export class InvokePluginRequest extends $tea.Model {
|
|
3590
|
+
params?: { [key: string]: any };
|
|
3269
3591
|
/**
|
|
3270
|
-
* @remarks
|
|
3271
|
-
* This parameter is required.
|
|
3272
|
-
*
|
|
3273
3592
|
* @example
|
|
3274
|
-
*
|
|
3593
|
+
* 3mj87da7zr
|
|
3275
3594
|
*/
|
|
3276
|
-
|
|
3595
|
+
pluginId?: string;
|
|
3277
3596
|
static names(): { [key: string]: string } {
|
|
3278
3597
|
return {
|
|
3279
|
-
|
|
3598
|
+
params: 'params',
|
|
3599
|
+
pluginId: 'pluginId',
|
|
3280
3600
|
};
|
|
3281
3601
|
}
|
|
3282
3602
|
|
|
3283
3603
|
static types(): { [key: string]: any } {
|
|
3284
3604
|
return {
|
|
3285
|
-
|
|
3605
|
+
params: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3606
|
+
pluginId: 'string',
|
|
3286
3607
|
};
|
|
3287
3608
|
}
|
|
3288
3609
|
|
|
@@ -3291,7 +3612,7 @@ export class ReIndexRequest extends $tea.Model {
|
|
|
3291
3612
|
}
|
|
3292
3613
|
}
|
|
3293
3614
|
|
|
3294
|
-
export class
|
|
3615
|
+
export class InvokePluginResponseBody extends $tea.Model {
|
|
3295
3616
|
/**
|
|
3296
3617
|
* @example
|
|
3297
3618
|
* null
|
|
@@ -3299,9 +3620,9 @@ export class ReIndexResponseBody extends $tea.Model {
|
|
|
3299
3620
|
cost?: number;
|
|
3300
3621
|
/**
|
|
3301
3622
|
* @example
|
|
3302
|
-
*
|
|
3623
|
+
* {\\"jobWaiting\\": [0, 0], \\"timestamps\\": [1713383820, 1713383880], \\"jobUsage\\": [0, 0], \\"quotaUsage\\": [123, 32]}
|
|
3303
3624
|
*/
|
|
3304
|
-
data?: string;
|
|
3625
|
+
data?: { [key: string]: any };
|
|
3305
3626
|
/**
|
|
3306
3627
|
* @example
|
|
3307
3628
|
* null
|
|
@@ -3319,7 +3640,7 @@ export class ReIndexResponseBody extends $tea.Model {
|
|
|
3319
3640
|
message?: string;
|
|
3320
3641
|
/**
|
|
3321
3642
|
* @example
|
|
3322
|
-
*
|
|
3643
|
+
* 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
|
|
3323
3644
|
*/
|
|
3324
3645
|
requestId?: string;
|
|
3325
3646
|
/**
|
|
@@ -3348,7 +3669,7 @@ export class ReIndexResponseBody extends $tea.Model {
|
|
|
3348
3669
|
static types(): { [key: string]: any } {
|
|
3349
3670
|
return {
|
|
3350
3671
|
cost: 'number',
|
|
3351
|
-
data: 'string',
|
|
3672
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3352
3673
|
dataType: 'string',
|
|
3353
3674
|
errCode: 'string',
|
|
3354
3675
|
message: 'string',
|
|
@@ -3363,10 +3684,10 @@ export class ReIndexResponseBody extends $tea.Model {
|
|
|
3363
3684
|
}
|
|
3364
3685
|
}
|
|
3365
3686
|
|
|
3366
|
-
export class
|
|
3687
|
+
export class InvokePluginResponse extends $tea.Model {
|
|
3367
3688
|
headers?: { [key: string]: string };
|
|
3368
3689
|
statusCode?: number;
|
|
3369
|
-
body?:
|
|
3690
|
+
body?: InvokePluginResponseBody;
|
|
3370
3691
|
static names(): { [key: string]: string } {
|
|
3371
3692
|
return {
|
|
3372
3693
|
headers: 'headers',
|
|
@@ -3379,7 +3700,7 @@ export class ReIndexResponse extends $tea.Model {
|
|
|
3379
3700
|
return {
|
|
3380
3701
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3381
3702
|
statusCode: 'number',
|
|
3382
|
-
body:
|
|
3703
|
+
body: InvokePluginResponseBody,
|
|
3383
3704
|
};
|
|
3384
3705
|
}
|
|
3385
3706
|
|
|
@@ -3388,21 +3709,24 @@ export class ReIndexResponse extends $tea.Model {
|
|
|
3388
3709
|
}
|
|
3389
3710
|
}
|
|
3390
3711
|
|
|
3391
|
-
export class
|
|
3712
|
+
export class PreviewDocumentRequest extends $tea.Model {
|
|
3392
3713
|
/**
|
|
3393
3714
|
* @remarks
|
|
3394
3715
|
* This parameter is required.
|
|
3716
|
+
*
|
|
3717
|
+
* @example
|
|
3718
|
+
* 8326472354762354
|
|
3395
3719
|
*/
|
|
3396
|
-
|
|
3720
|
+
documentId?: string;
|
|
3397
3721
|
static names(): { [key: string]: string } {
|
|
3398
3722
|
return {
|
|
3399
|
-
|
|
3723
|
+
documentId: 'documentId',
|
|
3400
3724
|
};
|
|
3401
3725
|
}
|
|
3402
3726
|
|
|
3403
3727
|
static types(): { [key: string]: any } {
|
|
3404
3728
|
return {
|
|
3405
|
-
|
|
3729
|
+
documentId: 'string',
|
|
3406
3730
|
};
|
|
3407
3731
|
}
|
|
3408
3732
|
|
|
@@ -3411,13 +3735,13 @@ export class RebuildTaskRequest extends $tea.Model {
|
|
|
3411
3735
|
}
|
|
3412
3736
|
}
|
|
3413
3737
|
|
|
3414
|
-
export class
|
|
3738
|
+
export class PreviewDocumentResponseBody extends $tea.Model {
|
|
3415
3739
|
/**
|
|
3416
3740
|
* @example
|
|
3417
3741
|
* null
|
|
3418
3742
|
*/
|
|
3419
3743
|
cost?: number;
|
|
3420
|
-
data?:
|
|
3744
|
+
data?: PreviewDocumentResponseBodyData;
|
|
3421
3745
|
/**
|
|
3422
3746
|
* @example
|
|
3423
3747
|
* null
|
|
@@ -3435,7 +3759,7 @@ export class RebuildTaskResponseBody extends $tea.Model {
|
|
|
3435
3759
|
message?: string;
|
|
3436
3760
|
/**
|
|
3437
3761
|
* @example
|
|
3438
|
-
*
|
|
3762
|
+
* ff551395-1c8a-4f30-8ffd-ef7e87c70b4c
|
|
3439
3763
|
*/
|
|
3440
3764
|
requestId?: string;
|
|
3441
3765
|
/**
|
|
@@ -3464,7 +3788,7 @@ export class RebuildTaskResponseBody extends $tea.Model {
|
|
|
3464
3788
|
static types(): { [key: string]: any } {
|
|
3465
3789
|
return {
|
|
3466
3790
|
cost: 'number',
|
|
3467
|
-
data:
|
|
3791
|
+
data: PreviewDocumentResponseBodyData,
|
|
3468
3792
|
dataType: 'string',
|
|
3469
3793
|
errCode: 'string',
|
|
3470
3794
|
message: 'string',
|
|
@@ -3479,10 +3803,10 @@ export class RebuildTaskResponseBody extends $tea.Model {
|
|
|
3479
3803
|
}
|
|
3480
3804
|
}
|
|
3481
3805
|
|
|
3482
|
-
export class
|
|
3806
|
+
export class PreviewDocumentResponse extends $tea.Model {
|
|
3483
3807
|
headers?: { [key: string]: string };
|
|
3484
3808
|
statusCode?: number;
|
|
3485
|
-
body?:
|
|
3809
|
+
body?: PreviewDocumentResponseBody;
|
|
3486
3810
|
static names(): { [key: string]: string } {
|
|
3487
3811
|
return {
|
|
3488
3812
|
headers: 'headers',
|
|
@@ -3495,7 +3819,7 @@ export class RebuildTaskResponse extends $tea.Model {
|
|
|
3495
3819
|
return {
|
|
3496
3820
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3497
3821
|
statusCode: 'number',
|
|
3498
|
-
body:
|
|
3822
|
+
body: PreviewDocumentResponseBody,
|
|
3499
3823
|
};
|
|
3500
3824
|
}
|
|
3501
3825
|
|
|
@@ -3504,38 +3828,24 @@ export class RebuildTaskResponse extends $tea.Model {
|
|
|
3504
3828
|
}
|
|
3505
3829
|
}
|
|
3506
3830
|
|
|
3507
|
-
export class
|
|
3508
|
-
filters?: RecallDocumentRequestFilters[];
|
|
3831
|
+
export class ReIndexRequest extends $tea.Model {
|
|
3509
3832
|
/**
|
|
3510
3833
|
* @remarks
|
|
3511
3834
|
* This parameter is required.
|
|
3512
|
-
|
|
3513
|
-
query?: string;
|
|
3514
|
-
/**
|
|
3515
|
-
* @example
|
|
3516
|
-
* false
|
|
3517
|
-
*/
|
|
3518
|
-
rearrangement?: boolean;
|
|
3519
|
-
/**
|
|
3835
|
+
*
|
|
3520
3836
|
* @example
|
|
3521
|
-
*
|
|
3837
|
+
* 8326472354762354
|
|
3522
3838
|
*/
|
|
3523
|
-
|
|
3839
|
+
documentId?: string;
|
|
3524
3840
|
static names(): { [key: string]: string } {
|
|
3525
3841
|
return {
|
|
3526
|
-
|
|
3527
|
-
query: 'query',
|
|
3528
|
-
rearrangement: 'rearrangement',
|
|
3529
|
-
topK: 'topK',
|
|
3842
|
+
documentId: 'documentId',
|
|
3530
3843
|
};
|
|
3531
3844
|
}
|
|
3532
3845
|
|
|
3533
3846
|
static types(): { [key: string]: any } {
|
|
3534
3847
|
return {
|
|
3535
|
-
|
|
3536
|
-
query: 'string',
|
|
3537
|
-
rearrangement: 'boolean',
|
|
3538
|
-
topK: 'number',
|
|
3848
|
+
documentId: 'string',
|
|
3539
3849
|
};
|
|
3540
3850
|
}
|
|
3541
3851
|
|
|
@@ -3544,13 +3854,17 @@ export class RecallDocumentRequest extends $tea.Model {
|
|
|
3544
3854
|
}
|
|
3545
3855
|
}
|
|
3546
3856
|
|
|
3547
|
-
export class
|
|
3857
|
+
export class ReIndexResponseBody extends $tea.Model {
|
|
3548
3858
|
/**
|
|
3549
3859
|
* @example
|
|
3550
|
-
*
|
|
3860
|
+
* null
|
|
3551
3861
|
*/
|
|
3552
3862
|
cost?: number;
|
|
3553
|
-
|
|
3863
|
+
/**
|
|
3864
|
+
* @example
|
|
3865
|
+
* True
|
|
3866
|
+
*/
|
|
3867
|
+
data?: string;
|
|
3554
3868
|
/**
|
|
3555
3869
|
* @example
|
|
3556
3870
|
* null
|
|
@@ -3568,7 +3882,7 @@ export class RecallDocumentResponseBody extends $tea.Model {
|
|
|
3568
3882
|
message?: string;
|
|
3569
3883
|
/**
|
|
3570
3884
|
* @example
|
|
3571
|
-
*
|
|
3885
|
+
* 32FFC91D-0A9F-585A-B84F-8A54C5187035
|
|
3572
3886
|
*/
|
|
3573
3887
|
requestId?: string;
|
|
3574
3888
|
/**
|
|
@@ -3597,7 +3911,7 @@ export class RecallDocumentResponseBody extends $tea.Model {
|
|
|
3597
3911
|
static types(): { [key: string]: any } {
|
|
3598
3912
|
return {
|
|
3599
3913
|
cost: 'number',
|
|
3600
|
-
data:
|
|
3914
|
+
data: 'string',
|
|
3601
3915
|
dataType: 'string',
|
|
3602
3916
|
errCode: 'string',
|
|
3603
3917
|
message: 'string',
|
|
@@ -3612,10 +3926,10 @@ export class RecallDocumentResponseBody extends $tea.Model {
|
|
|
3612
3926
|
}
|
|
3613
3927
|
}
|
|
3614
3928
|
|
|
3615
|
-
export class
|
|
3929
|
+
export class ReIndexResponse extends $tea.Model {
|
|
3616
3930
|
headers?: { [key: string]: string };
|
|
3617
3931
|
statusCode?: number;
|
|
3618
|
-
body?:
|
|
3932
|
+
body?: ReIndexResponseBody;
|
|
3619
3933
|
static names(): { [key: string]: string } {
|
|
3620
3934
|
return {
|
|
3621
3935
|
headers: 'headers',
|
|
@@ -3628,7 +3942,7 @@ export class RecallDocumentResponse extends $tea.Model {
|
|
|
3628
3942
|
return {
|
|
3629
3943
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3630
3944
|
statusCode: 'number',
|
|
3631
|
-
body:
|
|
3945
|
+
body: ReIndexResponseBody,
|
|
3632
3946
|
};
|
|
3633
3947
|
}
|
|
3634
3948
|
|
|
@@ -3637,50 +3951,56 @@ export class RecallDocumentResponse extends $tea.Model {
|
|
|
3637
3951
|
}
|
|
3638
3952
|
}
|
|
3639
3953
|
|
|
3640
|
-
export class
|
|
3954
|
+
export class RealTimeDialogRequest extends $tea.Model {
|
|
3641
3955
|
/**
|
|
3642
3956
|
* @example
|
|
3643
3957
|
* false
|
|
3644
3958
|
*/
|
|
3645
3959
|
analysis?: boolean;
|
|
3646
3960
|
/**
|
|
3647
|
-
* @remarks
|
|
3648
|
-
* This parameter is required.
|
|
3649
|
-
*
|
|
3650
3961
|
* @example
|
|
3651
|
-
*
|
|
3962
|
+
* mixIntentChat
|
|
3652
3963
|
*/
|
|
3653
3964
|
bizType?: string;
|
|
3654
3965
|
/**
|
|
3655
3966
|
* @remarks
|
|
3656
3967
|
* This parameter is required.
|
|
3657
3968
|
*/
|
|
3658
|
-
|
|
3659
|
-
globalIntentionList?: RecognizeIntentionRequestGlobalIntentionList[];
|
|
3660
|
-
hierarchicalIntentionList?: RecognizeIntentionRequestHierarchicalIntentionList[];
|
|
3661
|
-
intentionDomainCode?: string;
|
|
3662
|
-
intentionList?: RecognizeIntentionRequestIntentionList[];
|
|
3969
|
+
conversationModel?: RealTimeDialogRequestConversationModel[];
|
|
3663
3970
|
/**
|
|
3664
3971
|
* @example
|
|
3665
|
-
*
|
|
3972
|
+
* 3
|
|
3666
3973
|
*/
|
|
3667
|
-
|
|
3974
|
+
dialogMemoryTurns?: number;
|
|
3975
|
+
metaData?: { [key: string]: any };
|
|
3668
3976
|
/**
|
|
3669
3977
|
* @example
|
|
3670
3978
|
* false
|
|
3671
3979
|
*/
|
|
3672
3980
|
recommend?: boolean;
|
|
3981
|
+
/**
|
|
3982
|
+
* @remarks
|
|
3983
|
+
* This parameter is required.
|
|
3984
|
+
*
|
|
3985
|
+
* @example
|
|
3986
|
+
* 237645726354
|
|
3987
|
+
*/
|
|
3988
|
+
sessionId?: string;
|
|
3989
|
+
/**
|
|
3990
|
+
* @example
|
|
3991
|
+
* false
|
|
3992
|
+
*/
|
|
3993
|
+
stream?: boolean;
|
|
3673
3994
|
static names(): { [key: string]: string } {
|
|
3674
3995
|
return {
|
|
3675
3996
|
analysis: 'analysis',
|
|
3676
3997
|
bizType: 'bizType',
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
intentionDomainCode: 'intentionDomainCode',
|
|
3681
|
-
intentionList: 'intentionList',
|
|
3682
|
-
opType: 'opType',
|
|
3998
|
+
conversationModel: 'conversationModel',
|
|
3999
|
+
dialogMemoryTurns: 'dialogMemoryTurns',
|
|
4000
|
+
metaData: 'metaData',
|
|
3683
4001
|
recommend: 'recommend',
|
|
4002
|
+
sessionId: 'sessionId',
|
|
4003
|
+
stream: 'stream',
|
|
3684
4004
|
};
|
|
3685
4005
|
}
|
|
3686
4006
|
|
|
@@ -3688,13 +4008,12 @@ export class RecognizeIntentionRequest extends $tea.Model {
|
|
|
3688
4008
|
return {
|
|
3689
4009
|
analysis: 'boolean',
|
|
3690
4010
|
bizType: 'string',
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
intentionDomainCode: 'string',
|
|
3695
|
-
intentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestIntentionList },
|
|
3696
|
-
opType: 'string',
|
|
4011
|
+
conversationModel: { 'type': 'array', 'itemType': RealTimeDialogRequestConversationModel },
|
|
4012
|
+
dialogMemoryTurns: 'number',
|
|
4013
|
+
metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3697
4014
|
recommend: 'boolean',
|
|
4015
|
+
sessionId: 'string',
|
|
4016
|
+
stream: 'boolean',
|
|
3698
4017
|
};
|
|
3699
4018
|
}
|
|
3700
4019
|
|
|
@@ -3703,31 +4022,21 @@ export class RecognizeIntentionRequest extends $tea.Model {
|
|
|
3703
4022
|
}
|
|
3704
4023
|
}
|
|
3705
4024
|
|
|
3706
|
-
export class
|
|
3707
|
-
|
|
3708
|
-
* @example
|
|
3709
|
-
* null
|
|
3710
|
-
*/
|
|
3711
|
-
cost?: number;
|
|
3712
|
-
data?: RecognizeIntentionResponseBodyData;
|
|
3713
|
-
/**
|
|
3714
|
-
* @example
|
|
3715
|
-
* null
|
|
3716
|
-
*/
|
|
3717
|
-
dataType?: string;
|
|
4025
|
+
export class RealTimeDialogResponseBody extends $tea.Model {
|
|
4026
|
+
choices?: RealTimeDialogResponseBodyChoices[];
|
|
3718
4027
|
/**
|
|
3719
4028
|
* @example
|
|
3720
|
-
*
|
|
4029
|
+
* 1735139569523
|
|
3721
4030
|
*/
|
|
3722
|
-
|
|
4031
|
+
created?: string;
|
|
3723
4032
|
/**
|
|
3724
4033
|
* @example
|
|
3725
|
-
*
|
|
4034
|
+
* eb2b6139-ddf1-91a0-a47f-df7617ae9032
|
|
3726
4035
|
*/
|
|
3727
|
-
|
|
4036
|
+
id?: string;
|
|
3728
4037
|
/**
|
|
3729
4038
|
* @example
|
|
3730
|
-
*
|
|
4039
|
+
* 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
|
|
3731
4040
|
*/
|
|
3732
4041
|
requestId?: string;
|
|
3733
4042
|
/**
|
|
@@ -3735,14 +4044,781 @@ export class RecognizeIntentionResponseBody extends $tea.Model {
|
|
|
3735
4044
|
* true
|
|
3736
4045
|
*/
|
|
3737
4046
|
success?: boolean;
|
|
3738
|
-
/**
|
|
3739
|
-
* @example
|
|
3740
|
-
* 2024-04-24 11:54:34
|
|
3741
|
-
*/
|
|
3742
|
-
time?: string;
|
|
3743
4047
|
static names(): { [key: string]: string } {
|
|
3744
4048
|
return {
|
|
3745
|
-
|
|
4049
|
+
choices: 'choices',
|
|
4050
|
+
created: 'created',
|
|
4051
|
+
id: 'id',
|
|
4052
|
+
requestId: 'requestId',
|
|
4053
|
+
success: 'success',
|
|
4054
|
+
};
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
static types(): { [key: string]: any } {
|
|
4058
|
+
return {
|
|
4059
|
+
choices: { 'type': 'array', 'itemType': RealTimeDialogResponseBodyChoices },
|
|
4060
|
+
created: 'string',
|
|
4061
|
+
id: 'string',
|
|
4062
|
+
requestId: 'string',
|
|
4063
|
+
success: 'boolean',
|
|
4064
|
+
};
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
constructor(map?: { [key: string]: any }) {
|
|
4068
|
+
super(map);
|
|
4069
|
+
}
|
|
4070
|
+
}
|
|
4071
|
+
|
|
4072
|
+
export class RealTimeDialogResponse extends $tea.Model {
|
|
4073
|
+
headers?: { [key: string]: string };
|
|
4074
|
+
statusCode?: number;
|
|
4075
|
+
body?: RealTimeDialogResponseBody;
|
|
4076
|
+
static names(): { [key: string]: string } {
|
|
4077
|
+
return {
|
|
4078
|
+
headers: 'headers',
|
|
4079
|
+
statusCode: 'statusCode',
|
|
4080
|
+
body: 'body',
|
|
4081
|
+
};
|
|
4082
|
+
}
|
|
4083
|
+
|
|
4084
|
+
static types(): { [key: string]: any } {
|
|
4085
|
+
return {
|
|
4086
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4087
|
+
statusCode: 'number',
|
|
4088
|
+
body: RealTimeDialogResponseBody,
|
|
4089
|
+
};
|
|
4090
|
+
}
|
|
4091
|
+
|
|
4092
|
+
constructor(map?: { [key: string]: any }) {
|
|
4093
|
+
super(map);
|
|
4094
|
+
}
|
|
4095
|
+
}
|
|
4096
|
+
|
|
4097
|
+
export class RebuildTaskRequest extends $tea.Model {
|
|
4098
|
+
/**
|
|
4099
|
+
* @remarks
|
|
4100
|
+
* This parameter is required.
|
|
4101
|
+
*/
|
|
4102
|
+
taskIds?: string[];
|
|
4103
|
+
static names(): { [key: string]: string } {
|
|
4104
|
+
return {
|
|
4105
|
+
taskIds: 'taskIds',
|
|
4106
|
+
};
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
static types(): { [key: string]: any } {
|
|
4110
|
+
return {
|
|
4111
|
+
taskIds: { 'type': 'array', 'itemType': 'string' },
|
|
4112
|
+
};
|
|
4113
|
+
}
|
|
4114
|
+
|
|
4115
|
+
constructor(map?: { [key: string]: any }) {
|
|
4116
|
+
super(map);
|
|
4117
|
+
}
|
|
4118
|
+
}
|
|
4119
|
+
|
|
4120
|
+
export class RebuildTaskResponseBody extends $tea.Model {
|
|
4121
|
+
/**
|
|
4122
|
+
* @example
|
|
4123
|
+
* null
|
|
4124
|
+
*/
|
|
4125
|
+
cost?: number;
|
|
4126
|
+
data?: { [key: string]: any }[];
|
|
4127
|
+
/**
|
|
4128
|
+
* @example
|
|
4129
|
+
* null
|
|
4130
|
+
*/
|
|
4131
|
+
dataType?: string;
|
|
4132
|
+
/**
|
|
4133
|
+
* @example
|
|
4134
|
+
* 0
|
|
4135
|
+
*/
|
|
4136
|
+
errCode?: string;
|
|
4137
|
+
/**
|
|
4138
|
+
* @example
|
|
4139
|
+
* ok
|
|
4140
|
+
*/
|
|
4141
|
+
message?: string;
|
|
4142
|
+
/**
|
|
4143
|
+
* @example
|
|
4144
|
+
* EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
|
|
4145
|
+
*/
|
|
4146
|
+
requestId?: string;
|
|
4147
|
+
/**
|
|
4148
|
+
* @example
|
|
4149
|
+
* true
|
|
4150
|
+
*/
|
|
4151
|
+
success?: boolean;
|
|
4152
|
+
/**
|
|
4153
|
+
* @example
|
|
4154
|
+
* 2024-04-24 11:54:34
|
|
4155
|
+
*/
|
|
4156
|
+
time?: string;
|
|
4157
|
+
static names(): { [key: string]: string } {
|
|
4158
|
+
return {
|
|
4159
|
+
cost: 'cost',
|
|
4160
|
+
data: 'data',
|
|
4161
|
+
dataType: 'dataType',
|
|
4162
|
+
errCode: 'errCode',
|
|
4163
|
+
message: 'message',
|
|
4164
|
+
requestId: 'requestId',
|
|
4165
|
+
success: 'success',
|
|
4166
|
+
time: 'time',
|
|
4167
|
+
};
|
|
4168
|
+
}
|
|
4169
|
+
|
|
4170
|
+
static types(): { [key: string]: any } {
|
|
4171
|
+
return {
|
|
4172
|
+
cost: 'number',
|
|
4173
|
+
data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
4174
|
+
dataType: 'string',
|
|
4175
|
+
errCode: 'string',
|
|
4176
|
+
message: 'string',
|
|
4177
|
+
requestId: 'string',
|
|
4178
|
+
success: 'boolean',
|
|
4179
|
+
time: 'string',
|
|
4180
|
+
};
|
|
4181
|
+
}
|
|
4182
|
+
|
|
4183
|
+
constructor(map?: { [key: string]: any }) {
|
|
4184
|
+
super(map);
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
export class RebuildTaskResponse extends $tea.Model {
|
|
4189
|
+
headers?: { [key: string]: string };
|
|
4190
|
+
statusCode?: number;
|
|
4191
|
+
body?: RebuildTaskResponseBody;
|
|
4192
|
+
static names(): { [key: string]: string } {
|
|
4193
|
+
return {
|
|
4194
|
+
headers: 'headers',
|
|
4195
|
+
statusCode: 'statusCode',
|
|
4196
|
+
body: 'body',
|
|
4197
|
+
};
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
static types(): { [key: string]: any } {
|
|
4201
|
+
return {
|
|
4202
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4203
|
+
statusCode: 'number',
|
|
4204
|
+
body: RebuildTaskResponseBody,
|
|
4205
|
+
};
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
constructor(map?: { [key: string]: any }) {
|
|
4209
|
+
super(map);
|
|
4210
|
+
}
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
export class RecallDocumentRequest extends $tea.Model {
|
|
4214
|
+
filters?: RecallDocumentRequestFilters[];
|
|
4215
|
+
/**
|
|
4216
|
+
* @remarks
|
|
4217
|
+
* This parameter is required.
|
|
4218
|
+
*/
|
|
4219
|
+
query?: string;
|
|
4220
|
+
/**
|
|
4221
|
+
* @example
|
|
4222
|
+
* false
|
|
4223
|
+
*/
|
|
4224
|
+
rearrangement?: boolean;
|
|
4225
|
+
/**
|
|
4226
|
+
* @example
|
|
4227
|
+
* 10
|
|
4228
|
+
*/
|
|
4229
|
+
topK?: number;
|
|
4230
|
+
static names(): { [key: string]: string } {
|
|
4231
|
+
return {
|
|
4232
|
+
filters: 'filters',
|
|
4233
|
+
query: 'query',
|
|
4234
|
+
rearrangement: 'rearrangement',
|
|
4235
|
+
topK: 'topK',
|
|
4236
|
+
};
|
|
4237
|
+
}
|
|
4238
|
+
|
|
4239
|
+
static types(): { [key: string]: any } {
|
|
4240
|
+
return {
|
|
4241
|
+
filters: { 'type': 'array', 'itemType': RecallDocumentRequestFilters },
|
|
4242
|
+
query: 'string',
|
|
4243
|
+
rearrangement: 'boolean',
|
|
4244
|
+
topK: 'number',
|
|
4245
|
+
};
|
|
4246
|
+
}
|
|
4247
|
+
|
|
4248
|
+
constructor(map?: { [key: string]: any }) {
|
|
4249
|
+
super(map);
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4252
|
+
|
|
4253
|
+
export class RecallDocumentResponseBody extends $tea.Model {
|
|
4254
|
+
/**
|
|
4255
|
+
* @example
|
|
4256
|
+
* 0
|
|
4257
|
+
*/
|
|
4258
|
+
cost?: number;
|
|
4259
|
+
data?: RecallDocumentResponseBodyData;
|
|
4260
|
+
/**
|
|
4261
|
+
* @example
|
|
4262
|
+
* null
|
|
4263
|
+
*/
|
|
4264
|
+
dataType?: string;
|
|
4265
|
+
/**
|
|
4266
|
+
* @example
|
|
4267
|
+
* 0
|
|
4268
|
+
*/
|
|
4269
|
+
errCode?: string;
|
|
4270
|
+
/**
|
|
4271
|
+
* @example
|
|
4272
|
+
* ok
|
|
4273
|
+
*/
|
|
4274
|
+
message?: string;
|
|
4275
|
+
/**
|
|
4276
|
+
* @example
|
|
4277
|
+
* 0bc13a9517168617617186457e401f
|
|
4278
|
+
*/
|
|
4279
|
+
requestId?: string;
|
|
4280
|
+
/**
|
|
4281
|
+
* @example
|
|
4282
|
+
* true
|
|
4283
|
+
*/
|
|
4284
|
+
success?: boolean;
|
|
4285
|
+
/**
|
|
4286
|
+
* @example
|
|
4287
|
+
* 2024-04-24 11:54:34
|
|
4288
|
+
*/
|
|
4289
|
+
time?: string;
|
|
4290
|
+
static names(): { [key: string]: string } {
|
|
4291
|
+
return {
|
|
4292
|
+
cost: 'cost',
|
|
4293
|
+
data: 'data',
|
|
4294
|
+
dataType: 'dataType',
|
|
4295
|
+
errCode: 'errCode',
|
|
4296
|
+
message: 'message',
|
|
4297
|
+
requestId: 'requestId',
|
|
4298
|
+
success: 'success',
|
|
4299
|
+
time: 'time',
|
|
4300
|
+
};
|
|
4301
|
+
}
|
|
4302
|
+
|
|
4303
|
+
static types(): { [key: string]: any } {
|
|
4304
|
+
return {
|
|
4305
|
+
cost: 'number',
|
|
4306
|
+
data: RecallDocumentResponseBodyData,
|
|
4307
|
+
dataType: 'string',
|
|
4308
|
+
errCode: 'string',
|
|
4309
|
+
message: 'string',
|
|
4310
|
+
requestId: 'string',
|
|
4311
|
+
success: 'boolean',
|
|
4312
|
+
time: 'string',
|
|
4313
|
+
};
|
|
4314
|
+
}
|
|
4315
|
+
|
|
4316
|
+
constructor(map?: { [key: string]: any }) {
|
|
4317
|
+
super(map);
|
|
4318
|
+
}
|
|
4319
|
+
}
|
|
4320
|
+
|
|
4321
|
+
export class RecallDocumentResponse extends $tea.Model {
|
|
4322
|
+
headers?: { [key: string]: string };
|
|
4323
|
+
statusCode?: number;
|
|
4324
|
+
body?: RecallDocumentResponseBody;
|
|
4325
|
+
static names(): { [key: string]: string } {
|
|
4326
|
+
return {
|
|
4327
|
+
headers: 'headers',
|
|
4328
|
+
statusCode: 'statusCode',
|
|
4329
|
+
body: 'body',
|
|
4330
|
+
};
|
|
4331
|
+
}
|
|
4332
|
+
|
|
4333
|
+
static types(): { [key: string]: any } {
|
|
4334
|
+
return {
|
|
4335
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4336
|
+
statusCode: 'number',
|
|
4337
|
+
body: RecallDocumentResponseBody,
|
|
4338
|
+
};
|
|
4339
|
+
}
|
|
4340
|
+
|
|
4341
|
+
constructor(map?: { [key: string]: any }) {
|
|
4342
|
+
super(map);
|
|
4343
|
+
}
|
|
4344
|
+
}
|
|
4345
|
+
|
|
4346
|
+
export class RecognizeIntentionRequest extends $tea.Model {
|
|
4347
|
+
/**
|
|
4348
|
+
* @example
|
|
4349
|
+
* false
|
|
4350
|
+
*/
|
|
4351
|
+
analysis?: boolean;
|
|
4352
|
+
/**
|
|
4353
|
+
* @remarks
|
|
4354
|
+
* This parameter is required.
|
|
4355
|
+
*
|
|
4356
|
+
* @example
|
|
4357
|
+
* common
|
|
4358
|
+
*/
|
|
4359
|
+
bizType?: string;
|
|
4360
|
+
/**
|
|
4361
|
+
* @remarks
|
|
4362
|
+
* This parameter is required.
|
|
4363
|
+
*/
|
|
4364
|
+
conversation?: string;
|
|
4365
|
+
globalIntentionList?: RecognizeIntentionRequestGlobalIntentionList[];
|
|
4366
|
+
hierarchicalIntentionList?: RecognizeIntentionRequestHierarchicalIntentionList[];
|
|
4367
|
+
intentionDomainCode?: string;
|
|
4368
|
+
intentionList?: RecognizeIntentionRequestIntentionList[];
|
|
4369
|
+
/**
|
|
4370
|
+
* @example
|
|
4371
|
+
* common
|
|
4372
|
+
*/
|
|
4373
|
+
opType?: string;
|
|
4374
|
+
/**
|
|
4375
|
+
* @example
|
|
4376
|
+
* false
|
|
4377
|
+
*/
|
|
4378
|
+
recommend?: boolean;
|
|
4379
|
+
static names(): { [key: string]: string } {
|
|
4380
|
+
return {
|
|
4381
|
+
analysis: 'analysis',
|
|
4382
|
+
bizType: 'bizType',
|
|
4383
|
+
conversation: 'conversation',
|
|
4384
|
+
globalIntentionList: 'globalIntentionList',
|
|
4385
|
+
hierarchicalIntentionList: 'hierarchicalIntentionList',
|
|
4386
|
+
intentionDomainCode: 'intentionDomainCode',
|
|
4387
|
+
intentionList: 'intentionList',
|
|
4388
|
+
opType: 'opType',
|
|
4389
|
+
recommend: 'recommend',
|
|
4390
|
+
};
|
|
4391
|
+
}
|
|
4392
|
+
|
|
4393
|
+
static types(): { [key: string]: any } {
|
|
4394
|
+
return {
|
|
4395
|
+
analysis: 'boolean',
|
|
4396
|
+
bizType: 'string',
|
|
4397
|
+
conversation: 'string',
|
|
4398
|
+
globalIntentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestGlobalIntentionList },
|
|
4399
|
+
hierarchicalIntentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestHierarchicalIntentionList },
|
|
4400
|
+
intentionDomainCode: 'string',
|
|
4401
|
+
intentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestIntentionList },
|
|
4402
|
+
opType: 'string',
|
|
4403
|
+
recommend: 'boolean',
|
|
4404
|
+
};
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4407
|
+
constructor(map?: { [key: string]: any }) {
|
|
4408
|
+
super(map);
|
|
4409
|
+
}
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
export class RecognizeIntentionResponseBody extends $tea.Model {
|
|
4413
|
+
/**
|
|
4414
|
+
* @example
|
|
4415
|
+
* null
|
|
4416
|
+
*/
|
|
4417
|
+
cost?: number;
|
|
4418
|
+
data?: RecognizeIntentionResponseBodyData;
|
|
4419
|
+
/**
|
|
4420
|
+
* @example
|
|
4421
|
+
* null
|
|
4422
|
+
*/
|
|
4423
|
+
dataType?: string;
|
|
4424
|
+
/**
|
|
4425
|
+
* @example
|
|
4426
|
+
* 0
|
|
4427
|
+
*/
|
|
4428
|
+
errCode?: string;
|
|
4429
|
+
/**
|
|
4430
|
+
* @example
|
|
4431
|
+
* ok
|
|
4432
|
+
*/
|
|
4433
|
+
message?: string;
|
|
4434
|
+
/**
|
|
4435
|
+
* @example
|
|
4436
|
+
* 003D019A-1BB3-53EC-A0D2-CE76DA5D73B1
|
|
4437
|
+
*/
|
|
4438
|
+
requestId?: string;
|
|
4439
|
+
/**
|
|
4440
|
+
* @example
|
|
4441
|
+
* true
|
|
4442
|
+
*/
|
|
4443
|
+
success?: boolean;
|
|
4444
|
+
/**
|
|
4445
|
+
* @example
|
|
4446
|
+
* 2024-04-24 11:54:34
|
|
4447
|
+
*/
|
|
4448
|
+
time?: string;
|
|
4449
|
+
static names(): { [key: string]: string } {
|
|
4450
|
+
return {
|
|
4451
|
+
cost: 'cost',
|
|
4452
|
+
data: 'data',
|
|
4453
|
+
dataType: 'dataType',
|
|
4454
|
+
errCode: 'errCode',
|
|
4455
|
+
message: 'message',
|
|
4456
|
+
requestId: 'requestId',
|
|
4457
|
+
success: 'success',
|
|
4458
|
+
time: 'time',
|
|
4459
|
+
};
|
|
4460
|
+
}
|
|
4461
|
+
|
|
4462
|
+
static types(): { [key: string]: any } {
|
|
4463
|
+
return {
|
|
4464
|
+
cost: 'number',
|
|
4465
|
+
data: RecognizeIntentionResponseBodyData,
|
|
4466
|
+
dataType: 'string',
|
|
4467
|
+
errCode: 'string',
|
|
4468
|
+
message: 'string',
|
|
4469
|
+
requestId: 'string',
|
|
4470
|
+
success: 'boolean',
|
|
4471
|
+
time: 'string',
|
|
4472
|
+
};
|
|
4473
|
+
}
|
|
4474
|
+
|
|
4475
|
+
constructor(map?: { [key: string]: any }) {
|
|
4476
|
+
super(map);
|
|
4477
|
+
}
|
|
4478
|
+
}
|
|
4479
|
+
|
|
4480
|
+
export class RecognizeIntentionResponse extends $tea.Model {
|
|
4481
|
+
headers?: { [key: string]: string };
|
|
4482
|
+
statusCode?: number;
|
|
4483
|
+
body?: RecognizeIntentionResponseBody;
|
|
4484
|
+
static names(): { [key: string]: string } {
|
|
4485
|
+
return {
|
|
4486
|
+
headers: 'headers',
|
|
4487
|
+
statusCode: 'statusCode',
|
|
4488
|
+
body: 'body',
|
|
4489
|
+
};
|
|
4490
|
+
}
|
|
4491
|
+
|
|
4492
|
+
static types(): { [key: string]: any } {
|
|
4493
|
+
return {
|
|
4494
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4495
|
+
statusCode: 'number',
|
|
4496
|
+
body: RecognizeIntentionResponseBody,
|
|
4497
|
+
};
|
|
4498
|
+
}
|
|
4499
|
+
|
|
4500
|
+
constructor(map?: { [key: string]: any }) {
|
|
4501
|
+
super(map);
|
|
4502
|
+
}
|
|
4503
|
+
}
|
|
4504
|
+
|
|
4505
|
+
export class RunChatResultGenerationRequest extends $tea.Model {
|
|
4506
|
+
/**
|
|
4507
|
+
* @example
|
|
4508
|
+
* {"topP": 0.8}
|
|
4509
|
+
*/
|
|
4510
|
+
inferenceParameters?: { [key: string]: any };
|
|
4511
|
+
/**
|
|
4512
|
+
* @remarks
|
|
4513
|
+
* This parameter is required.
|
|
4514
|
+
*/
|
|
4515
|
+
messages?: RunChatResultGenerationRequestMessages[];
|
|
4516
|
+
/**
|
|
4517
|
+
* @remarks
|
|
4518
|
+
* This parameter is required.
|
|
4519
|
+
*
|
|
4520
|
+
* @example
|
|
4521
|
+
* qwen-max
|
|
4522
|
+
*/
|
|
4523
|
+
modelId?: string;
|
|
4524
|
+
/**
|
|
4525
|
+
* @example
|
|
4526
|
+
* 237645726354
|
|
4527
|
+
*/
|
|
4528
|
+
sessionId?: string;
|
|
4529
|
+
/**
|
|
4530
|
+
* @example
|
|
4531
|
+
* false
|
|
4532
|
+
*/
|
|
4533
|
+
stream?: boolean;
|
|
4534
|
+
tools?: RunChatResultGenerationRequestTools[];
|
|
4535
|
+
static names(): { [key: string]: string } {
|
|
4536
|
+
return {
|
|
4537
|
+
inferenceParameters: 'inferenceParameters',
|
|
4538
|
+
messages: 'messages',
|
|
4539
|
+
modelId: 'modelId',
|
|
4540
|
+
sessionId: 'sessionId',
|
|
4541
|
+
stream: 'stream',
|
|
4542
|
+
tools: 'tools',
|
|
4543
|
+
};
|
|
4544
|
+
}
|
|
4545
|
+
|
|
4546
|
+
static types(): { [key: string]: any } {
|
|
4547
|
+
return {
|
|
4548
|
+
inferenceParameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4549
|
+
messages: { 'type': 'array', 'itemType': RunChatResultGenerationRequestMessages },
|
|
4550
|
+
modelId: 'string',
|
|
4551
|
+
sessionId: 'string',
|
|
4552
|
+
stream: 'boolean',
|
|
4553
|
+
tools: { 'type': 'array', 'itemType': RunChatResultGenerationRequestTools },
|
|
4554
|
+
};
|
|
4555
|
+
}
|
|
4556
|
+
|
|
4557
|
+
constructor(map?: { [key: string]: any }) {
|
|
4558
|
+
super(map);
|
|
4559
|
+
}
|
|
4560
|
+
}
|
|
4561
|
+
|
|
4562
|
+
export class RunChatResultGenerationResponseBody extends $tea.Model {
|
|
4563
|
+
choices?: RunChatResultGenerationResponseBodyChoices[];
|
|
4564
|
+
/**
|
|
4565
|
+
* @example
|
|
4566
|
+
* 1720602203
|
|
4567
|
+
*/
|
|
4568
|
+
created?: number;
|
|
4569
|
+
/**
|
|
4570
|
+
* @example
|
|
4571
|
+
* eb2b6139-ddf1-91a0-a47f-df7617ae9032
|
|
4572
|
+
*/
|
|
4573
|
+
id?: string;
|
|
4574
|
+
/**
|
|
4575
|
+
* @example
|
|
4576
|
+
* qwen-max
|
|
4577
|
+
*/
|
|
4578
|
+
modelId?: string;
|
|
4579
|
+
/**
|
|
4580
|
+
* @example
|
|
4581
|
+
* eb2b6139-ddf1-91a0-a47f-df7617ae9032
|
|
4582
|
+
*/
|
|
4583
|
+
requestId?: string;
|
|
4584
|
+
/**
|
|
4585
|
+
* @example
|
|
4586
|
+
* 2024-04-24 11:54:34
|
|
4587
|
+
*/
|
|
4588
|
+
time?: string;
|
|
4589
|
+
/**
|
|
4590
|
+
* @example
|
|
4591
|
+
* 500
|
|
4592
|
+
*/
|
|
4593
|
+
totalTokens?: number;
|
|
4594
|
+
usage?: RunChatResultGenerationResponseBodyUsage;
|
|
4595
|
+
static names(): { [key: string]: string } {
|
|
4596
|
+
return {
|
|
4597
|
+
choices: 'choices',
|
|
4598
|
+
created: 'created',
|
|
4599
|
+
id: 'id',
|
|
4600
|
+
modelId: 'modelId',
|
|
4601
|
+
requestId: 'requestId',
|
|
4602
|
+
time: 'time',
|
|
4603
|
+
totalTokens: 'totalTokens',
|
|
4604
|
+
usage: 'usage',
|
|
4605
|
+
};
|
|
4606
|
+
}
|
|
4607
|
+
|
|
4608
|
+
static types(): { [key: string]: any } {
|
|
4609
|
+
return {
|
|
4610
|
+
choices: { 'type': 'array', 'itemType': RunChatResultGenerationResponseBodyChoices },
|
|
4611
|
+
created: 'number',
|
|
4612
|
+
id: 'string',
|
|
4613
|
+
modelId: 'string',
|
|
4614
|
+
requestId: 'string',
|
|
4615
|
+
time: 'string',
|
|
4616
|
+
totalTokens: 'number',
|
|
4617
|
+
usage: RunChatResultGenerationResponseBodyUsage,
|
|
4618
|
+
};
|
|
4619
|
+
}
|
|
4620
|
+
|
|
4621
|
+
constructor(map?: { [key: string]: any }) {
|
|
4622
|
+
super(map);
|
|
4623
|
+
}
|
|
4624
|
+
}
|
|
4625
|
+
|
|
4626
|
+
export class RunChatResultGenerationResponse extends $tea.Model {
|
|
4627
|
+
headers?: { [key: string]: string };
|
|
4628
|
+
statusCode?: number;
|
|
4629
|
+
body?: RunChatResultGenerationResponseBody;
|
|
4630
|
+
static names(): { [key: string]: string } {
|
|
4631
|
+
return {
|
|
4632
|
+
headers: 'headers',
|
|
4633
|
+
statusCode: 'statusCode',
|
|
4634
|
+
body: 'body',
|
|
4635
|
+
};
|
|
4636
|
+
}
|
|
4637
|
+
|
|
4638
|
+
static types(): { [key: string]: any } {
|
|
4639
|
+
return {
|
|
4640
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4641
|
+
statusCode: 'number',
|
|
4642
|
+
body: RunChatResultGenerationResponseBody,
|
|
4643
|
+
};
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4646
|
+
constructor(map?: { [key: string]: any }) {
|
|
4647
|
+
super(map);
|
|
4648
|
+
}
|
|
4649
|
+
}
|
|
4650
|
+
|
|
4651
|
+
export class RunLibraryChatGenerationRequest extends $tea.Model {
|
|
4652
|
+
docIdList?: string[];
|
|
4653
|
+
/**
|
|
4654
|
+
* @example
|
|
4655
|
+
* false
|
|
4656
|
+
*/
|
|
4657
|
+
enableFollowUp?: boolean;
|
|
4658
|
+
/**
|
|
4659
|
+
* @example
|
|
4660
|
+
* false
|
|
4661
|
+
*/
|
|
4662
|
+
enableMultiQuery?: boolean;
|
|
4663
|
+
/**
|
|
4664
|
+
* @example
|
|
4665
|
+
* false
|
|
4666
|
+
*/
|
|
4667
|
+
enableOpenQa?: boolean;
|
|
4668
|
+
/**
|
|
4669
|
+
* @example
|
|
4670
|
+
* qwen-max
|
|
4671
|
+
*/
|
|
4672
|
+
followUpLlm?: string;
|
|
4673
|
+
/**
|
|
4674
|
+
* @remarks
|
|
4675
|
+
* This parameter is required.
|
|
4676
|
+
*
|
|
4677
|
+
* @example
|
|
4678
|
+
* 3akzl28vap
|
|
4679
|
+
*/
|
|
4680
|
+
libraryId?: string;
|
|
4681
|
+
/**
|
|
4682
|
+
* @remarks
|
|
4683
|
+
* This parameter is required.
|
|
4684
|
+
*
|
|
4685
|
+
* @example
|
|
4686
|
+
* qwen-max
|
|
4687
|
+
*/
|
|
4688
|
+
llmType?: string;
|
|
4689
|
+
/**
|
|
4690
|
+
* @example
|
|
4691
|
+
* qwen-max
|
|
4692
|
+
*/
|
|
4693
|
+
multiQueryLlm?: string;
|
|
4694
|
+
/**
|
|
4695
|
+
* @remarks
|
|
4696
|
+
* This parameter is required.
|
|
4697
|
+
*/
|
|
4698
|
+
query?: string;
|
|
4699
|
+
queryCriteria?: RunLibraryChatGenerationRequestQueryCriteria;
|
|
4700
|
+
/**
|
|
4701
|
+
* @example
|
|
4702
|
+
* linear
|
|
4703
|
+
*/
|
|
4704
|
+
rerankType?: string;
|
|
4705
|
+
/**
|
|
4706
|
+
* @remarks
|
|
4707
|
+
* sessionId
|
|
4708
|
+
*
|
|
4709
|
+
* @example
|
|
4710
|
+
* null
|
|
4711
|
+
*/
|
|
4712
|
+
sessionId?: string;
|
|
4713
|
+
/**
|
|
4714
|
+
* @example
|
|
4715
|
+
* false
|
|
4716
|
+
*/
|
|
4717
|
+
stream?: boolean;
|
|
4718
|
+
subQueryList?: string[];
|
|
4719
|
+
textSearchParameter?: RunLibraryChatGenerationRequestTextSearchParameter;
|
|
4720
|
+
/**
|
|
4721
|
+
* @example
|
|
4722
|
+
* 1
|
|
4723
|
+
*/
|
|
4724
|
+
topK?: number;
|
|
4725
|
+
vectorSearchParameter?: RunLibraryChatGenerationRequestVectorSearchParameter;
|
|
4726
|
+
/**
|
|
4727
|
+
* @example
|
|
4728
|
+
* false
|
|
4729
|
+
*/
|
|
4730
|
+
withDocumentReference?: boolean;
|
|
4731
|
+
static names(): { [key: string]: string } {
|
|
4732
|
+
return {
|
|
4733
|
+
docIdList: 'docIdList',
|
|
4734
|
+
enableFollowUp: 'enableFollowUp',
|
|
4735
|
+
enableMultiQuery: 'enableMultiQuery',
|
|
4736
|
+
enableOpenQa: 'enableOpenQa',
|
|
4737
|
+
followUpLlm: 'followUpLlm',
|
|
4738
|
+
libraryId: 'libraryId',
|
|
4739
|
+
llmType: 'llmType',
|
|
4740
|
+
multiQueryLlm: 'multiQueryLlm',
|
|
4741
|
+
query: 'query',
|
|
4742
|
+
queryCriteria: 'queryCriteria',
|
|
4743
|
+
rerankType: 'rerankType',
|
|
4744
|
+
sessionId: 'sessionId',
|
|
4745
|
+
stream: 'stream',
|
|
4746
|
+
subQueryList: 'subQueryList',
|
|
4747
|
+
textSearchParameter: 'textSearchParameter',
|
|
4748
|
+
topK: 'topK',
|
|
4749
|
+
vectorSearchParameter: 'vectorSearchParameter',
|
|
4750
|
+
withDocumentReference: 'withDocumentReference',
|
|
4751
|
+
};
|
|
4752
|
+
}
|
|
4753
|
+
|
|
4754
|
+
static types(): { [key: string]: any } {
|
|
4755
|
+
return {
|
|
4756
|
+
docIdList: { 'type': 'array', 'itemType': 'string' },
|
|
4757
|
+
enableFollowUp: 'boolean',
|
|
4758
|
+
enableMultiQuery: 'boolean',
|
|
4759
|
+
enableOpenQa: 'boolean',
|
|
4760
|
+
followUpLlm: 'string',
|
|
4761
|
+
libraryId: 'string',
|
|
4762
|
+
llmType: 'string',
|
|
4763
|
+
multiQueryLlm: 'string',
|
|
4764
|
+
query: 'string',
|
|
4765
|
+
queryCriteria: RunLibraryChatGenerationRequestQueryCriteria,
|
|
4766
|
+
rerankType: 'string',
|
|
4767
|
+
sessionId: 'string',
|
|
4768
|
+
stream: 'boolean',
|
|
4769
|
+
subQueryList: { 'type': 'array', 'itemType': 'string' },
|
|
4770
|
+
textSearchParameter: RunLibraryChatGenerationRequestTextSearchParameter,
|
|
4771
|
+
topK: 'number',
|
|
4772
|
+
vectorSearchParameter: RunLibraryChatGenerationRequestVectorSearchParameter,
|
|
4773
|
+
withDocumentReference: 'boolean',
|
|
4774
|
+
};
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4777
|
+
constructor(map?: { [key: string]: any }) {
|
|
4778
|
+
super(map);
|
|
4779
|
+
}
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
export class RunLibraryChatGenerationResponseBody extends $tea.Model {
|
|
4783
|
+
/**
|
|
4784
|
+
* @example
|
|
4785
|
+
* null
|
|
4786
|
+
*/
|
|
4787
|
+
cost?: number;
|
|
4788
|
+
data?: any;
|
|
4789
|
+
/**
|
|
4790
|
+
* @example
|
|
4791
|
+
* null
|
|
4792
|
+
*/
|
|
4793
|
+
dataType?: string;
|
|
4794
|
+
/**
|
|
4795
|
+
* @example
|
|
4796
|
+
* 0
|
|
4797
|
+
*/
|
|
4798
|
+
errCode?: string;
|
|
4799
|
+
/**
|
|
4800
|
+
* @example
|
|
4801
|
+
* ok
|
|
4802
|
+
*/
|
|
4803
|
+
message?: string;
|
|
4804
|
+
/**
|
|
4805
|
+
* @example
|
|
4806
|
+
* 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
|
|
4807
|
+
*/
|
|
4808
|
+
requestId?: string;
|
|
4809
|
+
/**
|
|
4810
|
+
* @example
|
|
4811
|
+
* true
|
|
4812
|
+
*/
|
|
4813
|
+
success?: boolean;
|
|
4814
|
+
/**
|
|
4815
|
+
* @example
|
|
4816
|
+
* 2024-04-24 11:54:34
|
|
4817
|
+
*/
|
|
4818
|
+
time?: string;
|
|
4819
|
+
static names(): { [key: string]: string } {
|
|
4820
|
+
return {
|
|
4821
|
+
cost: 'cost',
|
|
3746
4822
|
data: 'data',
|
|
3747
4823
|
dataType: 'dataType',
|
|
3748
4824
|
errCode: 'errCode',
|
|
@@ -3756,7 +4832,7 @@ export class RecognizeIntentionResponseBody extends $tea.Model {
|
|
|
3756
4832
|
static types(): { [key: string]: any } {
|
|
3757
4833
|
return {
|
|
3758
4834
|
cost: 'number',
|
|
3759
|
-
data:
|
|
4835
|
+
data: 'any',
|
|
3760
4836
|
dataType: 'string',
|
|
3761
4837
|
errCode: 'string',
|
|
3762
4838
|
message: 'string',
|
|
@@ -3771,10 +4847,10 @@ export class RecognizeIntentionResponseBody extends $tea.Model {
|
|
|
3771
4847
|
}
|
|
3772
4848
|
}
|
|
3773
4849
|
|
|
3774
|
-
export class
|
|
4850
|
+
export class RunLibraryChatGenerationResponse extends $tea.Model {
|
|
3775
4851
|
headers?: { [key: string]: string };
|
|
3776
4852
|
statusCode?: number;
|
|
3777
|
-
body?:
|
|
4853
|
+
body?: RunLibraryChatGenerationResponseBody;
|
|
3778
4854
|
static names(): { [key: string]: string } {
|
|
3779
4855
|
return {
|
|
3780
4856
|
headers: 'headers',
|
|
@@ -3787,7 +4863,7 @@ export class RecognizeIntentionResponse extends $tea.Model {
|
|
|
3787
4863
|
return {
|
|
3788
4864
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3789
4865
|
statusCode: 'number',
|
|
3790
|
-
body:
|
|
4866
|
+
body: RunLibraryChatGenerationResponseBody,
|
|
3791
4867
|
};
|
|
3792
4868
|
}
|
|
3793
4869
|
|
|
@@ -3796,55 +4872,65 @@ export class RecognizeIntentionResponse extends $tea.Model {
|
|
|
3796
4872
|
}
|
|
3797
4873
|
}
|
|
3798
4874
|
|
|
3799
|
-
export class
|
|
4875
|
+
export class SubmitChatQuestionRequest extends $tea.Model {
|
|
3800
4876
|
/**
|
|
4877
|
+
* @remarks
|
|
4878
|
+
* This parameter is required.
|
|
4879
|
+
*
|
|
3801
4880
|
* @example
|
|
3802
|
-
*
|
|
4881
|
+
* 2024-09-27 11:23:20
|
|
3803
4882
|
*/
|
|
3804
|
-
|
|
4883
|
+
gmtService?: string;
|
|
3805
4884
|
/**
|
|
3806
4885
|
* @remarks
|
|
3807
4886
|
* This parameter is required.
|
|
3808
4887
|
*/
|
|
3809
|
-
|
|
4888
|
+
liveScriptContent?: string;
|
|
4889
|
+
/**
|
|
4890
|
+
* @example
|
|
4891
|
+
* true
|
|
4892
|
+
*/
|
|
4893
|
+
openSmallTalk?: boolean;
|
|
3810
4894
|
/**
|
|
3811
4895
|
* @remarks
|
|
3812
4896
|
* This parameter is required.
|
|
3813
|
-
*
|
|
3814
|
-
* @example
|
|
3815
|
-
* qwen-max
|
|
3816
4897
|
*/
|
|
3817
|
-
|
|
4898
|
+
questionList?: SubmitChatQuestionRequestQuestionList[];
|
|
3818
4899
|
/**
|
|
4900
|
+
* @remarks
|
|
4901
|
+
* This parameter is required.
|
|
4902
|
+
*
|
|
3819
4903
|
* @example
|
|
3820
|
-
*
|
|
4904
|
+
* 0FC6636E-380A-5369-AE01-D1C15BB9B254
|
|
3821
4905
|
*/
|
|
3822
|
-
|
|
4906
|
+
requestId?: string;
|
|
3823
4907
|
/**
|
|
4908
|
+
* @remarks
|
|
4909
|
+
* This parameter is required.
|
|
4910
|
+
*
|
|
3824
4911
|
* @example
|
|
3825
|
-
*
|
|
4912
|
+
* 237645726354
|
|
3826
4913
|
*/
|
|
3827
|
-
|
|
3828
|
-
tools?: RunChatResultGenerationRequestTools[];
|
|
4914
|
+
sessionId?: string;
|
|
3829
4915
|
static names(): { [key: string]: string } {
|
|
3830
4916
|
return {
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
4917
|
+
gmtService: 'gmtService',
|
|
4918
|
+
liveScriptContent: 'liveScriptContent',
|
|
4919
|
+
openSmallTalk: 'openSmallTalk',
|
|
4920
|
+
questionList: 'questionList',
|
|
4921
|
+
requestId: 'requestId',
|
|
3834
4922
|
sessionId: 'sessionId',
|
|
3835
|
-
stream: 'stream',
|
|
3836
|
-
tools: 'tools',
|
|
3837
4923
|
};
|
|
3838
4924
|
}
|
|
3839
4925
|
|
|
3840
4926
|
static types(): { [key: string]: any } {
|
|
3841
4927
|
return {
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
4928
|
+
gmtService: 'string',
|
|
4929
|
+
liveScriptContent: 'string',
|
|
4930
|
+
openSmallTalk: 'boolean',
|
|
4931
|
+
questionList: { 'type': 'array', 'itemType': SubmitChatQuestionRequestQuestionList },
|
|
4932
|
+
requestId: 'string',
|
|
3845
4933
|
sessionId: 'string',
|
|
3846
|
-
stream: 'boolean',
|
|
3847
|
-
tools: { 'type': 'array', 'itemType': RunChatResultGenerationRequestTools },
|
|
3848
4934
|
};
|
|
3849
4935
|
}
|
|
3850
4936
|
|
|
@@ -3853,62 +4939,66 @@ export class RunChatResultGenerationRequest extends $tea.Model {
|
|
|
3853
4939
|
}
|
|
3854
4940
|
}
|
|
3855
4941
|
|
|
3856
|
-
export class
|
|
3857
|
-
choices?: RunChatResultGenerationResponseBodyChoices[];
|
|
4942
|
+
export class SubmitChatQuestionResponseBody extends $tea.Model {
|
|
3858
4943
|
/**
|
|
3859
4944
|
* @example
|
|
3860
|
-
*
|
|
4945
|
+
* null
|
|
3861
4946
|
*/
|
|
3862
|
-
|
|
4947
|
+
cost?: number;
|
|
4948
|
+
data?: SubmitChatQuestionResponseBodyData;
|
|
3863
4949
|
/**
|
|
3864
4950
|
* @example
|
|
3865
|
-
*
|
|
4951
|
+
* null
|
|
3866
4952
|
*/
|
|
3867
|
-
|
|
4953
|
+
dataType?: string;
|
|
3868
4954
|
/**
|
|
3869
4955
|
* @example
|
|
3870
|
-
*
|
|
4956
|
+
* 0
|
|
3871
4957
|
*/
|
|
3872
|
-
|
|
4958
|
+
errCode?: string;
|
|
3873
4959
|
/**
|
|
3874
4960
|
* @example
|
|
3875
|
-
*
|
|
4961
|
+
* ok
|
|
4962
|
+
*/
|
|
4963
|
+
message?: string;
|
|
4964
|
+
/**
|
|
4965
|
+
* @example
|
|
4966
|
+
* 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
|
|
3876
4967
|
*/
|
|
3877
4968
|
requestId?: string;
|
|
3878
4969
|
/**
|
|
3879
4970
|
* @example
|
|
3880
|
-
*
|
|
4971
|
+
* true
|
|
3881
4972
|
*/
|
|
3882
|
-
|
|
4973
|
+
success?: boolean;
|
|
3883
4974
|
/**
|
|
3884
4975
|
* @example
|
|
3885
|
-
*
|
|
4976
|
+
* 2024-04-24 11:54:34
|
|
3886
4977
|
*/
|
|
3887
|
-
|
|
3888
|
-
usage?: RunChatResultGenerationResponseBodyUsage;
|
|
4978
|
+
time?: string;
|
|
3889
4979
|
static names(): { [key: string]: string } {
|
|
3890
4980
|
return {
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
4981
|
+
cost: 'cost',
|
|
4982
|
+
data: 'data',
|
|
4983
|
+
dataType: 'dataType',
|
|
4984
|
+
errCode: 'errCode',
|
|
4985
|
+
message: 'message',
|
|
3895
4986
|
requestId: 'requestId',
|
|
4987
|
+
success: 'success',
|
|
3896
4988
|
time: 'time',
|
|
3897
|
-
totalTokens: 'totalTokens',
|
|
3898
|
-
usage: 'usage',
|
|
3899
4989
|
};
|
|
3900
4990
|
}
|
|
3901
4991
|
|
|
3902
4992
|
static types(): { [key: string]: any } {
|
|
3903
4993
|
return {
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
4994
|
+
cost: 'number',
|
|
4995
|
+
data: SubmitChatQuestionResponseBodyData,
|
|
4996
|
+
dataType: 'string',
|
|
4997
|
+
errCode: 'string',
|
|
4998
|
+
message: 'string',
|
|
3908
4999
|
requestId: 'string',
|
|
5000
|
+
success: 'boolean',
|
|
3909
5001
|
time: 'string',
|
|
3910
|
-
totalTokens: 'number',
|
|
3911
|
-
usage: RunChatResultGenerationResponseBodyUsage,
|
|
3912
5002
|
};
|
|
3913
5003
|
}
|
|
3914
5004
|
|
|
@@ -3917,10 +5007,10 @@ export class RunChatResultGenerationResponseBody extends $tea.Model {
|
|
|
3917
5007
|
}
|
|
3918
5008
|
}
|
|
3919
5009
|
|
|
3920
|
-
export class
|
|
5010
|
+
export class SubmitChatQuestionResponse extends $tea.Model {
|
|
3921
5011
|
headers?: { [key: string]: string };
|
|
3922
5012
|
statusCode?: number;
|
|
3923
|
-
body?:
|
|
5013
|
+
body?: SubmitChatQuestionResponseBody;
|
|
3924
5014
|
static names(): { [key: string]: string } {
|
|
3925
5015
|
return {
|
|
3926
5016
|
headers: 'headers',
|
|
@@ -3933,7 +5023,7 @@ export class RunChatResultGenerationResponse extends $tea.Model {
|
|
|
3933
5023
|
return {
|
|
3934
5024
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3935
5025
|
statusCode: 'number',
|
|
3936
|
-
body:
|
|
5026
|
+
body: SubmitChatQuestionResponseBody,
|
|
3937
5027
|
};
|
|
3938
5028
|
}
|
|
3939
5029
|
|
|
@@ -3942,129 +5032,50 @@ export class RunChatResultGenerationResponse extends $tea.Model {
|
|
|
3942
5032
|
}
|
|
3943
5033
|
}
|
|
3944
5034
|
|
|
3945
|
-
export class
|
|
3946
|
-
docIdList?: string[];
|
|
3947
|
-
/**
|
|
3948
|
-
* @example
|
|
3949
|
-
* false
|
|
3950
|
-
*/
|
|
3951
|
-
enableFollowUp?: boolean;
|
|
3952
|
-
/**
|
|
3953
|
-
* @example
|
|
3954
|
-
* false
|
|
3955
|
-
*/
|
|
3956
|
-
enableMultiQuery?: boolean;
|
|
3957
|
-
/**
|
|
3958
|
-
* @example
|
|
3959
|
-
* false
|
|
3960
|
-
*/
|
|
3961
|
-
enableOpenQa?: boolean;
|
|
3962
|
-
/**
|
|
3963
|
-
* @example
|
|
3964
|
-
* qwen-max
|
|
3965
|
-
*/
|
|
3966
|
-
followUpLlm?: string;
|
|
3967
|
-
/**
|
|
3968
|
-
* @remarks
|
|
3969
|
-
* This parameter is required.
|
|
3970
|
-
*
|
|
3971
|
-
* @example
|
|
3972
|
-
* 3akzl28vap
|
|
3973
|
-
*/
|
|
3974
|
-
libraryId?: string;
|
|
5035
|
+
export class UpdateDocumentRequest extends $tea.Model {
|
|
3975
5036
|
/**
|
|
3976
5037
|
* @remarks
|
|
3977
5038
|
* This parameter is required.
|
|
3978
5039
|
*
|
|
3979
5040
|
* @example
|
|
3980
|
-
*
|
|
3981
|
-
*/
|
|
3982
|
-
llmType?: string;
|
|
3983
|
-
/**
|
|
3984
|
-
* @example
|
|
3985
|
-
* qwen-max
|
|
5041
|
+
* 123
|
|
3986
5042
|
*/
|
|
3987
|
-
|
|
5043
|
+
docId?: string;
|
|
3988
5044
|
/**
|
|
3989
5045
|
* @remarks
|
|
3990
5046
|
* This parameter is required.
|
|
3991
|
-
*/
|
|
3992
|
-
query?: string;
|
|
3993
|
-
queryCriteria?: RunLibraryChatGenerationRequestQueryCriteria;
|
|
3994
|
-
/**
|
|
3995
|
-
* @example
|
|
3996
|
-
* linear
|
|
3997
|
-
*/
|
|
3998
|
-
rerankType?: string;
|
|
3999
|
-
/**
|
|
4000
|
-
* @remarks
|
|
4001
|
-
* sessionId
|
|
4002
5047
|
*
|
|
4003
5048
|
* @example
|
|
4004
|
-
*
|
|
4005
|
-
*/
|
|
4006
|
-
sessionId?: string;
|
|
4007
|
-
/**
|
|
4008
|
-
* @example
|
|
4009
|
-
* false
|
|
5049
|
+
* abc123
|
|
4010
5050
|
*/
|
|
4011
|
-
|
|
4012
|
-
subQueryList?: string[];
|
|
4013
|
-
textSearchParameter?: RunLibraryChatGenerationRequestTextSearchParameter;
|
|
5051
|
+
libraryId?: string;
|
|
4014
5052
|
/**
|
|
4015
5053
|
* @example
|
|
4016
|
-
*
|
|
5054
|
+
* {
|
|
5055
|
+
* "businessId": "12321"
|
|
5056
|
+
* }
|
|
4017
5057
|
*/
|
|
4018
|
-
|
|
4019
|
-
vectorSearchParameter?: RunLibraryChatGenerationRequestVectorSearchParameter;
|
|
5058
|
+
meta?: { [key: string]: any };
|
|
4020
5059
|
/**
|
|
4021
5060
|
* @example
|
|
4022
|
-
*
|
|
5061
|
+
* test
|
|
4023
5062
|
*/
|
|
4024
|
-
|
|
5063
|
+
title?: string;
|
|
4025
5064
|
static names(): { [key: string]: string } {
|
|
4026
5065
|
return {
|
|
4027
|
-
|
|
4028
|
-
enableFollowUp: 'enableFollowUp',
|
|
4029
|
-
enableMultiQuery: 'enableMultiQuery',
|
|
4030
|
-
enableOpenQa: 'enableOpenQa',
|
|
4031
|
-
followUpLlm: 'followUpLlm',
|
|
5066
|
+
docId: 'docId',
|
|
4032
5067
|
libraryId: 'libraryId',
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
query: 'query',
|
|
4036
|
-
queryCriteria: 'queryCriteria',
|
|
4037
|
-
rerankType: 'rerankType',
|
|
4038
|
-
sessionId: 'sessionId',
|
|
4039
|
-
stream: 'stream',
|
|
4040
|
-
subQueryList: 'subQueryList',
|
|
4041
|
-
textSearchParameter: 'textSearchParameter',
|
|
4042
|
-
topK: 'topK',
|
|
4043
|
-
vectorSearchParameter: 'vectorSearchParameter',
|
|
4044
|
-
withDocumentReference: 'withDocumentReference',
|
|
5068
|
+
meta: 'meta',
|
|
5069
|
+
title: 'title',
|
|
4045
5070
|
};
|
|
4046
5071
|
}
|
|
4047
5072
|
|
|
4048
5073
|
static types(): { [key: string]: any } {
|
|
4049
5074
|
return {
|
|
4050
|
-
|
|
4051
|
-
enableFollowUp: 'boolean',
|
|
4052
|
-
enableMultiQuery: 'boolean',
|
|
4053
|
-
enableOpenQa: 'boolean',
|
|
4054
|
-
followUpLlm: 'string',
|
|
5075
|
+
docId: 'string',
|
|
4055
5076
|
libraryId: 'string',
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
query: 'string',
|
|
4059
|
-
queryCriteria: RunLibraryChatGenerationRequestQueryCriteria,
|
|
4060
|
-
rerankType: 'string',
|
|
4061
|
-
sessionId: 'string',
|
|
4062
|
-
stream: 'boolean',
|
|
4063
|
-
subQueryList: { 'type': 'array', 'itemType': 'string' },
|
|
4064
|
-
textSearchParameter: RunLibraryChatGenerationRequestTextSearchParameter,
|
|
4065
|
-
topK: 'number',
|
|
4066
|
-
vectorSearchParameter: RunLibraryChatGenerationRequestVectorSearchParameter,
|
|
4067
|
-
withDocumentReference: 'boolean',
|
|
5077
|
+
meta: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
5078
|
+
title: 'string',
|
|
4068
5079
|
};
|
|
4069
5080
|
}
|
|
4070
5081
|
|
|
@@ -4073,13 +5084,17 @@ export class RunLibraryChatGenerationRequest extends $tea.Model {
|
|
|
4073
5084
|
}
|
|
4074
5085
|
}
|
|
4075
5086
|
|
|
4076
|
-
export class
|
|
5087
|
+
export class UpdateDocumentResponseBody extends $tea.Model {
|
|
4077
5088
|
/**
|
|
4078
5089
|
* @example
|
|
4079
5090
|
* null
|
|
4080
5091
|
*/
|
|
4081
5092
|
cost?: number;
|
|
4082
|
-
|
|
5093
|
+
/**
|
|
5094
|
+
* @example
|
|
5095
|
+
* null
|
|
5096
|
+
*/
|
|
5097
|
+
data?: string;
|
|
4083
5098
|
/**
|
|
4084
5099
|
* @example
|
|
4085
5100
|
* null
|
|
@@ -4097,7 +5112,7 @@ export class RunLibraryChatGenerationResponseBody extends $tea.Model {
|
|
|
4097
5112
|
message?: string;
|
|
4098
5113
|
/**
|
|
4099
5114
|
* @example
|
|
4100
|
-
*
|
|
5115
|
+
* eb2b6139-ddf1-91a0-a47f-df7617ae9032
|
|
4101
5116
|
*/
|
|
4102
5117
|
requestId?: string;
|
|
4103
5118
|
/**
|
|
@@ -4126,7 +5141,7 @@ export class RunLibraryChatGenerationResponseBody extends $tea.Model {
|
|
|
4126
5141
|
static types(): { [key: string]: any } {
|
|
4127
5142
|
return {
|
|
4128
5143
|
cost: 'number',
|
|
4129
|
-
data: '
|
|
5144
|
+
data: 'string',
|
|
4130
5145
|
dataType: 'string',
|
|
4131
5146
|
errCode: 'string',
|
|
4132
5147
|
message: 'string',
|
|
@@ -4141,10 +5156,10 @@ export class RunLibraryChatGenerationResponseBody extends $tea.Model {
|
|
|
4141
5156
|
}
|
|
4142
5157
|
}
|
|
4143
5158
|
|
|
4144
|
-
export class
|
|
5159
|
+
export class UpdateDocumentResponse extends $tea.Model {
|
|
4145
5160
|
headers?: { [key: string]: string };
|
|
4146
5161
|
statusCode?: number;
|
|
4147
|
-
body?:
|
|
5162
|
+
body?: UpdateDocumentResponseBody;
|
|
4148
5163
|
static names(): { [key: string]: string } {
|
|
4149
5164
|
return {
|
|
4150
5165
|
headers: 'headers',
|
|
@@ -4157,7 +5172,7 @@ export class RunLibraryChatGenerationResponse extends $tea.Model {
|
|
|
4157
5172
|
return {
|
|
4158
5173
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4159
5174
|
statusCode: 'number',
|
|
4160
|
-
body:
|
|
5175
|
+
body: UpdateDocumentResponseBody,
|
|
4161
5176
|
};
|
|
4162
5177
|
}
|
|
4163
5178
|
|
|
@@ -4166,50 +5181,33 @@ export class RunLibraryChatGenerationResponse extends $tea.Model {
|
|
|
4166
5181
|
}
|
|
4167
5182
|
}
|
|
4168
5183
|
|
|
4169
|
-
export class
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
* This parameter is required.
|
|
4173
|
-
*
|
|
4174
|
-
* @example
|
|
4175
|
-
* 123
|
|
4176
|
-
*/
|
|
4177
|
-
docId?: string;
|
|
5184
|
+
export class UpdateLibraryRequest extends $tea.Model {
|
|
5185
|
+
description?: string;
|
|
5186
|
+
indexSetting?: UpdateLibraryRequestIndexSetting;
|
|
4178
5187
|
/**
|
|
4179
5188
|
* @remarks
|
|
4180
5189
|
* This parameter is required.
|
|
4181
5190
|
*
|
|
4182
5191
|
* @example
|
|
4183
|
-
*
|
|
5192
|
+
* dsfbashdbb
|
|
4184
5193
|
*/
|
|
4185
5194
|
libraryId?: string;
|
|
4186
|
-
|
|
4187
|
-
* @example
|
|
4188
|
-
* {
|
|
4189
|
-
* "businessId": "12321"
|
|
4190
|
-
* }
|
|
4191
|
-
*/
|
|
4192
|
-
meta?: { [key: string]: any };
|
|
4193
|
-
/**
|
|
4194
|
-
* @example
|
|
4195
|
-
* test
|
|
4196
|
-
*/
|
|
4197
|
-
title?: string;
|
|
5195
|
+
libraryName?: string;
|
|
4198
5196
|
static names(): { [key: string]: string } {
|
|
4199
5197
|
return {
|
|
4200
|
-
|
|
5198
|
+
description: 'description',
|
|
5199
|
+
indexSetting: 'indexSetting',
|
|
4201
5200
|
libraryId: 'libraryId',
|
|
4202
|
-
|
|
4203
|
-
title: 'title',
|
|
5201
|
+
libraryName: 'libraryName',
|
|
4204
5202
|
};
|
|
4205
5203
|
}
|
|
4206
5204
|
|
|
4207
5205
|
static types(): { [key: string]: any } {
|
|
4208
5206
|
return {
|
|
4209
|
-
|
|
5207
|
+
description: 'string',
|
|
5208
|
+
indexSetting: UpdateLibraryRequestIndexSetting,
|
|
4210
5209
|
libraryId: 'string',
|
|
4211
|
-
|
|
4212
|
-
title: 'string',
|
|
5210
|
+
libraryName: 'string',
|
|
4213
5211
|
};
|
|
4214
5212
|
}
|
|
4215
5213
|
|
|
@@ -4218,7 +5216,7 @@ export class UpdateDocumentRequest extends $tea.Model {
|
|
|
4218
5216
|
}
|
|
4219
5217
|
}
|
|
4220
5218
|
|
|
4221
|
-
export class
|
|
5219
|
+
export class UpdateLibraryResponseBody extends $tea.Model {
|
|
4222
5220
|
/**
|
|
4223
5221
|
* @example
|
|
4224
5222
|
* null
|
|
@@ -4290,10 +5288,10 @@ export class UpdateDocumentResponseBody extends $tea.Model {
|
|
|
4290
5288
|
}
|
|
4291
5289
|
}
|
|
4292
5290
|
|
|
4293
|
-
export class
|
|
5291
|
+
export class UpdateLibraryResponse extends $tea.Model {
|
|
4294
5292
|
headers?: { [key: string]: string };
|
|
4295
5293
|
statusCode?: number;
|
|
4296
|
-
body?:
|
|
5294
|
+
body?: UpdateLibraryResponseBody;
|
|
4297
5295
|
static names(): { [key: string]: string } {
|
|
4298
5296
|
return {
|
|
4299
5297
|
headers: 'headers',
|
|
@@ -4306,7 +5304,7 @@ export class UpdateDocumentResponse extends $tea.Model {
|
|
|
4306
5304
|
return {
|
|
4307
5305
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4308
5306
|
statusCode: 'number',
|
|
4309
|
-
body:
|
|
5307
|
+
body: UpdateLibraryResponseBody,
|
|
4310
5308
|
};
|
|
4311
5309
|
}
|
|
4312
5310
|
|
|
@@ -4315,33 +5313,38 @@ export class UpdateDocumentResponse extends $tea.Model {
|
|
|
4315
5313
|
}
|
|
4316
5314
|
}
|
|
4317
5315
|
|
|
4318
|
-
export class
|
|
4319
|
-
|
|
4320
|
-
|
|
5316
|
+
export class UpdateQaLibraryRequest extends $tea.Model {
|
|
5317
|
+
/**
|
|
5318
|
+
* @remarks
|
|
5319
|
+
* This parameter is required.
|
|
5320
|
+
*/
|
|
5321
|
+
parseQaResults?: UpdateQaLibraryRequestParseQaResults[];
|
|
5322
|
+
/**
|
|
5323
|
+
* @example
|
|
5324
|
+
* 6jh378d
|
|
5325
|
+
*/
|
|
5326
|
+
qaLibraryId?: string;
|
|
4321
5327
|
/**
|
|
4322
5328
|
* @remarks
|
|
4323
5329
|
* This parameter is required.
|
|
4324
5330
|
*
|
|
4325
5331
|
* @example
|
|
4326
|
-
*
|
|
5332
|
+
* 0FC6636E-380A-5369-AE01-D1C15BB9B254
|
|
4327
5333
|
*/
|
|
4328
|
-
|
|
4329
|
-
libraryName?: string;
|
|
5334
|
+
requestId?: string;
|
|
4330
5335
|
static names(): { [key: string]: string } {
|
|
4331
5336
|
return {
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
libraryName: 'libraryName',
|
|
5337
|
+
parseQaResults: 'parseQaResults',
|
|
5338
|
+
qaLibraryId: 'qaLibraryId',
|
|
5339
|
+
requestId: 'requestId',
|
|
4336
5340
|
};
|
|
4337
5341
|
}
|
|
4338
5342
|
|
|
4339
5343
|
static types(): { [key: string]: any } {
|
|
4340
5344
|
return {
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
libraryName: 'string',
|
|
5345
|
+
parseQaResults: { 'type': 'array', 'itemType': UpdateQaLibraryRequestParseQaResults },
|
|
5346
|
+
qaLibraryId: 'string',
|
|
5347
|
+
requestId: 'string',
|
|
4345
5348
|
};
|
|
4346
5349
|
}
|
|
4347
5350
|
|
|
@@ -4350,17 +5353,13 @@ export class UpdateLibraryRequest extends $tea.Model {
|
|
|
4350
5353
|
}
|
|
4351
5354
|
}
|
|
4352
5355
|
|
|
4353
|
-
export class
|
|
5356
|
+
export class UpdateQaLibraryResponseBody extends $tea.Model {
|
|
4354
5357
|
/**
|
|
4355
5358
|
* @example
|
|
4356
5359
|
* null
|
|
4357
5360
|
*/
|
|
4358
5361
|
cost?: number;
|
|
4359
|
-
|
|
4360
|
-
* @example
|
|
4361
|
-
* null
|
|
4362
|
-
*/
|
|
4363
|
-
data?: string;
|
|
5362
|
+
data?: UpdateQaLibraryResponseBodyData;
|
|
4364
5363
|
/**
|
|
4365
5364
|
* @example
|
|
4366
5365
|
* null
|
|
@@ -4378,7 +5377,7 @@ export class UpdateLibraryResponseBody extends $tea.Model {
|
|
|
4378
5377
|
message?: string;
|
|
4379
5378
|
/**
|
|
4380
5379
|
* @example
|
|
4381
|
-
*
|
|
5380
|
+
* EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
|
|
4382
5381
|
*/
|
|
4383
5382
|
requestId?: string;
|
|
4384
5383
|
/**
|
|
@@ -4407,7 +5406,7 @@ export class UpdateLibraryResponseBody extends $tea.Model {
|
|
|
4407
5406
|
static types(): { [key: string]: any } {
|
|
4408
5407
|
return {
|
|
4409
5408
|
cost: 'number',
|
|
4410
|
-
data:
|
|
5409
|
+
data: UpdateQaLibraryResponseBodyData,
|
|
4411
5410
|
dataType: 'string',
|
|
4412
5411
|
errCode: 'string',
|
|
4413
5412
|
message: 'string',
|
|
@@ -4422,10 +5421,10 @@ export class UpdateLibraryResponseBody extends $tea.Model {
|
|
|
4422
5421
|
}
|
|
4423
5422
|
}
|
|
4424
5423
|
|
|
4425
|
-
export class
|
|
5424
|
+
export class UpdateQaLibraryResponse extends $tea.Model {
|
|
4426
5425
|
headers?: { [key: string]: string };
|
|
4427
5426
|
statusCode?: number;
|
|
4428
|
-
body?:
|
|
5427
|
+
body?: UpdateQaLibraryResponseBody;
|
|
4429
5428
|
static names(): { [key: string]: string } {
|
|
4430
5429
|
return {
|
|
4431
5430
|
headers: 'headers',
|
|
@@ -4438,7 +5437,7 @@ export class UpdateLibraryResponse extends $tea.Model {
|
|
|
4438
5437
|
return {
|
|
4439
5438
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4440
5439
|
statusCode: 'number',
|
|
4441
|
-
body:
|
|
5440
|
+
body: UpdateQaLibraryResponseBody,
|
|
4442
5441
|
};
|
|
4443
5442
|
}
|
|
4444
5443
|
|
|
@@ -4702,6 +5701,32 @@ export class CreateAnnualDocSummaryTaskRequestDocInfos extends $tea.Model {
|
|
|
4702
5701
|
}
|
|
4703
5702
|
}
|
|
4704
5703
|
|
|
5704
|
+
export class CreateDialogResponseBodyData extends $tea.Model {
|
|
5705
|
+
openingRemarks?: string;
|
|
5706
|
+
/**
|
|
5707
|
+
* @example
|
|
5708
|
+
* 1728545917713234
|
|
5709
|
+
*/
|
|
5710
|
+
sessionId?: string;
|
|
5711
|
+
static names(): { [key: string]: string } {
|
|
5712
|
+
return {
|
|
5713
|
+
openingRemarks: 'openingRemarks',
|
|
5714
|
+
sessionId: 'sessionId',
|
|
5715
|
+
};
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
static types(): { [key: string]: any } {
|
|
5719
|
+
return {
|
|
5720
|
+
openingRemarks: 'string',
|
|
5721
|
+
sessionId: 'string',
|
|
5722
|
+
};
|
|
5723
|
+
}
|
|
5724
|
+
|
|
5725
|
+
constructor(map?: { [key: string]: any }) {
|
|
5726
|
+
super(map);
|
|
5727
|
+
}
|
|
5728
|
+
}
|
|
5729
|
+
|
|
4705
5730
|
export class CreateDocsSummaryTaskRequestDocInfos extends $tea.Model {
|
|
4706
5731
|
/**
|
|
4707
5732
|
* @remarks
|
|
@@ -5314,6 +6339,68 @@ export class CreateQualityCheckTaskResponseBodyData extends $tea.Model {
|
|
|
5314
6339
|
}
|
|
5315
6340
|
}
|
|
5316
6341
|
|
|
6342
|
+
export class GenDocQaResultResponseBodyDataParseQaResults extends $tea.Model {
|
|
6343
|
+
answer?: string;
|
|
6344
|
+
question?: string;
|
|
6345
|
+
static names(): { [key: string]: string } {
|
|
6346
|
+
return {
|
|
6347
|
+
answer: 'answer',
|
|
6348
|
+
question: 'question',
|
|
6349
|
+
};
|
|
6350
|
+
}
|
|
6351
|
+
|
|
6352
|
+
static types(): { [key: string]: any } {
|
|
6353
|
+
return {
|
|
6354
|
+
answer: 'string',
|
|
6355
|
+
question: 'string',
|
|
6356
|
+
};
|
|
6357
|
+
}
|
|
6358
|
+
|
|
6359
|
+
constructor(map?: { [key: string]: any }) {
|
|
6360
|
+
super(map);
|
|
6361
|
+
}
|
|
6362
|
+
}
|
|
6363
|
+
|
|
6364
|
+
export class GenDocQaResultResponseBodyData extends $tea.Model {
|
|
6365
|
+
/**
|
|
6366
|
+
* @example
|
|
6367
|
+
* PROCESSING
|
|
6368
|
+
*/
|
|
6369
|
+
currentStatus?: string;
|
|
6370
|
+
/**
|
|
6371
|
+
* @example
|
|
6372
|
+
* 873648346573245
|
|
6373
|
+
*/
|
|
6374
|
+
docId?: string;
|
|
6375
|
+
/**
|
|
6376
|
+
* @example
|
|
6377
|
+
* 7wxwrjpabj
|
|
6378
|
+
*/
|
|
6379
|
+
libraryId?: string;
|
|
6380
|
+
parseQaResults?: GenDocQaResultResponseBodyDataParseQaResults[];
|
|
6381
|
+
static names(): { [key: string]: string } {
|
|
6382
|
+
return {
|
|
6383
|
+
currentStatus: 'currentStatus',
|
|
6384
|
+
docId: 'docId',
|
|
6385
|
+
libraryId: 'libraryId',
|
|
6386
|
+
parseQaResults: 'parseQaResults',
|
|
6387
|
+
};
|
|
6388
|
+
}
|
|
6389
|
+
|
|
6390
|
+
static types(): { [key: string]: any } {
|
|
6391
|
+
return {
|
|
6392
|
+
currentStatus: 'string',
|
|
6393
|
+
docId: 'string',
|
|
6394
|
+
libraryId: 'string',
|
|
6395
|
+
parseQaResults: { 'type': 'array', 'itemType': GenDocQaResultResponseBodyDataParseQaResults },
|
|
6396
|
+
};
|
|
6397
|
+
}
|
|
6398
|
+
|
|
6399
|
+
constructor(map?: { [key: string]: any }) {
|
|
6400
|
+
super(map);
|
|
6401
|
+
}
|
|
6402
|
+
}
|
|
6403
|
+
|
|
5317
6404
|
export class GetAppConfigResponseBodyData extends $tea.Model {
|
|
5318
6405
|
embeddingTypeList?: { [key: string]: string }[];
|
|
5319
6406
|
frontendConfig?: { [key: string]: boolean };
|
|
@@ -5323,23 +6410,219 @@ export class GetAppConfigResponseBodyData extends $tea.Model {
|
|
|
5323
6410
|
vectorIndexCategoryList?: string[];
|
|
5324
6411
|
static names(): { [key: string]: string } {
|
|
5325
6412
|
return {
|
|
5326
|
-
embeddingTypeList: 'embeddingTypeList',
|
|
5327
|
-
frontendConfig: 'frontendConfig',
|
|
5328
|
-
libraryDocumentStatusList: 'libraryDocumentStatusList',
|
|
5329
|
-
llmHelperTypeList: 'llmHelperTypeList',
|
|
5330
|
-
textIndexCategoryList: 'textIndexCategoryList',
|
|
5331
|
-
vectorIndexCategoryList: 'vectorIndexCategoryList',
|
|
6413
|
+
embeddingTypeList: 'embeddingTypeList',
|
|
6414
|
+
frontendConfig: 'frontendConfig',
|
|
6415
|
+
libraryDocumentStatusList: 'libraryDocumentStatusList',
|
|
6416
|
+
llmHelperTypeList: 'llmHelperTypeList',
|
|
6417
|
+
textIndexCategoryList: 'textIndexCategoryList',
|
|
6418
|
+
vectorIndexCategoryList: 'vectorIndexCategoryList',
|
|
6419
|
+
};
|
|
6420
|
+
}
|
|
6421
|
+
|
|
6422
|
+
static types(): { [key: string]: any } {
|
|
6423
|
+
return {
|
|
6424
|
+
embeddingTypeList: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
6425
|
+
frontendConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'boolean' },
|
|
6426
|
+
libraryDocumentStatusList: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
6427
|
+
llmHelperTypeList: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
6428
|
+
textIndexCategoryList: { 'type': 'array', 'itemType': 'string' },
|
|
6429
|
+
vectorIndexCategoryList: { 'type': 'array', 'itemType': 'string' },
|
|
6430
|
+
};
|
|
6431
|
+
}
|
|
6432
|
+
|
|
6433
|
+
constructor(map?: { [key: string]: any }) {
|
|
6434
|
+
super(map);
|
|
6435
|
+
}
|
|
6436
|
+
}
|
|
6437
|
+
|
|
6438
|
+
export class GetChatQuestionRespResponseBodyDataQuestionList extends $tea.Model {
|
|
6439
|
+
content?: string;
|
|
6440
|
+
/**
|
|
6441
|
+
* @example
|
|
6442
|
+
* 2024-11-17 10:05:00
|
|
6443
|
+
*/
|
|
6444
|
+
gmtCreate?: string;
|
|
6445
|
+
reply?: string;
|
|
6446
|
+
/**
|
|
6447
|
+
* @example
|
|
6448
|
+
* 1732846760323001
|
|
6449
|
+
*/
|
|
6450
|
+
sessionId?: string;
|
|
6451
|
+
/**
|
|
6452
|
+
* @example
|
|
6453
|
+
* PRODUCT_QA
|
|
6454
|
+
*/
|
|
6455
|
+
type?: string;
|
|
6456
|
+
/**
|
|
6457
|
+
* @example
|
|
6458
|
+
* 39847834568436
|
|
6459
|
+
*/
|
|
6460
|
+
userId?: string;
|
|
6461
|
+
userName?: string;
|
|
6462
|
+
static names(): { [key: string]: string } {
|
|
6463
|
+
return {
|
|
6464
|
+
content: 'content',
|
|
6465
|
+
gmtCreate: 'gmtCreate',
|
|
6466
|
+
reply: 'reply',
|
|
6467
|
+
sessionId: 'sessionId',
|
|
6468
|
+
type: 'type',
|
|
6469
|
+
userId: 'userId',
|
|
6470
|
+
userName: 'userName',
|
|
6471
|
+
};
|
|
6472
|
+
}
|
|
6473
|
+
|
|
6474
|
+
static types(): { [key: string]: any } {
|
|
6475
|
+
return {
|
|
6476
|
+
content: 'string',
|
|
6477
|
+
gmtCreate: 'string',
|
|
6478
|
+
reply: 'string',
|
|
6479
|
+
sessionId: 'string',
|
|
6480
|
+
type: 'string',
|
|
6481
|
+
userId: 'string',
|
|
6482
|
+
userName: 'string',
|
|
6483
|
+
};
|
|
6484
|
+
}
|
|
6485
|
+
|
|
6486
|
+
constructor(map?: { [key: string]: any }) {
|
|
6487
|
+
super(map);
|
|
6488
|
+
}
|
|
6489
|
+
}
|
|
6490
|
+
|
|
6491
|
+
export class GetChatQuestionRespResponseBodyData extends $tea.Model {
|
|
6492
|
+
/**
|
|
6493
|
+
* @example
|
|
6494
|
+
* PROCESSING
|
|
6495
|
+
*/
|
|
6496
|
+
currentState?: string;
|
|
6497
|
+
questionList?: GetChatQuestionRespResponseBodyDataQuestionList[];
|
|
6498
|
+
static names(): { [key: string]: string } {
|
|
6499
|
+
return {
|
|
6500
|
+
currentState: 'currentState',
|
|
6501
|
+
questionList: 'questionList',
|
|
6502
|
+
};
|
|
6503
|
+
}
|
|
6504
|
+
|
|
6505
|
+
static types(): { [key: string]: any } {
|
|
6506
|
+
return {
|
|
6507
|
+
currentState: 'string',
|
|
6508
|
+
questionList: { 'type': 'array', 'itemType': GetChatQuestionRespResponseBodyDataQuestionList },
|
|
6509
|
+
};
|
|
6510
|
+
}
|
|
6511
|
+
|
|
6512
|
+
constructor(map?: { [key: string]: any }) {
|
|
6513
|
+
super(map);
|
|
6514
|
+
}
|
|
6515
|
+
}
|
|
6516
|
+
|
|
6517
|
+
export class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels extends $tea.Model {
|
|
6518
|
+
name?: string;
|
|
6519
|
+
/**
|
|
6520
|
+
* @example
|
|
6521
|
+
* 0
|
|
6522
|
+
*/
|
|
6523
|
+
value?: string;
|
|
6524
|
+
static names(): { [key: string]: string } {
|
|
6525
|
+
return {
|
|
6526
|
+
name: 'name',
|
|
6527
|
+
value: 'value',
|
|
6528
|
+
};
|
|
6529
|
+
}
|
|
6530
|
+
|
|
6531
|
+
static types(): { [key: string]: any } {
|
|
6532
|
+
return {
|
|
6533
|
+
name: 'string',
|
|
6534
|
+
value: 'string',
|
|
6535
|
+
};
|
|
6536
|
+
}
|
|
6537
|
+
|
|
6538
|
+
constructor(map?: { [key: string]: any }) {
|
|
6539
|
+
super(map);
|
|
6540
|
+
}
|
|
6541
|
+
}
|
|
6542
|
+
|
|
6543
|
+
export class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp extends $tea.Model {
|
|
6544
|
+
dialogExecPlan?: string;
|
|
6545
|
+
dialogLabels?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels[];
|
|
6546
|
+
dialogSummary?: string;
|
|
6547
|
+
static names(): { [key: string]: string } {
|
|
6548
|
+
return {
|
|
6549
|
+
dialogExecPlan: 'dialogExecPlan',
|
|
6550
|
+
dialogLabels: 'dialogLabels',
|
|
6551
|
+
dialogSummary: 'dialogSummary',
|
|
6552
|
+
};
|
|
6553
|
+
}
|
|
6554
|
+
|
|
6555
|
+
static types(): { [key: string]: any } {
|
|
6556
|
+
return {
|
|
6557
|
+
dialogExecPlan: 'string',
|
|
6558
|
+
dialogLabels: { 'type': 'array', 'itemType': GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels },
|
|
6559
|
+
dialogSummary: 'string',
|
|
6560
|
+
};
|
|
6561
|
+
}
|
|
6562
|
+
|
|
6563
|
+
constructor(map?: { [key: string]: any }) {
|
|
6564
|
+
super(map);
|
|
6565
|
+
}
|
|
6566
|
+
}
|
|
6567
|
+
|
|
6568
|
+
export class GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList extends $tea.Model {
|
|
6569
|
+
analysisResp?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp;
|
|
6570
|
+
/**
|
|
6571
|
+
* @example
|
|
6572
|
+
* 2024-04-24 11:54:34
|
|
6573
|
+
*/
|
|
6574
|
+
gmtCreate?: string;
|
|
6575
|
+
/**
|
|
6576
|
+
* @example
|
|
6577
|
+
* https://xxx.oss-cn-beijing.aliyuncs.com/dialog-analysis/2024-12-30/2/1826661605606129665
|
|
6578
|
+
*/
|
|
6579
|
+
ossUrl?: string;
|
|
6580
|
+
/**
|
|
6581
|
+
* @example
|
|
6582
|
+
* 183764873624
|
|
6583
|
+
*/
|
|
6584
|
+
sessionId?: string;
|
|
6585
|
+
/**
|
|
6586
|
+
* @example
|
|
6587
|
+
* running
|
|
6588
|
+
*/
|
|
6589
|
+
status?: string;
|
|
6590
|
+
static names(): { [key: string]: string } {
|
|
6591
|
+
return {
|
|
6592
|
+
analysisResp: 'analysisResp',
|
|
6593
|
+
gmtCreate: 'gmtCreate',
|
|
6594
|
+
ossUrl: 'ossUrl',
|
|
6595
|
+
sessionId: 'sessionId',
|
|
6596
|
+
status: 'status',
|
|
6597
|
+
};
|
|
6598
|
+
}
|
|
6599
|
+
|
|
6600
|
+
static types(): { [key: string]: any } {
|
|
6601
|
+
return {
|
|
6602
|
+
analysisResp: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespListAnalysisResp,
|
|
6603
|
+
gmtCreate: 'string',
|
|
6604
|
+
ossUrl: 'string',
|
|
6605
|
+
sessionId: 'string',
|
|
6606
|
+
status: 'string',
|
|
6607
|
+
};
|
|
6608
|
+
}
|
|
6609
|
+
|
|
6610
|
+
constructor(map?: { [key: string]: any }) {
|
|
6611
|
+
super(map);
|
|
6612
|
+
}
|
|
6613
|
+
}
|
|
6614
|
+
|
|
6615
|
+
export class GetDialogAnalysisResultResponseBodyData extends $tea.Model {
|
|
6616
|
+
dialogAnalysisRespList?: GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList[];
|
|
6617
|
+
static names(): { [key: string]: string } {
|
|
6618
|
+
return {
|
|
6619
|
+
dialogAnalysisRespList: 'dialogAnalysisRespList',
|
|
5332
6620
|
};
|
|
5333
6621
|
}
|
|
5334
6622
|
|
|
5335
6623
|
static types(): { [key: string]: any } {
|
|
5336
6624
|
return {
|
|
5337
|
-
|
|
5338
|
-
frontendConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'boolean' },
|
|
5339
|
-
libraryDocumentStatusList: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
5340
|
-
llmHelperTypeList: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
5341
|
-
textIndexCategoryList: { 'type': 'array', 'itemType': 'string' },
|
|
5342
|
-
vectorIndexCategoryList: { 'type': 'array', 'itemType': 'string' },
|
|
6625
|
+
dialogAnalysisRespList: { 'type': 'array', 'itemType': GetDialogAnalysisResultResponseBodyDataDialogAnalysisRespList },
|
|
5343
6626
|
};
|
|
5344
6627
|
}
|
|
5345
6628
|
|
|
@@ -7373,62 +8656,341 @@ export class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Model {
|
|
|
7373
8656
|
}
|
|
7374
8657
|
}
|
|
7375
8658
|
|
|
7376
|
-
export class GetSummaryTaskResultResponseBodyData extends $tea.Model {
|
|
7377
|
-
choices?: GetSummaryTaskResultResponseBodyDataChoices[];
|
|
8659
|
+
export class GetSummaryTaskResultResponseBodyData extends $tea.Model {
|
|
8660
|
+
choices?: GetSummaryTaskResultResponseBodyDataChoices[];
|
|
8661
|
+
/**
|
|
8662
|
+
* @example
|
|
8663
|
+
* 1726285125915
|
|
8664
|
+
*/
|
|
8665
|
+
created?: number;
|
|
8666
|
+
/**
|
|
8667
|
+
* @example
|
|
8668
|
+
* 1202
|
|
8669
|
+
*/
|
|
8670
|
+
id?: string;
|
|
8671
|
+
/**
|
|
8672
|
+
* @example
|
|
8673
|
+
* qwen-max
|
|
8674
|
+
*/
|
|
8675
|
+
modelId?: string;
|
|
8676
|
+
/**
|
|
8677
|
+
* @example
|
|
8678
|
+
* 0bc13a9517168617617186457e401f
|
|
8679
|
+
*/
|
|
8680
|
+
requestId?: string;
|
|
8681
|
+
/**
|
|
8682
|
+
* @example
|
|
8683
|
+
* 2024-04-24 11:54:34
|
|
8684
|
+
*/
|
|
8685
|
+
time?: string;
|
|
8686
|
+
/**
|
|
8687
|
+
* @example
|
|
8688
|
+
* 300
|
|
8689
|
+
*/
|
|
8690
|
+
totalTokens?: number;
|
|
8691
|
+
usage?: GetSummaryTaskResultResponseBodyDataUsage;
|
|
8692
|
+
static names(): { [key: string]: string } {
|
|
8693
|
+
return {
|
|
8694
|
+
choices: 'choices',
|
|
8695
|
+
created: 'created',
|
|
8696
|
+
id: 'id',
|
|
8697
|
+
modelId: 'modelId',
|
|
8698
|
+
requestId: 'requestId',
|
|
8699
|
+
time: 'time',
|
|
8700
|
+
totalTokens: 'totalTokens',
|
|
8701
|
+
usage: 'usage',
|
|
8702
|
+
};
|
|
8703
|
+
}
|
|
8704
|
+
|
|
8705
|
+
static types(): { [key: string]: any } {
|
|
8706
|
+
return {
|
|
8707
|
+
choices: { 'type': 'array', 'itemType': GetSummaryTaskResultResponseBodyDataChoices },
|
|
8708
|
+
created: 'number',
|
|
8709
|
+
id: 'string',
|
|
8710
|
+
modelId: 'string',
|
|
8711
|
+
requestId: 'string',
|
|
8712
|
+
time: 'string',
|
|
8713
|
+
totalTokens: 'number',
|
|
8714
|
+
usage: GetSummaryTaskResultResponseBodyDataUsage,
|
|
8715
|
+
};
|
|
8716
|
+
}
|
|
8717
|
+
|
|
8718
|
+
constructor(map?: { [key: string]: any }) {
|
|
8719
|
+
super(map);
|
|
8720
|
+
}
|
|
8721
|
+
}
|
|
8722
|
+
|
|
8723
|
+
export class PreviewDocumentResponseBodyData extends $tea.Model {
|
|
8724
|
+
/**
|
|
8725
|
+
* @example
|
|
8726
|
+
* pdf
|
|
8727
|
+
*/
|
|
8728
|
+
previewType?: string;
|
|
8729
|
+
/**
|
|
8730
|
+
* @example
|
|
8731
|
+
* test
|
|
8732
|
+
*/
|
|
8733
|
+
title?: string;
|
|
8734
|
+
/**
|
|
8735
|
+
* @example
|
|
8736
|
+
* 2024-01-01 00:00:00
|
|
8737
|
+
*/
|
|
8738
|
+
uploadTime?: string;
|
|
8739
|
+
/**
|
|
8740
|
+
* @example
|
|
8741
|
+
* https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png
|
|
8742
|
+
*/
|
|
8743
|
+
url?: string;
|
|
8744
|
+
static names(): { [key: string]: string } {
|
|
8745
|
+
return {
|
|
8746
|
+
previewType: 'previewType',
|
|
8747
|
+
title: 'title',
|
|
8748
|
+
uploadTime: 'uploadTime',
|
|
8749
|
+
url: 'url',
|
|
8750
|
+
};
|
|
8751
|
+
}
|
|
8752
|
+
|
|
8753
|
+
static types(): { [key: string]: any } {
|
|
8754
|
+
return {
|
|
8755
|
+
previewType: 'string',
|
|
8756
|
+
title: 'string',
|
|
8757
|
+
uploadTime: 'string',
|
|
8758
|
+
url: 'string',
|
|
8759
|
+
};
|
|
8760
|
+
}
|
|
8761
|
+
|
|
8762
|
+
constructor(map?: { [key: string]: any }) {
|
|
8763
|
+
super(map);
|
|
8764
|
+
}
|
|
8765
|
+
}
|
|
8766
|
+
|
|
8767
|
+
export class RealTimeDialogRequestConversationModel extends $tea.Model {
|
|
8768
|
+
/**
|
|
8769
|
+
* @example
|
|
8770
|
+
* 5
|
|
8771
|
+
*/
|
|
8772
|
+
begin?: number;
|
|
8773
|
+
/**
|
|
8774
|
+
* @example
|
|
8775
|
+
* 2024-11-08 09:51:16
|
|
8776
|
+
*/
|
|
8777
|
+
beginTime?: string;
|
|
8778
|
+
/**
|
|
8779
|
+
* @remarks
|
|
8780
|
+
* This parameter is required.
|
|
8781
|
+
*/
|
|
8782
|
+
content?: string;
|
|
8783
|
+
/**
|
|
8784
|
+
* @example
|
|
8785
|
+
* 98457834685635
|
|
8786
|
+
*/
|
|
8787
|
+
customerId?: string;
|
|
8788
|
+
/**
|
|
8789
|
+
* @example
|
|
8790
|
+
* 1374683645635
|
|
8791
|
+
*/
|
|
8792
|
+
customerServiceId?: string;
|
|
8793
|
+
/**
|
|
8794
|
+
* @example
|
|
8795
|
+
* 0
|
|
8796
|
+
*/
|
|
8797
|
+
customerServiceType?: string;
|
|
8798
|
+
/**
|
|
8799
|
+
* @example
|
|
8800
|
+
* 10
|
|
8801
|
+
*/
|
|
8802
|
+
end?: number;
|
|
8803
|
+
/**
|
|
8804
|
+
* @remarks
|
|
8805
|
+
* This parameter is required.
|
|
8806
|
+
*
|
|
8807
|
+
* @example
|
|
8808
|
+
* 0
|
|
8809
|
+
*/
|
|
8810
|
+
role?: number;
|
|
8811
|
+
/**
|
|
8812
|
+
* @remarks
|
|
8813
|
+
* This parameter is required.
|
|
8814
|
+
*
|
|
8815
|
+
* @example
|
|
8816
|
+
* audio
|
|
8817
|
+
*/
|
|
8818
|
+
type?: string;
|
|
8819
|
+
static names(): { [key: string]: string } {
|
|
8820
|
+
return {
|
|
8821
|
+
begin: 'begin',
|
|
8822
|
+
beginTime: 'beginTime',
|
|
8823
|
+
content: 'content',
|
|
8824
|
+
customerId: 'customerId',
|
|
8825
|
+
customerServiceId: 'customerServiceId',
|
|
8826
|
+
customerServiceType: 'customerServiceType',
|
|
8827
|
+
end: 'end',
|
|
8828
|
+
role: 'role',
|
|
8829
|
+
type: 'type',
|
|
8830
|
+
};
|
|
8831
|
+
}
|
|
8832
|
+
|
|
8833
|
+
static types(): { [key: string]: any } {
|
|
8834
|
+
return {
|
|
8835
|
+
begin: 'number',
|
|
8836
|
+
beginTime: 'string',
|
|
8837
|
+
content: 'string',
|
|
8838
|
+
customerId: 'string',
|
|
8839
|
+
customerServiceId: 'string',
|
|
8840
|
+
customerServiceType: 'string',
|
|
8841
|
+
end: 'number',
|
|
8842
|
+
role: 'number',
|
|
8843
|
+
type: 'string',
|
|
8844
|
+
};
|
|
8845
|
+
}
|
|
8846
|
+
|
|
8847
|
+
constructor(map?: { [key: string]: any }) {
|
|
8848
|
+
super(map);
|
|
8849
|
+
}
|
|
8850
|
+
}
|
|
8851
|
+
|
|
8852
|
+
export class RealTimeDialogResponseBodyChoicesDelta extends $tea.Model {
|
|
8853
|
+
/**
|
|
8854
|
+
* @example
|
|
8855
|
+
* null
|
|
8856
|
+
*/
|
|
8857
|
+
analysisProcess?: string;
|
|
8858
|
+
/**
|
|
8859
|
+
* @remarks
|
|
8860
|
+
* time
|
|
8861
|
+
*
|
|
8862
|
+
* @example
|
|
8863
|
+
* null
|
|
8864
|
+
*/
|
|
8865
|
+
callTime?: string;
|
|
8866
|
+
/**
|
|
8867
|
+
* @example
|
|
8868
|
+
* false
|
|
8869
|
+
*/
|
|
8870
|
+
hangUpDialog?: boolean;
|
|
8871
|
+
/**
|
|
8872
|
+
* @example
|
|
8873
|
+
* 1853360771162058752
|
|
8874
|
+
*/
|
|
8875
|
+
intentionCode?: string;
|
|
8876
|
+
intentionName?: string;
|
|
8877
|
+
intentionScript?: string;
|
|
8878
|
+
/**
|
|
8879
|
+
* @example
|
|
8880
|
+
* null
|
|
8881
|
+
*/
|
|
8882
|
+
recommendIntention?: string;
|
|
8883
|
+
/**
|
|
8884
|
+
* @example
|
|
8885
|
+
* null
|
|
8886
|
+
*/
|
|
8887
|
+
recommendScript?: string;
|
|
8888
|
+
selfDirectedScript?: string;
|
|
8889
|
+
selfDirectedScriptFullContent?: string;
|
|
8890
|
+
static names(): { [key: string]: string } {
|
|
8891
|
+
return {
|
|
8892
|
+
analysisProcess: 'analysisProcess',
|
|
8893
|
+
callTime: 'callTime',
|
|
8894
|
+
hangUpDialog: 'hangUpDialog',
|
|
8895
|
+
intentionCode: 'intentionCode',
|
|
8896
|
+
intentionName: 'intentionName',
|
|
8897
|
+
intentionScript: 'intentionScript',
|
|
8898
|
+
recommendIntention: 'recommendIntention',
|
|
8899
|
+
recommendScript: 'recommendScript',
|
|
8900
|
+
selfDirectedScript: 'selfDirectedScript',
|
|
8901
|
+
selfDirectedScriptFullContent: 'selfDirectedScriptFullContent',
|
|
8902
|
+
};
|
|
8903
|
+
}
|
|
8904
|
+
|
|
8905
|
+
static types(): { [key: string]: any } {
|
|
8906
|
+
return {
|
|
8907
|
+
analysisProcess: 'string',
|
|
8908
|
+
callTime: 'string',
|
|
8909
|
+
hangUpDialog: 'boolean',
|
|
8910
|
+
intentionCode: 'string',
|
|
8911
|
+
intentionName: 'string',
|
|
8912
|
+
intentionScript: 'string',
|
|
8913
|
+
recommendIntention: 'string',
|
|
8914
|
+
recommendScript: 'string',
|
|
8915
|
+
selfDirectedScript: 'string',
|
|
8916
|
+
selfDirectedScriptFullContent: 'string',
|
|
8917
|
+
};
|
|
8918
|
+
}
|
|
8919
|
+
|
|
8920
|
+
constructor(map?: { [key: string]: any }) {
|
|
8921
|
+
super(map);
|
|
8922
|
+
}
|
|
8923
|
+
}
|
|
8924
|
+
|
|
8925
|
+
export class RealTimeDialogResponseBodyChoicesMessage extends $tea.Model {
|
|
7378
8926
|
/**
|
|
7379
8927
|
* @example
|
|
7380
|
-
*
|
|
8928
|
+
* null
|
|
7381
8929
|
*/
|
|
7382
|
-
|
|
8930
|
+
analysisProcess?: string;
|
|
7383
8931
|
/**
|
|
8932
|
+
* @remarks
|
|
8933
|
+
* time
|
|
8934
|
+
*
|
|
7384
8935
|
* @example
|
|
7385
|
-
*
|
|
8936
|
+
* 1735139569523
|
|
7386
8937
|
*/
|
|
7387
|
-
|
|
8938
|
+
callTime?: string;
|
|
7388
8939
|
/**
|
|
7389
8940
|
* @example
|
|
7390
|
-
*
|
|
8941
|
+
* false
|
|
7391
8942
|
*/
|
|
7392
|
-
|
|
8943
|
+
hangUpDialog?: boolean;
|
|
7393
8944
|
/**
|
|
7394
8945
|
* @example
|
|
7395
|
-
*
|
|
8946
|
+
* 1853360771162058752
|
|
7396
8947
|
*/
|
|
7397
|
-
|
|
8948
|
+
intentionCode?: string;
|
|
8949
|
+
intentionName?: string;
|
|
8950
|
+
intentionScript?: string;
|
|
7398
8951
|
/**
|
|
7399
8952
|
* @example
|
|
7400
|
-
*
|
|
8953
|
+
* null
|
|
7401
8954
|
*/
|
|
7402
|
-
|
|
8955
|
+
recommendIntention?: string;
|
|
7403
8956
|
/**
|
|
7404
8957
|
* @example
|
|
7405
|
-
*
|
|
8958
|
+
* null
|
|
7406
8959
|
*/
|
|
7407
|
-
|
|
7408
|
-
|
|
8960
|
+
recommendScript?: string;
|
|
8961
|
+
/**
|
|
8962
|
+
* @example
|
|
8963
|
+
* null
|
|
8964
|
+
*/
|
|
8965
|
+
selfDirectedScript?: string;
|
|
8966
|
+
selfDirectedScriptFullContent?: string;
|
|
7409
8967
|
static names(): { [key: string]: string } {
|
|
7410
8968
|
return {
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
8969
|
+
analysisProcess: 'analysisProcess',
|
|
8970
|
+
callTime: 'callTime',
|
|
8971
|
+
hangUpDialog: 'hangUpDialog',
|
|
8972
|
+
intentionCode: 'intentionCode',
|
|
8973
|
+
intentionName: 'intentionName',
|
|
8974
|
+
intentionScript: 'intentionScript',
|
|
8975
|
+
recommendIntention: 'recommendIntention',
|
|
8976
|
+
recommendScript: 'recommendScript',
|
|
8977
|
+
selfDirectedScript: 'selfDirectedScript',
|
|
8978
|
+
selfDirectedScriptFullContent: 'selfDirectedScriptFullContent',
|
|
7419
8979
|
};
|
|
7420
8980
|
}
|
|
7421
8981
|
|
|
7422
8982
|
static types(): { [key: string]: any } {
|
|
7423
8983
|
return {
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
8984
|
+
analysisProcess: 'string',
|
|
8985
|
+
callTime: 'string',
|
|
8986
|
+
hangUpDialog: 'boolean',
|
|
8987
|
+
intentionCode: 'string',
|
|
8988
|
+
intentionName: 'string',
|
|
8989
|
+
intentionScript: 'string',
|
|
8990
|
+
recommendIntention: 'string',
|
|
8991
|
+
recommendScript: 'string',
|
|
8992
|
+
selfDirectedScript: 'string',
|
|
8993
|
+
selfDirectedScriptFullContent: 'string',
|
|
7432
8994
|
};
|
|
7433
8995
|
}
|
|
7434
8996
|
|
|
@@ -7437,42 +8999,34 @@ export class GetSummaryTaskResultResponseBodyData extends $tea.Model {
|
|
|
7437
8999
|
}
|
|
7438
9000
|
}
|
|
7439
9001
|
|
|
7440
|
-
export class
|
|
7441
|
-
|
|
7442
|
-
* @example
|
|
7443
|
-
* pdf
|
|
7444
|
-
*/
|
|
7445
|
-
previewType?: string;
|
|
7446
|
-
/**
|
|
7447
|
-
* @example
|
|
7448
|
-
* test
|
|
7449
|
-
*/
|
|
7450
|
-
title?: string;
|
|
9002
|
+
export class RealTimeDialogResponseBodyChoices extends $tea.Model {
|
|
9003
|
+
delta?: RealTimeDialogResponseBodyChoicesDelta;
|
|
7451
9004
|
/**
|
|
7452
9005
|
* @example
|
|
7453
|
-
*
|
|
9006
|
+
* stop
|
|
7454
9007
|
*/
|
|
7455
|
-
|
|
9008
|
+
finishReason?: string;
|
|
7456
9009
|
/**
|
|
7457
9010
|
* @example
|
|
7458
|
-
*
|
|
9011
|
+
* 0
|
|
7459
9012
|
*/
|
|
7460
|
-
|
|
9013
|
+
index?: number;
|
|
9014
|
+
message?: RealTimeDialogResponseBodyChoicesMessage;
|
|
7461
9015
|
static names(): { [key: string]: string } {
|
|
7462
9016
|
return {
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
9017
|
+
delta: 'delta',
|
|
9018
|
+
finishReason: 'finishReason',
|
|
9019
|
+
index: 'index',
|
|
9020
|
+
message: 'message',
|
|
7467
9021
|
};
|
|
7468
9022
|
}
|
|
7469
9023
|
|
|
7470
9024
|
static types(): { [key: string]: any } {
|
|
7471
9025
|
return {
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
9026
|
+
delta: RealTimeDialogResponseBodyChoicesDelta,
|
|
9027
|
+
finishReason: 'string',
|
|
9028
|
+
index: 'number',
|
|
9029
|
+
message: RealTimeDialogResponseBodyChoicesMessage,
|
|
7476
9030
|
};
|
|
7477
9031
|
}
|
|
7478
9032
|
|
|
@@ -8781,6 +10335,99 @@ export class RunLibraryChatGenerationRequestVectorSearchParameter extends $tea.M
|
|
|
8781
10335
|
}
|
|
8782
10336
|
}
|
|
8783
10337
|
|
|
10338
|
+
export class SubmitChatQuestionRequestQuestionList extends $tea.Model {
|
|
10339
|
+
/**
|
|
10340
|
+
* @remarks
|
|
10341
|
+
* This parameter is required.
|
|
10342
|
+
*/
|
|
10343
|
+
content?: string;
|
|
10344
|
+
/**
|
|
10345
|
+
* @remarks
|
|
10346
|
+
* This parameter is required.
|
|
10347
|
+
*
|
|
10348
|
+
* @example
|
|
10349
|
+
* 2024-11-17 10:05:00
|
|
10350
|
+
*/
|
|
10351
|
+
gmtCreate?: string;
|
|
10352
|
+
reply?: string;
|
|
10353
|
+
/**
|
|
10354
|
+
* @remarks
|
|
10355
|
+
* This parameter is required.
|
|
10356
|
+
*
|
|
10357
|
+
* @example
|
|
10358
|
+
* 1869300950603128834
|
|
10359
|
+
*/
|
|
10360
|
+
sessionId?: string;
|
|
10361
|
+
/**
|
|
10362
|
+
* @example
|
|
10363
|
+
* PRODUCT_QA
|
|
10364
|
+
*/
|
|
10365
|
+
type?: string;
|
|
10366
|
+
/**
|
|
10367
|
+
* @remarks
|
|
10368
|
+
* This parameter is required.
|
|
10369
|
+
*
|
|
10370
|
+
* @example
|
|
10371
|
+
* 39485783475638465
|
|
10372
|
+
*/
|
|
10373
|
+
userId?: string;
|
|
10374
|
+
/**
|
|
10375
|
+
* @remarks
|
|
10376
|
+
* This parameter is required.
|
|
10377
|
+
*/
|
|
10378
|
+
userName?: string;
|
|
10379
|
+
static names(): { [key: string]: string } {
|
|
10380
|
+
return {
|
|
10381
|
+
content: 'content',
|
|
10382
|
+
gmtCreate: 'gmtCreate',
|
|
10383
|
+
reply: 'reply',
|
|
10384
|
+
sessionId: 'sessionId',
|
|
10385
|
+
type: 'type',
|
|
10386
|
+
userId: 'userId',
|
|
10387
|
+
userName: 'userName',
|
|
10388
|
+
};
|
|
10389
|
+
}
|
|
10390
|
+
|
|
10391
|
+
static types(): { [key: string]: any } {
|
|
10392
|
+
return {
|
|
10393
|
+
content: 'string',
|
|
10394
|
+
gmtCreate: 'string',
|
|
10395
|
+
reply: 'string',
|
|
10396
|
+
sessionId: 'string',
|
|
10397
|
+
type: 'string',
|
|
10398
|
+
userId: 'string',
|
|
10399
|
+
userName: 'string',
|
|
10400
|
+
};
|
|
10401
|
+
}
|
|
10402
|
+
|
|
10403
|
+
constructor(map?: { [key: string]: any }) {
|
|
10404
|
+
super(map);
|
|
10405
|
+
}
|
|
10406
|
+
}
|
|
10407
|
+
|
|
10408
|
+
export class SubmitChatQuestionResponseBodyData extends $tea.Model {
|
|
10409
|
+
/**
|
|
10410
|
+
* @example
|
|
10411
|
+
* 1869307330227937280
|
|
10412
|
+
*/
|
|
10413
|
+
batchId?: string;
|
|
10414
|
+
static names(): { [key: string]: string } {
|
|
10415
|
+
return {
|
|
10416
|
+
batchId: 'batchId',
|
|
10417
|
+
};
|
|
10418
|
+
}
|
|
10419
|
+
|
|
10420
|
+
static types(): { [key: string]: any } {
|
|
10421
|
+
return {
|
|
10422
|
+
batchId: 'string',
|
|
10423
|
+
};
|
|
10424
|
+
}
|
|
10425
|
+
|
|
10426
|
+
constructor(map?: { [key: string]: any }) {
|
|
10427
|
+
super(map);
|
|
10428
|
+
}
|
|
10429
|
+
}
|
|
10430
|
+
|
|
8784
10431
|
export class UpdateLibraryRequestIndexSettingChunkStrategy extends $tea.Model {
|
|
8785
10432
|
/**
|
|
8786
10433
|
* @example
|
|
@@ -9134,6 +10781,59 @@ export class UpdateLibraryRequestIndexSetting extends $tea.Model {
|
|
|
9134
10781
|
}
|
|
9135
10782
|
}
|
|
9136
10783
|
|
|
10784
|
+
export class UpdateQaLibraryRequestParseQaResults extends $tea.Model {
|
|
10785
|
+
/**
|
|
10786
|
+
* @remarks
|
|
10787
|
+
* This parameter is required.
|
|
10788
|
+
*/
|
|
10789
|
+
answer?: string;
|
|
10790
|
+
/**
|
|
10791
|
+
* @remarks
|
|
10792
|
+
* This parameter is required.
|
|
10793
|
+
*/
|
|
10794
|
+
question?: string;
|
|
10795
|
+
static names(): { [key: string]: string } {
|
|
10796
|
+
return {
|
|
10797
|
+
answer: 'answer',
|
|
10798
|
+
question: 'question',
|
|
10799
|
+
};
|
|
10800
|
+
}
|
|
10801
|
+
|
|
10802
|
+
static types(): { [key: string]: any } {
|
|
10803
|
+
return {
|
|
10804
|
+
answer: 'string',
|
|
10805
|
+
question: 'string',
|
|
10806
|
+
};
|
|
10807
|
+
}
|
|
10808
|
+
|
|
10809
|
+
constructor(map?: { [key: string]: any }) {
|
|
10810
|
+
super(map);
|
|
10811
|
+
}
|
|
10812
|
+
}
|
|
10813
|
+
|
|
10814
|
+
export class UpdateQaLibraryResponseBodyData extends $tea.Model {
|
|
10815
|
+
/**
|
|
10816
|
+
* @example
|
|
10817
|
+
* 6jh378d
|
|
10818
|
+
*/
|
|
10819
|
+
qaLibraryId?: string;
|
|
10820
|
+
static names(): { [key: string]: string } {
|
|
10821
|
+
return {
|
|
10822
|
+
qaLibraryId: 'qaLibraryId',
|
|
10823
|
+
};
|
|
10824
|
+
}
|
|
10825
|
+
|
|
10826
|
+
static types(): { [key: string]: any } {
|
|
10827
|
+
return {
|
|
10828
|
+
qaLibraryId: 'string',
|
|
10829
|
+
};
|
|
10830
|
+
}
|
|
10831
|
+
|
|
10832
|
+
constructor(map?: { [key: string]: any }) {
|
|
10833
|
+
super(map);
|
|
10834
|
+
}
|
|
10835
|
+
}
|
|
10836
|
+
|
|
9137
10837
|
|
|
9138
10838
|
export default class Client extends OpenApi {
|
|
9139
10839
|
|
|
@@ -9218,6 +10918,75 @@ export default class Client extends OpenApi {
|
|
|
9218
10918
|
return await this.createAnnualDocSummaryTaskWithOptions(workspaceId, request, headers, runtime);
|
|
9219
10919
|
}
|
|
9220
10920
|
|
|
10921
|
+
/**
|
|
10922
|
+
* 创建外呼会话
|
|
10923
|
+
*
|
|
10924
|
+
* @param request - CreateDialogRequest
|
|
10925
|
+
* @param headers - map
|
|
10926
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10927
|
+
* @returns CreateDialogResponse
|
|
10928
|
+
*/
|
|
10929
|
+
async createDialogWithOptions(workspaceId: string, request: CreateDialogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateDialogResponse> {
|
|
10930
|
+
Util.validateModel(request);
|
|
10931
|
+
let body : {[key: string ]: any} = { };
|
|
10932
|
+
if (!Util.isUnset(request.channel)) {
|
|
10933
|
+
body["channel"] = request.channel;
|
|
10934
|
+
}
|
|
10935
|
+
|
|
10936
|
+
if (!Util.isUnset(request.enableLibrary)) {
|
|
10937
|
+
body["enableLibrary"] = request.enableLibrary;
|
|
10938
|
+
}
|
|
10939
|
+
|
|
10940
|
+
if (!Util.isUnset(request.metaData)) {
|
|
10941
|
+
body["metaData"] = request.metaData;
|
|
10942
|
+
}
|
|
10943
|
+
|
|
10944
|
+
if (!Util.isUnset(request.playCode)) {
|
|
10945
|
+
body["playCode"] = request.playCode;
|
|
10946
|
+
}
|
|
10947
|
+
|
|
10948
|
+
if (!Util.isUnset(request.qaLibraryList)) {
|
|
10949
|
+
body["qaLibraryList"] = request.qaLibraryList;
|
|
10950
|
+
}
|
|
10951
|
+
|
|
10952
|
+
if (!Util.isUnset(request.requestId)) {
|
|
10953
|
+
body["requestId"] = request.requestId;
|
|
10954
|
+
}
|
|
10955
|
+
|
|
10956
|
+
if (!Util.isUnset(request.selfDirected)) {
|
|
10957
|
+
body["selfDirected"] = request.selfDirected;
|
|
10958
|
+
}
|
|
10959
|
+
|
|
10960
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10961
|
+
headers: headers,
|
|
10962
|
+
body: OpenApiUtil.parseToMap(body),
|
|
10963
|
+
});
|
|
10964
|
+
let params = new $OpenApi.Params({
|
|
10965
|
+
action: "CreateDialog",
|
|
10966
|
+
version: "2024-06-28",
|
|
10967
|
+
protocol: "HTTPS",
|
|
10968
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/virtualHuman/dialog/create`,
|
|
10969
|
+
method: "POST",
|
|
10970
|
+
authType: "AK",
|
|
10971
|
+
style: "ROA",
|
|
10972
|
+
reqBodyType: "json",
|
|
10973
|
+
bodyType: "json",
|
|
10974
|
+
});
|
|
10975
|
+
return $tea.cast<CreateDialogResponse>(await this.callApi(params, req, runtime), new CreateDialogResponse({}));
|
|
10976
|
+
}
|
|
10977
|
+
|
|
10978
|
+
/**
|
|
10979
|
+
* 创建外呼会话
|
|
10980
|
+
*
|
|
10981
|
+
* @param request - CreateDialogRequest
|
|
10982
|
+
* @returns CreateDialogResponse
|
|
10983
|
+
*/
|
|
10984
|
+
async createDialog(workspaceId: string, request: CreateDialogRequest): Promise<CreateDialogResponse> {
|
|
10985
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10986
|
+
let headers : {[key: string ]: string} = { };
|
|
10987
|
+
return await this.createDialogWithOptions(workspaceId, request, headers, runtime);
|
|
10988
|
+
}
|
|
10989
|
+
|
|
9221
10990
|
/**
|
|
9222
10991
|
* 创建财报总结任务
|
|
9223
10992
|
*
|
|
@@ -9723,6 +11492,59 @@ export default class Client extends OpenApi {
|
|
|
9723
11492
|
return await this.evictTaskWithOptions(workspaceId, request, headers, runtime);
|
|
9724
11493
|
}
|
|
9725
11494
|
|
|
11495
|
+
/**
|
|
11496
|
+
* 根据文档解析问答QA
|
|
11497
|
+
*
|
|
11498
|
+
* @param request - GenDocQaResultRequest
|
|
11499
|
+
* @param headers - map
|
|
11500
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11501
|
+
* @returns GenDocQaResultResponse
|
|
11502
|
+
*/
|
|
11503
|
+
async genDocQaResultWithOptions(workspaceId: string, request: GenDocQaResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GenDocQaResultResponse> {
|
|
11504
|
+
Util.validateModel(request);
|
|
11505
|
+
let body : {[key: string ]: any} = { };
|
|
11506
|
+
if (!Util.isUnset(request.docId)) {
|
|
11507
|
+
body["docId"] = request.docId;
|
|
11508
|
+
}
|
|
11509
|
+
|
|
11510
|
+
if (!Util.isUnset(request.libraryId)) {
|
|
11511
|
+
body["libraryId"] = request.libraryId;
|
|
11512
|
+
}
|
|
11513
|
+
|
|
11514
|
+
if (!Util.isUnset(request.requestId)) {
|
|
11515
|
+
body["requestId"] = request.requestId;
|
|
11516
|
+
}
|
|
11517
|
+
|
|
11518
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11519
|
+
headers: headers,
|
|
11520
|
+
body: OpenApiUtil.parseToMap(body),
|
|
11521
|
+
});
|
|
11522
|
+
let params = new $OpenApi.Params({
|
|
11523
|
+
action: "GenDocQaResult",
|
|
11524
|
+
version: "2024-06-28",
|
|
11525
|
+
protocol: "HTTPS",
|
|
11526
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/virtualHuman/qa/parse`,
|
|
11527
|
+
method: "POST",
|
|
11528
|
+
authType: "AK",
|
|
11529
|
+
style: "ROA",
|
|
11530
|
+
reqBodyType: "json",
|
|
11531
|
+
bodyType: "json",
|
|
11532
|
+
});
|
|
11533
|
+
return $tea.cast<GenDocQaResultResponse>(await this.callApi(params, req, runtime), new GenDocQaResultResponse({}));
|
|
11534
|
+
}
|
|
11535
|
+
|
|
11536
|
+
/**
|
|
11537
|
+
* 根据文档解析问答QA
|
|
11538
|
+
*
|
|
11539
|
+
* @param request - GenDocQaResultRequest
|
|
11540
|
+
* @returns GenDocQaResultResponse
|
|
11541
|
+
*/
|
|
11542
|
+
async genDocQaResult(workspaceId: string, request: GenDocQaResultRequest): Promise<GenDocQaResultResponse> {
|
|
11543
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11544
|
+
let headers : {[key: string ]: string} = { };
|
|
11545
|
+
return await this.genDocQaResultWithOptions(workspaceId, request, headers, runtime);
|
|
11546
|
+
}
|
|
11547
|
+
|
|
9726
11548
|
/**
|
|
9727
11549
|
* 获取app配置
|
|
9728
11550
|
*
|
|
@@ -9758,6 +11580,116 @@ export default class Client extends OpenApi {
|
|
|
9758
11580
|
return await this.getAppConfigWithOptions(workspaceId, headers, runtime);
|
|
9759
11581
|
}
|
|
9760
11582
|
|
|
11583
|
+
/**
|
|
11584
|
+
* 获取问答结果
|
|
11585
|
+
*
|
|
11586
|
+
* @param request - GetChatQuestionRespRequest
|
|
11587
|
+
* @param headers - map
|
|
11588
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11589
|
+
* @returns GetChatQuestionRespResponse
|
|
11590
|
+
*/
|
|
11591
|
+
async getChatQuestionRespWithOptions(workspaceId: string, request: GetChatQuestionRespRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetChatQuestionRespResponse> {
|
|
11592
|
+
Util.validateModel(request);
|
|
11593
|
+
let body : {[key: string ]: any} = { };
|
|
11594
|
+
if (!Util.isUnset(request.batchId)) {
|
|
11595
|
+
body["batchId"] = request.batchId;
|
|
11596
|
+
}
|
|
11597
|
+
|
|
11598
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
11599
|
+
body["sessionId"] = request.sessionId;
|
|
11600
|
+
}
|
|
11601
|
+
|
|
11602
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11603
|
+
headers: headers,
|
|
11604
|
+
body: OpenApiUtil.parseToMap(body),
|
|
11605
|
+
});
|
|
11606
|
+
let params = new $OpenApi.Params({
|
|
11607
|
+
action: "GetChatQuestionResp",
|
|
11608
|
+
version: "2024-06-28",
|
|
11609
|
+
protocol: "HTTPS",
|
|
11610
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/virtualHuman/chat/query`,
|
|
11611
|
+
method: "POST",
|
|
11612
|
+
authType: "AK",
|
|
11613
|
+
style: "ROA",
|
|
11614
|
+
reqBodyType: "json",
|
|
11615
|
+
bodyType: "json",
|
|
11616
|
+
});
|
|
11617
|
+
return $tea.cast<GetChatQuestionRespResponse>(await this.callApi(params, req, runtime), new GetChatQuestionRespResponse({}));
|
|
11618
|
+
}
|
|
11619
|
+
|
|
11620
|
+
/**
|
|
11621
|
+
* 获取问答结果
|
|
11622
|
+
*
|
|
11623
|
+
* @param request - GetChatQuestionRespRequest
|
|
11624
|
+
* @returns GetChatQuestionRespResponse
|
|
11625
|
+
*/
|
|
11626
|
+
async getChatQuestionResp(workspaceId: string, request: GetChatQuestionRespRequest): Promise<GetChatQuestionRespResponse> {
|
|
11627
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11628
|
+
let headers : {[key: string ]: string} = { };
|
|
11629
|
+
return await this.getChatQuestionRespWithOptions(workspaceId, request, headers, runtime);
|
|
11630
|
+
}
|
|
11631
|
+
|
|
11632
|
+
/**
|
|
11633
|
+
* 获取外呼会话分析结果
|
|
11634
|
+
*
|
|
11635
|
+
* @param request - GetDialogAnalysisResultRequest
|
|
11636
|
+
* @param headers - map
|
|
11637
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11638
|
+
* @returns GetDialogAnalysisResultResponse
|
|
11639
|
+
*/
|
|
11640
|
+
async getDialogAnalysisResultWithOptions(workspaceId: string, request: GetDialogAnalysisResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetDialogAnalysisResultResponse> {
|
|
11641
|
+
Util.validateModel(request);
|
|
11642
|
+
let body : {[key: string ]: any} = { };
|
|
11643
|
+
if (!Util.isUnset(request.asc)) {
|
|
11644
|
+
body["asc"] = request.asc;
|
|
11645
|
+
}
|
|
11646
|
+
|
|
11647
|
+
if (!Util.isUnset(request.endTime)) {
|
|
11648
|
+
body["endTime"] = request.endTime;
|
|
11649
|
+
}
|
|
11650
|
+
|
|
11651
|
+
if (!Util.isUnset(request.sessionIds)) {
|
|
11652
|
+
body["sessionIds"] = request.sessionIds;
|
|
11653
|
+
}
|
|
11654
|
+
|
|
11655
|
+
if (!Util.isUnset(request.startTime)) {
|
|
11656
|
+
body["startTime"] = request.startTime;
|
|
11657
|
+
}
|
|
11658
|
+
|
|
11659
|
+
if (!Util.isUnset(request.useUrl)) {
|
|
11660
|
+
body["useUrl"] = request.useUrl;
|
|
11661
|
+
}
|
|
11662
|
+
|
|
11663
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11664
|
+
headers: headers,
|
|
11665
|
+
body: OpenApiUtil.parseToMap(body),
|
|
11666
|
+
});
|
|
11667
|
+
let params = new $OpenApi.Params({
|
|
11668
|
+
action: "GetDialogAnalysisResult",
|
|
11669
|
+
version: "2024-06-28",
|
|
11670
|
+
protocol: "HTTPS",
|
|
11671
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/virtualHuman/dialog/analysis`,
|
|
11672
|
+
method: "POST",
|
|
11673
|
+
authType: "AK",
|
|
11674
|
+
style: "ROA",
|
|
11675
|
+
reqBodyType: "json",
|
|
11676
|
+
bodyType: "json",
|
|
11677
|
+
});
|
|
11678
|
+
return $tea.cast<GetDialogAnalysisResultResponse>(await this.callApi(params, req, runtime), new GetDialogAnalysisResultResponse({}));
|
|
11679
|
+
}
|
|
11680
|
+
|
|
11681
|
+
/**
|
|
11682
|
+
* 获取外呼会话分析结果
|
|
11683
|
+
*
|
|
11684
|
+
* @param request - GetDialogAnalysisResultRequest
|
|
11685
|
+
* @returns GetDialogAnalysisResultResponse
|
|
11686
|
+
*/
|
|
11687
|
+
async getDialogAnalysisResult(workspaceId: string, request: GetDialogAnalysisResultRequest): Promise<GetDialogAnalysisResultResponse> {
|
|
11688
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11689
|
+
let headers : {[key: string ]: string} = { };
|
|
11690
|
+
return await this.getDialogAnalysisResultWithOptions(workspaceId, request, headers, runtime);
|
|
11691
|
+
}
|
|
11692
|
+
|
|
9761
11693
|
/**
|
|
9762
11694
|
* 获取文档的chunk列表
|
|
9763
11695
|
*
|
|
@@ -10529,6 +12461,79 @@ export default class Client extends OpenApi {
|
|
|
10529
12461
|
return await this.reIndexWithOptions(workspaceId, request, headers, runtime);
|
|
10530
12462
|
}
|
|
10531
12463
|
|
|
12464
|
+
/**
|
|
12465
|
+
* 实时对话
|
|
12466
|
+
*
|
|
12467
|
+
* @param request - RealTimeDialogRequest
|
|
12468
|
+
* @param headers - map
|
|
12469
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12470
|
+
* @returns RealTimeDialogResponse
|
|
12471
|
+
*/
|
|
12472
|
+
async realTimeDialogWithOptions(workspaceId: string, request: RealTimeDialogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RealTimeDialogResponse> {
|
|
12473
|
+
Util.validateModel(request);
|
|
12474
|
+
let body : {[key: string ]: any} = { };
|
|
12475
|
+
if (!Util.isUnset(request.analysis)) {
|
|
12476
|
+
body["analysis"] = request.analysis;
|
|
12477
|
+
}
|
|
12478
|
+
|
|
12479
|
+
if (!Util.isUnset(request.bizType)) {
|
|
12480
|
+
body["bizType"] = request.bizType;
|
|
12481
|
+
}
|
|
12482
|
+
|
|
12483
|
+
if (!Util.isUnset(request.conversationModel)) {
|
|
12484
|
+
body["conversationModel"] = request.conversationModel;
|
|
12485
|
+
}
|
|
12486
|
+
|
|
12487
|
+
if (!Util.isUnset(request.dialogMemoryTurns)) {
|
|
12488
|
+
body["dialogMemoryTurns"] = request.dialogMemoryTurns;
|
|
12489
|
+
}
|
|
12490
|
+
|
|
12491
|
+
if (!Util.isUnset(request.metaData)) {
|
|
12492
|
+
body["metaData"] = request.metaData;
|
|
12493
|
+
}
|
|
12494
|
+
|
|
12495
|
+
if (!Util.isUnset(request.recommend)) {
|
|
12496
|
+
body["recommend"] = request.recommend;
|
|
12497
|
+
}
|
|
12498
|
+
|
|
12499
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
12500
|
+
body["sessionId"] = request.sessionId;
|
|
12501
|
+
}
|
|
12502
|
+
|
|
12503
|
+
if (!Util.isUnset(request.stream)) {
|
|
12504
|
+
body["stream"] = request.stream;
|
|
12505
|
+
}
|
|
12506
|
+
|
|
12507
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12508
|
+
headers: headers,
|
|
12509
|
+
body: OpenApiUtil.parseToMap(body),
|
|
12510
|
+
});
|
|
12511
|
+
let params = new $OpenApi.Params({
|
|
12512
|
+
action: "RealTimeDialog",
|
|
12513
|
+
version: "2024-06-28",
|
|
12514
|
+
protocol: "HTTPS",
|
|
12515
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/realtime/dialog/chat`,
|
|
12516
|
+
method: "POST",
|
|
12517
|
+
authType: "AK",
|
|
12518
|
+
style: "ROA",
|
|
12519
|
+
reqBodyType: "json",
|
|
12520
|
+
bodyType: "json",
|
|
12521
|
+
});
|
|
12522
|
+
return $tea.cast<RealTimeDialogResponse>(await this.callApi(params, req, runtime), new RealTimeDialogResponse({}));
|
|
12523
|
+
}
|
|
12524
|
+
|
|
12525
|
+
/**
|
|
12526
|
+
* 实时对话
|
|
12527
|
+
*
|
|
12528
|
+
* @param request - RealTimeDialogRequest
|
|
12529
|
+
* @returns RealTimeDialogResponse
|
|
12530
|
+
*/
|
|
12531
|
+
async realTimeDialog(workspaceId: string, request: RealTimeDialogRequest): Promise<RealTimeDialogResponse> {
|
|
12532
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12533
|
+
let headers : {[key: string ]: string} = { };
|
|
12534
|
+
return await this.realTimeDialogWithOptions(workspaceId, request, headers, runtime);
|
|
12535
|
+
}
|
|
12536
|
+
|
|
10532
12537
|
/**
|
|
10533
12538
|
* 重建任务
|
|
10534
12539
|
*
|
|
@@ -10886,6 +12891,71 @@ export default class Client extends OpenApi {
|
|
|
10886
12891
|
return await this.runLibraryChatGenerationWithOptions(workspaceId, request, headers, runtime);
|
|
10887
12892
|
}
|
|
10888
12893
|
|
|
12894
|
+
/**
|
|
12895
|
+
* 提交问题列表
|
|
12896
|
+
*
|
|
12897
|
+
* @param request - SubmitChatQuestionRequest
|
|
12898
|
+
* @param headers - map
|
|
12899
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12900
|
+
* @returns SubmitChatQuestionResponse
|
|
12901
|
+
*/
|
|
12902
|
+
async submitChatQuestionWithOptions(workspaceId: string, request: SubmitChatQuestionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SubmitChatQuestionResponse> {
|
|
12903
|
+
Util.validateModel(request);
|
|
12904
|
+
let body : {[key: string ]: any} = { };
|
|
12905
|
+
if (!Util.isUnset(request.gmtService)) {
|
|
12906
|
+
body["gmtService"] = request.gmtService;
|
|
12907
|
+
}
|
|
12908
|
+
|
|
12909
|
+
if (!Util.isUnset(request.liveScriptContent)) {
|
|
12910
|
+
body["liveScriptContent"] = request.liveScriptContent;
|
|
12911
|
+
}
|
|
12912
|
+
|
|
12913
|
+
if (!Util.isUnset(request.openSmallTalk)) {
|
|
12914
|
+
body["openSmallTalk"] = request.openSmallTalk;
|
|
12915
|
+
}
|
|
12916
|
+
|
|
12917
|
+
if (!Util.isUnset(request.questionList)) {
|
|
12918
|
+
body["questionList"] = request.questionList;
|
|
12919
|
+
}
|
|
12920
|
+
|
|
12921
|
+
if (!Util.isUnset(request.requestId)) {
|
|
12922
|
+
body["requestId"] = request.requestId;
|
|
12923
|
+
}
|
|
12924
|
+
|
|
12925
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
12926
|
+
body["sessionId"] = request.sessionId;
|
|
12927
|
+
}
|
|
12928
|
+
|
|
12929
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12930
|
+
headers: headers,
|
|
12931
|
+
body: OpenApiUtil.parseToMap(body),
|
|
12932
|
+
});
|
|
12933
|
+
let params = new $OpenApi.Params({
|
|
12934
|
+
action: "SubmitChatQuestion",
|
|
12935
|
+
version: "2024-06-28",
|
|
12936
|
+
protocol: "HTTPS",
|
|
12937
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/virtualHuman/chat/submit`,
|
|
12938
|
+
method: "POST",
|
|
12939
|
+
authType: "AK",
|
|
12940
|
+
style: "ROA",
|
|
12941
|
+
reqBodyType: "json",
|
|
12942
|
+
bodyType: "json",
|
|
12943
|
+
});
|
|
12944
|
+
return $tea.cast<SubmitChatQuestionResponse>(await this.callApi(params, req, runtime), new SubmitChatQuestionResponse({}));
|
|
12945
|
+
}
|
|
12946
|
+
|
|
12947
|
+
/**
|
|
12948
|
+
* 提交问题列表
|
|
12949
|
+
*
|
|
12950
|
+
* @param request - SubmitChatQuestionRequest
|
|
12951
|
+
* @returns SubmitChatQuestionResponse
|
|
12952
|
+
*/
|
|
12953
|
+
async submitChatQuestion(workspaceId: string, request: SubmitChatQuestionRequest): Promise<SubmitChatQuestionResponse> {
|
|
12954
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12955
|
+
let headers : {[key: string ]: string} = { };
|
|
12956
|
+
return await this.submitChatQuestionWithOptions(workspaceId, request, headers, runtime);
|
|
12957
|
+
}
|
|
12958
|
+
|
|
10889
12959
|
/**
|
|
10890
12960
|
* 更新文档
|
|
10891
12961
|
*
|
|
@@ -11000,6 +13070,59 @@ export default class Client extends OpenApi {
|
|
|
11000
13070
|
return await this.updateLibraryWithOptions(workspaceId, request, headers, runtime);
|
|
11001
13071
|
}
|
|
11002
13072
|
|
|
13073
|
+
/**
|
|
13074
|
+
* 更新QA问答库
|
|
13075
|
+
*
|
|
13076
|
+
* @param request - UpdateQaLibraryRequest
|
|
13077
|
+
* @param headers - map
|
|
13078
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13079
|
+
* @returns UpdateQaLibraryResponse
|
|
13080
|
+
*/
|
|
13081
|
+
async updateQaLibraryWithOptions(workspaceId: string, request: UpdateQaLibraryRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateQaLibraryResponse> {
|
|
13082
|
+
Util.validateModel(request);
|
|
13083
|
+
let body : {[key: string ]: any} = { };
|
|
13084
|
+
if (!Util.isUnset(request.parseQaResults)) {
|
|
13085
|
+
body["parseQaResults"] = request.parseQaResults;
|
|
13086
|
+
}
|
|
13087
|
+
|
|
13088
|
+
if (!Util.isUnset(request.qaLibraryId)) {
|
|
13089
|
+
body["qaLibraryId"] = request.qaLibraryId;
|
|
13090
|
+
}
|
|
13091
|
+
|
|
13092
|
+
if (!Util.isUnset(request.requestId)) {
|
|
13093
|
+
body["requestId"] = request.requestId;
|
|
13094
|
+
}
|
|
13095
|
+
|
|
13096
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13097
|
+
headers: headers,
|
|
13098
|
+
body: OpenApiUtil.parseToMap(body),
|
|
13099
|
+
});
|
|
13100
|
+
let params = new $OpenApi.Params({
|
|
13101
|
+
action: "UpdateQaLibrary",
|
|
13102
|
+
version: "2024-06-28",
|
|
13103
|
+
protocol: "HTTPS",
|
|
13104
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/virtualHuman/qa/upload`,
|
|
13105
|
+
method: "POST",
|
|
13106
|
+
authType: "AK",
|
|
13107
|
+
style: "ROA",
|
|
13108
|
+
reqBodyType: "json",
|
|
13109
|
+
bodyType: "json",
|
|
13110
|
+
});
|
|
13111
|
+
return $tea.cast<UpdateQaLibraryResponse>(await this.callApi(params, req, runtime), new UpdateQaLibraryResponse({}));
|
|
13112
|
+
}
|
|
13113
|
+
|
|
13114
|
+
/**
|
|
13115
|
+
* 更新QA问答库
|
|
13116
|
+
*
|
|
13117
|
+
* @param request - UpdateQaLibraryRequest
|
|
13118
|
+
* @returns UpdateQaLibraryResponse
|
|
13119
|
+
*/
|
|
13120
|
+
async updateQaLibrary(workspaceId: string, request: UpdateQaLibraryRequest): Promise<UpdateQaLibraryResponse> {
|
|
13121
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13122
|
+
let headers : {[key: string ]: string} = { };
|
|
13123
|
+
return await this.updateQaLibraryWithOptions(workspaceId, request, headers, runtime);
|
|
13124
|
+
}
|
|
13125
|
+
|
|
11003
13126
|
/**
|
|
11004
13127
|
* 上传文档到文档库
|
|
11005
13128
|
*
|