@alicloud/dianjin20240628 1.1.0 → 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/src/client.ts CHANGED
@@ -12,6 +12,183 @@ import EndpointUtil from '@alicloud/endpoint-util';
12
12
  import { Readable } from 'stream';
13
13
  import * as $tea from '@alicloud/tea-typescript';
14
14
 
15
+ export class CreateFinReportSummaryTaskRequest extends $tea.Model {
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * 123
22
+ */
23
+ docId?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * true
30
+ */
31
+ enableTable?: boolean;
32
+ /**
33
+ * @example
34
+ * 10
35
+ */
36
+ endPage?: number;
37
+ instruction?: string;
38
+ /**
39
+ * @remarks
40
+ * This parameter is required.
41
+ *
42
+ * @example
43
+ * 3akzl28vap
44
+ */
45
+ libraryId?: string;
46
+ /**
47
+ * @remarks
48
+ * This parameter is required.
49
+ *
50
+ * @example
51
+ * qwen-max
52
+ */
53
+ modelId?: string;
54
+ /**
55
+ * @example
56
+ * 1
57
+ */
58
+ startPage?: number;
59
+ /**
60
+ * @example
61
+ * custom
62
+ */
63
+ taskType?: string;
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ docId: 'docId',
67
+ enableTable: 'enableTable',
68
+ endPage: 'endPage',
69
+ instruction: 'instruction',
70
+ libraryId: 'libraryId',
71
+ modelId: 'modelId',
72
+ startPage: 'startPage',
73
+ taskType: 'taskType',
74
+ };
75
+ }
76
+
77
+ static types(): { [key: string]: any } {
78
+ return {
79
+ docId: 'string',
80
+ enableTable: 'boolean',
81
+ endPage: 'number',
82
+ instruction: 'string',
83
+ libraryId: 'string',
84
+ modelId: 'string',
85
+ startPage: 'number',
86
+ taskType: 'string',
87
+ };
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
95
+ export class CreateFinReportSummaryTaskResponseBody extends $tea.Model {
96
+ /**
97
+ * @example
98
+ * null
99
+ */
100
+ cost?: number;
101
+ /**
102
+ * @example
103
+ * 3284627354
104
+ */
105
+ data?: string;
106
+ /**
107
+ * @example
108
+ * null
109
+ */
110
+ dataType?: string;
111
+ /**
112
+ * @example
113
+ * 0
114
+ */
115
+ errCode?: string;
116
+ /**
117
+ * @example
118
+ * ok
119
+ */
120
+ message?: string;
121
+ /**
122
+ * @example
123
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
124
+ */
125
+ requestId?: string;
126
+ /**
127
+ * @example
128
+ * true
129
+ */
130
+ success?: boolean;
131
+ /**
132
+ * @example
133
+ * 2024-04-24 11:54:34
134
+ */
135
+ time?: string;
136
+ static names(): { [key: string]: string } {
137
+ return {
138
+ cost: 'cost',
139
+ data: 'data',
140
+ dataType: 'dataType',
141
+ errCode: 'errCode',
142
+ message: 'message',
143
+ requestId: 'requestId',
144
+ success: 'success',
145
+ time: 'time',
146
+ };
147
+ }
148
+
149
+ static types(): { [key: string]: any } {
150
+ return {
151
+ cost: 'number',
152
+ data: 'string',
153
+ dataType: 'string',
154
+ errCode: 'string',
155
+ message: 'string',
156
+ requestId: 'string',
157
+ success: 'boolean',
158
+ time: 'string',
159
+ };
160
+ }
161
+
162
+ constructor(map?: { [key: string]: any }) {
163
+ super(map);
164
+ }
165
+ }
166
+
167
+ export class CreateFinReportSummaryTaskResponse extends $tea.Model {
168
+ headers?: { [key: string]: string };
169
+ statusCode?: number;
170
+ body?: CreateFinReportSummaryTaskResponseBody;
171
+ static names(): { [key: string]: string } {
172
+ return {
173
+ headers: 'headers',
174
+ statusCode: 'statusCode',
175
+ body: 'body',
176
+ };
177
+ }
178
+
179
+ static types(): { [key: string]: any } {
180
+ return {
181
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
182
+ statusCode: 'number',
183
+ body: CreateFinReportSummaryTaskResponseBody,
184
+ };
185
+ }
186
+
187
+ constructor(map?: { [key: string]: any }) {
188
+ super(map);
189
+ }
190
+ }
191
+
15
192
  export class CreateLibraryRequest extends $tea.Model {
16
193
  /**
17
194
  * @remarks
@@ -500,13 +677,43 @@ export class DeleteLibraryResponse extends $tea.Model {
500
677
  }
501
678
  }
502
679
 
503
- export class GetAppConfigResponseBody extends $tea.Model {
680
+ export class EvictTaskRequest extends $tea.Model {
681
+ /**
682
+ * @remarks
683
+ * This parameter is required.
684
+ *
685
+ * @example
686
+ * 17071319
687
+ */
688
+ taskId?: string;
689
+ static names(): { [key: string]: string } {
690
+ return {
691
+ taskId: 'taskId',
692
+ };
693
+ }
694
+
695
+ static types(): { [key: string]: any } {
696
+ return {
697
+ taskId: 'string',
698
+ };
699
+ }
700
+
701
+ constructor(map?: { [key: string]: any }) {
702
+ super(map);
703
+ }
704
+ }
705
+
706
+ export class EvictTaskResponseBody extends $tea.Model {
504
707
  /**
505
708
  * @example
506
709
  * null
507
710
  */
508
711
  cost?: number;
509
- data?: GetAppConfigResponseBodyData;
712
+ /**
713
+ * @example
714
+ * 17071319
715
+ */
716
+ data?: string;
510
717
  /**
511
718
  * @example
512
719
  * null
@@ -517,19 +724,15 @@ export class GetAppConfigResponseBody extends $tea.Model {
517
724
  * 0
518
725
  */
519
726
  errCode?: string;
520
- /**
521
- * @example
522
- * None
523
- */
524
727
  message?: string;
525
728
  /**
526
729
  * @example
527
- * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
730
+ * 44BD277A-87F9-5310-8D63-3E6645F1DA85
528
731
  */
529
732
  requestId?: string;
530
733
  /**
531
734
  * @example
532
- * True
735
+ * true
533
736
  */
534
737
  success?: boolean;
535
738
  /**
@@ -553,7 +756,7 @@ export class GetAppConfigResponseBody extends $tea.Model {
553
756
  static types(): { [key: string]: any } {
554
757
  return {
555
758
  cost: 'number',
556
- data: GetAppConfigResponseBodyData,
759
+ data: 'string',
557
760
  dataType: 'string',
558
761
  errCode: 'string',
559
762
  message: 'string',
@@ -568,10 +771,10 @@ export class GetAppConfigResponseBody extends $tea.Model {
568
771
  }
569
772
  }
570
773
 
571
- export class GetAppConfigResponse extends $tea.Model {
774
+ export class EvictTaskResponse extends $tea.Model {
572
775
  headers?: { [key: string]: string };
573
776
  statusCode?: number;
574
- body?: GetAppConfigResponseBody;
777
+ body?: EvictTaskResponseBody;
575
778
  static names(): { [key: string]: string } {
576
779
  return {
577
780
  headers: 'headers',
@@ -584,7 +787,7 @@ export class GetAppConfigResponse extends $tea.Model {
584
787
  return {
585
788
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
586
789
  statusCode: 'number',
587
- body: GetAppConfigResponseBody,
790
+ body: EvictTaskResponseBody,
588
791
  };
589
792
  }
590
793
 
@@ -593,71 +796,164 @@ export class GetAppConfigResponse extends $tea.Model {
593
796
  }
594
797
  }
595
798
 
596
- export class GetDocumentChunkListRequest extends $tea.Model {
597
- chunkIdList?: string[];
799
+ export class GetAppConfigResponseBody extends $tea.Model {
598
800
  /**
599
- * @remarks
600
- * This parameter is required.
601
- *
602
801
  * @example
603
- * 182364872346
802
+ * null
604
803
  */
605
- docId?: string;
804
+ cost?: number;
805
+ data?: GetAppConfigResponseBodyData;
606
806
  /**
607
- * @remarks
608
- * This parameter is required.
609
- *
610
807
  * @example
611
- * dsjgfdjgfxxx
808
+ * null
612
809
  */
613
- libraryId?: string;
810
+ dataType?: string;
614
811
  /**
615
812
  * @example
616
- * desc
813
+ * 0
617
814
  */
618
- order?: string;
815
+ errCode?: string;
619
816
  /**
620
817
  * @example
621
- * gmtCreate
818
+ * None
622
819
  */
623
- orderBy?: string;
820
+ message?: string;
624
821
  /**
625
822
  * @example
626
- * 1
823
+ * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
627
824
  */
628
- page?: number;
825
+ requestId?: string;
629
826
  /**
630
827
  * @example
631
- * 10
828
+ * True
632
829
  */
633
- pageSize?: number;
830
+ success?: boolean;
634
831
  /**
635
832
  * @example
636
- * test
833
+ * 2024-04-24 11:54:34
637
834
  */
638
- searchQuery?: string;
835
+ time?: string;
639
836
  static names(): { [key: string]: string } {
640
837
  return {
641
- chunkIdList: 'chunkIdList',
642
- docId: 'docId',
643
- libraryId: 'libraryId',
644
- order: 'order',
645
- orderBy: 'orderBy',
646
- page: 'page',
647
- pageSize: 'pageSize',
648
- searchQuery: 'searchQuery',
838
+ cost: 'cost',
839
+ data: 'data',
840
+ dataType: 'dataType',
841
+ errCode: 'errCode',
842
+ message: 'message',
843
+ requestId: 'requestId',
844
+ success: 'success',
845
+ time: 'time',
649
846
  };
650
847
  }
651
848
 
652
849
  static types(): { [key: string]: any } {
653
850
  return {
654
- chunkIdList: { 'type': 'array', 'itemType': 'string' },
655
- docId: 'string',
656
- libraryId: 'string',
657
- order: 'string',
658
- orderBy: 'string',
659
- page: 'number',
660
- pageSize: 'number',
851
+ cost: 'number',
852
+ data: GetAppConfigResponseBodyData,
853
+ dataType: 'string',
854
+ errCode: 'string',
855
+ message: 'string',
856
+ requestId: 'string',
857
+ success: 'boolean',
858
+ time: 'string',
859
+ };
860
+ }
861
+
862
+ constructor(map?: { [key: string]: any }) {
863
+ super(map);
864
+ }
865
+ }
866
+
867
+ export class GetAppConfigResponse extends $tea.Model {
868
+ headers?: { [key: string]: string };
869
+ statusCode?: number;
870
+ body?: GetAppConfigResponseBody;
871
+ static names(): { [key: string]: string } {
872
+ return {
873
+ headers: 'headers',
874
+ statusCode: 'statusCode',
875
+ body: 'body',
876
+ };
877
+ }
878
+
879
+ static types(): { [key: string]: any } {
880
+ return {
881
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
882
+ statusCode: 'number',
883
+ body: GetAppConfigResponseBody,
884
+ };
885
+ }
886
+
887
+ constructor(map?: { [key: string]: any }) {
888
+ super(map);
889
+ }
890
+ }
891
+
892
+ export class GetDocumentChunkListRequest extends $tea.Model {
893
+ chunkIdList?: string[];
894
+ /**
895
+ * @remarks
896
+ * This parameter is required.
897
+ *
898
+ * @example
899
+ * 182364872346
900
+ */
901
+ docId?: string;
902
+ /**
903
+ * @remarks
904
+ * This parameter is required.
905
+ *
906
+ * @example
907
+ * dsjgfdjgfxxx
908
+ */
909
+ libraryId?: string;
910
+ /**
911
+ * @example
912
+ * desc
913
+ */
914
+ order?: string;
915
+ /**
916
+ * @example
917
+ * gmtCreate
918
+ */
919
+ orderBy?: string;
920
+ /**
921
+ * @example
922
+ * 1
923
+ */
924
+ page?: number;
925
+ /**
926
+ * @example
927
+ * 10
928
+ */
929
+ pageSize?: number;
930
+ /**
931
+ * @example
932
+ * test
933
+ */
934
+ searchQuery?: string;
935
+ static names(): { [key: string]: string } {
936
+ return {
937
+ chunkIdList: 'chunkIdList',
938
+ docId: 'docId',
939
+ libraryId: 'libraryId',
940
+ order: 'order',
941
+ orderBy: 'orderBy',
942
+ page: 'page',
943
+ pageSize: 'pageSize',
944
+ searchQuery: 'searchQuery',
945
+ };
946
+ }
947
+
948
+ static types(): { [key: string]: any } {
949
+ return {
950
+ chunkIdList: { 'type': 'array', 'itemType': 'string' },
951
+ docId: 'string',
952
+ libraryId: 'string',
953
+ order: 'string',
954
+ orderBy: 'string',
955
+ page: 'number',
956
+ pageSize: 'number',
661
957
  searchQuery: 'string',
662
958
  };
663
959
  }
@@ -994,10 +1290,417 @@ export class GetDocumentUrlResponseBody extends $tea.Model {
994
1290
  }
995
1291
  }
996
1292
 
997
- export class GetDocumentUrlResponse extends $tea.Model {
1293
+ export class GetDocumentUrlResponse extends $tea.Model {
1294
+ headers?: { [key: string]: string };
1295
+ statusCode?: number;
1296
+ body?: GetDocumentUrlResponseBody;
1297
+ static names(): { [key: string]: string } {
1298
+ return {
1299
+ headers: 'headers',
1300
+ statusCode: 'statusCode',
1301
+ body: 'body',
1302
+ };
1303
+ }
1304
+
1305
+ static types(): { [key: string]: any } {
1306
+ return {
1307
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1308
+ statusCode: 'number',
1309
+ body: GetDocumentUrlResponseBody,
1310
+ };
1311
+ }
1312
+
1313
+ constructor(map?: { [key: string]: any }) {
1314
+ super(map);
1315
+ }
1316
+ }
1317
+
1318
+ export class GetFilterDocumentListRequest extends $tea.Model {
1319
+ and?: GetFilterDocumentListRequestAnd[];
1320
+ docIdList?: string[];
1321
+ /**
1322
+ * @remarks
1323
+ * This parameter is required.
1324
+ *
1325
+ * @example
1326
+ * cjshcxxxx
1327
+ */
1328
+ libraryId?: string;
1329
+ or?: GetFilterDocumentListRequestOr[];
1330
+ /**
1331
+ * @example
1332
+ * 1
1333
+ */
1334
+ page?: number;
1335
+ /**
1336
+ * @example
1337
+ * 10
1338
+ */
1339
+ pageSize?: number;
1340
+ status?: string[];
1341
+ static names(): { [key: string]: string } {
1342
+ return {
1343
+ and: 'and',
1344
+ docIdList: 'docIdList',
1345
+ libraryId: 'libraryId',
1346
+ or: 'or',
1347
+ page: 'page',
1348
+ pageSize: 'pageSize',
1349
+ status: 'status',
1350
+ };
1351
+ }
1352
+
1353
+ static types(): { [key: string]: any } {
1354
+ return {
1355
+ and: { 'type': 'array', 'itemType': GetFilterDocumentListRequestAnd },
1356
+ docIdList: { 'type': 'array', 'itemType': 'string' },
1357
+ libraryId: 'string',
1358
+ or: { 'type': 'array', 'itemType': GetFilterDocumentListRequestOr },
1359
+ page: 'number',
1360
+ pageSize: 'number',
1361
+ status: { 'type': 'array', 'itemType': 'string' },
1362
+ };
1363
+ }
1364
+
1365
+ constructor(map?: { [key: string]: any }) {
1366
+ super(map);
1367
+ }
1368
+ }
1369
+
1370
+ export class GetFilterDocumentListResponseBody extends $tea.Model {
1371
+ /**
1372
+ * @example
1373
+ * null
1374
+ */
1375
+ cost?: number;
1376
+ data?: GetFilterDocumentListResponseBodyData;
1377
+ /**
1378
+ * @example
1379
+ * null
1380
+ */
1381
+ dataType?: string;
1382
+ /**
1383
+ * @example
1384
+ * 0
1385
+ */
1386
+ errCode?: string;
1387
+ /**
1388
+ * @example
1389
+ * ok
1390
+ */
1391
+ message?: string;
1392
+ /**
1393
+ * @example
1394
+ * 7ADF010C-FD89-569D-A079-2D4D5247E943
1395
+ */
1396
+ requestId?: string;
1397
+ /**
1398
+ * @example
1399
+ * true
1400
+ */
1401
+ success?: boolean;
1402
+ /**
1403
+ * @example
1404
+ * 2024-01-01 00:00:00
1405
+ */
1406
+ time?: string;
1407
+ static names(): { [key: string]: string } {
1408
+ return {
1409
+ cost: 'cost',
1410
+ data: 'data',
1411
+ dataType: 'dataType',
1412
+ errCode: 'errCode',
1413
+ message: 'message',
1414
+ requestId: 'requestId',
1415
+ success: 'success',
1416
+ time: 'time',
1417
+ };
1418
+ }
1419
+
1420
+ static types(): { [key: string]: any } {
1421
+ return {
1422
+ cost: 'number',
1423
+ data: GetFilterDocumentListResponseBodyData,
1424
+ dataType: 'string',
1425
+ errCode: 'string',
1426
+ message: 'string',
1427
+ requestId: 'string',
1428
+ success: 'boolean',
1429
+ time: 'string',
1430
+ };
1431
+ }
1432
+
1433
+ constructor(map?: { [key: string]: any }) {
1434
+ super(map);
1435
+ }
1436
+ }
1437
+
1438
+ export class GetFilterDocumentListResponse extends $tea.Model {
1439
+ headers?: { [key: string]: string };
1440
+ statusCode?: number;
1441
+ body?: GetFilterDocumentListResponseBody;
1442
+ static names(): { [key: string]: string } {
1443
+ return {
1444
+ headers: 'headers',
1445
+ statusCode: 'statusCode',
1446
+ body: 'body',
1447
+ };
1448
+ }
1449
+
1450
+ static types(): { [key: string]: any } {
1451
+ return {
1452
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1453
+ statusCode: 'number',
1454
+ body: GetFilterDocumentListResponseBody,
1455
+ };
1456
+ }
1457
+
1458
+ constructor(map?: { [key: string]: any }) {
1459
+ super(map);
1460
+ }
1461
+ }
1462
+
1463
+ export class GetHistoryListByBizTypeRequest extends $tea.Model {
1464
+ /**
1465
+ * @remarks
1466
+ * This parameter is required.
1467
+ *
1468
+ * @example
1469
+ * GysYBsxx
1470
+ */
1471
+ bizId?: string;
1472
+ /**
1473
+ * @remarks
1474
+ * This parameter is required.
1475
+ *
1476
+ * @example
1477
+ * LibraryChat
1478
+ */
1479
+ bizType?: string;
1480
+ /**
1481
+ * @example
1482
+ * 1
1483
+ */
1484
+ page?: number;
1485
+ /**
1486
+ * @example
1487
+ * 10
1488
+ */
1489
+ pageSize?: number;
1490
+ static names(): { [key: string]: string } {
1491
+ return {
1492
+ bizId: 'bizId',
1493
+ bizType: 'bizType',
1494
+ page: 'page',
1495
+ pageSize: 'pageSize',
1496
+ };
1497
+ }
1498
+
1499
+ static types(): { [key: string]: any } {
1500
+ return {
1501
+ bizId: 'string',
1502
+ bizType: 'string',
1503
+ page: 'number',
1504
+ pageSize: 'number',
1505
+ };
1506
+ }
1507
+
1508
+ constructor(map?: { [key: string]: any }) {
1509
+ super(map);
1510
+ }
1511
+ }
1512
+
1513
+ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1514
+ /**
1515
+ * @example
1516
+ * null
1517
+ */
1518
+ cost?: number;
1519
+ data?: GetHistoryListByBizTypeResponseBodyData;
1520
+ /**
1521
+ * @example
1522
+ * null
1523
+ */
1524
+ dataType?: string;
1525
+ /**
1526
+ * @example
1527
+ * 0
1528
+ */
1529
+ errCode?: string;
1530
+ /**
1531
+ * @example
1532
+ * ok
1533
+ */
1534
+ message?: string;
1535
+ /**
1536
+ * @example
1537
+ * 9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E
1538
+ */
1539
+ requestId?: string;
1540
+ /**
1541
+ * @example
1542
+ * true
1543
+ */
1544
+ success?: boolean;
1545
+ /**
1546
+ * @example
1547
+ * 2024-01-01 00:00:00
1548
+ */
1549
+ time?: string;
1550
+ static names(): { [key: string]: string } {
1551
+ return {
1552
+ cost: 'cost',
1553
+ data: 'data',
1554
+ dataType: 'dataType',
1555
+ errCode: 'errCode',
1556
+ message: 'message',
1557
+ requestId: 'requestId',
1558
+ success: 'success',
1559
+ time: 'time',
1560
+ };
1561
+ }
1562
+
1563
+ static types(): { [key: string]: any } {
1564
+ return {
1565
+ cost: 'number',
1566
+ data: GetHistoryListByBizTypeResponseBodyData,
1567
+ dataType: 'string',
1568
+ errCode: 'string',
1569
+ message: 'string',
1570
+ requestId: 'string',
1571
+ success: 'boolean',
1572
+ time: 'string',
1573
+ };
1574
+ }
1575
+
1576
+ constructor(map?: { [key: string]: any }) {
1577
+ super(map);
1578
+ }
1579
+ }
1580
+
1581
+ export class GetHistoryListByBizTypeResponse extends $tea.Model {
1582
+ headers?: { [key: string]: string };
1583
+ statusCode?: number;
1584
+ body?: GetHistoryListByBizTypeResponseBody;
1585
+ static names(): { [key: string]: string } {
1586
+ return {
1587
+ headers: 'headers',
1588
+ statusCode: 'statusCode',
1589
+ body: 'body',
1590
+ };
1591
+ }
1592
+
1593
+ static types(): { [key: string]: any } {
1594
+ return {
1595
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1596
+ statusCode: 'number',
1597
+ body: GetHistoryListByBizTypeResponseBody,
1598
+ };
1599
+ }
1600
+
1601
+ constructor(map?: { [key: string]: any }) {
1602
+ super(map);
1603
+ }
1604
+ }
1605
+
1606
+ export class GetLibraryRequest extends $tea.Model {
1607
+ /**
1608
+ * @remarks
1609
+ * This parameter is required.
1610
+ *
1611
+ * @example
1612
+ * cjshcxxxx
1613
+ */
1614
+ libraryId?: string;
1615
+ static names(): { [key: string]: string } {
1616
+ return {
1617
+ libraryId: 'libraryId',
1618
+ };
1619
+ }
1620
+
1621
+ static types(): { [key: string]: any } {
1622
+ return {
1623
+ libraryId: 'string',
1624
+ };
1625
+ }
1626
+
1627
+ constructor(map?: { [key: string]: any }) {
1628
+ super(map);
1629
+ }
1630
+ }
1631
+
1632
+ export class GetLibraryResponseBody extends $tea.Model {
1633
+ /**
1634
+ * @example
1635
+ * null
1636
+ */
1637
+ cost?: number;
1638
+ data?: GetLibraryResponseBodyData;
1639
+ /**
1640
+ * @example
1641
+ * null
1642
+ */
1643
+ dataType?: string;
1644
+ /**
1645
+ * @example
1646
+ * 0
1647
+ */
1648
+ errCode?: string;
1649
+ /**
1650
+ * @example
1651
+ * ok
1652
+ */
1653
+ message?: string;
1654
+ /**
1655
+ * @example
1656
+ * 44BD277A-87F9-5310-8D63-3E6645F1DA85
1657
+ */
1658
+ requestId?: string;
1659
+ /**
1660
+ * @example
1661
+ * true
1662
+ */
1663
+ success?: boolean;
1664
+ /**
1665
+ * @example
1666
+ * 2024-01-01 00:00:00
1667
+ */
1668
+ time?: string;
1669
+ static names(): { [key: string]: string } {
1670
+ return {
1671
+ cost: 'cost',
1672
+ data: 'data',
1673
+ dataType: 'dataType',
1674
+ errCode: 'errCode',
1675
+ message: 'message',
1676
+ requestId: 'requestId',
1677
+ success: 'success',
1678
+ time: 'time',
1679
+ };
1680
+ }
1681
+
1682
+ static types(): { [key: string]: any } {
1683
+ return {
1684
+ cost: 'number',
1685
+ data: GetLibraryResponseBodyData,
1686
+ dataType: 'string',
1687
+ errCode: 'string',
1688
+ message: 'string',
1689
+ requestId: 'string',
1690
+ success: 'boolean',
1691
+ time: 'string',
1692
+ };
1693
+ }
1694
+
1695
+ constructor(map?: { [key: string]: any }) {
1696
+ super(map);
1697
+ }
1698
+ }
1699
+
1700
+ export class GetLibraryResponse extends $tea.Model {
998
1701
  headers?: { [key: string]: string };
999
1702
  statusCode?: number;
1000
- body?: GetDocumentUrlResponseBody;
1703
+ body?: GetLibraryResponseBody;
1001
1704
  static names(): { [key: string]: string } {
1002
1705
  return {
1003
1706
  headers: 'headers',
@@ -1010,7 +1713,7 @@ export class GetDocumentUrlResponse extends $tea.Model {
1010
1713
  return {
1011
1714
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1012
1715
  statusCode: 'number',
1013
- body: GetDocumentUrlResponseBody,
1716
+ body: GetLibraryResponseBody,
1014
1717
  };
1015
1718
  }
1016
1719
 
@@ -1019,18 +1722,7 @@ export class GetDocumentUrlResponse extends $tea.Model {
1019
1722
  }
1020
1723
  }
1021
1724
 
1022
- export class GetFilterDocumentListRequest extends $tea.Model {
1023
- and?: GetFilterDocumentListRequestAnd[];
1024
- docIdList?: string[];
1025
- /**
1026
- * @remarks
1027
- * This parameter is required.
1028
- *
1029
- * @example
1030
- * cjshcxxxx
1031
- */
1032
- libraryId?: string;
1033
- or?: GetFilterDocumentListRequestOr[];
1725
+ export class GetLibraryListRequest extends $tea.Model {
1034
1726
  /**
1035
1727
  * @example
1036
1728
  * 1
@@ -1041,28 +1733,20 @@ export class GetFilterDocumentListRequest extends $tea.Model {
1041
1733
  * 10
1042
1734
  */
1043
1735
  pageSize?: number;
1044
- status?: string[];
1736
+ query?: string;
1045
1737
  static names(): { [key: string]: string } {
1046
1738
  return {
1047
- and: 'and',
1048
- docIdList: 'docIdList',
1049
- libraryId: 'libraryId',
1050
- or: 'or',
1051
1739
  page: 'page',
1052
1740
  pageSize: 'pageSize',
1053
- status: 'status',
1741
+ query: 'query',
1054
1742
  };
1055
1743
  }
1056
1744
 
1057
1745
  static types(): { [key: string]: any } {
1058
1746
  return {
1059
- and: { 'type': 'array', 'itemType': GetFilterDocumentListRequestAnd },
1060
- docIdList: { 'type': 'array', 'itemType': 'string' },
1061
- libraryId: 'string',
1062
- or: { 'type': 'array', 'itemType': GetFilterDocumentListRequestOr },
1063
1747
  page: 'number',
1064
1748
  pageSize: 'number',
1065
- status: { 'type': 'array', 'itemType': 'string' },
1749
+ query: 'string',
1066
1750
  };
1067
1751
  }
1068
1752
 
@@ -1071,13 +1755,13 @@ export class GetFilterDocumentListRequest extends $tea.Model {
1071
1755
  }
1072
1756
  }
1073
1757
 
1074
- export class GetFilterDocumentListResponseBody extends $tea.Model {
1758
+ export class GetLibraryListResponseBody extends $tea.Model {
1075
1759
  /**
1076
1760
  * @example
1077
1761
  * null
1078
1762
  */
1079
1763
  cost?: number;
1080
- data?: GetFilterDocumentListResponseBodyData;
1764
+ data?: GetLibraryListResponseBodyData;
1081
1765
  /**
1082
1766
  * @example
1083
1767
  * null
@@ -1095,7 +1779,7 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
1095
1779
  message?: string;
1096
1780
  /**
1097
1781
  * @example
1098
- * 7ADF010C-FD89-569D-A079-2D4D5247E943
1782
+ * 0a06dfe817156528535968405edce3
1099
1783
  */
1100
1784
  requestId?: string;
1101
1785
  /**
@@ -1124,7 +1808,7 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
1124
1808
  static types(): { [key: string]: any } {
1125
1809
  return {
1126
1810
  cost: 'number',
1127
- data: GetFilterDocumentListResponseBodyData,
1811
+ data: GetLibraryListResponseBodyData,
1128
1812
  dataType: 'string',
1129
1813
  errCode: 'string',
1130
1814
  message: 'string',
@@ -1139,10 +1823,10 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
1139
1823
  }
1140
1824
  }
1141
1825
 
1142
- export class GetFilterDocumentListResponse extends $tea.Model {
1826
+ export class GetLibraryListResponse extends $tea.Model {
1143
1827
  headers?: { [key: string]: string };
1144
1828
  statusCode?: number;
1145
- body?: GetFilterDocumentListResponseBody;
1829
+ body?: GetLibraryListResponseBody;
1146
1830
  static names(): { [key: string]: string } {
1147
1831
  return {
1148
1832
  headers: 'headers',
@@ -1155,7 +1839,7 @@ export class GetFilterDocumentListResponse extends $tea.Model {
1155
1839
  return {
1156
1840
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1157
1841
  statusCode: 'number',
1158
- body: GetFilterDocumentListResponseBody,
1842
+ body: GetLibraryListResponseBody,
1159
1843
  };
1160
1844
  }
1161
1845
 
@@ -1164,48 +1848,34 @@ export class GetFilterDocumentListResponse extends $tea.Model {
1164
1848
  }
1165
1849
  }
1166
1850
 
1167
- export class GetHistoryListByBizTypeRequest extends $tea.Model {
1851
+ export class GetParseResultRequest extends $tea.Model {
1168
1852
  /**
1169
1853
  * @remarks
1170
1854
  * This parameter is required.
1171
1855
  *
1172
1856
  * @example
1173
- * GysYBsxx
1857
+ * 873648346573245
1174
1858
  */
1175
- bizId?: string;
1859
+ docId?: string;
1176
1860
  /**
1177
1861
  * @remarks
1178
1862
  * This parameter is required.
1179
1863
  *
1180
1864
  * @example
1181
- * LibraryChat
1182
- */
1183
- bizType?: string;
1184
- /**
1185
- * @example
1186
- * 1
1187
- */
1188
- page?: number;
1189
- /**
1190
- * @example
1191
- * 10
1865
+ * sjdgdsfg
1192
1866
  */
1193
- pageSize?: number;
1867
+ libraryId?: string;
1194
1868
  static names(): { [key: string]: string } {
1195
1869
  return {
1196
- bizId: 'bizId',
1197
- bizType: 'bizType',
1198
- page: 'page',
1199
- pageSize: 'pageSize',
1870
+ docId: 'docId',
1871
+ libraryId: 'libraryId',
1200
1872
  };
1201
1873
  }
1202
1874
 
1203
1875
  static types(): { [key: string]: any } {
1204
1876
  return {
1205
- bizId: 'string',
1206
- bizType: 'string',
1207
- page: 'number',
1208
- pageSize: 'number',
1877
+ docId: 'string',
1878
+ libraryId: 'string',
1209
1879
  };
1210
1880
  }
1211
1881
 
@@ -1214,13 +1884,13 @@ export class GetHistoryListByBizTypeRequest extends $tea.Model {
1214
1884
  }
1215
1885
  }
1216
1886
 
1217
- export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1887
+ export class GetParseResultResponseBody extends $tea.Model {
1218
1888
  /**
1219
1889
  * @example
1220
1890
  * null
1221
1891
  */
1222
1892
  cost?: number;
1223
- data?: GetHistoryListByBizTypeResponseBodyData;
1893
+ data?: GetParseResultResponseBodyData;
1224
1894
  /**
1225
1895
  * @example
1226
1896
  * null
@@ -1238,7 +1908,7 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1238
1908
  message?: string;
1239
1909
  /**
1240
1910
  * @example
1241
- * 9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E
1911
+ * 0abb793617204049360065953ec6dd
1242
1912
  */
1243
1913
  requestId?: string;
1244
1914
  /**
@@ -1248,7 +1918,7 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1248
1918
  success?: boolean;
1249
1919
  /**
1250
1920
  * @example
1251
- * 2024-01-01 00:00:00
1921
+ * 2024-04-24 11:54:34
1252
1922
  */
1253
1923
  time?: string;
1254
1924
  static names(): { [key: string]: string } {
@@ -1267,7 +1937,7 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1267
1937
  static types(): { [key: string]: any } {
1268
1938
  return {
1269
1939
  cost: 'number',
1270
- data: GetHistoryListByBizTypeResponseBodyData,
1940
+ data: GetParseResultResponseBodyData,
1271
1941
  dataType: 'string',
1272
1942
  errCode: 'string',
1273
1943
  message: 'string',
@@ -1282,10 +1952,10 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1282
1952
  }
1283
1953
  }
1284
1954
 
1285
- export class GetHistoryListByBizTypeResponse extends $tea.Model {
1955
+ export class GetParseResultResponse extends $tea.Model {
1286
1956
  headers?: { [key: string]: string };
1287
1957
  statusCode?: number;
1288
- body?: GetHistoryListByBizTypeResponseBody;
1958
+ body?: GetParseResultResponseBody;
1289
1959
  static names(): { [key: string]: string } {
1290
1960
  return {
1291
1961
  headers: 'headers',
@@ -1298,7 +1968,7 @@ export class GetHistoryListByBizTypeResponse extends $tea.Model {
1298
1968
  return {
1299
1969
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1300
1970
  statusCode: 'number',
1301
- body: GetHistoryListByBizTypeResponseBody,
1971
+ body: GetParseResultResponseBody,
1302
1972
  };
1303
1973
  }
1304
1974
 
@@ -1307,24 +1977,24 @@ export class GetHistoryListByBizTypeResponse extends $tea.Model {
1307
1977
  }
1308
1978
  }
1309
1979
 
1310
- export class GetLibraryRequest extends $tea.Model {
1980
+ export class GetSummaryTaskResultRequest extends $tea.Model {
1311
1981
  /**
1312
1982
  * @remarks
1313
1983
  * This parameter is required.
1314
1984
  *
1315
1985
  * @example
1316
- * cjshcxxxx
1986
+ * 17071319
1317
1987
  */
1318
- libraryId?: string;
1988
+ taskId?: string;
1319
1989
  static names(): { [key: string]: string } {
1320
1990
  return {
1321
- libraryId: 'libraryId',
1991
+ taskId: 'taskId',
1322
1992
  };
1323
1993
  }
1324
1994
 
1325
1995
  static types(): { [key: string]: any } {
1326
1996
  return {
1327
- libraryId: 'string',
1997
+ taskId: 'string',
1328
1998
  };
1329
1999
  }
1330
2000
 
@@ -1333,13 +2003,13 @@ export class GetLibraryRequest extends $tea.Model {
1333
2003
  }
1334
2004
  }
1335
2005
 
1336
- export class GetLibraryResponseBody extends $tea.Model {
2006
+ export class GetSummaryTaskResultResponseBody extends $tea.Model {
1337
2007
  /**
1338
2008
  * @example
1339
2009
  * null
1340
2010
  */
1341
2011
  cost?: number;
1342
- data?: GetLibraryResponseBodyData;
2012
+ data?: GetSummaryTaskResultResponseBodyData;
1343
2013
  /**
1344
2014
  * @example
1345
2015
  * null
@@ -1357,7 +2027,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1357
2027
  message?: string;
1358
2028
  /**
1359
2029
  * @example
1360
- * 44BD277A-87F9-5310-8D63-3E6645F1DA85
2030
+ * 0bc13a9517168617617186457e401f
1361
2031
  */
1362
2032
  requestId?: string;
1363
2033
  /**
@@ -1367,7 +2037,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1367
2037
  success?: boolean;
1368
2038
  /**
1369
2039
  * @example
1370
- * 2024-01-01 00:00:00
2040
+ * 2024-04-24 11:54:34
1371
2041
  */
1372
2042
  time?: string;
1373
2043
  static names(): { [key: string]: string } {
@@ -1386,7 +2056,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1386
2056
  static types(): { [key: string]: any } {
1387
2057
  return {
1388
2058
  cost: 'number',
1389
- data: GetLibraryResponseBodyData,
2059
+ data: GetSummaryTaskResultResponseBodyData,
1390
2060
  dataType: 'string',
1391
2061
  errCode: 'string',
1392
2062
  message: 'string',
@@ -1401,10 +2071,10 @@ export class GetLibraryResponseBody extends $tea.Model {
1401
2071
  }
1402
2072
  }
1403
2073
 
1404
- export class GetLibraryResponse extends $tea.Model {
2074
+ export class GetSummaryTaskResultResponse extends $tea.Model {
1405
2075
  headers?: { [key: string]: string };
1406
2076
  statusCode?: number;
1407
- body?: GetLibraryResponseBody;
2077
+ body?: GetSummaryTaskResultResponseBody;
1408
2078
  static names(): { [key: string]: string } {
1409
2079
  return {
1410
2080
  headers: 'headers',
@@ -1417,7 +2087,7 @@ export class GetLibraryResponse extends $tea.Model {
1417
2087
  return {
1418
2088
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1419
2089
  statusCode: 'number',
1420
- body: GetLibraryResponseBody,
2090
+ body: GetSummaryTaskResultResponseBody,
1421
2091
  };
1422
2092
  }
1423
2093
 
@@ -1426,31 +2096,21 @@ export class GetLibraryResponse extends $tea.Model {
1426
2096
  }
1427
2097
  }
1428
2098
 
1429
- export class GetLibraryListRequest extends $tea.Model {
2099
+ export class GetTaskStatusRequest extends $tea.Model {
1430
2100
  /**
1431
- * @example
1432
- * 1
1433
- */
1434
- page?: number;
1435
- /**
1436
- * @example
1437
- * 10
2101
+ * @remarks
2102
+ * This parameter is required.
1438
2103
  */
1439
- pageSize?: number;
1440
- query?: string;
2104
+ taskId?: string;
1441
2105
  static names(): { [key: string]: string } {
1442
2106
  return {
1443
- page: 'page',
1444
- pageSize: 'pageSize',
1445
- query: 'query',
2107
+ taskId: 'taskId',
1446
2108
  };
1447
2109
  }
1448
2110
 
1449
2111
  static types(): { [key: string]: any } {
1450
2112
  return {
1451
- page: 'number',
1452
- pageSize: 'number',
1453
- query: 'string',
2113
+ taskId: 'string',
1454
2114
  };
1455
2115
  }
1456
2116
 
@@ -1459,42 +2119,14 @@ export class GetLibraryListRequest extends $tea.Model {
1459
2119
  }
1460
2120
  }
1461
2121
 
1462
- export class GetLibraryListResponseBody extends $tea.Model {
1463
- /**
1464
- * @example
1465
- * null
1466
- */
2122
+ export class GetTaskStatusResponseBody extends $tea.Model {
1467
2123
  cost?: number;
1468
- data?: GetLibraryListResponseBodyData;
1469
- /**
1470
- * @example
1471
- * null
1472
- */
2124
+ data?: string;
1473
2125
  dataType?: string;
1474
- /**
1475
- * @example
1476
- * 0
1477
- */
1478
2126
  errCode?: string;
1479
- /**
1480
- * @example
1481
- * ok
1482
- */
1483
2127
  message?: string;
1484
- /**
1485
- * @example
1486
- * 0a06dfe817156528535968405edce3
1487
- */
1488
2128
  requestId?: string;
1489
- /**
1490
- * @example
1491
- * true
1492
- */
1493
2129
  success?: boolean;
1494
- /**
1495
- * @example
1496
- * 2024-01-01 00:00:00
1497
- */
1498
2130
  time?: string;
1499
2131
  static names(): { [key: string]: string } {
1500
2132
  return {
@@ -1512,7 +2144,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
1512
2144
  static types(): { [key: string]: any } {
1513
2145
  return {
1514
2146
  cost: 'number',
1515
- data: GetLibraryListResponseBodyData,
2147
+ data: 'string',
1516
2148
  dataType: 'string',
1517
2149
  errCode: 'string',
1518
2150
  message: 'string',
@@ -1527,10 +2159,10 @@ export class GetLibraryListResponseBody extends $tea.Model {
1527
2159
  }
1528
2160
  }
1529
2161
 
1530
- export class GetLibraryListResponse extends $tea.Model {
2162
+ export class GetTaskStatusResponse extends $tea.Model {
1531
2163
  headers?: { [key: string]: string };
1532
2164
  statusCode?: number;
1533
- body?: GetLibraryListResponseBody;
2165
+ body?: GetTaskStatusResponseBody;
1534
2166
  static names(): { [key: string]: string } {
1535
2167
  return {
1536
2168
  headers: 'headers',
@@ -1543,7 +2175,7 @@ export class GetLibraryListResponse extends $tea.Model {
1543
2175
  return {
1544
2176
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1545
2177
  statusCode: 'number',
1546
- body: GetLibraryListResponseBody,
2178
+ body: GetTaskStatusResponseBody,
1547
2179
  };
1548
2180
  }
1549
2181
 
@@ -1552,34 +2184,24 @@ export class GetLibraryListResponse extends $tea.Model {
1552
2184
  }
1553
2185
  }
1554
2186
 
1555
- export class GetParseResultRequest extends $tea.Model {
1556
- /**
1557
- * @remarks
1558
- * This parameter is required.
1559
- *
1560
- * @example
1561
- * 873648346573245
1562
- */
1563
- docId?: string;
2187
+ export class InvokePluginRequest extends $tea.Model {
2188
+ params?: { [key: string]: any };
1564
2189
  /**
1565
- * @remarks
1566
- * This parameter is required.
1567
- *
1568
2190
  * @example
1569
- * sjdgdsfg
2191
+ * 3mj87da7zr
1570
2192
  */
1571
- libraryId?: string;
2193
+ pluginId?: string;
1572
2194
  static names(): { [key: string]: string } {
1573
2195
  return {
1574
- docId: 'docId',
1575
- libraryId: 'libraryId',
2196
+ params: 'params',
2197
+ pluginId: 'pluginId',
1576
2198
  };
1577
2199
  }
1578
2200
 
1579
2201
  static types(): { [key: string]: any } {
1580
2202
  return {
1581
- docId: 'string',
1582
- libraryId: 'string',
2203
+ params: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2204
+ pluginId: 'string',
1583
2205
  };
1584
2206
  }
1585
2207
 
@@ -1588,13 +2210,17 @@ export class GetParseResultRequest extends $tea.Model {
1588
2210
  }
1589
2211
  }
1590
2212
 
1591
- export class GetParseResultResponseBody extends $tea.Model {
2213
+ export class InvokePluginResponseBody extends $tea.Model {
1592
2214
  /**
1593
2215
  * @example
1594
2216
  * null
1595
2217
  */
1596
2218
  cost?: number;
1597
- data?: GetParseResultResponseBodyData;
2219
+ /**
2220
+ * @example
2221
+ * {\\"jobWaiting\\": [0, 0], \\"timestamps\\": [1713383820, 1713383880], \\"jobUsage\\": [0, 0], \\"quotaUsage\\": [123, 32]}
2222
+ */
2223
+ data?: { [key: string]: any };
1598
2224
  /**
1599
2225
  * @example
1600
2226
  * null
@@ -1612,7 +2238,7 @@ export class GetParseResultResponseBody extends $tea.Model {
1612
2238
  message?: string;
1613
2239
  /**
1614
2240
  * @example
1615
- * 0abb793617204049360065953ec6dd
2241
+ * 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
1616
2242
  */
1617
2243
  requestId?: string;
1618
2244
  /**
@@ -1641,7 +2267,7 @@ export class GetParseResultResponseBody extends $tea.Model {
1641
2267
  static types(): { [key: string]: any } {
1642
2268
  return {
1643
2269
  cost: 'number',
1644
- data: GetParseResultResponseBodyData,
2270
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1645
2271
  dataType: 'string',
1646
2272
  errCode: 'string',
1647
2273
  message: 'string',
@@ -1656,10 +2282,10 @@ export class GetParseResultResponseBody extends $tea.Model {
1656
2282
  }
1657
2283
  }
1658
2284
 
1659
- export class GetParseResultResponse extends $tea.Model {
2285
+ export class InvokePluginResponse extends $tea.Model {
1660
2286
  headers?: { [key: string]: string };
1661
2287
  statusCode?: number;
1662
- body?: GetParseResultResponseBody;
2288
+ body?: InvokePluginResponseBody;
1663
2289
  static names(): { [key: string]: string } {
1664
2290
  return {
1665
2291
  headers: 'headers',
@@ -1672,7 +2298,7 @@ export class GetParseResultResponse extends $tea.Model {
1672
2298
  return {
1673
2299
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1674
2300
  statusCode: 'number',
1675
- body: GetParseResultResponseBody,
2301
+ body: InvokePluginResponseBody,
1676
2302
  };
1677
2303
  }
1678
2304
 
@@ -1681,24 +2307,24 @@ export class GetParseResultResponse extends $tea.Model {
1681
2307
  }
1682
2308
  }
1683
2309
 
1684
- export class InvokePluginRequest extends $tea.Model {
1685
- params?: { [key: string]: any };
2310
+ export class PreviewDocumentRequest extends $tea.Model {
1686
2311
  /**
2312
+ * @remarks
2313
+ * This parameter is required.
2314
+ *
1687
2315
  * @example
1688
- * 3mj87da7zr
2316
+ * 8326472354762354
1689
2317
  */
1690
- pluginId?: string;
2318
+ documentId?: string;
1691
2319
  static names(): { [key: string]: string } {
1692
2320
  return {
1693
- params: 'params',
1694
- pluginId: 'pluginId',
2321
+ documentId: 'documentId',
1695
2322
  };
1696
2323
  }
1697
2324
 
1698
2325
  static types(): { [key: string]: any } {
1699
2326
  return {
1700
- params: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1701
- pluginId: 'string',
2327
+ documentId: 'string',
1702
2328
  };
1703
2329
  }
1704
2330
 
@@ -1707,17 +2333,13 @@ export class InvokePluginRequest extends $tea.Model {
1707
2333
  }
1708
2334
  }
1709
2335
 
1710
- export class InvokePluginResponseBody extends $tea.Model {
2336
+ export class PreviewDocumentResponseBody extends $tea.Model {
1711
2337
  /**
1712
2338
  * @example
1713
2339
  * null
1714
2340
  */
1715
2341
  cost?: number;
1716
- /**
1717
- * @example
1718
- * {\\"jobWaiting\\": [0, 0], \\"timestamps\\": [1713383820, 1713383880], \\"jobUsage\\": [0, 0], \\"quotaUsage\\": [123, 32]}
1719
- */
1720
- data?: { [key: string]: any };
2342
+ data?: PreviewDocumentResponseBodyData;
1721
2343
  /**
1722
2344
  * @example
1723
2345
  * null
@@ -1735,7 +2357,7 @@ export class InvokePluginResponseBody extends $tea.Model {
1735
2357
  message?: string;
1736
2358
  /**
1737
2359
  * @example
1738
- * 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
2360
+ * ff551395-1c8a-4f30-8ffd-ef7e87c70b4c
1739
2361
  */
1740
2362
  requestId?: string;
1741
2363
  /**
@@ -1764,7 +2386,7 @@ export class InvokePluginResponseBody extends $tea.Model {
1764
2386
  static types(): { [key: string]: any } {
1765
2387
  return {
1766
2388
  cost: 'number',
1767
- data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2389
+ data: PreviewDocumentResponseBodyData,
1768
2390
  dataType: 'string',
1769
2391
  errCode: 'string',
1770
2392
  message: 'string',
@@ -1779,10 +2401,10 @@ export class InvokePluginResponseBody extends $tea.Model {
1779
2401
  }
1780
2402
  }
1781
2403
 
1782
- export class InvokePluginResponse extends $tea.Model {
2404
+ export class PreviewDocumentResponse extends $tea.Model {
1783
2405
  headers?: { [key: string]: string };
1784
2406
  statusCode?: number;
1785
- body?: InvokePluginResponseBody;
2407
+ body?: PreviewDocumentResponseBody;
1786
2408
  static names(): { [key: string]: string } {
1787
2409
  return {
1788
2410
  headers: 'headers',
@@ -1795,7 +2417,7 @@ export class InvokePluginResponse extends $tea.Model {
1795
2417
  return {
1796
2418
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1797
2419
  statusCode: 'number',
1798
- body: InvokePluginResponseBody,
2420
+ body: PreviewDocumentResponseBody,
1799
2421
  };
1800
2422
  }
1801
2423
 
@@ -1804,7 +2426,7 @@ export class InvokePluginResponse extends $tea.Model {
1804
2426
  }
1805
2427
  }
1806
2428
 
1807
- export class PreviewDocumentRequest extends $tea.Model {
2429
+ export class ReIndexRequest extends $tea.Model {
1808
2430
  /**
1809
2431
  * @remarks
1810
2432
  * This parameter is required.
@@ -1830,13 +2452,17 @@ export class PreviewDocumentRequest extends $tea.Model {
1830
2452
  }
1831
2453
  }
1832
2454
 
1833
- export class PreviewDocumentResponseBody extends $tea.Model {
2455
+ export class ReIndexResponseBody extends $tea.Model {
1834
2456
  /**
1835
2457
  * @example
1836
2458
  * null
1837
2459
  */
1838
2460
  cost?: number;
1839
- data?: PreviewDocumentResponseBodyData;
2461
+ /**
2462
+ * @example
2463
+ * True
2464
+ */
2465
+ data?: string;
1840
2466
  /**
1841
2467
  * @example
1842
2468
  * null
@@ -1854,7 +2480,7 @@ export class PreviewDocumentResponseBody extends $tea.Model {
1854
2480
  message?: string;
1855
2481
  /**
1856
2482
  * @example
1857
- * ff551395-1c8a-4f30-8ffd-ef7e87c70b4c
2483
+ * 32FFC91D-0A9F-585A-B84F-8A54C5187035
1858
2484
  */
1859
2485
  requestId?: string;
1860
2486
  /**
@@ -1883,7 +2509,7 @@ export class PreviewDocumentResponseBody extends $tea.Model {
1883
2509
  static types(): { [key: string]: any } {
1884
2510
  return {
1885
2511
  cost: 'number',
1886
- data: PreviewDocumentResponseBodyData,
2512
+ data: 'string',
1887
2513
  dataType: 'string',
1888
2514
  errCode: 'string',
1889
2515
  message: 'string',
@@ -1898,10 +2524,10 @@ export class PreviewDocumentResponseBody extends $tea.Model {
1898
2524
  }
1899
2525
  }
1900
2526
 
1901
- export class PreviewDocumentResponse extends $tea.Model {
2527
+ export class ReIndexResponse extends $tea.Model {
1902
2528
  headers?: { [key: string]: string };
1903
2529
  statusCode?: number;
1904
- body?: PreviewDocumentResponseBody;
2530
+ body?: ReIndexResponseBody;
1905
2531
  static names(): { [key: string]: string } {
1906
2532
  return {
1907
2533
  headers: 'headers',
@@ -1914,7 +2540,7 @@ export class PreviewDocumentResponse extends $tea.Model {
1914
2540
  return {
1915
2541
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1916
2542
  statusCode: 'number',
1917
- body: PreviewDocumentResponseBody,
2543
+ body: ReIndexResponseBody,
1918
2544
  };
1919
2545
  }
1920
2546
 
@@ -1923,24 +2549,38 @@ export class PreviewDocumentResponse extends $tea.Model {
1923
2549
  }
1924
2550
  }
1925
2551
 
1926
- export class ReIndexRequest extends $tea.Model {
2552
+ export class RecallDocumentRequest extends $tea.Model {
2553
+ filters?: RecallDocumentRequestFilters[];
1927
2554
  /**
1928
2555
  * @remarks
1929
2556
  * This parameter is required.
1930
- *
2557
+ */
2558
+ query?: string;
2559
+ /**
1931
2560
  * @example
1932
- * 8326472354762354
2561
+ * false
1933
2562
  */
1934
- documentId?: string;
2563
+ rearrangement?: boolean;
2564
+ /**
2565
+ * @example
2566
+ * 10
2567
+ */
2568
+ topK?: number;
1935
2569
  static names(): { [key: string]: string } {
1936
2570
  return {
1937
- documentId: 'documentId',
2571
+ filters: 'filters',
2572
+ query: 'query',
2573
+ rearrangement: 'rearrangement',
2574
+ topK: 'topK',
1938
2575
  };
1939
2576
  }
1940
2577
 
1941
2578
  static types(): { [key: string]: any } {
1942
2579
  return {
1943
- documentId: 'string',
2580
+ filters: { 'type': 'array', 'itemType': RecallDocumentRequestFilters },
2581
+ query: 'string',
2582
+ rearrangement: 'boolean',
2583
+ topK: 'number',
1944
2584
  };
1945
2585
  }
1946
2586
 
@@ -1949,17 +2589,13 @@ export class ReIndexRequest extends $tea.Model {
1949
2589
  }
1950
2590
  }
1951
2591
 
1952
- export class ReIndexResponseBody extends $tea.Model {
2592
+ export class RecallDocumentResponseBody extends $tea.Model {
1953
2593
  /**
1954
2594
  * @example
1955
- * null
2595
+ * 0
1956
2596
  */
1957
2597
  cost?: number;
1958
- /**
1959
- * @example
1960
- * True
1961
- */
1962
- data?: string;
2598
+ data?: RecallDocumentResponseBodyData;
1963
2599
  /**
1964
2600
  * @example
1965
2601
  * null
@@ -1977,7 +2613,7 @@ export class ReIndexResponseBody extends $tea.Model {
1977
2613
  message?: string;
1978
2614
  /**
1979
2615
  * @example
1980
- * 32FFC91D-0A9F-585A-B84F-8A54C5187035
2616
+ * 0bc13a9517168617617186457e401f
1981
2617
  */
1982
2618
  requestId?: string;
1983
2619
  /**
@@ -2006,7 +2642,7 @@ export class ReIndexResponseBody extends $tea.Model {
2006
2642
  static types(): { [key: string]: any } {
2007
2643
  return {
2008
2644
  cost: 'number',
2009
- data: 'string',
2645
+ data: RecallDocumentResponseBodyData,
2010
2646
  dataType: 'string',
2011
2647
  errCode: 'string',
2012
2648
  message: 'string',
@@ -2021,10 +2657,10 @@ export class ReIndexResponseBody extends $tea.Model {
2021
2657
  }
2022
2658
  }
2023
2659
 
2024
- export class ReIndexResponse extends $tea.Model {
2660
+ export class RecallDocumentResponse extends $tea.Model {
2025
2661
  headers?: { [key: string]: string };
2026
2662
  statusCode?: number;
2027
- body?: ReIndexResponseBody;
2663
+ body?: RecallDocumentResponseBody;
2028
2664
  static names(): { [key: string]: string } {
2029
2665
  return {
2030
2666
  headers: 'headers',
@@ -2037,7 +2673,7 @@ export class ReIndexResponse extends $tea.Model {
2037
2673
  return {
2038
2674
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2039
2675
  statusCode: 'number',
2040
- body: ReIndexResponseBody,
2676
+ body: RecallDocumentResponseBody,
2041
2677
  };
2042
2678
  }
2043
2679
 
@@ -2046,38 +2682,61 @@ export class ReIndexResponse extends $tea.Model {
2046
2682
  }
2047
2683
  }
2048
2684
 
2049
- export class RecallDocumentRequest extends $tea.Model {
2050
- filters?: RecallDocumentRequestFilters[];
2685
+ export class RecognizeIntentionRequest extends $tea.Model {
2686
+ /**
2687
+ * @example
2688
+ * false
2689
+ */
2690
+ analysis?: boolean;
2051
2691
  /**
2052
2692
  * @remarks
2053
2693
  * This parameter is required.
2694
+ *
2695
+ * @example
2696
+ * common
2054
2697
  */
2055
- query?: string;
2698
+ bizType?: string;
2699
+ /**
2700
+ * @remarks
2701
+ * This parameter is required.
2702
+ */
2703
+ conversation?: string;
2704
+ globalIntentionList?: RecognizeIntentionRequestGlobalIntentionList[];
2705
+ hierarchicalIntentionList?: RecognizeIntentionRequestHierarchicalIntentionList[];
2706
+ intentionList?: RecognizeIntentionRequestIntentionList[];
2056
2707
  /**
2057
2708
  * @example
2058
- * false
2709
+ * common
2059
2710
  */
2060
- rearrangement?: boolean;
2711
+ opType?: string;
2061
2712
  /**
2062
2713
  * @example
2063
- * 10
2714
+ * false
2064
2715
  */
2065
- topK?: number;
2716
+ recommend?: boolean;
2066
2717
  static names(): { [key: string]: string } {
2067
2718
  return {
2068
- filters: 'filters',
2069
- query: 'query',
2070
- rearrangement: 'rearrangement',
2071
- topK: 'topK',
2719
+ analysis: 'analysis',
2720
+ bizType: 'bizType',
2721
+ conversation: 'conversation',
2722
+ globalIntentionList: 'globalIntentionList',
2723
+ hierarchicalIntentionList: 'hierarchicalIntentionList',
2724
+ intentionList: 'intentionList',
2725
+ opType: 'opType',
2726
+ recommend: 'recommend',
2072
2727
  };
2073
2728
  }
2074
2729
 
2075
2730
  static types(): { [key: string]: any } {
2076
2731
  return {
2077
- filters: { 'type': 'array', 'itemType': RecallDocumentRequestFilters },
2078
- query: 'string',
2079
- rearrangement: 'boolean',
2080
- topK: 'number',
2732
+ analysis: 'boolean',
2733
+ bizType: 'string',
2734
+ conversation: 'string',
2735
+ globalIntentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestGlobalIntentionList },
2736
+ hierarchicalIntentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestHierarchicalIntentionList },
2737
+ intentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestIntentionList },
2738
+ opType: 'string',
2739
+ recommend: 'boolean',
2081
2740
  };
2082
2741
  }
2083
2742
 
@@ -2086,13 +2745,13 @@ export class RecallDocumentRequest extends $tea.Model {
2086
2745
  }
2087
2746
  }
2088
2747
 
2089
- export class RecallDocumentResponseBody extends $tea.Model {
2748
+ export class RecognizeIntentionResponseBody extends $tea.Model {
2090
2749
  /**
2091
2750
  * @example
2092
- * 0
2751
+ * null
2093
2752
  */
2094
2753
  cost?: number;
2095
- data?: RecallDocumentResponseBodyData;
2754
+ data?: RecognizeIntentionResponseBodyData;
2096
2755
  /**
2097
2756
  * @example
2098
2757
  * null
@@ -2110,7 +2769,7 @@ export class RecallDocumentResponseBody extends $tea.Model {
2110
2769
  message?: string;
2111
2770
  /**
2112
2771
  * @example
2113
- * 0bc13a9517168617617186457e401f
2772
+ * 003D019A-1BB3-53EC-A0D2-CE76DA5D73B1
2114
2773
  */
2115
2774
  requestId?: string;
2116
2775
  /**
@@ -2139,7 +2798,7 @@ export class RecallDocumentResponseBody extends $tea.Model {
2139
2798
  static types(): { [key: string]: any } {
2140
2799
  return {
2141
2800
  cost: 'number',
2142
- data: RecallDocumentResponseBodyData,
2801
+ data: RecognizeIntentionResponseBodyData,
2143
2802
  dataType: 'string',
2144
2803
  errCode: 'string',
2145
2804
  message: 'string',
@@ -2154,10 +2813,10 @@ export class RecallDocumentResponseBody extends $tea.Model {
2154
2813
  }
2155
2814
  }
2156
2815
 
2157
- export class RecallDocumentResponse extends $tea.Model {
2816
+ export class RecognizeIntentionResponse extends $tea.Model {
2158
2817
  headers?: { [key: string]: string };
2159
2818
  statusCode?: number;
2160
- body?: RecallDocumentResponseBody;
2819
+ body?: RecognizeIntentionResponseBody;
2161
2820
  static names(): { [key: string]: string } {
2162
2821
  return {
2163
2822
  headers: 'headers',
@@ -2170,7 +2829,7 @@ export class RecallDocumentResponse extends $tea.Model {
2170
2829
  return {
2171
2830
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2172
2831
  statusCode: 'number',
2173
- body: RecallDocumentResponseBody,
2832
+ body: RecognizeIntentionResponseBody,
2174
2833
  };
2175
2834
  }
2176
2835
 
@@ -4864,37 +5523,202 @@ export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
4864
5523
  gmtCreate?: string;
4865
5524
  /**
4866
5525
  * @example
4867
- * 2024-01-01 00:00:00
5526
+ * 2024-01-01 00:00:00
5527
+ */
5528
+ gmtModified?: string;
5529
+ /**
5530
+ * @example
5531
+ * 24vs4aa42jv1rg7
5532
+ */
5533
+ id?: string;
5534
+ indexSetting?: GetLibraryListResponseBodyDataRecordsIndexSetting;
5535
+ libraryName?: string;
5536
+ static names(): { [key: string]: string } {
5537
+ return {
5538
+ description: 'description',
5539
+ documentCount: 'documentCount',
5540
+ gmtCreate: 'gmtCreate',
5541
+ gmtModified: 'gmtModified',
5542
+ id: 'id',
5543
+ indexSetting: 'indexSetting',
5544
+ libraryName: 'libraryName',
5545
+ };
5546
+ }
5547
+
5548
+ static types(): { [key: string]: any } {
5549
+ return {
5550
+ description: 'string',
5551
+ documentCount: 'number',
5552
+ gmtCreate: 'string',
5553
+ gmtModified: 'string',
5554
+ id: 'string',
5555
+ indexSetting: GetLibraryListResponseBodyDataRecordsIndexSetting,
5556
+ libraryName: 'string',
5557
+ };
5558
+ }
5559
+
5560
+ constructor(map?: { [key: string]: any }) {
5561
+ super(map);
5562
+ }
5563
+ }
5564
+
5565
+ export class GetLibraryListResponseBodyData extends $tea.Model {
5566
+ /**
5567
+ * @example
5568
+ * 1
5569
+ */
5570
+ currentPage?: number;
5571
+ /**
5572
+ * @example
5573
+ * 10
5574
+ */
5575
+ pageSize?: number;
5576
+ records?: GetLibraryListResponseBodyDataRecords[];
5577
+ /**
5578
+ * @example
5579
+ * 10
5580
+ */
5581
+ totalPages?: number;
5582
+ /**
5583
+ * @example
5584
+ * 100
5585
+ */
5586
+ totalRecords?: number;
5587
+ static names(): { [key: string]: string } {
5588
+ return {
5589
+ currentPage: 'currentPage',
5590
+ pageSize: 'pageSize',
5591
+ records: 'records',
5592
+ totalPages: 'totalPages',
5593
+ totalRecords: 'totalRecords',
5594
+ };
5595
+ }
5596
+
5597
+ static types(): { [key: string]: any } {
5598
+ return {
5599
+ currentPage: 'number',
5600
+ pageSize: 'number',
5601
+ records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
5602
+ totalPages: 'number',
5603
+ totalRecords: 'number',
5604
+ };
5605
+ }
5606
+
5607
+ constructor(map?: { [key: string]: any }) {
5608
+ super(map);
5609
+ }
5610
+ }
5611
+
5612
+ export class GetParseResultResponseBodyData extends $tea.Model {
5613
+ /**
5614
+ * @example
5615
+ * pdf
5616
+ */
5617
+ fileType?: string;
5618
+ /**
5619
+ * @example
5620
+ * null
5621
+ */
5622
+ providerType?: string;
5623
+ /**
5624
+ * @example
5625
+ * b0a202e2-5031-4589-a6d7-39185f0d8d01
5626
+ */
5627
+ requestId?: string;
5628
+ /**
5629
+ * @example
5630
+ * {
5631
+ * "Status": "Success",
5632
+ * "Data": {},
5633
+ * "Message": null,
5634
+ * "TaskId": "docmind-20240601-123abc"
5635
+ * }
5636
+ */
5637
+ result?: { [key: string]: any };
5638
+ /**
5639
+ * @example
5640
+ * WaitRefresh
5641
+ */
5642
+ status?: string;
5643
+ static names(): { [key: string]: string } {
5644
+ return {
5645
+ fileType: 'fileType',
5646
+ providerType: 'providerType',
5647
+ requestId: 'requestId',
5648
+ result: 'result',
5649
+ status: 'status',
5650
+ };
5651
+ }
5652
+
5653
+ static types(): { [key: string]: any } {
5654
+ return {
5655
+ fileType: 'string',
5656
+ providerType: 'string',
5657
+ requestId: 'string',
5658
+ result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
5659
+ status: 'string',
5660
+ };
5661
+ }
5662
+
5663
+ constructor(map?: { [key: string]: any }) {
5664
+ super(map);
5665
+ }
5666
+ }
5667
+
5668
+ export class GetSummaryTaskResultResponseBodyDataChoicesMessage extends $tea.Model {
5669
+ content?: string;
5670
+ /**
5671
+ * @example
5672
+ * assistant
5673
+ */
5674
+ role?: string;
5675
+ toolCalls?: { [key: string]: any }[];
5676
+ static names(): { [key: string]: string } {
5677
+ return {
5678
+ content: 'content',
5679
+ role: 'role',
5680
+ toolCalls: 'toolCalls',
5681
+ };
5682
+ }
5683
+
5684
+ static types(): { [key: string]: any } {
5685
+ return {
5686
+ content: 'string',
5687
+ role: 'string',
5688
+ toolCalls: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
5689
+ };
5690
+ }
5691
+
5692
+ constructor(map?: { [key: string]: any }) {
5693
+ super(map);
5694
+ }
5695
+ }
5696
+
5697
+ export class GetSummaryTaskResultResponseBodyDataChoices extends $tea.Model {
5698
+ /**
5699
+ * @example
5700
+ * stop
4868
5701
  */
4869
- gmtModified?: string;
5702
+ finishReason?: string;
4870
5703
  /**
4871
5704
  * @example
4872
- * 24vs4aa42jv1rg7
5705
+ * 0
4873
5706
  */
4874
- id?: string;
4875
- indexSetting?: GetLibraryListResponseBodyDataRecordsIndexSetting;
4876
- libraryName?: string;
5707
+ index?: number;
5708
+ message?: GetSummaryTaskResultResponseBodyDataChoicesMessage;
4877
5709
  static names(): { [key: string]: string } {
4878
5710
  return {
4879
- description: 'description',
4880
- documentCount: 'documentCount',
4881
- gmtCreate: 'gmtCreate',
4882
- gmtModified: 'gmtModified',
4883
- id: 'id',
4884
- indexSetting: 'indexSetting',
4885
- libraryName: 'libraryName',
5711
+ finishReason: 'finishReason',
5712
+ index: 'index',
5713
+ message: 'message',
4886
5714
  };
4887
5715
  }
4888
5716
 
4889
5717
  static types(): { [key: string]: any } {
4890
5718
  return {
4891
- description: 'string',
4892
- documentCount: 'number',
4893
- gmtCreate: 'string',
4894
- gmtModified: 'string',
4895
- id: 'string',
4896
- indexSetting: GetLibraryListResponseBodyDataRecordsIndexSetting,
4897
- libraryName: 'string',
5719
+ finishReason: 'string',
5720
+ index: 'number',
5721
+ message: GetSummaryTaskResultResponseBodyDataChoicesMessage,
4898
5722
  };
4899
5723
  }
4900
5724
 
@@ -4903,45 +5727,49 @@ export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
4903
5727
  }
4904
5728
  }
4905
5729
 
4906
- export class GetLibraryListResponseBodyData extends $tea.Model {
5730
+ export class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Model {
4907
5731
  /**
4908
5732
  * @example
4909
- * 1
5733
+ * 0
4910
5734
  */
4911
- currentPage?: number;
5735
+ imageCount?: number;
4912
5736
  /**
4913
5737
  * @example
4914
- * 10
5738
+ * 0
4915
5739
  */
4916
- pageSize?: number;
4917
- records?: GetLibraryListResponseBodyDataRecords[];
5740
+ imageTokens?: number;
4918
5741
  /**
4919
5742
  * @example
4920
- * 10
5743
+ * 100
4921
5744
  */
4922
- totalPages?: number;
5745
+ inputTokens?: number;
4923
5746
  /**
4924
5747
  * @example
4925
- * 100
5748
+ * 200
4926
5749
  */
4927
- totalRecords?: number;
5750
+ outputTokens?: number;
5751
+ /**
5752
+ * @example
5753
+ * 300
5754
+ */
5755
+ totalTokens?: number;
4928
5756
  static names(): { [key: string]: string } {
4929
5757
  return {
4930
- currentPage: 'currentPage',
4931
- pageSize: 'pageSize',
4932
- records: 'records',
4933
- totalPages: 'totalPages',
4934
- totalRecords: 'totalRecords',
5758
+ imageCount: 'imageCount',
5759
+ imageTokens: 'imageTokens',
5760
+ inputTokens: 'inputTokens',
5761
+ outputTokens: 'outputTokens',
5762
+ totalTokens: 'totalTokens',
4935
5763
  };
4936
5764
  }
4937
5765
 
4938
5766
  static types(): { [key: string]: any } {
4939
5767
  return {
4940
- currentPage: 'number',
4941
- pageSize: 'number',
4942
- records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
4943
- totalPages: 'number',
4944
- totalRecords: 'number',
5768
+ imageCount: 'number',
5769
+ imageTokens: 'number',
5770
+ inputTokens: 'number',
5771
+ outputTokens: 'number',
5772
+ totalTokens: 'number',
4945
5773
  };
4946
5774
  }
4947
5775
 
@@ -4950,54 +5778,62 @@ export class GetLibraryListResponseBodyData extends $tea.Model {
4950
5778
  }
4951
5779
  }
4952
5780
 
4953
- export class GetParseResultResponseBodyData extends $tea.Model {
5781
+ export class GetSummaryTaskResultResponseBodyData extends $tea.Model {
5782
+ choices?: GetSummaryTaskResultResponseBodyDataChoices[];
4954
5783
  /**
4955
5784
  * @example
4956
- * pdf
5785
+ * 1726285125915
4957
5786
  */
4958
- fileType?: string;
5787
+ created?: number;
4959
5788
  /**
4960
5789
  * @example
4961
- * null
5790
+ * 1202
4962
5791
  */
4963
- providerType?: string;
5792
+ id?: string;
4964
5793
  /**
4965
5794
  * @example
4966
- * b0a202e2-5031-4589-a6d7-39185f0d8d01
5795
+ * qwen-max
5796
+ */
5797
+ modelId?: string;
5798
+ /**
5799
+ * @example
5800
+ * 0bc13a9517168617617186457e401f
4967
5801
  */
4968
5802
  requestId?: string;
4969
5803
  /**
4970
5804
  * @example
4971
- * {
4972
- * "Status": "Success",
4973
- * "Data": {},
4974
- * "Message": null,
4975
- * "TaskId": "docmind-20240601-123abc"
4976
- * }
5805
+ * 2024-04-24 11:54:34
4977
5806
  */
4978
- result?: { [key: string]: any };
5807
+ time?: string;
4979
5808
  /**
4980
5809
  * @example
4981
- * WaitRefresh
5810
+ * 300
4982
5811
  */
4983
- status?: string;
5812
+ totalTokens?: number;
5813
+ usage?: GetSummaryTaskResultResponseBodyDataUsage;
4984
5814
  static names(): { [key: string]: string } {
4985
5815
  return {
4986
- fileType: 'fileType',
4987
- providerType: 'providerType',
5816
+ choices: 'choices',
5817
+ created: 'created',
5818
+ id: 'id',
5819
+ modelId: 'modelId',
4988
5820
  requestId: 'requestId',
4989
- result: 'result',
4990
- status: 'status',
5821
+ time: 'time',
5822
+ totalTokens: 'totalTokens',
5823
+ usage: 'usage',
4991
5824
  };
4992
5825
  }
4993
5826
 
4994
5827
  static types(): { [key: string]: any } {
4995
5828
  return {
4996
- fileType: 'string',
4997
- providerType: 'string',
5829
+ choices: { 'type': 'array', 'itemType': GetSummaryTaskResultResponseBodyDataChoices },
5830
+ created: 'number',
5831
+ id: 'string',
5832
+ modelId: 'string',
4998
5833
  requestId: 'string',
4999
- result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
5000
- status: 'string',
5834
+ time: 'string',
5835
+ totalTokens: 'number',
5836
+ usage: GetSummaryTaskResultResponseBodyDataUsage,
5001
5837
  };
5002
5838
  }
5003
5839
 
@@ -5738,20 +6574,169 @@ export class RecallDocumentResponseBodyDataVectorChunkList extends $tea.Model {
5738
6574
 
5739
6575
  static types(): { [key: string]: any } {
5740
6576
  return {
5741
- chunkId: 'string',
5742
- chunkMeta: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
5743
- chunkOssUrl: 'string',
5744
- chunkText: 'string',
5745
- chunkType: 'string',
5746
- docId: 'string',
5747
- fileType: 'string',
5748
- libraryId: 'string',
5749
- libraryName: 'string',
5750
- nextChunkId: 'string',
5751
- pos: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataVectorChunkListPos },
5752
- preChunkId: 'string',
5753
- score: 'number',
5754
- title: 'string',
6577
+ chunkId: 'string',
6578
+ chunkMeta: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6579
+ chunkOssUrl: 'string',
6580
+ chunkText: 'string',
6581
+ chunkType: 'string',
6582
+ docId: 'string',
6583
+ fileType: 'string',
6584
+ libraryId: 'string',
6585
+ libraryName: 'string',
6586
+ nextChunkId: 'string',
6587
+ pos: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataVectorChunkListPos },
6588
+ preChunkId: 'string',
6589
+ score: 'number',
6590
+ title: 'string',
6591
+ };
6592
+ }
6593
+
6594
+ constructor(map?: { [key: string]: any }) {
6595
+ super(map);
6596
+ }
6597
+ }
6598
+
6599
+ export class RecallDocumentResponseBodyData extends $tea.Model {
6600
+ chunkList?: RecallDocumentResponseBodyDataChunkList[];
6601
+ chunkPartList?: RecallDocumentResponseBodyDataChunkPartList[];
6602
+ chunkTextList?: string[];
6603
+ documents?: RecallDocumentResponseBodyDataDocuments[];
6604
+ /**
6605
+ * @example
6606
+ * 100
6607
+ */
6608
+ embeddingElapsedMs?: number;
6609
+ textChunkList?: RecallDocumentResponseBodyDataTextChunkList[];
6610
+ /**
6611
+ * @example
6612
+ * 100
6613
+ */
6614
+ textSearchElapsedMs?: number;
6615
+ /**
6616
+ * @example
6617
+ * 400
6618
+ */
6619
+ totalElapsedMs?: number;
6620
+ vectorChunkList?: RecallDocumentResponseBodyDataVectorChunkList[];
6621
+ /**
6622
+ * @example
6623
+ * 100
6624
+ */
6625
+ vectorSearchElapsedMs?: number;
6626
+ static names(): { [key: string]: string } {
6627
+ return {
6628
+ chunkList: 'chunkList',
6629
+ chunkPartList: 'chunkPartList',
6630
+ chunkTextList: 'chunkTextList',
6631
+ documents: 'documents',
6632
+ embeddingElapsedMs: 'embeddingElapsedMs',
6633
+ textChunkList: 'textChunkList',
6634
+ textSearchElapsedMs: 'textSearchElapsedMs',
6635
+ totalElapsedMs: 'totalElapsedMs',
6636
+ vectorChunkList: 'vectorChunkList',
6637
+ vectorSearchElapsedMs: 'vectorSearchElapsedMs',
6638
+ };
6639
+ }
6640
+
6641
+ static types(): { [key: string]: any } {
6642
+ return {
6643
+ chunkList: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataChunkList },
6644
+ chunkPartList: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataChunkPartList },
6645
+ chunkTextList: { 'type': 'array', 'itemType': 'string' },
6646
+ documents: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataDocuments },
6647
+ embeddingElapsedMs: 'number',
6648
+ textChunkList: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataTextChunkList },
6649
+ textSearchElapsedMs: 'number',
6650
+ totalElapsedMs: 'number',
6651
+ vectorChunkList: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataVectorChunkList },
6652
+ vectorSearchElapsedMs: 'number',
6653
+ };
6654
+ }
6655
+
6656
+ constructor(map?: { [key: string]: any }) {
6657
+ super(map);
6658
+ }
6659
+ }
6660
+
6661
+ export class RecognizeIntentionRequestGlobalIntentionList extends $tea.Model {
6662
+ description?: string;
6663
+ intention?: string;
6664
+ /**
6665
+ * @example
6666
+ * 1810566978021232640
6667
+ */
6668
+ intentionCode?: string;
6669
+ static names(): { [key: string]: string } {
6670
+ return {
6671
+ description: 'description',
6672
+ intention: 'intention',
6673
+ intentionCode: 'intentionCode',
6674
+ };
6675
+ }
6676
+
6677
+ static types(): { [key: string]: any } {
6678
+ return {
6679
+ description: 'string',
6680
+ intention: 'string',
6681
+ intentionCode: 'string',
6682
+ };
6683
+ }
6684
+
6685
+ constructor(map?: { [key: string]: any }) {
6686
+ super(map);
6687
+ }
6688
+ }
6689
+
6690
+ export class RecognizeIntentionRequestHierarchicalIntentionList extends $tea.Model {
6691
+ description?: string;
6692
+ intention?: string;
6693
+ /**
6694
+ * @example
6695
+ * 1810929291010150400
6696
+ */
6697
+ intentionCode?: string;
6698
+ static names(): { [key: string]: string } {
6699
+ return {
6700
+ description: 'description',
6701
+ intention: 'intention',
6702
+ intentionCode: 'intentionCode',
6703
+ };
6704
+ }
6705
+
6706
+ static types(): { [key: string]: any } {
6707
+ return {
6708
+ description: 'string',
6709
+ intention: 'string',
6710
+ intentionCode: 'string',
6711
+ };
6712
+ }
6713
+
6714
+ constructor(map?: { [key: string]: any }) {
6715
+ super(map);
6716
+ }
6717
+ }
6718
+
6719
+ export class RecognizeIntentionRequestIntentionList extends $tea.Model {
6720
+ description?: string;
6721
+ intention?: string;
6722
+ /**
6723
+ * @example
6724
+ * 1808766224000262144
6725
+ */
6726
+ intentionCode?: string;
6727
+ static names(): { [key: string]: string } {
6728
+ return {
6729
+ description: 'description',
6730
+ intention: 'intention',
6731
+ intentionCode: 'intentionCode',
6732
+ };
6733
+ }
6734
+
6735
+ static types(): { [key: string]: any } {
6736
+ return {
6737
+ description: 'string',
6738
+ intention: 'string',
6739
+ intentionCode: 'string',
5755
6740
  };
5756
6741
  }
5757
6742
 
@@ -5760,60 +6745,33 @@ export class RecallDocumentResponseBodyDataVectorChunkList extends $tea.Model {
5760
6745
  }
5761
6746
  }
5762
6747
 
5763
- export class RecallDocumentResponseBodyData extends $tea.Model {
5764
- chunkList?: RecallDocumentResponseBodyDataChunkList[];
5765
- chunkPartList?: RecallDocumentResponseBodyDataChunkPartList[];
5766
- chunkTextList?: string[];
5767
- documents?: RecallDocumentResponseBodyDataDocuments[];
5768
- /**
5769
- * @example
5770
- * 100
5771
- */
5772
- embeddingElapsedMs?: number;
5773
- textChunkList?: RecallDocumentResponseBodyDataTextChunkList[];
6748
+ export class RecognizeIntentionResponseBodyData extends $tea.Model {
6749
+ analysisProcess?: string;
5774
6750
  /**
5775
6751
  * @example
5776
- * 100
5777
- */
5778
- textSearchElapsedMs?: number;
5779
- /**
5780
- * @example
5781
- * 400
5782
- */
5783
- totalElapsedMs?: number;
5784
- vectorChunkList?: RecallDocumentResponseBodyDataVectorChunkList[];
5785
- /**
5786
- * @example
5787
- * 100
6752
+ * 1
5788
6753
  */
5789
- vectorSearchElapsedMs?: number;
6754
+ intentionCode?: string;
6755
+ intentionName?: string;
6756
+ recommendIntention?: string;
6757
+ recommendScript?: string;
5790
6758
  static names(): { [key: string]: string } {
5791
6759
  return {
5792
- chunkList: 'chunkList',
5793
- chunkPartList: 'chunkPartList',
5794
- chunkTextList: 'chunkTextList',
5795
- documents: 'documents',
5796
- embeddingElapsedMs: 'embeddingElapsedMs',
5797
- textChunkList: 'textChunkList',
5798
- textSearchElapsedMs: 'textSearchElapsedMs',
5799
- totalElapsedMs: 'totalElapsedMs',
5800
- vectorChunkList: 'vectorChunkList',
5801
- vectorSearchElapsedMs: 'vectorSearchElapsedMs',
6760
+ analysisProcess: 'analysisProcess',
6761
+ intentionCode: 'intentionCode',
6762
+ intentionName: 'intentionName',
6763
+ recommendIntention: 'recommendIntention',
6764
+ recommendScript: 'recommendScript',
5802
6765
  };
5803
6766
  }
5804
6767
 
5805
6768
  static types(): { [key: string]: any } {
5806
6769
  return {
5807
- chunkList: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataChunkList },
5808
- chunkPartList: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataChunkPartList },
5809
- chunkTextList: { 'type': 'array', 'itemType': 'string' },
5810
- documents: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataDocuments },
5811
- embeddingElapsedMs: 'number',
5812
- textChunkList: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataTextChunkList },
5813
- textSearchElapsedMs: 'number',
5814
- totalElapsedMs: 'number',
5815
- vectorChunkList: { 'type': 'array', 'itemType': RecallDocumentResponseBodyDataVectorChunkList },
5816
- vectorSearchElapsedMs: 'number',
6770
+ analysisProcess: 'string',
6771
+ intentionCode: 'string',
6772
+ intentionName: 'string',
6773
+ recommendIntention: 'string',
6774
+ recommendScript: 'string',
5817
6775
  };
5818
6776
  }
5819
6777
 
@@ -6592,6 +7550,79 @@ export default class Client extends OpenApi {
6592
7550
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
6593
7551
  }
6594
7552
 
7553
+ /**
7554
+ * 创建财报总结任务
7555
+ *
7556
+ * @param request - CreateFinReportSummaryTaskRequest
7557
+ * @param headers - map
7558
+ * @param runtime - runtime options for this request RuntimeOptions
7559
+ * @returns CreateFinReportSummaryTaskResponse
7560
+ */
7561
+ async createFinReportSummaryTaskWithOptions(workspaceId: string, request: CreateFinReportSummaryTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateFinReportSummaryTaskResponse> {
7562
+ Util.validateModel(request);
7563
+ let body : {[key: string ]: any} = { };
7564
+ if (!Util.isUnset(request.docId)) {
7565
+ body["docId"] = request.docId;
7566
+ }
7567
+
7568
+ if (!Util.isUnset(request.enableTable)) {
7569
+ body["enableTable"] = request.enableTable;
7570
+ }
7571
+
7572
+ if (!Util.isUnset(request.endPage)) {
7573
+ body["endPage"] = request.endPage;
7574
+ }
7575
+
7576
+ if (!Util.isUnset(request.instruction)) {
7577
+ body["instruction"] = request.instruction;
7578
+ }
7579
+
7580
+ if (!Util.isUnset(request.libraryId)) {
7581
+ body["libraryId"] = request.libraryId;
7582
+ }
7583
+
7584
+ if (!Util.isUnset(request.modelId)) {
7585
+ body["modelId"] = request.modelId;
7586
+ }
7587
+
7588
+ if (!Util.isUnset(request.startPage)) {
7589
+ body["startPage"] = request.startPage;
7590
+ }
7591
+
7592
+ if (!Util.isUnset(request.taskType)) {
7593
+ body["taskType"] = request.taskType;
7594
+ }
7595
+
7596
+ let req = new $OpenApi.OpenApiRequest({
7597
+ headers: headers,
7598
+ body: OpenApiUtil.parseToMap(body),
7599
+ });
7600
+ let params = new $OpenApi.Params({
7601
+ action: "CreateFinReportSummaryTask",
7602
+ version: "2024-06-28",
7603
+ protocol: "HTTPS",
7604
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/summary`,
7605
+ method: "POST",
7606
+ authType: "AK",
7607
+ style: "ROA",
7608
+ reqBodyType: "json",
7609
+ bodyType: "json",
7610
+ });
7611
+ return $tea.cast<CreateFinReportSummaryTaskResponse>(await this.callApi(params, req, runtime), new CreateFinReportSummaryTaskResponse({}));
7612
+ }
7613
+
7614
+ /**
7615
+ * 创建财报总结任务
7616
+ *
7617
+ * @param request - CreateFinReportSummaryTaskRequest
7618
+ * @returns CreateFinReportSummaryTaskResponse
7619
+ */
7620
+ async createFinReportSummaryTask(workspaceId: string, request: CreateFinReportSummaryTaskRequest): Promise<CreateFinReportSummaryTaskResponse> {
7621
+ let runtime = new $Util.RuntimeOptions({ });
7622
+ let headers : {[key: string ]: string} = { };
7623
+ return await this.createFinReportSummaryTaskWithOptions(workspaceId, request, headers, runtime);
7624
+ }
7625
+
6595
7626
  /**
6596
7627
  * 创建文档库
6597
7628
  *
@@ -6796,6 +7827,51 @@ export default class Client extends OpenApi {
6796
7827
  return await this.deleteLibraryWithOptions(workspaceId, request, headers, runtime);
6797
7828
  }
6798
7829
 
7830
+ /**
7831
+ * 中断任务
7832
+ *
7833
+ * @param request - EvictTaskRequest
7834
+ * @param headers - map
7835
+ * @param runtime - runtime options for this request RuntimeOptions
7836
+ * @returns EvictTaskResponse
7837
+ */
7838
+ async evictTaskWithOptions(workspaceId: string, request: EvictTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<EvictTaskResponse> {
7839
+ Util.validateModel(request);
7840
+ let query : {[key: string ]: any} = { };
7841
+ if (!Util.isUnset(request.taskId)) {
7842
+ query["taskId"] = request.taskId;
7843
+ }
7844
+
7845
+ let req = new $OpenApi.OpenApiRequest({
7846
+ headers: headers,
7847
+ query: OpenApiUtil.query(query),
7848
+ });
7849
+ let params = new $OpenApi.Params({
7850
+ action: "EvictTask",
7851
+ version: "2024-06-28",
7852
+ protocol: "HTTPS",
7853
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/evict`,
7854
+ method: "POST",
7855
+ authType: "AK",
7856
+ style: "ROA",
7857
+ reqBodyType: "json",
7858
+ bodyType: "json",
7859
+ });
7860
+ return $tea.cast<EvictTaskResponse>(await this.callApi(params, req, runtime), new EvictTaskResponse({}));
7861
+ }
7862
+
7863
+ /**
7864
+ * 中断任务
7865
+ *
7866
+ * @param request - EvictTaskRequest
7867
+ * @returns EvictTaskResponse
7868
+ */
7869
+ async evictTask(workspaceId: string, request: EvictTaskRequest): Promise<EvictTaskResponse> {
7870
+ let runtime = new $Util.RuntimeOptions({ });
7871
+ let headers : {[key: string ]: string} = { };
7872
+ return await this.evictTaskWithOptions(workspaceId, request, headers, runtime);
7873
+ }
7874
+
6799
7875
  /**
6800
7876
  * 获取app配置
6801
7877
  *
@@ -7279,6 +8355,96 @@ export default class Client extends OpenApi {
7279
8355
  return await this.getParseResultWithOptions(workspaceId, request, headers, runtime);
7280
8356
  }
7281
8357
 
8358
+ /**
8359
+ * 获取财报总结任务结果
8360
+ *
8361
+ * @param request - GetSummaryTaskResultRequest
8362
+ * @param headers - map
8363
+ * @param runtime - runtime options for this request RuntimeOptions
8364
+ * @returns GetSummaryTaskResultResponse
8365
+ */
8366
+ async getSummaryTaskResultWithOptions(workspaceId: string, request: GetSummaryTaskResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetSummaryTaskResultResponse> {
8367
+ Util.validateModel(request);
8368
+ let query : {[key: string ]: any} = { };
8369
+ if (!Util.isUnset(request.taskId)) {
8370
+ query["taskId"] = request.taskId;
8371
+ }
8372
+
8373
+ let req = new $OpenApi.OpenApiRequest({
8374
+ headers: headers,
8375
+ query: OpenApiUtil.query(query),
8376
+ });
8377
+ let params = new $OpenApi.Params({
8378
+ action: "GetSummaryTaskResult",
8379
+ version: "2024-06-28",
8380
+ protocol: "HTTPS",
8381
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/summary/result`,
8382
+ method: "GET",
8383
+ authType: "AK",
8384
+ style: "ROA",
8385
+ reqBodyType: "json",
8386
+ bodyType: "json",
8387
+ });
8388
+ return $tea.cast<GetSummaryTaskResultResponse>(await this.callApi(params, req, runtime), new GetSummaryTaskResultResponse({}));
8389
+ }
8390
+
8391
+ /**
8392
+ * 获取财报总结任务结果
8393
+ *
8394
+ * @param request - GetSummaryTaskResultRequest
8395
+ * @returns GetSummaryTaskResultResponse
8396
+ */
8397
+ async getSummaryTaskResult(workspaceId: string, request: GetSummaryTaskResultRequest): Promise<GetSummaryTaskResultResponse> {
8398
+ let runtime = new $Util.RuntimeOptions({ });
8399
+ let headers : {[key: string ]: string} = { };
8400
+ return await this.getSummaryTaskResultWithOptions(workspaceId, request, headers, runtime);
8401
+ }
8402
+
8403
+ /**
8404
+ * 获取财报总结任务结果
8405
+ *
8406
+ * @param request - GetTaskStatusRequest
8407
+ * @param headers - map
8408
+ * @param runtime - runtime options for this request RuntimeOptions
8409
+ * @returns GetTaskStatusResponse
8410
+ */
8411
+ async getTaskStatusWithOptions(workspaceId: string, request: GetTaskStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse> {
8412
+ Util.validateModel(request);
8413
+ let query : {[key: string ]: any} = { };
8414
+ if (!Util.isUnset(request.taskId)) {
8415
+ query["taskId"] = request.taskId;
8416
+ }
8417
+
8418
+ let req = new $OpenApi.OpenApiRequest({
8419
+ headers: headers,
8420
+ query: OpenApiUtil.query(query),
8421
+ });
8422
+ let params = new $OpenApi.Params({
8423
+ action: "GetTaskStatus",
8424
+ version: "2024-06-28",
8425
+ protocol: "HTTPS",
8426
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/status`,
8427
+ method: "GET",
8428
+ authType: "AK",
8429
+ style: "ROA",
8430
+ reqBodyType: "json",
8431
+ bodyType: "json",
8432
+ });
8433
+ return $tea.cast<GetTaskStatusResponse>(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
8434
+ }
8435
+
8436
+ /**
8437
+ * 获取财报总结任务结果
8438
+ *
8439
+ * @param request - GetTaskStatusRequest
8440
+ * @returns GetTaskStatusResponse
8441
+ */
8442
+ async getTaskStatus(workspaceId: string, request: GetTaskStatusRequest): Promise<GetTaskStatusResponse> {
8443
+ let runtime = new $Util.RuntimeOptions({ });
8444
+ let headers : {[key: string ]: string} = { };
8445
+ return await this.getTaskStatusWithOptions(workspaceId, request, headers, runtime);
8446
+ }
8447
+
7282
8448
  /**
7283
8449
  * 插件调试接口
7284
8450
  *
@@ -7475,6 +8641,79 @@ export default class Client extends OpenApi {
7475
8641
  return await this.recallDocumentWithOptions(workspaceId, request, headers, runtime);
7476
8642
  }
7477
8643
 
8644
+ /**
8645
+ * 意图识别
8646
+ *
8647
+ * @param request - RecognizeIntentionRequest
8648
+ * @param headers - map
8649
+ * @param runtime - runtime options for this request RuntimeOptions
8650
+ * @returns RecognizeIntentionResponse
8651
+ */
8652
+ async recognizeIntentionWithOptions(workspaceId: string, request: RecognizeIntentionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RecognizeIntentionResponse> {
8653
+ Util.validateModel(request);
8654
+ let body : {[key: string ]: any} = { };
8655
+ if (!Util.isUnset(request.analysis)) {
8656
+ body["analysis"] = request.analysis;
8657
+ }
8658
+
8659
+ if (!Util.isUnset(request.bizType)) {
8660
+ body["bizType"] = request.bizType;
8661
+ }
8662
+
8663
+ if (!Util.isUnset(request.conversation)) {
8664
+ body["conversation"] = request.conversation;
8665
+ }
8666
+
8667
+ if (!Util.isUnset(request.globalIntentionList)) {
8668
+ body["globalIntentionList"] = request.globalIntentionList;
8669
+ }
8670
+
8671
+ if (!Util.isUnset(request.hierarchicalIntentionList)) {
8672
+ body["hierarchicalIntentionList"] = request.hierarchicalIntentionList;
8673
+ }
8674
+
8675
+ if (!Util.isUnset(request.intentionList)) {
8676
+ body["intentionList"] = request.intentionList;
8677
+ }
8678
+
8679
+ if (!Util.isUnset(request.opType)) {
8680
+ body["opType"] = request.opType;
8681
+ }
8682
+
8683
+ if (!Util.isUnset(request.recommend)) {
8684
+ body["recommend"] = request.recommend;
8685
+ }
8686
+
8687
+ let req = new $OpenApi.OpenApiRequest({
8688
+ headers: headers,
8689
+ body: OpenApiUtil.parseToMap(body),
8690
+ });
8691
+ let params = new $OpenApi.Params({
8692
+ action: "RecognizeIntention",
8693
+ version: "2024-06-28",
8694
+ protocol: "HTTPS",
8695
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/recog/intent`,
8696
+ method: "POST",
8697
+ authType: "AK",
8698
+ style: "ROA",
8699
+ reqBodyType: "json",
8700
+ bodyType: "json",
8701
+ });
8702
+ return $tea.cast<RecognizeIntentionResponse>(await this.callApi(params, req, runtime), new RecognizeIntentionResponse({}));
8703
+ }
8704
+
8705
+ /**
8706
+ * 意图识别
8707
+ *
8708
+ * @param request - RecognizeIntentionRequest
8709
+ * @returns RecognizeIntentionResponse
8710
+ */
8711
+ async recognizeIntention(workspaceId: string, request: RecognizeIntentionRequest): Promise<RecognizeIntentionResponse> {
8712
+ let runtime = new $Util.RuntimeOptions({ });
8713
+ let headers : {[key: string ]: string} = { };
8714
+ return await this.recognizeIntentionWithOptions(workspaceId, request, headers, runtime);
8715
+ }
8716
+
7478
8717
  /**
7479
8718
  * 获取生成式对话结果
7480
8719
  *