@alicloud/bailian20231229 2.14.2 → 2.14.4

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.
Files changed (57) hide show
  1. package/dist/client.d.ts +62 -58
  2. package/dist/client.js +62 -62
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddFileRequest.d.ts +20 -20
  5. package/dist/models/AddFileResponseBody.d.ts +5 -5
  6. package/dist/models/AddFileShrinkRequest.d.ts +16 -16
  7. package/dist/models/BatchUpdateFileTagRequest.d.ts +6 -4
  8. package/dist/models/BatchUpdateFileTagRequest.js.map +1 -1
  9. package/dist/models/BatchUpdateFileTagResponseBody.d.ts +14 -18
  10. package/dist/models/BatchUpdateFileTagResponseBody.js.map +1 -1
  11. package/dist/models/BatchUpdateFileTagShrinkRequest.d.ts +4 -2
  12. package/dist/models/BatchUpdateFileTagShrinkRequest.js.map +1 -1
  13. package/dist/models/CreateIndexRequest.d.ts +60 -60
  14. package/dist/models/CreateIndexResponseBody.d.ts +3 -3
  15. package/dist/models/CreateIndexShrinkRequest.d.ts +52 -52
  16. package/dist/models/ListIndexFileDetailsRequest.d.ts +3 -3
  17. package/dist/models/ListIndexFileDetailsResponseBody.d.ts +14 -4
  18. package/dist/models/ListIndexFileDetailsResponseBody.js.map +1 -1
  19. package/dist/models/ListIndicesRequest.d.ts +2 -2
  20. package/dist/models/ListIndicesResponseBody.d.ts +98 -29
  21. package/dist/models/ListIndicesResponseBody.js +37 -1
  22. package/dist/models/ListIndicesResponseBody.js.map +1 -1
  23. package/dist/models/SubmitIndexAddDocumentsJobRequest.d.ts +33 -44
  24. package/dist/models/SubmitIndexAddDocumentsJobRequest.js.map +1 -1
  25. package/dist/models/SubmitIndexAddDocumentsJobResponseBody.d.ts +8 -9
  26. package/dist/models/SubmitIndexAddDocumentsJobResponseBody.js.map +1 -1
  27. package/dist/models/SubmitIndexAddDocumentsJobShrinkRequest.d.ts +33 -44
  28. package/dist/models/SubmitIndexAddDocumentsJobShrinkRequest.js.map +1 -1
  29. package/dist/models/UpdateFileTagRequest.d.ts +1 -1
  30. package/dist/models/UpdateFileTagResponseBody.d.ts +8 -9
  31. package/dist/models/UpdateFileTagResponseBody.js.map +1 -1
  32. package/dist/models/UpdateFileTagShrinkRequest.d.ts +1 -1
  33. package/dist/models/model.d.ts +1 -0
  34. package/dist/models/model.js +12 -10
  35. package/dist/models/model.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +62 -62
  38. package/src/models/AddFileRequest.ts +20 -20
  39. package/src/models/AddFileResponseBody.ts +5 -5
  40. package/src/models/AddFileShrinkRequest.ts +16 -16
  41. package/src/models/BatchUpdateFileTagRequest.ts +6 -4
  42. package/src/models/BatchUpdateFileTagResponseBody.ts +14 -18
  43. package/src/models/BatchUpdateFileTagShrinkRequest.ts +4 -2
  44. package/src/models/CreateIndexRequest.ts +60 -60
  45. package/src/models/CreateIndexResponseBody.ts +3 -3
  46. package/src/models/CreateIndexShrinkRequest.ts +52 -52
  47. package/src/models/ListIndexFileDetailsRequest.ts +3 -3
  48. package/src/models/ListIndexFileDetailsResponseBody.ts +14 -4
  49. package/src/models/ListIndicesRequest.ts +2 -2
  50. package/src/models/ListIndicesResponseBody.ts +125 -29
  51. package/src/models/SubmitIndexAddDocumentsJobRequest.ts +33 -44
  52. package/src/models/SubmitIndexAddDocumentsJobResponseBody.ts +8 -9
  53. package/src/models/SubmitIndexAddDocumentsJobShrinkRequest.ts +33 -44
  54. package/src/models/UpdateFileTagRequest.ts +1 -1
  55. package/src/models/UpdateFileTagResponseBody.ts +8 -9
  56. package/src/models/UpdateFileTagShrinkRequest.ts +1 -1
  57. package/src/models/model.ts +1 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateIndexRequestColumns extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * > This parameter is not available. Do not pass this parameter.
