@alicloud/bailian20231229 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1012 -111
- package/dist/client.js +118 -111
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1048 -137
package/dist/client.d.ts
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
2
|
*/
|
|
4
3
|
import * as $Util from '@alicloud/tea-util';
|
|
5
4
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
5
|
import * as $tea from '@alicloud/tea-typescript';
|
|
7
6
|
export declare class AddFileRequest extends $tea.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3510024405
|
|
13
|
+
*/
|
|
8
14
|
categoryId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* This parameter is required.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 68abd1dea7b6404d8f7d7b9f7fbd332d.1716698936847
|
|
21
|
+
*/
|
|
9
22
|
leaseId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* This parameter is required.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* DASHSCOPE_DOCMIND
|
|
29
|
+
*/
|
|
10
30
|
parser?: string;
|
|
11
31
|
static names(): {
|
|
12
32
|
[key: string]: string;
|
|
@@ -19,11 +39,31 @@ export declare class AddFileRequest extends $tea.Model {
|
|
|
19
39
|
});
|
|
20
40
|
}
|
|
21
41
|
export declare class AddFileResponseBody extends $tea.Model {
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* DataCenter.FileTooLarge
|
|
45
|
+
*/
|
|
22
46
|
code?: string;
|
|
23
47
|
data?: AddFileResponseBodyData;
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* User not authorized to operate on the specified resource.
|
|
51
|
+
*/
|
|
24
52
|
message?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* 778C0B3B-xxxx-5FC1-A947-36EDD13606AB
|
|
56
|
+
*/
|
|
25
57
|
requestId?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* 200
|
|
61
|
+
*/
|
|
26
62
|
status?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @example
|
|
65
|
+
* true
|
|
66
|
+
*/
|
|
27
67
|
success?: string;
|
|
28
68
|
static names(): {
|
|
29
69
|
[key: string]: string;
|
|
@@ -52,8 +92,26 @@ export declare class AddFileResponse extends $tea.Model {
|
|
|
52
92
|
});
|
|
53
93
|
}
|
|
54
94
|
export declare class ApplyFileUploadLeaseRequest extends $tea.Model {
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* This parameter is required.
|
|
98
|
+
*/
|
|
55
99
|
fileName?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* This parameter is required.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* 19657c391f6c70bcea63c154d8606bb3
|
|
106
|
+
*/
|
|
56
107
|
md5?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* This parameter is required.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* 1000
|
|
114
|
+
*/
|
|
57
115
|
sizeInBytes?: string;
|
|
58
116
|
static names(): {
|
|
59
117
|
[key: string]: string;
|
|
@@ -66,11 +124,31 @@ export declare class ApplyFileUploadLeaseRequest extends $tea.Model {
|
|
|
66
124
|
});
|
|
67
125
|
}
|
|
68
126
|
export declare class ApplyFileUploadLeaseResponseBody extends $tea.Model {
|
|
127
|
+
/**
|
|
128
|
+
* @example
|
|
129
|
+
* DataCenter.FileTooLarge
|
|
130
|
+
*/
|
|
69
131
|
code?: string;
|
|
70
132
|
data?: ApplyFileUploadLeaseResponseBodyData;
|
|
133
|
+
/**
|
|
134
|
+
* @example
|
|
135
|
+
* User not authorized to operate on the specified resource
|
|
136
|
+
*/
|
|
71
137
|
message?: string;
|
|
138
|
+
/**
|
|
139
|
+
* @example
|
|
140
|
+
* 778C0B3B-xxxx-5FC1-A947-36EDD13606AB
|
|
141
|
+
*/
|
|
72
142
|
requestId?: string;
|
|
143
|
+
/**
|
|
144
|
+
* @example
|
|
145
|
+
* 200
|
|
146
|
+
*/
|
|
73
147
|
status?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @example
|
|
150
|
+
* true
|
|
151
|
+
*/
|
|
74
152
|
success?: boolean;
|
|
75
153
|
static names(): {
|
|
76
154
|
[key: string]: string;
|
|
@@ -100,20 +178,80 @@ export declare class ApplyFileUploadLeaseResponse extends $tea.Model {
|
|
|
100
178
|
}
|
|
101
179
|
export declare class CreateIndexRequest extends $tea.Model {
|
|
102
180
|
categoryIds?: string[];
|
|
181
|
+
/**
|
|
182
|
+
* @example
|
|
183
|
+
* 128
|
|
184
|
+
*/
|
|
103
185
|
chunkSize?: number;
|
|
104
186
|
columns?: CreateIndexRequestColumns[];
|
|
105
187
|
description?: string;
|
|
106
188
|
documentIds?: string[];
|
|
189
|
+
/**
|
|
190
|
+
* @example
|
|
191
|
+
* text-embedding-v2
|
|
192
|
+
*/
|
|
107
193
|
embeddingModelName?: string;
|
|
194
|
+
/**
|
|
195
|
+
* @remarks
|
|
196
|
+
* This parameter is required.
|
|
197
|
+
*/
|
|
108
198
|
name?: string;
|
|
199
|
+
/**
|
|
200
|
+
* @example
|
|
201
|
+
* 16
|
|
202
|
+
*/
|
|
109
203
|
overlapSize?: number;
|
|
204
|
+
/**
|
|
205
|
+
* @example
|
|
206
|
+
* 0.20
|
|
207
|
+
*/
|
|
110
208
|
rerankMinScore?: number;
|
|
209
|
+
/**
|
|
210
|
+
* @example
|
|
211
|
+
* gte-rerank-hybrid
|
|
212
|
+
*/
|
|
111
213
|
rerankModelName?: string;
|
|
214
|
+
/**
|
|
215
|
+
* @example
|
|
216
|
+
* ,
|
|
217
|
+
*/
|
|
112
218
|
separator?: string;
|
|
219
|
+
/**
|
|
220
|
+
* @example
|
|
221
|
+
* gp-bp321093j84
|
|
222
|
+
*/
|
|
113
223
|
sinkInstanceId?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @example
|
|
226
|
+
* cn-hangzhou
|
|
227
|
+
*/
|
|
114
228
|
sinkRegion?: string;
|
|
229
|
+
/**
|
|
230
|
+
* @remarks
|
|
231
|
+
* This parameter is required.
|
|
232
|
+
*
|
|
233
|
+
* @example
|
|
234
|
+
* DEFAULT
|
|
235
|
+
*/
|
|
115
236
|
sinkType?: string;
|
|
237
|
+
/**
|
|
238
|
+
* @remarks
|
|
239
|
+
* This parameter is required.
|
|
240
|
+
*
|
|
241
|
+
* @example
|
|
242
|
+
* DATA_CENTER_FILE
|
|
243
|
+
*
|
|
244
|
+
* **if can be null:**
|
|
245
|
+
* false
|
|
246
|
+
*/
|
|
116
247
|
sourceType?: string;
|
|
248
|
+
/**
|
|
249
|
+
* @remarks
|
|
250
|
+
* This parameter is required.
|
|
251
|
+
*
|
|
252
|
+
* @example
|
|
253
|
+
* structured
|
|
254
|
+
*/
|
|
117
255
|
structureType?: string;
|
|
118
256
|
static names(): {
|
|
119
257
|
[key: string]: string;
|
|
@@ -127,20 +265,80 @@ export declare class CreateIndexRequest extends $tea.Model {
|
|
|
127
265
|
}
|
|
128
266
|
export declare class CreateIndexShrinkRequest extends $tea.Model {
|
|
129
267
|
categoryIdsShrink?: string;
|
|
268
|
+
/**
|
|
269
|
+
* @example
|
|
270
|
+
* 128
|
|
271
|
+
*/
|
|
130
272
|
chunkSize?: number;
|
|
131
273
|
columnsShrink?: string;
|
|
132
274
|
description?: string;
|
|
133
275
|
documentIdsShrink?: string;
|
|
276
|
+
/**
|
|
277
|
+
* @example
|
|
278
|
+
* text-embedding-v2
|
|
279
|
+
*/
|
|
134
280
|
embeddingModelName?: string;
|
|
281
|
+
/**
|
|
282
|
+
* @remarks
|
|
283
|
+
* This parameter is required.
|
|
284
|
+
*/
|
|
135
285
|
name?: string;
|
|
286
|
+
/**
|
|
287
|
+
* @example
|
|
288
|
+
* 16
|
|
289
|
+
*/
|
|
136
290
|
overlapSize?: number;
|
|
291
|
+
/**
|
|
292
|
+
* @example
|
|
293
|
+
* 0.20
|
|
294
|
+
*/
|
|
137
295
|
rerankMinScore?: number;
|
|
296
|
+
/**
|
|
297
|
+
* @example
|
|
298
|
+
* gte-rerank-hybrid
|
|
299
|
+
*/
|
|
138
300
|
rerankModelName?: string;
|
|
301
|
+
/**
|
|
302
|
+
* @example
|
|
303
|
+
* ,
|
|
304
|
+
*/
|
|
139
305
|
separator?: string;
|
|
306
|
+
/**
|
|
307
|
+
* @example
|
|
308
|
+
* gp-bp321093j84
|
|
309
|
+
*/
|
|
140
310
|
sinkInstanceId?: string;
|
|
311
|
+
/**
|
|
312
|
+
* @example
|
|
313
|
+
* cn-hangzhou
|
|
314
|
+
*/
|
|
141
315
|
sinkRegion?: string;
|
|
316
|
+
/**
|
|
317
|
+
* @remarks
|
|
318
|
+
* This parameter is required.
|
|
319
|
+
*
|
|
320
|
+
* @example
|
|
321
|
+
* DEFAULT
|
|
322
|
+
*/
|
|
142
323
|
sinkType?: string;
|
|
324
|
+
/**
|
|
325
|
+
* @remarks
|
|
326
|
+
* This parameter is required.
|
|
327
|
+
*
|
|
328
|
+
* @example
|
|
329
|
+
* DATA_CENTER_FILE
|
|
330
|
+
*
|
|
331
|
+
* **if can be null:**
|
|
332
|
+
* false
|
|
333
|
+
*/
|
|
143
334
|
sourceType?: string;
|
|
335
|
+
/**
|
|
336
|
+
* @remarks
|
|
337
|
+
* This parameter is required.
|
|
338
|
+
*
|
|
339
|
+
* @example
|
|
340
|
+
* structured
|
|
341
|
+
*/
|
|
144
342
|
structureType?: string;
|
|
145
343
|
static names(): {
|
|
146
344
|
[key: string]: string;
|
|
@@ -153,11 +351,34 @@ export declare class CreateIndexShrinkRequest extends $tea.Model {
|
|
|
153
351
|
});
|
|
154
352
|
}
|
|
155
353
|
export declare class CreateIndexResponseBody extends $tea.Model {
|
|
354
|
+
/**
|
|
355
|
+
* @example
|
|
356
|
+
* Forbidden
|
|
357
|
+
*/
|
|
156
358
|
code?: string;
|
|
157
359
|
data?: CreateIndexResponseBodyData;
|
|
360
|
+
/**
|
|
361
|
+
* @example
|
|
362
|
+
* Invalid input, variable name is missing
|
|
363
|
+
*/
|
|
158
364
|
message?: string;
|
|
365
|
+
/**
|
|
366
|
+
* @remarks
|
|
367
|
+
* Id of the request
|
|
368
|
+
*
|
|
369
|
+
* @example
|
|
370
|
+
* 17204B98-7734-4F9A-8464-2446A84821CA
|
|
371
|
+
*/
|
|
159
372
|
requestId?: string;
|
|
373
|
+
/**
|
|
374
|
+
* @example
|
|
375
|
+
* 200
|
|
376
|
+
*/
|
|
160
377
|
status?: string;
|
|
378
|
+
/**
|
|
379
|
+
* @example
|
|
380
|
+
* true
|
|
381
|
+
*/
|
|
161
382
|
success?: boolean;
|
|
162
383
|
static names(): {
|
|
163
384
|
[key: string]: string;
|
|
@@ -186,11 +407,34 @@ export declare class CreateIndexResponse extends $tea.Model {
|
|
|
186
407
|
});
|
|
187
408
|
}
|
|
188
409
|
export declare class DeleteFileResponseBody extends $tea.Model {
|
|
410
|
+
/**
|
|
411
|
+
* @example
|
|
412
|
+
* InvalidParameter
|
|
413
|
+
*/
|
|
189
414
|
code?: string;
|
|
190
415
|
data?: DeleteFileResponseBodyData;
|
|
416
|
+
/**
|
|
417
|
+
* @example
|
|
418
|
+
* Current file status does not support delete.
|
|
419
|
+
*/
|
|
191
420
|
message?: string;
|
|
421
|
+
/**
|
|
422
|
+
* @remarks
|
|
423
|
+
* Id of the request
|
|
424
|
+
*
|
|
425
|
+
* @example
|
|
426
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
427
|
+
*/
|
|
192
428
|
requestId?: string;
|
|
429
|
+
/**
|
|
430
|
+
* @example
|
|
431
|
+
* 200
|
|
432
|
+
*/
|
|
193
433
|
status?: string;
|
|
434
|
+
/**
|
|
435
|
+
* @example
|
|
436
|
+
* true
|
|
437
|
+
*/
|
|
194
438
|
success?: boolean;
|
|
195
439
|
static names(): {
|
|
196
440
|
[key: string]: string;
|
|
@@ -219,6 +463,13 @@ export declare class DeleteFileResponse extends $tea.Model {
|
|
|
219
463
|
});
|
|
220
464
|
}
|
|
221
465
|
export declare class DeleteIndexRequest extends $tea.Model {
|
|
466
|
+
/**
|
|
467
|
+
* @remarks
|
|
468
|
+
* This parameter is required.
|
|
469
|
+
*
|
|
470
|
+
* @example
|
|
471
|
+
* f89ie0fj5a
|
|
472
|
+
*/
|
|
222
473
|
indexId?: string;
|
|
223
474
|
static names(): {
|
|
224
475
|
[key: string]: string;
|
|
@@ -231,10 +482,33 @@ export declare class DeleteIndexRequest extends $tea.Model {
|
|
|
231
482
|
});
|
|
232
483
|
}
|
|
233
484
|
export declare class DeleteIndexResponseBody extends $tea.Model {
|
|
485
|
+
/**
|
|
486
|
+
* @example
|
|
487
|
+
* Index.InvalidParameter
|
|
488
|
+
*/
|
|
234
489
|
code?: string;
|
|
490
|
+
/**
|
|
491
|
+
* @example
|
|
492
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
493
|
+
*/
|
|
235
494
|
message?: string;
|
|
495
|
+
/**
|
|
496
|
+
* @remarks
|
|
497
|
+
* Id of the request
|
|
498
|
+
*
|
|
499
|
+
* @example
|
|
500
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
501
|
+
*/
|
|
236
502
|
requestId?: string;
|
|
503
|
+
/**
|
|
504
|
+
* @example
|
|
505
|
+
* 200
|
|
506
|
+
*/
|
|
237
507
|
status?: string;
|
|
508
|
+
/**
|
|
509
|
+
* @example
|
|
510
|
+
* true
|
|
511
|
+
*/
|
|
238
512
|
success?: boolean;
|
|
239
513
|
static names(): {
|
|
240
514
|
[key: string]: string;
|
|
@@ -263,7 +537,18 @@ export declare class DeleteIndexResponse extends $tea.Model {
|
|
|
263
537
|
});
|
|
264
538
|
}
|
|
265
539
|
export declare class DeleteIndexDocumentRequest extends $tea.Model {
|
|
540
|
+
/**
|
|
541
|
+
* @remarks
|
|
542
|
+
* This parameter is required.
|
|
543
|
+
*/
|
|
266
544
|
documentIds?: string[];
|
|
545
|
+
/**
|
|
546
|
+
* @remarks
|
|
547
|
+
* This parameter is required.
|
|
548
|
+
*
|
|
549
|
+
* @example
|
|
550
|
+
* 79c0aly8zw
|
|
551
|
+
*/
|
|
267
552
|
indexId?: string;
|
|
268
553
|
static names(): {
|
|
269
554
|
[key: string]: string;
|
|
@@ -276,7 +561,18 @@ export declare class DeleteIndexDocumentRequest extends $tea.Model {
|
|
|
276
561
|
});
|
|
277
562
|
}
|
|
278
563
|
export declare class DeleteIndexDocumentShrinkRequest extends $tea.Model {
|
|
564
|
+
/**
|
|
565
|
+
* @remarks
|
|
566
|
+
* This parameter is required.
|
|
567
|
+
*/
|
|
279
568
|
documentIdsShrink?: string;
|
|
569
|
+
/**
|
|
570
|
+
* @remarks
|
|
571
|
+
* This parameter is required.
|
|
572
|
+
*
|
|
573
|
+
* @example
|
|
574
|
+
* 79c0aly8zw
|
|
575
|
+
*/
|
|
280
576
|
indexId?: string;
|
|
281
577
|
static names(): {
|
|
282
578
|
[key: string]: string;
|
|
@@ -289,11 +585,34 @@ export declare class DeleteIndexDocumentShrinkRequest extends $tea.Model {
|
|
|
289
585
|
});
|
|
290
586
|
}
|
|
291
587
|
export declare class DeleteIndexDocumentResponseBody extends $tea.Model {
|
|
588
|
+
/**
|
|
589
|
+
* @example
|
|
590
|
+
* Index.InvalidParameter
|
|
591
|
+
*/
|
|
292
592
|
code?: string;
|
|
293
593
|
data?: DeleteIndexDocumentResponseBodyData;
|
|
594
|
+
/**
|
|
595
|
+
* @example
|
|
596
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
597
|
+
*/
|
|
294
598
|
message?: string;
|
|
599
|
+
/**
|
|
600
|
+
* @remarks
|
|
601
|
+
* Id of the request
|
|
602
|
+
*
|
|
603
|
+
* @example
|
|
604
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
605
|
+
*/
|
|
295
606
|
requestId?: string;
|
|
607
|
+
/**
|
|
608
|
+
* @example
|
|
609
|
+
* 200
|
|
610
|
+
*/
|
|
296
611
|
status?: string;
|
|
612
|
+
/**
|
|
613
|
+
* @example
|
|
614
|
+
* true
|
|
615
|
+
*/
|
|
297
616
|
success?: boolean;
|
|
298
617
|
static names(): {
|
|
299
618
|
[key: string]: string;
|
|
@@ -322,11 +641,31 @@ export declare class DeleteIndexDocumentResponse extends $tea.Model {
|
|
|
322
641
|
});
|
|
323
642
|
}
|
|
324
643
|
export declare class DescribeFileResponseBody extends $tea.Model {
|
|
644
|
+
/**
|
|
645
|
+
* @example
|
|
646
|
+
* Success
|
|
647
|
+
*/
|
|
325
648
|
code?: string;
|
|
326
649
|
data?: DescribeFileResponseBodyData;
|
|
650
|
+
/**
|
|
651
|
+
* @example
|
|
652
|
+
* Requests throttling triggered.
|
|
653
|
+
*/
|
|
327
654
|
message?: string;
|
|
655
|
+
/**
|
|
656
|
+
* @example
|
|
657
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
658
|
+
*/
|
|
328
659
|
requestId?: string;
|
|
660
|
+
/**
|
|
661
|
+
* @example
|
|
662
|
+
* 200
|
|
663
|
+
*/
|
|
329
664
|
status?: string;
|
|
665
|
+
/**
|
|
666
|
+
* @example
|
|
667
|
+
* true
|
|
668
|
+
*/
|
|
330
669
|
success?: boolean;
|
|
331
670
|
static names(): {
|
|
332
671
|
[key: string]: string;
|
|
@@ -355,7 +694,21 @@ export declare class DescribeFileResponse extends $tea.Model {
|
|
|
355
694
|
});
|
|
356
695
|
}
|
|
357
696
|
export declare class GetIndexJobStatusRequest extends $tea.Model {
|
|
697
|
+
/**
|
|
698
|
+
* @remarks
|
|
699
|
+
* This parameter is required.
|
|
700
|
+
*
|
|
701
|
+
* @example
|
|
702
|
+
* 79c0aly8zw
|
|
703
|
+
*/
|
|
358
704
|
indexId?: string;
|
|
705
|
+
/**
|
|
706
|
+
* @remarks
|
|
707
|
+
* This parameter is required.
|
|
708
|
+
*
|
|
709
|
+
* @example
|
|
710
|
+
* 20230718xxxx-146c93bf
|
|
711
|
+
*/
|
|
359
712
|
jobId?: string;
|
|
360
713
|
static names(): {
|
|
361
714
|
[key: string]: string;
|
|
@@ -368,11 +721,31 @@ export declare class GetIndexJobStatusRequest extends $tea.Model {
|
|
|
368
721
|
});
|
|
369
722
|
}
|
|
370
723
|
export declare class GetIndexJobStatusResponseBody extends $tea.Model {
|
|
724
|
+
/**
|
|
725
|
+
* @example
|
|
726
|
+
* Index.Forbidden
|
|
727
|
+
*/
|
|
371
728
|
code?: string;
|
|
372
729
|
data?: GetIndexJobStatusResponseBodyData;
|
|
730
|
+
/**
|
|
731
|
+
* @example
|
|
732
|
+
* User not authorized to operate on the specified resource.
|
|
733
|
+
*/
|
|
373
734
|
message?: string;
|
|
735
|
+
/**
|
|
736
|
+
* @example
|
|
737
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
738
|
+
*/
|
|
374
739
|
requestId?: string;
|
|
740
|
+
/**
|
|
741
|
+
* @example
|
|
742
|
+
* 200
|
|
743
|
+
*/
|
|
375
744
|
status?: string;
|
|
745
|
+
/**
|
|
746
|
+
* @example
|
|
747
|
+
* true
|
|
748
|
+
*/
|
|
376
749
|
success?: boolean;
|
|
377
750
|
static names(): {
|
|
378
751
|
[key: string]: string;
|
|
@@ -402,9 +775,28 @@ export declare class GetIndexJobStatusResponse extends $tea.Model {
|
|
|
402
775
|
}
|
|
403
776
|
export declare class ListChunksRequest extends $tea.Model {
|
|
404
777
|
fields?: string[];
|
|
778
|
+
/**
|
|
779
|
+
* @example
|
|
780
|
+
* file_5f03dfea56da4050ab68d61871fc4cb3_10151493
|
|
781
|
+
*/
|
|
405
782
|
filed?: string;
|
|
783
|
+
/**
|
|
784
|
+
* @remarks
|
|
785
|
+
* This parameter is required.
|
|
786
|
+
*
|
|
787
|
+
* @example
|
|
788
|
+
* otoru9en4v
|
|
789
|
+
*/
|
|
406
790
|
indexId?: string;
|
|
791
|
+
/**
|
|
792
|
+
* @example
|
|
793
|
+
* 1
|
|
794
|
+
*/
|
|
407
795
|
pageNum?: number;
|
|
796
|
+
/**
|
|
797
|
+
* @example
|
|
798
|
+
* 10
|
|
799
|
+
*/
|
|
408
800
|
pageSize?: number;
|
|
409
801
|
static names(): {
|
|
410
802
|
[key: string]: string;
|
|
@@ -417,11 +809,34 @@ export declare class ListChunksRequest extends $tea.Model {
|
|
|
417
809
|
});
|
|
418
810
|
}
|
|
419
811
|
export declare class ListChunksResponseBody extends $tea.Model {
|
|
812
|
+
/**
|
|
813
|
+
* @example
|
|
814
|
+
* Index.InvalidParameter
|
|
815
|
+
*/
|
|
420
816
|
code?: string;
|
|
421
817
|
data?: ListChunksResponseBodyData;
|
|
818
|
+
/**
|
|
819
|
+
* @example
|
|
820
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
821
|
+
*/
|
|
422
822
|
message?: string;
|
|
823
|
+
/**
|
|
824
|
+
* @remarks
|
|
825
|
+
* Id of the request
|
|
826
|
+
*
|
|
827
|
+
* @example
|
|
828
|
+
* 8F97A63B-55F1-527F-9D6E-467B6A7E8CF1
|
|
829
|
+
*/
|
|
423
830
|
requestId?: string;
|
|
831
|
+
/**
|
|
832
|
+
* @example
|
|
833
|
+
* 200
|
|
834
|
+
*/
|
|
424
835
|
status?: string;
|
|
836
|
+
/**
|
|
837
|
+
* @example
|
|
838
|
+
* true
|
|
839
|
+
*/
|
|
425
840
|
success?: boolean;
|
|
426
841
|
static names(): {
|
|
427
842
|
[key: string]: string;
|
|
@@ -451,9 +866,28 @@ export declare class ListChunksResponse extends $tea.Model {
|
|
|
451
866
|
}
|
|
452
867
|
export declare class ListIndexDocumentsRequest extends $tea.Model {
|
|
453
868
|
documentName?: string;
|
|
869
|
+
/**
|
|
870
|
+
* @example
|
|
871
|
+
* FINISH
|
|
872
|
+
*/
|
|
454
873
|
documentStatus?: string;
|
|
874
|
+
/**
|
|
875
|
+
* @remarks
|
|
876
|
+
* This parameter is required.
|
|
877
|
+
*
|
|
878
|
+
* @example
|
|
879
|
+
* 79c0aly8zw
|
|
880
|
+
*/
|
|
455
881
|
indexId?: string;
|
|
882
|
+
/**
|
|
883
|
+
* @example
|
|
884
|
+
* 1
|
|
885
|
+
*/
|
|
456
886
|
pageNumber?: number;
|
|
887
|
+
/**
|
|
888
|
+
* @example
|
|
889
|
+
* 10
|
|
890
|
+
*/
|
|
457
891
|
pageSize?: number;
|
|
458
892
|
static names(): {
|
|
459
893
|
[key: string]: string;
|
|
@@ -466,11 +900,34 @@ export declare class ListIndexDocumentsRequest extends $tea.Model {
|
|
|
466
900
|
});
|
|
467
901
|
}
|
|
468
902
|
export declare class ListIndexDocumentsResponseBody extends $tea.Model {
|
|
903
|
+
/**
|
|
904
|
+
* @example
|
|
905
|
+
* InvalidParameter
|
|
906
|
+
*/
|
|
469
907
|
code?: string;
|
|
470
908
|
data?: ListIndexDocumentsResponseBodyData;
|
|
909
|
+
/**
|
|
910
|
+
* @example
|
|
911
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
912
|
+
*/
|
|
471
913
|
message?: string;
|
|
914
|
+
/**
|
|
915
|
+
* @remarks
|
|
916
|
+
* Id of the request
|
|
917
|
+
*
|
|
918
|
+
* @example
|
|
919
|
+
* 35A267BF-xxxx-54DB-8394-AA3B0742D833
|
|
920
|
+
*/
|
|
472
921
|
requestId?: string;
|
|
922
|
+
/**
|
|
923
|
+
* @example
|
|
924
|
+
* 200
|
|
925
|
+
*/
|
|
473
926
|
status?: string;
|
|
927
|
+
/**
|
|
928
|
+
* @example
|
|
929
|
+
* true
|
|
930
|
+
*/
|
|
474
931
|
success?: boolean;
|
|
475
932
|
static names(): {
|
|
476
933
|
[key: string]: string;
|
|
@@ -499,8 +956,20 @@ export declare class ListIndexDocumentsResponse extends $tea.Model {
|
|
|
499
956
|
});
|
|
500
957
|
}
|
|
501
958
|
export declare class ListIndicesRequest extends $tea.Model {
|
|
959
|
+
/**
|
|
960
|
+
* @example
|
|
961
|
+
* idx_status_score
|
|
962
|
+
*/
|
|
502
963
|
indexName?: string;
|
|
964
|
+
/**
|
|
965
|
+
* @example
|
|
966
|
+
* 1
|
|
967
|
+
*/
|
|
503
968
|
pageNumber?: string;
|
|
969
|
+
/**
|
|
970
|
+
* @example
|
|
971
|
+
* 10
|
|
972
|
+
*/
|
|
504
973
|
pageSize?: string;
|
|
505
974
|
static names(): {
|
|
506
975
|
[key: string]: string;
|
|
@@ -513,11 +982,34 @@ export declare class ListIndicesRequest extends $tea.Model {
|
|
|
513
982
|
});
|
|
514
983
|
}
|
|
515
984
|
export declare class ListIndicesResponseBody extends $tea.Model {
|
|
985
|
+
/**
|
|
986
|
+
* @example
|
|
987
|
+
* Index.InvalidParameter
|
|
988
|
+
*/
|
|
516
989
|
code?: string;
|
|
517
990
|
data?: ListIndicesResponseBodyData;
|
|
991
|
+
/**
|
|
992
|
+
* @example
|
|
993
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
994
|
+
*/
|
|
518
995
|
message?: string;
|
|
996
|
+
/**
|
|
997
|
+
* @remarks
|
|
998
|
+
* Id of the request
|
|
999
|
+
*
|
|
1000
|
+
* @example
|
|
1001
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
1002
|
+
*/
|
|
519
1003
|
requestId?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* @example
|
|
1006
|
+
* 200
|
|
1007
|
+
*/
|
|
520
1008
|
status?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* @example
|
|
1011
|
+
* true
|
|
1012
|
+
*/
|
|
521
1013
|
success?: boolean;
|
|
522
1014
|
static names(): {
|
|
523
1015
|
[key: string]: string;
|
|
@@ -546,16 +1038,54 @@ export declare class ListIndicesResponse extends $tea.Model {
|
|
|
546
1038
|
});
|
|
547
1039
|
}
|
|
548
1040
|
export declare class RetrieveRequest extends $tea.Model {
|
|
1041
|
+
/**
|
|
1042
|
+
* @example
|
|
1043
|
+
* 100
|
|
1044
|
+
*/
|
|
549
1045
|
denseSimilarityTopK?: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* @example
|
|
1048
|
+
* true
|
|
1049
|
+
*/
|
|
550
1050
|
enableReranking?: boolean;
|
|
1051
|
+
/**
|
|
1052
|
+
* @example
|
|
1053
|
+
* false
|
|
1054
|
+
*/
|
|
551
1055
|
enableRewrite?: boolean;
|
|
1056
|
+
/**
|
|
1057
|
+
* @remarks
|
|
1058
|
+
* This parameter is required.
|
|
1059
|
+
*
|
|
1060
|
+
* @example
|
|
1061
|
+
* 5pwe0m2g6t
|
|
1062
|
+
*/
|
|
552
1063
|
indexId?: string;
|
|
553
1064
|
query?: string;
|
|
554
1065
|
rerank?: RetrieveRequestRerank[];
|
|
1066
|
+
/**
|
|
1067
|
+
* @example
|
|
1068
|
+
* 0.20
|
|
1069
|
+
*/
|
|
555
1070
|
rerankMinScore?: number;
|
|
1071
|
+
/**
|
|
1072
|
+
* @example
|
|
1073
|
+
* 5
|
|
1074
|
+
*/
|
|
556
1075
|
rerankTopN?: number;
|
|
557
1076
|
rewrite?: RetrieveRequestRewrite[];
|
|
1077
|
+
/**
|
|
1078
|
+
* @example
|
|
1079
|
+
* false
|
|
1080
|
+
*/
|
|
558
1081
|
saveRetrieverHistory?: boolean;
|
|
1082
|
+
searchFilters?: {
|
|
1083
|
+
[key: string]: string;
|
|
1084
|
+
}[];
|
|
1085
|
+
/**
|
|
1086
|
+
* @example
|
|
1087
|
+
* 100
|
|
1088
|
+
*/
|
|
559
1089
|
sparseSimilarityTopK?: number;
|
|
560
1090
|
static names(): {
|
|
561
1091
|
[key: string]: string;
|
|
@@ -568,16 +1098,52 @@ export declare class RetrieveRequest extends $tea.Model {
|
|
|
568
1098
|
});
|
|
569
1099
|
}
|
|
570
1100
|
export declare class RetrieveShrinkRequest extends $tea.Model {
|
|
1101
|
+
/**
|
|
1102
|
+
* @example
|
|
1103
|
+
* 100
|
|
1104
|
+
*/
|
|
571
1105
|
denseSimilarityTopK?: number;
|
|
1106
|
+
/**
|
|
1107
|
+
* @example
|
|
1108
|
+
* true
|
|
1109
|
+
*/
|
|
572
1110
|
enableReranking?: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* @example
|
|
1113
|
+
* false
|
|
1114
|
+
*/
|
|
573
1115
|
enableRewrite?: boolean;
|
|
1116
|
+
/**
|
|
1117
|
+
* @remarks
|
|
1118
|
+
* This parameter is required.
|
|
1119
|
+
*
|
|
1120
|
+
* @example
|
|
1121
|
+
* 5pwe0m2g6t
|
|
1122
|
+
*/
|
|
574
1123
|
indexId?: string;
|
|
575
1124
|
query?: string;
|
|
576
1125
|
rerankShrink?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* @example
|
|
1128
|
+
* 0.20
|
|
1129
|
+
*/
|
|
577
1130
|
rerankMinScore?: number;
|
|
1131
|
+
/**
|
|
1132
|
+
* @example
|
|
1133
|
+
* 5
|
|
1134
|
+
*/
|
|
578
1135
|
rerankTopN?: number;
|
|
579
1136
|
rewriteShrink?: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* @example
|
|
1139
|
+
* false
|
|
1140
|
+
*/
|
|
580
1141
|
saveRetrieverHistory?: boolean;
|
|
1142
|
+
searchFiltersShrink?: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* @example
|
|
1145
|
+
* 100
|
|
1146
|
+
*/
|
|
581
1147
|
sparseSimilarityTopK?: number;
|
|
582
1148
|
static names(): {
|
|
583
1149
|
[key: string]: string;
|
|
@@ -590,11 +1156,34 @@ export declare class RetrieveShrinkRequest extends $tea.Model {
|
|
|
590
1156
|
});
|
|
591
1157
|
}
|
|
592
1158
|
export declare class RetrieveResponseBody extends $tea.Model {
|
|
1159
|
+
/**
|
|
1160
|
+
* @example
|
|
1161
|
+
* Index.InvalidParameter
|
|
1162
|
+
*/
|
|
593
1163
|
code?: string;
|
|
594
1164
|
data?: RetrieveResponseBodyData;
|
|
1165
|
+
/**
|
|
1166
|
+
* @example
|
|
1167
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
1168
|
+
*/
|
|
595
1169
|
message?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* @remarks
|
|
1172
|
+
* Id of the request
|
|
1173
|
+
*
|
|
1174
|
+
* @example
|
|
1175
|
+
* 17204B98-7734-4F9A-8464-2446A84821CA
|
|
1176
|
+
*/
|
|
596
1177
|
requestId?: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* @example
|
|
1180
|
+
* 200
|
|
1181
|
+
*/
|
|
597
1182
|
status?: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* @example
|
|
1185
|
+
* true
|
|
1186
|
+
*/
|
|
598
1187
|
success?: boolean;
|
|
599
1188
|
static names(): {
|
|
600
1189
|
[key: string]: string;
|
|
@@ -625,7 +1214,21 @@ export declare class RetrieveResponse extends $tea.Model {
|
|
|
625
1214
|
export declare class SubmitIndexAddDocumentsJobRequest extends $tea.Model {
|
|
626
1215
|
categoryIds?: string[];
|
|
627
1216
|
documentIds?: string[];
|
|
1217
|
+
/**
|
|
1218
|
+
* @remarks
|
|
1219
|
+
* This parameter is required.
|
|
1220
|
+
*
|
|
1221
|
+
* @example
|
|
1222
|
+
* 79c0aly8zw
|
|
1223
|
+
*/
|
|
628
1224
|
indexId?: string;
|
|
1225
|
+
/**
|
|
1226
|
+
* @remarks
|
|
1227
|
+
* This parameter is required.
|
|
1228
|
+
*
|
|
1229
|
+
* @example
|
|
1230
|
+
* DATA_CENTER_FILE
|
|
1231
|
+
*/
|
|
629
1232
|
sourceType?: string;
|
|
630
1233
|
static names(): {
|
|
631
1234
|
[key: string]: string;
|
|
@@ -640,7 +1243,21 @@ export declare class SubmitIndexAddDocumentsJobRequest extends $tea.Model {
|
|
|
640
1243
|
export declare class SubmitIndexAddDocumentsJobShrinkRequest extends $tea.Model {
|
|
641
1244
|
categoryIdsShrink?: string;
|
|
642
1245
|
documentIdsShrink?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* @remarks
|
|
1248
|
+
* This parameter is required.
|
|
1249
|
+
*
|
|
1250
|
+
* @example
|
|
1251
|
+
* 79c0aly8zw
|
|
1252
|
+
*/
|
|
643
1253
|
indexId?: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* @remarks
|
|
1256
|
+
* This parameter is required.
|
|
1257
|
+
*
|
|
1258
|
+
* @example
|
|
1259
|
+
* DATA_CENTER_FILE
|
|
1260
|
+
*/
|
|
644
1261
|
sourceType?: string;
|
|
645
1262
|
static names(): {
|
|
646
1263
|
[key: string]: string;
|
|
@@ -653,11 +1270,34 @@ export declare class SubmitIndexAddDocumentsJobShrinkRequest extends $tea.Model
|
|
|
653
1270
|
});
|
|
654
1271
|
}
|
|
655
1272
|
export declare class SubmitIndexAddDocumentsJobResponseBody extends $tea.Model {
|
|
1273
|
+
/**
|
|
1274
|
+
* @example
|
|
1275
|
+
* Index.InvalidParameter
|
|
1276
|
+
*/
|
|
656
1277
|
code?: string;
|
|
657
1278
|
data?: SubmitIndexAddDocumentsJobResponseBodyData;
|
|
1279
|
+
/**
|
|
1280
|
+
* @example
|
|
1281
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
1282
|
+
*/
|
|
658
1283
|
message?: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* @remarks
|
|
1286
|
+
* Id of the request
|
|
1287
|
+
*
|
|
1288
|
+
* @example
|
|
1289
|
+
* 778C0B3B-03C1-5FC1-A947-36EDD13606AB
|
|
1290
|
+
*/
|
|
659
1291
|
requestId?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* @example
|
|
1294
|
+
* 200
|
|
1295
|
+
*/
|
|
660
1296
|
status?: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* @example
|
|
1299
|
+
* true
|
|
1300
|
+
*/
|
|
661
1301
|
success?: boolean;
|
|
662
1302
|
static names(): {
|
|
663
1303
|
[key: string]: string;
|
|
@@ -686,6 +1326,13 @@ export declare class SubmitIndexAddDocumentsJobResponse extends $tea.Model {
|
|
|
686
1326
|
});
|
|
687
1327
|
}
|
|
688
1328
|
export declare class SubmitIndexJobRequest extends $tea.Model {
|
|
1329
|
+
/**
|
|
1330
|
+
* @remarks
|
|
1331
|
+
* This parameter is required.
|
|
1332
|
+
*
|
|
1333
|
+
* @example
|
|
1334
|
+
* 79c0aly8zw
|
|
1335
|
+
*/
|
|
689
1336
|
indexId?: string;
|
|
690
1337
|
static names(): {
|
|
691
1338
|
[key: string]: string;
|
|
@@ -698,11 +1345,34 @@ export declare class SubmitIndexJobRequest extends $tea.Model {
|
|
|
698
1345
|
});
|
|
699
1346
|
}
|
|
700
1347
|
export declare class SubmitIndexJobResponseBody extends $tea.Model {
|
|
1348
|
+
/**
|
|
1349
|
+
* @example
|
|
1350
|
+
* InvalidParameter
|
|
1351
|
+
*/
|
|
701
1352
|
code?: string;
|
|
702
1353
|
data?: SubmitIndexJobResponseBodyData;
|
|
1354
|
+
/**
|
|
1355
|
+
* @example
|
|
1356
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
1357
|
+
*/
|
|
703
1358
|
message?: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* @remarks
|
|
1361
|
+
* Id of the request
|
|
1362
|
+
*
|
|
1363
|
+
* @example
|
|
1364
|
+
* 17204B98-xxxx-4F9A-8464-2446A84821CA
|
|
1365
|
+
*/
|
|
704
1366
|
requestId?: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* @example
|
|
1369
|
+
* Success
|
|
1370
|
+
*/
|
|
705
1371
|
status?: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* @example
|
|
1374
|
+
* True
|
|
1375
|
+
*/
|
|
706
1376
|
success?: boolean;
|
|
707
1377
|
static names(): {
|
|
708
1378
|
[key: string]: string;
|
|
@@ -731,7 +1401,15 @@ export declare class SubmitIndexJobResponse extends $tea.Model {
|
|
|
731
1401
|
});
|
|
732
1402
|
}
|
|
733
1403
|
export declare class AddFileResponseBodyData extends $tea.Model {
|
|
1404
|
+
/**
|
|
1405
|
+
* @example
|
|
1406
|
+
* file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
|
|
1407
|
+
*/
|
|
734
1408
|
fileId?: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* @example
|
|
1411
|
+
* DASHSCOPE_DOCMIND
|
|
1412
|
+
*/
|
|
735
1413
|
parser?: string;
|
|
736
1414
|
static names(): {
|
|
737
1415
|
[key: string]: string;
|
|
@@ -744,8 +1422,21 @@ export declare class AddFileResponseBodyData extends $tea.Model {
|
|
|
744
1422
|
});
|
|
745
1423
|
}
|
|
746
1424
|
export declare class ApplyFileUploadLeaseResponseBodyDataParam extends $tea.Model {
|
|
1425
|
+
/**
|
|
1426
|
+
* @example
|
|
1427
|
+
* "X-bailian-extra": "MTAwNTQyNjQ5NTE2OTE3OA==",
|
|
1428
|
+
* "Content-Type": "application/pdf"
|
|
1429
|
+
*/
|
|
747
1430
|
headers?: any;
|
|
1431
|
+
/**
|
|
1432
|
+
* @example
|
|
1433
|
+
* PUT
|
|
1434
|
+
*/
|
|
748
1435
|
method?: string;
|
|
1436
|
+
/**
|
|
1437
|
+
* @example
|
|
1438
|
+
* https://bailian-datahub-data-origin-prod.oss-cn-hangzhou.aliyuncs.com/1005426495169178/10024405/68abd1dea7b6404d8f7d7b9f7fbd332d.1716698936847.pdf?Expires=1716699536&OSSAccessKeyId=TestID&Signature=HfwPUZo4pR6DatSDym0zFKVh9Wg%3D
|
|
1439
|
+
*/
|
|
749
1440
|
url?: string;
|
|
750
1441
|
static names(): {
|
|
751
1442
|
[key: string]: string;
|
|
@@ -758,8 +1449,16 @@ export declare class ApplyFileUploadLeaseResponseBodyDataParam extends $tea.Mode
|
|
|
758
1449
|
});
|
|
759
1450
|
}
|
|
760
1451
|
export declare class ApplyFileUploadLeaseResponseBodyData extends $tea.Model {
|
|
1452
|
+
/**
|
|
1453
|
+
* @example
|
|
1454
|
+
* 1e6a159107384782be5e45ac4759b247.1719325231035
|
|
1455
|
+
*/
|
|
761
1456
|
fileUploadLeaseId?: string;
|
|
762
1457
|
param?: ApplyFileUploadLeaseResponseBodyDataParam;
|
|
1458
|
+
/**
|
|
1459
|
+
* @example
|
|
1460
|
+
* HTTP
|
|
1461
|
+
*/
|
|
763
1462
|
type?: string;
|
|
764
1463
|
static names(): {
|
|
765
1464
|
[key: string]: string;
|
|
@@ -788,6 +1487,10 @@ export declare class CreateIndexRequestColumns extends $tea.Model {
|
|
|
788
1487
|
});
|
|
789
1488
|
}
|
|
790
1489
|
export declare class CreateIndexResponseBodyData extends $tea.Model {
|
|
1490
|
+
/**
|
|
1491
|
+
* @example
|
|
1492
|
+
* jkurxhju6b
|
|
1493
|
+
*/
|
|
791
1494
|
id?: string;
|
|
792
1495
|
static names(): {
|
|
793
1496
|
[key: string]: string;
|
|
@@ -800,6 +1503,10 @@ export declare class CreateIndexResponseBodyData extends $tea.Model {
|
|
|
800
1503
|
});
|
|
801
1504
|
}
|
|
802
1505
|
export declare class DeleteFileResponseBodyData extends $tea.Model {
|
|
1506
|
+
/**
|
|
1507
|
+
* @example
|
|
1508
|
+
* file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
|
|
1509
|
+
*/
|
|
803
1510
|
fileId?: string;
|
|
804
1511
|
static names(): {
|
|
805
1512
|
[key: string]: string;
|
|
@@ -824,13 +1531,45 @@ export declare class DeleteIndexDocumentResponseBodyData extends $tea.Model {
|
|
|
824
1531
|
});
|
|
825
1532
|
}
|
|
826
1533
|
export declare class DescribeFileResponseBodyData extends $tea.Model {
|
|
1534
|
+
/**
|
|
1535
|
+
* @example
|
|
1536
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee3XXXXXXXX
|
|
1537
|
+
*/
|
|
827
1538
|
categoryId?: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* @example
|
|
1541
|
+
* 2024-05-26 12:45:43
|
|
1542
|
+
*/
|
|
828
1543
|
createTime?: string;
|
|
1544
|
+
/**
|
|
1545
|
+
* @example
|
|
1546
|
+
* file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
|
|
1547
|
+
*/
|
|
829
1548
|
fileId?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* @example
|
|
1551
|
+
* test.pdf
|
|
1552
|
+
*/
|
|
830
1553
|
fileName?: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* @example
|
|
1556
|
+
* pdf
|
|
1557
|
+
*/
|
|
831
1558
|
fileType?: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* @example
|
|
1561
|
+
* DASHSCOPE_DOCMIND
|
|
1562
|
+
*/
|
|
832
1563
|
parser?: string;
|
|
1564
|
+
/**
|
|
1565
|
+
* @example
|
|
1566
|
+
* 1234
|
|
1567
|
+
*/
|
|
833
1568
|
sizeInBytes?: number;
|
|
1569
|
+
/**
|
|
1570
|
+
* @example
|
|
1571
|
+
* PARSE_SUCCESS
|
|
1572
|
+
*/
|
|
834
1573
|
status?: string;
|
|
835
1574
|
static names(): {
|
|
836
1575
|
[key: string]: string;
|
|
@@ -843,10 +1582,26 @@ export declare class DescribeFileResponseBodyData extends $tea.Model {
|
|
|
843
1582
|
});
|
|
844
1583
|
}
|
|
845
1584
|
export declare class GetIndexJobStatusResponseBodyDataDocuments extends $tea.Model {
|
|
1585
|
+
/**
|
|
1586
|
+
* @example
|
|
1587
|
+
* Index.Document.ChunkError
|
|
1588
|
+
*/
|
|
846
1589
|
code?: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* @example
|
|
1592
|
+
* file_9a65732555b54d5ea10796ca5742ba22_XXXXXXXX
|
|
1593
|
+
*/
|
|
847
1594
|
docId?: string;
|
|
848
1595
|
docName?: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* @example
|
|
1598
|
+
* document parse error
|
|
1599
|
+
*/
|
|
849
1600
|
message?: string;
|
|
1601
|
+
/**
|
|
1602
|
+
* @example
|
|
1603
|
+
* RUNNING
|
|
1604
|
+
*/
|
|
850
1605
|
status?: string;
|
|
851
1606
|
static names(): {
|
|
852
1607
|
[key: string]: string;
|
|
@@ -860,7 +1615,15 @@ export declare class GetIndexJobStatusResponseBodyDataDocuments extends $tea.Mod
|
|
|
860
1615
|
}
|
|
861
1616
|
export declare class GetIndexJobStatusResponseBodyData extends $tea.Model {
|
|
862
1617
|
documents?: GetIndexJobStatusResponseBodyDataDocuments[];
|
|
1618
|
+
/**
|
|
1619
|
+
* @example
|
|
1620
|
+
* 66122af12a4e45ddae6bd6c845556647
|
|
1621
|
+
*/
|
|
863
1622
|
jobId?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* @example
|
|
1625
|
+
* PENDING
|
|
1626
|
+
*/
|
|
864
1627
|
status?: string;
|
|
865
1628
|
static names(): {
|
|
866
1629
|
[key: string]: string;
|
|
@@ -874,6 +1637,10 @@ export declare class GetIndexJobStatusResponseBodyData extends $tea.Model {
|
|
|
874
1637
|
}
|
|
875
1638
|
export declare class ListChunksResponseBodyDataNodes extends $tea.Model {
|
|
876
1639
|
metadata?: any;
|
|
1640
|
+
/**
|
|
1641
|
+
* @example
|
|
1642
|
+
* 0.3
|
|
1643
|
+
*/
|
|
877
1644
|
score?: number;
|
|
878
1645
|
text?: string;
|
|
879
1646
|
static names(): {
|
|
@@ -888,6 +1655,10 @@ export declare class ListChunksResponseBodyDataNodes extends $tea.Model {
|
|
|
888
1655
|
}
|
|
889
1656
|
export declare class ListChunksResponseBodyData extends $tea.Model {
|
|
890
1657
|
nodes?: ListChunksResponseBodyDataNodes[];
|
|
1658
|
+
/**
|
|
1659
|
+
* @example
|
|
1660
|
+
* 16
|
|
1661
|
+
*/
|
|
891
1662
|
total?: number;
|
|
892
1663
|
static names(): {
|
|
893
1664
|
[key: string]: string;
|
|
@@ -900,13 +1671,41 @@ export declare class ListChunksResponseBodyData extends $tea.Model {
|
|
|
900
1671
|
});
|
|
901
1672
|
}
|
|
902
1673
|
export declare class ListIndexDocumentsResponseBodyDataDocuments extends $tea.Model {
|
|
1674
|
+
/**
|
|
1675
|
+
* @example
|
|
1676
|
+
* 110002
|
|
1677
|
+
*/
|
|
903
1678
|
code?: string;
|
|
1679
|
+
/**
|
|
1680
|
+
* @example
|
|
1681
|
+
* pdf
|
|
1682
|
+
*/
|
|
904
1683
|
documentType?: string;
|
|
1684
|
+
/**
|
|
1685
|
+
* @example
|
|
1686
|
+
* doc_c134aa2073204a5d936d870bf960f56a10024701
|
|
1687
|
+
*/
|
|
905
1688
|
id?: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* @example
|
|
1691
|
+
* check fileUrlKey[file_path] / fileNameKey[null] / fileExtensionKey[file_extension] is invalid
|
|
1692
|
+
*/
|
|
906
1693
|
message?: string;
|
|
907
1694
|
name?: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* @example
|
|
1697
|
+
* 996764
|
|
1698
|
+
*/
|
|
908
1699
|
size?: number;
|
|
1700
|
+
/**
|
|
1701
|
+
* @example
|
|
1702
|
+
* cate_21a407a3372c4ba7aedc649709143f0c10021401
|
|
1703
|
+
*/
|
|
909
1704
|
sourceId?: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* @example
|
|
1707
|
+
* RUNNING
|
|
1708
|
+
*/
|
|
910
1709
|
status?: string;
|
|
911
1710
|
static names(): {
|
|
912
1711
|
[key: string]: string;
|
|
@@ -920,9 +1719,25 @@ export declare class ListIndexDocumentsResponseBodyDataDocuments extends $tea.Mo
|
|
|
920
1719
|
}
|
|
921
1720
|
export declare class ListIndexDocumentsResponseBodyData extends $tea.Model {
|
|
922
1721
|
documents?: ListIndexDocumentsResponseBodyDataDocuments[];
|
|
1722
|
+
/**
|
|
1723
|
+
* @example
|
|
1724
|
+
* pno97tn8iu
|
|
1725
|
+
*/
|
|
923
1726
|
indexId?: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* @example
|
|
1729
|
+
* 1
|
|
1730
|
+
*/
|
|
924
1731
|
pageNumber?: number;
|
|
1732
|
+
/**
|
|
1733
|
+
* @example
|
|
1734
|
+
* 10
|
|
1735
|
+
*/
|
|
925
1736
|
pageSize?: number;
|
|
1737
|
+
/**
|
|
1738
|
+
* @example
|
|
1739
|
+
* 2437
|
|
1740
|
+
*/
|
|
926
1741
|
totalCount?: number;
|
|
927
1742
|
static names(): {
|
|
928
1743
|
[key: string]: string;
|
|
@@ -935,20 +1750,76 @@ export declare class ListIndexDocumentsResponseBodyData extends $tea.Model {
|
|
|
935
1750
|
});
|
|
936
1751
|
}
|
|
937
1752
|
export declare class ListIndicesResponseBodyDataIndices extends $tea.Model {
|
|
1753
|
+
/**
|
|
1754
|
+
* @example
|
|
1755
|
+
* 5
|
|
1756
|
+
*/
|
|
938
1757
|
chunkSize?: number;
|
|
1758
|
+
/**
|
|
1759
|
+
* @example
|
|
1760
|
+
* If each RAM user belongs to a RAM group, the configuration is considered compliant.
|
|
1761
|
+
*/
|
|
939
1762
|
description?: string;
|
|
940
1763
|
documentIds?: string[];
|
|
1764
|
+
/**
|
|
1765
|
+
* @example
|
|
1766
|
+
* conv-rewrite-qwen-1.8b
|
|
1767
|
+
*/
|
|
941
1768
|
embeddingModelName?: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* @example
|
|
1771
|
+
* 259899
|
|
1772
|
+
*/
|
|
942
1773
|
id?: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* @example
|
|
1776
|
+
* temp_mUB4j
|
|
1777
|
+
*/
|
|
943
1778
|
name?: string;
|
|
1779
|
+
/**
|
|
1780
|
+
* @example
|
|
1781
|
+
* 10
|
|
1782
|
+
*/
|
|
944
1783
|
overlapSize?: number;
|
|
1784
|
+
/**
|
|
1785
|
+
* @example
|
|
1786
|
+
* 0.01
|
|
1787
|
+
*/
|
|
945
1788
|
rerankMinScore?: string;
|
|
1789
|
+
/**
|
|
1790
|
+
* @example
|
|
1791
|
+
* gte-rerank-hybrid
|
|
1792
|
+
*/
|
|
946
1793
|
rerankModelName?: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* @example
|
|
1796
|
+
* \\n
|
|
1797
|
+
*/
|
|
947
1798
|
separator?: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* @example
|
|
1801
|
+
* gp-bp1gq62t1788yw2ol
|
|
1802
|
+
*/
|
|
948
1803
|
sinkInstanceId?: string;
|
|
1804
|
+
/**
|
|
1805
|
+
* @example
|
|
1806
|
+
* cn-hangzhou
|
|
1807
|
+
*/
|
|
949
1808
|
sinkRegion?: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* @example
|
|
1811
|
+
* es
|
|
1812
|
+
*/
|
|
950
1813
|
sinkType?: string;
|
|
1814
|
+
/**
|
|
1815
|
+
* @example
|
|
1816
|
+
* DATA_CENTER_FILE
|
|
1817
|
+
*/
|
|
951
1818
|
sourceType?: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* @example
|
|
1821
|
+
* structured
|
|
1822
|
+
*/
|
|
952
1823
|
structureType?: string;
|
|
953
1824
|
static names(): {
|
|
954
1825
|
[key: string]: string;
|
|
@@ -962,8 +1833,20 @@ export declare class ListIndicesResponseBodyDataIndices extends $tea.Model {
|
|
|
962
1833
|
}
|
|
963
1834
|
export declare class ListIndicesResponseBodyData extends $tea.Model {
|
|
964
1835
|
indices?: ListIndicesResponseBodyDataIndices[];
|
|
1836
|
+
/**
|
|
1837
|
+
* @example
|
|
1838
|
+
* 1
|
|
1839
|
+
*/
|
|
965
1840
|
pageNumber?: number;
|
|
1841
|
+
/**
|
|
1842
|
+
* @example
|
|
1843
|
+
* 10
|
|
1844
|
+
*/
|
|
966
1845
|
pageSize?: number;
|
|
1846
|
+
/**
|
|
1847
|
+
* @example
|
|
1848
|
+
* 48
|
|
1849
|
+
*/
|
|
967
1850
|
totalCount?: number;
|
|
968
1851
|
static names(): {
|
|
969
1852
|
[key: string]: string;
|
|
@@ -976,6 +1859,10 @@ export declare class ListIndicesResponseBodyData extends $tea.Model {
|
|
|
976
1859
|
});
|
|
977
1860
|
}
|
|
978
1861
|
export declare class RetrieveRequestRerank extends $tea.Model {
|
|
1862
|
+
/**
|
|
1863
|
+
* @example
|
|
1864
|
+
* gte-rerank-hybrid
|
|
1865
|
+
*/
|
|
979
1866
|
modelName?: string;
|
|
980
1867
|
static names(): {
|
|
981
1868
|
[key: string]: string;
|
|
@@ -1001,6 +1888,10 @@ export declare class RetrieveRequestRewrite extends $tea.Model {
|
|
|
1001
1888
|
}
|
|
1002
1889
|
export declare class RetrieveResponseBodyDataNodes extends $tea.Model {
|
|
1003
1890
|
metadata?: any;
|
|
1891
|
+
/**
|
|
1892
|
+
* @example
|
|
1893
|
+
* 0.3
|
|
1894
|
+
*/
|
|
1004
1895
|
score?: number;
|
|
1005
1896
|
text?: string;
|
|
1006
1897
|
static names(): {
|
|
@@ -1026,6 +1917,10 @@ export declare class RetrieveResponseBodyData extends $tea.Model {
|
|
|
1026
1917
|
});
|
|
1027
1918
|
}
|
|
1028
1919
|
export declare class SubmitIndexAddDocumentsJobResponseBodyData extends $tea.Model {
|
|
1920
|
+
/**
|
|
1921
|
+
* @example
|
|
1922
|
+
* 42687eb254a34802bed398357f5498ae
|
|
1923
|
+
*/
|
|
1029
1924
|
id?: string;
|
|
1030
1925
|
static names(): {
|
|
1031
1926
|
[key: string]: string;
|
|
@@ -1038,7 +1933,15 @@ export declare class SubmitIndexAddDocumentsJobResponseBodyData extends $tea.Mod
|
|
|
1038
1933
|
});
|
|
1039
1934
|
}
|
|
1040
1935
|
export declare class SubmitIndexJobResponseBodyData extends $tea.Model {
|
|
1936
|
+
/**
|
|
1937
|
+
* @example
|
|
1938
|
+
* eFDr2fGRzP9gdDZWAdo3YQ==
|
|
1939
|
+
*/
|
|
1041
1940
|
id?: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* @example
|
|
1943
|
+
* khdyak1uuj
|
|
1944
|
+
*/
|
|
1042
1945
|
indexId?: string;
|
|
1043
1946
|
static names(): {
|
|
1044
1947
|
[key: string]: string;
|
|
@@ -1056,251 +1959,249 @@ export default class Client extends OpenApi {
|
|
|
1056
1959
|
[key: string]: string;
|
|
1057
1960
|
}, endpoint: string): string;
|
|
1058
1961
|
/**
|
|
1059
|
-
*
|
|
1962
|
+
* 将临时上传的文档导入百炼数据中心,导入成功之后会自动触发文档解析。
|
|
1060
1963
|
*
|
|
1061
|
-
* @param request AddFileRequest
|
|
1062
|
-
* @param headers map
|
|
1063
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1064
|
-
* @
|
|
1964
|
+
* @param request - AddFileRequest
|
|
1965
|
+
* @param headers - map
|
|
1966
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1967
|
+
* @returns AddFileResponse
|
|
1065
1968
|
*/
|
|
1066
1969
|
addFileWithOptions(WorkspaceId: string, request: AddFileRequest, headers: {
|
|
1067
1970
|
[key: string]: string;
|
|
1068
1971
|
}, runtime: $Util.RuntimeOptions): Promise<AddFileResponse>;
|
|
1069
1972
|
/**
|
|
1070
|
-
*
|
|
1973
|
+
* 将临时上传的文档导入百炼数据中心,导入成功之后会自动触发文档解析。
|
|
1071
1974
|
*
|
|
1072
|
-
* @param request AddFileRequest
|
|
1073
|
-
* @
|
|
1975
|
+
* @param request - AddFileRequest
|
|
1976
|
+
* @returns AddFileResponse
|
|
1074
1977
|
*/
|
|
1075
1978
|
addFile(WorkspaceId: string, request: AddFileRequest): Promise<AddFileResponse>;
|
|
1076
1979
|
/**
|
|
1077
|
-
*
|
|
1980
|
+
* 请求文档上传租约,进行文档上传。
|
|
1078
1981
|
*
|
|
1079
|
-
* @param request ApplyFileUploadLeaseRequest
|
|
1080
|
-
* @param headers map
|
|
1081
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1082
|
-
* @
|
|
1982
|
+
* @param request - ApplyFileUploadLeaseRequest
|
|
1983
|
+
* @param headers - map
|
|
1984
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1985
|
+
* @returns ApplyFileUploadLeaseResponse
|
|
1083
1986
|
*/
|
|
1084
1987
|
applyFileUploadLeaseWithOptions(CategoryId: string, WorkspaceId: string, request: ApplyFileUploadLeaseRequest, headers: {
|
|
1085
1988
|
[key: string]: string;
|
|
1086
1989
|
}, runtime: $Util.RuntimeOptions): Promise<ApplyFileUploadLeaseResponse>;
|
|
1087
1990
|
/**
|
|
1088
|
-
*
|
|
1991
|
+
* 请求文档上传租约,进行文档上传。
|
|
1089
1992
|
*
|
|
1090
|
-
* @param request ApplyFileUploadLeaseRequest
|
|
1091
|
-
* @
|
|
1993
|
+
* @param request - ApplyFileUploadLeaseRequest
|
|
1994
|
+
* @returns ApplyFileUploadLeaseResponse
|
|
1092
1995
|
*/
|
|
1093
1996
|
applyFileUploadLease(CategoryId: string, WorkspaceId: string, request: ApplyFileUploadLeaseRequest): Promise<ApplyFileUploadLeaseResponse>;
|
|
1094
1997
|
/**
|
|
1095
|
-
*
|
|
1998
|
+
* 创建并运行pipeline
|
|
1096
1999
|
*
|
|
1097
|
-
* @param tmpReq CreateIndexRequest
|
|
1098
|
-
* @param headers map
|
|
1099
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1100
|
-
* @
|
|
2000
|
+
* @param tmpReq - CreateIndexRequest
|
|
2001
|
+
* @param headers - map
|
|
2002
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2003
|
+
* @returns CreateIndexResponse
|
|
1101
2004
|
*/
|
|
1102
2005
|
createIndexWithOptions(WorkspaceId: string, tmpReq: CreateIndexRequest, headers: {
|
|
1103
2006
|
[key: string]: string;
|
|
1104
2007
|
}, runtime: $Util.RuntimeOptions): Promise<CreateIndexResponse>;
|
|
1105
2008
|
/**
|
|
1106
|
-
*
|
|
2009
|
+
* 创建并运行pipeline
|
|
1107
2010
|
*
|
|
1108
|
-
* @param request CreateIndexRequest
|
|
1109
|
-
* @
|
|
2011
|
+
* @param request - CreateIndexRequest
|
|
2012
|
+
* @returns CreateIndexResponse
|
|
1110
2013
|
*/
|
|
1111
2014
|
createIndex(WorkspaceId: string, request: CreateIndexRequest): Promise<CreateIndexResponse>;
|
|
1112
2015
|
/**
|
|
1113
|
-
*
|
|
2016
|
+
* 删除文档
|
|
1114
2017
|
*
|
|
1115
|
-
* @param headers map
|
|
1116
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1117
|
-
* @
|
|
2018
|
+
* @param headers - map
|
|
2019
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2020
|
+
* @returns DeleteFileResponse
|
|
1118
2021
|
*/
|
|
1119
2022
|
deleteFileWithOptions(FileId: string, WorkspaceId: string, headers: {
|
|
1120
2023
|
[key: string]: string;
|
|
1121
2024
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteFileResponse>;
|
|
1122
2025
|
/**
|
|
1123
|
-
*
|
|
1124
|
-
*
|
|
1125
|
-
* @return DeleteFileResponse
|
|
2026
|
+
* 删除文档
|
|
2027
|
+
* @returns DeleteFileResponse
|
|
1126
2028
|
*/
|
|
1127
2029
|
deleteFile(FileId: string, WorkspaceId: string): Promise<DeleteFileResponse>;
|
|
1128
2030
|
/**
|
|
1129
|
-
*
|
|
2031
|
+
* 删除Index
|
|
1130
2032
|
*
|
|
1131
|
-
* @param request DeleteIndexRequest
|
|
1132
|
-
* @param headers map
|
|
1133
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1134
|
-
* @
|
|
2033
|
+
* @param request - DeleteIndexRequest
|
|
2034
|
+
* @param headers - map
|
|
2035
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2036
|
+
* @returns DeleteIndexResponse
|
|
1135
2037
|
*/
|
|
1136
2038
|
deleteIndexWithOptions(WorkspaceId: string, request: DeleteIndexRequest, headers: {
|
|
1137
2039
|
[key: string]: string;
|
|
1138
2040
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteIndexResponse>;
|
|
1139
2041
|
/**
|
|
1140
|
-
*
|
|
2042
|
+
* 删除Index
|
|
1141
2043
|
*
|
|
1142
|
-
* @param request DeleteIndexRequest
|
|
1143
|
-
* @
|
|
2044
|
+
* @param request - DeleteIndexRequest
|
|
2045
|
+
* @returns DeleteIndexResponse
|
|
1144
2046
|
*/
|
|
1145
2047
|
deleteIndex(WorkspaceId: string, request: DeleteIndexRequest): Promise<DeleteIndexResponse>;
|
|
1146
2048
|
/**
|
|
1147
|
-
*
|
|
2049
|
+
* 删除index doc
|
|
1148
2050
|
*
|
|
1149
|
-
* @param tmpReq DeleteIndexDocumentRequest
|
|
1150
|
-
* @param headers map
|
|
1151
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1152
|
-
* @
|
|
2051
|
+
* @param tmpReq - DeleteIndexDocumentRequest
|
|
2052
|
+
* @param headers - map
|
|
2053
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2054
|
+
* @returns DeleteIndexDocumentResponse
|
|
1153
2055
|
*/
|
|
1154
2056
|
deleteIndexDocumentWithOptions(WorkspaceId: string, tmpReq: DeleteIndexDocumentRequest, headers: {
|
|
1155
2057
|
[key: string]: string;
|
|
1156
2058
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteIndexDocumentResponse>;
|
|
1157
2059
|
/**
|
|
1158
|
-
*
|
|
2060
|
+
* 删除index doc
|
|
1159
2061
|
*
|
|
1160
|
-
* @param request DeleteIndexDocumentRequest
|
|
1161
|
-
* @
|
|
2062
|
+
* @param request - DeleteIndexDocumentRequest
|
|
2063
|
+
* @returns DeleteIndexDocumentResponse
|
|
1162
2064
|
*/
|
|
1163
2065
|
deleteIndexDocument(WorkspaceId: string, request: DeleteIndexDocumentRequest): Promise<DeleteIndexDocumentResponse>;
|
|
1164
2066
|
/**
|
|
1165
|
-
*
|
|
2067
|
+
* 获取文档基本信息,包括文档名称、类型、状态等。
|
|
1166
2068
|
*
|
|
1167
|
-
* @param headers map
|
|
1168
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1169
|
-
* @
|
|
2069
|
+
* @param headers - map
|
|
2070
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2071
|
+
* @returns DescribeFileResponse
|
|
1170
2072
|
*/
|
|
1171
2073
|
describeFileWithOptions(WorkspaceId: string, FileId: string, headers: {
|
|
1172
2074
|
[key: string]: string;
|
|
1173
2075
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeFileResponse>;
|
|
1174
2076
|
/**
|
|
1175
|
-
*
|
|
1176
|
-
*
|
|
1177
|
-
* @return DescribeFileResponse
|
|
2077
|
+
* 获取文档基本信息,包括文档名称、类型、状态等。
|
|
2078
|
+
* @returns DescribeFileResponse
|
|
1178
2079
|
*/
|
|
1179
2080
|
describeFile(WorkspaceId: string, FileId: string): Promise<DescribeFileResponse>;
|
|
1180
2081
|
/**
|
|
1181
|
-
*
|
|
2082
|
+
* 获取Index运行状态
|
|
1182
2083
|
*
|
|
1183
|
-
* @param request GetIndexJobStatusRequest
|
|
1184
|
-
* @param headers map
|
|
1185
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1186
|
-
* @
|
|
2084
|
+
* @param request - GetIndexJobStatusRequest
|
|
2085
|
+
* @param headers - map
|
|
2086
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2087
|
+
* @returns GetIndexJobStatusResponse
|
|
1187
2088
|
*/
|
|
1188
2089
|
getIndexJobStatusWithOptions(WorkspaceId: string, request: GetIndexJobStatusRequest, headers: {
|
|
1189
2090
|
[key: string]: string;
|
|
1190
2091
|
}, runtime: $Util.RuntimeOptions): Promise<GetIndexJobStatusResponse>;
|
|
1191
2092
|
/**
|
|
1192
|
-
*
|
|
2093
|
+
* 获取Index运行状态
|
|
1193
2094
|
*
|
|
1194
|
-
* @param request GetIndexJobStatusRequest
|
|
1195
|
-
* @
|
|
2095
|
+
* @param request - GetIndexJobStatusRequest
|
|
2096
|
+
* @returns GetIndexJobStatusResponse
|
|
1196
2097
|
*/
|
|
1197
2098
|
getIndexJobStatus(WorkspaceId: string, request: GetIndexJobStatusRequest): Promise<GetIndexJobStatusResponse>;
|
|
1198
2099
|
/**
|
|
1199
|
-
*
|
|
2100
|
+
* Chunk
|
|
1200
2101
|
*
|
|
1201
|
-
* @param request ListChunksRequest
|
|
1202
|
-
* @param headers map
|
|
1203
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1204
|
-
* @
|
|
2102
|
+
* @param request - ListChunksRequest
|
|
2103
|
+
* @param headers - map
|
|
2104
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2105
|
+
* @returns ListChunksResponse
|
|
1205
2106
|
*/
|
|
1206
2107
|
listChunksWithOptions(WorkspaceId: string, request: ListChunksRequest, headers: {
|
|
1207
2108
|
[key: string]: string;
|
|
1208
2109
|
}, runtime: $Util.RuntimeOptions): Promise<ListChunksResponse>;
|
|
1209
2110
|
/**
|
|
1210
|
-
*
|
|
2111
|
+
* Chunk
|
|
1211
2112
|
*
|
|
1212
|
-
* @param request ListChunksRequest
|
|
1213
|
-
* @
|
|
2113
|
+
* @param request - ListChunksRequest
|
|
2114
|
+
* @returns ListChunksResponse
|
|
1214
2115
|
*/
|
|
1215
2116
|
listChunks(WorkspaceId: string, request: ListChunksRequest): Promise<ListChunksResponse>;
|
|
1216
2117
|
/**
|
|
1217
|
-
*
|
|
2118
|
+
* 查询Index文件
|
|
1218
2119
|
*
|
|
1219
|
-
* @param request ListIndexDocumentsRequest
|
|
1220
|
-
* @param headers map
|
|
1221
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1222
|
-
* @
|
|
2120
|
+
* @param request - ListIndexDocumentsRequest
|
|
2121
|
+
* @param headers - map
|
|
2122
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2123
|
+
* @returns ListIndexDocumentsResponse
|
|
1223
2124
|
*/
|
|
1224
2125
|
listIndexDocumentsWithOptions(WorkspaceId: string, request: ListIndexDocumentsRequest, headers: {
|
|
1225
2126
|
[key: string]: string;
|
|
1226
2127
|
}, runtime: $Util.RuntimeOptions): Promise<ListIndexDocumentsResponse>;
|
|
1227
2128
|
/**
|
|
1228
|
-
*
|
|
2129
|
+
* 查询Index文件
|
|
1229
2130
|
*
|
|
1230
|
-
* @param request ListIndexDocumentsRequest
|
|
1231
|
-
* @
|
|
2131
|
+
* @param request - ListIndexDocumentsRequest
|
|
2132
|
+
* @returns ListIndexDocumentsResponse
|
|
1232
2133
|
*/
|
|
1233
2134
|
listIndexDocuments(WorkspaceId: string, request: ListIndexDocumentsRequest): Promise<ListIndexDocumentsResponse>;
|
|
1234
2135
|
/**
|
|
1235
|
-
*
|
|
2136
|
+
* 查询pipeline
|
|
1236
2137
|
*
|
|
1237
|
-
* @param request ListIndicesRequest
|
|
1238
|
-
* @param headers map
|
|
1239
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1240
|
-
* @
|
|
2138
|
+
* @param request - ListIndicesRequest
|
|
2139
|
+
* @param headers - map
|
|
2140
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2141
|
+
* @returns ListIndicesResponse
|
|
1241
2142
|
*/
|
|
1242
2143
|
listIndicesWithOptions(WorkspaceId: string, request: ListIndicesRequest, headers: {
|
|
1243
2144
|
[key: string]: string;
|
|
1244
2145
|
}, runtime: $Util.RuntimeOptions): Promise<ListIndicesResponse>;
|
|
1245
2146
|
/**
|
|
1246
|
-
*
|
|
2147
|
+
* 查询pipeline
|
|
1247
2148
|
*
|
|
1248
|
-
* @param request ListIndicesRequest
|
|
1249
|
-
* @
|
|
2149
|
+
* @param request - ListIndicesRequest
|
|
2150
|
+
* @returns ListIndicesResponse
|
|
1250
2151
|
*/
|
|
1251
2152
|
listIndices(WorkspaceId: string, request: ListIndicesRequest): Promise<ListIndicesResponse>;
|
|
1252
2153
|
/**
|
|
1253
|
-
*
|
|
2154
|
+
* 召回测试
|
|
1254
2155
|
*
|
|
1255
|
-
* @param tmpReq RetrieveRequest
|
|
1256
|
-
* @param headers map
|
|
1257
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1258
|
-
* @
|
|
2156
|
+
* @param tmpReq - RetrieveRequest
|
|
2157
|
+
* @param headers - map
|
|
2158
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2159
|
+
* @returns RetrieveResponse
|
|
1259
2160
|
*/
|
|
1260
2161
|
retrieveWithOptions(WorkspaceId: string, tmpReq: RetrieveRequest, headers: {
|
|
1261
2162
|
[key: string]: string;
|
|
1262
2163
|
}, runtime: $Util.RuntimeOptions): Promise<RetrieveResponse>;
|
|
1263
2164
|
/**
|
|
1264
|
-
*
|
|
2165
|
+
* 召回测试
|
|
1265
2166
|
*
|
|
1266
|
-
* @param request RetrieveRequest
|
|
1267
|
-
* @
|
|
2167
|
+
* @param request - RetrieveRequest
|
|
2168
|
+
* @returns RetrieveResponse
|
|
1268
2169
|
*/
|
|
1269
2170
|
retrieve(WorkspaceId: string, request: RetrieveRequest): Promise<RetrieveResponse>;
|
|
1270
2171
|
/**
|
|
1271
|
-
*
|
|
2172
|
+
* 知识索引
|
|
1272
2173
|
*
|
|
1273
|
-
* @param tmpReq SubmitIndexAddDocumentsJobRequest
|
|
1274
|
-
* @param headers map
|
|
1275
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1276
|
-
* @
|
|
2174
|
+
* @param tmpReq - SubmitIndexAddDocumentsJobRequest
|
|
2175
|
+
* @param headers - map
|
|
2176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2177
|
+
* @returns SubmitIndexAddDocumentsJobResponse
|
|
1277
2178
|
*/
|
|
1278
2179
|
submitIndexAddDocumentsJobWithOptions(WorkspaceId: string, tmpReq: SubmitIndexAddDocumentsJobRequest, headers: {
|
|
1279
2180
|
[key: string]: string;
|
|
1280
2181
|
}, runtime: $Util.RuntimeOptions): Promise<SubmitIndexAddDocumentsJobResponse>;
|
|
1281
2182
|
/**
|
|
1282
|
-
*
|
|
2183
|
+
* 知识索引
|
|
1283
2184
|
*
|
|
1284
|
-
* @param request SubmitIndexAddDocumentsJobRequest
|
|
1285
|
-
* @
|
|
2185
|
+
* @param request - SubmitIndexAddDocumentsJobRequest
|
|
2186
|
+
* @returns SubmitIndexAddDocumentsJobResponse
|
|
1286
2187
|
*/
|
|
1287
2188
|
submitIndexAddDocumentsJob(WorkspaceId: string, request: SubmitIndexAddDocumentsJobRequest): Promise<SubmitIndexAddDocumentsJobResponse>;
|
|
1288
2189
|
/**
|
|
1289
|
-
*
|
|
2190
|
+
* 提交索引任务
|
|
1290
2191
|
*
|
|
1291
|
-
* @param request SubmitIndexJobRequest
|
|
1292
|
-
* @param headers map
|
|
1293
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
1294
|
-
* @
|
|
2192
|
+
* @param request - SubmitIndexJobRequest
|
|
2193
|
+
* @param headers - map
|
|
2194
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2195
|
+
* @returns SubmitIndexJobResponse
|
|
1295
2196
|
*/
|
|
1296
2197
|
submitIndexJobWithOptions(WorkspaceId: string, request: SubmitIndexJobRequest, headers: {
|
|
1297
2198
|
[key: string]: string;
|
|
1298
2199
|
}, runtime: $Util.RuntimeOptions): Promise<SubmitIndexJobResponse>;
|
|
1299
2200
|
/**
|
|
1300
|
-
*
|
|
2201
|
+
* 提交索引任务
|
|
1301
2202
|
*
|
|
1302
|
-
* @param request SubmitIndexJobRequest
|
|
1303
|
-
* @
|
|
2203
|
+
* @param request - SubmitIndexJobRequest
|
|
2204
|
+
* @returns SubmitIndexJobResponse
|
|
1304
2205
|
*/
|
|
1305
2206
|
submitIndexJob(WorkspaceId: string, request: SubmitIndexJobRequest): Promise<SubmitIndexJobResponse>;
|
|
1306
2207
|
}
|