@alicloud/bailian20231229 2.7.1 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +18 -0
- package/dist/client.js +72 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateIndexRequest.d.ts +3 -0
- package/dist/models/CreateIndexRequest.js +6 -0
- package/dist/models/CreateIndexRequest.js.map +1 -1
- package/dist/models/CreateIndexShrinkRequest.d.ts +3 -0
- package/dist/models/CreateIndexShrinkRequest.js +6 -0
- package/dist/models/CreateIndexShrinkRequest.js.map +1 -1
- package/dist/models/UpdateIndexRequest.d.ts +48 -0
- package/dist/models/UpdateIndexRequest.js +72 -0
- package/dist/models/UpdateIndexRequest.js.map +1 -0
- package/dist/models/UpdateIndexResponse.d.ts +19 -0
- package/dist/models/UpdateIndexResponse.js +69 -0
- package/dist/models/UpdateIndexResponse.js.map +1 -0
- package/dist/models/UpdateIndexResponseBody.d.ts +56 -0
- package/dist/models/UpdateIndexResponseBody.js +90 -0
- package/dist/models/UpdateIndexResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +13 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +85 -0
- package/src/models/CreateIndexRequest.ts +9 -0
- package/src/models/CreateIndexShrinkRequest.ts +9 -0
- package/src/models/UpdateIndexRequest.ts +75 -0
- package/src/models/UpdateIndexResponse.ts +40 -0
- package/src/models/UpdateIndexResponseBody.ts +92 -0
- package/src/models/model.ts +4 -0
|
@@ -425,6 +425,8 @@ export class CreateIndexRequest extends $dara.Model {
|
|
|
425
425
|
* regex
|
|
426
426
|
*/
|
|
427
427
|
chunkMode?: string;
|
|
428
|
+
database?: string;
|
|
429
|
+
datasourceCode?: string;
|
|
428
430
|
/**
|
|
429
431
|
* @remarks
|
|
430
432
|
* Whether to treat the first row of all .xlsx and .xls files as headers and concatenate them into each text chunk. This prevents the models from mistakenly interpreting headers as regular data rows.
|
|
@@ -462,6 +464,7 @@ export class CreateIndexRequest extends $dara.Model {
|
|
|
462
464
|
* downgrade
|
|
463
465
|
*/
|
|
464
466
|
pipelineRetrieveRateLimitStrategy?: string;
|
|
467
|
+
table?: string;
|
|
465
468
|
static names(): { [key: string]: string } {
|
|
466
469
|
return {
|
|
467
470
|
categoryIds: 'CategoryIds',
|
|
@@ -485,11 +488,14 @@ export class CreateIndexRequest extends $dara.Model {
|
|
|
485
488
|
structureType: 'StructureType',
|
|
486
489
|
tableIds: 'TableIds',
|
|
487
490
|
chunkMode: 'chunkMode',
|
|
491
|
+
database: 'database',
|
|
492
|
+
datasourceCode: 'datasourceCode',
|
|
488
493
|
enableHeaders: 'enableHeaders',
|
|
489
494
|
metaExtractColumns: 'metaExtractColumns',
|
|
490
495
|
pipelineCommercialCu: 'pipelineCommercialCu',
|
|
491
496
|
pipelineCommercialType: 'pipelineCommercialType',
|
|
492
497
|
pipelineRetrieveRateLimitStrategy: 'pipelineRetrieveRateLimitStrategy',
|
|
498
|
+
table: 'table',
|
|
493
499
|
};
|
|
494
500
|
}
|
|
495
501
|
|
|
@@ -516,11 +522,14 @@ export class CreateIndexRequest extends $dara.Model {
|
|
|
516
522
|
structureType: 'string',
|
|
517
523
|
tableIds: { 'type': 'array', 'itemType': 'string' },
|
|
518
524
|
chunkMode: 'string',
|
|
525
|
+
database: 'string',
|
|
526
|
+
datasourceCode: 'string',
|
|
519
527
|
enableHeaders: 'boolean',
|
|
520
528
|
metaExtractColumns: { 'type': 'array', 'itemType': CreateIndexRequestMetaExtractColumns },
|
|
521
529
|
pipelineCommercialCu: 'number',
|
|
522
530
|
pipelineCommercialType: 'string',
|
|
523
531
|
pipelineRetrieveRateLimitStrategy: 'string',
|
|
532
|
+
table: 'string',
|
|
524
533
|
};
|
|
525
534
|
}
|
|
526
535
|
|
|
@@ -196,6 +196,8 @@ export class CreateIndexShrinkRequest extends $dara.Model {
|
|
|
196
196
|
* regex
|
|
197
197
|
*/
|
|
198
198
|
chunkMode?: string;
|
|
199
|
+
database?: string;
|
|
200
|
+
datasourceCode?: string;
|
|
199
201
|
/**
|
|
200
202
|
* @remarks
|
|
201
203
|
* Whether to treat the first row of all .xlsx and .xls files as headers and concatenate them into each text chunk. This prevents the models from mistakenly interpreting headers as regular data rows.
|
|
@@ -233,6 +235,7 @@ export class CreateIndexShrinkRequest extends $dara.Model {
|
|
|
233
235
|
* downgrade
|
|
234
236
|
*/
|
|
235
237
|
pipelineRetrieveRateLimitStrategy?: string;
|
|
238
|
+
table?: string;
|
|
236
239
|
static names(): { [key: string]: string } {
|
|
237
240
|
return {
|
|
238
241
|
categoryIdsShrink: 'CategoryIds',
|
|
@@ -256,11 +259,14 @@ export class CreateIndexShrinkRequest extends $dara.Model {
|
|
|
256
259
|
structureType: 'StructureType',
|
|
257
260
|
tableIdsShrink: 'TableIds',
|
|
258
261
|
chunkMode: 'chunkMode',
|
|
262
|
+
database: 'database',
|
|
263
|
+
datasourceCode: 'datasourceCode',
|
|
259
264
|
enableHeaders: 'enableHeaders',
|
|
260
265
|
metaExtractColumnsShrink: 'metaExtractColumns',
|
|
261
266
|
pipelineCommercialCu: 'pipelineCommercialCu',
|
|
262
267
|
pipelineCommercialType: 'pipelineCommercialType',
|
|
263
268
|
pipelineRetrieveRateLimitStrategy: 'pipelineRetrieveRateLimitStrategy',
|
|
269
|
+
table: 'table',
|
|
264
270
|
};
|
|
265
271
|
}
|
|
266
272
|
|
|
@@ -287,11 +293,14 @@ export class CreateIndexShrinkRequest extends $dara.Model {
|
|
|
287
293
|
structureType: 'string',
|
|
288
294
|
tableIdsShrink: 'string',
|
|
289
295
|
chunkMode: 'string',
|
|
296
|
+
database: 'string',
|
|
297
|
+
datasourceCode: 'string',
|
|
290
298
|
enableHeaders: 'boolean',
|
|
291
299
|
metaExtractColumnsShrink: 'string',
|
|
292
300
|
pipelineCommercialCu: 'number',
|
|
293
301
|
pipelineCommercialType: 'string',
|
|
294
302
|
pipelineRetrieveRateLimitStrategy: 'string',
|
|
303
|
+
table: 'string',
|
|
295
304
|
};
|
|
296
305
|
}
|
|
297
306
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateIndexRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 100
|
|
9
|
+
*/
|
|
10
|
+
denseSimilarityTopK?: number;
|
|
11
|
+
description?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* This parameter is required.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 79c0alxxxx
|
|
18
|
+
*/
|
|
19
|
+
id?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 3
|
|
24
|
+
*/
|
|
25
|
+
pipelineCommercialCu?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* standard
|
|
29
|
+
*/
|
|
30
|
+
pipelineCommercialType?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 0.01
|
|
34
|
+
*/
|
|
35
|
+
rerankMinScore?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 100
|
|
39
|
+
*/
|
|
40
|
+
sparseSimilarityTopK?: number;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
denseSimilarityTopK: 'DenseSimilarityTopK',
|
|
44
|
+
description: 'Description',
|
|
45
|
+
id: 'Id',
|
|
46
|
+
name: 'Name',
|
|
47
|
+
pipelineCommercialCu: 'PipelineCommercialCu',
|
|
48
|
+
pipelineCommercialType: 'PipelineCommercialType',
|
|
49
|
+
rerankMinScore: 'RerankMinScore',
|
|
50
|
+
sparseSimilarityTopK: 'SparseSimilarityTopK',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static types(): { [key: string]: any } {
|
|
55
|
+
return {
|
|
56
|
+
denseSimilarityTopK: 'number',
|
|
57
|
+
description: 'string',
|
|
58
|
+
id: 'string',
|
|
59
|
+
name: 'string',
|
|
60
|
+
pipelineCommercialCu: 'number',
|
|
61
|
+
pipelineCommercialType: 'string',
|
|
62
|
+
rerankMinScore: 'string',
|
|
63
|
+
sparseSimilarityTopK: 'number',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
super.validate();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
constructor(map?: { [key: string]: any }) {
|
|
72
|
+
super(map);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateIndexResponseBody } from "./UpdateIndexResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateIndexResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateIndexResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateIndexResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateIndexResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 79c0alxxxx
|
|
9
|
+
*/
|
|
10
|
+
id?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
id: 'Id',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
id: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class UpdateIndexResponseBody extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* Success
|
|
36
|
+
*/
|
|
37
|
+
code?: string;
|
|
38
|
+
data?: UpdateIndexResponseBodyData;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* Required parameter(%s) missing or invalid, please check the request parameters.
|
|
42
|
+
*/
|
|
43
|
+
message?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* 17204B98-7734-4F9A-8464-xxx
|
|
47
|
+
*/
|
|
48
|
+
requestId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* 200
|
|
52
|
+
*/
|
|
53
|
+
status?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* true
|
|
57
|
+
*/
|
|
58
|
+
success?: boolean;
|
|
59
|
+
static names(): { [key: string]: string } {
|
|
60
|
+
return {
|
|
61
|
+
code: 'Code',
|
|
62
|
+
data: 'Data',
|
|
63
|
+
message: 'Message',
|
|
64
|
+
requestId: 'RequestId',
|
|
65
|
+
status: 'Status',
|
|
66
|
+
success: 'Success',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
code: 'string',
|
|
73
|
+
data: UpdateIndexResponseBodyData,
|
|
74
|
+
message: 'string',
|
|
75
|
+
requestId: 'string',
|
|
76
|
+
status: 'string',
|
|
77
|
+
success: 'boolean',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
83
|
+
(this.data as any).validate();
|
|
84
|
+
}
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
constructor(map?: { [key: string]: any }) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -94,6 +94,7 @@ export { UpdateAndPublishAgentSelectiveRequestApplicationConfigWorkFlows } from
|
|
|
94
94
|
export { UpdateAndPublishAgentSelectiveRequestApplicationConfig } from './UpdateAndPublishAgentSelectiveRequest';
|
|
95
95
|
export { UpdateAndPublishAgentSelectiveRequestSampleLibrary } from './UpdateAndPublishAgentSelectiveRequest';
|
|
96
96
|
export { UpdateFileTagResponseBodyData } from './UpdateFileTagResponseBody';
|
|
97
|
+
export { UpdateIndexResponseBodyData } from './UpdateIndexResponseBody';
|
|
97
98
|
export { AddCategoryRequest } from './AddCategoryRequest';
|
|
98
99
|
export { AddCategoryResponseBody } from './AddCategoryResponseBody';
|
|
99
100
|
export { AddCategoryResponse } from './AddCategoryResponse';
|
|
@@ -242,6 +243,9 @@ export { UpdateFileTagRequest } from './UpdateFileTagRequest';
|
|
|
242
243
|
export { UpdateFileTagShrinkRequest } from './UpdateFileTagShrinkRequest';
|
|
243
244
|
export { UpdateFileTagResponseBody } from './UpdateFileTagResponseBody';
|
|
244
245
|
export { UpdateFileTagResponse } from './UpdateFileTagResponse';
|
|
246
|
+
export { UpdateIndexRequest } from './UpdateIndexRequest';
|
|
247
|
+
export { UpdateIndexResponseBody } from './UpdateIndexResponseBody';
|
|
248
|
+
export { UpdateIndexResponse } from './UpdateIndexResponse';
|
|
245
249
|
export { UpdateMemoryRequest } from './UpdateMemoryRequest';
|
|
246
250
|
export { UpdateMemoryResponseBody } from './UpdateMemoryResponseBody';
|
|
247
251
|
export { UpdateMemoryResponse } from './UpdateMemoryResponse';
|