@alicloud/dianjin20240628 1.0.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.
@@ -0,0 +1,4441 @@
1
+ /**
2
+ */
3
+ import * as $Util from '@alicloud/tea-util';
4
+ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
5
+ import { Readable } from 'stream';
6
+ import * as $tea from '@alicloud/tea-typescript';
7
+ export declare class CreateLibraryRequest extends $tea.Model {
8
+ /**
9
+ * @remarks
10
+ * This parameter is required.
11
+ */
12
+ description?: string;
13
+ indexSetting?: CreateLibraryRequestIndexSetting;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ */
18
+ libraryName?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }
29
+ export declare class CreateLibraryResponseBody extends $tea.Model {
30
+ /**
31
+ * @example
32
+ * 300
33
+ */
34
+ cost?: number;
35
+ /**
36
+ * @example
37
+ * a1b2c3
38
+ */
39
+ data?: string;
40
+ /**
41
+ * @example
42
+ * null
43
+ */
44
+ dataType?: string;
45
+ /**
46
+ * @example
47
+ * 0
48
+ */
49
+ errCode?: string;
50
+ message?: string;
51
+ /**
52
+ * @example
53
+ * xxxx-xxxx-xxxx-xxxx
54
+ */
55
+ requestId?: string;
56
+ /**
57
+ * @example
58
+ * true
59
+ */
60
+ success?: boolean;
61
+ /**
62
+ * @example
63
+ * null
64
+ */
65
+ time?: string;
66
+ static names(): {
67
+ [key: string]: string;
68
+ };
69
+ static types(): {
70
+ [key: string]: any;
71
+ };
72
+ constructor(map?: {
73
+ [key: string]: any;
74
+ });
75
+ }
76
+ export declare class CreateLibraryResponse extends $tea.Model {
77
+ headers?: {
78
+ [key: string]: string;
79
+ };
80
+ statusCode?: number;
81
+ body?: CreateLibraryResponseBody;
82
+ static names(): {
83
+ [key: string]: string;
84
+ };
85
+ static types(): {
86
+ [key: string]: any;
87
+ };
88
+ constructor(map?: {
89
+ [key: string]: any;
90
+ });
91
+ }
92
+ export declare class CreatePredefinedDocumentRequest extends $tea.Model {
93
+ chunks?: CreatePredefinedDocumentRequestChunks[];
94
+ /**
95
+ * @example
96
+ * a1b2c3
97
+ */
98
+ libraryId?: string;
99
+ /**
100
+ * @example
101
+ * {"a": "1"}
102
+ */
103
+ metadata?: {
104
+ [key: string]: any;
105
+ };
106
+ /**
107
+ * @example
108
+ * 测试文档
109
+ */
110
+ title?: string;
111
+ static names(): {
112
+ [key: string]: string;
113
+ };
114
+ static types(): {
115
+ [key: string]: any;
116
+ };
117
+ constructor(map?: {
118
+ [key: string]: any;
119
+ });
120
+ }
121
+ export declare class CreatePredefinedDocumentResponseBody extends $tea.Model {
122
+ /**
123
+ * @example
124
+ * null
125
+ */
126
+ cost?: number;
127
+ /**
128
+ * @example
129
+ * 1782981430906818562
130
+ */
131
+ data?: string;
132
+ /**
133
+ * @example
134
+ * null
135
+ */
136
+ dataType?: string;
137
+ /**
138
+ * @example
139
+ * 0
140
+ */
141
+ errCode?: string;
142
+ /**
143
+ * @example
144
+ * ok
145
+ */
146
+ message?: string;
147
+ /**
148
+ * @example
149
+ * 0a06dfe617018288881568684e2937
150
+ */
151
+ requestId?: string;
152
+ /**
153
+ * @example
154
+ * true
155
+ */
156
+ success?: boolean;
157
+ /**
158
+ * @example
159
+ * 2024-04-24 11:54:34
160
+ */
161
+ time?: string;
162
+ static names(): {
163
+ [key: string]: string;
164
+ };
165
+ static types(): {
166
+ [key: string]: any;
167
+ };
168
+ constructor(map?: {
169
+ [key: string]: any;
170
+ });
171
+ }
172
+ export declare class CreatePredefinedDocumentResponse extends $tea.Model {
173
+ headers?: {
174
+ [key: string]: string;
175
+ };
176
+ statusCode?: number;
177
+ body?: CreatePredefinedDocumentResponseBody;
178
+ static names(): {
179
+ [key: string]: string;
180
+ };
181
+ static types(): {
182
+ [key: string]: any;
183
+ };
184
+ constructor(map?: {
185
+ [key: string]: any;
186
+ });
187
+ }
188
+ export declare class DeleteDocumentRequest extends $tea.Model {
189
+ /**
190
+ * @remarks
191
+ * This parameter is required.
192
+ */
193
+ docIds?: string[];
194
+ /**
195
+ * @remarks
196
+ * This parameter is required.
197
+ *
198
+ * @example
199
+ * 3akzl28vap
200
+ */
201
+ libraryId?: string;
202
+ static names(): {
203
+ [key: string]: string;
204
+ };
205
+ static types(): {
206
+ [key: string]: any;
207
+ };
208
+ constructor(map?: {
209
+ [key: string]: any;
210
+ });
211
+ }
212
+ export declare class DeleteDocumentResponseBody extends $tea.Model {
213
+ /**
214
+ * @example
215
+ * null
216
+ */
217
+ cost?: number;
218
+ /**
219
+ * @example
220
+ * True
221
+ */
222
+ data?: boolean;
223
+ /**
224
+ * @example
225
+ * null
226
+ */
227
+ dataType?: string;
228
+ /**
229
+ * @example
230
+ * 0
231
+ */
232
+ errCode?: string;
233
+ /**
234
+ * @example
235
+ * ok
236
+ */
237
+ message?: string;
238
+ /**
239
+ * @example
240
+ * 67C7021A-D268-553D-8C15-A087B9604028
241
+ */
242
+ requestId?: string;
243
+ /**
244
+ * @example
245
+ * true
246
+ */
247
+ success?: boolean;
248
+ /**
249
+ * @example
250
+ * 2024-04-24 11:54:34
251
+ */
252
+ time?: string;
253
+ static names(): {
254
+ [key: string]: string;
255
+ };
256
+ static types(): {
257
+ [key: string]: any;
258
+ };
259
+ constructor(map?: {
260
+ [key: string]: any;
261
+ });
262
+ }
263
+ export declare class DeleteDocumentResponse extends $tea.Model {
264
+ headers?: {
265
+ [key: string]: string;
266
+ };
267
+ statusCode?: number;
268
+ body?: DeleteDocumentResponseBody;
269
+ static names(): {
270
+ [key: string]: string;
271
+ };
272
+ static types(): {
273
+ [key: string]: any;
274
+ };
275
+ constructor(map?: {
276
+ [key: string]: any;
277
+ });
278
+ }
279
+ export declare class DeleteLibraryRequest extends $tea.Model {
280
+ /**
281
+ * @remarks
282
+ * This parameter is required.
283
+ *
284
+ * @example
285
+ * skdfefxxx
286
+ */
287
+ libraryId?: string;
288
+ static names(): {
289
+ [key: string]: string;
290
+ };
291
+ static types(): {
292
+ [key: string]: any;
293
+ };
294
+ constructor(map?: {
295
+ [key: string]: any;
296
+ });
297
+ }
298
+ export declare class DeleteLibraryResponseBody extends $tea.Model {
299
+ /**
300
+ * @example
301
+ * 0
302
+ */
303
+ errCode?: string;
304
+ /**
305
+ * @example
306
+ * ok
307
+ */
308
+ message?: string;
309
+ /**
310
+ * @example
311
+ * 30F6AD44-F078-540D-B5A5-1E519C8E9E6D
312
+ */
313
+ requestId?: string;
314
+ /**
315
+ * @example
316
+ * true
317
+ */
318
+ success?: boolean;
319
+ static names(): {
320
+ [key: string]: string;
321
+ };
322
+ static types(): {
323
+ [key: string]: any;
324
+ };
325
+ constructor(map?: {
326
+ [key: string]: any;
327
+ });
328
+ }
329
+ export declare class DeleteLibraryResponse extends $tea.Model {
330
+ headers?: {
331
+ [key: string]: string;
332
+ };
333
+ statusCode?: number;
334
+ body?: DeleteLibraryResponseBody;
335
+ static names(): {
336
+ [key: string]: string;
337
+ };
338
+ static types(): {
339
+ [key: string]: any;
340
+ };
341
+ constructor(map?: {
342
+ [key: string]: any;
343
+ });
344
+ }
345
+ export declare class GetAppConfigResponseBody extends $tea.Model {
346
+ /**
347
+ * @example
348
+ * null
349
+ */
350
+ cost?: number;
351
+ data?: GetAppConfigResponseBodyData;
352
+ /**
353
+ * @example
354
+ * null
355
+ */
356
+ dataType?: string;
357
+ /**
358
+ * @example
359
+ * 0
360
+ */
361
+ errCode?: string;
362
+ /**
363
+ * @example
364
+ * None
365
+ */
366
+ message?: string;
367
+ /**
368
+ * @example
369
+ * EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258
370
+ */
371
+ requestId?: string;
372
+ /**
373
+ * @example
374
+ * True
375
+ */
376
+ success?: boolean;
377
+ /**
378
+ * @example
379
+ * 2024-04-24 11:54:34
380
+ */
381
+ time?: string;
382
+ static names(): {
383
+ [key: string]: string;
384
+ };
385
+ static types(): {
386
+ [key: string]: any;
387
+ };
388
+ constructor(map?: {
389
+ [key: string]: any;
390
+ });
391
+ }
392
+ export declare class GetAppConfigResponse extends $tea.Model {
393
+ headers?: {
394
+ [key: string]: string;
395
+ };
396
+ statusCode?: number;
397
+ body?: GetAppConfigResponseBody;
398
+ static names(): {
399
+ [key: string]: string;
400
+ };
401
+ static types(): {
402
+ [key: string]: any;
403
+ };
404
+ constructor(map?: {
405
+ [key: string]: any;
406
+ });
407
+ }
408
+ export declare class GetDocumentChunkListRequest extends $tea.Model {
409
+ chunkIdList?: string[];
410
+ /**
411
+ * @remarks
412
+ * This parameter is required.
413
+ *
414
+ * @example
415
+ * 182364872346
416
+ */
417
+ docId?: string;
418
+ /**
419
+ * @remarks
420
+ * This parameter is required.
421
+ *
422
+ * @example
423
+ * dsjgfdjgfxxx
424
+ */
425
+ libraryId?: string;
426
+ /**
427
+ * @example
428
+ * desc
429
+ */
430
+ order?: string;
431
+ /**
432
+ * @example
433
+ * gmtCreate
434
+ */
435
+ orderBy?: string;
436
+ /**
437
+ * @example
438
+ * 1
439
+ */
440
+ page?: number;
441
+ /**
442
+ * @example
443
+ * 10
444
+ */
445
+ pageSize?: number;
446
+ /**
447
+ * @example
448
+ * test
449
+ */
450
+ searchQuery?: string;
451
+ static names(): {
452
+ [key: string]: string;
453
+ };
454
+ static types(): {
455
+ [key: string]: any;
456
+ };
457
+ constructor(map?: {
458
+ [key: string]: any;
459
+ });
460
+ }
461
+ export declare class GetDocumentChunkListResponseBody extends $tea.Model {
462
+ /**
463
+ * @example
464
+ * null
465
+ */
466
+ cost?: number;
467
+ data?: GetDocumentChunkListResponseBodyData;
468
+ /**
469
+ * @example
470
+ * null
471
+ */
472
+ dataType?: string;
473
+ /**
474
+ * @example
475
+ * 0
476
+ */
477
+ errCode?: string;
478
+ /**
479
+ * @example
480
+ * ok
481
+ */
482
+ message?: string;
483
+ /**
484
+ * @example
485
+ * 2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF
486
+ */
487
+ requestId?: string;
488
+ /**
489
+ * @example
490
+ * true
491
+ */
492
+ success?: boolean;
493
+ /**
494
+ * @example
495
+ * 2024-04-24 11:54:34
496
+ */
497
+ time?: string;
498
+ static names(): {
499
+ [key: string]: string;
500
+ };
501
+ static types(): {
502
+ [key: string]: any;
503
+ };
504
+ constructor(map?: {
505
+ [key: string]: any;
506
+ });
507
+ }
508
+ export declare class GetDocumentChunkListResponse extends $tea.Model {
509
+ headers?: {
510
+ [key: string]: string;
511
+ };
512
+ statusCode?: number;
513
+ body?: GetDocumentChunkListResponseBody;
514
+ static names(): {
515
+ [key: string]: string;
516
+ };
517
+ static types(): {
518
+ [key: string]: any;
519
+ };
520
+ constructor(map?: {
521
+ [key: string]: any;
522
+ });
523
+ }
524
+ export declare class GetDocumentListRequest extends $tea.Model {
525
+ /**
526
+ * @remarks
527
+ * This parameter is required.
528
+ *
529
+ * @example
530
+ * 3akzl28vap
531
+ */
532
+ libraryId?: string;
533
+ /**
534
+ * @example
535
+ * 1
536
+ */
537
+ page?: number;
538
+ /**
539
+ * @example
540
+ * 10
541
+ */
542
+ pageSize?: number;
543
+ status?: string;
544
+ static names(): {
545
+ [key: string]: string;
546
+ };
547
+ static types(): {
548
+ [key: string]: any;
549
+ };
550
+ constructor(map?: {
551
+ [key: string]: any;
552
+ });
553
+ }
554
+ export declare class GetDocumentListResponseBody extends $tea.Model {
555
+ /**
556
+ * @example
557
+ * null
558
+ */
559
+ cost?: number;
560
+ data?: GetDocumentListResponseBodyData;
561
+ /**
562
+ * @example
563
+ * null
564
+ */
565
+ dataType?: string;
566
+ /**
567
+ * @example
568
+ * 0
569
+ */
570
+ errCode?: string;
571
+ /**
572
+ * @example
573
+ * ok
574
+ */
575
+ message?: string;
576
+ /**
577
+ * @example
578
+ * 5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
579
+ */
580
+ requestId?: string;
581
+ /**
582
+ * @example
583
+ * true
584
+ */
585
+ success?: boolean;
586
+ /**
587
+ * @example
588
+ * 2024-04-24 11:54:34
589
+ */
590
+ time?: string;
591
+ static names(): {
592
+ [key: string]: string;
593
+ };
594
+ static types(): {
595
+ [key: string]: any;
596
+ };
597
+ constructor(map?: {
598
+ [key: string]: any;
599
+ });
600
+ }
601
+ export declare class GetDocumentListResponse extends $tea.Model {
602
+ headers?: {
603
+ [key: string]: string;
604
+ };
605
+ statusCode?: number;
606
+ body?: GetDocumentListResponseBody;
607
+ static names(): {
608
+ [key: string]: string;
609
+ };
610
+ static types(): {
611
+ [key: string]: any;
612
+ };
613
+ constructor(map?: {
614
+ [key: string]: any;
615
+ });
616
+ }
617
+ export declare class GetDocumentUrlRequest extends $tea.Model {
618
+ /**
619
+ * @remarks
620
+ * This parameter is required.
621
+ *
622
+ * @example
623
+ * 12681367362
624
+ */
625
+ documentId?: string;
626
+ static names(): {
627
+ [key: string]: string;
628
+ };
629
+ static types(): {
630
+ [key: string]: any;
631
+ };
632
+ constructor(map?: {
633
+ [key: string]: any;
634
+ });
635
+ }
636
+ export declare class GetDocumentUrlResponseBody extends $tea.Model {
637
+ /**
638
+ * @example
639
+ * null
640
+ */
641
+ cost?: number;
642
+ /**
643
+ * @example
644
+ * https://path_to_file
645
+ */
646
+ data?: string;
647
+ /**
648
+ * @example
649
+ * null
650
+ */
651
+ dataType?: string;
652
+ /**
653
+ * @example
654
+ * 0
655
+ */
656
+ errCode?: string;
657
+ /**
658
+ * @example
659
+ * ok
660
+ */
661
+ message?: string;
662
+ /**
663
+ * @example
664
+ * 66249B43-8C2B-5EE7-AE78-B382306621C6
665
+ */
666
+ requestId?: string;
667
+ /**
668
+ * @example
669
+ * true
670
+ */
671
+ success?: boolean;
672
+ /**
673
+ * @example
674
+ * 2024-01-01 00:00:00
675
+ */
676
+ time?: string;
677
+ static names(): {
678
+ [key: string]: string;
679
+ };
680
+ static types(): {
681
+ [key: string]: any;
682
+ };
683
+ constructor(map?: {
684
+ [key: string]: any;
685
+ });
686
+ }
687
+ export declare class GetDocumentUrlResponse extends $tea.Model {
688
+ headers?: {
689
+ [key: string]: string;
690
+ };
691
+ statusCode?: number;
692
+ body?: GetDocumentUrlResponseBody;
693
+ static names(): {
694
+ [key: string]: string;
695
+ };
696
+ static types(): {
697
+ [key: string]: any;
698
+ };
699
+ constructor(map?: {
700
+ [key: string]: any;
701
+ });
702
+ }
703
+ export declare class GetFilterDocumentListRequest extends $tea.Model {
704
+ and?: GetFilterDocumentListRequestAnd[];
705
+ docIdList?: string[];
706
+ /**
707
+ * @remarks
708
+ * This parameter is required.
709
+ *
710
+ * @example
711
+ * cjshcxxxx
712
+ */
713
+ libraryId?: string;
714
+ or?: GetFilterDocumentListRequestOr[];
715
+ /**
716
+ * @example
717
+ * 1
718
+ */
719
+ page?: number;
720
+ /**
721
+ * @example
722
+ * 10
723
+ */
724
+ pageSize?: number;
725
+ status?: string[];
726
+ static names(): {
727
+ [key: string]: string;
728
+ };
729
+ static types(): {
730
+ [key: string]: any;
731
+ };
732
+ constructor(map?: {
733
+ [key: string]: any;
734
+ });
735
+ }
736
+ export declare class GetFilterDocumentListResponseBody extends $tea.Model {
737
+ /**
738
+ * @example
739
+ * null
740
+ */
741
+ cost?: number;
742
+ data?: GetFilterDocumentListResponseBodyData;
743
+ /**
744
+ * @example
745
+ * null
746
+ */
747
+ dataType?: string;
748
+ /**
749
+ * @example
750
+ * 0
751
+ */
752
+ errCode?: string;
753
+ /**
754
+ * @example
755
+ * ok
756
+ */
757
+ message?: string;
758
+ /**
759
+ * @example
760
+ * 7ADF010C-FD89-569D-A079-2D4D5247E943
761
+ */
762
+ requestId?: string;
763
+ /**
764
+ * @example
765
+ * true
766
+ */
767
+ success?: boolean;
768
+ /**
769
+ * @example
770
+ * 2024-01-01 00:00:00
771
+ */
772
+ time?: string;
773
+ static names(): {
774
+ [key: string]: string;
775
+ };
776
+ static types(): {
777
+ [key: string]: any;
778
+ };
779
+ constructor(map?: {
780
+ [key: string]: any;
781
+ });
782
+ }
783
+ export declare class GetFilterDocumentListResponse extends $tea.Model {
784
+ headers?: {
785
+ [key: string]: string;
786
+ };
787
+ statusCode?: number;
788
+ body?: GetFilterDocumentListResponseBody;
789
+ static names(): {
790
+ [key: string]: string;
791
+ };
792
+ static types(): {
793
+ [key: string]: any;
794
+ };
795
+ constructor(map?: {
796
+ [key: string]: any;
797
+ });
798
+ }
799
+ export declare class GetLibraryRequest extends $tea.Model {
800
+ /**
801
+ * @remarks
802
+ * This parameter is required.
803
+ *
804
+ * @example
805
+ * cjshcxxxx
806
+ */
807
+ libraryId?: string;
808
+ static names(): {
809
+ [key: string]: string;
810
+ };
811
+ static types(): {
812
+ [key: string]: any;
813
+ };
814
+ constructor(map?: {
815
+ [key: string]: any;
816
+ });
817
+ }
818
+ export declare class GetLibraryResponseBody extends $tea.Model {
819
+ /**
820
+ * @example
821
+ * null
822
+ */
823
+ cost?: number;
824
+ data?: GetLibraryResponseBodyData;
825
+ /**
826
+ * @example
827
+ * null
828
+ */
829
+ dataType?: string;
830
+ /**
831
+ * @example
832
+ * 0
833
+ */
834
+ errCode?: string;
835
+ /**
836
+ * @example
837
+ * ok
838
+ */
839
+ message?: string;
840
+ /**
841
+ * @example
842
+ * 44BD277A-87F9-5310-8D63-3E6645F1DA85
843
+ */
844
+ requestId?: string;
845
+ /**
846
+ * @example
847
+ * true
848
+ */
849
+ success?: boolean;
850
+ /**
851
+ * @example
852
+ * 2024-01-01 00:00:00
853
+ */
854
+ time?: string;
855
+ static names(): {
856
+ [key: string]: string;
857
+ };
858
+ static types(): {
859
+ [key: string]: any;
860
+ };
861
+ constructor(map?: {
862
+ [key: string]: any;
863
+ });
864
+ }
865
+ export declare class GetLibraryResponse extends $tea.Model {
866
+ headers?: {
867
+ [key: string]: string;
868
+ };
869
+ statusCode?: number;
870
+ body?: GetLibraryResponseBody;
871
+ static names(): {
872
+ [key: string]: string;
873
+ };
874
+ static types(): {
875
+ [key: string]: any;
876
+ };
877
+ constructor(map?: {
878
+ [key: string]: any;
879
+ });
880
+ }
881
+ export declare class GetLibraryListRequest extends $tea.Model {
882
+ /**
883
+ * @example
884
+ * 1
885
+ */
886
+ page?: number;
887
+ /**
888
+ * @example
889
+ * 10
890
+ */
891
+ pageSize?: number;
892
+ query?: string;
893
+ static names(): {
894
+ [key: string]: string;
895
+ };
896
+ static types(): {
897
+ [key: string]: any;
898
+ };
899
+ constructor(map?: {
900
+ [key: string]: any;
901
+ });
902
+ }
903
+ export declare class GetLibraryListResponseBody extends $tea.Model {
904
+ /**
905
+ * @example
906
+ * null
907
+ */
908
+ cost?: number;
909
+ data?: GetLibraryListResponseBodyData;
910
+ /**
911
+ * @example
912
+ * null
913
+ */
914
+ dataType?: string;
915
+ /**
916
+ * @example
917
+ * 0
918
+ */
919
+ errCode?: string;
920
+ /**
921
+ * @example
922
+ * ok
923
+ */
924
+ message?: string;
925
+ /**
926
+ * @example
927
+ * 0a06dfe817156528535968405edce3
928
+ */
929
+ requestId?: string;
930
+ /**
931
+ * @example
932
+ * true
933
+ */
934
+ success?: boolean;
935
+ /**
936
+ * @example
937
+ * 2024-01-01 00:00:00
938
+ */
939
+ time?: string;
940
+ static names(): {
941
+ [key: string]: string;
942
+ };
943
+ static types(): {
944
+ [key: string]: any;
945
+ };
946
+ constructor(map?: {
947
+ [key: string]: any;
948
+ });
949
+ }
950
+ export declare class GetLibraryListResponse extends $tea.Model {
951
+ headers?: {
952
+ [key: string]: string;
953
+ };
954
+ statusCode?: number;
955
+ body?: GetLibraryListResponseBody;
956
+ static names(): {
957
+ [key: string]: string;
958
+ };
959
+ static types(): {
960
+ [key: string]: any;
961
+ };
962
+ constructor(map?: {
963
+ [key: string]: any;
964
+ });
965
+ }
966
+ export declare class GetParseResultRequest extends $tea.Model {
967
+ /**
968
+ * @remarks
969
+ * This parameter is required.
970
+ *
971
+ * @example
972
+ * 873648346573245
973
+ */
974
+ docId?: string;
975
+ /**
976
+ * @remarks
977
+ * This parameter is required.
978
+ *
979
+ * @example
980
+ * sjdgdsfg
981
+ */
982
+ libraryId?: string;
983
+ static names(): {
984
+ [key: string]: string;
985
+ };
986
+ static types(): {
987
+ [key: string]: any;
988
+ };
989
+ constructor(map?: {
990
+ [key: string]: any;
991
+ });
992
+ }
993
+ export declare class GetParseResultResponseBody extends $tea.Model {
994
+ /**
995
+ * @example
996
+ * null
997
+ */
998
+ cost?: number;
999
+ data?: GetParseResultResponseBodyData;
1000
+ /**
1001
+ * @example
1002
+ * null
1003
+ */
1004
+ dataType?: string;
1005
+ /**
1006
+ * @example
1007
+ * 0
1008
+ */
1009
+ errCode?: string;
1010
+ /**
1011
+ * @example
1012
+ * ok
1013
+ */
1014
+ message?: string;
1015
+ /**
1016
+ * @example
1017
+ * 0abb793617204049360065953ec6dd
1018
+ */
1019
+ requestId?: string;
1020
+ /**
1021
+ * @example
1022
+ * true
1023
+ */
1024
+ success?: boolean;
1025
+ /**
1026
+ * @example
1027
+ * 2024-04-24 11:54:34
1028
+ */
1029
+ time?: string;
1030
+ static names(): {
1031
+ [key: string]: string;
1032
+ };
1033
+ static types(): {
1034
+ [key: string]: any;
1035
+ };
1036
+ constructor(map?: {
1037
+ [key: string]: any;
1038
+ });
1039
+ }
1040
+ export declare class GetParseResultResponse extends $tea.Model {
1041
+ headers?: {
1042
+ [key: string]: string;
1043
+ };
1044
+ statusCode?: number;
1045
+ body?: GetParseResultResponseBody;
1046
+ static names(): {
1047
+ [key: string]: string;
1048
+ };
1049
+ static types(): {
1050
+ [key: string]: any;
1051
+ };
1052
+ constructor(map?: {
1053
+ [key: string]: any;
1054
+ });
1055
+ }
1056
+ export declare class InvokePluginRequest extends $tea.Model {
1057
+ params?: {
1058
+ [key: string]: any;
1059
+ };
1060
+ /**
1061
+ * @example
1062
+ * 3mj87da7zr
1063
+ */
1064
+ pluginId?: string;
1065
+ static names(): {
1066
+ [key: string]: string;
1067
+ };
1068
+ static types(): {
1069
+ [key: string]: any;
1070
+ };
1071
+ constructor(map?: {
1072
+ [key: string]: any;
1073
+ });
1074
+ }
1075
+ export declare class InvokePluginResponseBody extends $tea.Model {
1076
+ /**
1077
+ * @example
1078
+ * null
1079
+ */
1080
+ cost?: number;
1081
+ /**
1082
+ * @example
1083
+ * {\\"jobWaiting\\": [0, 0], \\"timestamps\\": [1713383820, 1713383880], \\"jobUsage\\": [0, 0], \\"quotaUsage\\": [123, 32]}
1084
+ */
1085
+ data?: {
1086
+ [key: string]: any;
1087
+ };
1088
+ /**
1089
+ * @example
1090
+ * null
1091
+ */
1092
+ dataType?: string;
1093
+ /**
1094
+ * @example
1095
+ * 0
1096
+ */
1097
+ errCode?: string;
1098
+ /**
1099
+ * @example
1100
+ * ok
1101
+ */
1102
+ message?: string;
1103
+ /**
1104
+ * @example
1105
+ * 915AAAB9-4908-5224-9E53-9E9D7D0AA94B
1106
+ */
1107
+ requestId?: string;
1108
+ /**
1109
+ * @example
1110
+ * true
1111
+ */
1112
+ success?: boolean;
1113
+ /**
1114
+ * @example
1115
+ * 2024-04-24 11:54:34
1116
+ */
1117
+ time?: string;
1118
+ static names(): {
1119
+ [key: string]: string;
1120
+ };
1121
+ static types(): {
1122
+ [key: string]: any;
1123
+ };
1124
+ constructor(map?: {
1125
+ [key: string]: any;
1126
+ });
1127
+ }
1128
+ export declare class InvokePluginResponse extends $tea.Model {
1129
+ headers?: {
1130
+ [key: string]: string;
1131
+ };
1132
+ statusCode?: number;
1133
+ body?: InvokePluginResponseBody;
1134
+ static names(): {
1135
+ [key: string]: string;
1136
+ };
1137
+ static types(): {
1138
+ [key: string]: any;
1139
+ };
1140
+ constructor(map?: {
1141
+ [key: string]: any;
1142
+ });
1143
+ }
1144
+ export declare class PreviewDocumentRequest extends $tea.Model {
1145
+ /**
1146
+ * @remarks
1147
+ * This parameter is required.
1148
+ *
1149
+ * @example
1150
+ * 8326472354762354
1151
+ */
1152
+ documentId?: string;
1153
+ static names(): {
1154
+ [key: string]: string;
1155
+ };
1156
+ static types(): {
1157
+ [key: string]: any;
1158
+ };
1159
+ constructor(map?: {
1160
+ [key: string]: any;
1161
+ });
1162
+ }
1163
+ export declare class PreviewDocumentResponseBody extends $tea.Model {
1164
+ /**
1165
+ * @example
1166
+ * null
1167
+ */
1168
+ cost?: number;
1169
+ data?: PreviewDocumentResponseBodyData;
1170
+ /**
1171
+ * @example
1172
+ * null
1173
+ */
1174
+ dataType?: string;
1175
+ /**
1176
+ * @example
1177
+ * 0
1178
+ */
1179
+ errCode?: string;
1180
+ /**
1181
+ * @example
1182
+ * ok
1183
+ */
1184
+ message?: string;
1185
+ /**
1186
+ * @example
1187
+ * ff551395-1c8a-4f30-8ffd-ef7e87c70b4c
1188
+ */
1189
+ requestId?: string;
1190
+ /**
1191
+ * @example
1192
+ * true
1193
+ */
1194
+ success?: boolean;
1195
+ /**
1196
+ * @example
1197
+ * 2024-04-24 11:54:34
1198
+ */
1199
+ time?: string;
1200
+ static names(): {
1201
+ [key: string]: string;
1202
+ };
1203
+ static types(): {
1204
+ [key: string]: any;
1205
+ };
1206
+ constructor(map?: {
1207
+ [key: string]: any;
1208
+ });
1209
+ }
1210
+ export declare class PreviewDocumentResponse extends $tea.Model {
1211
+ headers?: {
1212
+ [key: string]: string;
1213
+ };
1214
+ statusCode?: number;
1215
+ body?: PreviewDocumentResponseBody;
1216
+ static names(): {
1217
+ [key: string]: string;
1218
+ };
1219
+ static types(): {
1220
+ [key: string]: any;
1221
+ };
1222
+ constructor(map?: {
1223
+ [key: string]: any;
1224
+ });
1225
+ }
1226
+ export declare class ReIndexRequest extends $tea.Model {
1227
+ /**
1228
+ * @remarks
1229
+ * This parameter is required.
1230
+ *
1231
+ * @example
1232
+ * 8326472354762354
1233
+ */
1234
+ documentId?: string;
1235
+ static names(): {
1236
+ [key: string]: string;
1237
+ };
1238
+ static types(): {
1239
+ [key: string]: any;
1240
+ };
1241
+ constructor(map?: {
1242
+ [key: string]: any;
1243
+ });
1244
+ }
1245
+ export declare class ReIndexResponseBody extends $tea.Model {
1246
+ /**
1247
+ * @example
1248
+ * null
1249
+ */
1250
+ cost?: number;
1251
+ /**
1252
+ * @example
1253
+ * True
1254
+ */
1255
+ data?: string;
1256
+ /**
1257
+ * @example
1258
+ * null
1259
+ */
1260
+ dataType?: string;
1261
+ /**
1262
+ * @example
1263
+ * 0
1264
+ */
1265
+ errCode?: string;
1266
+ /**
1267
+ * @example
1268
+ * ok
1269
+ */
1270
+ message?: string;
1271
+ /**
1272
+ * @example
1273
+ * 32FFC91D-0A9F-585A-B84F-8A54C5187035
1274
+ */
1275
+ requestId?: string;
1276
+ /**
1277
+ * @example
1278
+ * true
1279
+ */
1280
+ success?: boolean;
1281
+ /**
1282
+ * @example
1283
+ * 2024-04-24 11:54:34
1284
+ */
1285
+ time?: string;
1286
+ static names(): {
1287
+ [key: string]: string;
1288
+ };
1289
+ static types(): {
1290
+ [key: string]: any;
1291
+ };
1292
+ constructor(map?: {
1293
+ [key: string]: any;
1294
+ });
1295
+ }
1296
+ export declare class ReIndexResponse extends $tea.Model {
1297
+ headers?: {
1298
+ [key: string]: string;
1299
+ };
1300
+ statusCode?: number;
1301
+ body?: ReIndexResponseBody;
1302
+ static names(): {
1303
+ [key: string]: string;
1304
+ };
1305
+ static types(): {
1306
+ [key: string]: any;
1307
+ };
1308
+ constructor(map?: {
1309
+ [key: string]: any;
1310
+ });
1311
+ }
1312
+ export declare class RecallDocumentRequest extends $tea.Model {
1313
+ filters?: RecallDocumentRequestFilters[];
1314
+ /**
1315
+ * @remarks
1316
+ * This parameter is required.
1317
+ */
1318
+ query?: string;
1319
+ /**
1320
+ * @example
1321
+ * false
1322
+ */
1323
+ rearrangement?: boolean;
1324
+ /**
1325
+ * @example
1326
+ * 10
1327
+ */
1328
+ topK?: number;
1329
+ static names(): {
1330
+ [key: string]: string;
1331
+ };
1332
+ static types(): {
1333
+ [key: string]: any;
1334
+ };
1335
+ constructor(map?: {
1336
+ [key: string]: any;
1337
+ });
1338
+ }
1339
+ export declare class RecallDocumentResponseBody extends $tea.Model {
1340
+ /**
1341
+ * @example
1342
+ * 0
1343
+ */
1344
+ cost?: number;
1345
+ data?: RecallDocumentResponseBodyData;
1346
+ /**
1347
+ * @example
1348
+ * null
1349
+ */
1350
+ dataType?: string;
1351
+ /**
1352
+ * @example
1353
+ * 0
1354
+ */
1355
+ errCode?: string;
1356
+ /**
1357
+ * @example
1358
+ * ok
1359
+ */
1360
+ message?: string;
1361
+ /**
1362
+ * @example
1363
+ * 0bc13a9517168617617186457e401f
1364
+ */
1365
+ requestId?: string;
1366
+ /**
1367
+ * @example
1368
+ * true
1369
+ */
1370
+ success?: boolean;
1371
+ /**
1372
+ * @example
1373
+ * 2024-04-24 11:54:34
1374
+ */
1375
+ time?: string;
1376
+ static names(): {
1377
+ [key: string]: string;
1378
+ };
1379
+ static types(): {
1380
+ [key: string]: any;
1381
+ };
1382
+ constructor(map?: {
1383
+ [key: string]: any;
1384
+ });
1385
+ }
1386
+ export declare class RecallDocumentResponse extends $tea.Model {
1387
+ headers?: {
1388
+ [key: string]: string;
1389
+ };
1390
+ statusCode?: number;
1391
+ body?: RecallDocumentResponseBody;
1392
+ static names(): {
1393
+ [key: string]: string;
1394
+ };
1395
+ static types(): {
1396
+ [key: string]: any;
1397
+ };
1398
+ constructor(map?: {
1399
+ [key: string]: any;
1400
+ });
1401
+ }
1402
+ export declare class RunChatResultGenerationRequest extends $tea.Model {
1403
+ /**
1404
+ * @example
1405
+ * {"topP": 0.8}
1406
+ */
1407
+ inferenceParameters?: {
1408
+ [key: string]: any;
1409
+ };
1410
+ /**
1411
+ * @remarks
1412
+ * This parameter is required.
1413
+ */
1414
+ messages?: RunChatResultGenerationRequestMessages[];
1415
+ /**
1416
+ * @remarks
1417
+ * This parameter is required.
1418
+ *
1419
+ * @example
1420
+ * qwen-max
1421
+ */
1422
+ modelId?: string;
1423
+ /**
1424
+ * @example
1425
+ * 237645726354
1426
+ */
1427
+ sessionId?: string;
1428
+ /**
1429
+ * @example
1430
+ * false
1431
+ */
1432
+ stream?: boolean;
1433
+ tools?: RunChatResultGenerationRequestTools[];
1434
+ static names(): {
1435
+ [key: string]: string;
1436
+ };
1437
+ static types(): {
1438
+ [key: string]: any;
1439
+ };
1440
+ constructor(map?: {
1441
+ [key: string]: any;
1442
+ });
1443
+ }
1444
+ export declare class RunChatResultGenerationResponseBody extends $tea.Model {
1445
+ choices?: RunChatResultGenerationResponseBodyChoices[];
1446
+ /**
1447
+ * @example
1448
+ * 1720602203
1449
+ */
1450
+ created?: number;
1451
+ /**
1452
+ * @example
1453
+ * eb2b6139-ddf1-91a0-a47f-df7617ae9032
1454
+ */
1455
+ id?: string;
1456
+ /**
1457
+ * @example
1458
+ * qwen-max
1459
+ */
1460
+ modelId?: string;
1461
+ /**
1462
+ * @example
1463
+ * eb2b6139-ddf1-91a0-a47f-df7617ae9032
1464
+ */
1465
+ requestId?: string;
1466
+ /**
1467
+ * @example
1468
+ * 2024-04-24 11:54:34
1469
+ */
1470
+ time?: string;
1471
+ /**
1472
+ * @example
1473
+ * 500
1474
+ */
1475
+ totalTokens?: number;
1476
+ usage?: RunChatResultGenerationResponseBodyUsage;
1477
+ static names(): {
1478
+ [key: string]: string;
1479
+ };
1480
+ static types(): {
1481
+ [key: string]: any;
1482
+ };
1483
+ constructor(map?: {
1484
+ [key: string]: any;
1485
+ });
1486
+ }
1487
+ export declare class RunChatResultGenerationResponse extends $tea.Model {
1488
+ headers?: {
1489
+ [key: string]: string;
1490
+ };
1491
+ statusCode?: number;
1492
+ body?: RunChatResultGenerationResponseBody;
1493
+ static names(): {
1494
+ [key: string]: string;
1495
+ };
1496
+ static types(): {
1497
+ [key: string]: any;
1498
+ };
1499
+ constructor(map?: {
1500
+ [key: string]: any;
1501
+ });
1502
+ }
1503
+ export declare class UpdateDocumentRequest extends $tea.Model {
1504
+ /**
1505
+ * @remarks
1506
+ * This parameter is required.
1507
+ *
1508
+ * @example
1509
+ * 123
1510
+ */
1511
+ docId?: string;
1512
+ /**
1513
+ * @remarks
1514
+ * This parameter is required.
1515
+ *
1516
+ * @example
1517
+ * abc123
1518
+ */
1519
+ libraryId?: string;
1520
+ /**
1521
+ * @example
1522
+ * {
1523
+ * "businessId": "12321"
1524
+ * }
1525
+ */
1526
+ meta?: {
1527
+ [key: string]: any;
1528
+ };
1529
+ /**
1530
+ * @example
1531
+ * test
1532
+ */
1533
+ title?: string;
1534
+ static names(): {
1535
+ [key: string]: string;
1536
+ };
1537
+ static types(): {
1538
+ [key: string]: any;
1539
+ };
1540
+ constructor(map?: {
1541
+ [key: string]: any;
1542
+ });
1543
+ }
1544
+ export declare class UpdateDocumentResponseBody extends $tea.Model {
1545
+ /**
1546
+ * @example
1547
+ * null
1548
+ */
1549
+ cost?: number;
1550
+ /**
1551
+ * @example
1552
+ * null
1553
+ */
1554
+ data?: string;
1555
+ /**
1556
+ * @example
1557
+ * null
1558
+ */
1559
+ dataType?: string;
1560
+ /**
1561
+ * @example
1562
+ * 0
1563
+ */
1564
+ errCode?: string;
1565
+ /**
1566
+ * @example
1567
+ * ok
1568
+ */
1569
+ message?: string;
1570
+ /**
1571
+ * @example
1572
+ * eb2b6139-ddf1-91a0-a47f-df7617ae9032
1573
+ */
1574
+ requestId?: string;
1575
+ /**
1576
+ * @example
1577
+ * true
1578
+ */
1579
+ success?: boolean;
1580
+ /**
1581
+ * @example
1582
+ * 2024-04-24 11:54:34
1583
+ */
1584
+ time?: string;
1585
+ static names(): {
1586
+ [key: string]: string;
1587
+ };
1588
+ static types(): {
1589
+ [key: string]: any;
1590
+ };
1591
+ constructor(map?: {
1592
+ [key: string]: any;
1593
+ });
1594
+ }
1595
+ export declare class UpdateDocumentResponse extends $tea.Model {
1596
+ headers?: {
1597
+ [key: string]: string;
1598
+ };
1599
+ statusCode?: number;
1600
+ body?: UpdateDocumentResponseBody;
1601
+ static names(): {
1602
+ [key: string]: string;
1603
+ };
1604
+ static types(): {
1605
+ [key: string]: any;
1606
+ };
1607
+ constructor(map?: {
1608
+ [key: string]: any;
1609
+ });
1610
+ }
1611
+ export declare class UpdateLibraryRequest extends $tea.Model {
1612
+ description?: string;
1613
+ indexSetting?: UpdateLibraryRequestIndexSetting;
1614
+ /**
1615
+ * @remarks
1616
+ * This parameter is required.
1617
+ *
1618
+ * @example
1619
+ * dsfbashdbb
1620
+ */
1621
+ libraryId?: string;
1622
+ libraryName?: string;
1623
+ static names(): {
1624
+ [key: string]: string;
1625
+ };
1626
+ static types(): {
1627
+ [key: string]: any;
1628
+ };
1629
+ constructor(map?: {
1630
+ [key: string]: any;
1631
+ });
1632
+ }
1633
+ export declare class UpdateLibraryResponseBody extends $tea.Model {
1634
+ /**
1635
+ * @example
1636
+ * null
1637
+ */
1638
+ cost?: number;
1639
+ /**
1640
+ * @example
1641
+ * null
1642
+ */
1643
+ data?: string;
1644
+ /**
1645
+ * @example
1646
+ * null
1647
+ */
1648
+ dataType?: string;
1649
+ /**
1650
+ * @example
1651
+ * 0
1652
+ */
1653
+ errCode?: string;
1654
+ /**
1655
+ * @example
1656
+ * ok
1657
+ */
1658
+ message?: string;
1659
+ /**
1660
+ * @example
1661
+ * eb2b6139-ddf1-91a0-a47f-df7617ae9032
1662
+ */
1663
+ requestId?: string;
1664
+ /**
1665
+ * @example
1666
+ * true
1667
+ */
1668
+ success?: boolean;
1669
+ /**
1670
+ * @example
1671
+ * 2024-04-24 11:54:34
1672
+ */
1673
+ time?: string;
1674
+ static names(): {
1675
+ [key: string]: string;
1676
+ };
1677
+ static types(): {
1678
+ [key: string]: any;
1679
+ };
1680
+ constructor(map?: {
1681
+ [key: string]: any;
1682
+ });
1683
+ }
1684
+ export declare class UpdateLibraryResponse extends $tea.Model {
1685
+ headers?: {
1686
+ [key: string]: string;
1687
+ };
1688
+ statusCode?: number;
1689
+ body?: UpdateLibraryResponseBody;
1690
+ static names(): {
1691
+ [key: string]: string;
1692
+ };
1693
+ static types(): {
1694
+ [key: string]: any;
1695
+ };
1696
+ constructor(map?: {
1697
+ [key: string]: any;
1698
+ });
1699
+ }
1700
+ export declare class UploadDocumentRequest extends $tea.Model {
1701
+ data?: string;
1702
+ /**
1703
+ * @remarks
1704
+ * This parameter is required.
1705
+ *
1706
+ * @example
1707
+ * test.pdf
1708
+ */
1709
+ fileName?: string;
1710
+ /**
1711
+ * @remarks
1712
+ * This parameter is required.
1713
+ *
1714
+ * @example
1715
+ * https://oss-xxx.hangzhou.com/test.pdf
1716
+ */
1717
+ fileUrl?: string;
1718
+ /**
1719
+ * @remarks
1720
+ * This parameter is required.
1721
+ *
1722
+ * @example
1723
+ * sjdhbcsj
1724
+ */
1725
+ libraryId?: string;
1726
+ static names(): {
1727
+ [key: string]: string;
1728
+ };
1729
+ static types(): {
1730
+ [key: string]: any;
1731
+ };
1732
+ constructor(map?: {
1733
+ [key: string]: any;
1734
+ });
1735
+ }
1736
+ export declare class UploadDocumentAdvanceRequest extends $tea.Model {
1737
+ data?: string;
1738
+ /**
1739
+ * @remarks
1740
+ * This parameter is required.
1741
+ *
1742
+ * @example
1743
+ * test.pdf
1744
+ */
1745
+ fileName?: string;
1746
+ /**
1747
+ * @remarks
1748
+ * This parameter is required.
1749
+ *
1750
+ * @example
1751
+ * https://oss-xxx.hangzhou.com/test.pdf
1752
+ */
1753
+ fileUrlObject?: Readable;
1754
+ /**
1755
+ * @remarks
1756
+ * This parameter is required.
1757
+ *
1758
+ * @example
1759
+ * sjdhbcsj
1760
+ */
1761
+ libraryId?: string;
1762
+ static names(): {
1763
+ [key: string]: string;
1764
+ };
1765
+ static types(): {
1766
+ [key: string]: any;
1767
+ };
1768
+ constructor(map?: {
1769
+ [key: string]: any;
1770
+ });
1771
+ }
1772
+ export declare class UploadDocumentResponseBody extends $tea.Model {
1773
+ /**
1774
+ * @example
1775
+ * null
1776
+ */
1777
+ cost?: number;
1778
+ /**
1779
+ * @example
1780
+ * 1782981430906818562
1781
+ */
1782
+ data?: string;
1783
+ /**
1784
+ * @example
1785
+ * null
1786
+ */
1787
+ dataType?: string;
1788
+ /**
1789
+ * @example
1790
+ * 0
1791
+ */
1792
+ errCode?: string;
1793
+ /**
1794
+ * @example
1795
+ * ok
1796
+ */
1797
+ message?: string;
1798
+ /**
1799
+ * @example
1800
+ * ff3fef67-48d9-4379-a237-9ba8143fe739
1801
+ */
1802
+ requestId?: string;
1803
+ /**
1804
+ * @example
1805
+ * true
1806
+ */
1807
+ success?: boolean;
1808
+ /**
1809
+ * @example
1810
+ * 2024-04-24 11:54:34
1811
+ */
1812
+ time?: string;
1813
+ static names(): {
1814
+ [key: string]: string;
1815
+ };
1816
+ static types(): {
1817
+ [key: string]: any;
1818
+ };
1819
+ constructor(map?: {
1820
+ [key: string]: any;
1821
+ });
1822
+ }
1823
+ export declare class UploadDocumentResponse extends $tea.Model {
1824
+ headers?: {
1825
+ [key: string]: string;
1826
+ };
1827
+ statusCode?: number;
1828
+ body?: UploadDocumentResponseBody;
1829
+ static names(): {
1830
+ [key: string]: string;
1831
+ };
1832
+ static types(): {
1833
+ [key: string]: any;
1834
+ };
1835
+ constructor(map?: {
1836
+ [key: string]: any;
1837
+ });
1838
+ }
1839
+ export declare class CreateLibraryRequestIndexSettingChunkStrategy extends $tea.Model {
1840
+ /**
1841
+ * @example
1842
+ * true
1843
+ */
1844
+ docTreeSplit?: boolean;
1845
+ /**
1846
+ * @example
1847
+ * 300
1848
+ */
1849
+ docTreeSplitSize?: number;
1850
+ /**
1851
+ * @example
1852
+ * true
1853
+ */
1854
+ enhanceGraph?: boolean;
1855
+ /**
1856
+ * @example
1857
+ * true
1858
+ */
1859
+ enhanceTable?: boolean;
1860
+ /**
1861
+ * @example
1862
+ * 20
1863
+ */
1864
+ overlap?: number;
1865
+ /**
1866
+ * @example
1867
+ * true
1868
+ */
1869
+ sentenceSplit?: boolean;
1870
+ /**
1871
+ * @example
1872
+ * 300
1873
+ */
1874
+ sentenceSplitSize?: number;
1875
+ /**
1876
+ * @example
1877
+ * 300
1878
+ */
1879
+ size?: number;
1880
+ /**
1881
+ * @example
1882
+ * true
1883
+ */
1884
+ split?: boolean;
1885
+ static names(): {
1886
+ [key: string]: string;
1887
+ };
1888
+ static types(): {
1889
+ [key: string]: any;
1890
+ };
1891
+ constructor(map?: {
1892
+ [key: string]: any;
1893
+ });
1894
+ }
1895
+ export declare class CreateLibraryRequestIndexSettingModelConfig extends $tea.Model {
1896
+ /**
1897
+ * @example
1898
+ * 0.8
1899
+ */
1900
+ temperature?: number;
1901
+ /**
1902
+ * @example
1903
+ * 0.8
1904
+ */
1905
+ topP?: number;
1906
+ static names(): {
1907
+ [key: string]: string;
1908
+ };
1909
+ static types(): {
1910
+ [key: string]: any;
1911
+ };
1912
+ constructor(map?: {
1913
+ [key: string]: any;
1914
+ });
1915
+ }
1916
+ export declare class CreateLibraryRequestIndexSettingQueryEnhancer extends $tea.Model {
1917
+ /**
1918
+ * @example
1919
+ * true
1920
+ */
1921
+ enableFollowUp?: boolean;
1922
+ /**
1923
+ * @example
1924
+ * true
1925
+ */
1926
+ enableMultiQuery?: boolean;
1927
+ /**
1928
+ * @example
1929
+ * true
1930
+ */
1931
+ enableOpenQa?: boolean;
1932
+ /**
1933
+ * @example
1934
+ * true
1935
+ */
1936
+ enableQueryRewrite?: boolean;
1937
+ /**
1938
+ * @example
1939
+ * true
1940
+ */
1941
+ enableSession?: boolean;
1942
+ /**
1943
+ * @example
1944
+ * xxxx
1945
+ */
1946
+ localKnowledgeId?: string;
1947
+ /**
1948
+ * @example
1949
+ * true
1950
+ */
1951
+ withDocumentReference?: boolean;
1952
+ static names(): {
1953
+ [key: string]: string;
1954
+ };
1955
+ static types(): {
1956
+ [key: string]: any;
1957
+ };
1958
+ constructor(map?: {
1959
+ [key: string]: any;
1960
+ });
1961
+ }
1962
+ export declare class CreateLibraryRequestIndexSettingRecallStrategy extends $tea.Model {
1963
+ /**
1964
+ * @example
1965
+ * model
1966
+ */
1967
+ documentRankType?: string;
1968
+ /**
1969
+ * @example
1970
+ * 20
1971
+ */
1972
+ limit?: number;
1973
+ static names(): {
1974
+ [key: string]: string;
1975
+ };
1976
+ static types(): {
1977
+ [key: string]: any;
1978
+ };
1979
+ constructor(map?: {
1980
+ [key: string]: any;
1981
+ });
1982
+ }
1983
+ export declare class CreateLibraryRequestIndexSettingTextIndexSetting extends $tea.Model {
1984
+ /**
1985
+ * @example
1986
+ * ElasticSearch
1987
+ */
1988
+ category?: string;
1989
+ /**
1990
+ * @example
1991
+ * true
1992
+ */
1993
+ enable?: boolean;
1994
+ /**
1995
+ * @example
1996
+ * Standard
1997
+ */
1998
+ indexAnalyzer?: string;
1999
+ /**
2000
+ * @example
2001
+ * 0.5
2002
+ */
2003
+ rankThreshold?: number;
2004
+ /**
2005
+ * @example
2006
+ * Standard
2007
+ */
2008
+ searchAnalyzer?: string;
2009
+ /**
2010
+ * @example
2011
+ * 50
2012
+ */
2013
+ topK?: number;
2014
+ static names(): {
2015
+ [key: string]: string;
2016
+ };
2017
+ static types(): {
2018
+ [key: string]: any;
2019
+ };
2020
+ constructor(map?: {
2021
+ [key: string]: any;
2022
+ });
2023
+ }
2024
+ export declare class CreateLibraryRequestIndexSettingVectorIndexSetting extends $tea.Model {
2025
+ /**
2026
+ * @example
2027
+ * ADB
2028
+ */
2029
+ category?: string;
2030
+ /**
2031
+ * @example
2032
+ * DashScope
2033
+ */
2034
+ embeddingType?: string;
2035
+ /**
2036
+ * @example
2037
+ * true
2038
+ */
2039
+ enable?: boolean;
2040
+ /**
2041
+ * @example
2042
+ * 0.5
2043
+ */
2044
+ rankThreshold?: number;
2045
+ /**
2046
+ * @example
2047
+ * 50
2048
+ */
2049
+ topK?: number;
2050
+ static names(): {
2051
+ [key: string]: string;
2052
+ };
2053
+ static types(): {
2054
+ [key: string]: any;
2055
+ };
2056
+ constructor(map?: {
2057
+ [key: string]: any;
2058
+ });
2059
+ }
2060
+ export declare class CreateLibraryRequestIndexSetting extends $tea.Model {
2061
+ chunkStrategy?: CreateLibraryRequestIndexSettingChunkStrategy;
2062
+ modelConfig?: CreateLibraryRequestIndexSettingModelConfig;
2063
+ promptRoleStyle?: string;
2064
+ queryEnhancer?: CreateLibraryRequestIndexSettingQueryEnhancer;
2065
+ recallStrategy?: CreateLibraryRequestIndexSettingRecallStrategy;
2066
+ textIndexSetting?: CreateLibraryRequestIndexSettingTextIndexSetting;
2067
+ vectorIndexSetting?: CreateLibraryRequestIndexSettingVectorIndexSetting;
2068
+ static names(): {
2069
+ [key: string]: string;
2070
+ };
2071
+ static types(): {
2072
+ [key: string]: any;
2073
+ };
2074
+ constructor(map?: {
2075
+ [key: string]: any;
2076
+ });
2077
+ }
2078
+ export declare class CreatePredefinedDocumentRequestChunks extends $tea.Model {
2079
+ /**
2080
+ * @example
2081
+ * {"a": "1"}
2082
+ */
2083
+ chunkMeta?: {
2084
+ [key: string]: any;
2085
+ };
2086
+ /**
2087
+ * @example
2088
+ * 1
2089
+ */
2090
+ chunkOrder?: number;
2091
+ /**
2092
+ * @example
2093
+ * 这是一段测试文本
2094
+ */
2095
+ chunkText?: string;
2096
+ /**
2097
+ * @example
2098
+ * text
2099
+ */
2100
+ chunkType?: string;
2101
+ static names(): {
2102
+ [key: string]: string;
2103
+ };
2104
+ static types(): {
2105
+ [key: string]: any;
2106
+ };
2107
+ constructor(map?: {
2108
+ [key: string]: any;
2109
+ });
2110
+ }
2111
+ export declare class GetAppConfigResponseBodyData extends $tea.Model {
2112
+ embeddingTypeList?: {
2113
+ [key: string]: string;
2114
+ }[];
2115
+ frontendConfig?: {
2116
+ [key: string]: boolean;
2117
+ };
2118
+ libraryDocumentStatusList?: {
2119
+ [key: string]: string;
2120
+ }[];
2121
+ llmHelperTypeList?: {
2122
+ [key: string]: string;
2123
+ }[];
2124
+ textIndexCategoryList?: string[];
2125
+ vectorIndexCategoryList?: string[];
2126
+ static names(): {
2127
+ [key: string]: string;
2128
+ };
2129
+ static types(): {
2130
+ [key: string]: any;
2131
+ };
2132
+ constructor(map?: {
2133
+ [key: string]: any;
2134
+ });
2135
+ }
2136
+ export declare class GetDocumentChunkListResponseBodyDataRecordsPos extends $tea.Model {
2137
+ axisArray?: number[];
2138
+ /**
2139
+ * @example
2140
+ * 1
2141
+ */
2142
+ page?: number;
2143
+ textHighlightArea?: number[];
2144
+ static names(): {
2145
+ [key: string]: string;
2146
+ };
2147
+ static types(): {
2148
+ [key: string]: any;
2149
+ };
2150
+ constructor(map?: {
2151
+ [key: string]: any;
2152
+ });
2153
+ }
2154
+ export declare class GetDocumentChunkListResponseBodyDataRecords extends $tea.Model {
2155
+ /**
2156
+ * @example
2157
+ * 28377468263482764
2158
+ */
2159
+ chunkId?: string;
2160
+ /**
2161
+ * @example
2162
+ * {"a":"1"}
2163
+ */
2164
+ chunkMeta?: {
2165
+ [key: string]: any;
2166
+ };
2167
+ /**
2168
+ * @example
2169
+ * oss-xxxx-hangzhou.com/test.pdf
2170
+ */
2171
+ chunkOssUrl?: string;
2172
+ chunkText?: string;
2173
+ /**
2174
+ * @example
2175
+ * text
2176
+ */
2177
+ chunkType?: string;
2178
+ /**
2179
+ * @example
2180
+ * 8947387648356
2181
+ */
2182
+ docId?: string;
2183
+ /**
2184
+ * @example
2185
+ * pdf
2186
+ */
2187
+ fileType?: string;
2188
+ /**
2189
+ * @example
2190
+ * jhsdvne
2191
+ */
2192
+ libraryId?: string;
2193
+ libraryName?: string;
2194
+ /**
2195
+ * @example
2196
+ * 947538465
2197
+ */
2198
+ nextChunkId?: string;
2199
+ pos?: GetDocumentChunkListResponseBodyDataRecordsPos[];
2200
+ /**
2201
+ * @example
2202
+ * 9848346548365
2203
+ */
2204
+ preChunkId?: string;
2205
+ /**
2206
+ * @example
2207
+ * 0.5
2208
+ */
2209
+ score?: number;
2210
+ /**
2211
+ * @example
2212
+ * test
2213
+ */
2214
+ title?: string;
2215
+ static names(): {
2216
+ [key: string]: string;
2217
+ };
2218
+ static types(): {
2219
+ [key: string]: any;
2220
+ };
2221
+ constructor(map?: {
2222
+ [key: string]: any;
2223
+ });
2224
+ }
2225
+ export declare class GetDocumentChunkListResponseBodyData extends $tea.Model {
2226
+ /**
2227
+ * @example
2228
+ * 1
2229
+ */
2230
+ currentPage?: number;
2231
+ /**
2232
+ * @example
2233
+ * 10
2234
+ */
2235
+ pageSize?: number;
2236
+ records?: GetDocumentChunkListResponseBodyDataRecords[];
2237
+ /**
2238
+ * @example
2239
+ * 10
2240
+ */
2241
+ totalPages?: number;
2242
+ /**
2243
+ * @example
2244
+ * 100
2245
+ */
2246
+ totalRecords?: number;
2247
+ static names(): {
2248
+ [key: string]: string;
2249
+ };
2250
+ static types(): {
2251
+ [key: string]: any;
2252
+ };
2253
+ constructor(map?: {
2254
+ [key: string]: any;
2255
+ });
2256
+ }
2257
+ export declare class GetDocumentListResponseBodyDataRecords extends $tea.Model {
2258
+ /**
2259
+ * @example
2260
+ * 8326748346
2261
+ */
2262
+ docId?: string;
2263
+ documentMeta?: {
2264
+ [key: string]: any;
2265
+ };
2266
+ /**
2267
+ * @example
2268
+ * pdf
2269
+ */
2270
+ fileType?: string;
2271
+ /**
2272
+ * @example
2273
+ * 2024-01-01 00:00:00
2274
+ */
2275
+ gmtCreate?: string;
2276
+ /**
2277
+ * @example
2278
+ * 2024-01-01 00:00:00
2279
+ */
2280
+ gmtModified?: string;
2281
+ /**
2282
+ * @example
2283
+ * skjdhshbv
2284
+ */
2285
+ libraryId?: string;
2286
+ /**
2287
+ * @example
2288
+ * WaitRefresh
2289
+ */
2290
+ statusCode?: string;
2291
+ /**
2292
+ * @example
2293
+ * test
2294
+ */
2295
+ title?: string;
2296
+ /**
2297
+ * @example
2298
+ * null
2299
+ */
2300
+ url?: string;
2301
+ static names(): {
2302
+ [key: string]: string;
2303
+ };
2304
+ static types(): {
2305
+ [key: string]: any;
2306
+ };
2307
+ constructor(map?: {
2308
+ [key: string]: any;
2309
+ });
2310
+ }
2311
+ export declare class GetDocumentListResponseBodyData extends $tea.Model {
2312
+ /**
2313
+ * @example
2314
+ * 1
2315
+ */
2316
+ currentPage?: number;
2317
+ /**
2318
+ * @example
2319
+ * 10
2320
+ */
2321
+ pageSize?: number;
2322
+ records?: GetDocumentListResponseBodyDataRecords[];
2323
+ /**
2324
+ * @example
2325
+ * 10
2326
+ */
2327
+ totalPages?: number;
2328
+ /**
2329
+ * @example
2330
+ * 100
2331
+ */
2332
+ totalRecords?: number;
2333
+ static names(): {
2334
+ [key: string]: string;
2335
+ };
2336
+ static types(): {
2337
+ [key: string]: any;
2338
+ };
2339
+ constructor(map?: {
2340
+ [key: string]: any;
2341
+ });
2342
+ }
2343
+ export declare class GetFilterDocumentListRequestAnd extends $tea.Model {
2344
+ /**
2345
+ * @example
2346
+ * 1
2347
+ */
2348
+ boost?: number;
2349
+ /**
2350
+ * @example
2351
+ * company
2352
+ */
2353
+ key?: string;
2354
+ /**
2355
+ * @example
2356
+ * eq
2357
+ */
2358
+ operator?: string;
2359
+ /**
2360
+ * @example
2361
+ * alibaba
2362
+ */
2363
+ value?: string;
2364
+ static names(): {
2365
+ [key: string]: string;
2366
+ };
2367
+ static types(): {
2368
+ [key: string]: any;
2369
+ };
2370
+ constructor(map?: {
2371
+ [key: string]: any;
2372
+ });
2373
+ }
2374
+ export declare class GetFilterDocumentListRequestOr extends $tea.Model {
2375
+ /**
2376
+ * @example
2377
+ * 1
2378
+ */
2379
+ boost?: number;
2380
+ /**
2381
+ * @example
2382
+ * company
2383
+ */
2384
+ key?: string;
2385
+ /**
2386
+ * @example
2387
+ * contains
2388
+ */
2389
+ operator?: string;
2390
+ /**
2391
+ * @example
2392
+ * alibaba
2393
+ */
2394
+ value?: string;
2395
+ static names(): {
2396
+ [key: string]: string;
2397
+ };
2398
+ static types(): {
2399
+ [key: string]: any;
2400
+ };
2401
+ constructor(map?: {
2402
+ [key: string]: any;
2403
+ });
2404
+ }
2405
+ export declare class GetFilterDocumentListResponseBodyDataRecords extends $tea.Model {
2406
+ /**
2407
+ * @example
2408
+ * 29368126816
2409
+ */
2410
+ docId?: string;
2411
+ /**
2412
+ * @example
2413
+ * {"a": "1"}
2414
+ */
2415
+ documentMeta?: {
2416
+ [key: string]: any;
2417
+ };
2418
+ /**
2419
+ * @example
2420
+ * pdf
2421
+ */
2422
+ fileType?: string;
2423
+ /**
2424
+ * @example
2425
+ * 2024-01-01 00:00:00
2426
+ */
2427
+ gmtCreate?: string;
2428
+ /**
2429
+ * @example
2430
+ * 2024-01-01 00:00:00
2431
+ */
2432
+ gmtModified?: string;
2433
+ /**
2434
+ * @example
2435
+ * sdfgsjdfg
2436
+ */
2437
+ libraryId?: string;
2438
+ /**
2439
+ * @example
2440
+ * WaitRefresh
2441
+ */
2442
+ statusCode?: string;
2443
+ title?: string;
2444
+ /**
2445
+ * @example
2446
+ * null
2447
+ */
2448
+ url?: string;
2449
+ static names(): {
2450
+ [key: string]: string;
2451
+ };
2452
+ static types(): {
2453
+ [key: string]: any;
2454
+ };
2455
+ constructor(map?: {
2456
+ [key: string]: any;
2457
+ });
2458
+ }
2459
+ export declare class GetFilterDocumentListResponseBodyData extends $tea.Model {
2460
+ /**
2461
+ * @example
2462
+ * 1
2463
+ */
2464
+ currentPage?: number;
2465
+ /**
2466
+ * @example
2467
+ * 10
2468
+ */
2469
+ pageSize?: number;
2470
+ records?: GetFilterDocumentListResponseBodyDataRecords[];
2471
+ /**
2472
+ * @example
2473
+ * 10
2474
+ */
2475
+ totalPages?: number;
2476
+ /**
2477
+ * @example
2478
+ * 100
2479
+ */
2480
+ totalRecords?: number;
2481
+ static names(): {
2482
+ [key: string]: string;
2483
+ };
2484
+ static types(): {
2485
+ [key: string]: any;
2486
+ };
2487
+ constructor(map?: {
2488
+ [key: string]: any;
2489
+ });
2490
+ }
2491
+ export declare class GetLibraryResponseBodyDataIndexSettingChunkStrategy extends $tea.Model {
2492
+ /**
2493
+ * @example
2494
+ * true
2495
+ */
2496
+ docTreeSplit?: boolean;
2497
+ /**
2498
+ * @example
2499
+ * 160
2500
+ */
2501
+ docTreeSplitSize?: number;
2502
+ /**
2503
+ * @example
2504
+ * true
2505
+ */
2506
+ enhanceGraph?: boolean;
2507
+ /**
2508
+ * @example
2509
+ * true
2510
+ */
2511
+ enhanceTable?: boolean;
2512
+ /**
2513
+ * @example
2514
+ * 40
2515
+ */
2516
+ overlap?: number;
2517
+ /**
2518
+ * @example
2519
+ * true
2520
+ */
2521
+ sentenceSplit?: boolean;
2522
+ /**
2523
+ * @example
2524
+ * 160
2525
+ */
2526
+ sentenceSplitSize?: number;
2527
+ /**
2528
+ * @example
2529
+ * 256
2530
+ */
2531
+ size?: number;
2532
+ /**
2533
+ * @example
2534
+ * true
2535
+ */
2536
+ split?: boolean;
2537
+ static names(): {
2538
+ [key: string]: string;
2539
+ };
2540
+ static types(): {
2541
+ [key: string]: any;
2542
+ };
2543
+ constructor(map?: {
2544
+ [key: string]: any;
2545
+ });
2546
+ }
2547
+ export declare class GetLibraryResponseBodyDataIndexSettingModelConfig extends $tea.Model {
2548
+ /**
2549
+ * @example
2550
+ * 0.8
2551
+ */
2552
+ temperature?: number;
2553
+ /**
2554
+ * @remarks
2555
+ * topP
2556
+ *
2557
+ * @example
2558
+ * 0.8
2559
+ */
2560
+ topP?: number;
2561
+ static names(): {
2562
+ [key: string]: string;
2563
+ };
2564
+ static types(): {
2565
+ [key: string]: any;
2566
+ };
2567
+ constructor(map?: {
2568
+ [key: string]: any;
2569
+ });
2570
+ }
2571
+ export declare class GetLibraryResponseBodyDataIndexSettingQueryEnhancer extends $tea.Model {
2572
+ /**
2573
+ * @example
2574
+ * true
2575
+ */
2576
+ enableFollowUp?: boolean;
2577
+ /**
2578
+ * @example
2579
+ * true
2580
+ */
2581
+ enableMultiQuery?: boolean;
2582
+ /**
2583
+ * @example
2584
+ * true
2585
+ */
2586
+ enableOpenQa?: boolean;
2587
+ /**
2588
+ * @example
2589
+ * true
2590
+ */
2591
+ enableQueryRewrite?: boolean;
2592
+ /**
2593
+ * @example
2594
+ * true
2595
+ */
2596
+ enableSession?: boolean;
2597
+ /**
2598
+ * @example
2599
+ * 2836482634
2600
+ */
2601
+ localKnowledgeId?: string;
2602
+ /**
2603
+ * @example
2604
+ * true
2605
+ */
2606
+ withDocumentReference?: boolean;
2607
+ static names(): {
2608
+ [key: string]: string;
2609
+ };
2610
+ static types(): {
2611
+ [key: string]: any;
2612
+ };
2613
+ constructor(map?: {
2614
+ [key: string]: any;
2615
+ });
2616
+ }
2617
+ export declare class GetLibraryResponseBodyDataIndexSettingRecallStrategy extends $tea.Model {
2618
+ /**
2619
+ * @example
2620
+ * model
2621
+ */
2622
+ documentRankType?: string;
2623
+ /**
2624
+ * @example
2625
+ * 10
2626
+ */
2627
+ limit?: number;
2628
+ static names(): {
2629
+ [key: string]: string;
2630
+ };
2631
+ static types(): {
2632
+ [key: string]: any;
2633
+ };
2634
+ constructor(map?: {
2635
+ [key: string]: any;
2636
+ });
2637
+ }
2638
+ export declare class GetLibraryResponseBodyDataIndexSettingTextIndexSetting extends $tea.Model {
2639
+ /**
2640
+ * @example
2641
+ * ElasticSearch
2642
+ */
2643
+ category?: string;
2644
+ /**
2645
+ * @example
2646
+ * true
2647
+ */
2648
+ enable?: boolean;
2649
+ /**
2650
+ * @example
2651
+ * IkMaxWord
2652
+ */
2653
+ indexAnalyzer?: string;
2654
+ /**
2655
+ * @example
2656
+ * null
2657
+ */
2658
+ rankThreshold?: number;
2659
+ /**
2660
+ * @example
2661
+ * Standard
2662
+ */
2663
+ searchAnalyzer?: string;
2664
+ /**
2665
+ * @example
2666
+ * 10
2667
+ */
2668
+ topK?: number;
2669
+ static names(): {
2670
+ [key: string]: string;
2671
+ };
2672
+ static types(): {
2673
+ [key: string]: any;
2674
+ };
2675
+ constructor(map?: {
2676
+ [key: string]: any;
2677
+ });
2678
+ }
2679
+ export declare class GetLibraryResponseBodyDataIndexSettingVectorIndexSetting extends $tea.Model {
2680
+ /**
2681
+ * @example
2682
+ * ADB
2683
+ */
2684
+ category?: string;
2685
+ /**
2686
+ * @example
2687
+ * DashScope
2688
+ */
2689
+ embeddingType?: string;
2690
+ /**
2691
+ * @example
2692
+ * true
2693
+ */
2694
+ enable?: boolean;
2695
+ /**
2696
+ * @example
2697
+ * null
2698
+ */
2699
+ rankThreshold?: number;
2700
+ /**
2701
+ * @example
2702
+ * 10
2703
+ */
2704
+ topK?: number;
2705
+ static names(): {
2706
+ [key: string]: string;
2707
+ };
2708
+ static types(): {
2709
+ [key: string]: any;
2710
+ };
2711
+ constructor(map?: {
2712
+ [key: string]: any;
2713
+ });
2714
+ }
2715
+ export declare class GetLibraryResponseBodyDataIndexSetting extends $tea.Model {
2716
+ chunkStrategy?: GetLibraryResponseBodyDataIndexSettingChunkStrategy;
2717
+ modelConfig?: GetLibraryResponseBodyDataIndexSettingModelConfig;
2718
+ promptRoleStyle?: string;
2719
+ queryEnhancer?: GetLibraryResponseBodyDataIndexSettingQueryEnhancer;
2720
+ recallStrategy?: GetLibraryResponseBodyDataIndexSettingRecallStrategy;
2721
+ textIndexSetting?: GetLibraryResponseBodyDataIndexSettingTextIndexSetting;
2722
+ vectorIndexSetting?: GetLibraryResponseBodyDataIndexSettingVectorIndexSetting;
2723
+ static names(): {
2724
+ [key: string]: string;
2725
+ };
2726
+ static types(): {
2727
+ [key: string]: any;
2728
+ };
2729
+ constructor(map?: {
2730
+ [key: string]: any;
2731
+ });
2732
+ }
2733
+ export declare class GetLibraryResponseBodyData extends $tea.Model {
2734
+ description?: string;
2735
+ /**
2736
+ * @example
2737
+ * 10
2738
+ */
2739
+ documentCount?: number;
2740
+ /**
2741
+ * @example
2742
+ * 2024-01-01 00:00:00
2743
+ */
2744
+ gmtCreate?: string;
2745
+ /**
2746
+ * @example
2747
+ * 2024-01-01 00:00:00
2748
+ */
2749
+ gmtModified?: string;
2750
+ /**
2751
+ * @example
2752
+ * 19386728376
2753
+ */
2754
+ id?: string;
2755
+ indexSetting?: GetLibraryResponseBodyDataIndexSetting;
2756
+ libraryName?: string;
2757
+ static names(): {
2758
+ [key: string]: string;
2759
+ };
2760
+ static types(): {
2761
+ [key: string]: any;
2762
+ };
2763
+ constructor(map?: {
2764
+ [key: string]: any;
2765
+ });
2766
+ }
2767
+ export declare class GetLibraryListResponseBodyDataRecordsIndexSettingChunkStrategy extends $tea.Model {
2768
+ /**
2769
+ * @example
2770
+ * true
2771
+ */
2772
+ docTreeSplit?: boolean;
2773
+ /**
2774
+ * @example
2775
+ * 160
2776
+ */
2777
+ docTreeSplitSize?: number;
2778
+ /**
2779
+ * @example
2780
+ * true
2781
+ */
2782
+ enhanceGraph?: boolean;
2783
+ /**
2784
+ * @example
2785
+ * true
2786
+ */
2787
+ enhanceTable?: boolean;
2788
+ /**
2789
+ * @example
2790
+ * 40
2791
+ */
2792
+ overlap?: number;
2793
+ /**
2794
+ * @example
2795
+ * true
2796
+ */
2797
+ sentenceSplit?: boolean;
2798
+ /**
2799
+ * @example
2800
+ * 160
2801
+ */
2802
+ sentenceSplitSize?: number;
2803
+ /**
2804
+ * @example
2805
+ * 256
2806
+ */
2807
+ size?: number;
2808
+ /**
2809
+ * @example
2810
+ * true
2811
+ */
2812
+ split?: boolean;
2813
+ static names(): {
2814
+ [key: string]: string;
2815
+ };
2816
+ static types(): {
2817
+ [key: string]: any;
2818
+ };
2819
+ constructor(map?: {
2820
+ [key: string]: any;
2821
+ });
2822
+ }
2823
+ export declare class GetLibraryListResponseBodyDataRecordsIndexSettingModelConfig extends $tea.Model {
2824
+ /**
2825
+ * @example
2826
+ * 0.8
2827
+ */
2828
+ temperature?: number;
2829
+ /**
2830
+ * @remarks
2831
+ * topP
2832
+ *
2833
+ * @example
2834
+ * 0.8
2835
+ */
2836
+ topP?: number;
2837
+ static names(): {
2838
+ [key: string]: string;
2839
+ };
2840
+ static types(): {
2841
+ [key: string]: any;
2842
+ };
2843
+ constructor(map?: {
2844
+ [key: string]: any;
2845
+ });
2846
+ }
2847
+ export declare class GetLibraryListResponseBodyDataRecordsIndexSettingQueryEnhancer extends $tea.Model {
2848
+ /**
2849
+ * @example
2850
+ * true
2851
+ */
2852
+ enableFollowUp?: boolean;
2853
+ /**
2854
+ * @example
2855
+ * true
2856
+ */
2857
+ enableMultiQuery?: boolean;
2858
+ /**
2859
+ * @example
2860
+ * true
2861
+ */
2862
+ enableOpenQa?: boolean;
2863
+ /**
2864
+ * @example
2865
+ * true
2866
+ */
2867
+ enableQueryRewrite?: boolean;
2868
+ /**
2869
+ * @example
2870
+ * true
2871
+ */
2872
+ enableSession?: boolean;
2873
+ /**
2874
+ * @example
2875
+ * sdbcjsbc
2876
+ */
2877
+ localKnowledgeId?: string;
2878
+ /**
2879
+ * @example
2880
+ * true
2881
+ */
2882
+ withDocumentReference?: boolean;
2883
+ static names(): {
2884
+ [key: string]: string;
2885
+ };
2886
+ static types(): {
2887
+ [key: string]: any;
2888
+ };
2889
+ constructor(map?: {
2890
+ [key: string]: any;
2891
+ });
2892
+ }
2893
+ export declare class GetLibraryListResponseBodyDataRecordsIndexSettingRecallStrategy extends $tea.Model {
2894
+ /**
2895
+ * @example
2896
+ * model
2897
+ */
2898
+ documentRankType?: string;
2899
+ /**
2900
+ * @example
2901
+ * 10
2902
+ */
2903
+ limit?: number;
2904
+ static names(): {
2905
+ [key: string]: string;
2906
+ };
2907
+ static types(): {
2908
+ [key: string]: any;
2909
+ };
2910
+ constructor(map?: {
2911
+ [key: string]: any;
2912
+ });
2913
+ }
2914
+ export declare class GetLibraryListResponseBodyDataRecordsIndexSettingTextIndexSetting extends $tea.Model {
2915
+ /**
2916
+ * @example
2917
+ * ElasticSearch
2918
+ */
2919
+ category?: string;
2920
+ /**
2921
+ * @example
2922
+ * true
2923
+ */
2924
+ enable?: boolean;
2925
+ /**
2926
+ * @example
2927
+ * Standard
2928
+ */
2929
+ indexAnalyzer?: string;
2930
+ /**
2931
+ * @example
2932
+ * null
2933
+ */
2934
+ rankThreshold?: number;
2935
+ /**
2936
+ * @example
2937
+ * Standard
2938
+ */
2939
+ searchAnalyzer?: string;
2940
+ /**
2941
+ * @example
2942
+ * 10
2943
+ */
2944
+ topK?: number;
2945
+ static names(): {
2946
+ [key: string]: string;
2947
+ };
2948
+ static types(): {
2949
+ [key: string]: any;
2950
+ };
2951
+ constructor(map?: {
2952
+ [key: string]: any;
2953
+ });
2954
+ }
2955
+ export declare class GetLibraryListResponseBodyDataRecordsIndexSettingVectorIndexSetting extends $tea.Model {
2956
+ /**
2957
+ * @example
2958
+ * ADB
2959
+ */
2960
+ category?: string;
2961
+ /**
2962
+ * @example
2963
+ * DashScope
2964
+ */
2965
+ embeddingType?: string;
2966
+ /**
2967
+ * @example
2968
+ * true
2969
+ */
2970
+ enable?: boolean;
2971
+ /**
2972
+ * @example
2973
+ * null
2974
+ */
2975
+ rankThreshold?: number;
2976
+ /**
2977
+ * @example
2978
+ * 10
2979
+ */
2980
+ topK?: number;
2981
+ static names(): {
2982
+ [key: string]: string;
2983
+ };
2984
+ static types(): {
2985
+ [key: string]: any;
2986
+ };
2987
+ constructor(map?: {
2988
+ [key: string]: any;
2989
+ });
2990
+ }
2991
+ export declare class GetLibraryListResponseBodyDataRecordsIndexSetting extends $tea.Model {
2992
+ chunkStrategy?: GetLibraryListResponseBodyDataRecordsIndexSettingChunkStrategy;
2993
+ modelConfig?: GetLibraryListResponseBodyDataRecordsIndexSettingModelConfig;
2994
+ promptRoleStyle?: string;
2995
+ queryEnhancer?: GetLibraryListResponseBodyDataRecordsIndexSettingQueryEnhancer;
2996
+ recallStrategy?: GetLibraryListResponseBodyDataRecordsIndexSettingRecallStrategy;
2997
+ textIndexSetting?: GetLibraryListResponseBodyDataRecordsIndexSettingTextIndexSetting;
2998
+ vectorIndexSetting?: GetLibraryListResponseBodyDataRecordsIndexSettingVectorIndexSetting;
2999
+ static names(): {
3000
+ [key: string]: string;
3001
+ };
3002
+ static types(): {
3003
+ [key: string]: any;
3004
+ };
3005
+ constructor(map?: {
3006
+ [key: string]: any;
3007
+ });
3008
+ }
3009
+ export declare class GetLibraryListResponseBodyDataRecords extends $tea.Model {
3010
+ description?: string;
3011
+ /**
3012
+ * @example
3013
+ * 10
3014
+ */
3015
+ documentCount?: number;
3016
+ /**
3017
+ * @example
3018
+ * 2024-01-01 00:00:00
3019
+ */
3020
+ gmtCreate?: string;
3021
+ /**
3022
+ * @example
3023
+ * 2024-01-01 00:00:00
3024
+ */
3025
+ gmtModified?: string;
3026
+ /**
3027
+ * @example
3028
+ * 24vs4aa42jv1rg7
3029
+ */
3030
+ id?: string;
3031
+ indexSetting?: GetLibraryListResponseBodyDataRecordsIndexSetting;
3032
+ libraryName?: string;
3033
+ static names(): {
3034
+ [key: string]: string;
3035
+ };
3036
+ static types(): {
3037
+ [key: string]: any;
3038
+ };
3039
+ constructor(map?: {
3040
+ [key: string]: any;
3041
+ });
3042
+ }
3043
+ export declare class GetLibraryListResponseBodyData extends $tea.Model {
3044
+ /**
3045
+ * @example
3046
+ * 1
3047
+ */
3048
+ currentPage?: number;
3049
+ /**
3050
+ * @example
3051
+ * 10
3052
+ */
3053
+ pageSize?: number;
3054
+ records?: GetLibraryListResponseBodyDataRecords[];
3055
+ /**
3056
+ * @example
3057
+ * 10
3058
+ */
3059
+ totalPages?: number;
3060
+ /**
3061
+ * @example
3062
+ * 100
3063
+ */
3064
+ totalRecords?: number;
3065
+ static names(): {
3066
+ [key: string]: string;
3067
+ };
3068
+ static types(): {
3069
+ [key: string]: any;
3070
+ };
3071
+ constructor(map?: {
3072
+ [key: string]: any;
3073
+ });
3074
+ }
3075
+ export declare class GetParseResultResponseBodyData extends $tea.Model {
3076
+ /**
3077
+ * @example
3078
+ * pdf
3079
+ */
3080
+ fileType?: string;
3081
+ /**
3082
+ * @example
3083
+ * null
3084
+ */
3085
+ providerType?: string;
3086
+ /**
3087
+ * @example
3088
+ * b0a202e2-5031-4589-a6d7-39185f0d8d01
3089
+ */
3090
+ requestId?: string;
3091
+ /**
3092
+ * @example
3093
+ * {
3094
+ * "Status": "Success",
3095
+ * "Data": {},
3096
+ * "Message": null,
3097
+ * "TaskId": "docmind-20240601-123abc"
3098
+ * }
3099
+ */
3100
+ result?: {
3101
+ [key: string]: any;
3102
+ };
3103
+ /**
3104
+ * @example
3105
+ * WaitRefresh
3106
+ */
3107
+ status?: string;
3108
+ static names(): {
3109
+ [key: string]: string;
3110
+ };
3111
+ static types(): {
3112
+ [key: string]: any;
3113
+ };
3114
+ constructor(map?: {
3115
+ [key: string]: any;
3116
+ });
3117
+ }
3118
+ export declare class PreviewDocumentResponseBodyData extends $tea.Model {
3119
+ /**
3120
+ * @example
3121
+ * pdf
3122
+ */
3123
+ previewType?: string;
3124
+ /**
3125
+ * @example
3126
+ * test
3127
+ */
3128
+ title?: string;
3129
+ /**
3130
+ * @example
3131
+ * 2024-01-01 00:00:00
3132
+ */
3133
+ uploadTime?: string;
3134
+ /**
3135
+ * @example
3136
+ * https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png
3137
+ */
3138
+ url?: string;
3139
+ static names(): {
3140
+ [key: string]: string;
3141
+ };
3142
+ static types(): {
3143
+ [key: string]: any;
3144
+ };
3145
+ constructor(map?: {
3146
+ [key: string]: any;
3147
+ });
3148
+ }
3149
+ export declare class RecallDocumentRequestFiltersAnd extends $tea.Model {
3150
+ /**
3151
+ * @example
3152
+ * 20
3153
+ */
3154
+ boost?: number;
3155
+ /**
3156
+ * @example
3157
+ * docType
3158
+ */
3159
+ key?: string;
3160
+ /**
3161
+ * @example
3162
+ * contains
3163
+ */
3164
+ operator?: string;
3165
+ value?: string;
3166
+ static names(): {
3167
+ [key: string]: string;
3168
+ };
3169
+ static types(): {
3170
+ [key: string]: any;
3171
+ };
3172
+ constructor(map?: {
3173
+ [key: string]: any;
3174
+ });
3175
+ }
3176
+ export declare class RecallDocumentRequestFiltersOr extends $tea.Model {
3177
+ /**
3178
+ * @example
3179
+ * 30
3180
+ */
3181
+ boost?: number;
3182
+ /**
3183
+ * @example
3184
+ * researcher
3185
+ */
3186
+ key?: string;
3187
+ /**
3188
+ * @example
3189
+ * eq
3190
+ */
3191
+ operator?: string;
3192
+ /**
3193
+ * @example
3194
+ * zhangsan
3195
+ */
3196
+ value?: string;
3197
+ static names(): {
3198
+ [key: string]: string;
3199
+ };
3200
+ static types(): {
3201
+ [key: string]: any;
3202
+ };
3203
+ constructor(map?: {
3204
+ [key: string]: any;
3205
+ });
3206
+ }
3207
+ export declare class RecallDocumentRequestFilters extends $tea.Model {
3208
+ and?: RecallDocumentRequestFiltersAnd[];
3209
+ /**
3210
+ * @example
3211
+ * Text
3212
+ */
3213
+ chunkType?: string;
3214
+ docIdList?: string[];
3215
+ /**
3216
+ * @remarks
3217
+ * This parameter is required.
3218
+ *
3219
+ * @example
3220
+ * sdbjhvs
3221
+ */
3222
+ libraryId?: string;
3223
+ or?: RecallDocumentRequestFiltersOr[];
3224
+ status?: string[];
3225
+ static names(): {
3226
+ [key: string]: string;
3227
+ };
3228
+ static types(): {
3229
+ [key: string]: any;
3230
+ };
3231
+ constructor(map?: {
3232
+ [key: string]: any;
3233
+ });
3234
+ }
3235
+ export declare class RecallDocumentResponseBodyDataChunkListPos extends $tea.Model {
3236
+ axisArray?: number[];
3237
+ /**
3238
+ * @example
3239
+ * 1
3240
+ */
3241
+ page?: number;
3242
+ textHighlightArea?: number[];
3243
+ static names(): {
3244
+ [key: string]: string;
3245
+ };
3246
+ static types(): {
3247
+ [key: string]: any;
3248
+ };
3249
+ constructor(map?: {
3250
+ [key: string]: any;
3251
+ });
3252
+ }
3253
+ export declare class RecallDocumentResponseBodyDataChunkList extends $tea.Model {
3254
+ /**
3255
+ * @example
3256
+ * 823746762354
3257
+ */
3258
+ chunkId?: string;
3259
+ /**
3260
+ * @example
3261
+ * {"a":"1"}
3262
+ */
3263
+ chunkMeta?: {
3264
+ [key: string]: any;
3265
+ };
3266
+ /**
3267
+ * @example
3268
+ * http://oss-xxx-hangzhou.com/xxx
3269
+ */
3270
+ chunkOssUrl?: string;
3271
+ chunkText?: string;
3272
+ /**
3273
+ * @example
3274
+ * text
3275
+ */
3276
+ chunkType?: string;
3277
+ /**
3278
+ * @example
3279
+ * 839468263472
3280
+ */
3281
+ docId?: string;
3282
+ /**
3283
+ * @example
3284
+ * pdf
3285
+ */
3286
+ fileType?: string;
3287
+ /**
3288
+ * @example
3289
+ * dscsbdsk
3290
+ */
3291
+ libraryId?: string;
3292
+ libraryName?: string;
3293
+ /**
3294
+ * @example
3295
+ * 982374872364
3296
+ */
3297
+ nextChunkId?: string;
3298
+ pos?: RecallDocumentResponseBodyDataChunkListPos[];
3299
+ /**
3300
+ * @example
3301
+ * 827364827364832
3302
+ */
3303
+ preChunkId?: string;
3304
+ /**
3305
+ * @example
3306
+ * 0.5
3307
+ */
3308
+ score?: number;
3309
+ /**
3310
+ * @example
3311
+ * test
3312
+ */
3313
+ title?: string;
3314
+ static names(): {
3315
+ [key: string]: string;
3316
+ };
3317
+ static types(): {
3318
+ [key: string]: any;
3319
+ };
3320
+ constructor(map?: {
3321
+ [key: string]: any;
3322
+ });
3323
+ }
3324
+ export declare class RecallDocumentResponseBodyDataChunkPartListPos extends $tea.Model {
3325
+ axisArray?: number[];
3326
+ /**
3327
+ * @example
3328
+ * 1
3329
+ */
3330
+ page?: number;
3331
+ textHighlightArea?: number[];
3332
+ static names(): {
3333
+ [key: string]: string;
3334
+ };
3335
+ static types(): {
3336
+ [key: string]: any;
3337
+ };
3338
+ constructor(map?: {
3339
+ [key: string]: any;
3340
+ });
3341
+ }
3342
+ export declare class RecallDocumentResponseBodyDataChunkPartList extends $tea.Model {
3343
+ /**
3344
+ * @example
3345
+ * 98327482364
3346
+ */
3347
+ chunkId?: string;
3348
+ /**
3349
+ * @example
3350
+ * {"a":"1"}
3351
+ */
3352
+ chunkMeta?: {
3353
+ [key: string]: any;
3354
+ };
3355
+ /**
3356
+ * @example
3357
+ * http://oss-xxx-hangzhou.com/xxx
3358
+ */
3359
+ chunkOssUrl?: string;
3360
+ chunkText?: string;
3361
+ /**
3362
+ * @example
3363
+ * text
3364
+ */
3365
+ chunkType?: string;
3366
+ /**
3367
+ * @example
3368
+ * 92837482364
3369
+ */
3370
+ docId?: string;
3371
+ /**
3372
+ * @example
3373
+ * pdf
3374
+ */
3375
+ fileType?: string;
3376
+ /**
3377
+ * @example
3378
+ * sjdhgjsd
3379
+ */
3380
+ libraryId?: string;
3381
+ libraryName?: string;
3382
+ /**
3383
+ * @example
3384
+ * 2387648263542
3385
+ */
3386
+ nextChunkId?: string;
3387
+ pos?: RecallDocumentResponseBodyDataChunkPartListPos[];
3388
+ /**
3389
+ * @example
3390
+ * 32874682764
3391
+ */
3392
+ preChunkId?: string;
3393
+ /**
3394
+ * @example
3395
+ * 0.5
3396
+ */
3397
+ score?: number;
3398
+ title?: string;
3399
+ static names(): {
3400
+ [key: string]: string;
3401
+ };
3402
+ static types(): {
3403
+ [key: string]: any;
3404
+ };
3405
+ constructor(map?: {
3406
+ [key: string]: any;
3407
+ });
3408
+ }
3409
+ export declare class RecallDocumentResponseBodyDataDocuments extends $tea.Model {
3410
+ /**
3411
+ * @example
3412
+ * 92837482364
3413
+ */
3414
+ docId?: string;
3415
+ /**
3416
+ * @example
3417
+ * {"a":"1"}
3418
+ */
3419
+ documentMeta?: {
3420
+ [key: string]: any;
3421
+ };
3422
+ /**
3423
+ * @example
3424
+ * pdf
3425
+ */
3426
+ fileType?: string;
3427
+ /**
3428
+ * @example
3429
+ * 2024-01-01 00:00:00
3430
+ */
3431
+ gmtCreate?: string;
3432
+ /**
3433
+ * @example
3434
+ * sjdhgjsd
3435
+ */
3436
+ libraryId?: string;
3437
+ /**
3438
+ * @example
3439
+ * test
3440
+ */
3441
+ title?: string;
3442
+ /**
3443
+ * @example
3444
+ * http://oss-xxx-hangzhou.com/test.pdf
3445
+ */
3446
+ url?: string;
3447
+ static names(): {
3448
+ [key: string]: string;
3449
+ };
3450
+ static types(): {
3451
+ [key: string]: any;
3452
+ };
3453
+ constructor(map?: {
3454
+ [key: string]: any;
3455
+ });
3456
+ }
3457
+ export declare class RecallDocumentResponseBodyDataTextChunkListPos extends $tea.Model {
3458
+ axisArray?: number[];
3459
+ /**
3460
+ * @example
3461
+ * 1
3462
+ */
3463
+ page?: number;
3464
+ textHighlightArea?: number[];
3465
+ static names(): {
3466
+ [key: string]: string;
3467
+ };
3468
+ static types(): {
3469
+ [key: string]: any;
3470
+ };
3471
+ constructor(map?: {
3472
+ [key: string]: any;
3473
+ });
3474
+ }
3475
+ export declare class RecallDocumentResponseBodyDataTextChunkList extends $tea.Model {
3476
+ /**
3477
+ * @example
3478
+ * 32874682364
3479
+ */
3480
+ chunkId?: string;
3481
+ /**
3482
+ * @example
3483
+ * {"a":"1"}
3484
+ */
3485
+ chunkMeta?: {
3486
+ [key: string]: any;
3487
+ };
3488
+ /**
3489
+ * @example
3490
+ * http://oss-xxx-hangzhou.com/xxx
3491
+ */
3492
+ chunkOssUrl?: string;
3493
+ chunkText?: string;
3494
+ /**
3495
+ * @example
3496
+ * text
3497
+ */
3498
+ chunkType?: string;
3499
+ /**
3500
+ * @example
3501
+ * 8372467263542
3502
+ */
3503
+ docId?: string;
3504
+ /**
3505
+ * @example
3506
+ * pdf
3507
+ */
3508
+ fileType?: string;
3509
+ /**
3510
+ * @example
3511
+ * djsgfsjd
3512
+ */
3513
+ libraryId?: string;
3514
+ libraryName?: string;
3515
+ /**
3516
+ * @example
3517
+ * 23874682432
3518
+ */
3519
+ nextChunkId?: string;
3520
+ pos?: RecallDocumentResponseBodyDataTextChunkListPos[];
3521
+ /**
3522
+ * @example
3523
+ * 89473868346
3524
+ */
3525
+ preChunkId?: string;
3526
+ /**
3527
+ * @example
3528
+ * 0.5
3529
+ */
3530
+ score?: number;
3531
+ title?: string;
3532
+ static names(): {
3533
+ [key: string]: string;
3534
+ };
3535
+ static types(): {
3536
+ [key: string]: any;
3537
+ };
3538
+ constructor(map?: {
3539
+ [key: string]: any;
3540
+ });
3541
+ }
3542
+ export declare class RecallDocumentResponseBodyDataVectorChunkListPos extends $tea.Model {
3543
+ axisArray?: number[];
3544
+ /**
3545
+ * @example
3546
+ * 1
3547
+ */
3548
+ page?: number;
3549
+ textHighlightArea?: number[];
3550
+ static names(): {
3551
+ [key: string]: string;
3552
+ };
3553
+ static types(): {
3554
+ [key: string]: any;
3555
+ };
3556
+ constructor(map?: {
3557
+ [key: string]: any;
3558
+ });
3559
+ }
3560
+ export declare class RecallDocumentResponseBodyDataVectorChunkList extends $tea.Model {
3561
+ /**
3562
+ * @example
3563
+ * 8723642345276
3564
+ */
3565
+ chunkId?: string;
3566
+ /**
3567
+ * @example
3568
+ * {"a":"1"}
3569
+ */
3570
+ chunkMeta?: {
3571
+ [key: string]: any;
3572
+ };
3573
+ /**
3574
+ * @example
3575
+ * https://oss-xxxx-hangzhou.com/test.pdf
3576
+ */
3577
+ chunkOssUrl?: string;
3578
+ chunkText?: string;
3579
+ /**
3580
+ * @example
3581
+ * text
3582
+ */
3583
+ chunkType?: string;
3584
+ /**
3585
+ * @example
3586
+ * 78326476235675372
3587
+ */
3588
+ docId?: string;
3589
+ /**
3590
+ * @example
3591
+ * pdf
3592
+ */
3593
+ fileType?: string;
3594
+ /**
3595
+ * @example
3596
+ * djsgfsjd
3597
+ */
3598
+ libraryId?: string;
3599
+ libraryName?: string;
3600
+ /**
3601
+ * @example
3602
+ * 293846872343
3603
+ */
3604
+ nextChunkId?: string;
3605
+ pos?: RecallDocumentResponseBodyDataVectorChunkListPos[];
3606
+ /**
3607
+ * @example
3608
+ * 873647326542
3609
+ */
3610
+ preChunkId?: string;
3611
+ /**
3612
+ * @example
3613
+ * 0.5
3614
+ */
3615
+ score?: number;
3616
+ /**
3617
+ * @example
3618
+ * test
3619
+ */
3620
+ title?: string;
3621
+ static names(): {
3622
+ [key: string]: string;
3623
+ };
3624
+ static types(): {
3625
+ [key: string]: any;
3626
+ };
3627
+ constructor(map?: {
3628
+ [key: string]: any;
3629
+ });
3630
+ }
3631
+ export declare class RecallDocumentResponseBodyData extends $tea.Model {
3632
+ chunkList?: RecallDocumentResponseBodyDataChunkList[];
3633
+ chunkPartList?: RecallDocumentResponseBodyDataChunkPartList[];
3634
+ chunkTextList?: string[];
3635
+ documents?: RecallDocumentResponseBodyDataDocuments[];
3636
+ /**
3637
+ * @example
3638
+ * 100
3639
+ */
3640
+ embeddingElapsedMs?: number;
3641
+ textChunkList?: RecallDocumentResponseBodyDataTextChunkList[];
3642
+ /**
3643
+ * @example
3644
+ * 100
3645
+ */
3646
+ textSearchElapsedMs?: number;
3647
+ /**
3648
+ * @example
3649
+ * 400
3650
+ */
3651
+ totalElapsedMs?: number;
3652
+ vectorChunkList?: RecallDocumentResponseBodyDataVectorChunkList[];
3653
+ /**
3654
+ * @example
3655
+ * 100
3656
+ */
3657
+ vectorSearchElapsedMs?: number;
3658
+ static names(): {
3659
+ [key: string]: string;
3660
+ };
3661
+ static types(): {
3662
+ [key: string]: any;
3663
+ };
3664
+ constructor(map?: {
3665
+ [key: string]: any;
3666
+ });
3667
+ }
3668
+ export declare class RunChatResultGenerationRequestMessages extends $tea.Model {
3669
+ content?: string;
3670
+ /**
3671
+ * @example
3672
+ * user
3673
+ */
3674
+ role?: string;
3675
+ static names(): {
3676
+ [key: string]: string;
3677
+ };
3678
+ static types(): {
3679
+ [key: string]: any;
3680
+ };
3681
+ constructor(map?: {
3682
+ [key: string]: any;
3683
+ });
3684
+ }
3685
+ export declare class RunChatResultGenerationRequestToolsFunctionParameters extends $tea.Model {
3686
+ /**
3687
+ * @example
3688
+ * {
3689
+ * "location": {
3690
+ * "type": "string",
3691
+ * "description": "The city and state, e.g. San Francisco, CA"
3692
+ * },
3693
+ * "unit": {
3694
+ * "type": "string",
3695
+ * "enum": [
3696
+ * "celsius",
3697
+ * "fahrenheit"
3698
+ * ]
3699
+ * }
3700
+ * }
3701
+ */
3702
+ properties?: {
3703
+ [key: string]: any;
3704
+ };
3705
+ /**
3706
+ * @example
3707
+ * object
3708
+ */
3709
+ type?: string;
3710
+ static names(): {
3711
+ [key: string]: string;
3712
+ };
3713
+ static types(): {
3714
+ [key: string]: any;
3715
+ };
3716
+ constructor(map?: {
3717
+ [key: string]: any;
3718
+ });
3719
+ }
3720
+ export declare class RunChatResultGenerationRequestToolsFunction extends $tea.Model {
3721
+ description?: string;
3722
+ /**
3723
+ * @example
3724
+ * get_time
3725
+ */
3726
+ name?: string;
3727
+ parameters?: RunChatResultGenerationRequestToolsFunctionParameters;
3728
+ required?: string[];
3729
+ static names(): {
3730
+ [key: string]: string;
3731
+ };
3732
+ static types(): {
3733
+ [key: string]: any;
3734
+ };
3735
+ constructor(map?: {
3736
+ [key: string]: any;
3737
+ });
3738
+ }
3739
+ export declare class RunChatResultGenerationRequestTools extends $tea.Model {
3740
+ function?: RunChatResultGenerationRequestToolsFunction;
3741
+ /**
3742
+ * @example
3743
+ * function
3744
+ */
3745
+ type?: string;
3746
+ static names(): {
3747
+ [key: string]: string;
3748
+ };
3749
+ static types(): {
3750
+ [key: string]: any;
3751
+ };
3752
+ constructor(map?: {
3753
+ [key: string]: any;
3754
+ });
3755
+ }
3756
+ export declare class RunChatResultGenerationResponseBodyChoicesMessage extends $tea.Model {
3757
+ content?: string;
3758
+ /**
3759
+ * @example
3760
+ * user
3761
+ */
3762
+ role?: string;
3763
+ toolCalls?: {
3764
+ [key: string]: any;
3765
+ }[];
3766
+ static names(): {
3767
+ [key: string]: string;
3768
+ };
3769
+ static types(): {
3770
+ [key: string]: any;
3771
+ };
3772
+ constructor(map?: {
3773
+ [key: string]: any;
3774
+ });
3775
+ }
3776
+ export declare class RunChatResultGenerationResponseBodyChoices extends $tea.Model {
3777
+ /**
3778
+ * @example
3779
+ * null
3780
+ */
3781
+ finishReason?: string;
3782
+ /**
3783
+ * @example
3784
+ * 0
3785
+ */
3786
+ index?: number;
3787
+ message?: RunChatResultGenerationResponseBodyChoicesMessage;
3788
+ static names(): {
3789
+ [key: string]: string;
3790
+ };
3791
+ static types(): {
3792
+ [key: string]: any;
3793
+ };
3794
+ constructor(map?: {
3795
+ [key: string]: any;
3796
+ });
3797
+ }
3798
+ export declare class RunChatResultGenerationResponseBodyUsage extends $tea.Model {
3799
+ /**
3800
+ * @example
3801
+ * 0
3802
+ */
3803
+ imageCount?: number;
3804
+ /**
3805
+ * @example
3806
+ * 0
3807
+ */
3808
+ imageTokens?: number;
3809
+ /**
3810
+ * @example
3811
+ * 200
3812
+ */
3813
+ inputTokens?: number;
3814
+ /**
3815
+ * @example
3816
+ * 300
3817
+ */
3818
+ outputTokens?: number;
3819
+ /**
3820
+ * @example
3821
+ * 500
3822
+ */
3823
+ totalTokens?: number;
3824
+ static names(): {
3825
+ [key: string]: string;
3826
+ };
3827
+ static types(): {
3828
+ [key: string]: any;
3829
+ };
3830
+ constructor(map?: {
3831
+ [key: string]: any;
3832
+ });
3833
+ }
3834
+ export declare class UpdateLibraryRequestIndexSettingChunkStrategy extends $tea.Model {
3835
+ /**
3836
+ * @example
3837
+ * true
3838
+ */
3839
+ docTreeSplit?: boolean;
3840
+ /**
3841
+ * @example
3842
+ * 160
3843
+ */
3844
+ docTreeSplitSize?: number;
3845
+ /**
3846
+ * @example
3847
+ * true
3848
+ */
3849
+ enhanceGraph?: boolean;
3850
+ /**
3851
+ * @example
3852
+ * true
3853
+ */
3854
+ enhanceTable?: boolean;
3855
+ /**
3856
+ * @example
3857
+ * 20
3858
+ */
3859
+ overlap?: number;
3860
+ /**
3861
+ * @example
3862
+ * true
3863
+ */
3864
+ sentenceSplit?: boolean;
3865
+ /**
3866
+ * @example
3867
+ * 160
3868
+ */
3869
+ sentenceSplitSize?: number;
3870
+ /**
3871
+ * @example
3872
+ * 256
3873
+ */
3874
+ size?: number;
3875
+ /**
3876
+ * @example
3877
+ * true
3878
+ */
3879
+ split?: boolean;
3880
+ static names(): {
3881
+ [key: string]: string;
3882
+ };
3883
+ static types(): {
3884
+ [key: string]: any;
3885
+ };
3886
+ constructor(map?: {
3887
+ [key: string]: any;
3888
+ });
3889
+ }
3890
+ export declare class UpdateLibraryRequestIndexSettingModelConfig extends $tea.Model {
3891
+ /**
3892
+ * @example
3893
+ * 0.8
3894
+ */
3895
+ temperature?: number;
3896
+ /**
3897
+ * @remarks
3898
+ * topP
3899
+ *
3900
+ * @example
3901
+ * 0.8
3902
+ */
3903
+ topP?: number;
3904
+ static names(): {
3905
+ [key: string]: string;
3906
+ };
3907
+ static types(): {
3908
+ [key: string]: any;
3909
+ };
3910
+ constructor(map?: {
3911
+ [key: string]: any;
3912
+ });
3913
+ }
3914
+ export declare class UpdateLibraryRequestIndexSettingQueryEnhancer extends $tea.Model {
3915
+ /**
3916
+ * @example
3917
+ * true
3918
+ */
3919
+ enableFollowUp?: boolean;
3920
+ /**
3921
+ * @example
3922
+ * true
3923
+ */
3924
+ enableMultiQuery?: boolean;
3925
+ /**
3926
+ * @example
3927
+ * true
3928
+ */
3929
+ enableOpenQa?: boolean;
3930
+ /**
3931
+ * @example
3932
+ * true
3933
+ */
3934
+ enableQueryRewrite?: boolean;
3935
+ /**
3936
+ * @example
3937
+ * true
3938
+ */
3939
+ enableSession?: boolean;
3940
+ /**
3941
+ * @example
3942
+ * sjdhgfc
3943
+ */
3944
+ localKnowledgeId?: string;
3945
+ /**
3946
+ * @example
3947
+ * true
3948
+ */
3949
+ withDocumentReference?: boolean;
3950
+ static names(): {
3951
+ [key: string]: string;
3952
+ };
3953
+ static types(): {
3954
+ [key: string]: any;
3955
+ };
3956
+ constructor(map?: {
3957
+ [key: string]: any;
3958
+ });
3959
+ }
3960
+ export declare class UpdateLibraryRequestIndexSettingRecallStrategy extends $tea.Model {
3961
+ /**
3962
+ * @example
3963
+ * model
3964
+ */
3965
+ documentRankType?: string;
3966
+ /**
3967
+ * @example
3968
+ * 10
3969
+ */
3970
+ limit?: number;
3971
+ static names(): {
3972
+ [key: string]: string;
3973
+ };
3974
+ static types(): {
3975
+ [key: string]: any;
3976
+ };
3977
+ constructor(map?: {
3978
+ [key: string]: any;
3979
+ });
3980
+ }
3981
+ export declare class UpdateLibraryRequestIndexSettingTextIndexSetting extends $tea.Model {
3982
+ /**
3983
+ * @example
3984
+ * ElasticSearch
3985
+ */
3986
+ category?: string;
3987
+ /**
3988
+ * @example
3989
+ * true
3990
+ */
3991
+ enable?: boolean;
3992
+ /**
3993
+ * @example
3994
+ * Standard
3995
+ */
3996
+ indexAnalyzer?: string;
3997
+ /**
3998
+ * @example
3999
+ * 0.5
4000
+ */
4001
+ rankThreshold?: number;
4002
+ /**
4003
+ * @example
4004
+ * Standard
4005
+ */
4006
+ searchAnalyzer?: string;
4007
+ /**
4008
+ * @example
4009
+ * 50
4010
+ */
4011
+ topK?: number;
4012
+ static names(): {
4013
+ [key: string]: string;
4014
+ };
4015
+ static types(): {
4016
+ [key: string]: any;
4017
+ };
4018
+ constructor(map?: {
4019
+ [key: string]: any;
4020
+ });
4021
+ }
4022
+ export declare class UpdateLibraryRequestIndexSettingVectorIndexSetting extends $tea.Model {
4023
+ /**
4024
+ * @example
4025
+ * ADB
4026
+ */
4027
+ category?: string;
4028
+ /**
4029
+ * @example
4030
+ * DashScope
4031
+ */
4032
+ embeddingType?: string;
4033
+ /**
4034
+ * @example
4035
+ * true
4036
+ */
4037
+ enable?: boolean;
4038
+ /**
4039
+ * @example
4040
+ * 0.5
4041
+ */
4042
+ rankThreshold?: number;
4043
+ /**
4044
+ * @example
4045
+ * 10
4046
+ */
4047
+ topK?: number;
4048
+ static names(): {
4049
+ [key: string]: string;
4050
+ };
4051
+ static types(): {
4052
+ [key: string]: any;
4053
+ };
4054
+ constructor(map?: {
4055
+ [key: string]: any;
4056
+ });
4057
+ }
4058
+ export declare class UpdateLibraryRequestIndexSetting extends $tea.Model {
4059
+ chunkStrategy?: UpdateLibraryRequestIndexSettingChunkStrategy;
4060
+ modelConfig?: UpdateLibraryRequestIndexSettingModelConfig;
4061
+ promptRoleStyle?: string;
4062
+ queryEnhancer?: UpdateLibraryRequestIndexSettingQueryEnhancer;
4063
+ recallStrategy?: UpdateLibraryRequestIndexSettingRecallStrategy;
4064
+ textIndexSetting?: UpdateLibraryRequestIndexSettingTextIndexSetting;
4065
+ vectorIndexSetting?: UpdateLibraryRequestIndexSettingVectorIndexSetting;
4066
+ static names(): {
4067
+ [key: string]: string;
4068
+ };
4069
+ static types(): {
4070
+ [key: string]: any;
4071
+ };
4072
+ constructor(map?: {
4073
+ [key: string]: any;
4074
+ });
4075
+ }
4076
+ export default class Client extends OpenApi {
4077
+ constructor(config: $OpenApi.Config);
4078
+ getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
4079
+ [key: string]: string;
4080
+ }, endpoint: string): string;
4081
+ /**
4082
+ * 创建文档库
4083
+ *
4084
+ * @param request - CreateLibraryRequest
4085
+ * @param headers - map
4086
+ * @param runtime - runtime options for this request RuntimeOptions
4087
+ * @returns CreateLibraryResponse
4088
+ */
4089
+ createLibraryWithOptions(workspaceId: string, request: CreateLibraryRequest, headers: {
4090
+ [key: string]: string;
4091
+ }, runtime: $Util.RuntimeOptions): Promise<CreateLibraryResponse>;
4092
+ /**
4093
+ * 创建文档库
4094
+ *
4095
+ * @param request - CreateLibraryRequest
4096
+ * @returns CreateLibraryResponse
4097
+ */
4098
+ createLibrary(workspaceId: string, request: CreateLibraryRequest): Promise<CreateLibraryResponse>;
4099
+ /**
4100
+ * 创建预定义文档
4101
+ *
4102
+ * @param request - CreatePredefinedDocumentRequest
4103
+ * @param headers - map
4104
+ * @param runtime - runtime options for this request RuntimeOptions
4105
+ * @returns CreatePredefinedDocumentResponse
4106
+ */
4107
+ createPredefinedDocumentWithOptions(workspaceId: string, request: CreatePredefinedDocumentRequest, headers: {
4108
+ [key: string]: string;
4109
+ }, runtime: $Util.RuntimeOptions): Promise<CreatePredefinedDocumentResponse>;
4110
+ /**
4111
+ * 创建预定义文档
4112
+ *
4113
+ * @param request - CreatePredefinedDocumentRequest
4114
+ * @returns CreatePredefinedDocumentResponse
4115
+ */
4116
+ createPredefinedDocument(workspaceId: string, request: CreatePredefinedDocumentRequest): Promise<CreatePredefinedDocumentResponse>;
4117
+ /**
4118
+ * 删除文档
4119
+ *
4120
+ * @param request - DeleteDocumentRequest
4121
+ * @param headers - map
4122
+ * @param runtime - runtime options for this request RuntimeOptions
4123
+ * @returns DeleteDocumentResponse
4124
+ */
4125
+ deleteDocumentWithOptions(workspaceId: string, request: DeleteDocumentRequest, headers: {
4126
+ [key: string]: string;
4127
+ }, runtime: $Util.RuntimeOptions): Promise<DeleteDocumentResponse>;
4128
+ /**
4129
+ * 删除文档
4130
+ *
4131
+ * @param request - DeleteDocumentRequest
4132
+ * @returns DeleteDocumentResponse
4133
+ */
4134
+ deleteDocument(workspaceId: string, request: DeleteDocumentRequest): Promise<DeleteDocumentResponse>;
4135
+ /**
4136
+ * 删除文档库
4137
+ *
4138
+ * @param request - DeleteLibraryRequest
4139
+ * @param headers - map
4140
+ * @param runtime - runtime options for this request RuntimeOptions
4141
+ * @returns DeleteLibraryResponse
4142
+ */
4143
+ deleteLibraryWithOptions(workspaceId: string, request: DeleteLibraryRequest, headers: {
4144
+ [key: string]: string;
4145
+ }, runtime: $Util.RuntimeOptions): Promise<DeleteLibraryResponse>;
4146
+ /**
4147
+ * 删除文档库
4148
+ *
4149
+ * @param request - DeleteLibraryRequest
4150
+ * @returns DeleteLibraryResponse
4151
+ */
4152
+ deleteLibrary(workspaceId: string, request: DeleteLibraryRequest): Promise<DeleteLibraryResponse>;
4153
+ /**
4154
+ * 获取app配置
4155
+ *
4156
+ * @param headers - map
4157
+ * @param runtime - runtime options for this request RuntimeOptions
4158
+ * @returns GetAppConfigResponse
4159
+ */
4160
+ getAppConfigWithOptions(workspaceId: string, headers: {
4161
+ [key: string]: string;
4162
+ }, runtime: $Util.RuntimeOptions): Promise<GetAppConfigResponse>;
4163
+ /**
4164
+ * 获取app配置
4165
+ * @returns GetAppConfigResponse
4166
+ */
4167
+ getAppConfig(workspaceId: string): Promise<GetAppConfigResponse>;
4168
+ /**
4169
+ * 获取文档的chunk列表
4170
+ *
4171
+ * @param request - GetDocumentChunkListRequest
4172
+ * @param headers - map
4173
+ * @param runtime - runtime options for this request RuntimeOptions
4174
+ * @returns GetDocumentChunkListResponse
4175
+ */
4176
+ getDocumentChunkListWithOptions(workspaceId: string, request: GetDocumentChunkListRequest, headers: {
4177
+ [key: string]: string;
4178
+ }, runtime: $Util.RuntimeOptions): Promise<GetDocumentChunkListResponse>;
4179
+ /**
4180
+ * 获取文档的chunk列表
4181
+ *
4182
+ * @param request - GetDocumentChunkListRequest
4183
+ * @returns GetDocumentChunkListResponse
4184
+ */
4185
+ getDocumentChunkList(workspaceId: string, request: GetDocumentChunkListRequest): Promise<GetDocumentChunkListResponse>;
4186
+ /**
4187
+ * 分页查询文档库的文档列表
4188
+ *
4189
+ * @param request - GetDocumentListRequest
4190
+ * @param headers - map
4191
+ * @param runtime - runtime options for this request RuntimeOptions
4192
+ * @returns GetDocumentListResponse
4193
+ */
4194
+ getDocumentListWithOptions(workspaceId: string, request: GetDocumentListRequest, headers: {
4195
+ [key: string]: string;
4196
+ }, runtime: $Util.RuntimeOptions): Promise<GetDocumentListResponse>;
4197
+ /**
4198
+ * 分页查询文档库的文档列表
4199
+ *
4200
+ * @param request - GetDocumentListRequest
4201
+ * @returns GetDocumentListResponse
4202
+ */
4203
+ getDocumentList(workspaceId: string, request: GetDocumentListRequest): Promise<GetDocumentListResponse>;
4204
+ /**
4205
+ * 获取文档URL
4206
+ *
4207
+ * @param request - GetDocumentUrlRequest
4208
+ * @param headers - map
4209
+ * @param runtime - runtime options for this request RuntimeOptions
4210
+ * @returns GetDocumentUrlResponse
4211
+ */
4212
+ getDocumentUrlWithOptions(workspaceId: string, request: GetDocumentUrlRequest, headers: {
4213
+ [key: string]: string;
4214
+ }, runtime: $Util.RuntimeOptions): Promise<GetDocumentUrlResponse>;
4215
+ /**
4216
+ * 获取文档URL
4217
+ *
4218
+ * @param request - GetDocumentUrlRequest
4219
+ * @returns GetDocumentUrlResponse
4220
+ */
4221
+ getDocumentUrl(workspaceId: string, request: GetDocumentUrlRequest): Promise<GetDocumentUrlResponse>;
4222
+ /**
4223
+ * 带条件的分页查询文档库的文档列表
4224
+ *
4225
+ * @param request - GetFilterDocumentListRequest
4226
+ * @param headers - map
4227
+ * @param runtime - runtime options for this request RuntimeOptions
4228
+ * @returns GetFilterDocumentListResponse
4229
+ */
4230
+ getFilterDocumentListWithOptions(workspaceId: string, request: GetFilterDocumentListRequest, headers: {
4231
+ [key: string]: string;
4232
+ }, runtime: $Util.RuntimeOptions): Promise<GetFilterDocumentListResponse>;
4233
+ /**
4234
+ * 带条件的分页查询文档库的文档列表
4235
+ *
4236
+ * @param request - GetFilterDocumentListRequest
4237
+ * @returns GetFilterDocumentListResponse
4238
+ */
4239
+ getFilterDocumentList(workspaceId: string, request: GetFilterDocumentListRequest): Promise<GetFilterDocumentListResponse>;
4240
+ /**
4241
+ * 获取文档库配置详情
4242
+ *
4243
+ * @param request - GetLibraryRequest
4244
+ * @param headers - map
4245
+ * @param runtime - runtime options for this request RuntimeOptions
4246
+ * @returns GetLibraryResponse
4247
+ */
4248
+ getLibraryWithOptions(workspaceId: string, request: GetLibraryRequest, headers: {
4249
+ [key: string]: string;
4250
+ }, runtime: $Util.RuntimeOptions): Promise<GetLibraryResponse>;
4251
+ /**
4252
+ * 获取文档库配置详情
4253
+ *
4254
+ * @param request - GetLibraryRequest
4255
+ * @returns GetLibraryResponse
4256
+ */
4257
+ getLibrary(workspaceId: string, request: GetLibraryRequest): Promise<GetLibraryResponse>;
4258
+ /**
4259
+ * 分页查询文档库列表
4260
+ *
4261
+ * @param request - GetLibraryListRequest
4262
+ * @param headers - map
4263
+ * @param runtime - runtime options for this request RuntimeOptions
4264
+ * @returns GetLibraryListResponse
4265
+ */
4266
+ getLibraryListWithOptions(workspaceId: string, request: GetLibraryListRequest, headers: {
4267
+ [key: string]: string;
4268
+ }, runtime: $Util.RuntimeOptions): Promise<GetLibraryListResponse>;
4269
+ /**
4270
+ * 分页查询文档库列表
4271
+ *
4272
+ * @param request - GetLibraryListRequest
4273
+ * @returns GetLibraryListResponse
4274
+ */
4275
+ getLibraryList(workspaceId: string, request: GetLibraryListRequest): Promise<GetLibraryListResponse>;
4276
+ /**
4277
+ * 获取解析结果
4278
+ *
4279
+ * @param request - GetParseResultRequest
4280
+ * @param headers - map
4281
+ * @param runtime - runtime options for this request RuntimeOptions
4282
+ * @returns GetParseResultResponse
4283
+ */
4284
+ getParseResultWithOptions(workspaceId: string, request: GetParseResultRequest, headers: {
4285
+ [key: string]: string;
4286
+ }, runtime: $Util.RuntimeOptions): Promise<GetParseResultResponse>;
4287
+ /**
4288
+ * 获取解析结果
4289
+ *
4290
+ * @param request - GetParseResultRequest
4291
+ * @returns GetParseResultResponse
4292
+ */
4293
+ getParseResult(workspaceId: string, request: GetParseResultRequest): Promise<GetParseResultResponse>;
4294
+ /**
4295
+ * 插件调试接口
4296
+ *
4297
+ * @param request - InvokePluginRequest
4298
+ * @param headers - map
4299
+ * @param runtime - runtime options for this request RuntimeOptions
4300
+ * @returns InvokePluginResponse
4301
+ */
4302
+ invokePluginWithOptions(workspaceId: string, request: InvokePluginRequest, headers: {
4303
+ [key: string]: string;
4304
+ }, runtime: $Util.RuntimeOptions): Promise<InvokePluginResponse>;
4305
+ /**
4306
+ * 插件调试接口
4307
+ *
4308
+ * @param request - InvokePluginRequest
4309
+ * @returns InvokePluginResponse
4310
+ */
4311
+ invokePlugin(workspaceId: string, request: InvokePluginRequest): Promise<InvokePluginResponse>;
4312
+ /**
4313
+ * 获取文档预览
4314
+ *
4315
+ * @param request - PreviewDocumentRequest
4316
+ * @param headers - map
4317
+ * @param runtime - runtime options for this request RuntimeOptions
4318
+ * @returns PreviewDocumentResponse
4319
+ */
4320
+ previewDocumentWithOptions(workspaceId: string, request: PreviewDocumentRequest, headers: {
4321
+ [key: string]: string;
4322
+ }, runtime: $Util.RuntimeOptions): Promise<PreviewDocumentResponse>;
4323
+ /**
4324
+ * 获取文档预览
4325
+ *
4326
+ * @param request - PreviewDocumentRequest
4327
+ * @returns PreviewDocumentResponse
4328
+ */
4329
+ previewDocument(workspaceId: string, request: PreviewDocumentRequest): Promise<PreviewDocumentResponse>;
4330
+ /**
4331
+ * 重新索引
4332
+ *
4333
+ * @param request - ReIndexRequest
4334
+ * @param headers - map
4335
+ * @param runtime - runtime options for this request RuntimeOptions
4336
+ * @returns ReIndexResponse
4337
+ */
4338
+ reIndexWithOptions(workspaceId: string, request: ReIndexRequest, headers: {
4339
+ [key: string]: string;
4340
+ }, runtime: $Util.RuntimeOptions): Promise<ReIndexResponse>;
4341
+ /**
4342
+ * 重新索引
4343
+ *
4344
+ * @param request - ReIndexRequest
4345
+ * @returns ReIndexResponse
4346
+ */
4347
+ reIndex(workspaceId: string, request: ReIndexRequest): Promise<ReIndexResponse>;
4348
+ /**
4349
+ * 文档召回
4350
+ *
4351
+ * @param request - RecallDocumentRequest
4352
+ * @param headers - map
4353
+ * @param runtime - runtime options for this request RuntimeOptions
4354
+ * @returns RecallDocumentResponse
4355
+ */
4356
+ recallDocumentWithOptions(workspaceId: string, request: RecallDocumentRequest, headers: {
4357
+ [key: string]: string;
4358
+ }, runtime: $Util.RuntimeOptions): Promise<RecallDocumentResponse>;
4359
+ /**
4360
+ * 文档召回
4361
+ *
4362
+ * @param request - RecallDocumentRequest
4363
+ * @returns RecallDocumentResponse
4364
+ */
4365
+ recallDocument(workspaceId: string, request: RecallDocumentRequest): Promise<RecallDocumentResponse>;
4366
+ /**
4367
+ * 获取生成式对话结果
4368
+ *
4369
+ * @param request - RunChatResultGenerationRequest
4370
+ * @param headers - map
4371
+ * @param runtime - runtime options for this request RuntimeOptions
4372
+ * @returns RunChatResultGenerationResponse
4373
+ */
4374
+ runChatResultGenerationWithOptions(workspaceId: string, request: RunChatResultGenerationRequest, headers: {
4375
+ [key: string]: string;
4376
+ }, runtime: $Util.RuntimeOptions): Promise<RunChatResultGenerationResponse>;
4377
+ /**
4378
+ * 获取生成式对话结果
4379
+ *
4380
+ * @param request - RunChatResultGenerationRequest
4381
+ * @returns RunChatResultGenerationResponse
4382
+ */
4383
+ runChatResultGeneration(workspaceId: string, request: RunChatResultGenerationRequest): Promise<RunChatResultGenerationResponse>;
4384
+ /**
4385
+ * 更新文档
4386
+ *
4387
+ * @param request - UpdateDocumentRequest
4388
+ * @param headers - map
4389
+ * @param runtime - runtime options for this request RuntimeOptions
4390
+ * @returns UpdateDocumentResponse
4391
+ */
4392
+ updateDocumentWithOptions(workspaceId: string, request: UpdateDocumentRequest, headers: {
4393
+ [key: string]: string;
4394
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateDocumentResponse>;
4395
+ /**
4396
+ * 更新文档
4397
+ *
4398
+ * @param request - UpdateDocumentRequest
4399
+ * @returns UpdateDocumentResponse
4400
+ */
4401
+ updateDocument(workspaceId: string, request: UpdateDocumentRequest): Promise<UpdateDocumentResponse>;
4402
+ /**
4403
+ * 更新文档库配置
4404
+ *
4405
+ * @param request - UpdateLibraryRequest
4406
+ * @param headers - map
4407
+ * @param runtime - runtime options for this request RuntimeOptions
4408
+ * @returns UpdateLibraryResponse
4409
+ */
4410
+ updateLibraryWithOptions(workspaceId: string, request: UpdateLibraryRequest, headers: {
4411
+ [key: string]: string;
4412
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateLibraryResponse>;
4413
+ /**
4414
+ * 更新文档库配置
4415
+ *
4416
+ * @param request - UpdateLibraryRequest
4417
+ * @returns UpdateLibraryResponse
4418
+ */
4419
+ updateLibrary(workspaceId: string, request: UpdateLibraryRequest): Promise<UpdateLibraryResponse>;
4420
+ /**
4421
+ * 上传文档到文档库
4422
+ *
4423
+ * @param request - UploadDocumentRequest
4424
+ * @param headers - map
4425
+ * @param runtime - runtime options for this request RuntimeOptions
4426
+ * @returns UploadDocumentResponse
4427
+ */
4428
+ uploadDocumentWithOptions(workspaceId: string, request: UploadDocumentRequest, headers: {
4429
+ [key: string]: string;
4430
+ }, runtime: $Util.RuntimeOptions): Promise<UploadDocumentResponse>;
4431
+ /**
4432
+ * 上传文档到文档库
4433
+ *
4434
+ * @param request - UploadDocumentRequest
4435
+ * @returns UploadDocumentResponse
4436
+ */
4437
+ uploadDocument(workspaceId: string, request: UploadDocumentRequest): Promise<UploadDocumentResponse>;
4438
+ uploadDocumentAdvance(workspaceId: string, request: UploadDocumentAdvanceRequest, headers: {
4439
+ [key: string]: string;
4440
+ }, runtime: $Util.RuntimeOptions): Promise<UploadDocumentResponse>;
4441
+ }