@alicloud/dianjin20240628 1.1.1 → 1.2.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 +755 -24
- package/dist/client.js +808 -19
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1629 -390
package/dist/client.d.ts
CHANGED
|
@@ -4,6 +4,132 @@ import * as $Util from '@alicloud/tea-util';
|
|
|
4
4
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
5
5
|
import { Readable } from 'stream';
|
|
6
6
|
import * as $tea from '@alicloud/tea-typescript';
|
|
7
|
+
export declare class CreateFinReportSummaryTaskRequest extends $tea.Model {
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 123
|
|
14
|
+
*/
|
|
15
|
+
docId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* true
|
|
22
|
+
*/
|
|
23
|
+
enableTable?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 10
|
|
27
|
+
*/
|
|
28
|
+
endPage?: number;
|
|
29
|
+
instruction?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 3akzl28vap
|
|
36
|
+
*/
|
|
37
|
+
libraryId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* This parameter is required.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* qwen-max
|
|
44
|
+
*/
|
|
45
|
+
modelId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* 1
|
|
49
|
+
*/
|
|
50
|
+
startPage?: number;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* custom
|
|
54
|
+
*/
|
|
55
|
+
taskType?: string;
|
|
56
|
+
static names(): {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
static types(): {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
62
|
+
constructor(map?: {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
export declare class CreateFinReportSummaryTaskResponseBody extends $tea.Model {
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* null
|
|
70
|
+
*/
|
|
71
|
+
cost?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* 3284627354
|
|
75
|
+
*/
|
|
76
|
+
data?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* null
|
|
80
|
+
*/
|
|
81
|
+
dataType?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* 0
|
|
85
|
+
*/
|
|
86
|
+
errCode?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* ok
|
|
90
|
+
*/
|
|
91
|
+
message?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @example
|
|
94
|
+
* 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
|
|
95
|
+
*/
|
|
96
|
+
requestId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* true
|
|
100
|
+
*/
|
|
101
|
+
success?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* 2024-04-24 11:54:34
|
|
105
|
+
*/
|
|
106
|
+
time?: string;
|
|
107
|
+
static names(): {
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
};
|
|
110
|
+
static types(): {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
};
|
|
113
|
+
constructor(map?: {
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
export declare class CreateFinReportSummaryTaskResponse extends $tea.Model {
|
|
118
|
+
headers?: {
|
|
119
|
+
[key: string]: string;
|
|
120
|
+
};
|
|
121
|
+
statusCode?: number;
|
|
122
|
+
body?: CreateFinReportSummaryTaskResponseBody;
|
|
123
|
+
static names(): {
|
|
124
|
+
[key: string]: string;
|
|
125
|
+
};
|
|
126
|
+
static types(): {
|
|
127
|
+
[key: string]: any;
|
|
128
|
+
};
|
|
129
|
+
constructor(map?: {
|
|
130
|
+
[key: string]: any;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
7
133
|
export declare class CreateLibraryRequest extends $tea.Model {
|
|
8
134
|
/**
|
|
9
135
|
* @remarks
|
|
@@ -342,6 +468,88 @@ export declare class DeleteLibraryResponse extends $tea.Model {
|
|
|
342
468
|
[key: string]: any;
|
|
343
469
|
});
|
|
344
470
|
}
|
|
471
|
+
export declare class EvictTaskRequest extends $tea.Model {
|
|
472
|
+
/**
|
|
473
|
+
* @remarks
|
|
474
|
+
* This parameter is required.
|
|
475
|
+
*
|
|
476
|
+
* @example
|
|
477
|
+
* 17071319
|
|
478
|
+
*/
|
|
479
|
+
taskId?: string;
|
|
480
|
+
static names(): {
|
|
481
|
+
[key: string]: string;
|
|
482
|
+
};
|
|
483
|
+
static types(): {
|
|
484
|
+
[key: string]: any;
|
|
485
|
+
};
|
|
486
|
+
constructor(map?: {
|
|
487
|
+
[key: string]: any;
|
|
488
|
+
});
|
|
489
|
+
}
|
|
490
|
+
export declare class EvictTaskResponseBody extends $tea.Model {
|
|
491
|
+
/**
|
|
492
|
+
* @example
|
|
493
|
+
* null
|
|
494
|
+
*/
|
|
495
|
+
cost?: number;
|
|
496
|
+
/**
|
|
497
|
+
* @example
|
|
498
|
+
* 17071319
|
|
499
|
+
*/
|
|
500
|
+
data?: string;
|
|
501
|
+
/**
|
|
502
|
+
* @example
|
|
503
|
+
* null
|
|
504
|
+
*/
|
|
505
|
+
dataType?: string;
|
|
506
|
+
/**
|
|
507
|
+
* @example
|
|
508
|
+
* 0
|
|
509
|
+
*/
|
|
510
|
+
errCode?: string;
|
|
511
|
+
message?: string;
|
|
512
|
+
/**
|
|
513
|
+
* @example
|
|
514
|
+
* 44BD277A-87F9-5310-8D63-3E6645F1DA85
|
|
515
|
+
*/
|
|
516
|
+
requestId?: string;
|
|
517
|
+
/**
|
|
518
|
+
* @example
|
|
519
|
+
* true
|
|
520
|
+
*/
|
|
521
|
+
success?: boolean;
|
|
522
|
+
/**
|
|
523
|
+
* @example
|
|
524
|
+
* 2024-04-24 11:54:34
|
|
525
|
+
*/
|
|
526
|
+
time?: string;
|
|
527
|
+
static names(): {
|
|
528
|
+
[key: string]: string;
|
|
529
|
+
};
|
|
530
|
+
static types(): {
|
|
531
|
+
[key: string]: any;
|
|
532
|
+
};
|
|
533
|
+
constructor(map?: {
|
|
534
|
+
[key: string]: any;
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
export declare class EvictTaskResponse extends $tea.Model {
|
|
538
|
+
headers?: {
|
|
539
|
+
[key: string]: string;
|
|
540
|
+
};
|
|
541
|
+
statusCode?: number;
|
|
542
|
+
body?: EvictTaskResponseBody;
|
|
543
|
+
static names(): {
|
|
544
|
+
[key: string]: string;
|
|
545
|
+
};
|
|
546
|
+
static types(): {
|
|
547
|
+
[key: string]: any;
|
|
548
|
+
};
|
|
549
|
+
constructor(map?: {
|
|
550
|
+
[key: string]: any;
|
|
551
|
+
});
|
|
552
|
+
}
|
|
345
553
|
export declare class GetAppConfigResponseBody extends $tea.Model {
|
|
346
554
|
/**
|
|
347
555
|
* @example
|
|
@@ -1153,6 +1361,139 @@ export declare class GetParseResultResponse extends $tea.Model {
|
|
|
1153
1361
|
[key: string]: any;
|
|
1154
1362
|
});
|
|
1155
1363
|
}
|
|
1364
|
+
export declare class GetSummaryTaskResultRequest extends $tea.Model {
|
|
1365
|
+
/**
|
|
1366
|
+
* @remarks
|
|
1367
|
+
* This parameter is required.
|
|
1368
|
+
*
|
|
1369
|
+
* @example
|
|
1370
|
+
* 17071319
|
|
1371
|
+
*/
|
|
1372
|
+
taskId?: string;
|
|
1373
|
+
static names(): {
|
|
1374
|
+
[key: string]: string;
|
|
1375
|
+
};
|
|
1376
|
+
static types(): {
|
|
1377
|
+
[key: string]: any;
|
|
1378
|
+
};
|
|
1379
|
+
constructor(map?: {
|
|
1380
|
+
[key: string]: any;
|
|
1381
|
+
});
|
|
1382
|
+
}
|
|
1383
|
+
export declare class GetSummaryTaskResultResponseBody extends $tea.Model {
|
|
1384
|
+
/**
|
|
1385
|
+
* @example
|
|
1386
|
+
* null
|
|
1387
|
+
*/
|
|
1388
|
+
cost?: number;
|
|
1389
|
+
data?: GetSummaryTaskResultResponseBodyData;
|
|
1390
|
+
/**
|
|
1391
|
+
* @example
|
|
1392
|
+
* null
|
|
1393
|
+
*/
|
|
1394
|
+
dataType?: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* @example
|
|
1397
|
+
* 0
|
|
1398
|
+
*/
|
|
1399
|
+
errCode?: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* @example
|
|
1402
|
+
* ok
|
|
1403
|
+
*/
|
|
1404
|
+
message?: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* @example
|
|
1407
|
+
* 0bc13a9517168617617186457e401f
|
|
1408
|
+
*/
|
|
1409
|
+
requestId?: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* @example
|
|
1412
|
+
* true
|
|
1413
|
+
*/
|
|
1414
|
+
success?: boolean;
|
|
1415
|
+
/**
|
|
1416
|
+
* @example
|
|
1417
|
+
* 2024-04-24 11:54:34
|
|
1418
|
+
*/
|
|
1419
|
+
time?: string;
|
|
1420
|
+
static names(): {
|
|
1421
|
+
[key: string]: string;
|
|
1422
|
+
};
|
|
1423
|
+
static types(): {
|
|
1424
|
+
[key: string]: any;
|
|
1425
|
+
};
|
|
1426
|
+
constructor(map?: {
|
|
1427
|
+
[key: string]: any;
|
|
1428
|
+
});
|
|
1429
|
+
}
|
|
1430
|
+
export declare class GetSummaryTaskResultResponse extends $tea.Model {
|
|
1431
|
+
headers?: {
|
|
1432
|
+
[key: string]: string;
|
|
1433
|
+
};
|
|
1434
|
+
statusCode?: number;
|
|
1435
|
+
body?: GetSummaryTaskResultResponseBody;
|
|
1436
|
+
static names(): {
|
|
1437
|
+
[key: string]: string;
|
|
1438
|
+
};
|
|
1439
|
+
static types(): {
|
|
1440
|
+
[key: string]: any;
|
|
1441
|
+
};
|
|
1442
|
+
constructor(map?: {
|
|
1443
|
+
[key: string]: any;
|
|
1444
|
+
});
|
|
1445
|
+
}
|
|
1446
|
+
export declare class GetTaskStatusRequest extends $tea.Model {
|
|
1447
|
+
/**
|
|
1448
|
+
* @remarks
|
|
1449
|
+
* This parameter is required.
|
|
1450
|
+
*/
|
|
1451
|
+
taskId?: string;
|
|
1452
|
+
static names(): {
|
|
1453
|
+
[key: string]: string;
|
|
1454
|
+
};
|
|
1455
|
+
static types(): {
|
|
1456
|
+
[key: string]: any;
|
|
1457
|
+
};
|
|
1458
|
+
constructor(map?: {
|
|
1459
|
+
[key: string]: any;
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1462
|
+
export declare class GetTaskStatusResponseBody extends $tea.Model {
|
|
1463
|
+
cost?: number;
|
|
1464
|
+
data?: string;
|
|
1465
|
+
dataType?: string;
|
|
1466
|
+
errCode?: string;
|
|
1467
|
+
message?: string;
|
|
1468
|
+
requestId?: string;
|
|
1469
|
+
success?: boolean;
|
|
1470
|
+
time?: string;
|
|
1471
|
+
static names(): {
|
|
1472
|
+
[key: string]: string;
|
|
1473
|
+
};
|
|
1474
|
+
static types(): {
|
|
1475
|
+
[key: string]: any;
|
|
1476
|
+
};
|
|
1477
|
+
constructor(map?: {
|
|
1478
|
+
[key: string]: any;
|
|
1479
|
+
});
|
|
1480
|
+
}
|
|
1481
|
+
export declare class GetTaskStatusResponse extends $tea.Model {
|
|
1482
|
+
headers?: {
|
|
1483
|
+
[key: string]: string;
|
|
1484
|
+
};
|
|
1485
|
+
statusCode?: number;
|
|
1486
|
+
body?: GetTaskStatusResponseBody;
|
|
1487
|
+
static names(): {
|
|
1488
|
+
[key: string]: string;
|
|
1489
|
+
};
|
|
1490
|
+
static types(): {
|
|
1491
|
+
[key: string]: any;
|
|
1492
|
+
};
|
|
1493
|
+
constructor(map?: {
|
|
1494
|
+
[key: string]: any;
|
|
1495
|
+
});
|
|
1496
|
+
}
|
|
1156
1497
|
export declare class InvokePluginRequest extends $tea.Model {
|
|
1157
1498
|
params?: {
|
|
1158
1499
|
[key: string]: any;
|
|
@@ -1331,7 +1672,101 @@ export declare class ReIndexRequest extends $tea.Model {
|
|
|
1331
1672
|
* @example
|
|
1332
1673
|
* 8326472354762354
|
|
1333
1674
|
*/
|
|
1334
|
-
documentId?: string;
|
|
1675
|
+
documentId?: string;
|
|
1676
|
+
static names(): {
|
|
1677
|
+
[key: string]: string;
|
|
1678
|
+
};
|
|
1679
|
+
static types(): {
|
|
1680
|
+
[key: string]: any;
|
|
1681
|
+
};
|
|
1682
|
+
constructor(map?: {
|
|
1683
|
+
[key: string]: any;
|
|
1684
|
+
});
|
|
1685
|
+
}
|
|
1686
|
+
export declare class ReIndexResponseBody extends $tea.Model {
|
|
1687
|
+
/**
|
|
1688
|
+
* @example
|
|
1689
|
+
* null
|
|
1690
|
+
*/
|
|
1691
|
+
cost?: number;
|
|
1692
|
+
/**
|
|
1693
|
+
* @example
|
|
1694
|
+
* True
|
|
1695
|
+
*/
|
|
1696
|
+
data?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* @example
|
|
1699
|
+
* null
|
|
1700
|
+
*/
|
|
1701
|
+
dataType?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* @example
|
|
1704
|
+
* 0
|
|
1705
|
+
*/
|
|
1706
|
+
errCode?: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* @example
|
|
1709
|
+
* ok
|
|
1710
|
+
*/
|
|
1711
|
+
message?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* @example
|
|
1714
|
+
* 32FFC91D-0A9F-585A-B84F-8A54C5187035
|
|
1715
|
+
*/
|
|
1716
|
+
requestId?: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* @example
|
|
1719
|
+
* true
|
|
1720
|
+
*/
|
|
1721
|
+
success?: boolean;
|
|
1722
|
+
/**
|
|
1723
|
+
* @example
|
|
1724
|
+
* 2024-04-24 11:54:34
|
|
1725
|
+
*/
|
|
1726
|
+
time?: string;
|
|
1727
|
+
static names(): {
|
|
1728
|
+
[key: string]: string;
|
|
1729
|
+
};
|
|
1730
|
+
static types(): {
|
|
1731
|
+
[key: string]: any;
|
|
1732
|
+
};
|
|
1733
|
+
constructor(map?: {
|
|
1734
|
+
[key: string]: any;
|
|
1735
|
+
});
|
|
1736
|
+
}
|
|
1737
|
+
export declare class ReIndexResponse extends $tea.Model {
|
|
1738
|
+
headers?: {
|
|
1739
|
+
[key: string]: string;
|
|
1740
|
+
};
|
|
1741
|
+
statusCode?: number;
|
|
1742
|
+
body?: ReIndexResponseBody;
|
|
1743
|
+
static names(): {
|
|
1744
|
+
[key: string]: string;
|
|
1745
|
+
};
|
|
1746
|
+
static types(): {
|
|
1747
|
+
[key: string]: any;
|
|
1748
|
+
};
|
|
1749
|
+
constructor(map?: {
|
|
1750
|
+
[key: string]: any;
|
|
1751
|
+
});
|
|
1752
|
+
}
|
|
1753
|
+
export declare class RecallDocumentRequest extends $tea.Model {
|
|
1754
|
+
filters?: RecallDocumentRequestFilters[];
|
|
1755
|
+
/**
|
|
1756
|
+
* @remarks
|
|
1757
|
+
* This parameter is required.
|
|
1758
|
+
*/
|
|
1759
|
+
query?: string;
|
|
1760
|
+
/**
|
|
1761
|
+
* @example
|
|
1762
|
+
* false
|
|
1763
|
+
*/
|
|
1764
|
+
rearrangement?: boolean;
|
|
1765
|
+
/**
|
|
1766
|
+
* @example
|
|
1767
|
+
* 10
|
|
1768
|
+
*/
|
|
1769
|
+
topK?: number;
|
|
1335
1770
|
static names(): {
|
|
1336
1771
|
[key: string]: string;
|
|
1337
1772
|
};
|
|
@@ -1342,17 +1777,13 @@ export declare class ReIndexRequest extends $tea.Model {
|
|
|
1342
1777
|
[key: string]: any;
|
|
1343
1778
|
});
|
|
1344
1779
|
}
|
|
1345
|
-
export declare class
|
|
1780
|
+
export declare class RecallDocumentResponseBody extends $tea.Model {
|
|
1346
1781
|
/**
|
|
1347
1782
|
* @example
|
|
1348
|
-
*
|
|
1783
|
+
* 0
|
|
1349
1784
|
*/
|
|
1350
1785
|
cost?: number;
|
|
1351
|
-
|
|
1352
|
-
* @example
|
|
1353
|
-
* True
|
|
1354
|
-
*/
|
|
1355
|
-
data?: string;
|
|
1786
|
+
data?: RecallDocumentResponseBodyData;
|
|
1356
1787
|
/**
|
|
1357
1788
|
* @example
|
|
1358
1789
|
* null
|
|
@@ -1370,7 +1801,7 @@ export declare class ReIndexResponseBody extends $tea.Model {
|
|
|
1370
1801
|
message?: string;
|
|
1371
1802
|
/**
|
|
1372
1803
|
* @example
|
|
1373
|
-
*
|
|
1804
|
+
* 0bc13a9517168617617186457e401f
|
|
1374
1805
|
*/
|
|
1375
1806
|
requestId?: string;
|
|
1376
1807
|
/**
|
|
@@ -1393,12 +1824,12 @@ export declare class ReIndexResponseBody extends $tea.Model {
|
|
|
1393
1824
|
[key: string]: any;
|
|
1394
1825
|
});
|
|
1395
1826
|
}
|
|
1396
|
-
export declare class
|
|
1827
|
+
export declare class RecallDocumentResponse extends $tea.Model {
|
|
1397
1828
|
headers?: {
|
|
1398
1829
|
[key: string]: string;
|
|
1399
1830
|
};
|
|
1400
1831
|
statusCode?: number;
|
|
1401
|
-
body?:
|
|
1832
|
+
body?: RecallDocumentResponseBody;
|
|
1402
1833
|
static names(): {
|
|
1403
1834
|
[key: string]: string;
|
|
1404
1835
|
};
|
|
@@ -1409,23 +1840,38 @@ export declare class ReIndexResponse extends $tea.Model {
|
|
|
1409
1840
|
[key: string]: any;
|
|
1410
1841
|
});
|
|
1411
1842
|
}
|
|
1412
|
-
export declare class
|
|
1413
|
-
|
|
1843
|
+
export declare class RecognizeIntentionRequest extends $tea.Model {
|
|
1844
|
+
/**
|
|
1845
|
+
* @example
|
|
1846
|
+
* false
|
|
1847
|
+
*/
|
|
1848
|
+
analysis?: boolean;
|
|
1414
1849
|
/**
|
|
1415
1850
|
* @remarks
|
|
1416
1851
|
* This parameter is required.
|
|
1852
|
+
*
|
|
1853
|
+
* @example
|
|
1854
|
+
* common
|
|
1417
1855
|
*/
|
|
1418
|
-
|
|
1856
|
+
bizType?: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* @remarks
|
|
1859
|
+
* This parameter is required.
|
|
1860
|
+
*/
|
|
1861
|
+
conversation?: string;
|
|
1862
|
+
globalIntentionList?: RecognizeIntentionRequestGlobalIntentionList[];
|
|
1863
|
+
hierarchicalIntentionList?: RecognizeIntentionRequestHierarchicalIntentionList[];
|
|
1864
|
+
intentionList?: RecognizeIntentionRequestIntentionList[];
|
|
1419
1865
|
/**
|
|
1420
1866
|
* @example
|
|
1421
|
-
*
|
|
1867
|
+
* common
|
|
1422
1868
|
*/
|
|
1423
|
-
|
|
1869
|
+
opType?: string;
|
|
1424
1870
|
/**
|
|
1425
1871
|
* @example
|
|
1426
|
-
*
|
|
1872
|
+
* false
|
|
1427
1873
|
*/
|
|
1428
|
-
|
|
1874
|
+
recommend?: boolean;
|
|
1429
1875
|
static names(): {
|
|
1430
1876
|
[key: string]: string;
|
|
1431
1877
|
};
|
|
@@ -1436,13 +1882,13 @@ export declare class RecallDocumentRequest extends $tea.Model {
|
|
|
1436
1882
|
[key: string]: any;
|
|
1437
1883
|
});
|
|
1438
1884
|
}
|
|
1439
|
-
export declare class
|
|
1885
|
+
export declare class RecognizeIntentionResponseBody extends $tea.Model {
|
|
1440
1886
|
/**
|
|
1441
1887
|
* @example
|
|
1442
|
-
*
|
|
1888
|
+
* null
|
|
1443
1889
|
*/
|
|
1444
1890
|
cost?: number;
|
|
1445
|
-
data?:
|
|
1891
|
+
data?: RecognizeIntentionResponseBodyData;
|
|
1446
1892
|
/**
|
|
1447
1893
|
* @example
|
|
1448
1894
|
* null
|
|
@@ -1460,7 +1906,7 @@ export declare class RecallDocumentResponseBody extends $tea.Model {
|
|
|
1460
1906
|
message?: string;
|
|
1461
1907
|
/**
|
|
1462
1908
|
* @example
|
|
1463
|
-
*
|
|
1909
|
+
* 003D019A-1BB3-53EC-A0D2-CE76DA5D73B1
|
|
1464
1910
|
*/
|
|
1465
1911
|
requestId?: string;
|
|
1466
1912
|
/**
|
|
@@ -1483,12 +1929,12 @@ export declare class RecallDocumentResponseBody extends $tea.Model {
|
|
|
1483
1929
|
[key: string]: any;
|
|
1484
1930
|
});
|
|
1485
1931
|
}
|
|
1486
|
-
export declare class
|
|
1932
|
+
export declare class RecognizeIntentionResponse extends $tea.Model {
|
|
1487
1933
|
headers?: {
|
|
1488
1934
|
[key: string]: string;
|
|
1489
1935
|
};
|
|
1490
1936
|
statusCode?: number;
|
|
1491
|
-
body?:
|
|
1937
|
+
body?: RecognizeIntentionResponseBody;
|
|
1492
1938
|
static names(): {
|
|
1493
1939
|
[key: string]: string;
|
|
1494
1940
|
};
|
|
@@ -3454,6 +3900,127 @@ export declare class GetParseResultResponseBodyData extends $tea.Model {
|
|
|
3454
3900
|
[key: string]: any;
|
|
3455
3901
|
});
|
|
3456
3902
|
}
|
|
3903
|
+
export declare class GetSummaryTaskResultResponseBodyDataChoicesMessage extends $tea.Model {
|
|
3904
|
+
content?: string;
|
|
3905
|
+
/**
|
|
3906
|
+
* @example
|
|
3907
|
+
* assistant
|
|
3908
|
+
*/
|
|
3909
|
+
role?: string;
|
|
3910
|
+
toolCalls?: {
|
|
3911
|
+
[key: string]: any;
|
|
3912
|
+
}[];
|
|
3913
|
+
static names(): {
|
|
3914
|
+
[key: string]: string;
|
|
3915
|
+
};
|
|
3916
|
+
static types(): {
|
|
3917
|
+
[key: string]: any;
|
|
3918
|
+
};
|
|
3919
|
+
constructor(map?: {
|
|
3920
|
+
[key: string]: any;
|
|
3921
|
+
});
|
|
3922
|
+
}
|
|
3923
|
+
export declare class GetSummaryTaskResultResponseBodyDataChoices extends $tea.Model {
|
|
3924
|
+
/**
|
|
3925
|
+
* @example
|
|
3926
|
+
* stop
|
|
3927
|
+
*/
|
|
3928
|
+
finishReason?: string;
|
|
3929
|
+
/**
|
|
3930
|
+
* @example
|
|
3931
|
+
* 0
|
|
3932
|
+
*/
|
|
3933
|
+
index?: number;
|
|
3934
|
+
message?: GetSummaryTaskResultResponseBodyDataChoicesMessage;
|
|
3935
|
+
static names(): {
|
|
3936
|
+
[key: string]: string;
|
|
3937
|
+
};
|
|
3938
|
+
static types(): {
|
|
3939
|
+
[key: string]: any;
|
|
3940
|
+
};
|
|
3941
|
+
constructor(map?: {
|
|
3942
|
+
[key: string]: any;
|
|
3943
|
+
});
|
|
3944
|
+
}
|
|
3945
|
+
export declare class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Model {
|
|
3946
|
+
/**
|
|
3947
|
+
* @example
|
|
3948
|
+
* 0
|
|
3949
|
+
*/
|
|
3950
|
+
imageCount?: number;
|
|
3951
|
+
/**
|
|
3952
|
+
* @example
|
|
3953
|
+
* 0
|
|
3954
|
+
*/
|
|
3955
|
+
imageTokens?: number;
|
|
3956
|
+
/**
|
|
3957
|
+
* @example
|
|
3958
|
+
* 100
|
|
3959
|
+
*/
|
|
3960
|
+
inputTokens?: number;
|
|
3961
|
+
/**
|
|
3962
|
+
* @example
|
|
3963
|
+
* 200
|
|
3964
|
+
*/
|
|
3965
|
+
outputTokens?: number;
|
|
3966
|
+
/**
|
|
3967
|
+
* @example
|
|
3968
|
+
* 300
|
|
3969
|
+
*/
|
|
3970
|
+
totalTokens?: number;
|
|
3971
|
+
static names(): {
|
|
3972
|
+
[key: string]: string;
|
|
3973
|
+
};
|
|
3974
|
+
static types(): {
|
|
3975
|
+
[key: string]: any;
|
|
3976
|
+
};
|
|
3977
|
+
constructor(map?: {
|
|
3978
|
+
[key: string]: any;
|
|
3979
|
+
});
|
|
3980
|
+
}
|
|
3981
|
+
export declare class GetSummaryTaskResultResponseBodyData extends $tea.Model {
|
|
3982
|
+
choices?: GetSummaryTaskResultResponseBodyDataChoices[];
|
|
3983
|
+
/**
|
|
3984
|
+
* @example
|
|
3985
|
+
* 1726285125915
|
|
3986
|
+
*/
|
|
3987
|
+
created?: number;
|
|
3988
|
+
/**
|
|
3989
|
+
* @example
|
|
3990
|
+
* 1202
|
|
3991
|
+
*/
|
|
3992
|
+
id?: string;
|
|
3993
|
+
/**
|
|
3994
|
+
* @example
|
|
3995
|
+
* qwen-max
|
|
3996
|
+
*/
|
|
3997
|
+
modelId?: string;
|
|
3998
|
+
/**
|
|
3999
|
+
* @example
|
|
4000
|
+
* 0bc13a9517168617617186457e401f
|
|
4001
|
+
*/
|
|
4002
|
+
requestId?: string;
|
|
4003
|
+
/**
|
|
4004
|
+
* @example
|
|
4005
|
+
* 2024-04-24 11:54:34
|
|
4006
|
+
*/
|
|
4007
|
+
time?: string;
|
|
4008
|
+
/**
|
|
4009
|
+
* @example
|
|
4010
|
+
* 300
|
|
4011
|
+
*/
|
|
4012
|
+
totalTokens?: number;
|
|
4013
|
+
usage?: GetSummaryTaskResultResponseBodyDataUsage;
|
|
4014
|
+
static names(): {
|
|
4015
|
+
[key: string]: string;
|
|
4016
|
+
};
|
|
4017
|
+
static types(): {
|
|
4018
|
+
[key: string]: any;
|
|
4019
|
+
};
|
|
4020
|
+
constructor(map?: {
|
|
4021
|
+
[key: string]: any;
|
|
4022
|
+
});
|
|
4023
|
+
}
|
|
3457
4024
|
export declare class PreviewDocumentResponseBodyData extends $tea.Model {
|
|
3458
4025
|
/**
|
|
3459
4026
|
* @example
|
|
@@ -4004,6 +4571,80 @@ export declare class RecallDocumentResponseBodyData extends $tea.Model {
|
|
|
4004
4571
|
[key: string]: any;
|
|
4005
4572
|
});
|
|
4006
4573
|
}
|
|
4574
|
+
export declare class RecognizeIntentionRequestGlobalIntentionList extends $tea.Model {
|
|
4575
|
+
description?: string;
|
|
4576
|
+
intention?: string;
|
|
4577
|
+
/**
|
|
4578
|
+
* @example
|
|
4579
|
+
* 1810566978021232640
|
|
4580
|
+
*/
|
|
4581
|
+
intentionCode?: string;
|
|
4582
|
+
static names(): {
|
|
4583
|
+
[key: string]: string;
|
|
4584
|
+
};
|
|
4585
|
+
static types(): {
|
|
4586
|
+
[key: string]: any;
|
|
4587
|
+
};
|
|
4588
|
+
constructor(map?: {
|
|
4589
|
+
[key: string]: any;
|
|
4590
|
+
});
|
|
4591
|
+
}
|
|
4592
|
+
export declare class RecognizeIntentionRequestHierarchicalIntentionList extends $tea.Model {
|
|
4593
|
+
description?: string;
|
|
4594
|
+
intention?: string;
|
|
4595
|
+
/**
|
|
4596
|
+
* @example
|
|
4597
|
+
* 1810929291010150400
|
|
4598
|
+
*/
|
|
4599
|
+
intentionCode?: string;
|
|
4600
|
+
static names(): {
|
|
4601
|
+
[key: string]: string;
|
|
4602
|
+
};
|
|
4603
|
+
static types(): {
|
|
4604
|
+
[key: string]: any;
|
|
4605
|
+
};
|
|
4606
|
+
constructor(map?: {
|
|
4607
|
+
[key: string]: any;
|
|
4608
|
+
});
|
|
4609
|
+
}
|
|
4610
|
+
export declare class RecognizeIntentionRequestIntentionList extends $tea.Model {
|
|
4611
|
+
description?: string;
|
|
4612
|
+
intention?: string;
|
|
4613
|
+
/**
|
|
4614
|
+
* @example
|
|
4615
|
+
* 1808766224000262144
|
|
4616
|
+
*/
|
|
4617
|
+
intentionCode?: string;
|
|
4618
|
+
static names(): {
|
|
4619
|
+
[key: string]: string;
|
|
4620
|
+
};
|
|
4621
|
+
static types(): {
|
|
4622
|
+
[key: string]: any;
|
|
4623
|
+
};
|
|
4624
|
+
constructor(map?: {
|
|
4625
|
+
[key: string]: any;
|
|
4626
|
+
});
|
|
4627
|
+
}
|
|
4628
|
+
export declare class RecognizeIntentionResponseBodyData extends $tea.Model {
|
|
4629
|
+
analysisProcess?: string;
|
|
4630
|
+
/**
|
|
4631
|
+
* @example
|
|
4632
|
+
* 1
|
|
4633
|
+
*/
|
|
4634
|
+
intentionCode?: string;
|
|
4635
|
+
intentionName?: string;
|
|
4636
|
+
recommendIntention?: string;
|
|
4637
|
+
recommendScript?: string;
|
|
4638
|
+
static names(): {
|
|
4639
|
+
[key: string]: string;
|
|
4640
|
+
};
|
|
4641
|
+
static types(): {
|
|
4642
|
+
[key: string]: any;
|
|
4643
|
+
};
|
|
4644
|
+
constructor(map?: {
|
|
4645
|
+
[key: string]: any;
|
|
4646
|
+
});
|
|
4647
|
+
}
|
|
4007
4648
|
export declare class RunChatResultGenerationRequestMessages extends $tea.Model {
|
|
4008
4649
|
content?: string;
|
|
4009
4650
|
/**
|
|
@@ -4521,6 +5162,24 @@ export default class Client extends OpenApi {
|
|
|
4521
5162
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
4522
5163
|
[key: string]: string;
|
|
4523
5164
|
}, endpoint: string): string;
|
|
5165
|
+
/**
|
|
5166
|
+
* 创建财报总结任务
|
|
5167
|
+
*
|
|
5168
|
+
* @param request - CreateFinReportSummaryTaskRequest
|
|
5169
|
+
* @param headers - map
|
|
5170
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5171
|
+
* @returns CreateFinReportSummaryTaskResponse
|
|
5172
|
+
*/
|
|
5173
|
+
createFinReportSummaryTaskWithOptions(workspaceId: string, request: CreateFinReportSummaryTaskRequest, headers: {
|
|
5174
|
+
[key: string]: string;
|
|
5175
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateFinReportSummaryTaskResponse>;
|
|
5176
|
+
/**
|
|
5177
|
+
* 创建财报总结任务
|
|
5178
|
+
*
|
|
5179
|
+
* @param request - CreateFinReportSummaryTaskRequest
|
|
5180
|
+
* @returns CreateFinReportSummaryTaskResponse
|
|
5181
|
+
*/
|
|
5182
|
+
createFinReportSummaryTask(workspaceId: string, request: CreateFinReportSummaryTaskRequest): Promise<CreateFinReportSummaryTaskResponse>;
|
|
4524
5183
|
/**
|
|
4525
5184
|
* 创建文档库
|
|
4526
5185
|
*
|
|
@@ -4593,6 +5252,24 @@ export default class Client extends OpenApi {
|
|
|
4593
5252
|
* @returns DeleteLibraryResponse
|
|
4594
5253
|
*/
|
|
4595
5254
|
deleteLibrary(workspaceId: string, request: DeleteLibraryRequest): Promise<DeleteLibraryResponse>;
|
|
5255
|
+
/**
|
|
5256
|
+
* 中断任务
|
|
5257
|
+
*
|
|
5258
|
+
* @param request - EvictTaskRequest
|
|
5259
|
+
* @param headers - map
|
|
5260
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5261
|
+
* @returns EvictTaskResponse
|
|
5262
|
+
*/
|
|
5263
|
+
evictTaskWithOptions(workspaceId: string, request: EvictTaskRequest, headers: {
|
|
5264
|
+
[key: string]: string;
|
|
5265
|
+
}, runtime: $Util.RuntimeOptions): Promise<EvictTaskResponse>;
|
|
5266
|
+
/**
|
|
5267
|
+
* 中断任务
|
|
5268
|
+
*
|
|
5269
|
+
* @param request - EvictTaskRequest
|
|
5270
|
+
* @returns EvictTaskResponse
|
|
5271
|
+
*/
|
|
5272
|
+
evictTask(workspaceId: string, request: EvictTaskRequest): Promise<EvictTaskResponse>;
|
|
4596
5273
|
/**
|
|
4597
5274
|
* 获取app配置
|
|
4598
5275
|
*
|
|
@@ -4752,6 +5429,42 @@ export default class Client extends OpenApi {
|
|
|
4752
5429
|
* @returns GetParseResultResponse
|
|
4753
5430
|
*/
|
|
4754
5431
|
getParseResult(workspaceId: string, request: GetParseResultRequest): Promise<GetParseResultResponse>;
|
|
5432
|
+
/**
|
|
5433
|
+
* 获取财报总结任务结果
|
|
5434
|
+
*
|
|
5435
|
+
* @param request - GetSummaryTaskResultRequest
|
|
5436
|
+
* @param headers - map
|
|
5437
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5438
|
+
* @returns GetSummaryTaskResultResponse
|
|
5439
|
+
*/
|
|
5440
|
+
getSummaryTaskResultWithOptions(workspaceId: string, request: GetSummaryTaskResultRequest, headers: {
|
|
5441
|
+
[key: string]: string;
|
|
5442
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetSummaryTaskResultResponse>;
|
|
5443
|
+
/**
|
|
5444
|
+
* 获取财报总结任务结果
|
|
5445
|
+
*
|
|
5446
|
+
* @param request - GetSummaryTaskResultRequest
|
|
5447
|
+
* @returns GetSummaryTaskResultResponse
|
|
5448
|
+
*/
|
|
5449
|
+
getSummaryTaskResult(workspaceId: string, request: GetSummaryTaskResultRequest): Promise<GetSummaryTaskResultResponse>;
|
|
5450
|
+
/**
|
|
5451
|
+
* 获取财报总结任务结果
|
|
5452
|
+
*
|
|
5453
|
+
* @param request - GetTaskStatusRequest
|
|
5454
|
+
* @param headers - map
|
|
5455
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5456
|
+
* @returns GetTaskStatusResponse
|
|
5457
|
+
*/
|
|
5458
|
+
getTaskStatusWithOptions(workspaceId: string, request: GetTaskStatusRequest, headers: {
|
|
5459
|
+
[key: string]: string;
|
|
5460
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse>;
|
|
5461
|
+
/**
|
|
5462
|
+
* 获取财报总结任务结果
|
|
5463
|
+
*
|
|
5464
|
+
* @param request - GetTaskStatusRequest
|
|
5465
|
+
* @returns GetTaskStatusResponse
|
|
5466
|
+
*/
|
|
5467
|
+
getTaskStatus(workspaceId: string, request: GetTaskStatusRequest): Promise<GetTaskStatusResponse>;
|
|
4755
5468
|
/**
|
|
4756
5469
|
* 插件调试接口
|
|
4757
5470
|
*
|
|
@@ -4824,6 +5537,24 @@ export default class Client extends OpenApi {
|
|
|
4824
5537
|
* @returns RecallDocumentResponse
|
|
4825
5538
|
*/
|
|
4826
5539
|
recallDocument(workspaceId: string, request: RecallDocumentRequest): Promise<RecallDocumentResponse>;
|
|
5540
|
+
/**
|
|
5541
|
+
* 意图识别
|
|
5542
|
+
*
|
|
5543
|
+
* @param request - RecognizeIntentionRequest
|
|
5544
|
+
* @param headers - map
|
|
5545
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5546
|
+
* @returns RecognizeIntentionResponse
|
|
5547
|
+
*/
|
|
5548
|
+
recognizeIntentionWithOptions(workspaceId: string, request: RecognizeIntentionRequest, headers: {
|
|
5549
|
+
[key: string]: string;
|
|
5550
|
+
}, runtime: $Util.RuntimeOptions): Promise<RecognizeIntentionResponse>;
|
|
5551
|
+
/**
|
|
5552
|
+
* 意图识别
|
|
5553
|
+
*
|
|
5554
|
+
* @param request - RecognizeIntentionRequest
|
|
5555
|
+
* @returns RecognizeIntentionResponse
|
|
5556
|
+
*/
|
|
5557
|
+
recognizeIntention(workspaceId: string, request: RecognizeIntentionRequest): Promise<RecognizeIntentionResponse>;
|
|
4827
5558
|
/**
|
|
4828
5559
|
* 获取生成式对话结果
|
|
4829
5560
|
*
|