@alicloud/dianjin20240628 1.1.1 → 1.3.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
@@ -138,38 +315,54 @@ export class CreateLibraryResponse extends $tea.Model {
138
315
  }
139
316
  }
140
317
 
141
- export class CreatePredefinedDocumentRequest extends $tea.Model {
142
- chunks?: CreatePredefinedDocumentRequestChunks[];
318
+ export class CreatePdfTranslateTaskRequest extends $tea.Model {
319
+ /**
320
+ * @remarks
321
+ * This parameter is required.
322
+ *
323
+ * @example
324
+ * 873648346573245
325
+ */
326
+ docId?: string;
327
+ knowledge?: string;
143
328
  /**
329
+ * @remarks
330
+ * This parameter is required.
331
+ *
144
332
  * @example
145
- * a1b2c3
333
+ * cjshcxxxx
146
334
  */
147
335
  libraryId?: string;
148
336
  /**
337
+ * @remarks
338
+ * This parameter is required.
339
+ *
149
340
  * @example
150
- * {"a": "1"}
341
+ * qwen-plus
151
342
  */
152
- metadata?: { [key: string]: any };
343
+ modelId?: string;
153
344
  /**
154
345
  * @example
155
- * 测试文档
346
+ * 中文
156
347
  */
157
- title?: string;
348
+ translateTo?: string;
158
349
  static names(): { [key: string]: string } {
159
350
  return {
160
- chunks: 'chunks',
351
+ docId: 'docId',
352
+ knowledge: 'knowledge',
161
353
  libraryId: 'libraryId',
162
- metadata: 'metadata',
163
- title: 'title',
354
+ modelId: 'modelId',
355
+ translateTo: 'translateTo',
164
356
  };
165
357
  }
166
358
 
167
359
  static types(): { [key: string]: any } {
168
360
  return {
169
- chunks: { 'type': 'array', 'itemType': CreatePredefinedDocumentRequestChunks },
361
+ docId: 'string',
362
+ knowledge: 'string',
170
363
  libraryId: 'string',
171
- metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
172
- title: 'string',
364
+ modelId: 'string',
365
+ translateTo: 'string',
173
366
  };
174
367
  }
175
368
 
@@ -178,7 +371,7 @@ export class CreatePredefinedDocumentRequest extends $tea.Model {
178
371
  }
179
372
  }
180
373
 
181
- export class CreatePredefinedDocumentResponseBody extends $tea.Model {
374
+ export class CreatePdfTranslateTaskResponseBody extends $tea.Model {
182
375
  /**
183
376
  * @example
184
377
  * null
@@ -186,7 +379,7 @@ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
186
379
  cost?: number;
187
380
  /**
188
381
  * @example
189
- * 1782981430906818562
382
+ * 3284627354
190
383
  */
191
384
  data?: string;
192
385
  /**
@@ -206,7 +399,7 @@ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
206
399
  message?: string;
207
400
  /**
208
401
  * @example
209
- * 0a06dfe617018288881568684e2937
402
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
210
403
  */
211
404
  requestId?: string;
212
405
  /**
@@ -250,10 +443,10 @@ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
250
443
  }
251
444
  }
252
445
 
253
- export class CreatePredefinedDocumentResponse extends $tea.Model {
446
+ export class CreatePdfTranslateTaskResponse extends $tea.Model {
254
447
  headers?: { [key: string]: string };
255
448
  statusCode?: number;
256
- body?: CreatePredefinedDocumentResponseBody;
449
+ body?: CreatePdfTranslateTaskResponseBody;
257
450
  static names(): { [key: string]: string } {
258
451
  return {
259
452
  headers: 'headers',
@@ -266,7 +459,7 @@ export class CreatePredefinedDocumentResponse extends $tea.Model {
266
459
  return {
267
460
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
268
461
  statusCode: 'number',
269
- body: CreatePredefinedDocumentResponseBody,
462
+ body: CreatePdfTranslateTaskResponseBody,
270
463
  };
271
464
  }
272
465
 
@@ -275,31 +468,38 @@ export class CreatePredefinedDocumentResponse extends $tea.Model {
275
468
  }
276
469
  }
277
470
 
278
- export class DeleteDocumentRequest extends $tea.Model {
471
+ export class CreatePredefinedDocumentRequest extends $tea.Model {
472
+ chunks?: CreatePredefinedDocumentRequestChunks[];
279
473
  /**
280
- * @remarks
281
- * This parameter is required.
474
+ * @example
475
+ * a1b2c3
282
476
  */
283
- docIds?: string[];
477
+ libraryId?: string;
284
478
  /**
285
- * @remarks
286
- * This parameter is required.
287
- *
288
479
  * @example
289
- * 3akzl28vap
480
+ * {"a": "1"}
290
481
  */
291
- libraryId?: string;
482
+ metadata?: { [key: string]: any };
483
+ /**
484
+ * @example
485
+ * 测试文档
486
+ */
487
+ title?: string;
292
488
  static names(): { [key: string]: string } {
293
489
  return {
294
- docIds: 'docIds',
490
+ chunks: 'chunks',
295
491
  libraryId: 'libraryId',
492
+ metadata: 'metadata',
493
+ title: 'title',
296
494
  };
297
495
  }
298
496
 
299
497
  static types(): { [key: string]: any } {
300
498
  return {
301
- docIds: { 'type': 'array', 'itemType': 'string' },
499
+ chunks: { 'type': 'array', 'itemType': CreatePredefinedDocumentRequestChunks },
302
500
  libraryId: 'string',
501
+ metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
502
+ title: 'string',
303
503
  };
304
504
  }
305
505
 
@@ -308,7 +508,7 @@ export class DeleteDocumentRequest extends $tea.Model {
308
508
  }
309
509
  }
310
510
 
311
- export class DeleteDocumentResponseBody extends $tea.Model {
511
+ export class CreatePredefinedDocumentResponseBody extends $tea.Model {
312
512
  /**
313
513
  * @example
314
514
  * null
@@ -316,9 +516,9 @@ export class DeleteDocumentResponseBody extends $tea.Model {
316
516
  cost?: number;
317
517
  /**
318
518
  * @example
319
- * True
519
+ * 1782981430906818562
320
520
  */
321
- data?: boolean;
521
+ data?: string;
322
522
  /**
323
523
  * @example
324
524
  * null
@@ -336,7 +536,7 @@ export class DeleteDocumentResponseBody extends $tea.Model {
336
536
  message?: string;
337
537
  /**
338
538
  * @example
339
- * 67C7021A-D268-553D-8C15-A087B9604028
539
+ * 0a06dfe617018288881568684e2937
340
540
  */
341
541
  requestId?: string;
342
542
  /**
@@ -365,7 +565,7 @@ export class DeleteDocumentResponseBody extends $tea.Model {
365
565
  static types(): { [key: string]: any } {
366
566
  return {
367
567
  cost: 'number',
368
- data: 'boolean',
568
+ data: 'string',
369
569
  dataType: 'string',
370
570
  errCode: 'string',
371
571
  message: 'string',
@@ -380,10 +580,10 @@ export class DeleteDocumentResponseBody extends $tea.Model {
380
580
  }
381
581
  }
382
582
 
383
- export class DeleteDocumentResponse extends $tea.Model {
583
+ export class CreatePredefinedDocumentResponse extends $tea.Model {
384
584
  headers?: { [key: string]: string };
385
585
  statusCode?: number;
386
- body?: DeleteDocumentResponseBody;
586
+ body?: CreatePredefinedDocumentResponseBody;
387
587
  static names(): { [key: string]: string } {
388
588
  return {
389
589
  headers: 'headers',
@@ -396,7 +596,7 @@ export class DeleteDocumentResponse extends $tea.Model {
396
596
  return {
397
597
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
398
598
  statusCode: 'number',
399
- body: DeleteDocumentResponseBody,
599
+ body: CreatePredefinedDocumentResponseBody,
400
600
  };
401
601
  }
402
602
 
@@ -405,23 +605,30 @@ export class DeleteDocumentResponse extends $tea.Model {
405
605
  }
406
606
  }
407
607
 
408
- export class DeleteLibraryRequest extends $tea.Model {
608
+ export class DeleteDocumentRequest extends $tea.Model {
609
+ /**
610
+ * @remarks
611
+ * This parameter is required.
612
+ */
613
+ docIds?: string[];
409
614
  /**
410
615
  * @remarks
411
616
  * This parameter is required.
412
617
  *
413
618
  * @example
414
- * skdfefxxx
619
+ * 3akzl28vap
415
620
  */
416
621
  libraryId?: string;
417
622
  static names(): { [key: string]: string } {
418
623
  return {
624
+ docIds: 'docIds',
419
625
  libraryId: 'libraryId',
420
626
  };
421
627
  }
422
628
 
423
629
  static types(): { [key: string]: any } {
424
630
  return {
631
+ docIds: { 'type': 'array', 'itemType': 'string' },
425
632
  libraryId: 'string',
426
633
  };
427
634
  }
@@ -431,7 +638,755 @@ export class DeleteLibraryRequest extends $tea.Model {
431
638
  }
432
639
  }
433
640
 
434
- export class DeleteLibraryResponseBody extends $tea.Model {
641
+ export class DeleteDocumentResponseBody extends $tea.Model {
642
+ /**
643
+ * @example
644
+ * null
645
+ */
646
+ cost?: number;
647
+ /**
648
+ * @example
649
+ * True
650
+ */
651
+ data?: boolean;
652
+ /**
653
+ * @example
654
+ * null
655
+ */
656
+ dataType?: string;
657
+ /**
658
+ * @example
659
+ * 0
660
+ */
661
+ errCode?: string;
662
+ /**
663
+ * @example
664
+ * ok
665
+ */
666
+ message?: string;
667
+ /**
668
+ * @example
669
+ * 67C7021A-D268-553D-8C15-A087B9604028
670
+ */
671
+ requestId?: string;
672
+ /**
673
+ * @example
674
+ * true
675
+ */
676
+ success?: boolean;
677
+ /**
678
+ * @example
679
+ * 2024-04-24 11:54:34
680
+ */
681
+ time?: string;
682
+ static names(): { [key: string]: string } {
683
+ return {
684
+ cost: 'cost',
685
+ data: 'data',
686
+ dataType: 'dataType',
687
+ errCode: 'errCode',
688
+ message: 'message',
689
+ requestId: 'requestId',
690
+ success: 'success',
691
+ time: 'time',
692
+ };
693
+ }
694
+
695
+ static types(): { [key: string]: any } {
696
+ return {
697
+ cost: 'number',
698
+ data: 'boolean',
699
+ dataType: 'string',
700
+ errCode: 'string',
701
+ message: 'string',
702
+ requestId: 'string',
703
+ success: 'boolean',
704
+ time: 'string',
705
+ };
706
+ }
707
+
708
+ constructor(map?: { [key: string]: any }) {
709
+ super(map);
710
+ }
711
+ }
712
+
713
+ export class DeleteDocumentResponse extends $tea.Model {
714
+ headers?: { [key: string]: string };
715
+ statusCode?: number;
716
+ body?: DeleteDocumentResponseBody;
717
+ static names(): { [key: string]: string } {
718
+ return {
719
+ headers: 'headers',
720
+ statusCode: 'statusCode',
721
+ body: 'body',
722
+ };
723
+ }
724
+
725
+ static types(): { [key: string]: any } {
726
+ return {
727
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
728
+ statusCode: 'number',
729
+ body: DeleteDocumentResponseBody,
730
+ };
731
+ }
732
+
733
+ constructor(map?: { [key: string]: any }) {
734
+ super(map);
735
+ }
736
+ }
737
+
738
+ export class DeleteLibraryRequest extends $tea.Model {
739
+ /**
740
+ * @remarks
741
+ * This parameter is required.
742
+ *
743
+ * @example
744
+ * skdfefxxx
745
+ */
746
+ libraryId?: string;
747
+ static names(): { [key: string]: string } {
748
+ return {
749
+ libraryId: 'libraryId',
750
+ };
751
+ }
752
+
753
+ static types(): { [key: string]: any } {
754
+ return {
755
+ libraryId: 'string',
756
+ };
757
+ }
758
+
759
+ constructor(map?: { [key: string]: any }) {
760
+ super(map);
761
+ }
762
+ }
763
+
764
+ export class DeleteLibraryResponseBody extends $tea.Model {
765
+ /**
766
+ * @example
767
+ * 0
768
+ */
769
+ errCode?: string;
770
+ /**
771
+ * @example
772
+ * ok
773
+ */
774
+ message?: string;
775
+ /**
776
+ * @example
777
+ * 30F6AD44-F078-540D-B5A5-1E519C8E9E6D
778
+ */
779
+ requestId?: string;
780
+ /**
781
+ * @example
782
+ * true
783
+ */
784
+ success?: boolean;
785
+ static names(): { [key: string]: string } {
786
+ return {
787
+ errCode: 'errCode',
788
+ message: 'message',
789
+ requestId: 'requestId',
790
+ success: 'success',
791
+ };
792
+ }
793
+
794
+ static types(): { [key: string]: any } {
795
+ return {
796
+ errCode: 'string',
797
+ message: 'string',
798
+ requestId: 'string',
799
+ success: 'boolean',
800
+ };
801
+ }
802
+
803
+ constructor(map?: { [key: string]: any }) {
804
+ super(map);
805
+ }
806
+ }
807
+
808
+ export class DeleteLibraryResponse extends $tea.Model {
809
+ headers?: { [key: string]: string };
810
+ statusCode?: number;
811
+ body?: DeleteLibraryResponseBody;
812
+ static names(): { [key: string]: string } {
813
+ return {
814
+ headers: 'headers',
815
+ statusCode: 'statusCode',
816
+ body: 'body',
817
+ };
818
+ }
819
+
820
+ static types(): { [key: string]: any } {
821
+ return {
822
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
823
+ statusCode: 'number',
824
+ body: DeleteLibraryResponseBody,
825
+ };
826
+ }
827
+
828
+ constructor(map?: { [key: string]: any }) {
829
+ super(map);
830
+ }
831
+ }
832
+
833
+ export class EvictTaskRequest extends $tea.Model {
834
+ /**
835
+ * @remarks
836
+ * This parameter is required.
837
+ *
838
+ * @example
839
+ * 17071319
840
+ */
841
+ taskId?: string;
842
+ static names(): { [key: string]: string } {
843
+ return {
844
+ taskId: 'taskId',
845
+ };
846
+ }
847
+
848
+ static types(): { [key: string]: any } {
849
+ return {
850
+ taskId: 'string',
851
+ };
852
+ }
853
+
854
+ constructor(map?: { [key: string]: any }) {
855
+ super(map);
856
+ }
857
+ }
858
+
859
+ export class EvictTaskResponseBody extends $tea.Model {
860
+ /**
861
+ * @example
862
+ * null
863
+ */
864
+ cost?: number;
865
+ /**
866
+ * @example
867
+ * 17071319
868
+ */
869
+ data?: string;
870
+ /**
871
+ * @example
872
+ * null
873
+ */
874
+ dataType?: string;
875
+ /**
876
+ * @example
877
+ * 0
878
+ */
879
+ errCode?: string;
880
+ message?: string;
881
+ /**
882
+ * @example
883
+ * 44BD277A-87F9-5310-8D63-3E6645F1DA85
884
+ */
885
+ requestId?: string;
886
+ /**
887
+ * @example
888
+ * true
889
+ */
890
+ success?: boolean;
891
+ /**
892
+ * @example
893
+ * 2024-04-24 11:54:34
894
+ */
895
+ time?: string;
896
+ static names(): { [key: string]: string } {
897
+ return {
898
+ cost: 'cost',
899
+ data: 'data',
900
+ dataType: 'dataType',
901
+ errCode: 'errCode',
902
+ message: 'message',
903
+ requestId: 'requestId',
904
+ success: 'success',
905
+ time: 'time',
906
+ };
907
+ }
908
+
909
+ static types(): { [key: string]: any } {
910
+ return {
911
+ cost: 'number',
912
+ data: 'string',
913
+ dataType: 'string',
914
+ errCode: 'string',
915
+ message: 'string',
916
+ requestId: 'string',
917
+ success: 'boolean',
918
+ time: 'string',
919
+ };
920
+ }
921
+
922
+ constructor(map?: { [key: string]: any }) {
923
+ super(map);
924
+ }
925
+ }
926
+
927
+ export class EvictTaskResponse extends $tea.Model {
928
+ headers?: { [key: string]: string };
929
+ statusCode?: number;
930
+ body?: EvictTaskResponseBody;
931
+ static names(): { [key: string]: string } {
932
+ return {
933
+ headers: 'headers',
934
+ statusCode: 'statusCode',
935
+ body: 'body',
936
+ };
937
+ }
938
+
939
+ static types(): { [key: string]: any } {
940
+ return {
941
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
942
+ statusCode: 'number',
943
+ body: EvictTaskResponseBody,
944
+ };
945
+ }
946
+
947
+ constructor(map?: { [key: string]: any }) {
948
+ super(map);
949
+ }
950
+ }
951
+
952
+ export class GetAppConfigResponseBody extends $tea.Model {
953
+ /**
954
+ * @example
955
+ * null
956
+ */
957
+ cost?: number;
958
+ data?: GetAppConfigResponseBodyData;
959
+ /**
960
+ * @example
961
+ * null
962
+ */
963
+ dataType?: string;
964
+ /**
965
+ * @example
966
+ * 0
967
+ */
968
+ errCode?: string;
969
+ /**
970
+ * @example
971
+ * None
972
+ */
973
+ message?: string;
974
+ /**
975
+ * @example
976
+ * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
977
+ */
978
+ requestId?: string;
979
+ /**
980
+ * @example
981
+ * True
982
+ */
983
+ success?: boolean;
984
+ /**
985
+ * @example
986
+ * 2024-04-24 11:54:34
987
+ */
988
+ time?: string;
989
+ static names(): { [key: string]: string } {
990
+ return {
991
+ cost: 'cost',
992
+ data: 'data',
993
+ dataType: 'dataType',
994
+ errCode: 'errCode',
995
+ message: 'message',
996
+ requestId: 'requestId',
997
+ success: 'success',
998
+ time: 'time',
999
+ };
1000
+ }
1001
+
1002
+ static types(): { [key: string]: any } {
1003
+ return {
1004
+ cost: 'number',
1005
+ data: GetAppConfigResponseBodyData,
1006
+ dataType: 'string',
1007
+ errCode: 'string',
1008
+ message: 'string',
1009
+ requestId: 'string',
1010
+ success: 'boolean',
1011
+ time: 'string',
1012
+ };
1013
+ }
1014
+
1015
+ constructor(map?: { [key: string]: any }) {
1016
+ super(map);
1017
+ }
1018
+ }
1019
+
1020
+ export class GetAppConfigResponse extends $tea.Model {
1021
+ headers?: { [key: string]: string };
1022
+ statusCode?: number;
1023
+ body?: GetAppConfigResponseBody;
1024
+ static names(): { [key: string]: string } {
1025
+ return {
1026
+ headers: 'headers',
1027
+ statusCode: 'statusCode',
1028
+ body: 'body',
1029
+ };
1030
+ }
1031
+
1032
+ static types(): { [key: string]: any } {
1033
+ return {
1034
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1035
+ statusCode: 'number',
1036
+ body: GetAppConfigResponseBody,
1037
+ };
1038
+ }
1039
+
1040
+ constructor(map?: { [key: string]: any }) {
1041
+ super(map);
1042
+ }
1043
+ }
1044
+
1045
+ export class GetDocumentChunkListRequest extends $tea.Model {
1046
+ chunkIdList?: string[];
1047
+ /**
1048
+ * @remarks
1049
+ * This parameter is required.
1050
+ *
1051
+ * @example
1052
+ * 182364872346
1053
+ */
1054
+ docId?: string;
1055
+ /**
1056
+ * @remarks
1057
+ * This parameter is required.
1058
+ *
1059
+ * @example
1060
+ * dsjgfdjgfxxx
1061
+ */
1062
+ libraryId?: string;
1063
+ /**
1064
+ * @example
1065
+ * desc
1066
+ */
1067
+ order?: string;
1068
+ /**
1069
+ * @example
1070
+ * gmtCreate
1071
+ */
1072
+ orderBy?: string;
1073
+ /**
1074
+ * @example
1075
+ * 1
1076
+ */
1077
+ page?: number;
1078
+ /**
1079
+ * @example
1080
+ * 10
1081
+ */
1082
+ pageSize?: number;
1083
+ /**
1084
+ * @example
1085
+ * test
1086
+ */
1087
+ searchQuery?: string;
1088
+ static names(): { [key: string]: string } {
1089
+ return {
1090
+ chunkIdList: 'chunkIdList',
1091
+ docId: 'docId',
1092
+ libraryId: 'libraryId',
1093
+ order: 'order',
1094
+ orderBy: 'orderBy',
1095
+ page: 'page',
1096
+ pageSize: 'pageSize',
1097
+ searchQuery: 'searchQuery',
1098
+ };
1099
+ }
1100
+
1101
+ static types(): { [key: string]: any } {
1102
+ return {
1103
+ chunkIdList: { 'type': 'array', 'itemType': 'string' },
1104
+ docId: 'string',
1105
+ libraryId: 'string',
1106
+ order: 'string',
1107
+ orderBy: 'string',
1108
+ page: 'number',
1109
+ pageSize: 'number',
1110
+ searchQuery: 'string',
1111
+ };
1112
+ }
1113
+
1114
+ constructor(map?: { [key: string]: any }) {
1115
+ super(map);
1116
+ }
1117
+ }
1118
+
1119
+ export class GetDocumentChunkListResponseBody extends $tea.Model {
1120
+ /**
1121
+ * @example
1122
+ * null
1123
+ */
1124
+ cost?: number;
1125
+ data?: GetDocumentChunkListResponseBodyData;
1126
+ /**
1127
+ * @example
1128
+ * null
1129
+ */
1130
+ dataType?: string;
1131
+ /**
1132
+ * @example
1133
+ * 0
1134
+ */
1135
+ errCode?: string;
1136
+ /**
1137
+ * @example
1138
+ * ok
1139
+ */
1140
+ message?: string;
1141
+ /**
1142
+ * @example
1143
+ * 2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF
1144
+ */
1145
+ requestId?: string;
1146
+ /**
1147
+ * @example
1148
+ * true
1149
+ */
1150
+ success?: boolean;
1151
+ /**
1152
+ * @example
1153
+ * 2024-04-24 11:54:34
1154
+ */
1155
+ time?: string;
1156
+ static names(): { [key: string]: string } {
1157
+ return {
1158
+ cost: 'cost',
1159
+ data: 'data',
1160
+ dataType: 'dataType',
1161
+ errCode: 'errCode',
1162
+ message: 'message',
1163
+ requestId: 'requestId',
1164
+ success: 'success',
1165
+ time: 'time',
1166
+ };
1167
+ }
1168
+
1169
+ static types(): { [key: string]: any } {
1170
+ return {
1171
+ cost: 'number',
1172
+ data: GetDocumentChunkListResponseBodyData,
1173
+ dataType: 'string',
1174
+ errCode: 'string',
1175
+ message: 'string',
1176
+ requestId: 'string',
1177
+ success: 'boolean',
1178
+ time: 'string',
1179
+ };
1180
+ }
1181
+
1182
+ constructor(map?: { [key: string]: any }) {
1183
+ super(map);
1184
+ }
1185
+ }
1186
+
1187
+ export class GetDocumentChunkListResponse extends $tea.Model {
1188
+ headers?: { [key: string]: string };
1189
+ statusCode?: number;
1190
+ body?: GetDocumentChunkListResponseBody;
1191
+ static names(): { [key: string]: string } {
1192
+ return {
1193
+ headers: 'headers',
1194
+ statusCode: 'statusCode',
1195
+ body: 'body',
1196
+ };
1197
+ }
1198
+
1199
+ static types(): { [key: string]: any } {
1200
+ return {
1201
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1202
+ statusCode: 'number',
1203
+ body: GetDocumentChunkListResponseBody,
1204
+ };
1205
+ }
1206
+
1207
+ constructor(map?: { [key: string]: any }) {
1208
+ super(map);
1209
+ }
1210
+ }
1211
+
1212
+ export class GetDocumentListRequest extends $tea.Model {
1213
+ /**
1214
+ * @remarks
1215
+ * This parameter is required.
1216
+ *
1217
+ * @example
1218
+ * 3akzl28vap
1219
+ */
1220
+ libraryId?: string;
1221
+ /**
1222
+ * @example
1223
+ * 1
1224
+ */
1225
+ page?: number;
1226
+ /**
1227
+ * @example
1228
+ * 10
1229
+ */
1230
+ pageSize?: number;
1231
+ status?: string;
1232
+ static names(): { [key: string]: string } {
1233
+ return {
1234
+ libraryId: 'libraryId',
1235
+ page: 'page',
1236
+ pageSize: 'pageSize',
1237
+ status: 'status',
1238
+ };
1239
+ }
1240
+
1241
+ static types(): { [key: string]: any } {
1242
+ return {
1243
+ libraryId: 'string',
1244
+ page: 'number',
1245
+ pageSize: 'number',
1246
+ status: 'string',
1247
+ };
1248
+ }
1249
+
1250
+ constructor(map?: { [key: string]: any }) {
1251
+ super(map);
1252
+ }
1253
+ }
1254
+
1255
+ export class GetDocumentListResponseBody extends $tea.Model {
1256
+ /**
1257
+ * @example
1258
+ * null
1259
+ */
1260
+ cost?: number;
1261
+ data?: GetDocumentListResponseBodyData;
1262
+ /**
1263
+ * @example
1264
+ * null
1265
+ */
1266
+ dataType?: string;
1267
+ /**
1268
+ * @example
1269
+ * 0
1270
+ */
1271
+ errCode?: string;
1272
+ /**
1273
+ * @example
1274
+ * ok
1275
+ */
1276
+ message?: string;
1277
+ /**
1278
+ * @example
1279
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
1280
+ */
1281
+ requestId?: string;
1282
+ /**
1283
+ * @example
1284
+ * true
1285
+ */
1286
+ success?: boolean;
1287
+ /**
1288
+ * @example
1289
+ * 2024-04-24 11:54:34
1290
+ */
1291
+ time?: string;
1292
+ static names(): { [key: string]: string } {
1293
+ return {
1294
+ cost: 'cost',
1295
+ data: 'data',
1296
+ dataType: 'dataType',
1297
+ errCode: 'errCode',
1298
+ message: 'message',
1299
+ requestId: 'requestId',
1300
+ success: 'success',
1301
+ time: 'time',
1302
+ };
1303
+ }
1304
+
1305
+ static types(): { [key: string]: any } {
1306
+ return {
1307
+ cost: 'number',
1308
+ data: GetDocumentListResponseBodyData,
1309
+ dataType: 'string',
1310
+ errCode: 'string',
1311
+ message: 'string',
1312
+ requestId: 'string',
1313
+ success: 'boolean',
1314
+ time: 'string',
1315
+ };
1316
+ }
1317
+
1318
+ constructor(map?: { [key: string]: any }) {
1319
+ super(map);
1320
+ }
1321
+ }
1322
+
1323
+ export class GetDocumentListResponse extends $tea.Model {
1324
+ headers?: { [key: string]: string };
1325
+ statusCode?: number;
1326
+ body?: GetDocumentListResponseBody;
1327
+ static names(): { [key: string]: string } {
1328
+ return {
1329
+ headers: 'headers',
1330
+ statusCode: 'statusCode',
1331
+ body: 'body',
1332
+ };
1333
+ }
1334
+
1335
+ static types(): { [key: string]: any } {
1336
+ return {
1337
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1338
+ statusCode: 'number',
1339
+ body: GetDocumentListResponseBody,
1340
+ };
1341
+ }
1342
+
1343
+ constructor(map?: { [key: string]: any }) {
1344
+ super(map);
1345
+ }
1346
+ }
1347
+
1348
+ export class GetDocumentUrlRequest extends $tea.Model {
1349
+ /**
1350
+ * @remarks
1351
+ * This parameter is required.
1352
+ *
1353
+ * @example
1354
+ * 12681367362
1355
+ */
1356
+ documentId?: string;
1357
+ static names(): { [key: string]: string } {
1358
+ return {
1359
+ documentId: 'documentId',
1360
+ };
1361
+ }
1362
+
1363
+ static types(): { [key: string]: any } {
1364
+ return {
1365
+ documentId: 'string',
1366
+ };
1367
+ }
1368
+
1369
+ constructor(map?: { [key: string]: any }) {
1370
+ super(map);
1371
+ }
1372
+ }
1373
+
1374
+ export class GetDocumentUrlResponseBody extends $tea.Model {
1375
+ /**
1376
+ * @example
1377
+ * null
1378
+ */
1379
+ cost?: number;
1380
+ /**
1381
+ * @example
1382
+ * https://path_to_file
1383
+ */
1384
+ data?: string;
1385
+ /**
1386
+ * @example
1387
+ * null
1388
+ */
1389
+ dataType?: string;
435
1390
  /**
436
1391
  * @example
437
1392
  * 0
@@ -444,7 +1399,7 @@ export class DeleteLibraryResponseBody extends $tea.Model {
444
1399
  message?: string;
445
1400
  /**
446
1401
  * @example
447
- * 30F6AD44-F078-540D-B5A5-1E519C8E9E6D
1402
+ * 66249B43-8C2B-5EE7-AE78-B382306621C6
448
1403
  */
449
1404
  requestId?: string;
450
1405
  /**
@@ -452,21 +1407,34 @@ export class DeleteLibraryResponseBody extends $tea.Model {
452
1407
  * true
453
1408
  */
454
1409
  success?: boolean;
1410
+ /**
1411
+ * @example
1412
+ * 2024-01-01 00:00:00
1413
+ */
1414
+ time?: string;
455
1415
  static names(): { [key: string]: string } {
456
1416
  return {
1417
+ cost: 'cost',
1418
+ data: 'data',
1419
+ dataType: 'dataType',
457
1420
  errCode: 'errCode',
458
1421
  message: 'message',
459
1422
  requestId: 'requestId',
460
1423
  success: 'success',
1424
+ time: 'time',
461
1425
  };
462
1426
  }
463
1427
 
464
1428
  static types(): { [key: string]: any } {
465
1429
  return {
1430
+ cost: 'number',
1431
+ data: 'string',
1432
+ dataType: 'string',
466
1433
  errCode: 'string',
467
1434
  message: 'string',
468
1435
  requestId: 'string',
469
1436
  success: 'boolean',
1437
+ time: 'string',
470
1438
  };
471
1439
  }
472
1440
 
@@ -475,10 +1443,10 @@ export class DeleteLibraryResponseBody extends $tea.Model {
475
1443
  }
476
1444
  }
477
1445
 
478
- export class DeleteLibraryResponse extends $tea.Model {
1446
+ export class GetDocumentUrlResponse extends $tea.Model {
479
1447
  headers?: { [key: string]: string };
480
1448
  statusCode?: number;
481
- body?: DeleteLibraryResponseBody;
1449
+ body?: GetDocumentUrlResponseBody;
482
1450
  static names(): { [key: string]: string } {
483
1451
  return {
484
1452
  headers: 'headers',
@@ -491,7 +1459,7 @@ export class DeleteLibraryResponse extends $tea.Model {
491
1459
  return {
492
1460
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
493
1461
  statusCode: 'number',
494
- body: DeleteLibraryResponseBody,
1462
+ body: GetDocumentUrlResponseBody,
495
1463
  };
496
1464
  }
497
1465
 
@@ -500,13 +1468,65 @@ export class DeleteLibraryResponse extends $tea.Model {
500
1468
  }
501
1469
  }
502
1470
 
503
- export class GetAppConfigResponseBody extends $tea.Model {
1471
+ export class GetFilterDocumentListRequest extends $tea.Model {
1472
+ and?: GetFilterDocumentListRequestAnd[];
1473
+ docIdList?: string[];
1474
+ /**
1475
+ * @remarks
1476
+ * This parameter is required.
1477
+ *
1478
+ * @example
1479
+ * cjshcxxxx
1480
+ */
1481
+ libraryId?: string;
1482
+ or?: GetFilterDocumentListRequestOr[];
1483
+ /**
1484
+ * @example
1485
+ * 1
1486
+ */
1487
+ page?: number;
1488
+ /**
1489
+ * @example
1490
+ * 10
1491
+ */
1492
+ pageSize?: number;
1493
+ status?: string[];
1494
+ static names(): { [key: string]: string } {
1495
+ return {
1496
+ and: 'and',
1497
+ docIdList: 'docIdList',
1498
+ libraryId: 'libraryId',
1499
+ or: 'or',
1500
+ page: 'page',
1501
+ pageSize: 'pageSize',
1502
+ status: 'status',
1503
+ };
1504
+ }
1505
+
1506
+ static types(): { [key: string]: any } {
1507
+ return {
1508
+ and: { 'type': 'array', 'itemType': GetFilterDocumentListRequestAnd },
1509
+ docIdList: { 'type': 'array', 'itemType': 'string' },
1510
+ libraryId: 'string',
1511
+ or: { 'type': 'array', 'itemType': GetFilterDocumentListRequestOr },
1512
+ page: 'number',
1513
+ pageSize: 'number',
1514
+ status: { 'type': 'array', 'itemType': 'string' },
1515
+ };
1516
+ }
1517
+
1518
+ constructor(map?: { [key: string]: any }) {
1519
+ super(map);
1520
+ }
1521
+ }
1522
+
1523
+ export class GetFilterDocumentListResponseBody extends $tea.Model {
504
1524
  /**
505
1525
  * @example
506
1526
  * null
507
1527
  */
508
1528
  cost?: number;
509
- data?: GetAppConfigResponseBodyData;
1529
+ data?: GetFilterDocumentListResponseBodyData;
510
1530
  /**
511
1531
  * @example
512
1532
  * null
@@ -519,22 +1539,22 @@ export class GetAppConfigResponseBody extends $tea.Model {
519
1539
  errCode?: string;
520
1540
  /**
521
1541
  * @example
522
- * None
1542
+ * ok
523
1543
  */
524
1544
  message?: string;
525
1545
  /**
526
1546
  * @example
527
- * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
1547
+ * 7ADF010C-FD89-569D-A079-2D4D5247E943
528
1548
  */
529
1549
  requestId?: string;
530
1550
  /**
531
1551
  * @example
532
- * True
1552
+ * true
533
1553
  */
534
1554
  success?: boolean;
535
1555
  /**
536
1556
  * @example
537
- * 2024-04-24 11:54:34
1557
+ * 2024-01-01 00:00:00
538
1558
  */
539
1559
  time?: string;
540
1560
  static names(): { [key: string]: string } {
@@ -553,7 +1573,7 @@ export class GetAppConfigResponseBody extends $tea.Model {
553
1573
  static types(): { [key: string]: any } {
554
1574
  return {
555
1575
  cost: 'number',
556
- data: GetAppConfigResponseBodyData,
1576
+ data: GetFilterDocumentListResponseBodyData,
557
1577
  dataType: 'string',
558
1578
  errCode: 'string',
559
1579
  message: 'string',
@@ -568,10 +1588,10 @@ export class GetAppConfigResponseBody extends $tea.Model {
568
1588
  }
569
1589
  }
570
1590
 
571
- export class GetAppConfigResponse extends $tea.Model {
1591
+ export class GetFilterDocumentListResponse extends $tea.Model {
572
1592
  headers?: { [key: string]: string };
573
1593
  statusCode?: number;
574
- body?: GetAppConfigResponseBody;
1594
+ body?: GetFilterDocumentListResponseBody;
575
1595
  static names(): { [key: string]: string } {
576
1596
  return {
577
1597
  headers: 'headers',
@@ -584,7 +1604,7 @@ export class GetAppConfigResponse extends $tea.Model {
584
1604
  return {
585
1605
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
586
1606
  statusCode: 'number',
587
- body: GetAppConfigResponseBody,
1607
+ body: GetFilterDocumentListResponseBody,
588
1608
  };
589
1609
  }
590
1610
 
@@ -593,34 +1613,23 @@ export class GetAppConfigResponse extends $tea.Model {
593
1613
  }
594
1614
  }
595
1615
 
596
- export class GetDocumentChunkListRequest extends $tea.Model {
597
- chunkIdList?: string[];
1616
+ export class GetHistoryListByBizTypeRequest extends $tea.Model {
598
1617
  /**
599
1618
  * @remarks
600
1619
  * This parameter is required.
601
1620
  *
602
1621
  * @example
603
- * 182364872346
1622
+ * GysYBsxx
604
1623
  */
605
- docId?: string;
1624
+ bizId?: string;
606
1625
  /**
607
1626
  * @remarks
608
1627
  * This parameter is required.
609
1628
  *
610
1629
  * @example
611
- * dsjgfdjgfxxx
612
- */
613
- libraryId?: string;
614
- /**
615
- * @example
616
- * desc
617
- */
618
- order?: string;
619
- /**
620
- * @example
621
- * gmtCreate
1630
+ * LibraryChat
622
1631
  */
623
- orderBy?: string;
1632
+ bizType?: string;
624
1633
  /**
625
1634
  * @example
626
1635
  * 1
@@ -631,34 +1640,21 @@ export class GetDocumentChunkListRequest extends $tea.Model {
631
1640
  * 10
632
1641
  */
633
1642
  pageSize?: number;
634
- /**
635
- * @example
636
- * test
637
- */
638
- searchQuery?: string;
639
1643
  static names(): { [key: string]: string } {
640
1644
  return {
641
- chunkIdList: 'chunkIdList',
642
- docId: 'docId',
643
- libraryId: 'libraryId',
644
- order: 'order',
645
- orderBy: 'orderBy',
1645
+ bizId: 'bizId',
1646
+ bizType: 'bizType',
646
1647
  page: 'page',
647
1648
  pageSize: 'pageSize',
648
- searchQuery: 'searchQuery',
649
1649
  };
650
1650
  }
651
1651
 
652
1652
  static types(): { [key: string]: any } {
653
1653
  return {
654
- chunkIdList: { 'type': 'array', 'itemType': 'string' },
655
- docId: 'string',
656
- libraryId: 'string',
657
- order: 'string',
658
- orderBy: 'string',
1654
+ bizId: 'string',
1655
+ bizType: 'string',
659
1656
  page: 'number',
660
1657
  pageSize: 'number',
661
- searchQuery: 'string',
662
1658
  };
663
1659
  }
664
1660
 
@@ -667,13 +1663,13 @@ export class GetDocumentChunkListRequest extends $tea.Model {
667
1663
  }
668
1664
  }
669
1665
 
670
- export class GetDocumentChunkListResponseBody extends $tea.Model {
1666
+ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
671
1667
  /**
672
1668
  * @example
673
1669
  * null
674
1670
  */
675
1671
  cost?: number;
676
- data?: GetDocumentChunkListResponseBodyData;
1672
+ data?: GetHistoryListByBizTypeResponseBodyData;
677
1673
  /**
678
1674
  * @example
679
1675
  * null
@@ -691,7 +1687,7 @@ export class GetDocumentChunkListResponseBody extends $tea.Model {
691
1687
  message?: string;
692
1688
  /**
693
1689
  * @example
694
- * 2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF
1690
+ * 9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E
695
1691
  */
696
1692
  requestId?: string;
697
1693
  /**
@@ -701,7 +1697,7 @@ export class GetDocumentChunkListResponseBody extends $tea.Model {
701
1697
  success?: boolean;
702
1698
  /**
703
1699
  * @example
704
- * 2024-04-24 11:54:34
1700
+ * 2024-01-01 00:00:00
705
1701
  */
706
1702
  time?: string;
707
1703
  static names(): { [key: string]: string } {
@@ -720,7 +1716,7 @@ export class GetDocumentChunkListResponseBody extends $tea.Model {
720
1716
  static types(): { [key: string]: any } {
721
1717
  return {
722
1718
  cost: 'number',
723
- data: GetDocumentChunkListResponseBodyData,
1719
+ data: GetHistoryListByBizTypeResponseBodyData,
724
1720
  dataType: 'string',
725
1721
  errCode: 'string',
726
1722
  message: 'string',
@@ -735,10 +1731,10 @@ export class GetDocumentChunkListResponseBody extends $tea.Model {
735
1731
  }
736
1732
  }
737
1733
 
738
- export class GetDocumentChunkListResponse extends $tea.Model {
1734
+ export class GetHistoryListByBizTypeResponse extends $tea.Model {
739
1735
  headers?: { [key: string]: string };
740
1736
  statusCode?: number;
741
- body?: GetDocumentChunkListResponseBody;
1737
+ body?: GetHistoryListByBizTypeResponseBody;
742
1738
  static names(): { [key: string]: string } {
743
1739
  return {
744
1740
  headers: 'headers',
@@ -751,7 +1747,7 @@ export class GetDocumentChunkListResponse extends $tea.Model {
751
1747
  return {
752
1748
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
753
1749
  statusCode: 'number',
754
- body: GetDocumentChunkListResponseBody,
1750
+ body: GetHistoryListByBizTypeResponseBody,
755
1751
  };
756
1752
  }
757
1753
 
@@ -760,41 +1756,24 @@ export class GetDocumentChunkListResponse extends $tea.Model {
760
1756
  }
761
1757
  }
762
1758
 
763
- export class GetDocumentListRequest extends $tea.Model {
1759
+ export class GetLibraryRequest extends $tea.Model {
764
1760
  /**
765
1761
  * @remarks
766
1762
  * This parameter is required.
767
1763
  *
768
1764
  * @example
769
- * 3akzl28vap
1765
+ * cjshcxxxx
770
1766
  */
771
1767
  libraryId?: string;
772
- /**
773
- * @example
774
- * 1
775
- */
776
- page?: number;
777
- /**
778
- * @example
779
- * 10
780
- */
781
- pageSize?: number;
782
- status?: string;
783
1768
  static names(): { [key: string]: string } {
784
1769
  return {
785
1770
  libraryId: 'libraryId',
786
- page: 'page',
787
- pageSize: 'pageSize',
788
- status: 'status',
789
1771
  };
790
1772
  }
791
1773
 
792
1774
  static types(): { [key: string]: any } {
793
1775
  return {
794
1776
  libraryId: 'string',
795
- page: 'number',
796
- pageSize: 'number',
797
- status: 'string',
798
1777
  };
799
1778
  }
800
1779
 
@@ -803,13 +1782,13 @@ export class GetDocumentListRequest extends $tea.Model {
803
1782
  }
804
1783
  }
805
1784
 
806
- export class GetDocumentListResponseBody extends $tea.Model {
1785
+ export class GetLibraryResponseBody extends $tea.Model {
807
1786
  /**
808
1787
  * @example
809
1788
  * null
810
1789
  */
811
1790
  cost?: number;
812
- data?: GetDocumentListResponseBodyData;
1791
+ data?: GetLibraryResponseBodyData;
813
1792
  /**
814
1793
  * @example
815
1794
  * null
@@ -827,7 +1806,7 @@ export class GetDocumentListResponseBody extends $tea.Model {
827
1806
  message?: string;
828
1807
  /**
829
1808
  * @example
830
- * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
1809
+ * 44BD277A-87F9-5310-8D63-3E6645F1DA85
831
1810
  */
832
1811
  requestId?: string;
833
1812
  /**
@@ -837,7 +1816,7 @@ export class GetDocumentListResponseBody extends $tea.Model {
837
1816
  success?: boolean;
838
1817
  /**
839
1818
  * @example
840
- * 2024-04-24 11:54:34
1819
+ * 2024-01-01 00:00:00
841
1820
  */
842
1821
  time?: string;
843
1822
  static names(): { [key: string]: string } {
@@ -856,7 +1835,7 @@ export class GetDocumentListResponseBody extends $tea.Model {
856
1835
  static types(): { [key: string]: any } {
857
1836
  return {
858
1837
  cost: 'number',
859
- data: GetDocumentListResponseBodyData,
1838
+ data: GetLibraryResponseBodyData,
860
1839
  dataType: 'string',
861
1840
  errCode: 'string',
862
1841
  message: 'string',
@@ -871,10 +1850,10 @@ export class GetDocumentListResponseBody extends $tea.Model {
871
1850
  }
872
1851
  }
873
1852
 
874
- export class GetDocumentListResponse extends $tea.Model {
1853
+ export class GetLibraryResponse extends $tea.Model {
875
1854
  headers?: { [key: string]: string };
876
1855
  statusCode?: number;
877
- body?: GetDocumentListResponseBody;
1856
+ body?: GetLibraryResponseBody;
878
1857
  static names(): { [key: string]: string } {
879
1858
  return {
880
1859
  headers: 'headers',
@@ -887,7 +1866,7 @@ export class GetDocumentListResponse extends $tea.Model {
887
1866
  return {
888
1867
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
889
1868
  statusCode: 'number',
890
- body: GetDocumentListResponseBody,
1869
+ body: GetLibraryResponseBody,
891
1870
  };
892
1871
  }
893
1872
 
@@ -896,24 +1875,31 @@ export class GetDocumentListResponse extends $tea.Model {
896
1875
  }
897
1876
  }
898
1877
 
899
- export class GetDocumentUrlRequest extends $tea.Model {
1878
+ export class GetLibraryListRequest extends $tea.Model {
900
1879
  /**
901
- * @remarks
902
- * This parameter is required.
903
- *
904
1880
  * @example
905
- * 12681367362
1881
+ * 1
906
1882
  */
907
- documentId?: string;
1883
+ page?: number;
1884
+ /**
1885
+ * @example
1886
+ * 10
1887
+ */
1888
+ pageSize?: number;
1889
+ query?: string;
908
1890
  static names(): { [key: string]: string } {
909
1891
  return {
910
- documentId: 'documentId',
1892
+ page: 'page',
1893
+ pageSize: 'pageSize',
1894
+ query: 'query',
911
1895
  };
912
1896
  }
913
1897
 
914
1898
  static types(): { [key: string]: any } {
915
1899
  return {
916
- documentId: 'string',
1900
+ page: 'number',
1901
+ pageSize: 'number',
1902
+ query: 'string',
917
1903
  };
918
1904
  }
919
1905
 
@@ -922,17 +1908,13 @@ export class GetDocumentUrlRequest extends $tea.Model {
922
1908
  }
923
1909
  }
924
1910
 
925
- export class GetDocumentUrlResponseBody extends $tea.Model {
1911
+ export class GetLibraryListResponseBody extends $tea.Model {
926
1912
  /**
927
1913
  * @example
928
1914
  * null
929
1915
  */
930
1916
  cost?: number;
931
- /**
932
- * @example
933
- * https://path_to_file
934
- */
935
- data?: string;
1917
+ data?: GetLibraryListResponseBodyData;
936
1918
  /**
937
1919
  * @example
938
1920
  * null
@@ -950,7 +1932,7 @@ export class GetDocumentUrlResponseBody extends $tea.Model {
950
1932
  message?: string;
951
1933
  /**
952
1934
  * @example
953
- * 66249B43-8C2B-5EE7-AE78-B382306621C6
1935
+ * 0a06dfe817156528535968405edce3
954
1936
  */
955
1937
  requestId?: string;
956
1938
  /**
@@ -979,7 +1961,7 @@ export class GetDocumentUrlResponseBody extends $tea.Model {
979
1961
  static types(): { [key: string]: any } {
980
1962
  return {
981
1963
  cost: 'number',
982
- data: 'string',
1964
+ data: GetLibraryListResponseBodyData,
983
1965
  dataType: 'string',
984
1966
  errCode: 'string',
985
1967
  message: 'string',
@@ -994,10 +1976,10 @@ export class GetDocumentUrlResponseBody extends $tea.Model {
994
1976
  }
995
1977
  }
996
1978
 
997
- export class GetDocumentUrlResponse extends $tea.Model {
1979
+ export class GetLibraryListResponse extends $tea.Model {
998
1980
  headers?: { [key: string]: string };
999
1981
  statusCode?: number;
1000
- body?: GetDocumentUrlResponseBody;
1982
+ body?: GetLibraryListResponseBody;
1001
1983
  static names(): { [key: string]: string } {
1002
1984
  return {
1003
1985
  headers: 'headers',
@@ -1010,7 +1992,7 @@ export class GetDocumentUrlResponse extends $tea.Model {
1010
1992
  return {
1011
1993
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1012
1994
  statusCode: 'number',
1013
- body: GetDocumentUrlResponseBody,
1995
+ body: GetLibraryListResponseBody,
1014
1996
  };
1015
1997
  }
1016
1998
 
@@ -1019,50 +2001,34 @@ export class GetDocumentUrlResponse extends $tea.Model {
1019
2001
  }
1020
2002
  }
1021
2003
 
1022
- export class GetFilterDocumentListRequest extends $tea.Model {
1023
- and?: GetFilterDocumentListRequestAnd[];
1024
- docIdList?: string[];
2004
+ export class GetParseResultRequest extends $tea.Model {
1025
2005
  /**
1026
2006
  * @remarks
1027
2007
  * This parameter is required.
1028
2008
  *
1029
2009
  * @example
1030
- * cjshcxxxx
1031
- */
1032
- libraryId?: string;
1033
- or?: GetFilterDocumentListRequestOr[];
1034
- /**
1035
- * @example
1036
- * 1
2010
+ * 873648346573245
1037
2011
  */
1038
- page?: number;
2012
+ docId?: string;
1039
2013
  /**
2014
+ * @remarks
2015
+ * This parameter is required.
2016
+ *
1040
2017
  * @example
1041
- * 10
2018
+ * sjdgdsfg
1042
2019
  */
1043
- pageSize?: number;
1044
- status?: string[];
2020
+ libraryId?: string;
1045
2021
  static names(): { [key: string]: string } {
1046
2022
  return {
1047
- and: 'and',
1048
- docIdList: 'docIdList',
2023
+ docId: 'docId',
1049
2024
  libraryId: 'libraryId',
1050
- or: 'or',
1051
- page: 'page',
1052
- pageSize: 'pageSize',
1053
- status: 'status',
1054
2025
  };
1055
2026
  }
1056
2027
 
1057
2028
  static types(): { [key: string]: any } {
1058
2029
  return {
1059
- and: { 'type': 'array', 'itemType': GetFilterDocumentListRequestAnd },
1060
- docIdList: { 'type': 'array', 'itemType': 'string' },
2030
+ docId: 'string',
1061
2031
  libraryId: 'string',
1062
- or: { 'type': 'array', 'itemType': GetFilterDocumentListRequestOr },
1063
- page: 'number',
1064
- pageSize: 'number',
1065
- status: { 'type': 'array', 'itemType': 'string' },
1066
2032
  };
1067
2033
  }
1068
2034
 
@@ -1071,13 +2037,13 @@ export class GetFilterDocumentListRequest extends $tea.Model {
1071
2037
  }
1072
2038
  }
1073
2039
 
1074
- export class GetFilterDocumentListResponseBody extends $tea.Model {
2040
+ export class GetParseResultResponseBody extends $tea.Model {
1075
2041
  /**
1076
2042
  * @example
1077
2043
  * null
1078
2044
  */
1079
2045
  cost?: number;
1080
- data?: GetFilterDocumentListResponseBodyData;
2046
+ data?: GetParseResultResponseBodyData;
1081
2047
  /**
1082
2048
  * @example
1083
2049
  * null
@@ -1095,7 +2061,7 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
1095
2061
  message?: string;
1096
2062
  /**
1097
2063
  * @example
1098
- * 7ADF010C-FD89-569D-A079-2D4D5247E943
2064
+ * 0abb793617204049360065953ec6dd
1099
2065
  */
1100
2066
  requestId?: string;
1101
2067
  /**
@@ -1105,7 +2071,7 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
1105
2071
  success?: boolean;
1106
2072
  /**
1107
2073
  * @example
1108
- * 2024-01-01 00:00:00
2074
+ * 2024-04-24 11:54:34
1109
2075
  */
1110
2076
  time?: string;
1111
2077
  static names(): { [key: string]: string } {
@@ -1124,7 +2090,7 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
1124
2090
  static types(): { [key: string]: any } {
1125
2091
  return {
1126
2092
  cost: 'number',
1127
- data: GetFilterDocumentListResponseBodyData,
2093
+ data: GetParseResultResponseBodyData,
1128
2094
  dataType: 'string',
1129
2095
  errCode: 'string',
1130
2096
  message: 'string',
@@ -1139,10 +2105,10 @@ export class GetFilterDocumentListResponseBody extends $tea.Model {
1139
2105
  }
1140
2106
  }
1141
2107
 
1142
- export class GetFilterDocumentListResponse extends $tea.Model {
2108
+ export class GetParseResultResponse extends $tea.Model {
1143
2109
  headers?: { [key: string]: string };
1144
2110
  statusCode?: number;
1145
- body?: GetFilterDocumentListResponseBody;
2111
+ body?: GetParseResultResponseBody;
1146
2112
  static names(): { [key: string]: string } {
1147
2113
  return {
1148
2114
  headers: 'headers',
@@ -1155,7 +2121,7 @@ export class GetFilterDocumentListResponse extends $tea.Model {
1155
2121
  return {
1156
2122
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1157
2123
  statusCode: 'number',
1158
- body: GetFilterDocumentListResponseBody,
2124
+ body: GetParseResultResponseBody,
1159
2125
  };
1160
2126
  }
1161
2127
 
@@ -1164,48 +2130,24 @@ export class GetFilterDocumentListResponse extends $tea.Model {
1164
2130
  }
1165
2131
  }
1166
2132
 
1167
- export class GetHistoryListByBizTypeRequest extends $tea.Model {
1168
- /**
1169
- * @remarks
1170
- * This parameter is required.
1171
- *
1172
- * @example
1173
- * GysYBsxx
1174
- */
1175
- bizId?: string;
2133
+ export class GetSummaryTaskResultRequest extends $tea.Model {
1176
2134
  /**
1177
2135
  * @remarks
1178
2136
  * This parameter is required.
1179
2137
  *
1180
2138
  * @example
1181
- * LibraryChat
1182
- */
1183
- bizType?: string;
1184
- /**
1185
- * @example
1186
- * 1
1187
- */
1188
- page?: number;
1189
- /**
1190
- * @example
1191
- * 10
2139
+ * 17071319
1192
2140
  */
1193
- pageSize?: number;
2141
+ taskId?: string;
1194
2142
  static names(): { [key: string]: string } {
1195
2143
  return {
1196
- bizId: 'bizId',
1197
- bizType: 'bizType',
1198
- page: 'page',
1199
- pageSize: 'pageSize',
2144
+ taskId: 'taskId',
1200
2145
  };
1201
2146
  }
1202
2147
 
1203
2148
  static types(): { [key: string]: any } {
1204
2149
  return {
1205
- bizId: 'string',
1206
- bizType: 'string',
1207
- page: 'number',
1208
- pageSize: 'number',
2150
+ taskId: 'string',
1209
2151
  };
1210
2152
  }
1211
2153
 
@@ -1214,13 +2156,13 @@ export class GetHistoryListByBizTypeRequest extends $tea.Model {
1214
2156
  }
1215
2157
  }
1216
2158
 
1217
- export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
2159
+ export class GetSummaryTaskResultResponseBody extends $tea.Model {
1218
2160
  /**
1219
2161
  * @example
1220
2162
  * null
1221
2163
  */
1222
2164
  cost?: number;
1223
- data?: GetHistoryListByBizTypeResponseBodyData;
2165
+ data?: GetSummaryTaskResultResponseBodyData;
1224
2166
  /**
1225
2167
  * @example
1226
2168
  * null
@@ -1238,7 +2180,7 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1238
2180
  message?: string;
1239
2181
  /**
1240
2182
  * @example
1241
- * 9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E
2183
+ * 0bc13a9517168617617186457e401f
1242
2184
  */
1243
2185
  requestId?: string;
1244
2186
  /**
@@ -1248,7 +2190,7 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1248
2190
  success?: boolean;
1249
2191
  /**
1250
2192
  * @example
1251
- * 2024-01-01 00:00:00
2193
+ * 2024-04-24 11:54:34
1252
2194
  */
1253
2195
  time?: string;
1254
2196
  static names(): { [key: string]: string } {
@@ -1267,7 +2209,7 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1267
2209
  static types(): { [key: string]: any } {
1268
2210
  return {
1269
2211
  cost: 'number',
1270
- data: GetHistoryListByBizTypeResponseBodyData,
2212
+ data: GetSummaryTaskResultResponseBodyData,
1271
2213
  dataType: 'string',
1272
2214
  errCode: 'string',
1273
2215
  message: 'string',
@@ -1282,10 +2224,10 @@ export class GetHistoryListByBizTypeResponseBody extends $tea.Model {
1282
2224
  }
1283
2225
  }
1284
2226
 
1285
- export class GetHistoryListByBizTypeResponse extends $tea.Model {
2227
+ export class GetSummaryTaskResultResponse extends $tea.Model {
1286
2228
  headers?: { [key: string]: string };
1287
2229
  statusCode?: number;
1288
- body?: GetHistoryListByBizTypeResponseBody;
2230
+ body?: GetSummaryTaskResultResponseBody;
1289
2231
  static names(): { [key: string]: string } {
1290
2232
  return {
1291
2233
  headers: 'headers',
@@ -1298,7 +2240,7 @@ export class GetHistoryListByBizTypeResponse extends $tea.Model {
1298
2240
  return {
1299
2241
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1300
2242
  statusCode: 'number',
1301
- body: GetHistoryListByBizTypeResponseBody,
2243
+ body: GetSummaryTaskResultResponseBody,
1302
2244
  };
1303
2245
  }
1304
2246
 
@@ -1307,24 +2249,24 @@ export class GetHistoryListByBizTypeResponse extends $tea.Model {
1307
2249
  }
1308
2250
  }
1309
2251
 
1310
- export class GetLibraryRequest extends $tea.Model {
2252
+ export class GetTaskResultRequest extends $tea.Model {
1311
2253
  /**
1312
2254
  * @remarks
1313
2255
  * This parameter is required.
1314
2256
  *
1315
2257
  * @example
1316
- * cjshcxxxx
2258
+ * 17071319
1317
2259
  */
1318
- libraryId?: string;
2260
+ taskId?: string;
1319
2261
  static names(): { [key: string]: string } {
1320
2262
  return {
1321
- libraryId: 'libraryId',
2263
+ taskId: 'taskId',
1322
2264
  };
1323
2265
  }
1324
2266
 
1325
2267
  static types(): { [key: string]: any } {
1326
2268
  return {
1327
- libraryId: 'string',
2269
+ taskId: 'string',
1328
2270
  };
1329
2271
  }
1330
2272
 
@@ -1333,13 +2275,19 @@ export class GetLibraryRequest extends $tea.Model {
1333
2275
  }
1334
2276
  }
1335
2277
 
1336
- export class GetLibraryResponseBody extends $tea.Model {
2278
+ export class GetTaskResultResponseBody extends $tea.Model {
1337
2279
  /**
1338
2280
  * @example
1339
2281
  * null
1340
2282
  */
1341
2283
  cost?: number;
1342
- data?: GetLibraryResponseBodyData;
2284
+ /**
2285
+ * @example
2286
+ * {
2287
+ * "file_url": "https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf"
2288
+ * }
2289
+ */
2290
+ data?: { [key: string]: any };
1343
2291
  /**
1344
2292
  * @example
1345
2293
  * null
@@ -1357,7 +2305,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1357
2305
  message?: string;
1358
2306
  /**
1359
2307
  * @example
1360
- * 44BD277A-87F9-5310-8D63-3E6645F1DA85
2308
+ * 9D5D6BB5-BEAE-53C8-A70A-7275CC1F856C
1361
2309
  */
1362
2310
  requestId?: string;
1363
2311
  /**
@@ -1367,7 +2315,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1367
2315
  success?: boolean;
1368
2316
  /**
1369
2317
  * @example
1370
- * 2024-01-01 00:00:00
2318
+ * 2024-04-24 11:54:34
1371
2319
  */
1372
2320
  time?: string;
1373
2321
  static names(): { [key: string]: string } {
@@ -1386,7 +2334,7 @@ export class GetLibraryResponseBody extends $tea.Model {
1386
2334
  static types(): { [key: string]: any } {
1387
2335
  return {
1388
2336
  cost: 'number',
1389
- data: GetLibraryResponseBodyData,
2337
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1390
2338
  dataType: 'string',
1391
2339
  errCode: 'string',
1392
2340
  message: 'string',
@@ -1401,10 +2349,10 @@ export class GetLibraryResponseBody extends $tea.Model {
1401
2349
  }
1402
2350
  }
1403
2351
 
1404
- export class GetLibraryResponse extends $tea.Model {
2352
+ export class GetTaskResultResponse extends $tea.Model {
1405
2353
  headers?: { [key: string]: string };
1406
2354
  statusCode?: number;
1407
- body?: GetLibraryResponseBody;
2355
+ body?: GetTaskResultResponseBody;
1408
2356
  static names(): { [key: string]: string } {
1409
2357
  return {
1410
2358
  headers: 'headers',
@@ -1417,7 +2365,7 @@ export class GetLibraryResponse extends $tea.Model {
1417
2365
  return {
1418
2366
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1419
2367
  statusCode: 'number',
1420
- body: GetLibraryResponseBody,
2368
+ body: GetTaskResultResponseBody,
1421
2369
  };
1422
2370
  }
1423
2371
 
@@ -1426,31 +2374,21 @@ export class GetLibraryResponse extends $tea.Model {
1426
2374
  }
1427
2375
  }
1428
2376
 
1429
- export class GetLibraryListRequest extends $tea.Model {
1430
- /**
1431
- * @example
1432
- * 1
1433
- */
1434
- page?: number;
2377
+ export class GetTaskStatusRequest extends $tea.Model {
1435
2378
  /**
1436
- * @example
1437
- * 10
2379
+ * @remarks
2380
+ * This parameter is required.
1438
2381
  */
1439
- pageSize?: number;
1440
- query?: string;
2382
+ taskId?: string;
1441
2383
  static names(): { [key: string]: string } {
1442
2384
  return {
1443
- page: 'page',
1444
- pageSize: 'pageSize',
1445
- query: 'query',
2385
+ taskId: 'taskId',
1446
2386
  };
1447
2387
  }
1448
2388
 
1449
2389
  static types(): { [key: string]: any } {
1450
2390
  return {
1451
- page: 'number',
1452
- pageSize: 'number',
1453
- query: 'string',
2391
+ taskId: 'string',
1454
2392
  };
1455
2393
  }
1456
2394
 
@@ -1459,42 +2397,14 @@ export class GetLibraryListRequest extends $tea.Model {
1459
2397
  }
1460
2398
  }
1461
2399
 
1462
- export class GetLibraryListResponseBody extends $tea.Model {
1463
- /**
1464
- * @example
1465
- * null
1466
- */
2400
+ export class GetTaskStatusResponseBody extends $tea.Model {
1467
2401
  cost?: number;
1468
- data?: GetLibraryListResponseBodyData;
1469
- /**
1470
- * @example
1471
- * null
1472
- */
2402
+ data?: string;
1473
2403
  dataType?: string;
1474
- /**
1475
- * @example
1476
- * 0
1477
- */
1478
2404
  errCode?: string;
1479
- /**
1480
- * @example
1481
- * ok
1482
- */
1483
2405
  message?: string;
1484
- /**
1485
- * @example
1486
- * 0a06dfe817156528535968405edce3
1487
- */
1488
2406
  requestId?: string;
1489
- /**
1490
- * @example
1491
- * true
1492
- */
1493
2407
  success?: boolean;
1494
- /**
1495
- * @example
1496
- * 2024-01-01 00:00:00
1497
- */
1498
2408
  time?: string;
1499
2409
  static names(): { [key: string]: string } {
1500
2410
  return {
@@ -1512,7 +2422,7 @@ export class GetLibraryListResponseBody extends $tea.Model {
1512
2422
  static types(): { [key: string]: any } {
1513
2423
  return {
1514
2424
  cost: 'number',
1515
- data: GetLibraryListResponseBodyData,
2425
+ data: 'string',
1516
2426
  dataType: 'string',
1517
2427
  errCode: 'string',
1518
2428
  message: 'string',
@@ -1527,10 +2437,10 @@ export class GetLibraryListResponseBody extends $tea.Model {
1527
2437
  }
1528
2438
  }
1529
2439
 
1530
- export class GetLibraryListResponse extends $tea.Model {
2440
+ export class GetTaskStatusResponse extends $tea.Model {
1531
2441
  headers?: { [key: string]: string };
1532
2442
  statusCode?: number;
1533
- body?: GetLibraryListResponseBody;
2443
+ body?: GetTaskStatusResponseBody;
1534
2444
  static names(): { [key: string]: string } {
1535
2445
  return {
1536
2446
  headers: 'headers',
@@ -1543,7 +2453,7 @@ export class GetLibraryListResponse extends $tea.Model {
1543
2453
  return {
1544
2454
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1545
2455
  statusCode: 'number',
1546
- body: GetLibraryListResponseBody,
2456
+ body: GetTaskStatusResponseBody,
1547
2457
  };
1548
2458
  }
1549
2459
 
@@ -1552,34 +2462,24 @@ export class GetLibraryListResponse extends $tea.Model {
1552
2462
  }
1553
2463
  }
1554
2464
 
1555
- export class GetParseResultRequest extends $tea.Model {
1556
- /**
1557
- * @remarks
1558
- * This parameter is required.
1559
- *
1560
- * @example
1561
- * 873648346573245
1562
- */
1563
- docId?: string;
2465
+ export class InvokePluginRequest extends $tea.Model {
2466
+ params?: { [key: string]: any };
1564
2467
  /**
1565
- * @remarks
1566
- * This parameter is required.
1567
- *
1568
2468
  * @example
1569
- * sjdgdsfg
2469
+ * 3mj87da7zr
1570
2470
  */
1571
- libraryId?: string;
2471
+ pluginId?: string;
1572
2472
  static names(): { [key: string]: string } {
1573
2473
  return {
1574
- docId: 'docId',
1575
- libraryId: 'libraryId',
2474
+ params: 'params',
2475
+ pluginId: 'pluginId',
1576
2476
  };
1577
2477
  }
1578
2478
 
1579
2479
  static types(): { [key: string]: any } {
1580
2480
  return {
1581
- docId: 'string',
1582
- libraryId: 'string',
2481
+ params: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2482
+ pluginId: 'string',
1583
2483
  };
1584
2484
  }
1585
2485
 
@@ -1588,13 +2488,17 @@ export class GetParseResultRequest extends $tea.Model {
1588
2488
  }
1589
2489
  }
1590
2490
 
1591
- export class GetParseResultResponseBody extends $tea.Model {
2491
+ export class InvokePluginResponseBody extends $tea.Model {
1592
2492
  /**
1593
2493
  * @example
1594
2494
  * null
1595
2495
  */
1596
2496
  cost?: number;
1597
- data?: GetParseResultResponseBodyData;
2497
+ /**
2498
+ * @example
2499
+ * {\\"jobWaiting\\": [0, 0], \\"timestamps\\": [1713383820, 1713383880], \\"jobUsage\\": [0, 0], \\"quotaUsage\\": [123, 32]}
2500
+ */
2501
+ data?: { [key: string]: any };
1598
2502
  /**
1599
2503
  * @example
1600
2504
  * null
@@ -1612,7 +2516,7 @@ export class GetParseResultResponseBody extends $tea.Model {
1612
2516
  message?: string;
1613
2517
  /**
1614
2518
  * @example
1615
- * 0abb793617204049360065953ec6dd
2519
+ * 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
1616
2520
  */
1617
2521
  requestId?: string;
1618
2522
  /**
@@ -1641,7 +2545,7 @@ export class GetParseResultResponseBody extends $tea.Model {
1641
2545
  static types(): { [key: string]: any } {
1642
2546
  return {
1643
2547
  cost: 'number',
1644
- data: GetParseResultResponseBodyData,
2548
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1645
2549
  dataType: 'string',
1646
2550
  errCode: 'string',
1647
2551
  message: 'string',
@@ -1656,10 +2560,10 @@ export class GetParseResultResponseBody extends $tea.Model {
1656
2560
  }
1657
2561
  }
1658
2562
 
1659
- export class GetParseResultResponse extends $tea.Model {
2563
+ export class InvokePluginResponse extends $tea.Model {
1660
2564
  headers?: { [key: string]: string };
1661
2565
  statusCode?: number;
1662
- body?: GetParseResultResponseBody;
2566
+ body?: InvokePluginResponseBody;
1663
2567
  static names(): { [key: string]: string } {
1664
2568
  return {
1665
2569
  headers: 'headers',
@@ -1672,7 +2576,7 @@ export class GetParseResultResponse extends $tea.Model {
1672
2576
  return {
1673
2577
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1674
2578
  statusCode: 'number',
1675
- body: GetParseResultResponseBody,
2579
+ body: InvokePluginResponseBody,
1676
2580
  };
1677
2581
  }
1678
2582
 
@@ -1681,24 +2585,24 @@ export class GetParseResultResponse extends $tea.Model {
1681
2585
  }
1682
2586
  }
1683
2587
 
1684
- export class InvokePluginRequest extends $tea.Model {
1685
- params?: { [key: string]: any };
2588
+ export class PreviewDocumentRequest extends $tea.Model {
1686
2589
  /**
2590
+ * @remarks
2591
+ * This parameter is required.
2592
+ *
1687
2593
  * @example
1688
- * 3mj87da7zr
2594
+ * 8326472354762354
1689
2595
  */
1690
- pluginId?: string;
2596
+ documentId?: string;
1691
2597
  static names(): { [key: string]: string } {
1692
2598
  return {
1693
- params: 'params',
1694
- pluginId: 'pluginId',
2599
+ documentId: 'documentId',
1695
2600
  };
1696
2601
  }
1697
2602
 
1698
2603
  static types(): { [key: string]: any } {
1699
2604
  return {
1700
- params: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1701
- pluginId: 'string',
2605
+ documentId: 'string',
1702
2606
  };
1703
2607
  }
1704
2608
 
@@ -1707,17 +2611,13 @@ export class InvokePluginRequest extends $tea.Model {
1707
2611
  }
1708
2612
  }
1709
2613
 
1710
- export class InvokePluginResponseBody extends $tea.Model {
2614
+ export class PreviewDocumentResponseBody extends $tea.Model {
1711
2615
  /**
1712
2616
  * @example
1713
2617
  * null
1714
2618
  */
1715
2619
  cost?: number;
1716
- /**
1717
- * @example
1718
- * {\\"jobWaiting\\": [0, 0], \\"timestamps\\": [1713383820, 1713383880], \\"jobUsage\\": [0, 0], \\"quotaUsage\\": [123, 32]}
1719
- */
1720
- data?: { [key: string]: any };
2620
+ data?: PreviewDocumentResponseBodyData;
1721
2621
  /**
1722
2622
  * @example
1723
2623
  * null
@@ -1735,7 +2635,7 @@ export class InvokePluginResponseBody extends $tea.Model {
1735
2635
  message?: string;
1736
2636
  /**
1737
2637
  * @example
1738
- * 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
2638
+ * ff551395-1c8a-4f30-8ffd-ef7e87c70b4c
1739
2639
  */
1740
2640
  requestId?: string;
1741
2641
  /**
@@ -1764,7 +2664,7 @@ export class InvokePluginResponseBody extends $tea.Model {
1764
2664
  static types(): { [key: string]: any } {
1765
2665
  return {
1766
2666
  cost: 'number',
1767
- data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2667
+ data: PreviewDocumentResponseBodyData,
1768
2668
  dataType: 'string',
1769
2669
  errCode: 'string',
1770
2670
  message: 'string',
@@ -1779,10 +2679,10 @@ export class InvokePluginResponseBody extends $tea.Model {
1779
2679
  }
1780
2680
  }
1781
2681
 
1782
- export class InvokePluginResponse extends $tea.Model {
2682
+ export class PreviewDocumentResponse extends $tea.Model {
1783
2683
  headers?: { [key: string]: string };
1784
2684
  statusCode?: number;
1785
- body?: InvokePluginResponseBody;
2685
+ body?: PreviewDocumentResponseBody;
1786
2686
  static names(): { [key: string]: string } {
1787
2687
  return {
1788
2688
  headers: 'headers',
@@ -1795,7 +2695,7 @@ export class InvokePluginResponse extends $tea.Model {
1795
2695
  return {
1796
2696
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1797
2697
  statusCode: 'number',
1798
- body: InvokePluginResponseBody,
2698
+ body: PreviewDocumentResponseBody,
1799
2699
  };
1800
2700
  }
1801
2701
 
@@ -1804,7 +2704,7 @@ export class InvokePluginResponse extends $tea.Model {
1804
2704
  }
1805
2705
  }
1806
2706
 
1807
- export class PreviewDocumentRequest extends $tea.Model {
2707
+ export class ReIndexRequest extends $tea.Model {
1808
2708
  /**
1809
2709
  * @remarks
1810
2710
  * This parameter is required.
@@ -1830,13 +2730,17 @@ export class PreviewDocumentRequest extends $tea.Model {
1830
2730
  }
1831
2731
  }
1832
2732
 
1833
- export class PreviewDocumentResponseBody extends $tea.Model {
2733
+ export class ReIndexResponseBody extends $tea.Model {
1834
2734
  /**
1835
2735
  * @example
1836
2736
  * null
1837
2737
  */
1838
2738
  cost?: number;
1839
- data?: PreviewDocumentResponseBodyData;
2739
+ /**
2740
+ * @example
2741
+ * True
2742
+ */
2743
+ data?: string;
1840
2744
  /**
1841
2745
  * @example
1842
2746
  * null
@@ -1854,7 +2758,7 @@ export class PreviewDocumentResponseBody extends $tea.Model {
1854
2758
  message?: string;
1855
2759
  /**
1856
2760
  * @example
1857
- * ff551395-1c8a-4f30-8ffd-ef7e87c70b4c
2761
+ * 32FFC91D-0A9F-585A-B84F-8A54C5187035
1858
2762
  */
1859
2763
  requestId?: string;
1860
2764
  /**
@@ -1883,7 +2787,7 @@ export class PreviewDocumentResponseBody extends $tea.Model {
1883
2787
  static types(): { [key: string]: any } {
1884
2788
  return {
1885
2789
  cost: 'number',
1886
- data: PreviewDocumentResponseBodyData,
2790
+ data: 'string',
1887
2791
  dataType: 'string',
1888
2792
  errCode: 'string',
1889
2793
  message: 'string',
@@ -1898,10 +2802,10 @@ export class PreviewDocumentResponseBody extends $tea.Model {
1898
2802
  }
1899
2803
  }
1900
2804
 
1901
- export class PreviewDocumentResponse extends $tea.Model {
2805
+ export class ReIndexResponse extends $tea.Model {
1902
2806
  headers?: { [key: string]: string };
1903
2807
  statusCode?: number;
1904
- body?: PreviewDocumentResponseBody;
2808
+ body?: ReIndexResponseBody;
1905
2809
  static names(): { [key: string]: string } {
1906
2810
  return {
1907
2811
  headers: 'headers',
@@ -1914,7 +2818,7 @@ export class PreviewDocumentResponse extends $tea.Model {
1914
2818
  return {
1915
2819
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1916
2820
  statusCode: 'number',
1917
- body: PreviewDocumentResponseBody,
2821
+ body: ReIndexResponseBody,
1918
2822
  };
1919
2823
  }
1920
2824
 
@@ -1923,24 +2827,38 @@ export class PreviewDocumentResponse extends $tea.Model {
1923
2827
  }
1924
2828
  }
1925
2829
 
1926
- export class ReIndexRequest extends $tea.Model {
2830
+ export class RecallDocumentRequest extends $tea.Model {
2831
+ filters?: RecallDocumentRequestFilters[];
1927
2832
  /**
1928
2833
  * @remarks
1929
2834
  * This parameter is required.
1930
- *
2835
+ */
2836
+ query?: string;
2837
+ /**
1931
2838
  * @example
1932
- * 8326472354762354
2839
+ * false
1933
2840
  */
1934
- documentId?: string;
2841
+ rearrangement?: boolean;
2842
+ /**
2843
+ * @example
2844
+ * 10
2845
+ */
2846
+ topK?: number;
1935
2847
  static names(): { [key: string]: string } {
1936
2848
  return {
1937
- documentId: 'documentId',
2849
+ filters: 'filters',
2850
+ query: 'query',
2851
+ rearrangement: 'rearrangement',
2852
+ topK: 'topK',
1938
2853
  };
1939
2854
  }
1940
2855
 
1941
2856
  static types(): { [key: string]: any } {
1942
2857
  return {
1943
- documentId: 'string',
2858
+ filters: { 'type': 'array', 'itemType': RecallDocumentRequestFilters },
2859
+ query: 'string',
2860
+ rearrangement: 'boolean',
2861
+ topK: 'number',
1944
2862
  };
1945
2863
  }
1946
2864
 
@@ -1949,17 +2867,13 @@ export class ReIndexRequest extends $tea.Model {
1949
2867
  }
1950
2868
  }
1951
2869
 
1952
- export class ReIndexResponseBody extends $tea.Model {
2870
+ export class RecallDocumentResponseBody extends $tea.Model {
1953
2871
  /**
1954
2872
  * @example
1955
- * null
2873
+ * 0
1956
2874
  */
1957
2875
  cost?: number;
1958
- /**
1959
- * @example
1960
- * True
1961
- */
1962
- data?: string;
2876
+ data?: RecallDocumentResponseBodyData;
1963
2877
  /**
1964
2878
  * @example
1965
2879
  * null
@@ -1977,7 +2891,7 @@ export class ReIndexResponseBody extends $tea.Model {
1977
2891
  message?: string;
1978
2892
  /**
1979
2893
  * @example
1980
- * 32FFC91D-0A9F-585A-B84F-8A54C5187035
2894
+ * 0bc13a9517168617617186457e401f
1981
2895
  */
1982
2896
  requestId?: string;
1983
2897
  /**
@@ -2006,7 +2920,7 @@ export class ReIndexResponseBody extends $tea.Model {
2006
2920
  static types(): { [key: string]: any } {
2007
2921
  return {
2008
2922
  cost: 'number',
2009
- data: 'string',
2923
+ data: RecallDocumentResponseBodyData,
2010
2924
  dataType: 'string',
2011
2925
  errCode: 'string',
2012
2926
  message: 'string',
@@ -2021,10 +2935,10 @@ export class ReIndexResponseBody extends $tea.Model {
2021
2935
  }
2022
2936
  }
2023
2937
 
2024
- export class ReIndexResponse extends $tea.Model {
2938
+ export class RecallDocumentResponse extends $tea.Model {
2025
2939
  headers?: { [key: string]: string };
2026
2940
  statusCode?: number;
2027
- body?: ReIndexResponseBody;
2941
+ body?: RecallDocumentResponseBody;
2028
2942
  static names(): { [key: string]: string } {
2029
2943
  return {
2030
2944
  headers: 'headers',
@@ -2037,7 +2951,7 @@ export class ReIndexResponse extends $tea.Model {
2037
2951
  return {
2038
2952
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2039
2953
  statusCode: 'number',
2040
- body: ReIndexResponseBody,
2954
+ body: RecallDocumentResponseBody,
2041
2955
  };
2042
2956
  }
2043
2957
 
@@ -2046,38 +2960,61 @@ export class ReIndexResponse extends $tea.Model {
2046
2960
  }
2047
2961
  }
2048
2962
 
2049
- export class RecallDocumentRequest extends $tea.Model {
2050
- filters?: RecallDocumentRequestFilters[];
2963
+ export class RecognizeIntentionRequest extends $tea.Model {
2964
+ /**
2965
+ * @example
2966
+ * false
2967
+ */
2968
+ analysis?: boolean;
2051
2969
  /**
2052
2970
  * @remarks
2053
2971
  * This parameter is required.
2972
+ *
2973
+ * @example
2974
+ * common
2054
2975
  */
2055
- query?: string;
2976
+ bizType?: string;
2977
+ /**
2978
+ * @remarks
2979
+ * This parameter is required.
2980
+ */
2981
+ conversation?: string;
2982
+ globalIntentionList?: RecognizeIntentionRequestGlobalIntentionList[];
2983
+ hierarchicalIntentionList?: RecognizeIntentionRequestHierarchicalIntentionList[];
2984
+ intentionList?: RecognizeIntentionRequestIntentionList[];
2056
2985
  /**
2057
2986
  * @example
2058
- * false
2987
+ * common
2059
2988
  */
2060
- rearrangement?: boolean;
2989
+ opType?: string;
2061
2990
  /**
2062
2991
  * @example
2063
- * 10
2992
+ * false
2064
2993
  */
2065
- topK?: number;
2994
+ recommend?: boolean;
2066
2995
  static names(): { [key: string]: string } {
2067
2996
  return {
2068
- filters: 'filters',
2069
- query: 'query',
2070
- rearrangement: 'rearrangement',
2071
- topK: 'topK',
2997
+ analysis: 'analysis',
2998
+ bizType: 'bizType',
2999
+ conversation: 'conversation',
3000
+ globalIntentionList: 'globalIntentionList',
3001
+ hierarchicalIntentionList: 'hierarchicalIntentionList',
3002
+ intentionList: 'intentionList',
3003
+ opType: 'opType',
3004
+ recommend: 'recommend',
2072
3005
  };
2073
3006
  }
2074
3007
 
2075
3008
  static types(): { [key: string]: any } {
2076
3009
  return {
2077
- filters: { 'type': 'array', 'itemType': RecallDocumentRequestFilters },
2078
- query: 'string',
2079
- rearrangement: 'boolean',
2080
- topK: 'number',
3010
+ analysis: 'boolean',
3011
+ bizType: 'string',
3012
+ conversation: 'string',
3013
+ globalIntentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestGlobalIntentionList },
3014
+ hierarchicalIntentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestHierarchicalIntentionList },
3015
+ intentionList: { 'type': 'array', 'itemType': RecognizeIntentionRequestIntentionList },
3016
+ opType: 'string',
3017
+ recommend: 'boolean',
2081
3018
  };
2082
3019
  }
2083
3020
 
@@ -2086,13 +3023,13 @@ export class RecallDocumentRequest extends $tea.Model {
2086
3023
  }
2087
3024
  }
2088
3025
 
2089
- export class RecallDocumentResponseBody extends $tea.Model {
3026
+ export class RecognizeIntentionResponseBody extends $tea.Model {
2090
3027
  /**
2091
3028
  * @example
2092
- * 0
3029
+ * null
2093
3030
  */
2094
3031
  cost?: number;
2095
- data?: RecallDocumentResponseBodyData;
3032
+ data?: RecognizeIntentionResponseBodyData;
2096
3033
  /**
2097
3034
  * @example
2098
3035
  * null
@@ -2110,7 +3047,7 @@ export class RecallDocumentResponseBody extends $tea.Model {
2110
3047
  message?: string;
2111
3048
  /**
2112
3049
  * @example
2113
- * 0bc13a9517168617617186457e401f
3050
+ * 003D019A-1BB3-53EC-A0D2-CE76DA5D73B1
2114
3051
  */
2115
3052
  requestId?: string;
2116
3053
  /**
@@ -2139,7 +3076,7 @@ export class RecallDocumentResponseBody extends $tea.Model {
2139
3076
  static types(): { [key: string]: any } {
2140
3077
  return {
2141
3078
  cost: 'number',
2142
- data: RecallDocumentResponseBodyData,
3079
+ data: RecognizeIntentionResponseBodyData,
2143
3080
  dataType: 'string',
2144
3081
  errCode: 'string',
2145
3082
  message: 'string',
@@ -2154,10 +3091,10 @@ export class RecallDocumentResponseBody extends $tea.Model {
2154
3091
  }
2155
3092
  }
2156
3093
 
2157
- export class RecallDocumentResponse extends $tea.Model {
3094
+ export class RecognizeIntentionResponse extends $tea.Model {
2158
3095
  headers?: { [key: string]: string };
2159
3096
  statusCode?: number;
2160
- body?: RecallDocumentResponseBody;
3097
+ body?: RecognizeIntentionResponseBody;
2161
3098
  static names(): { [key: string]: string } {
2162
3099
  return {
2163
3100
  headers: 'headers',
@@ -2170,7 +3107,7 @@ export class RecallDocumentResponse extends $tea.Model {
2170
3107
  return {
2171
3108
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2172
3109
  statusCode: 'number',
2173
- body: RecallDocumentResponseBody,
3110
+ body: RecognizeIntentionResponseBody,
2174
3111
  };
2175
3112
  }
2176
3113
 
@@ -4850,51 +5787,216 @@ export class GetLibraryListResponseBodyDataRecordsIndexSetting extends $tea.Mode
4850
5787
  }
4851
5788
  }
4852
5789
 
4853
- export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
4854
- description?: string;
4855
- /**
4856
- * @example
4857
- * 10
4858
- */
4859
- documentCount?: number;
4860
- /**
4861
- * @example
4862
- * 2024-01-01 00:00:00
4863
- */
4864
- gmtCreate?: string;
5790
+ export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
5791
+ description?: string;
5792
+ /**
5793
+ * @example
5794
+ * 10
5795
+ */
5796
+ documentCount?: number;
5797
+ /**
5798
+ * @example
5799
+ * 2024-01-01 00:00:00
5800
+ */
5801
+ gmtCreate?: string;
5802
+ /**
5803
+ * @example
5804
+ * 2024-01-01 00:00:00
5805
+ */
5806
+ gmtModified?: string;
5807
+ /**
5808
+ * @example
5809
+ * 24vs4aa42jv1rg7
5810
+ */
5811
+ id?: string;
5812
+ indexSetting?: GetLibraryListResponseBodyDataRecordsIndexSetting;
5813
+ libraryName?: string;
5814
+ static names(): { [key: string]: string } {
5815
+ return {
5816
+ description: 'description',
5817
+ documentCount: 'documentCount',
5818
+ gmtCreate: 'gmtCreate',
5819
+ gmtModified: 'gmtModified',
5820
+ id: 'id',
5821
+ indexSetting: 'indexSetting',
5822
+ libraryName: 'libraryName',
5823
+ };
5824
+ }
5825
+
5826
+ static types(): { [key: string]: any } {
5827
+ return {
5828
+ description: 'string',
5829
+ documentCount: 'number',
5830
+ gmtCreate: 'string',
5831
+ gmtModified: 'string',
5832
+ id: 'string',
5833
+ indexSetting: GetLibraryListResponseBodyDataRecordsIndexSetting,
5834
+ libraryName: 'string',
5835
+ };
5836
+ }
5837
+
5838
+ constructor(map?: { [key: string]: any }) {
5839
+ super(map);
5840
+ }
5841
+ }
5842
+
5843
+ export class GetLibraryListResponseBodyData extends $tea.Model {
5844
+ /**
5845
+ * @example
5846
+ * 1
5847
+ */
5848
+ currentPage?: number;
5849
+ /**
5850
+ * @example
5851
+ * 10
5852
+ */
5853
+ pageSize?: number;
5854
+ records?: GetLibraryListResponseBodyDataRecords[];
5855
+ /**
5856
+ * @example
5857
+ * 10
5858
+ */
5859
+ totalPages?: number;
5860
+ /**
5861
+ * @example
5862
+ * 100
5863
+ */
5864
+ totalRecords?: number;
5865
+ static names(): { [key: string]: string } {
5866
+ return {
5867
+ currentPage: 'currentPage',
5868
+ pageSize: 'pageSize',
5869
+ records: 'records',
5870
+ totalPages: 'totalPages',
5871
+ totalRecords: 'totalRecords',
5872
+ };
5873
+ }
5874
+
5875
+ static types(): { [key: string]: any } {
5876
+ return {
5877
+ currentPage: 'number',
5878
+ pageSize: 'number',
5879
+ records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
5880
+ totalPages: 'number',
5881
+ totalRecords: 'number',
5882
+ };
5883
+ }
5884
+
5885
+ constructor(map?: { [key: string]: any }) {
5886
+ super(map);
5887
+ }
5888
+ }
5889
+
5890
+ export class GetParseResultResponseBodyData extends $tea.Model {
5891
+ /**
5892
+ * @example
5893
+ * pdf
5894
+ */
5895
+ fileType?: string;
5896
+ /**
5897
+ * @example
5898
+ * null
5899
+ */
5900
+ providerType?: string;
5901
+ /**
5902
+ * @example
5903
+ * b0a202e2-5031-4589-a6d7-39185f0d8d01
5904
+ */
5905
+ requestId?: string;
5906
+ /**
5907
+ * @example
5908
+ * {
5909
+ * "Status": "Success",
5910
+ * "Data": {},
5911
+ * "Message": null,
5912
+ * "TaskId": "docmind-20240601-123abc"
5913
+ * }
5914
+ */
5915
+ result?: { [key: string]: any };
5916
+ /**
5917
+ * @example
5918
+ * WaitRefresh
5919
+ */
5920
+ status?: string;
5921
+ static names(): { [key: string]: string } {
5922
+ return {
5923
+ fileType: 'fileType',
5924
+ providerType: 'providerType',
5925
+ requestId: 'requestId',
5926
+ result: 'result',
5927
+ status: 'status',
5928
+ };
5929
+ }
5930
+
5931
+ static types(): { [key: string]: any } {
5932
+ return {
5933
+ fileType: 'string',
5934
+ providerType: 'string',
5935
+ requestId: 'string',
5936
+ result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
5937
+ status: 'string',
5938
+ };
5939
+ }
5940
+
5941
+ constructor(map?: { [key: string]: any }) {
5942
+ super(map);
5943
+ }
5944
+ }
5945
+
5946
+ export class GetSummaryTaskResultResponseBodyDataChoicesMessage extends $tea.Model {
5947
+ content?: string;
5948
+ /**
5949
+ * @example
5950
+ * assistant
5951
+ */
5952
+ role?: string;
5953
+ toolCalls?: { [key: string]: any }[];
5954
+ static names(): { [key: string]: string } {
5955
+ return {
5956
+ content: 'content',
5957
+ role: 'role',
5958
+ toolCalls: 'toolCalls',
5959
+ };
5960
+ }
5961
+
5962
+ static types(): { [key: string]: any } {
5963
+ return {
5964
+ content: 'string',
5965
+ role: 'string',
5966
+ toolCalls: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
5967
+ };
5968
+ }
5969
+
5970
+ constructor(map?: { [key: string]: any }) {
5971
+ super(map);
5972
+ }
5973
+ }
5974
+
5975
+ export class GetSummaryTaskResultResponseBodyDataChoices extends $tea.Model {
4865
5976
  /**
4866
5977
  * @example
4867
- * 2024-01-01 00:00:00
5978
+ * stop
4868
5979
  */
4869
- gmtModified?: string;
5980
+ finishReason?: string;
4870
5981
  /**
4871
5982
  * @example
4872
- * 24vs4aa42jv1rg7
5983
+ * 0
4873
5984
  */
4874
- id?: string;
4875
- indexSetting?: GetLibraryListResponseBodyDataRecordsIndexSetting;
4876
- libraryName?: string;
5985
+ index?: number;
5986
+ message?: GetSummaryTaskResultResponseBodyDataChoicesMessage;
4877
5987
  static names(): { [key: string]: string } {
4878
5988
  return {
4879
- description: 'description',
4880
- documentCount: 'documentCount',
4881
- gmtCreate: 'gmtCreate',
4882
- gmtModified: 'gmtModified',
4883
- id: 'id',
4884
- indexSetting: 'indexSetting',
4885
- libraryName: 'libraryName',
5989
+ finishReason: 'finishReason',
5990
+ index: 'index',
5991
+ message: 'message',
4886
5992
  };
4887
5993
  }
4888
5994
 
4889
5995
  static types(): { [key: string]: any } {
4890
5996
  return {
4891
- description: 'string',
4892
- documentCount: 'number',
4893
- gmtCreate: 'string',
4894
- gmtModified: 'string',
4895
- id: 'string',
4896
- indexSetting: GetLibraryListResponseBodyDataRecordsIndexSetting,
4897
- libraryName: 'string',
5997
+ finishReason: 'string',
5998
+ index: 'number',
5999
+ message: GetSummaryTaskResultResponseBodyDataChoicesMessage,
4898
6000
  };
4899
6001
  }
4900
6002
 
@@ -4903,45 +6005,49 @@ export class GetLibraryListResponseBodyDataRecords extends $tea.Model {
4903
6005
  }
4904
6006
  }
4905
6007
 
4906
- export class GetLibraryListResponseBodyData extends $tea.Model {
6008
+ export class GetSummaryTaskResultResponseBodyDataUsage extends $tea.Model {
4907
6009
  /**
4908
6010
  * @example
4909
- * 1
6011
+ * 0
4910
6012
  */
4911
- currentPage?: number;
6013
+ imageCount?: number;
4912
6014
  /**
4913
6015
  * @example
4914
- * 10
6016
+ * 0
4915
6017
  */
4916
- pageSize?: number;
4917
- records?: GetLibraryListResponseBodyDataRecords[];
6018
+ imageTokens?: number;
4918
6019
  /**
4919
6020
  * @example
4920
- * 10
6021
+ * 100
4921
6022
  */
4922
- totalPages?: number;
6023
+ inputTokens?: number;
4923
6024
  /**
4924
6025
  * @example
4925
- * 100
6026
+ * 200
4926
6027
  */
4927
- totalRecords?: number;
6028
+ outputTokens?: number;
6029
+ /**
6030
+ * @example
6031
+ * 300
6032
+ */
6033
+ totalTokens?: number;
4928
6034
  static names(): { [key: string]: string } {
4929
6035
  return {
4930
- currentPage: 'currentPage',
4931
- pageSize: 'pageSize',
4932
- records: 'records',
4933
- totalPages: 'totalPages',
4934
- totalRecords: 'totalRecords',
6036
+ imageCount: 'imageCount',
6037
+ imageTokens: 'imageTokens',
6038
+ inputTokens: 'inputTokens',
6039
+ outputTokens: 'outputTokens',
6040
+ totalTokens: 'totalTokens',
4935
6041
  };
4936
6042
  }
4937
6043
 
4938
6044
  static types(): { [key: string]: any } {
4939
6045
  return {
4940
- currentPage: 'number',
4941
- pageSize: 'number',
4942
- records: { 'type': 'array', 'itemType': GetLibraryListResponseBodyDataRecords },
4943
- totalPages: 'number',
4944
- totalRecords: 'number',
6046
+ imageCount: 'number',
6047
+ imageTokens: 'number',
6048
+ inputTokens: 'number',
6049
+ outputTokens: 'number',
6050
+ totalTokens: 'number',
4945
6051
  };
4946
6052
  }
4947
6053
 
@@ -4950,54 +6056,62 @@ export class GetLibraryListResponseBodyData extends $tea.Model {
4950
6056
  }
4951
6057
  }
4952
6058
 
4953
- export class GetParseResultResponseBodyData extends $tea.Model {
6059
+ export class GetSummaryTaskResultResponseBodyData extends $tea.Model {
6060
+ choices?: GetSummaryTaskResultResponseBodyDataChoices[];
4954
6061
  /**
4955
6062
  * @example
4956
- * pdf
6063
+ * 1726285125915
4957
6064
  */
4958
- fileType?: string;
6065
+ created?: number;
4959
6066
  /**
4960
6067
  * @example
4961
- * null
6068
+ * 1202
4962
6069
  */
4963
- providerType?: string;
6070
+ id?: string;
4964
6071
  /**
4965
6072
  * @example
4966
- * b0a202e2-5031-4589-a6d7-39185f0d8d01
6073
+ * qwen-max
6074
+ */
6075
+ modelId?: string;
6076
+ /**
6077
+ * @example
6078
+ * 0bc13a9517168617617186457e401f
4967
6079
  */
4968
6080
  requestId?: string;
4969
6081
  /**
4970
6082
  * @example
4971
- * {
4972
- * "Status": "Success",
4973
- * "Data": {},
4974
- * "Message": null,
4975
- * "TaskId": "docmind-20240601-123abc"
4976
- * }
6083
+ * 2024-04-24 11:54:34
4977
6084
  */
4978
- result?: { [key: string]: any };
6085
+ time?: string;
4979
6086
  /**
4980
6087
  * @example
4981
- * WaitRefresh
6088
+ * 300
4982
6089
  */
4983
- status?: string;
6090
+ totalTokens?: number;
6091
+ usage?: GetSummaryTaskResultResponseBodyDataUsage;
4984
6092
  static names(): { [key: string]: string } {
4985
6093
  return {
4986
- fileType: 'fileType',
4987
- providerType: 'providerType',
6094
+ choices: 'choices',
6095
+ created: 'created',
6096
+ id: 'id',
6097
+ modelId: 'modelId',
4988
6098
  requestId: 'requestId',
4989
- result: 'result',
4990
- status: 'status',
6099
+ time: 'time',
6100
+ totalTokens: 'totalTokens',
6101
+ usage: 'usage',
4991
6102
  };
4992
6103
  }
4993
6104
 
4994
6105
  static types(): { [key: string]: any } {
4995
6106
  return {
4996
- fileType: 'string',
4997
- providerType: 'string',
6107
+ choices: { 'type': 'array', 'itemType': GetSummaryTaskResultResponseBodyDataChoices },
6108
+ created: 'number',
6109
+ id: 'string',
6110
+ modelId: 'string',
4998
6111
  requestId: 'string',
4999
- result: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
5000
- status: 'string',
6112
+ time: 'string',
6113
+ totalTokens: 'number',
6114
+ usage: GetSummaryTaskResultResponseBodyDataUsage,
5001
6115
  };
5002
6116
  }
5003
6117
 
@@ -5822,6 +6936,128 @@ export class RecallDocumentResponseBodyData extends $tea.Model {
5822
6936
  }
5823
6937
  }
5824
6938
 
6939
+ export class RecognizeIntentionRequestGlobalIntentionList extends $tea.Model {
6940
+ description?: string;
6941
+ intention?: string;
6942
+ /**
6943
+ * @example
6944
+ * 1810566978021232640
6945
+ */
6946
+ intentionCode?: string;
6947
+ static names(): { [key: string]: string } {
6948
+ return {
6949
+ description: 'description',
6950
+ intention: 'intention',
6951
+ intentionCode: 'intentionCode',
6952
+ };
6953
+ }
6954
+
6955
+ static types(): { [key: string]: any } {
6956
+ return {
6957
+ description: 'string',
6958
+ intention: 'string',
6959
+ intentionCode: 'string',
6960
+ };
6961
+ }
6962
+
6963
+ constructor(map?: { [key: string]: any }) {
6964
+ super(map);
6965
+ }
6966
+ }
6967
+
6968
+ export class RecognizeIntentionRequestHierarchicalIntentionList extends $tea.Model {
6969
+ description?: string;
6970
+ intention?: string;
6971
+ /**
6972
+ * @example
6973
+ * 1810929291010150400
6974
+ */
6975
+ intentionCode?: string;
6976
+ static names(): { [key: string]: string } {
6977
+ return {
6978
+ description: 'description',
6979
+ intention: 'intention',
6980
+ intentionCode: 'intentionCode',
6981
+ };
6982
+ }
6983
+
6984
+ static types(): { [key: string]: any } {
6985
+ return {
6986
+ description: 'string',
6987
+ intention: 'string',
6988
+ intentionCode: 'string',
6989
+ };
6990
+ }
6991
+
6992
+ constructor(map?: { [key: string]: any }) {
6993
+ super(map);
6994
+ }
6995
+ }
6996
+
6997
+ export class RecognizeIntentionRequestIntentionList extends $tea.Model {
6998
+ description?: string;
6999
+ intention?: string;
7000
+ /**
7001
+ * @example
7002
+ * 1808766224000262144
7003
+ */
7004
+ intentionCode?: string;
7005
+ static names(): { [key: string]: string } {
7006
+ return {
7007
+ description: 'description',
7008
+ intention: 'intention',
7009
+ intentionCode: 'intentionCode',
7010
+ };
7011
+ }
7012
+
7013
+ static types(): { [key: string]: any } {
7014
+ return {
7015
+ description: 'string',
7016
+ intention: 'string',
7017
+ intentionCode: 'string',
7018
+ };
7019
+ }
7020
+
7021
+ constructor(map?: { [key: string]: any }) {
7022
+ super(map);
7023
+ }
7024
+ }
7025
+
7026
+ export class RecognizeIntentionResponseBodyData extends $tea.Model {
7027
+ analysisProcess?: string;
7028
+ /**
7029
+ * @example
7030
+ * 1
7031
+ */
7032
+ intentionCode?: string;
7033
+ intentionName?: string;
7034
+ recommendIntention?: string;
7035
+ recommendScript?: string;
7036
+ static names(): { [key: string]: string } {
7037
+ return {
7038
+ analysisProcess: 'analysisProcess',
7039
+ intentionCode: 'intentionCode',
7040
+ intentionName: 'intentionName',
7041
+ recommendIntention: 'recommendIntention',
7042
+ recommendScript: 'recommendScript',
7043
+ };
7044
+ }
7045
+
7046
+ static types(): { [key: string]: any } {
7047
+ return {
7048
+ analysisProcess: 'string',
7049
+ intentionCode: 'string',
7050
+ intentionName: 'string',
7051
+ recommendIntention: 'string',
7052
+ recommendScript: 'string',
7053
+ };
7054
+ }
7055
+
7056
+ constructor(map?: { [key: string]: any }) {
7057
+ super(map);
7058
+ }
7059
+ }
7060
+
5825
7061
  export class RunChatResultGenerationRequestMessages extends $tea.Model {
5826
7062
  content?: string;
5827
7063
  /**
@@ -6570,26 +7806,99 @@ export class UpdateLibraryRequestIndexSetting extends $tea.Model {
6570
7806
  }
6571
7807
 
6572
7808
 
6573
- export default class Client extends OpenApi {
7809
+ export default class Client extends OpenApi {
7810
+
7811
+ constructor(config: $OpenApi.Config) {
7812
+ super(config);
7813
+ this._endpointRule = "";
7814
+ this.checkConfig(config);
7815
+ this._endpoint = this.getEndpoint("dianjin", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
7816
+ }
7817
+
7818
+
7819
+ getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {[key: string ]: string}, endpoint: string): string {
7820
+ if (!Util.empty(endpoint)) {
7821
+ return endpoint;
7822
+ }
7823
+
7824
+ if (!Util.isUnset(endpointMap) && !Util.empty(endpointMap[regionId])) {
7825
+ return endpointMap[regionId];
7826
+ }
7827
+
7828
+ return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
7829
+ }
7830
+
7831
+ /**
7832
+ * 创建财报总结任务
7833
+ *
7834
+ * @param request - CreateFinReportSummaryTaskRequest
7835
+ * @param headers - map
7836
+ * @param runtime - runtime options for this request RuntimeOptions
7837
+ * @returns CreateFinReportSummaryTaskResponse
7838
+ */
7839
+ async createFinReportSummaryTaskWithOptions(workspaceId: string, request: CreateFinReportSummaryTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateFinReportSummaryTaskResponse> {
7840
+ Util.validateModel(request);
7841
+ let body : {[key: string ]: any} = { };
7842
+ if (!Util.isUnset(request.docId)) {
7843
+ body["docId"] = request.docId;
7844
+ }
7845
+
7846
+ if (!Util.isUnset(request.enableTable)) {
7847
+ body["enableTable"] = request.enableTable;
7848
+ }
7849
+
7850
+ if (!Util.isUnset(request.endPage)) {
7851
+ body["endPage"] = request.endPage;
7852
+ }
7853
+
7854
+ if (!Util.isUnset(request.instruction)) {
7855
+ body["instruction"] = request.instruction;
7856
+ }
6574
7857
 
6575
- constructor(config: $OpenApi.Config) {
6576
- super(config);
6577
- this._endpointRule = "";
6578
- this.checkConfig(config);
6579
- this._endpoint = this.getEndpoint("dianjin", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
6580
- }
7858
+ if (!Util.isUnset(request.libraryId)) {
7859
+ body["libraryId"] = request.libraryId;
7860
+ }
6581
7861
 
7862
+ if (!Util.isUnset(request.modelId)) {
7863
+ body["modelId"] = request.modelId;
7864
+ }
6582
7865
 
6583
- getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {[key: string ]: string}, endpoint: string): string {
6584
- if (!Util.empty(endpoint)) {
6585
- return endpoint;
7866
+ if (!Util.isUnset(request.startPage)) {
7867
+ body["startPage"] = request.startPage;
6586
7868
  }
6587
7869
 
6588
- if (!Util.isUnset(endpointMap) && !Util.empty(endpointMap[regionId])) {
6589
- return endpointMap[regionId];
7870
+ if (!Util.isUnset(request.taskType)) {
7871
+ body["taskType"] = request.taskType;
6590
7872
  }
6591
7873
 
6592
- return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
7874
+ let req = new $OpenApi.OpenApiRequest({
7875
+ headers: headers,
7876
+ body: OpenApiUtil.parseToMap(body),
7877
+ });
7878
+ let params = new $OpenApi.Params({
7879
+ action: "CreateFinReportSummaryTask",
7880
+ version: "2024-06-28",
7881
+ protocol: "HTTPS",
7882
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/summary`,
7883
+ method: "POST",
7884
+ authType: "AK",
7885
+ style: "ROA",
7886
+ reqBodyType: "json",
7887
+ bodyType: "json",
7888
+ });
7889
+ return $tea.cast<CreateFinReportSummaryTaskResponse>(await this.callApi(params, req, runtime), new CreateFinReportSummaryTaskResponse({}));
7890
+ }
7891
+
7892
+ /**
7893
+ * 创建财报总结任务
7894
+ *
7895
+ * @param request - CreateFinReportSummaryTaskRequest
7896
+ * @returns CreateFinReportSummaryTaskResponse
7897
+ */
7898
+ async createFinReportSummaryTask(workspaceId: string, request: CreateFinReportSummaryTaskRequest): Promise<CreateFinReportSummaryTaskResponse> {
7899
+ let runtime = new $Util.RuntimeOptions({ });
7900
+ let headers : {[key: string ]: string} = { };
7901
+ return await this.createFinReportSummaryTaskWithOptions(workspaceId, request, headers, runtime);
6593
7902
  }
6594
7903
 
6595
7904
  /**
@@ -6645,6 +7954,67 @@ export default class Client extends OpenApi {
6645
7954
  return await this.createLibraryWithOptions(workspaceId, request, headers, runtime);
6646
7955
  }
6647
7956
 
7957
+ /**
7958
+ * 创建PDF翻译任务
7959
+ *
7960
+ * @param request - CreatePdfTranslateTaskRequest
7961
+ * @param headers - map
7962
+ * @param runtime - runtime options for this request RuntimeOptions
7963
+ * @returns CreatePdfTranslateTaskResponse
7964
+ */
7965
+ async createPdfTranslateTaskWithOptions(workspaceId: string, request: CreatePdfTranslateTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreatePdfTranslateTaskResponse> {
7966
+ Util.validateModel(request);
7967
+ let body : {[key: string ]: any} = { };
7968
+ if (!Util.isUnset(request.docId)) {
7969
+ body["docId"] = request.docId;
7970
+ }
7971
+
7972
+ if (!Util.isUnset(request.knowledge)) {
7973
+ body["knowledge"] = request.knowledge;
7974
+ }
7975
+
7976
+ if (!Util.isUnset(request.libraryId)) {
7977
+ body["libraryId"] = request.libraryId;
7978
+ }
7979
+
7980
+ if (!Util.isUnset(request.modelId)) {
7981
+ body["modelId"] = request.modelId;
7982
+ }
7983
+
7984
+ if (!Util.isUnset(request.translateTo)) {
7985
+ body["translateTo"] = request.translateTo;
7986
+ }
7987
+
7988
+ let req = new $OpenApi.OpenApiRequest({
7989
+ headers: headers,
7990
+ body: OpenApiUtil.parseToMap(body),
7991
+ });
7992
+ let params = new $OpenApi.Params({
7993
+ action: "CreatePdfTranslateTask",
7994
+ version: "2024-06-28",
7995
+ protocol: "HTTPS",
7996
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/pdfTranslate`,
7997
+ method: "POST",
7998
+ authType: "AK",
7999
+ style: "ROA",
8000
+ reqBodyType: "json",
8001
+ bodyType: "json",
8002
+ });
8003
+ return $tea.cast<CreatePdfTranslateTaskResponse>(await this.callApi(params, req, runtime), new CreatePdfTranslateTaskResponse({}));
8004
+ }
8005
+
8006
+ /**
8007
+ * 创建PDF翻译任务
8008
+ *
8009
+ * @param request - CreatePdfTranslateTaskRequest
8010
+ * @returns CreatePdfTranslateTaskResponse
8011
+ */
8012
+ async createPdfTranslateTask(workspaceId: string, request: CreatePdfTranslateTaskRequest): Promise<CreatePdfTranslateTaskResponse> {
8013
+ let runtime = new $Util.RuntimeOptions({ });
8014
+ let headers : {[key: string ]: string} = { };
8015
+ return await this.createPdfTranslateTaskWithOptions(workspaceId, request, headers, runtime);
8016
+ }
8017
+
6648
8018
  /**
6649
8019
  * 创建预定义文档
6650
8020
  *
@@ -6796,6 +8166,51 @@ export default class Client extends OpenApi {
6796
8166
  return await this.deleteLibraryWithOptions(workspaceId, request, headers, runtime);
6797
8167
  }
6798
8168
 
8169
+ /**
8170
+ * 中断任务
8171
+ *
8172
+ * @param request - EvictTaskRequest
8173
+ * @param headers - map
8174
+ * @param runtime - runtime options for this request RuntimeOptions
8175
+ * @returns EvictTaskResponse
8176
+ */
8177
+ async evictTaskWithOptions(workspaceId: string, request: EvictTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<EvictTaskResponse> {
8178
+ Util.validateModel(request);
8179
+ let query : {[key: string ]: any} = { };
8180
+ if (!Util.isUnset(request.taskId)) {
8181
+ query["taskId"] = request.taskId;
8182
+ }
8183
+
8184
+ let req = new $OpenApi.OpenApiRequest({
8185
+ headers: headers,
8186
+ query: OpenApiUtil.query(query),
8187
+ });
8188
+ let params = new $OpenApi.Params({
8189
+ action: "EvictTask",
8190
+ version: "2024-06-28",
8191
+ protocol: "HTTPS",
8192
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/evict`,
8193
+ method: "POST",
8194
+ authType: "AK",
8195
+ style: "ROA",
8196
+ reqBodyType: "json",
8197
+ bodyType: "json",
8198
+ });
8199
+ return $tea.cast<EvictTaskResponse>(await this.callApi(params, req, runtime), new EvictTaskResponse({}));
8200
+ }
8201
+
8202
+ /**
8203
+ * 中断任务
8204
+ *
8205
+ * @param request - EvictTaskRequest
8206
+ * @returns EvictTaskResponse
8207
+ */
8208
+ async evictTask(workspaceId: string, request: EvictTaskRequest): Promise<EvictTaskResponse> {
8209
+ let runtime = new $Util.RuntimeOptions({ });
8210
+ let headers : {[key: string ]: string} = { };
8211
+ return await this.evictTaskWithOptions(workspaceId, request, headers, runtime);
8212
+ }
8213
+
6799
8214
  /**
6800
8215
  * 获取app配置
6801
8216
  *
@@ -7279,6 +8694,141 @@ export default class Client extends OpenApi {
7279
8694
  return await this.getParseResultWithOptions(workspaceId, request, headers, runtime);
7280
8695
  }
7281
8696
 
8697
+ /**
8698
+ * 获取财报总结任务结果
8699
+ *
8700
+ * @param request - GetSummaryTaskResultRequest
8701
+ * @param headers - map
8702
+ * @param runtime - runtime options for this request RuntimeOptions
8703
+ * @returns GetSummaryTaskResultResponse
8704
+ */
8705
+ async getSummaryTaskResultWithOptions(workspaceId: string, request: GetSummaryTaskResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetSummaryTaskResultResponse> {
8706
+ Util.validateModel(request);
8707
+ let query : {[key: string ]: any} = { };
8708
+ if (!Util.isUnset(request.taskId)) {
8709
+ query["taskId"] = request.taskId;
8710
+ }
8711
+
8712
+ let req = new $OpenApi.OpenApiRequest({
8713
+ headers: headers,
8714
+ query: OpenApiUtil.query(query),
8715
+ });
8716
+ let params = new $OpenApi.Params({
8717
+ action: "GetSummaryTaskResult",
8718
+ version: "2024-06-28",
8719
+ protocol: "HTTPS",
8720
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/summary/result`,
8721
+ method: "GET",
8722
+ authType: "AK",
8723
+ style: "ROA",
8724
+ reqBodyType: "json",
8725
+ bodyType: "json",
8726
+ });
8727
+ return $tea.cast<GetSummaryTaskResultResponse>(await this.callApi(params, req, runtime), new GetSummaryTaskResultResponse({}));
8728
+ }
8729
+
8730
+ /**
8731
+ * 获取财报总结任务结果
8732
+ *
8733
+ * @param request - GetSummaryTaskResultRequest
8734
+ * @returns GetSummaryTaskResultResponse
8735
+ */
8736
+ async getSummaryTaskResult(workspaceId: string, request: GetSummaryTaskResultRequest): Promise<GetSummaryTaskResultResponse> {
8737
+ let runtime = new $Util.RuntimeOptions({ });
8738
+ let headers : {[key: string ]: string} = { };
8739
+ return await this.getSummaryTaskResultWithOptions(workspaceId, request, headers, runtime);
8740
+ }
8741
+
8742
+ /**
8743
+ * 获取异步任务结果
8744
+ *
8745
+ * @param request - GetTaskResultRequest
8746
+ * @param headers - map
8747
+ * @param runtime - runtime options for this request RuntimeOptions
8748
+ * @returns GetTaskResultResponse
8749
+ */
8750
+ async getTaskResultWithOptions(workspaceId: string, request: GetTaskResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetTaskResultResponse> {
8751
+ Util.validateModel(request);
8752
+ let query : {[key: string ]: any} = { };
8753
+ if (!Util.isUnset(request.taskId)) {
8754
+ query["taskId"] = request.taskId;
8755
+ }
8756
+
8757
+ let req = new $OpenApi.OpenApiRequest({
8758
+ headers: headers,
8759
+ query: OpenApiUtil.query(query),
8760
+ });
8761
+ let params = new $OpenApi.Params({
8762
+ action: "GetTaskResult",
8763
+ version: "2024-06-28",
8764
+ protocol: "HTTPS",
8765
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/result`,
8766
+ method: "GET",
8767
+ authType: "AK",
8768
+ style: "ROA",
8769
+ reqBodyType: "json",
8770
+ bodyType: "json",
8771
+ });
8772
+ return $tea.cast<GetTaskResultResponse>(await this.callApi(params, req, runtime), new GetTaskResultResponse({}));
8773
+ }
8774
+
8775
+ /**
8776
+ * 获取异步任务结果
8777
+ *
8778
+ * @param request - GetTaskResultRequest
8779
+ * @returns GetTaskResultResponse
8780
+ */
8781
+ async getTaskResult(workspaceId: string, request: GetTaskResultRequest): Promise<GetTaskResultResponse> {
8782
+ let runtime = new $Util.RuntimeOptions({ });
8783
+ let headers : {[key: string ]: string} = { };
8784
+ return await this.getTaskResultWithOptions(workspaceId, request, headers, runtime);
8785
+ }
8786
+
8787
+ /**
8788
+ * 获取财报总结任务结果
8789
+ *
8790
+ * @param request - GetTaskStatusRequest
8791
+ * @param headers - map
8792
+ * @param runtime - runtime options for this request RuntimeOptions
8793
+ * @returns GetTaskStatusResponse
8794
+ */
8795
+ async getTaskStatusWithOptions(workspaceId: string, request: GetTaskStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse> {
8796
+ Util.validateModel(request);
8797
+ let query : {[key: string ]: any} = { };
8798
+ if (!Util.isUnset(request.taskId)) {
8799
+ query["taskId"] = request.taskId;
8800
+ }
8801
+
8802
+ let req = new $OpenApi.OpenApiRequest({
8803
+ headers: headers,
8804
+ query: OpenApiUtil.query(query),
8805
+ });
8806
+ let params = new $OpenApi.Params({
8807
+ action: "GetTaskStatus",
8808
+ version: "2024-06-28",
8809
+ protocol: "HTTPS",
8810
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/task/status`,
8811
+ method: "GET",
8812
+ authType: "AK",
8813
+ style: "ROA",
8814
+ reqBodyType: "json",
8815
+ bodyType: "json",
8816
+ });
8817
+ return $tea.cast<GetTaskStatusResponse>(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
8818
+ }
8819
+
8820
+ /**
8821
+ * 获取财报总结任务结果
8822
+ *
8823
+ * @param request - GetTaskStatusRequest
8824
+ * @returns GetTaskStatusResponse
8825
+ */
8826
+ async getTaskStatus(workspaceId: string, request: GetTaskStatusRequest): Promise<GetTaskStatusResponse> {
8827
+ let runtime = new $Util.RuntimeOptions({ });
8828
+ let headers : {[key: string ]: string} = { };
8829
+ return await this.getTaskStatusWithOptions(workspaceId, request, headers, runtime);
8830
+ }
8831
+
7282
8832
  /**
7283
8833
  * 插件调试接口
7284
8834
  *
@@ -7419,7 +8969,7 @@ export default class Client extends OpenApi {
7419
8969
  }
7420
8970
 
7421
8971
  /**
7422
- * 文档召回
8972
+ * 文档召回。
7423
8973
  *
7424
8974
  * @param request - RecallDocumentRequest
7425
8975
  * @param headers - map
@@ -7464,7 +9014,7 @@ export default class Client extends OpenApi {
7464
9014
  }
7465
9015
 
7466
9016
  /**
7467
- * 文档召回
9017
+ * 文档召回。
7468
9018
  *
7469
9019
  * @param request - RecallDocumentRequest
7470
9020
  * @returns RecallDocumentResponse
@@ -7475,6 +9025,79 @@ export default class Client extends OpenApi {
7475
9025
  return await this.recallDocumentWithOptions(workspaceId, request, headers, runtime);
7476
9026
  }
7477
9027
 
9028
+ /**
9029
+ * 意图识别
9030
+ *
9031
+ * @param request - RecognizeIntentionRequest
9032
+ * @param headers - map
9033
+ * @param runtime - runtime options for this request RuntimeOptions
9034
+ * @returns RecognizeIntentionResponse
9035
+ */
9036
+ async recognizeIntentionWithOptions(workspaceId: string, request: RecognizeIntentionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RecognizeIntentionResponse> {
9037
+ Util.validateModel(request);
9038
+ let body : {[key: string ]: any} = { };
9039
+ if (!Util.isUnset(request.analysis)) {
9040
+ body["analysis"] = request.analysis;
9041
+ }
9042
+
9043
+ if (!Util.isUnset(request.bizType)) {
9044
+ body["bizType"] = request.bizType;
9045
+ }
9046
+
9047
+ if (!Util.isUnset(request.conversation)) {
9048
+ body["conversation"] = request.conversation;
9049
+ }
9050
+
9051
+ if (!Util.isUnset(request.globalIntentionList)) {
9052
+ body["globalIntentionList"] = request.globalIntentionList;
9053
+ }
9054
+
9055
+ if (!Util.isUnset(request.hierarchicalIntentionList)) {
9056
+ body["hierarchicalIntentionList"] = request.hierarchicalIntentionList;
9057
+ }
9058
+
9059
+ if (!Util.isUnset(request.intentionList)) {
9060
+ body["intentionList"] = request.intentionList;
9061
+ }
9062
+
9063
+ if (!Util.isUnset(request.opType)) {
9064
+ body["opType"] = request.opType;
9065
+ }
9066
+
9067
+ if (!Util.isUnset(request.recommend)) {
9068
+ body["recommend"] = request.recommend;
9069
+ }
9070
+
9071
+ let req = new $OpenApi.OpenApiRequest({
9072
+ headers: headers,
9073
+ body: OpenApiUtil.parseToMap(body),
9074
+ });
9075
+ let params = new $OpenApi.Params({
9076
+ action: "RecognizeIntention",
9077
+ version: "2024-06-28",
9078
+ protocol: "HTTPS",
9079
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/api/recog/intent`,
9080
+ method: "POST",
9081
+ authType: "AK",
9082
+ style: "ROA",
9083
+ reqBodyType: "json",
9084
+ bodyType: "json",
9085
+ });
9086
+ return $tea.cast<RecognizeIntentionResponse>(await this.callApi(params, req, runtime), new RecognizeIntentionResponse({}));
9087
+ }
9088
+
9089
+ /**
9090
+ * 意图识别
9091
+ *
9092
+ * @param request - RecognizeIntentionRequest
9093
+ * @returns RecognizeIntentionResponse
9094
+ */
9095
+ async recognizeIntention(workspaceId: string, request: RecognizeIntentionRequest): Promise<RecognizeIntentionResponse> {
9096
+ let runtime = new $Util.RuntimeOptions({ });
9097
+ let headers : {[key: string ]: string} = { };
9098
+ return await this.recognizeIntentionWithOptions(workspaceId, request, headers, runtime);
9099
+ }
9100
+
7478
9101
  /**
7479
9102
  * 获取生成式对话结果
7480
9103
  *