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