@alicloud/bailian20231229 2.5.0 → 2.6.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 +102 -20
- package/dist/client.js +129 -20
- package/dist/client.js.map +1 -1
- package/dist/models/ApplyTempStorageLeaseRequest.d.ts +29 -0
- package/dist/models/ApplyTempStorageLeaseRequest.js +60 -0
- package/dist/models/ApplyTempStorageLeaseRequest.js.map +1 -0
- package/dist/models/ApplyTempStorageLeaseResponse.d.ts +19 -0
- package/dist/models/ApplyTempStorageLeaseResponse.js +69 -0
- package/dist/models/ApplyTempStorageLeaseResponse.js.map +1 -0
- package/dist/models/ApplyTempStorageLeaseResponseBody.d.ts +80 -0
- package/dist/models/ApplyTempStorageLeaseResponseBody.js +118 -0
- package/dist/models/ApplyTempStorageLeaseResponseBody.js.map +1 -0
- package/dist/models/ChangeParseSettingRequest.d.ts +27 -0
- package/dist/models/ChangeParseSettingRequest.js.map +1 -1
- package/dist/models/ChangeParseSettingResponseBody.d.ts +25 -0
- package/dist/models/ChangeParseSettingResponseBody.js.map +1 -1
- package/dist/models/ChangeParseSettingShrinkRequest.d.ts +15 -0
- package/dist/models/ChangeParseSettingShrinkRequest.js.map +1 -1
- package/dist/models/CreateIndexRequest.d.ts +147 -44
- package/dist/models/CreateIndexRequest.js.map +1 -1
- package/dist/models/CreateIndexResponseBody.d.ts +5 -5
- package/dist/models/CreateIndexShrinkRequest.d.ts +81 -44
- package/dist/models/CreateIndexShrinkRequest.js.map +1 -1
- package/dist/models/DeleteChunkRequest.d.ts +4 -0
- package/dist/models/DeleteChunkRequest.js.map +1 -1
- package/dist/models/DeleteChunkResponseBody.d.ts +19 -1
- package/dist/models/DeleteChunkResponseBody.js.map +1 -1
- package/dist/models/DeleteChunkShrinkRequest.d.ts +4 -0
- package/dist/models/DeleteChunkShrinkRequest.js.map +1 -1
- package/dist/models/GetAvailableParserTypesRequest.d.ts +2 -0
- package/dist/models/GetAvailableParserTypesRequest.js.map +1 -1
- package/dist/models/GetAvailableParserTypesResponseBody.d.ts +41 -0
- package/dist/models/GetAvailableParserTypesResponseBody.js.map +1 -1
- package/dist/models/GetParseSettingsRequest.d.ts +3 -0
- package/dist/models/GetParseSettingsRequest.js.map +1 -1
- package/dist/models/GetParseSettingsResponseBody.d.ts +58 -0
- package/dist/models/GetParseSettingsResponseBody.js.map +1 -1
- package/dist/models/ListFileRequest.d.ts +2 -0
- package/dist/models/ListFileRequest.js.map +1 -1
- package/dist/models/ListFileResponseBody.d.ts +11 -0
- package/dist/models/ListFileResponseBody.js.map +1 -1
- package/dist/models/ListIndexFileDetailsResponseBody.d.ts +72 -0
- package/dist/models/ListIndexFileDetailsResponseBody.js.map +1 -1
- package/dist/models/UpdateChunkRequest.d.ts +19 -0
- package/dist/models/UpdateChunkRequest.js.map +1 -1
- package/dist/models/UpdateChunkResponseBody.d.ts +19 -1
- package/dist/models/UpdateChunkResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +15 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +133 -20
- package/src/models/ApplyTempStorageLeaseRequest.ts +44 -0
- package/src/models/ApplyTempStorageLeaseResponse.ts +40 -0
- package/src/models/ApplyTempStorageLeaseResponseBody.ts +135 -0
- package/src/models/ChangeParseSettingRequest.ts +27 -0
- package/src/models/ChangeParseSettingResponseBody.ts +25 -0
- package/src/models/ChangeParseSettingShrinkRequest.ts +15 -0
- package/src/models/CreateIndexRequest.ts +147 -44
- package/src/models/CreateIndexResponseBody.ts +5 -5
- package/src/models/CreateIndexShrinkRequest.ts +81 -44
- package/src/models/DeleteChunkRequest.ts +4 -0
- package/src/models/DeleteChunkResponseBody.ts +19 -1
- package/src/models/DeleteChunkShrinkRequest.ts +4 -0
- package/src/models/GetAvailableParserTypesRequest.ts +2 -0
- package/src/models/GetAvailableParserTypesResponseBody.ts +41 -0
- package/src/models/GetParseSettingsRequest.ts +3 -0
- package/src/models/GetParseSettingsResponseBody.ts +58 -0
- package/src/models/ListFileRequest.ts +2 -0
- package/src/models/ListFileResponseBody.ts +11 -0
- package/src/models/ListIndexFileDetailsResponseBody.ts +72 -0
- package/src/models/UpdateChunkRequest.ts +19 -0
- package/src/models/UpdateChunkResponseBody.ts +19 -1
- package/src/models/model.ts +5 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ApplyTempStorageLeaseResponseBody = exports.ApplyTempStorageLeaseResponseBodyData = exports.ApplyTempStorageLeaseResponseBodyDataParam = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ApplyTempStorageLeaseResponseBodyDataParam extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
headers: 'Headers',
|
|
43
|
+
method: 'Method',
|
|
44
|
+
url: 'Url',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
headers: 'any',
|
|
50
|
+
method: 'string',
|
|
51
|
+
url: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.ApplyTempStorageLeaseResponseBodyDataParam = ApplyTempStorageLeaseResponseBodyDataParam;
|
|
62
|
+
class ApplyTempStorageLeaseResponseBodyData extends $dara.Model {
|
|
63
|
+
static names() {
|
|
64
|
+
return {
|
|
65
|
+
param: 'Param',
|
|
66
|
+
tempStorageLeaseId: 'TempStorageLeaseId',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
static types() {
|
|
70
|
+
return {
|
|
71
|
+
param: ApplyTempStorageLeaseResponseBodyDataParam,
|
|
72
|
+
tempStorageLeaseId: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
validate() {
|
|
76
|
+
if (this.param && typeof this.param.validate === 'function') {
|
|
77
|
+
this.param.validate();
|
|
78
|
+
}
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
constructor(map) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.ApplyTempStorageLeaseResponseBodyData = ApplyTempStorageLeaseResponseBodyData;
|
|
86
|
+
class ApplyTempStorageLeaseResponseBody extends $dara.Model {
|
|
87
|
+
static names() {
|
|
88
|
+
return {
|
|
89
|
+
code: 'Code',
|
|
90
|
+
data: 'Data',
|
|
91
|
+
message: 'Message',
|
|
92
|
+
requestId: 'RequestId',
|
|
93
|
+
status: 'Status',
|
|
94
|
+
success: 'Success',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
static types() {
|
|
98
|
+
return {
|
|
99
|
+
code: 'string',
|
|
100
|
+
data: ApplyTempStorageLeaseResponseBodyData,
|
|
101
|
+
message: 'string',
|
|
102
|
+
requestId: 'string',
|
|
103
|
+
status: 'string',
|
|
104
|
+
success: 'boolean',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
validate() {
|
|
108
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
109
|
+
this.data.validate();
|
|
110
|
+
}
|
|
111
|
+
super.validate();
|
|
112
|
+
}
|
|
113
|
+
constructor(map) {
|
|
114
|
+
super(map);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.ApplyTempStorageLeaseResponseBody = ApplyTempStorageLeaseResponseBody;
|
|
118
|
+
//# sourceMappingURL=ApplyTempStorageLeaseResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplyTempStorageLeaseResponseBody.js","sourceRoot":"","sources":["../../src/models/ApplyTempStorageLeaseResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IAgBzE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,QAAQ;SACd,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvCD,gGAuCC;AAED,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAOpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,kBAAkB,EAAE,oBAAoB;SACzC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,0CAA0C;YACjD,kBAAkB,EAAE,QAAQ;SAC7B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,KAAK,IAAI,OAAQ,IAAI,CAAC,KAAa,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnE,IAAI,CAAC,KAAa,CAAC,QAAQ,EAAE,CAAC;QACjC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,sFA+BC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAuBhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,qCAAqC;YAC3C,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvDD,8EAuDC"}
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ChangeParseSettingRequestParserConfig extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The model name.
|
|
6
|
+
*
|
|
7
|
+
* Valid values:
|
|
8
|
+
*
|
|
9
|
+
* * qwen-vl-max
|
|
10
|
+
* * qwen-vl-plus
|
|
11
|
+
*
|
|
4
12
|
* @example
|
|
5
13
|
* qwen-vl-max
|
|
6
14
|
*/
|
|
7
15
|
modelName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The prompt used for parsing.
|
|
19
|
+
*/
|
|
8
20
|
modelPrompt?: string;
|
|
9
21
|
static names(): {
|
|
10
22
|
[key: string]: string;
|
|
@@ -20,6 +32,8 @@ export declare class ChangeParseSettingRequestParserConfig extends $dara.Model {
|
|
|
20
32
|
export declare class ChangeParseSettingRequest extends $dara.Model {
|
|
21
33
|
/**
|
|
22
34
|
* @remarks
|
|
35
|
+
* The category ID, which is the `CategoryId` returned by **AddCategory**. To view the category ID, click the ID icon next to the category name on the Unstructured Data tab of the [Application Data](https://bailian.console.alibabacloud.com/?tab=app#/data-center) page.
|
|
36
|
+
*
|
|
23
37
|
* This parameter is required.
|
|
24
38
|
*
|
|
25
39
|
* @example
|
|
@@ -28,6 +42,8 @@ export declare class ChangeParseSettingRequest extends $dara.Model {
|
|
|
28
42
|
categoryId?: string;
|
|
29
43
|
/**
|
|
30
44
|
* @remarks
|
|
45
|
+
* The file type. Valid values: pdf, docx, and doc.
|
|
46
|
+
*
|
|
31
47
|
* This parameter is required.
|
|
32
48
|
*
|
|
33
49
|
* @example
|
|
@@ -36,12 +52,23 @@ export declare class ChangeParseSettingRequest extends $dara.Model {
|
|
|
36
52
|
fileType?: string;
|
|
37
53
|
/**
|
|
38
54
|
* @remarks
|
|
55
|
+
* The parser code. Valid values:
|
|
56
|
+
*
|
|
57
|
+
* * DOCMIND (Intelligent parsing)
|
|
58
|
+
* * DOCMIND_DIGITAL (Digital parsing)
|
|
59
|
+
* * DOCMIND_LLM_VERSION (LLM parsing)
|
|
60
|
+
* * DASH_QWEN_VL_PARSER (Qwen VL parsing)
|
|
61
|
+
*
|
|
39
62
|
* This parameter is required.
|
|
40
63
|
*
|
|
41
64
|
* @example
|
|
42
65
|
* DOCMIND
|
|
43
66
|
*/
|
|
44
67
|
parser?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The parser configuration. Currently, this is available only for Qwen VL parsing.
|
|
71
|
+
*/
|
|
45
72
|
parserConfig?: ChangeParseSettingRequestParserConfig;
|
|
46
73
|
static names(): {
|
|
47
74
|
[key: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangeParseSettingRequest.js","sourceRoot":"","sources":["../../src/models/ChangeParseSettingRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ChangeParseSettingRequest.js","sourceRoot":"","sources":["../../src/models/ChangeParseSettingRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAmBpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxCD,sFAwCC;AAED,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAyCxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,qCAAqC;SACpD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,YAAY,IAAI,OAAQ,IAAI,CAAC,YAAoB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjF,IAAI,CAAC,YAAoB,CAAC,QAAQ,EAAE,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArED,8DAqEC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ChangeParseSettingResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The result of the modification.
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* true
|
|
6
9
|
*/
|
|
@@ -18,27 +21,49 @@ export declare class ChangeParseSettingResponseBodyData extends $dara.Model {
|
|
|
18
21
|
}
|
|
19
22
|
export declare class ChangeParseSettingResponseBody extends $dara.Model {
|
|
20
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The status code.
|
|
26
|
+
*
|
|
21
27
|
* @example
|
|
22
28
|
* InvalidParameter
|
|
23
29
|
*/
|
|
24
30
|
code?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The returned data fields.
|
|
34
|
+
*/
|
|
25
35
|
data?: ChangeParseSettingResponseBodyData;
|
|
26
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The error message.
|
|
39
|
+
*
|
|
27
40
|
* @example
|
|
28
41
|
* User not authorized to operate on the specified resource.
|
|
29
42
|
*/
|
|
30
43
|
message?: string;
|
|
31
44
|
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The request ID.
|
|
47
|
+
*
|
|
32
48
|
* @example
|
|
33
49
|
* 7BA8ADD9-53D6-53F0-918F-A1E776AD230E
|
|
34
50
|
*/
|
|
35
51
|
requestId?: string;
|
|
36
52
|
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The HTTP status code returned.
|
|
55
|
+
*
|
|
37
56
|
* @example
|
|
38
57
|
* 200
|
|
39
58
|
*/
|
|
40
59
|
status?: string;
|
|
41
60
|
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Indicates whether the call is successful. Valid values:
|
|
63
|
+
*
|
|
64
|
+
* * true
|
|
65
|
+
* * false
|
|
66
|
+
*
|
|
42
67
|
* @example
|
|
43
68
|
* true
|
|
44
69
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangeParseSettingResponseBody.js","sourceRoot":"","sources":["../../src/models/ChangeParseSettingResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ChangeParseSettingResponseBody.js","sourceRoot":"","sources":["../../src/models/ChangeParseSettingResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IASjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,SAAS;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,gFA4BC;AAED,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAiD7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,kCAAkC;YACxC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjFD,wEAiFC"}
|
|
@@ -2,6 +2,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ChangeParseSettingShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* The category ID, which is the `CategoryId` returned by **AddCategory**. To view the category ID, click the ID icon next to the category name on the Unstructured Data tab of the [Application Data](https://bailian.console.alibabacloud.com/?tab=app#/data-center) page.
|
|
6
|
+
*
|
|
5
7
|
* This parameter is required.
|
|
6
8
|
*
|
|
7
9
|
* @example
|
|
@@ -10,6 +12,8 @@ export declare class ChangeParseSettingShrinkRequest extends $dara.Model {
|
|
|
10
12
|
categoryId?: string;
|
|
11
13
|
/**
|
|
12
14
|
* @remarks
|
|
15
|
+
* The file type. Valid values: pdf, docx, and doc.
|
|
16
|
+
*
|
|
13
17
|
* This parameter is required.
|
|
14
18
|
*
|
|
15
19
|
* @example
|
|
@@ -18,12 +22,23 @@ export declare class ChangeParseSettingShrinkRequest extends $dara.Model {
|
|
|
18
22
|
fileType?: string;
|
|
19
23
|
/**
|
|
20
24
|
* @remarks
|
|
25
|
+
* The parser code. Valid values:
|
|
26
|
+
*
|
|
27
|
+
* * DOCMIND (Intelligent parsing)
|
|
28
|
+
* * DOCMIND_DIGITAL (Digital parsing)
|
|
29
|
+
* * DOCMIND_LLM_VERSION (LLM parsing)
|
|
30
|
+
* * DASH_QWEN_VL_PARSER (Qwen VL parsing)
|
|
31
|
+
*
|
|
21
32
|
* This parameter is required.
|
|
22
33
|
*
|
|
23
34
|
* @example
|
|
24
35
|
* DOCMIND
|
|
25
36
|
*/
|
|
26
37
|
parser?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The parser configuration. Currently, this is available only for Qwen VL parsing.
|
|
41
|
+
*/
|
|
27
42
|
parserConfigShrink?: string;
|
|
28
43
|
static names(): {
|
|
29
44
|
[key: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangeParseSettingShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ChangeParseSettingShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ChangeParseSettingShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ChangeParseSettingShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAyC9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,cAAc;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,QAAQ;SAC7B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlED,0EAkEC"}
|
|
@@ -79,11 +79,77 @@ export declare class CreateIndexRequestDataSource extends $dara.Model {
|
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
export declare class CreateIndexRequestMetaExtractColumns extends $dara.Model {
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The description of the metadata field. The description must be 0 to 1,000 characters in length, and can contain Chinese characters, letters, digits, underscores (_), hyphens (-), periods (.), and colons (:). This parameter is left empty by default.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* AuthorName
|
|
88
|
+
*/
|
|
82
89
|
desc?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* When set to true, the key and value of this metadata filed will participate in the generation process of the model, together with the chunk. Valid values:
|
|
93
|
+
*
|
|
94
|
+
* * true
|
|
95
|
+
* * false
|
|
96
|
+
*
|
|
97
|
+
* Default value: false.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* false
|
|
101
|
+
*/
|
|
83
102
|
enableLlm?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* When set to true, the key and value of this metadata filed will participate in the knowledge base retrieval, together with the chunk. Valid values:
|
|
106
|
+
*
|
|
107
|
+
* * true
|
|
108
|
+
* * false
|
|
109
|
+
*
|
|
110
|
+
* Default value: false.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* false
|
|
114
|
+
*/
|
|
84
115
|
enableSearch?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The metadata key. It must be 1 to 50 characters in length and must be English letters or underscores. If you specify this parameter, the `Value` and `Type` parameters are required.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* author
|
|
122
|
+
*/
|
|
85
123
|
key?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The type of the metadata field. Valid values:
|
|
127
|
+
*
|
|
128
|
+
* * constant
|
|
129
|
+
* * variable
|
|
130
|
+
* * custom_prompt
|
|
131
|
+
* * regular
|
|
132
|
+
* * keywords
|
|
133
|
+
*
|
|
134
|
+
* Enumerated value:
|
|
135
|
+
*
|
|
136
|
+
* * constant: constant extraction.
|
|
137
|
+
* * keywords: keyword extraction.
|
|
138
|
+
* * custom_prompt: LLM.
|
|
139
|
+
* * variable: variable extraction.
|
|
140
|
+
* * regular: regular expression.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* constant
|
|
144
|
+
*/
|
|
86
145
|
type?: string;
|
|
146
|
+
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* The metadata value.
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* Tim
|
|
152
|
+
*/
|
|
87
153
|
value?: string;
|
|
88
154
|
static names(): {
|
|
89
155
|
[key: string]: string;
|
|
@@ -99,22 +165,26 @@ export declare class CreateIndexRequestMetaExtractColumns extends $dara.Model {
|
|
|
99
165
|
export declare class CreateIndexRequest extends $dara.Model {
|
|
100
166
|
/**
|
|
101
167
|
* @remarks
|
|
102
|
-
* The
|
|
168
|
+
* The files to imported to the knowledge base. Specify the category IDs. All files under the categories will be imported (up to 10,000 files). To add more files later, call **SubmitIndexAddDocumentsJob**.
|
|
103
169
|
*/
|
|
104
170
|
categoryIds?: string[];
|
|
105
171
|
/**
|
|
106
172
|
* @remarks
|
|
107
|
-
* The
|
|
173
|
+
* The chunk size, which is the maximum number of characters in each chunk. Text exceeding this length may be truncated.
|
|
108
174
|
*
|
|
109
|
-
*
|
|
175
|
+
* Valid values: 1 to 6000. Default value: 500.
|
|
110
176
|
*
|
|
111
|
-
* >
|
|
177
|
+
* > If `ChunkSize` is set to a value less than 100, `OverlapSize` is required. Or, if you do not pass these two parameters, the system uses the default values of the two.
|
|
112
178
|
*
|
|
113
179
|
* @example
|
|
114
180
|
* 128
|
|
115
181
|
*/
|
|
116
182
|
chunkSize?: number;
|
|
117
183
|
columns?: CreateIndexRequestColumns[];
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* > This parameter is not available. Do not specify this parameter.
|
|
187
|
+
*/
|
|
118
188
|
createIndexType?: string;
|
|
119
189
|
/**
|
|
120
190
|
* @remarks
|
|
@@ -128,34 +198,48 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
128
198
|
description?: string;
|
|
129
199
|
/**
|
|
130
200
|
* @remarks
|
|
131
|
-
* The
|
|
201
|
+
* The files to imported to the knowledge base. Specify the file IDs to import (up to 10,000 files). To add more files later, call **SubmitIndexAddDocumentsJob**.
|
|
132
202
|
*/
|
|
133
203
|
documentIds?: string[];
|
|
134
204
|
/**
|
|
135
205
|
* @remarks
|
|
136
|
-
* The
|
|
206
|
+
* The embedding model used in the knowledge base. The embedding model converts the original input prompt and knowledge text into numerical embeddings for similarity comparison. The default and only model available is text-embedding-v2. It supports multiple languages including Chinese and English and normalizes the embedding results. For more information, see [Embedding](https://help.aliyun.com/document_detail/2842587.html). Valid values:
|
|
137
207
|
*
|
|
138
208
|
* * text-embedding-v2
|
|
139
209
|
*
|
|
140
|
-
* The default value is null, which means using
|
|
210
|
+
* The default value is null, which means using text-embedding-v2.
|
|
141
211
|
*
|
|
142
212
|
* @example
|
|
143
213
|
* text-embedding-v2
|
|
144
214
|
*/
|
|
145
215
|
embeddingModelName?: string;
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* Whether to enable rewriting for multi-turn conversations. Valid values:
|
|
219
|
+
*
|
|
220
|
+
* * true
|
|
221
|
+
* * false
|
|
222
|
+
*
|
|
223
|
+
* Default value: true.
|
|
224
|
+
*
|
|
225
|
+
* @example
|
|
226
|
+
* true
|
|
227
|
+
*/
|
|
146
228
|
enableRewrite?: boolean;
|
|
147
229
|
/**
|
|
148
230
|
* @remarks
|
|
149
|
-
* The name of the knowledge base. The name must be 1 to 20 characters in length and can contain characters
|
|
231
|
+
* The name of the knowledge base. The name must be 1 to 20 characters in length, and can contain Chinese characters, letters, digits, underscores (_), hyphens (-), periods (.), and colons (:).
|
|
150
232
|
*
|
|
151
233
|
* This parameter is required.
|
|
152
234
|
*/
|
|
153
235
|
name?: string;
|
|
154
236
|
/**
|
|
155
237
|
* @remarks
|
|
156
|
-
* The overlap
|
|
238
|
+
* The overlap size, which is the number of overlapping characters between two consecutive chunks. Valid values: 0 to 1024.
|
|
239
|
+
*
|
|
240
|
+
* Default value: 100.
|
|
157
241
|
*
|
|
158
|
-
*
|
|
242
|
+
* > `OverlapSize` must be less than `ChunkSize`. Otherwise, chunking errors may occur.
|
|
159
243
|
*
|
|
160
244
|
* @example
|
|
161
245
|
* 16
|
|
@@ -163,9 +247,9 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
163
247
|
overlapSize?: number;
|
|
164
248
|
/**
|
|
165
249
|
* @remarks
|
|
166
|
-
*
|
|
250
|
+
* The similarity threshold. Only chunks with a similarity score higher than this value can be recalled. This parameter is used to filter chunks returned by the re-rank model. Valid values: 0.01 to 1.00.
|
|
167
251
|
*
|
|
168
|
-
* Default value: 0.
|
|
252
|
+
* Default value: 0.01.
|
|
169
253
|
*
|
|
170
254
|
* @example
|
|
171
255
|
* 0.20
|
|
@@ -173,14 +257,14 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
173
257
|
rerankMinScore?: number;
|
|
174
258
|
/**
|
|
175
259
|
* @remarks
|
|
176
|
-
* The
|
|
260
|
+
* The re-ranking model used in the knowledge base. The re-rank model is a scoring system outside the knowledge base. It calculates the similarity score of the query and text chunks in the knowledge base and ranks them in descending order. Then, the model returns the top K chunks with the highest scores. Valid values:
|
|
177
261
|
*
|
|
178
262
|
* * gte-rerank-hybrid
|
|
179
263
|
* * gte-rerank
|
|
180
264
|
*
|
|
181
|
-
* The default value is empty, which means using
|
|
265
|
+
* The default value is empty, which means using gte-rerank-hybrid.
|
|
182
266
|
*
|
|
183
|
-
* >
|
|
267
|
+
* > If you need only semantic ranking, we recommend gte-rerank. If you need both semantic ranking and text matching features to ensure relevance, we recommend gte-rerank-hybrid.
|
|
184
268
|
*
|
|
185
269
|
* @example
|
|
186
270
|
* gte-rerank-hybrid
|
|
@@ -188,21 +272,7 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
188
272
|
rerankModelName?: string;
|
|
189
273
|
/**
|
|
190
274
|
* @remarks
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
* * \\n: line break
|
|
194
|
-
* * ,: Chinese comma
|
|
195
|
-
* * ,: English comma
|
|
196
|
-
* * 。 : Chinese full stop
|
|
197
|
-
* * .: English full stop
|
|
198
|
-
* * ! : Chinese exclamation point
|
|
199
|
-
* * ! : English exclamation point
|
|
200
|
-
* * ;: Chinese semicolon
|
|
201
|
-
* * ;: English semicolon
|
|
202
|
-
* * ?: Chinese question mark
|
|
203
|
-
* * ?: English question mark
|
|
204
|
-
*
|
|
205
|
-
* The default value is empty, which means using the intelligent splitting method.
|
|
275
|
+
* > This parameter is not available. Do not specify this parameter.
|
|
206
276
|
*
|
|
207
277
|
* @example
|
|
208
278
|
* ,
|
|
@@ -210,7 +280,7 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
210
280
|
separator?: string;
|
|
211
281
|
/**
|
|
212
282
|
* @remarks
|
|
213
|
-
* The ID of the
|
|
283
|
+
* The ID of the AnalyticDB for PostgreSQL instance. Required only when `SinkType` is set to ADB. Get the ID on the [Instances](https://gpdbnext.console.aliyun.com/gpdb/list) page of AnalyticDB for PostgreSQL.
|
|
214
284
|
*
|
|
215
285
|
* @example
|
|
216
286
|
* gp-bp321093j84
|
|
@@ -218,7 +288,7 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
218
288
|
sinkInstanceId?: string;
|
|
219
289
|
/**
|
|
220
290
|
* @remarks
|
|
221
|
-
* The region of the
|
|
291
|
+
* The region of the AnalyticDB for PostgreSQL instance. Required only when `SinkType` is set to ADB. Call [DescribeRegions](https://www.alibabacloud.com/help/zh/analyticdb/analyticdb-for-postgresql/developer-reference/api-gpdb-2016-05-03-describeregions?spm=a2c63.p38356.0.i3) to obtain the region list.
|
|
222
292
|
*
|
|
223
293
|
* @example
|
|
224
294
|
* cn-hangzhou
|
|
@@ -226,12 +296,12 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
226
296
|
sinkRegion?: string;
|
|
227
297
|
/**
|
|
228
298
|
* @remarks
|
|
229
|
-
* The vector storage type of the knowledge base. For more information, see [
|
|
299
|
+
* The vector storage type of the knowledge base. For more information, see [Knowledge base](https://help.aliyun.com/document_detail/2807740.html). Valid values:
|
|
230
300
|
*
|
|
231
|
-
* *
|
|
232
|
-
* * ADB: AnalyticDB for PostgreSQL database. If you need advanced features, such as managing, auditing, and monitoring, we recommend
|
|
301
|
+
* * BUILT_IN: The vector data is hosted by Alibaba Cloud Model Studio.
|
|
302
|
+
* * ADB: AnalyticDB for PostgreSQL database. If you need advanced features, such as managing, auditing, and monitoring, we recommend ADB.
|
|
233
303
|
*
|
|
234
|
-
* >
|
|
304
|
+
* > If you have not used AnalyticDB for AnalyticDB in Model Studio before, go to the [Create Knowledge Base](https://bailian.console.alibabacloud.com/#/knowledge-base/create) page, select ADB-PG as Vector Storage Type, and follow the instructions to grant permissions. If you specify ADB, the `SinkInstanceId` and `SinkRegion` parameters are required.
|
|
235
305
|
*
|
|
236
306
|
* This parameter is required.
|
|
237
307
|
*
|
|
@@ -241,14 +311,16 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
241
311
|
sinkType?: string;
|
|
242
312
|
/**
|
|
243
313
|
* @remarks
|
|
244
|
-
*
|
|
314
|
+
* > This parameter is required in the latest version of the SDK. Otherwise, when you call SubmitIndexJob, an error will occur: Required parameter(data_sources) missing or invalid.
|
|
245
315
|
*
|
|
246
|
-
*
|
|
247
|
-
* * DATA_CENTER_FILE: The document type. Import one or more documents from Data Center.
|
|
316
|
+
* The source of the imported data. Valid values:
|
|
248
317
|
*
|
|
249
|
-
*
|
|
318
|
+
* * DATA_CENTER_CATEGORY: The category type, that is to import all files in one or more specified categories in [Application Data](https://modelstudio.console.alibabacloud.com/?tab=app#/data-center).
|
|
319
|
+
* * DATA_CENTER_FILE: The file type, that is to import one or more specified files in [Application Data](https://modelstudio.console.alibabacloud.com/?tab=app#/data-center).
|
|
250
320
|
*
|
|
251
|
-
* >
|
|
321
|
+
* > If set to DATA_CENTER_CATEGORY, `CategoryIds` is required. If set to DATA_CENTER_FILE, `DocumentIds` is required.
|
|
322
|
+
*
|
|
323
|
+
* > To create an empty knowledge base, you can use an empty category with no files: Set this parameter to DATA_CENTER_CATEGORY, and `CategoryIds` to the ID of an empty category.
|
|
252
324
|
*
|
|
253
325
|
* @example
|
|
254
326
|
* DATA_CENTER_FILE
|
|
@@ -259,11 +331,11 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
259
331
|
sourceType?: string;
|
|
260
332
|
/**
|
|
261
333
|
* @remarks
|
|
262
|
-
* The
|
|
334
|
+
* The type of the knowledge base. Valid values:
|
|
263
335
|
*
|
|
264
|
-
* * unstructured
|
|
336
|
+
* * unstructured: The document search type.
|
|
265
337
|
*
|
|
266
|
-
* >
|
|
338
|
+
* > After you create a knowledge base, its type cannot be changed. This operation does not support data query and image Q\\&A types. Use the console instead.
|
|
267
339
|
*
|
|
268
340
|
* This parameter is required.
|
|
269
341
|
*
|
|
@@ -271,9 +343,40 @@ export declare class CreateIndexRequest extends $dara.Model {
|
|
|
271
343
|
* structured
|
|
272
344
|
*/
|
|
273
345
|
structureType?: string;
|
|
346
|
+
/**
|
|
347
|
+
* @remarks
|
|
348
|
+
* > This parameter is not available. Do not specify this parameter.
|
|
349
|
+
*/
|
|
274
350
|
tableIds?: string[];
|
|
351
|
+
/**
|
|
352
|
+
* @remarks
|
|
353
|
+
* > This parameter is not available. Do not specify this parameter.
|
|
354
|
+
*
|
|
355
|
+
* @example
|
|
356
|
+
* regex
|
|
357
|
+
*/
|
|
275
358
|
chunkMode?: string;
|
|
359
|
+
/**
|
|
360
|
+
* @remarks
|
|
361
|
+
* 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.
|
|
362
|
+
*
|
|
363
|
+
* > Enable this feature only when all imported files are in .xlsx or .xls format and contain headers. Otherwise, leave it disabled.
|
|
364
|
+
*
|
|
365
|
+
* Valid values:
|
|
366
|
+
*
|
|
367
|
+
* * true
|
|
368
|
+
* * false
|
|
369
|
+
*
|
|
370
|
+
* Default value: false.
|
|
371
|
+
*
|
|
372
|
+
* @example
|
|
373
|
+
* false
|
|
374
|
+
*/
|
|
276
375
|
enableHeaders?: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The metadata extraction configurations. Metadata refers to a set of additional attributes associated with unstructured data, which are integrated into text chunks in key-value pairs. For more information, see [Knowledge base](https://help.aliyun.com/document_detail/2807740.html).
|
|
379
|
+
*/
|
|
277
380
|
metaExtractColumns?: CreateIndexRequestMetaExtractColumns[];
|
|
278
381
|
static names(): {
|
|
279
382
|
[key: string]: string;
|