@alicloud/dianjin20240628 1.2.0 → 1.4.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,146 @@ 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 CreateDocsSummaryTaskRequest extends $tea.Model {
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ */
20
+ docInfos?: CreateDocsSummaryTaskRequestDocInfos[];
21
+ /**
22
+ * @example
23
+ * true
24
+ */
25
+ enableTable?: boolean;
26
+ instruction?: string;
27
+ /**
28
+ * @remarks
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * qwen-plus
33
+ */
34
+ modelId?: string;
35
+ static names(): { [key: string]: string } {
36
+ return {
37
+ docInfos: 'docInfos',
38
+ enableTable: 'enableTable',
39
+ instruction: 'instruction',
40
+ modelId: 'modelId',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ docInfos: { 'type': 'array', 'itemType': CreateDocsSummaryTaskRequestDocInfos },
47
+ enableTable: 'boolean',
48
+ instruction: 'string',
49
+ modelId: 'string',
50
+ };
51
+ }
52
+
53
+ constructor(map?: { [key: string]: any }) {
54
+ super(map);
55
+ }
56
+ }
57
+
58
+ export class CreateDocsSummaryTaskResponseBody extends $tea.Model {
59
+ /**
60
+ * @example
61
+ * null
62
+ */
63
+ cost?: number;
64
+ /**
65
+ * @example
66
+ * 765675376
67
+ */
68
+ data?: string;
69
+ /**
70
+ * @example
71
+ * null
72
+ */
73
+ dataType?: string;
74
+ /**
75
+ * @example
76
+ * 0
77
+ */
78
+ errCode?: string;
79
+ /**
80
+ * @example
81
+ * ok
82
+ */
83
+ message?: string;
84
+ /**
85
+ * @example
86
+ * 32FFC91D-0A9F-585A-B84F-8A54C5187035
87
+ */
88
+ requestId?: string;
89
+ /**
90
+ * @example
91
+ * true
92
+ */
93
+ success?: boolean;
94
+ /**
95
+ * @example
96
+ * 2024-01-01 00:00:00
97
+ */
98
+ time?: string;
99
+ static names(): { [key: string]: string } {
100
+ return {
101
+ cost: 'cost',
102
+ data: 'data',
103
+ dataType: 'dataType',
104
+ errCode: 'errCode',
105
+ message: 'message',
106
+ requestId: 'requestId',
107
+ success: 'success',
108
+ time: 'time',
109
+ };
110
+ }
111
+
112
+ static types(): { [key: string]: any } {
113
+ return {
114
+ cost: 'number',
115
+ data: 'string',
116
+ dataType: 'string',
117
+ errCode: 'string',
118
+ message: 'string',
119
+ requestId: 'string',
120
+ success: 'boolean',
121
+ time: 'string',
122
+ };
123
+ }
124
+
125
+ constructor(map?: { [key: string]: any }) {
126
+ super(map);
127
+ }
128
+ }
129
+
130
+ export class CreateDocsSummaryTaskResponse extends $tea.Model {
131
+ headers?: { [key: string]: string };
132
+ statusCode?: number;
133
+ body?: CreateDocsSummaryTaskResponseBody;
134
+ static names(): { [key: string]: string } {
135
+ return {
136
+ headers: 'headers',
137
+ statusCode: 'statusCode',
138
+ body: 'body',
139
+ };
140
+ }
141
+
142
+ static types(): { [key: string]: any } {
143
+ return {
144
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
145
+ statusCode: 'number',
146
+ body: CreateDocsSummaryTaskResponseBody,
147
+ };
148
+ }
149
+
150
+ constructor(map?: { [key: string]: any }) {
151
+ super(map);
152
+ }
153
+ }
154
+
15
155
  export class CreateFinReportSummaryTaskRequest extends $tea.Model {
16
156
  /**
17
157
  * @remarks
@@ -315,6 +455,159 @@ export class CreateLibraryResponse extends $tea.Model {
315
455
  }
316
456
  }
317
457
 
458
+ export class CreatePdfTranslateTaskRequest extends $tea.Model {
459
+ /**
460
+ * @remarks
461
+ * This parameter is required.
462
+ *
463
+ * @example
464
+ * 873648346573245
465
+ */
466
+ docId?: string;
467
+ knowledge?: string;
468
+ /**
469
+ * @remarks
470
+ * This parameter is required.
471
+ *
472
+ * @example
473
+ * cjshcxxxx
474
+ */
475
+ libraryId?: string;
476
+ /**
477
+ * @remarks
478
+ * This parameter is required.
479
+ *
480
+ * @example
481
+ * qwen-plus
482
+ */
483
+ modelId?: string;
484
+ /**
485
+ * @example
486
+ * 中文
487
+ */
488
+ translateTo?: string;
489
+ static names(): { [key: string]: string } {
490
+ return {
491
+ docId: 'docId',
492
+ knowledge: 'knowledge',
493
+ libraryId: 'libraryId',
494
+ modelId: 'modelId',
495
+ translateTo: 'translateTo',
496
+ };
497
+ }
498
+
499
+ static types(): { [key: string]: any } {
500
+ return {
501
+ docId: 'string',
502
+ knowledge: 'string',
503
+ libraryId: 'string',
504
+ modelId: 'string',
505
+ translateTo: 'string',
506
+ };
507
+ }
508
+
509
+ constructor(map?: { [key: string]: any }) {
510
+ super(map);
511
+ }
512
+ }
513
+
514
+ export class CreatePdfTranslateTaskResponseBody extends $tea.Model {
515
+ /**
516
+ * @example
517
+ * null
518
+ */
519
+ cost?: number;
520
+ /**
521
+ * @example
522
+ * 3284627354
523
+ */
524
+ data?: string;
525
+ /**
526
+ * @example
527
+ * null
528
+ */
529
+ dataType?: string;
530
+ /**
531
+ * @example
532
+ * 0
533
+ */
534
+ errCode?: string;
535
+ /**
536
+ * @example
537
+ * ok
538
+ */
539
+ message?: string;
540
+ /**
541
+ * @example
542
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
543
+ */
544
+ requestId?: string;
545
+ /**
546
+ * @example
547
+ * true
548
+ */
549
+ success?: boolean;
550
+ /**
551
+ * @example
552
+ * 2024-04-24 11:54:34
553
+ */
554
+ time?: string;
555
+ static names(): { [key: string]: string } {
556
+ return {
557
+ cost: 'cost',
558
+ data: 'data',
559
+ dataType: 'dataType',
560
+ errCode: 'errCode',
561
+ message: 'message',
562
+ requestId: 'requestId',
563
+ success: 'success',
564
+ time: 'time',
565
+ };
566
+ }
567
+
568
+ static types(): { [key: string]: any } {
569
+ return {
570
+ cost: 'number',
571
+ data: 'string',
572
+ dataType: 'string',
573
+ errCode: 'string',
574
+ message: 'string',
575
+ requestId: 'string',
576
+ success: 'boolean',
577
+ time: 'string',
578
+ };
579
+ }
580
+
581
+ constructor(map?: { [key: string]: any }) {
582
+ super(map);
583
+ }
584
+ }
585
+
586
+ export class CreatePdfTranslateTaskResponse extends $tea.Model {
587
+ headers?: { [key: string]: string };
588
+ statusCode?: number;
589
+ body?: CreatePdfTranslateTaskResponseBody;
590
+ static names(): { [key: string]: string } {
591
+ return {
592
+ headers: 'headers',
593
+ statusCode: 'statusCode',
594
+ body: 'body',
595
+ };
596
+ }
597
+
598
+ static types(): { [key: string]: any } {
599
+ return {
600
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
601
+ statusCode: 'number',
602
+ body: CreatePdfTranslateTaskResponseBody,
603
+ };
604
+ }
605
+
606
+ constructor(map?: { [key: string]: any }) {
607
+ super(map);
608
+ }
609
+ }
610
+
318
611
  export class CreatePredefinedDocumentRequest extends $tea.Model {
319
612
  chunks?: CreatePredefinedDocumentRequestChunks[];
320
613
  /**
@@ -430,7 +723,159 @@ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
430
723
  export class CreatePredefinedDocumentResponse extends $tea.Model {
431
724
  headers?: { [key: string]: string };
432
725
  statusCode?: number;
433
- body?: CreatePredefinedDocumentResponseBody;
726
+ body?: CreatePredefinedDocumentResponseBody;
727
+ static names(): { [key: string]: string } {
728
+ return {
729
+ headers: 'headers',
730
+ statusCode: 'statusCode',
731
+ body: 'body',
732
+ };
733
+ }
734
+
735
+ static types(): { [key: string]: any } {
736
+ return {
737
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
738
+ statusCode: 'number',
739
+ body: CreatePredefinedDocumentResponseBody,
740
+ };
741
+ }
742
+
743
+ constructor(map?: { [key: string]: any }) {
744
+ super(map);
745
+ }
746
+ }
747
+
748
+ export class CreateQualityCheckTaskRequest extends $tea.Model {
749
+ /**
750
+ * @remarks
751
+ * This parameter is required.
752
+ */
753
+ conversationList?: CreateQualityCheckTaskRequestConversationList;
754
+ /**
755
+ * @remarks
756
+ * This parameter is required.
757
+ *
758
+ * @example
759
+ * 2024-09-27 11:23:20
760
+ */
761
+ gmtService?: string;
762
+ metaData?: { [key: string]: string };
763
+ qualityGroup?: string[];
764
+ /**
765
+ * @remarks
766
+ * This parameter is required.
767
+ *
768
+ * @example
769
+ * 0FC6636E-380A-5369-AE01-D1C15BB9B254
770
+ */
771
+ requestId?: string;
772
+ /**
773
+ * @remarks
774
+ * This parameter is required.
775
+ *
776
+ * @example
777
+ * 0
778
+ */
779
+ type?: string;
780
+ static names(): { [key: string]: string } {
781
+ return {
782
+ conversationList: 'conversationList',
783
+ gmtService: 'gmtService',
784
+ metaData: 'metaData',
785
+ qualityGroup: 'qualityGroup',
786
+ requestId: 'requestId',
787
+ type: 'type',
788
+ };
789
+ }
790
+
791
+ static types(): { [key: string]: any } {
792
+ return {
793
+ conversationList: CreateQualityCheckTaskRequestConversationList,
794
+ gmtService: 'string',
795
+ metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
796
+ qualityGroup: { 'type': 'array', 'itemType': 'string' },
797
+ requestId: 'string',
798
+ type: 'string',
799
+ };
800
+ }
801
+
802
+ constructor(map?: { [key: string]: any }) {
803
+ super(map);
804
+ }
805
+ }
806
+
807
+ export class CreateQualityCheckTaskResponseBody extends $tea.Model {
808
+ /**
809
+ * @example
810
+ * null
811
+ */
812
+ cost?: number;
813
+ data?: CreateQualityCheckTaskResponseBodyData;
814
+ /**
815
+ * @example
816
+ * null
817
+ */
818
+ dataType?: string;
819
+ /**
820
+ * @example
821
+ * 0
822
+ */
823
+ errCode?: string;
824
+ /**
825
+ * @example
826
+ * ok
827
+ */
828
+ message?: string;
829
+ /**
830
+ * @example
831
+ * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
832
+ */
833
+ requestId?: string;
834
+ /**
835
+ * @example
836
+ * true
837
+ */
838
+ success?: boolean;
839
+ /**
840
+ * @example
841
+ * 2024-04-24 11:54:34
842
+ */
843
+ time?: string;
844
+ static names(): { [key: string]: string } {
845
+ return {
846
+ cost: 'cost',
847
+ data: 'data',
848
+ dataType: 'dataType',
849
+ errCode: 'errCode',
850
+ message: 'message',
851
+ requestId: 'requestId',
852
+ success: 'success',
853
+ time: 'time',
854
+ };
855
+ }
856
+
857
+ static types(): { [key: string]: any } {
858
+ return {
859
+ cost: 'number',
860
+ data: CreateQualityCheckTaskResponseBodyData,
861
+ dataType: 'string',
862
+ errCode: 'string',
863
+ message: 'string',
864
+ requestId: 'string',
865
+ success: 'boolean',
866
+ time: 'string',
867
+ };
868
+ }
869
+
870
+ constructor(map?: { [key: string]: any }) {
871
+ super(map);
872
+ }
873
+ }
874
+
875
+ export class CreateQualityCheckTaskResponse extends $tea.Model {
876
+ headers?: { [key: string]: string };
877
+ statusCode?: number;
878
+ body?: CreateQualityCheckTaskResponseBody;
434
879
  static names(): { [key: string]: string } {
435
880
  return {
436
881
  headers: 'headers',
@@ -443,7 +888,7 @@ export class CreatePredefinedDocumentResponse extends $tea.Model {
443
888
  return {
444
889
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
445
890
  statusCode: 'number',
446
- body: CreatePredefinedDocumentResponseBody,
891
+ body: CreateQualityCheckTaskResponseBody,
447
892
  };
448
893
  }
449
894
 
@@ -1635,7 +2080,262 @@ export class GetLibraryResponseBody extends $tea.Model {
1635
2080
  * null
1636
2081
  */
1637
2082
  cost?: number;
1638
- data?: GetLibraryResponseBodyData;
2083
+ data?: GetLibraryResponseBodyData;
2084
+ /**
2085
+ * @example
2086
+ * null
2087
+ */
2088
+ dataType?: string;
2089
+ /**
2090
+ * @example
2091
+ * 0
2092
+ */
2093
+ errCode?: string;
2094
+ /**
2095
+ * @example
2096
+ * ok
2097
+ */
2098
+ message?: string;
2099
+ /**
2100
+ * @example
2101
+ * 44BD277A-87F9-5310-8D63-3E6645F1DA85
2102
+ */
2103
+ requestId?: string;
2104
+ /**
2105
+ * @example
2106
+ * true
2107
+ */
2108
+ success?: boolean;
2109
+ /**
2110
+ * @example
2111
+ * 2024-01-01 00:00:00
2112
+ */
2113
+ time?: string;
2114
+ static names(): { [key: string]: string } {
2115
+ return {
2116
+ cost: 'cost',
2117
+ data: 'data',
2118
+ dataType: 'dataType',
2119
+ errCode: 'errCode',
2120
+ message: 'message',
2121
+ requestId: 'requestId',
2122
+ success: 'success',
2123
+ time: 'time',
2124
+ };
2125
+ }
2126
+
2127
+ static types(): { [key: string]: any } {
2128
+ return {
2129
+ cost: 'number',
2130
+ data: GetLibraryResponseBodyData,
2131
+ dataType: 'string',
2132
+ errCode: 'string',
2133
+ message: 'string',
2134
+ requestId: 'string',
2135
+ success: 'boolean',
2136
+ time: 'string',
2137
+ };
2138
+ }
2139
+
2140
+ constructor(map?: { [key: string]: any }) {
2141
+ super(map);
2142
+ }
2143
+ }
2144
+
2145
+ export class GetLibraryResponse extends $tea.Model {
2146
+ headers?: { [key: string]: string };
2147
+ statusCode?: number;
2148
+ body?: GetLibraryResponseBody;
2149
+ static names(): { [key: string]: string } {
2150
+ return {
2151
+ headers: 'headers',
2152
+ statusCode: 'statusCode',
2153
+ body: 'body',
2154
+ };
2155
+ }
2156
+
2157
+ static types(): { [key: string]: any } {
2158
+ return {
2159
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2160
+ statusCode: 'number',
2161
+ body: GetLibraryResponseBody,
2162
+ };
2163
+ }
2164
+
2165
+ constructor(map?: { [key: string]: any }) {
2166
+ super(map);
2167
+ }
2168
+ }
2169
+
2170
+ export class GetLibraryListRequest extends $tea.Model {
2171
+ /**
2172
+ * @example
2173
+ * 1
2174
+ */
2175
+ page?: number;
2176
+ /**
2177
+ * @example
2178
+ * 10
2179
+ */
2180
+ pageSize?: number;
2181
+ query?: string;
2182
+ static names(): { [key: string]: string } {
2183
+ return {
2184
+ page: 'page',
2185
+ pageSize: 'pageSize',
2186
+ query: 'query',
2187
+ };
2188
+ }
2189
+
2190
+ static types(): { [key: string]: any } {
2191
+ return {
2192
+ page: 'number',
2193
+ pageSize: 'number',
2194
+ query: 'string',
2195
+ };
2196
+ }
2197
+
2198
+ constructor(map?: { [key: string]: any }) {
2199
+ super(map);
2200
+ }
2201
+ }
2202
+
2203
+ export class GetLibraryListResponseBody extends $tea.Model {
2204
+ /**
2205
+ * @example
2206
+ * null
2207
+ */
2208
+ cost?: number;
2209
+ data?: GetLibraryListResponseBodyData;
2210
+ /**
2211
+ * @example
2212
+ * null
2213
+ */
2214
+ dataType?: string;
2215
+ /**
2216
+ * @example
2217
+ * 0
2218
+ */
2219
+ errCode?: string;
2220
+ /**
2221
+ * @example
2222
+ * ok
2223
+ */
2224
+ message?: string;
2225
+ /**
2226
+ * @example
2227
+ * 0a06dfe817156528535968405edce3
2228
+ */
2229
+ requestId?: string;
2230
+ /**
2231
+ * @example
2232
+ * true
2233
+ */
2234
+ success?: boolean;
2235
+ /**
2236
+ * @example
2237
+ * 2024-01-01 00:00:00
2238
+ */
2239
+ time?: string;
2240
+ static names(): { [key: string]: string } {
2241
+ return {
2242
+ cost: 'cost',
2243
+ data: 'data',
2244
+ dataType: 'dataType',
2245
+ errCode: 'errCode',
2246
+ message: 'message',
2247
+ requestId: 'requestId',
2248
+ success: 'success',
2249
+ time: 'time',
2250
+ };
2251
+ }
2252
+
2253
+ static types(): { [key: string]: any } {
2254
+ return {
2255
+ cost: 'number',
2256
+ data: GetLibraryListResponseBodyData,
2257
+ dataType: 'string',
2258
+ errCode: 'string',
2259
+ message: 'string',
2260
+ requestId: 'string',
2261
+ success: 'boolean',
2262
+ time: 'string',
2263
+ };
2264
+ }
2265
+
2266
+ constructor(map?: { [key: string]: any }) {
2267
+ super(map);
2268
+ }
2269
+ }
2270
+
2271
+ export class GetLibraryListResponse extends $tea.Model {
2272
+ headers?: { [key: string]: string };
2273
+ statusCode?: number;
2274
+ body?: GetLibraryListResponseBody;
2275
+ static names(): { [key: string]: string } {
2276
+ return {
2277
+ headers: 'headers',
2278
+ statusCode: 'statusCode',
2279
+ body: 'body',
2280
+ };
2281
+ }
2282
+
2283
+ static types(): { [key: string]: any } {
2284
+ return {
2285
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2286
+ statusCode: 'number',
2287
+ body: GetLibraryListResponseBody,
2288
+ };
2289
+ }
2290
+
2291
+ constructor(map?: { [key: string]: any }) {
2292
+ super(map);
2293
+ }
2294
+ }
2295
+
2296
+ export class GetParseResultRequest extends $tea.Model {
2297
+ /**
2298
+ * @remarks
2299
+ * This parameter is required.
2300
+ *
2301
+ * @example
2302
+ * 873648346573245
2303
+ */
2304
+ docId?: string;
2305
+ /**
2306
+ * @remarks
2307
+ * This parameter is required.
2308
+ *
2309
+ * @example
2310
+ * sjdgdsfg
2311
+ */
2312
+ libraryId?: string;
2313
+ static names(): { [key: string]: string } {
2314
+ return {
2315
+ docId: 'docId',
2316
+ libraryId: 'libraryId',
2317
+ };
2318
+ }
2319
+
2320
+ static types(): { [key: string]: any } {
2321
+ return {
2322
+ docId: 'string',
2323
+ libraryId: 'string',
2324
+ };
2325
+ }
2326
+
2327
+ constructor(map?: { [key: string]: any }) {
2328
+ super(map);
2329
+ }
2330
+ }
2331
+
2332
+ export class GetParseResultResponseBody extends $tea.Model {
2333
+ /**
2334
+ * @example
2335
+ * null
2336
+ */
2337
+ cost?: number;
2338
+ data?: GetParseResultResponseBodyData;
1639
2339
  /**
1640
2340
  * @example
1641
2341
  * null
@@ -1653,7 +2353,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1653
2353
  message?: string;
1654
2354
  /**
1655
2355
  * @example
1656
- * 44BD277A-87F9-5310-8D63-3E6645F1DA85
2356
+ * 0abb793617204049360065953ec6dd
1657
2357
  */
1658
2358
  requestId?: string;
1659
2359
  /**
@@ -1663,7 +2363,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1663
2363
  success?: boolean;
1664
2364
  /**
1665
2365
  * @example
1666
- * 2024-01-01 00:00:00
2366
+ * 2024-04-24 11:54:34
1667
2367
  */
1668
2368
  time?: string;
1669
2369
  static names(): { [key: string]: string } {
@@ -1682,7 +2382,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1682
2382
  static types(): { [key: string]: any } {
1683
2383
  return {
1684
2384
  cost: 'number',
1685
- data: GetLibraryResponseBodyData,
2385
+ data: GetParseResultResponseBodyData,
1686
2386
  dataType: 'string',
1687
2387
  errCode: 'string',
1688
2388
  message: 'string',
@@ -1697,10 +2397,10 @@ export class GetLibraryResponseBody extends $tea.Model {
1697
2397
  }
1698
2398
  }
1699
2399
 
1700
- export class GetLibraryResponse extends $tea.Model {
2400
+ export class GetParseResultResponse extends $tea.Model {
1701
2401
  headers?: { [key: string]: string };
1702
2402
  statusCode?: number;
1703
- body?: GetLibraryResponseBody;
2403
+ body?: GetParseResultResponseBody;
1704
2404
  static names(): { [key: string]: string } {
1705
2405
  return {
1706
2406
  headers: 'headers',
@@ -1713,7 +2413,7 @@ export class GetLibraryResponse extends $tea.Model {
1713
2413
  return {
1714
2414
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1715
2415
  statusCode: 'number',
1716
- body: GetLibraryResponseBody,
2416
+ body: GetParseResultResponseBody,
1717
2417
  };
1718
2418
  }
1719
2419
 
@@ -1722,31 +2422,24 @@ export class GetLibraryResponse extends $tea.Model {
1722
2422
  }
1723
2423
  }
1724
2424
 
1725
- export class GetLibraryListRequest extends $tea.Model {
1726
- /**
1727
- * @example
1728
- * 1
1729
- */
1730
- page?: number;
2425
+ export class GetQualityCheckTaskResultRequest extends $tea.Model {
1731
2426
  /**
2427
+ * @remarks
2428
+ * This parameter is required.
2429
+ *
1732
2430
  * @example
1733
- * 10
2431
+ * 17071319
1734
2432
  */
1735
- pageSize?: number;
1736
- query?: string;
2433
+ taskId?: string;
1737
2434
  static names(): { [key: string]: string } {
1738
2435
  return {
1739
- page: 'page',
1740
- pageSize: 'pageSize',
1741
- query: 'query',
2436
+ taskId: 'taskId',
1742
2437
  };
1743
2438
  }
1744
2439
 
1745
2440
  static types(): { [key: string]: any } {
1746
2441
  return {
1747
- page: 'number',
1748
- pageSize: 'number',
1749
- query: 'string',
2442
+ taskId: 'string',
1750
2443
  };
1751
2444
  }
1752
2445
 
@@ -1755,13 +2448,13 @@ export class GetLibraryListRequest extends $tea.Model {
1755
2448
  }
1756
2449
  }
1757
2450
 
1758
- export class GetLibraryListResponseBody extends $tea.Model {
2451
+ export class GetQualityCheckTaskResultResponseBody extends $tea.Model {
1759
2452
  /**
1760
2453
  * @example
1761
2454
  * null
1762
2455
  */
1763
2456
  cost?: number;
1764
- data?: GetLibraryListResponseBodyData;
2457
+ data?: GetQualityCheckTaskResultResponseBodyData;
1765
2458
  /**
1766
2459
  * @example
1767
2460
  * null
@@ -1779,7 +2472,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
1779
2472
  message?: string;
1780
2473
  /**
1781
2474
  * @example
1782
- * 0a06dfe817156528535968405edce3
2475
+ * 67C7021A-D268-553D-8C15-A087B9604028
1783
2476
  */
1784
2477
  requestId?: string;
1785
2478
  /**
@@ -1808,7 +2501,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
1808
2501
  static types(): { [key: string]: any } {
1809
2502
  return {
1810
2503
  cost: 'number',
1811
- data: GetLibraryListResponseBodyData,
2504
+ data: GetQualityCheckTaskResultResponseBodyData,
1812
2505
  dataType: 'string',
1813
2506
  errCode: 'string',
1814
2507
  message: 'string',
@@ -1823,10 +2516,10 @@ export class GetLibraryListResponseBody extends $tea.Model {
1823
2516
  }
1824
2517
  }
1825
2518
 
1826
- export class GetLibraryListResponse extends $tea.Model {
2519
+ export class GetQualityCheckTaskResultResponse extends $tea.Model {
1827
2520
  headers?: { [key: string]: string };
1828
2521
  statusCode?: number;
1829
- body?: GetLibraryListResponseBody;
2522
+ body?: GetQualityCheckTaskResultResponseBody;
1830
2523
  static names(): { [key: string]: string } {
1831
2524
  return {
1832
2525
  headers: 'headers',
@@ -1839,7 +2532,7 @@ export class GetLibraryListResponse extends $tea.Model {
1839
2532
  return {
1840
2533
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1841
2534
  statusCode: 'number',
1842
- body: GetLibraryListResponseBody,
2535
+ body: GetQualityCheckTaskResultResponseBody,
1843
2536
  };
1844
2537
  }
1845
2538
 
@@ -1848,34 +2541,24 @@ export class GetLibraryListResponse extends $tea.Model {
1848
2541
  }
1849
2542
  }
1850
2543
 
1851
- export class GetParseResultRequest extends $tea.Model {
1852
- /**
1853
- * @remarks
1854
- * This parameter is required.
1855
- *
1856
- * @example
1857
- * 873648346573245
1858
- */
1859
- docId?: string;
2544
+ export class GetSummaryTaskResultRequest extends $tea.Model {
1860
2545
  /**
1861
2546
  * @remarks
1862
2547
  * This parameter is required.
1863
2548
  *
1864
2549
  * @example
1865
- * sjdgdsfg
2550
+ * 17071319
1866
2551
  */
1867
- libraryId?: string;
2552
+ taskId?: string;
1868
2553
  static names(): { [key: string]: string } {
1869
2554
  return {
1870
- docId: 'docId',
1871
- libraryId: 'libraryId',
2555
+ taskId: 'taskId',
1872
2556
  };
1873
2557
  }
1874
2558
 
1875
2559
  static types(): { [key: string]: any } {
1876
2560
  return {
1877
- docId: 'string',
1878
- libraryId: 'string',
2561
+ taskId: 'string',
1879
2562
  };
1880
2563
  }
1881
2564
 
@@ -1884,13 +2567,13 @@ export class GetParseResultRequest extends $tea.Model {
1884
2567
  }
1885
2568
  }
1886
2569
 
1887
- export class GetParseResultResponseBody extends $tea.Model {
2570
+ export class GetSummaryTaskResultResponseBody extends $tea.Model {
1888
2571
  /**
1889
2572
  * @example
1890
2573
  * null
1891
2574
  */
1892
2575
  cost?: number;
1893
- data?: GetParseResultResponseBodyData;
2576
+ data?: GetSummaryTaskResultResponseBodyData;
1894
2577
  /**
1895
2578
  * @example
1896
2579
  * null
@@ -1908,7 +2591,7 @@ export class GetParseResultResponseBody extends $tea.Model {
1908
2591
  message?: string;
1909
2592
  /**
1910
2593
  * @example
1911
- * 0abb793617204049360065953ec6dd
2594
+ * 0bc13a9517168617617186457e401f
1912
2595
  */
1913
2596
  requestId?: string;
1914
2597
  /**
@@ -1937,7 +2620,7 @@ export class GetParseResultResponseBody extends $tea.Model {
1937
2620
  static types(): { [key: string]: any } {
1938
2621
  return {
1939
2622
  cost: 'number',
1940
- data: GetParseResultResponseBodyData,
2623
+ data: GetSummaryTaskResultResponseBodyData,
1941
2624
  dataType: 'string',
1942
2625
  errCode: 'string',
1943
2626
  message: 'string',
@@ -1952,10 +2635,10 @@ export class GetParseResultResponseBody extends $tea.Model {
1952
2635
  }
1953
2636
  }
1954
2637
 
1955
- export class GetParseResultResponse extends $tea.Model {
2638
+ export class GetSummaryTaskResultResponse extends $tea.Model {
1956
2639
  headers?: { [key: string]: string };
1957
2640
  statusCode?: number;
1958
- body?: GetParseResultResponseBody;
2641
+ body?: GetSummaryTaskResultResponseBody;
1959
2642
  static names(): { [key: string]: string } {
1960
2643
  return {
1961
2644
  headers: 'headers',
@@ -1968,7 +2651,7 @@ export class GetParseResultResponse extends $tea.Model {
1968
2651
  return {
1969
2652
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1970
2653
  statusCode: 'number',
1971
- body: GetParseResultResponseBody,
2654
+ body: GetSummaryTaskResultResponseBody,
1972
2655
  };
1973
2656
  }
1974
2657
 
@@ -1977,7 +2660,7 @@ export class GetParseResultResponse extends $tea.Model {
1977
2660
  }
1978
2661
  }
1979
2662
 
1980
- export class GetSummaryTaskResultRequest extends $tea.Model {
2663
+ export class GetTaskResultRequest extends $tea.Model {
1981
2664
  /**
1982
2665
  * @remarks
1983
2666
  * This parameter is required.
@@ -2003,13 +2686,19 @@ export class GetSummaryTaskResultRequest extends $tea.Model {
2003
2686
  }
2004
2687
  }
2005
2688
 
2006
- export class GetSummaryTaskResultResponseBody extends $tea.Model {
2689
+ export class GetTaskResultResponseBody extends $tea.Model {
2007
2690
  /**
2008
2691
  * @example
2009
2692
  * null
2010
2693
  */
2011
2694
  cost?: number;
2012
- data?: GetSummaryTaskResultResponseBodyData;
2695
+ /**
2696
+ * @example
2697
+ * {
2698
+ * "file_url": "https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf"
2699
+ * }
2700
+ */
2701
+ data?: { [key: string]: any };
2013
2702
  /**
2014
2703
  * @example
2015
2704
  * null
@@ -2027,7 +2716,7 @@ export class GetSummaryTaskResultResponseBody extends $tea.Model {
2027
2716
  message?: string;
2028
2717
  /**
2029
2718
  * @example
2030
- * 0bc13a9517168617617186457e401f
2719
+ * 9D5D6BB5-BEAE-53C8-A70A-7275CC1F856C
2031
2720
  */
2032
2721
  requestId?: string;
2033
2722
  /**
@@ -2056,7 +2745,7 @@ export class GetSummaryTaskResultResponseBody extends $tea.Model {
2056
2745
  static types(): { [key: string]: any } {
2057
2746
  return {
2058
2747
  cost: 'number',
2059
- data: GetSummaryTaskResultResponseBodyData,
2748
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2060
2749
  dataType: 'string',
2061
2750
  errCode: 'string',
2062
2751
  message: 'string',
@@ -2071,10 +2760,10 @@ export class GetSummaryTaskResultResponseBody extends $tea.Model {
2071
2760
  }
2072
2761
  }
2073
2762
 
2074
- export class GetSummaryTaskResultResponse extends $tea.Model {
2763
+ export class GetTaskResultResponse extends $tea.Model {
2075
2764
  headers?: { [key: string]: string };
2076
2765
  statusCode?: number;
2077
- body?: GetSummaryTaskResultResponseBody;
2766
+ body?: GetTaskResultResponseBody;
2078
2767
  static names(): { [key: string]: string } {
2079
2768
  return {
2080
2769
  headers: 'headers',
@@ -2087,7 +2776,7 @@ export class GetSummaryTaskResultResponse extends $tea.Model {
2087
2776
  return {
2088
2777
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2089
2778
  statusCode: 'number',
2090
- body: GetSummaryTaskResultResponseBody,
2779
+ body: GetTaskResultResponseBody,
2091
2780
  };
2092
2781
  }
2093
2782
 
@@ -3684,6 +4373,56 @@ export class UploadDocumentResponse extends $tea.Model {
3684
4373
  }
3685
4374
  }
3686
4375
 
4376
+ export class CreateDocsSummaryTaskRequestDocInfos extends $tea.Model {
4377
+ /**
4378
+ * @remarks
4379
+ * This parameter is required.
4380
+ *
4381
+ * @example
4382
+ * 198386463432
4383
+ */
4384
+ docId?: string;
4385
+ /**
4386
+ * @example
4387
+ * 2
4388
+ */
4389
+ endPage?: number;
4390
+ /**
4391
+ * @remarks
4392
+ * This parameter is required.
4393
+ *
4394
+ * @example
4395
+ * rdxrmo6amk
4396
+ */
4397
+ libraryId?: string;
4398
+ /**
4399
+ * @example
4400
+ * 1
4401
+ */
4402
+ startPage?: number;
4403
+ static names(): { [key: string]: string } {
4404
+ return {
4405
+ docId: 'docId',
4406
+ endPage: 'endPage',
4407
+ libraryId: 'libraryId',
4408
+ startPage: 'startPage',
4409
+ };
4410
+ }
4411
+
4412
+ static types(): { [key: string]: any } {
4413
+ return {
4414
+ docId: 'string',
4415
+ endPage: 'number',
4416
+ libraryId: 'string',
4417
+ startPage: 'number',
4418
+ };
4419
+ }
4420
+
4421
+ constructor(map?: { [key: string]: any }) {
4422
+ super(map);
4423
+ }
4424
+ }
4425
+
3687
4426
  export class CreateLibraryRequestIndexSettingChunkStrategy extends $tea.Model {
3688
4427
  /**
3689
4428
  * @example
@@ -4066,10 +4805,178 @@ export class CreatePredefinedDocumentRequestChunks extends $tea.Model {
4066
4805
 
4067
4806
  static types(): { [key: string]: any } {
4068
4807
  return {
4069
- chunkMeta: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
4070
- chunkOrder: 'number',
4071
- chunkText: 'string',
4072
- chunkType: 'string',
4808
+ chunkMeta: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
4809
+ chunkOrder: 'number',
4810
+ chunkText: 'string',
4811
+ chunkType: 'string',
4812
+ };
4813
+ }
4814
+
4815
+ constructor(map?: { [key: string]: any }) {
4816
+ super(map);
4817
+ }
4818
+ }
4819
+
4820
+ export class CreateQualityCheckTaskRequestConversationListDialogueList extends $tea.Model {
4821
+ /**
4822
+ * @example
4823
+ * 0
4824
+ */
4825
+ begin?: number;
4826
+ /**
4827
+ * @example
4828
+ * 2024-05-23 14:57:50
4829
+ */
4830
+ beginTime?: string;
4831
+ /**
4832
+ * @remarks
4833
+ * This parameter is required.
4834
+ */
4835
+ content?: string;
4836
+ /**
4837
+ * @example
4838
+ * 2348234
4839
+ */
4840
+ customerId?: string;
4841
+ /**
4842
+ * @example
4843
+ * 23874627346
4844
+ */
4845
+ customerServiceId?: string;
4846
+ /**
4847
+ * @example
4848
+ * 0
4849
+ */
4850
+ customerServiceType?: string;
4851
+ /**
4852
+ * @example
4853
+ * 0
4854
+ */
4855
+ end?: number;
4856
+ /**
4857
+ * @remarks
4858
+ * This parameter is required.
4859
+ *
4860
+ * @example
4861
+ * 1
4862
+ */
4863
+ role?: string;
4864
+ /**
4865
+ * @remarks
4866
+ * This parameter is required.
4867
+ *
4868
+ * @example
4869
+ * TEXT
4870
+ */
4871
+ type?: string;
4872
+ static names(): { [key: string]: string } {
4873
+ return {
4874
+ begin: 'begin',
4875
+ beginTime: 'beginTime',
4876
+ content: 'content',
4877
+ customerId: 'customerId',
4878
+ customerServiceId: 'customerServiceId',
4879
+ customerServiceType: 'customerServiceType',
4880
+ end: 'end',
4881
+ role: 'role',
4882
+ type: 'type',
4883
+ };
4884
+ }
4885
+
4886
+ static types(): { [key: string]: any } {
4887
+ return {
4888
+ begin: 'number',
4889
+ beginTime: 'string',
4890
+ content: 'string',
4891
+ customerId: 'string',
4892
+ customerServiceId: 'string',
4893
+ customerServiceType: 'string',
4894
+ end: 'number',
4895
+ role: 'string',
4896
+ type: 'string',
4897
+ };
4898
+ }
4899
+
4900
+ constructor(map?: { [key: string]: any }) {
4901
+ super(map);
4902
+ }
4903
+ }
4904
+
4905
+ export class CreateQualityCheckTaskRequestConversationList extends $tea.Model {
4906
+ /**
4907
+ * @example
4908
+ * 1
4909
+ */
4910
+ callType?: string;
4911
+ /**
4912
+ * @example
4913
+ * 1
4914
+ */
4915
+ customerId?: string;
4916
+ customerName?: string;
4917
+ /**
4918
+ * @example
4919
+ * xxx
4920
+ */
4921
+ customerServiceId?: string;
4922
+ customerServiceName?: string;
4923
+ /**
4924
+ * @remarks
4925
+ * This parameter is required.
4926
+ */
4927
+ dialogueList?: CreateQualityCheckTaskRequestConversationListDialogueList[];
4928
+ /**
4929
+ * @example
4930
+ * 2024-09-27 11:23:20
4931
+ */
4932
+ gmtService?: string;
4933
+ static names(): { [key: string]: string } {
4934
+ return {
4935
+ callType: 'callType',
4936
+ customerId: 'customerId',
4937
+ customerName: 'customerName',
4938
+ customerServiceId: 'customerServiceId',
4939
+ customerServiceName: 'customerServiceName',
4940
+ dialogueList: 'dialogueList',
4941
+ gmtService: 'gmtService',
4942
+ };
4943
+ }
4944
+
4945
+ static types(): { [key: string]: any } {
4946
+ return {
4947
+ callType: 'string',
4948
+ customerId: 'string',
4949
+ customerName: 'string',
4950
+ customerServiceId: 'string',
4951
+ customerServiceName: 'string',
4952
+ dialogueList: { 'type': 'array', 'itemType': CreateQualityCheckTaskRequestConversationListDialogueList },
4953
+ gmtService: 'string',
4954
+ };
4955
+ }
4956
+
4957
+ constructor(map?: { [key: string]: any }) {
4958
+ super(map);
4959
+ }
4960
+ }
4961
+
4962
+ export class CreateQualityCheckTaskResponseBodyData extends $tea.Model {
4963
+ /**
4964
+ * @remarks
4965
+ * taskId
4966
+ *
4967
+ * @example
4968
+ * 172373500521
4969
+ */
4970
+ taskId?: string;
4971
+ static names(): { [key: string]: string } {
4972
+ return {
4973
+ taskId: 'taskId',
4974
+ };
4975
+ }
4976
+
4977
+ static types(): { [key: string]: any } {
4978
+ return {
4979
+ taskId: 'string',
4073
4980
  };
4074
4981
  }
4075
4982
 
@@ -5565,42 +6472,388 @@ export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
5565
6472
  export class GetLibraryListResponseBodyData extends $tea.Model {
5566
6473
  /**
5567
6474
  * @example
5568
- * 1
6475
+ * 1
6476
+ */
6477
+ currentPage?: number;
6478
+ /**
6479
+ * @example
6480
+ * 10
6481
+ */
6482
+ pageSize?: number;
6483
+ records?: GetLibraryListResponseBodyDataRecords[];
6484
+ /**
6485
+ * @example
6486
+ * 10
6487
+ */
6488
+ totalPages?: number;
6489
+ /**
6490
+ * @example
6491
+ * 100
6492
+ */
6493
+ totalRecords?: number;
6494
+ static names(): { [key: string]: string } {
6495
+ return {
6496
+ currentPage: 'currentPage',
6497
+ pageSize: 'pageSize',
6498
+ records: 'records',
6499
+ totalPages: 'totalPages',
6500
+ totalRecords: 'totalRecords',
6501
+ };
6502
+ }
6503
+
6504
+ static types(): { [key: string]: any } {
6505
+ return {
6506
+ currentPage: 'number',
6507
+ pageSize: 'number',
6508
+ records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
6509
+ totalPages: 'number',
6510
+ totalRecords: 'number',
6511
+ };
6512
+ }
6513
+
6514
+ constructor(map?: { [key: string]: any }) {
6515
+ super(map);
6516
+ }
6517
+ }
6518
+
6519
+ export class GetParseResultResponseBodyData extends $tea.Model {
6520
+ /**
6521
+ * @example
6522
+ * pdf
6523
+ */
6524
+ fileType?: string;
6525
+ /**
6526
+ * @example
6527
+ * null
6528
+ */
6529
+ providerType?: string;
6530
+ /**
6531
+ * @example
6532
+ * b0a202e2-5031-4589-a6d7-39185f0d8d01
6533
+ */
6534
+ requestId?: string;
6535
+ /**
6536
+ * @example
6537
+ * {
6538
+ * "Status": "Success",
6539
+ * "Data": {},
6540
+ * "Message": null,
6541
+ * "TaskId": "docmind-20240601-123abc"
6542
+ * }
6543
+ */
6544
+ result?: { [key: string]: any };
6545
+ /**
6546
+ * @example
6547
+ * WaitRefresh
6548
+ */
6549
+ status?: string;
6550
+ static names(): { [key: string]: string } {
6551
+ return {
6552
+ fileType: 'fileType',
6553
+ providerType: 'providerType',
6554
+ requestId: 'requestId',
6555
+ result: 'result',
6556
+ status: 'status',
6557
+ };
6558
+ }
6559
+
6560
+ static types(): { [key: string]: any } {
6561
+ return {
6562
+ fileType: 'string',
6563
+ providerType: 'string',
6564
+ requestId: 'string',
6565
+ result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6566
+ status: 'string',
6567
+ };
6568
+ }
6569
+
6570
+ constructor(map?: { [key: string]: any }) {
6571
+ super(map);
6572
+ }
6573
+ }
6574
+
6575
+ export class GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList extends $tea.Model {
6576
+ /**
6577
+ * @example
6578
+ * 0
6579
+ */
6580
+ begin?: number;
6581
+ /**
6582
+ * @example
6583
+ * 2024-09-27 11:23:20
6584
+ */
6585
+ beginTime?: string;
6586
+ content?: string;
6587
+ /**
6588
+ * @example
6589
+ * null
6590
+ */
6591
+ customerId?: string;
6592
+ customerServiceId?: string;
6593
+ /**
6594
+ * @example
6595
+ * 0
6596
+ */
6597
+ customerServiceType?: string;
6598
+ /**
6599
+ * @example
6600
+ * 0
6601
+ */
6602
+ end?: number;
6603
+ /**
6604
+ * @example
6605
+ * 1
6606
+ */
6607
+ id?: number;
6608
+ /**
6609
+ * @example
6610
+ * 0
6611
+ */
6612
+ role?: string;
6613
+ /**
6614
+ * @example
6615
+ * TEXT
6616
+ */
6617
+ type?: string;
6618
+ static names(): { [key: string]: string } {
6619
+ return {
6620
+ begin: 'begin',
6621
+ beginTime: 'beginTime',
6622
+ content: 'content',
6623
+ customerId: 'customerId',
6624
+ customerServiceId: 'customerServiceId',
6625
+ customerServiceType: 'customerServiceType',
6626
+ end: 'end',
6627
+ id: 'id',
6628
+ role: 'role',
6629
+ type: 'type',
6630
+ };
6631
+ }
6632
+
6633
+ static types(): { [key: string]: any } {
6634
+ return {
6635
+ begin: 'number',
6636
+ beginTime: 'string',
6637
+ content: 'string',
6638
+ customerId: 'string',
6639
+ customerServiceId: 'string',
6640
+ customerServiceType: 'string',
6641
+ end: 'number',
6642
+ id: 'number',
6643
+ role: 'string',
6644
+ type: 'string',
6645
+ };
6646
+ }
6647
+
6648
+ constructor(map?: { [key: string]: any }) {
6649
+ super(map);
6650
+ }
6651
+ }
6652
+
6653
+ export class GetQualityCheckTaskResultResponseBodyDataConversationList extends $tea.Model {
6654
+ /**
6655
+ * @example
6656
+ * 1
6657
+ */
6658
+ callType?: string;
6659
+ /**
6660
+ * @example
6661
+ * 234234
6662
+ */
6663
+ customerId?: string;
6664
+ customerName?: string;
6665
+ /**
6666
+ * @example
6667
+ * 23984763826
6668
+ */
6669
+ customerServiceId?: string;
6670
+ customerServiceName?: string;
6671
+ dialogueList?: GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList[];
6672
+ /**
6673
+ * @example
6674
+ * 2024-09-27 11:23:20
6675
+ */
6676
+ gmtService?: string;
6677
+ static names(): { [key: string]: string } {
6678
+ return {
6679
+ callType: 'callType',
6680
+ customerId: 'customerId',
6681
+ customerName: 'customerName',
6682
+ customerServiceId: 'customerServiceId',
6683
+ customerServiceName: 'customerServiceName',
6684
+ dialogueList: 'dialogueList',
6685
+ gmtService: 'gmtService',
6686
+ };
6687
+ }
6688
+
6689
+ static types(): { [key: string]: any } {
6690
+ return {
6691
+ callType: 'string',
6692
+ customerId: 'string',
6693
+ customerName: 'string',
6694
+ customerServiceId: 'string',
6695
+ customerServiceName: 'string',
6696
+ dialogueList: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataConversationListDialogueList },
6697
+ gmtService: 'string',
6698
+ };
6699
+ }
6700
+
6701
+ constructor(map?: { [key: string]: any }) {
6702
+ super(map);
6703
+ }
6704
+ }
6705
+
6706
+ export class GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue extends $tea.Model {
6707
+ /**
6708
+ * @example
6709
+ * 0
6710
+ */
6711
+ begin?: number;
6712
+ /**
6713
+ * @example
6714
+ * 2024-05-23 14:57:50
6715
+ */
6716
+ beginTime?: string;
6717
+ content?: string;
6718
+ /**
6719
+ * @example
6720
+ * xxx
6721
+ */
6722
+ customerId?: string;
6723
+ /**
6724
+ * @example
6725
+ * 23876432
6726
+ */
6727
+ customerServiceId?: string;
6728
+ /**
6729
+ * @example
6730
+ * 0
6731
+ */
6732
+ customerServiceType?: string;
6733
+ /**
6734
+ * @example
6735
+ * 0
6736
+ */
6737
+ end?: number;
6738
+ /**
6739
+ * @example
6740
+ * 1
6741
+ */
6742
+ id?: number;
6743
+ /**
6744
+ * @example
6745
+ * 0
6746
+ */
6747
+ role?: string;
6748
+ /**
6749
+ * @example
6750
+ * TEXT
6751
+ */
6752
+ type?: string;
6753
+ static names(): { [key: string]: string } {
6754
+ return {
6755
+ begin: 'begin',
6756
+ beginTime: 'beginTime',
6757
+ content: 'content',
6758
+ customerId: 'customerId',
6759
+ customerServiceId: 'customerServiceId',
6760
+ customerServiceType: 'customerServiceType',
6761
+ end: 'end',
6762
+ id: 'id',
6763
+ role: 'role',
6764
+ type: 'type',
6765
+ };
6766
+ }
6767
+
6768
+ static types(): { [key: string]: any } {
6769
+ return {
6770
+ begin: 'number',
6771
+ beginTime: 'string',
6772
+ content: 'string',
6773
+ customerId: 'string',
6774
+ customerServiceId: 'string',
6775
+ customerServiceType: 'string',
6776
+ end: 'number',
6777
+ id: 'number',
6778
+ role: 'string',
6779
+ type: 'string',
6780
+ };
6781
+ }
6782
+
6783
+ constructor(map?: { [key: string]: any }) {
6784
+ super(map);
6785
+ }
6786
+ }
6787
+
6788
+ export class GetQualityCheckTaskResultResponseBodyDataQualityCheckList extends $tea.Model {
6789
+ checkExplanation?: string;
6790
+ /**
6791
+ * @example
6792
+ * PASSED
6793
+ */
6794
+ checkPassed?: string;
6795
+ checkProcess?: string;
6796
+ /**
6797
+ * @example
6798
+ * HIT
5569
6799
  */
5570
- currentPage?: number;
6800
+ checked?: string;
5571
6801
  /**
5572
6802
  * @example
5573
- * 10
6803
+ * 2024-05-23 14:57:50
5574
6804
  */
5575
- pageSize?: number;
5576
- records?: GetLibraryListResponseBodyDataRecords[];
6805
+ gmtEnd?: string;
5577
6806
  /**
5578
6807
  * @example
5579
- * 10
6808
+ * 2024-05-23 14:57:50
5580
6809
  */
5581
- totalPages?: number;
6810
+ gmtStart?: string;
5582
6811
  /**
5583
6812
  * @example
5584
- * 100
6813
+ * 0
5585
6814
  */
5586
- totalRecords?: number;
6815
+ mode?: string;
6816
+ originDialogue?: GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue[];
6817
+ /**
6818
+ * @example
6819
+ * warning_customers
6820
+ */
6821
+ qualityGroupId?: string;
6822
+ ruleDescription?: string;
6823
+ /**
6824
+ * @example
6825
+ * wcm_start
6826
+ */
6827
+ ruleId?: string;
5587
6828
  static names(): { [key: string]: string } {
5588
6829
  return {
5589
- currentPage: 'currentPage',
5590
- pageSize: 'pageSize',
5591
- records: 'records',
5592
- totalPages: 'totalPages',
5593
- totalRecords: 'totalRecords',
6830
+ checkExplanation: 'checkExplanation',
6831
+ checkPassed: 'checkPassed',
6832
+ checkProcess: 'checkProcess',
6833
+ checked: 'checked',
6834
+ gmtEnd: 'gmtEnd',
6835
+ gmtStart: 'gmtStart',
6836
+ mode: 'mode',
6837
+ originDialogue: 'originDialogue',
6838
+ qualityGroupId: 'qualityGroupId',
6839
+ ruleDescription: 'ruleDescription',
6840
+ ruleId: 'ruleId',
5594
6841
  };
5595
6842
  }
5596
6843
 
5597
6844
  static types(): { [key: string]: any } {
5598
6845
  return {
5599
- currentPage: 'number',
5600
- pageSize: 'number',
5601
- records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
5602
- totalPages: 'number',
5603
- totalRecords: 'number',
6846
+ checkExplanation: 'string',
6847
+ checkPassed: 'string',
6848
+ checkProcess: 'string',
6849
+ checked: 'string',
6850
+ gmtEnd: 'string',
6851
+ gmtStart: 'string',
6852
+ mode: 'string',
6853
+ originDialogue: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataQualityCheckListOriginDialogue },
6854
+ qualityGroupId: 'string',
6855
+ ruleDescription: 'string',
6856
+ ruleId: 'string',
5604
6857
  };
5605
6858
  }
5606
6859
 
@@ -5609,54 +6862,55 @@ export class GetLibraryListResponseBodyData extends $tea.Model {
5609
6862
  }
5610
6863
  }
5611
6864
 
5612
- export class GetParseResultResponseBodyData extends $tea.Model {
6865
+ export class GetQualityCheckTaskResultResponseBodyData extends $tea.Model {
6866
+ conversationList?: GetQualityCheckTaskResultResponseBodyDataConversationList;
5613
6867
  /**
5614
6868
  * @example
5615
- * pdf
6869
+ * 2024-09-27 11:23:20
5616
6870
  */
5617
- fileType?: string;
6871
+ gmtCreate?: string;
5618
6872
  /**
5619
6873
  * @example
5620
- * null
6874
+ * 2024-09-27 11:23:20
5621
6875
  */
5622
- providerType?: string;
6876
+ gmtEnd?: string;
5623
6877
  /**
5624
6878
  * @example
5625
- * b0a202e2-5031-4589-a6d7-39185f0d8d01
6879
+ * 2024-09-27 11:23:20
5626
6880
  */
5627
- requestId?: string;
6881
+ gmtStart?: string;
6882
+ qualityCheckList?: GetQualityCheckTaskResultResponseBodyDataQualityCheckList[];
5628
6883
  /**
5629
6884
  * @example
5630
- * {
5631
- * "Status": "Success",
5632
- * "Data": {},
5633
- * "Message": null,
5634
- * "TaskId": "docmind-20240601-123abc"
5635
- * }
6885
+ * INIT
5636
6886
  */
5637
- result?: { [key: string]: any };
6887
+ status?: string;
5638
6888
  /**
5639
6889
  * @example
5640
- * WaitRefresh
6890
+ * 1703557101831
5641
6891
  */
5642
- status?: string;
6892
+ taskId?: string;
5643
6893
  static names(): { [key: string]: string } {
5644
6894
  return {
5645
- fileType: 'fileType',
5646
- providerType: 'providerType',
5647
- requestId: 'requestId',
5648
- result: 'result',
6895
+ conversationList: 'conversationList',
6896
+ gmtCreate: 'gmtCreate',
6897
+ gmtEnd: 'gmtEnd',
6898
+ gmtStart: 'gmtStart',
6899
+ qualityCheckList: 'qualityCheckList',
5649
6900
  status: 'status',
6901
+ taskId: 'taskId',
5650
6902
  };
5651
6903
  }
5652
6904
 
5653
6905
  static types(): { [key: string]: any } {
5654
6906
  return {
5655
- fileType: 'string',
5656
- providerType: 'string',
5657
- requestId: 'string',
5658
- result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6907
+ conversationList: GetQualityCheckTaskResultResponseBodyDataConversationList,
6908
+ gmtCreate: 'string',
6909
+ gmtEnd: 'string',
6910
+ gmtStart: 'string',
6911
+ qualityCheckList: { 'type': 'array', 'itemType': GetQualityCheckTaskResultResponseBodyDataQualityCheckList },
5659
6912
  status: 'string',
6913
+ taskId: 'string',
5660
6914
  };
5661
6915
  }
5662
6916
 
@@ -7550,6 +8804,63 @@ export default class Client extends OpenApi {
7550
8804
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
7551
8805
  }
7552
8806
 
8807
+ /**
8808
+ * 创建财报总结任务
8809
+ *
8810
+ * @param request - CreateDocsSummaryTaskRequest
8811
+ * @param headers - map
8812
+ * @param runtime - runtime options for this request RuntimeOptions
8813
+ * @returns CreateDocsSummaryTaskResponse
8814
+ */
8815
+ async createDocsSummaryTaskWithOptions(workspaceId: string, request: CreateDocsSummaryTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateDocsSummaryTaskResponse> {
8816
+ Util.validateModel(request);
8817
+ let body : {[key: string ]: any} = { };
8818
+ if (!Util.isUnset(request.docInfos)) {
8819
+ body["docInfos"] = request.docInfos;
8820
+ }
8821
+
8822
+ if (!Util.isUnset(request.enableTable)) {
8823
+ body["enableTable"] = request.enableTable;
8824
+ }
8825
+
8826
+ if (!Util.isUnset(request.instruction)) {
8827
+ body["instruction"] = request.instruction;
8828
+ }
8829
+
8830
+ if (!Util.isUnset(request.modelId)) {
8831
+ body["modelId"] = request.modelId;
8832
+ }
8833
+
8834
+ let req = new $OpenApi.OpenApiRequest({
8835
+ headers: headers,
8836
+ body: OpenApiUtil.parseToMap(body),
8837
+ });
8838
+ let params = new $OpenApi.Params({
8839
+ action: "CreateDocsSummaryTask",
8840
+ version: "2024-06-28",
8841
+ protocol: "HTTPS",
8842
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/summary/docs`,
8843
+ method: "POST",
8844
+ authType: "AK",
8845
+ style: "ROA",
8846
+ reqBodyType: "json",
8847
+ bodyType: "json",
8848
+ });
8849
+ return $tea.cast<CreateDocsSummaryTaskResponse>(await this.callApi(params, req, runtime), new CreateDocsSummaryTaskResponse({}));
8850
+ }
8851
+
8852
+ /**
8853
+ * 创建财报总结任务
8854
+ *
8855
+ * @param request - CreateDocsSummaryTaskRequest
8856
+ * @returns CreateDocsSummaryTaskResponse
8857
+ */
8858
+ async createDocsSummaryTask(workspaceId: string, request: CreateDocsSummaryTaskRequest): Promise<CreateDocsSummaryTaskResponse> {
8859
+ let runtime = new $Util.RuntimeOptions({ });
8860
+ let headers : {[key: string ]: string} = { };
8861
+ return await this.createDocsSummaryTaskWithOptions(workspaceId, request, headers, runtime);
8862
+ }
8863
+
7553
8864
  /**
7554
8865
  * 创建财报总结任务
7555
8866
  *
@@ -7676,6 +8987,67 @@ export default class Client extends OpenApi {
7676
8987
  return await this.createLibraryWithOptions(workspaceId, request, headers, runtime);
7677
8988
  }
7678
8989
 
8990
+ /**
8991
+ * 创建PDF翻译任务
8992
+ *
8993
+ * @param request - CreatePdfTranslateTaskRequest
8994
+ * @param headers - map
8995
+ * @param runtime - runtime options for this request RuntimeOptions
8996
+ * @returns CreatePdfTranslateTaskResponse
8997
+ */
8998
+ async createPdfTranslateTaskWithOptions(workspaceId: string, request: CreatePdfTranslateTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreatePdfTranslateTaskResponse> {
8999
+ Util.validateModel(request);
9000
+ let body : {[key: string ]: any} = { };
9001
+ if (!Util.isUnset(request.docId)) {
9002
+ body["docId"] = request.docId;
9003
+ }
9004
+
9005
+ if (!Util.isUnset(request.knowledge)) {
9006
+ body["knowledge"] = request.knowledge;
9007
+ }
9008
+
9009
+ if (!Util.isUnset(request.libraryId)) {
9010
+ body["libraryId"] = request.libraryId;
9011
+ }
9012
+
9013
+ if (!Util.isUnset(request.modelId)) {
9014
+ body["modelId"] = request.modelId;
9015
+ }
9016
+
9017
+ if (!Util.isUnset(request.translateTo)) {
9018
+ body["translateTo"] = request.translateTo;
9019
+ }
9020
+
9021
+ let req = new $OpenApi.OpenApiRequest({
9022
+ headers: headers,
9023
+ body: OpenApiUtil.parseToMap(body),
9024
+ });
9025
+ let params = new $OpenApi.Params({
9026
+ action: "CreatePdfTranslateTask",
9027
+ version: "2024-06-28",
9028
+ protocol: "HTTPS",
9029
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/pdfTranslate`,
9030
+ method: "POST",
9031
+ authType: "AK",
9032
+ style: "ROA",
9033
+ reqBodyType: "json",
9034
+ bodyType: "json",
9035
+ });
9036
+ return $tea.cast<CreatePdfTranslateTaskResponse>(await this.callApi(params, req, runtime), new CreatePdfTranslateTaskResponse({}));
9037
+ }
9038
+
9039
+ /**
9040
+ * 创建PDF翻译任务
9041
+ *
9042
+ * @param request - CreatePdfTranslateTaskRequest
9043
+ * @returns CreatePdfTranslateTaskResponse
9044
+ */
9045
+ async createPdfTranslateTask(workspaceId: string, request: CreatePdfTranslateTaskRequest): Promise<CreatePdfTranslateTaskResponse> {
9046
+ let runtime = new $Util.RuntimeOptions({ });
9047
+ let headers : {[key: string ]: string} = { };
9048
+ return await this.createPdfTranslateTaskWithOptions(workspaceId, request, headers, runtime);
9049
+ }
9050
+
7679
9051
  /**
7680
9052
  * 创建预定义文档
7681
9053
  *
@@ -7733,6 +9105,71 @@ export default class Client extends OpenApi {
7733
9105
  return await this.createPredefinedDocumentWithOptions(workspaceId, request, headers, runtime);
7734
9106
  }
7735
9107
 
9108
+ /**
9109
+ * 创建财报总结的任务
9110
+ *
9111
+ * @param request - CreateQualityCheckTaskRequest
9112
+ * @param headers - map
9113
+ * @param runtime - runtime options for this request RuntimeOptions
9114
+ * @returns CreateQualityCheckTaskResponse
9115
+ */
9116
+ async createQualityCheckTaskWithOptions(workspaceId: string, request: CreateQualityCheckTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateQualityCheckTaskResponse> {
9117
+ Util.validateModel(request);
9118
+ let body : {[key: string ]: any} = { };
9119
+ if (!Util.isUnset(request.conversationList)) {
9120
+ body["conversationList"] = request.conversationList;
9121
+ }
9122
+
9123
+ if (!Util.isUnset(request.gmtService)) {
9124
+ body["gmtService"] = request.gmtService;
9125
+ }
9126
+
9127
+ if (!Util.isUnset(request.metaData)) {
9128
+ body["metaData"] = request.metaData;
9129
+ }
9130
+
9131
+ if (!Util.isUnset(request.qualityGroup)) {
9132
+ body["qualityGroup"] = request.qualityGroup;
9133
+ }
9134
+
9135
+ if (!Util.isUnset(request.requestId)) {
9136
+ body["requestId"] = request.requestId;
9137
+ }
9138
+
9139
+ if (!Util.isUnset(request.type)) {
9140
+ body["type"] = request.type;
9141
+ }
9142
+
9143
+ let req = new $OpenApi.OpenApiRequest({
9144
+ headers: headers,
9145
+ body: OpenApiUtil.parseToMap(body),
9146
+ });
9147
+ let params = new $OpenApi.Params({
9148
+ action: "CreateQualityCheckTask",
9149
+ version: "2024-06-28",
9150
+ protocol: "HTTPS",
9151
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/qualitycheck/task/submit`,
9152
+ method: "POST",
9153
+ authType: "AK",
9154
+ style: "ROA",
9155
+ reqBodyType: "json",
9156
+ bodyType: "json",
9157
+ });
9158
+ return $tea.cast<CreateQualityCheckTaskResponse>(await this.callApi(params, req, runtime), new CreateQualityCheckTaskResponse({}));
9159
+ }
9160
+
9161
+ /**
9162
+ * 创建财报总结的任务
9163
+ *
9164
+ * @param request - CreateQualityCheckTaskRequest
9165
+ * @returns CreateQualityCheckTaskResponse
9166
+ */
9167
+ async createQualityCheckTask(workspaceId: string, request: CreateQualityCheckTaskRequest): Promise<CreateQualityCheckTaskResponse> {
9168
+ let runtime = new $Util.RuntimeOptions({ });
9169
+ let headers : {[key: string ]: string} = { };
9170
+ return await this.createQualityCheckTaskWithOptions(workspaceId, request, headers, runtime);
9171
+ }
9172
+
7736
9173
  /**
7737
9174
  * 删除文档
7738
9175
  *
@@ -8355,6 +9792,51 @@ export default class Client extends OpenApi {
8355
9792
  return await this.getParseResultWithOptions(workspaceId, request, headers, runtime);
8356
9793
  }
8357
9794
 
9795
+ /**
9796
+ * 获取异步任务的结果
9797
+ *
9798
+ * @param request - GetQualityCheckTaskResultRequest
9799
+ * @param headers - map
9800
+ * @param runtime - runtime options for this request RuntimeOptions
9801
+ * @returns GetQualityCheckTaskResultResponse
9802
+ */
9803
+ async getQualityCheckTaskResultWithOptions(workspaceId: string, request: GetQualityCheckTaskResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetQualityCheckTaskResultResponse> {
9804
+ Util.validateModel(request);
9805
+ let query : {[key: string ]: any} = { };
9806
+ if (!Util.isUnset(request.taskId)) {
9807
+ query["taskId"] = request.taskId;
9808
+ }
9809
+
9810
+ let req = new $OpenApi.OpenApiRequest({
9811
+ headers: headers,
9812
+ query: OpenApiUtil.query(query),
9813
+ });
9814
+ let params = new $OpenApi.Params({
9815
+ action: "GetQualityCheckTaskResult",
9816
+ version: "2024-06-28",
9817
+ protocol: "HTTPS",
9818
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/qualitycheck/task/query`,
9819
+ method: "GET",
9820
+ authType: "AK",
9821
+ style: "ROA",
9822
+ reqBodyType: "json",
9823
+ bodyType: "json",
9824
+ });
9825
+ return $tea.cast<GetQualityCheckTaskResultResponse>(await this.callApi(params, req, runtime), new GetQualityCheckTaskResultResponse({}));
9826
+ }
9827
+
9828
+ /**
9829
+ * 获取异步任务的结果
9830
+ *
9831
+ * @param request - GetQualityCheckTaskResultRequest
9832
+ * @returns GetQualityCheckTaskResultResponse
9833
+ */
9834
+ async getQualityCheckTaskResult(workspaceId: string, request: GetQualityCheckTaskResultRequest): Promise<GetQualityCheckTaskResultResponse> {
9835
+ let runtime = new $Util.RuntimeOptions({ });
9836
+ let headers : {[key: string ]: string} = { };
9837
+ return await this.getQualityCheckTaskResultWithOptions(workspaceId, request, headers, runtime);
9838
+ }
9839
+
8358
9840
  /**
8359
9841
  * 获取财报总结任务结果
8360
9842
  *
@@ -8400,6 +9882,51 @@ export default class Client extends OpenApi {
8400
9882
  return await this.getSummaryTaskResultWithOptions(workspaceId, request, headers, runtime);
8401
9883
  }
8402
9884
 
9885
+ /**
9886
+ * 获取异步任务结果
9887
+ *
9888
+ * @param request - GetTaskResultRequest
9889
+ * @param headers - map
9890
+ * @param runtime - runtime options for this request RuntimeOptions
9891
+ * @returns GetTaskResultResponse
9892
+ */
9893
+ async getTaskResultWithOptions(workspaceId: string, request: GetTaskResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetTaskResultResponse> {
9894
+ Util.validateModel(request);
9895
+ let query : {[key: string ]: any} = { };
9896
+ if (!Util.isUnset(request.taskId)) {
9897
+ query["taskId"] = request.taskId;
9898
+ }
9899
+
9900
+ let req = new $OpenApi.OpenApiRequest({
9901
+ headers: headers,
9902
+ query: OpenApiUtil.query(query),
9903
+ });
9904
+ let params = new $OpenApi.Params({
9905
+ action: "GetTaskResult",
9906
+ version: "2024-06-28",
9907
+ protocol: "HTTPS",
9908
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/result`,
9909
+ method: "GET",
9910
+ authType: "AK",
9911
+ style: "ROA",
9912
+ reqBodyType: "json",
9913
+ bodyType: "json",
9914
+ });
9915
+ return $tea.cast<GetTaskResultResponse>(await this.callApi(params, req, runtime), new GetTaskResultResponse({}));
9916
+ }
9917
+
9918
+ /**
9919
+ * 获取异步任务结果
9920
+ *
9921
+ * @param request - GetTaskResultRequest
9922
+ * @returns GetTaskResultResponse
9923
+ */
9924
+ async getTaskResult(workspaceId: string, request: GetTaskResultRequest): Promise<GetTaskResultResponse> {
9925
+ let runtime = new $Util.RuntimeOptions({ });
9926
+ let headers : {[key: string ]: string} = { };
9927
+ return await this.getTaskResultWithOptions(workspaceId, request, headers, runtime);
9928
+ }
9929
+
8403
9930
  /**
8404
9931
  * 获取财报总结任务结果
8405
9932
  *
@@ -8585,7 +10112,7 @@ export default class Client extends OpenApi {
8585
10112
  }
8586
10113
 
8587
10114
  /**
8588
- * 文档召回
10115
+ * 文档召回。
8589
10116
  *
8590
10117
  * @param request - RecallDocumentRequest
8591
10118
  * @param headers - map
@@ -8630,7 +10157,7 @@ export default class Client extends OpenApi {
8630
10157
  }
8631
10158
 
8632
10159
  /**
8633
- * 文档召回
10160
+ * 文档召回。
8634
10161
  *
8635
10162
  * @param request - RecallDocumentRequest
8636
10163
  * @returns RecallDocumentResponse