5
+ * > This parameter is not available. Do not pass in a value.
6
6
  * >
7
7
  *
8
8
  * @example
@@ -23,7 +23,7 @@ export declare class CreateIndexRequestColumns extends $dara.Model {
23
23
  *
24
24
  * <props="intl">
25
25
  *
26
- * > This parameter is not available. Do not pass this parameter.
26
+ * > This parameter is not available. Do not pass in a value.
27
27
  * >
28
28
  *
29
29
  * @example
@@ -44,7 +44,7 @@ export declare class CreateIndexRequestColumns extends $dara.Model {
44
44
  *
45
45
  * <props="intl">
46
46
  *
47
- * > This parameter is not available. Do not pass this parameter.
47
+ * > This parameter is not available. Do not pass in a value.
48
48
  * >
49
49
  *
50
50
  * @example
@@ -60,11 +60,11 @@ export declare class CreateIndexRequestColumns extends $dara.Model {
60
60
  *
61
61
  * <props="intl">
62
62
  *
63
- * > This parameter is not available. Do not pass this parameter.
63
+ * > This parameter is not available. Do not pass in a value.
64
64
  * >
65
65
  *
66
66
  * @example
67
- * School.
67
+ * School
68
68
  */
69
69
  name?: string;
70
70
  /**
@@ -83,7 +83,7 @@ export declare class CreateIndexRequestColumns extends $dara.Model {
83
83
  *
84
84
  * <props="intl">
85
85
  *
86
- * > This parameter is not available. Do not pass this parameter.
86
+ * > This parameter is not available. Do not pass in a value.
87
87
  * >
88
88
  *
89
89
  * @example
@@ -107,7 +107,7 @@ export declare class CreateIndexRequestMetaExtractColumns extends $dara.Model {
107
107
  * The Chinese description of the metadata field. The description can be up to 1000 characters in length and can contain Chinese characters, letters, digits, underscores (_), hyphens (-), periods (.), and colons (:). Default value: empty.
108
108
  *
109
109
  * @example
110
- * AuthorName.
110
+ * AuthorName
111
111
  */
112
112
  desc?: string;
113
113
  /**
@@ -138,7 +138,7 @@ export declare class CreateIndexRequestMetaExtractColumns extends $dara.Model {
138
138
  enableSearch?: boolean;
139
139
  /**
140
140
  * @remarks
141
- * The metadata field. The field must be 1 to 50 characters in length and can contain only letters and underscores. If this parameter is specified, you must also specify the `Value` and `Type` parameters.
141
+ * The metadata field. The field must be 1 to 50 characters in length and contain only letters or underscores. If this parameter is specified, you must also specify the `Value` and `Type` parameters.
142
142
  *
143
143
  * @example
144
144
  * author
@@ -187,21 +187,21 @@ export declare class CreateIndexRequest extends $dara.Model {
187
187
  * @remarks
188
188
  * <props="china">
189
189
  *
190
- * The chunk size, which specifies the maximum number of characters per text chunk. When this length is exceeded:
190
+ * The chunk size, which is the maximum number of characters per text chunk. When the text exceeds this length:
191
191
  *
192
- * - **Intelligent chunking** (when `chunkMode` is not specified): The text is likely to be truncated.
193
- * - **Custom chunking** (when `chunkMode` is specified): The text is forcibly truncated.
192
+ * - **Intelligent chunking** (`chunkMode` not specified): The text is likely to be truncated.
193
+ * - **Custom chunking** (`chunkMode` specified): The text is forcibly truncated.
194
194
  *
195
195
  *
196
196
  *
197
197
  * <props="intl">
198
- * The chunk size, which specifies the maximum number of characters per text chunk. When this length is exceeded, the text is likely to be truncated.
198
+ * The chunk size, which is the maximum number of characters per text chunk. When the text exceeds this length, it is likely to be truncated.
199
199
  *
200
200
  *
201
201
  *
202
- * Value range: [1-6000]. If not specified, the default value is 500.
202
+ * Valid values: [1-6000]. If not specified, the default value is 500.
203
203
  *
204
- * > If `ChunkSize` is set to a value less than 100, you must also set `OverlapSize`. You can also leave both parameters unspecified, and the system uses default values.
204
+ * > If `ChunkSize` is set to a value less than 100, you must also set `OverlapSize`. You can also leave both parameters unspecified, and the system uses the default values.
205
205
  *
206
206
  * @example
207
207
  * 128
@@ -210,18 +210,18 @@ export declare class CreateIndexRequest extends $dara.Model {
210
210
  /**
211
211
  * @remarks
212
212
  * <props="china">
213
- * The structure of the data table (column names, types, etc.).
213
+ * The structure of the data table (column names, types, and so on).
214
214
  *
215
215
  *
216
216
  * <props="intl">
217
217
  *
218
- * > This parameter is not available. Do not pass this parameter.
218
+ * > This parameter is not available. Do not pass in a value.
219
219
  * >
220
220
  */
221
221
  columns?: CreateIndexRequestColumns[];
222
222
  /**
223
223
  * @remarks
224
- * > This parameter is not available. Do not pass this parameter.
224
+ * > This parameter is not available. Do not pass in a value.
225
225
  * >
226
226
  *
227
227
  * @example
@@ -230,23 +230,23 @@ export declare class CreateIndexRequest extends $dara.Model {
230
230
  createIndexType?: string;
231
231
  /**
232
232
  * @remarks
233
- * The knowledge base description. The description can be up to 1000 characters in length.
233
+ * The knowledge base description. The description can be up to 200 characters in length and can contain Chinese and English characters.
234
234
  * Default value: empty.
235
235
  *
236
236
  * @example
237
- * The enterprise help document library includes important materials such as company policies and product catalogs.
237
+ * The enterprise help document library includes important materials such as company policies and product catalogs
238
238
  */
239
239
  description?: string;
240
240
  /**
241
241
  * @remarks
242
- * The list of files to import when creating the knowledge base. Specify file IDs here. We recommend importing no more than 10,000 files. For remaining files, call the **SubmitIndexAddDocumentsJob** operation to continue importing.
242
+ * The list of files to import when creating the knowledge base. Specify file IDs. We recommend importing no more than 10,000 files. For remaining files, call the **SubmitIndexAddDocumentsJob** operation to continue importing.
243
243
  */
244
244
  documentIds?: string[];
245
245
  /**
246
246
  * @remarks
247
247
  * <props="china">
248
248
  *
249
- * The embedding model used by the knowledge base. The embedding model transforms the original input prompt and knowledge text into numerical vectors for similarity comparison. The text-embedding-v4 model is a comprehensive upgrade over text-embedding-v3 in terms of language support, code snippet quantization, and vector dimensions selection, and is suitable for most scenarios. For more information, see [Vectorization](https://help.aliyun.com/document_detail/2842587.html). Valid values:
249
+ * The embedding model used by the knowledge base. The embedding model is used to transform the original input prompt and knowledge text into numerical vectors for similarity comparison. The text-embedding-v4 model is a comprehensive upgrade over text-embedding-v3 in terms of language support, code snippet quantization, and vector dimension selection, and is suitable for most scenarios. For more information, see [Vectorization](https://help.aliyun.com/document_detail/2842587.html). Valid values:
250
250
  * - text-embedding-v4
251
251
  * - text-embedding-v3
252
252
  *
@@ -257,7 +257,7 @@ export declare class CreateIndexRequest extends $dara.Model {
257
257
  *
258
258
  * <props="intl">
259
259
  *
260
- * The embedding model used by the knowledge base. The embedding model transforms the original input prompt and knowledge text into numerical vectors for similarity comparison. The default text-embedding-v2 model (cannot be changed) supports Chinese, English, and multiple other languages, and performs normalization on vector results. For more information, see [Vectorization](https://help.aliyun.com/document_detail/2842587.html). Valid values:
260
+ * The embedding model used by the knowledge base. The embedding model is used to transform the original input prompt and knowledge text into numerical vectors for similarity comparison. The default text-embedding-v2 model (cannot be changed) supports Chinese, English, and multiple other languages, and performs normalization on vector results. For more information, see [Vectorization](https://help.aliyun.com/document_detail/2842587.html). Valid values:
261
261
  * - text-embedding-v2
262
262
  *
263
263
  * Default value: empty, which uses the text-embedding-v2 model.
@@ -286,12 +286,12 @@ export declare class CreateIndexRequest extends $dara.Model {
286
286
  * This parameter is required.
287
287
  *
288
288
  * @example
289
- * EnterpriseHelpDocLibrary.
289
+ * EnterpriseHelpDocLibrary
290
290
  */
291
291
  name?: string;
292
292
  /**
293
293
  * @remarks
294
- * The chunk overlap size, which specifies the number of overlapping characters between the current text chunk and the previous text chunk. Value range: [0-1024].
294
+ * The chunk overlap size, which is the number of overlapping characters between the current text chunk and the previous text chunk. Valid values: [0-1024].
295
295
  *
296
296
  * If not specified, the default value is 100.
297
297
  * >`OverlapSize` must be less than `ChunkSize`. Otherwise, chunking exceptions occur.
@@ -302,15 +302,15 @@ export declare class CreateIndexRequest extends $dara.Model {
302
302
  overlapSize?: number;
303
303
  /**
304
304
  * @remarks
305
- * <props="intl">This parameter is not available. Do not pass this parameter.
305
+ * <props="intl">This parameter is not yet available. Do not pass in a value.
306
306
  *
307
- * <props="china">A natural language instruction for fine-grained control of the reranking model\\"s behavior.
307
+ * <props="china">Provides a natural language instruction to fine-tune the behavior of the reranking model.
308
308
  * <notice>This parameter takes effect only when rerank_mode is set to "custom".
309
309
  */
310
310
  rerankInstruct?: string;
311
311
  /**
312
312
  * @remarks
313
- * The similarity threshold. Only text chunks with similarity scores exceeding this value are recalled. This parameter filters the text chunks returned by the reranking model. Value range: [0.01-1.00].
313
+ * The similarity threshold. Only text chunks with similarity scores exceeding this value are recalled. This parameter filters the text chunks returned by the reranking model. Valid values: [0.01-1.00].
314
314
  *
315
315
  * If not specified, the default value is 0.01.
316
316
  *
@@ -333,7 +333,7 @@ export declare class CreateIndexRequest extends $dara.Model {
333
333
  *
334
334
  *
335
335
  *
336
- * <props="intl">This parameter is not available. Do not pass this parameter.
336
+ * <props="intl">This parameter is not available. Do not pass in a value.
337
337
  * [_single.params.RerankMode.enum.similar: 相似模式。]similar: Similarity mode.
338
338
  * [_single.params.RerankMode.enum.custom: 自定义模式。]custom: Custom mode.
339
339
  * [_single.params.RerankMode.enum.qa:(默认值) 问答模式。]qa: (Default) Q&A mode.
@@ -361,7 +361,7 @@ export declare class CreateIndexRequest extends $dara.Model {
361
361
  *
362
362
  * <props="intl">
363
363
  *
364
- * - gte-rerank-hybrid: official reranking.
364
+ * - gte-rerank-hybrid: Official reranking.
365
365
  * - gte-rerank: gte-rerank reranking.
366
366
  *
367
367
  *
@@ -389,7 +389,7 @@ export declare class CreateIndexRequest extends $dara.Model {
389
389
  *
390
390
  * <props="china">
391
391
  *
392
- * > `gte-rerank-hybrid` and `gte-rerank` will no longer be updated and are not recommended.
392
+ * > `gte-rerank-hybrid` and `gte-rerank` will no longer be updated. We do not recommend using them.
393
393
  * >
394
394
  *
395
395
  * @example
@@ -400,16 +400,16 @@ export declare class CreateIndexRequest extends $dara.Model {
400
400
  * @remarks
401
401
  * <props="china">
402
402
  *
403
- * The sentence separator, which takes effect only when `chunkMode`=**regex** (it does not take effect in other modes even if specified). You can pass a single regular expression (multiple expressions are not supported) to split files into small text chunks.
403
+ * The sentence separator. This parameter takes effect only when `chunkMode`=**regex** (it does not take effect in other modes even if specified). You can pass in a single regular expression (multiple expressions are not supported) to split files into small text chunks.
404
404
  *
405
- * When using intelligent chunking (when `chunkMode` is not specified), keep the default empty value.
405
+ * When using intelligent chunking (`chunkMode` not specified), keep the default empty value.
406
406
  *
407
407
  *
408
408
  *
409
409
  *
410
410
  * <props="intl">
411
411
  *
412
- * > This parameter is not available. Do not pass this parameter.
412
+ * > This parameter is not available. Do not pass in a value.
413
413
  *
414
414
  * @example
415
415
  * (?<=。)
@@ -436,7 +436,7 @@ export declare class CreateIndexRequest extends $dara.Model {
436
436
  * The vector storage type of the knowledge base. For more information, see [Knowledge base](https://help.aliyun.com/document_detail/2807740.html). Valid values:
437
437
  * - BUILT_IN: Vector data is hosted on the Alibaba Cloud Model Studio platform.
438
438
  * - ADB: AnalyticDB for PostgreSQL database. If you need advanced features such as database management, auditing, and monitoring, select ADB.
439
- * > If you have not used ADB storage on Alibaba Cloud Model Studio before, go to the <props="china">[Create Knowledge Base](https://bailian.console.aliyun.com/#/knowledge-base/create)<props="intl">[Create Knowledge Base](https://bailian.console.alibabacloud.com/#/knowledge-base/create) page, select ADB-PG as the vector storage type, and complete authorization as prompted. If you pass ADB, you must specify the `SinkInstanceId` and `SinkRegion` parameters.
439
+ * > If you have not used ADB storage on Alibaba Cloud Model Studio before, go to the <props="china">[Create Knowledge Base](https://bailian.console.aliyun.com/#/knowledge-base/create)<props="intl">[Create Knowledge Base](https://bailian.console.alibabacloud.com/#/knowledge-base/create) page, set the vector storage type to ADB-PG, and complete the authorization as prompted. If you pass in ADB, you must specify the `SinkInstanceId` and `SinkRegion` parameters.
440
440
  *
441
441
  * This parameter is required.
442
442
  *
@@ -446,16 +446,16 @@ export declare class CreateIndexRequest extends $dara.Model {
446
446
  sinkType?: string;
447
447
  /**
448
448
  * @remarks
449
- * >Notice: This parameter is required in the latest SDK. Otherwise, calling the SubmitIndexJob operation returns an error: Required parameter(data_sources) missing or invalid.
449
+ * >Notice: This parameter is required in the latest SDK version. Otherwise, calling the SubmitIndexJob operation returns the error: Required parameter(data_sources) missing or invalid.
450
450
  *
451
451
  * The data source type. Valid values:
452
- * - DATA_CENTER_CATEGORY: Category type. Imports all files under specified categories in <props="china">[Application Data](https://bailian.console.aliyun.com/?tab=app#/data-center)<props="intl">[Application Data](https://modelstudio.console.alibabacloud.com/?tab=app#/data-center). Multiple categories can be imported simultaneously.
453
- * - DATA_CENTER_FILE: File type. Imports specified files from <props="china">[Application Data](https://bailian.console.aliyun.com/?tab=app#/data-center)<props="intl">[Application Data](https://modelstudio.console.alibabacloud.com/?tab=app#/data-center). Multiple files can be imported simultaneously.
452
+ * - DATA_CENTER_CATEGORY: Category type. Imports all files under specified categories in <props="china">[Application Data](https://bailian.console.aliyun.com/?tab=app#/data-center)<props="intl">[Application Data](https://modelstudio.console.alibabacloud.com/?tab=app#/data-center). You can import multiple categories at the same time.
453
+ * - DATA_CENTER_FILE: File type. Imports specified files from <props="china">[Application Data](https://bailian.console.aliyun.com/?tab=app#/data-center)<props="intl">[Application Data](https://modelstudio.console.alibabacloud.com/?tab=app#/data-center). You can import multiple files at the same time.
454
454
  *
455
455
  * > If this parameter is set to DATA_CENTER_CATEGORY, you must specify the `CategoryIds` parameter. If this parameter is set to DATA_CENTER_FILE, you must specify the `DocumentIds` parameter.
456
456
  * >
457
457
  *
458
- * > To create an empty knowledge base, use an empty category that contains no files: set this parameter to DATA_CENTER_CATEGORY and pass the empty category ID in `CategoryIds`.
458
+ * > To create an empty knowledge base, use an empty category that contains no files: set this parameter to DATA_CENTER_CATEGORY and pass the empty category ID to `CategoryIds`.
459
459
  * >
460
460
  *
461
461
  * @example
@@ -471,7 +471,7 @@ export declare class CreateIndexRequest extends $dara.Model {
471
471
  *
472
472
  * **Valid values:**
473
473
  *
474
- * - unstructured: A document search or audio/video knowledge base. The default scenario for document search type is basic document Q&A. <props="china">To create other scenarios, pass the knowledgeType and knowledgeScene parameters.
474
+ * - unstructured: A document search or audio/video knowledge base. The default scenario for the document search type is basic document Q&A. <props="china">To create other scenarios, you must also pass the knowledgeType and knowledgeScene parameters.
475
475
  *
476
476
  * <props="china">
477
477
  *
@@ -492,14 +492,14 @@ export declare class CreateIndexRequest extends $dara.Model {
492
492
  * @remarks
493
493
  * <props="china">
494
494
  *
495
- * Obtained by clicking the ID icon next to the table name on the Tables tab of [Data Connections](https://bailian.console.aliyun.com/cn-beijing?tab=app#/connector/list) table connector. If the list contains multiple IDs, only the first one is used.
495
+ * Obtained by clicking the ID icon next to the table name on the Tables tab of [Data Connection](https://bailian.console.aliyun.com/cn-beijing?tab=app#/connector/list) table connector. If the list contains multiple IDs, only the first one is used.
496
496
  *
497
497
  *
498
498
  *
499
499
  *
500
500
  * <props="intl">
501
501
  *
502
- * > This parameter is not available. Do not pass this parameter.
502
+ * > This parameter is not available. Do not pass in a value.
503
503
  * >
504
504
  */
505
505
  tableIds?: string[];
@@ -516,11 +516,11 @@ export declare class CreateIndexRequest extends $dara.Model {
516
516
  *
517
517
  * Valid values (only one value can be passed at a time):
518
518
  *
519
- * - **length**: Chunk by length. Strictly chunks according to the specified `ChunkSize` and `OverlapSize`. If these two parameters are not passed, the system uses default values (`ChunkSize` of 500 and `OverlapSize` of 100). Chunking by length does not support `Separator` (it does not take effect even if specified).
520
- * - **page**: Chunk by page. If `ChunkSize` is specified, it is also considered during chunking (if not passed, the default value of 500 is used). Chunking by page does not support `OverlapSize` or `Separator` (they do not take effect even if specified).
521
- * - **h1**: Chunk by first-level headings. If `ChunkSize` is specified, it is also considered during chunking (if not passed, the default value of 500 is used). Chunking by first-level headings does not support `OverlapSize` or `Separator` (they do not take effect even if specified).
522
- * - **h2**: Chunk by second-level headings. If `ChunkSize` is specified, it is also considered during chunking (if not passed, the default value of 500 is used). Chunking by second-level headings does not support `OverlapSize` or `Separator` (they do not take effect even if specified).
523
- * - **regex**: Chunk by regular expression. The `Separator` parameter must be specified. If `ChunkSize` is specified, it is also considered during chunking (if not passed, the default value of 500 is used). Chunking by regular expression does not support `OverlapSize` (it does not take effect even if specified).
519
+ * - **length**: Chunk by length. Strictly chunks according to the specified `ChunkSize` and `OverlapSize`. If you do not pass in these two parameters, the system uses the default values (`ChunkSize` of 500 and `OverlapSize` of 100). Chunking by length does not support `Separator` (it does not take effect even if specified).
520
+ * - **page**: Chunk by page. If `ChunkSize` is specified, it is also considered during chunking (if not specified, the default value of 500 is used). Chunking by page does not support `OverlapSize` or `Separator` (they do not take effect even if specified).
521
+ * - **h1**: Chunk by first-level headings. If `ChunkSize` is specified, it is also considered during chunking (if not specified, the default value of 500 is used). Chunking by first-level headings does not support `OverlapSize` or `Separator` (they do not take effect even if specified).
522
+ * - **h2**: Chunk by second-level headings. If `ChunkSize` is specified, it is also considered during chunking (if not specified, the default value of 500 is used). Chunking by second-level headings does not support `OverlapSize` or `Separator` (they do not take effect even if specified).
523
+ * - **regex**: Chunk by regular expression. You must specify the `Separator` parameter. If `ChunkSize` is specified, it is also considered during chunking (if not specified, the default value of 500 is used). Chunking by regular expression does not support `OverlapSize` (it does not take effect even if specified).
524
524
  *
525
525
  * If not specified, intelligent chunking is used by default.
526
526
  *
@@ -529,7 +529,7 @@ export declare class CreateIndexRequest extends $dara.Model {
529
529
  *
530
530
  * <props="intl">
531
531
  *
532
- * > This parameter is not available. Do not pass this parameter.
532
+ * > This parameter is not available. Do not pass in a value.
533
533
  *
534
534
  * @example
535
535
  * regex
@@ -544,7 +544,7 @@ export declare class CreateIndexRequest extends $dara.Model {
544
544
  datasourceCode?: string;
545
545
  /**
546
546
  * @remarks
547
- * Specifies whether to treat the first row of all xlsx and xls files as headers and concatenate them into each text chunk, preventing the large language model from treating headers as regular data rows.
547
+ * Specifies whether to treat the first row of all xlsx and xls files as headers and append them to each text chunk, preventing the large language model from treating headers as regular data rows.
548
548
  *
549
549
  *
550
550
  * > Enable this feature only when all imported files are in .xlsx or .xls format and contain headers. Otherwise, do not enable it.
@@ -564,12 +564,12 @@ export declare class CreateIndexRequest extends $dara.Model {
564
564
  /**
565
565
  * @remarks
566
566
  * <props="china">
567
- * The specific knowledge type, which further specifies the type of data processed by the knowledge base.
568
- * <notice>This parameter and knowledgeScene must be provided together or omitted together. They cannot be set independently. If both are omitted, the system uses default configurations based on structureType.
567
+ * The specific knowledge type that further specifies the data type processed by the knowledge base.
568
+ * <notice>This parameter and knowledgeScene must be provided together or omitted together. They cannot be set individually. If both are omitted, the system uses the default configurations based on structureType.
569
569
  *
570
570
  * **Settings constraint**: The value of this parameter must match the selected structureType and determines the active values for knowledgeScene.
571
571
  *
572
- * **Valid values**:
572
+ * **Valid values:**
573
573
  * - document: Document search. Must be used with structureType: unstructured.
574
574
  * - table: Data query. Must be used with structureType: structured.
575
575
  * - image: Image-based Q&A. Must be used with structureType: structured.
@@ -578,7 +578,7 @@ export declare class CreateIndexRequest extends $dara.Model {
578
578
  *
579
579
  *
580
580
  *
581
- * <props="intl">This parameter is not available. Do not pass this parameter.
581
+ * <props="intl">This parameter is not available. Do not pass in a value.
582
582
  *
583
583
  * @example
584
584
  * document
@@ -586,17 +586,17 @@ export declare class CreateIndexRequest extends $dara.Model {
586
586
  knowledgeType?: string;
587
587
  /**
588
588
  * @remarks
589
- * The metadata extraction configuration. Metadata is a set of additional attributes related to unstructured data content. These attributes are integrated into text chunks as key-value pairs. For more information, see [Knowledge base](https://help.aliyun.com/document_detail/2807740.html).
589
+ * The metadata extraction configuration. Metadata consists of additional attributes related to unstructured data content. These attributes are integrated into text chunks as key-value pairs. For more information, see [Knowledge base](https://help.aliyun.com/document_detail/2807740.html).
590
590
  */
591
591
  metaExtractColumns?: CreateIndexRequestMetaExtractColumns[];
592
592
  /**
593
593
  * @remarks
594
- * <props="china">The number of RCUs for the knowledge base (required only when pipelineCommercialType is set to enterprise). Value range: [1-200].
594
+ * <props="china">The number of RCUs for the knowledge base (required only when pipelineCommercialType is set to enterprise). Valid values: [1-200].
595
595
  *
596
596
  *
597
597
  * <props="intl">
598
598
  *
599
- * > This parameter is not available. Do not pass this parameter.
599
+ * > This parameter is not available. Do not pass in a value.
600
600
  * >
601
601
  *
602
602
  * @example
@@ -607,7 +607,7 @@ export declare class CreateIndexRequest extends $dara.Model {
607
607
  * @remarks
608
608
  * <props="china">
609
609
  *
610
- * The [specification type](https://help.aliyun.com/document_detail/2997110.html) of the knowledge base. Valid values:
610
+ * The [edition](https://help.aliyun.com/document_detail/2997110.html) of the knowledge base. Valid values:
611
611
  * - standard: Standard Edition.
612
612
  * - enterprise: Ultimate Edition.
613
613
  *
@@ -615,7 +615,7 @@ export declare class CreateIndexRequest extends $dara.Model {
615
615
  *
616
616
  * <props="intl">
617
617
  *
618
- * > This parameter is not available. Do not pass this parameter.
618
+ * > This parameter is not available. Do not pass in a value.
619
619
  * >
620
620
  *
621
621
  * @example
@@ -624,15 +624,15 @@ export declare class CreateIndexRequest extends $dara.Model {
624
624
  pipelineCommercialType?: string;
625
625
  /**
626
626
  * @remarks
627
- * <props="china">The rate limiting strategy for knowledge base dependent links (required only when pipelineCommercialType is set to enterprise).
627
+ * <props="china">The rate limiting strategy for the knowledge base dependency chain (required only when pipelineCommercialType is set to enterprise).
628
628
  * Valid values:
629
- * downgrade: Downgrade processing (switch to lightweight link retrieval).
629
+ * downgrade: Downgrade processing (switch to lightweight chain retrieval).
630
630
  * If not specified, the default value is downgrade.
631
631
  *
632
632
  *
633
633
  * <props="intl">
634
634
  *
635
- * > This parameter is not available. Do not pass this parameter.
635
+ * > This parameter is not available. Do not pass in a value.
636
636
  * >
637
637
  *
638
638
  * @example
@@ -2,8 +2,8 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateIndexResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The knowledge base ID, also known as `IndexId`. This is the unique identifier of the created knowledge base.
6
- * > Store this value properly. It is required for all subsequent API operations related to this knowledge base.
5
+ * The knowledge base ID, also known as `IndexId`, which is the unique identifier of the created knowledge base.
6
+ * > Store this value properly. It is used in all subsequent API operations related to this knowledge base.
7
7
  * >
8
8
  *
9
9
  * @example
@@ -29,7 +29,7 @@ export declare class CreateIndexResponseBody extends $dara.Model {
29
29
  code?: string;
30
30
  /**
31
31
  * @remarks
32
- * The business data returned when the request succeeds.
32
+ * The business data returned when the request is successful.
33
33
  */
34
34
  data?: CreateIndexResponseBodyData;
35
35
  /**