@alicloud/gpdb20160503 3.10.0 → 3.11.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 +253 -140
- package/dist/client.js +411 -140
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAiserviceRequest.d.ts +16 -25
- package/dist/models/CreateAiserviceRequest.js.map +1 -1
- package/dist/models/CreateApiKeyRequest.d.ts +40 -0
- package/dist/models/CreateApiKeyRequest.js +69 -0
- package/dist/models/CreateApiKeyRequest.js.map +1 -0
- package/dist/models/CreateApiKeyResponse.d.ts +19 -0
- package/dist/models/CreateApiKeyResponse.js +69 -0
- package/dist/models/CreateApiKeyResponse.js.map +1 -0
- package/dist/models/CreateApiKeyResponseBody.d.ts +28 -0
- package/dist/models/CreateApiKeyResponseBody.js +62 -0
- package/dist/models/CreateApiKeyResponseBody.js.map +1 -0
- package/dist/models/CreateApiKeyShrinkRequest.d.ts +40 -0
- package/dist/models/CreateApiKeyShrinkRequest.js +66 -0
- package/dist/models/CreateApiKeyShrinkRequest.js.map +1 -0
- package/dist/models/CreateBranchRequest.d.ts +6 -6
- package/dist/models/CreateBranchResponseBody.d.ts +2 -2
- package/dist/models/CreateDocumentCollectionRequest.d.ts +94 -148
- package/dist/models/CreateDocumentCollectionRequest.js.map +1 -1
- package/dist/models/CreateDocumentCollectionResponseBody.d.ts +2 -4
- package/dist/models/CreateDocumentCollectionResponseBody.js.map +1 -1
- package/dist/models/CreateDocumentCollectionShrinkRequest.d.ts +81 -127
- package/dist/models/CreateDocumentCollectionShrinkRequest.js.map +1 -1
- package/dist/models/CreateIndexRequest.d.ts +13 -21
- package/dist/models/CreateIndexRequest.js.map +1 -1
- package/dist/models/CreateIndexResponseBody.d.ts +6 -7
- package/dist/models/CreateIndexResponseBody.js.map +1 -1
- package/dist/models/CreateModelOperatorApiKeyRequest.d.ts +2 -0
- package/dist/models/CreateModelOperatorApiKeyRequest.js.map +1 -1
- package/dist/models/CreateModelOperatorApiKeyResponseBody.d.ts +6 -0
- package/dist/models/CreateModelOperatorApiKeyResponseBody.js.map +1 -1
- package/dist/models/CreateModelServiceRequest.d.ts +9 -9
- package/dist/models/CreateModelServiceResponseBody.d.ts +1 -1
- package/dist/models/CreateModelServiceShrinkRequest.d.ts +9 -9
- package/dist/models/CreateSaasServiceRequest.d.ts +2 -2
- package/dist/models/CreateSnapshotResponseBody.d.ts +1 -1
- package/dist/models/CreateSupabaseProjectRequest.d.ts +8 -8
- package/dist/models/CreateSupabaseProjectResponseBody.d.ts +1 -1
- package/dist/models/DeleteAiserviceRequest.d.ts +2 -2
- package/dist/models/DeleteApiKeyRequest.d.ts +26 -0
- package/dist/models/DeleteApiKeyRequest.js +60 -0
- package/dist/models/DeleteApiKeyRequest.js.map +1 -0
- package/dist/models/DeleteApiKeyResponse.d.ts +19 -0
- package/dist/models/DeleteApiKeyResponse.js +69 -0
- package/dist/models/DeleteApiKeyResponse.js.map +1 -0
- package/dist/models/DeleteApiKeyResponseBody.d.ts +23 -0
- package/dist/models/DeleteApiKeyResponseBody.js +60 -0
- package/dist/models/DeleteApiKeyResponseBody.js.map +1 -0
- package/dist/models/DeleteBranchRequest.d.ts +1 -1
- package/dist/models/DeleteSnapshotRequest.d.ts +7 -0
- package/dist/models/DeleteSnapshotRequest.js.map +1 -1
- package/dist/models/DeleteSnapshotResponseBody.d.ts +3 -0
- package/dist/models/DeleteSnapshotResponseBody.js.map +1 -1
- package/dist/models/DescribeAiserviceRequest.d.ts +4 -5
- package/dist/models/DescribeAiserviceRequest.js.map +1 -1
- package/dist/models/DescribeAiserviceResponseBody.d.ts +10 -12
- package/dist/models/DescribeAiserviceResponseBody.js.map +1 -1
- package/dist/models/DescribeBranchResponseBody.d.ts +7 -7
- package/dist/models/DescribeDbinstanceAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeDbinstanceAttributeResponseBody.d.ts +1 -1
- package/dist/models/DescribeModelOperatorApiKeyRequest.d.ts +3 -0
- package/dist/models/DescribeModelOperatorApiKeyRequest.js.map +1 -1
- package/dist/models/DescribeModelOperatorApiKeyResponseBody.d.ts +18 -0
- package/dist/models/DescribeModelOperatorApiKeyResponseBody.js.map +1 -1
- package/dist/models/DescribeModelOperatorUsageRequest.d.ts +49 -0
- package/dist/models/DescribeModelOperatorUsageRequest.js.map +1 -1
- package/dist/models/DescribeModelOperatorUsageResponseBody.d.ts +47 -0
- package/dist/models/DescribeModelOperatorUsageResponseBody.js.map +1 -1
- package/dist/models/DescribeModelOperatorUsageShrinkRequest.d.ts +49 -0
- package/dist/models/DescribeModelOperatorUsageShrinkRequest.js.map +1 -1
- package/dist/models/DescribeModelServiceRequest.d.ts +2 -2
- package/dist/models/DescribeModelServiceResponseBody.d.ts +6 -6
- package/dist/models/DescribeTableRequest.d.ts +7 -7
- package/dist/models/DescribeTableResponseBody.d.ts +4 -5
- package/dist/models/DescribeTableResponseBody.js.map +1 -1
- package/dist/models/ExecuteStatementRequest.d.ts +18 -19
- package/dist/models/ExecuteStatementRequest.js.map +1 -1
- package/dist/models/ExecuteStatementResponseBody.d.ts +10 -11
- package/dist/models/ExecuteStatementResponseBody.js.map +1 -1
- package/dist/models/ExecuteStatementShrinkRequest.d.ts +14 -15
- package/dist/models/ExecuteStatementShrinkRequest.js.map +1 -1
- package/dist/models/GetAccountRequest.d.ts +7 -3
- package/dist/models/GetAccountRequest.js.map +1 -1
- package/dist/models/GetAccountResponseBody.d.ts +20 -17
- package/dist/models/GetAccountResponseBody.js.map +1 -1
- package/dist/models/GetApiKeyRequest.d.ts +26 -0
- package/dist/models/GetApiKeyRequest.js +60 -0
- package/dist/models/GetApiKeyRequest.js.map +1 -0
- package/dist/models/GetApiKeyResponse.d.ts +19 -0
- package/dist/models/GetApiKeyResponse.js +69 -0
- package/dist/models/GetApiKeyResponse.js.map +1 -0
- package/dist/models/GetApiKeyResponseBody.d.ts +71 -0
- package/dist/models/GetApiKeyResponseBody.js +96 -0
- package/dist/models/GetApiKeyResponseBody.js.map +1 -0
- package/dist/models/GetStatementResultRequest.d.ts +6 -6
- package/dist/models/GetStatementResultResponseBody.d.ts +6 -6
- package/dist/models/GetUploadDocumentJobRequest.d.ts +8 -8
- package/dist/models/GetUploadDocumentJobResponseBody.d.ts +27 -29
- package/dist/models/GetUploadDocumentJobResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceRequest.d.ts +26 -0
- package/dist/models/GetWorkspaceRequest.js +60 -0
- package/dist/models/GetWorkspaceRequest.js.map +1 -0
- package/dist/models/GetWorkspaceResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceResponse.js +69 -0
- package/dist/models/GetWorkspaceResponse.js.map +1 -0
- package/dist/models/GetWorkspaceResponseBody.d.ts +147 -0
- package/dist/models/GetWorkspaceResponseBody.js +160 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
- package/dist/models/ListAinodePoolsRequest.d.ts +1 -1
- package/dist/models/ListAinodePoolsResponseBody.d.ts +11 -13
- package/dist/models/ListAinodePoolsResponseBody.js.map +1 -1
- package/dist/models/ListAiservicesRequest.d.ts +5 -8
- package/dist/models/ListAiservicesRequest.js.map +1 -1
- package/dist/models/ListAiservicesResponseBody.d.ts +13 -15
- package/dist/models/ListAiservicesResponseBody.js.map +1 -1
- package/dist/models/ListApiKeysRequest.d.ts +41 -0
- package/dist/models/ListApiKeysRequest.js +66 -0
- package/dist/models/ListApiKeysRequest.js.map +1 -0
- package/dist/models/ListApiKeysResponse.d.ts +19 -0
- package/dist/models/ListApiKeysResponse.js +69 -0
- package/dist/models/ListApiKeysResponse.js.map +1 -0
- package/dist/models/ListApiKeysResponseBody.d.ts +94 -0
- package/dist/models/ListApiKeysResponseBody.js +122 -0
- package/dist/models/ListApiKeysResponseBody.js.map +1 -0
- package/dist/models/ListBranchesRequest.d.ts +12 -12
- package/dist/models/ListBranchesResponseBody.d.ts +3 -3
- package/dist/models/ListChunksRequest.d.ts +13 -17
- package/dist/models/ListChunksRequest.js.map +1 -1
- package/dist/models/ListModelOperatorApiKeysRequest.d.ts +12 -0
- package/dist/models/ListModelOperatorApiKeysRequest.js.map +1 -1
- package/dist/models/ListModelOperatorApiKeysResponseBody.d.ts +28 -0
- package/dist/models/ListModelOperatorApiKeysResponseBody.js.map +1 -1
- package/dist/models/ListModelOperatorServicesRequest.d.ts +11 -0
- package/dist/models/ListModelOperatorServicesRequest.js.map +1 -1
- package/dist/models/ListModelOperatorServicesResponseBody.d.ts +19 -0
- package/dist/models/ListModelOperatorServicesResponseBody.js.map +1 -1
- package/dist/models/ListSaasServiceRequest.d.ts +2 -2
- package/dist/models/ListSaasServiceResponseBody.d.ts +10 -10
- package/dist/models/ListSupabaseProjectTagsRequest.d.ts +15 -17
- package/dist/models/ListSupabaseProjectTagsRequest.js.map +1 -1
- package/dist/models/ListSupabaseProjectTagsResponseBody.d.ts +3 -3
- package/dist/models/ListWorkspacesResponseBody.d.ts +3 -3
- package/dist/models/ModifyAiserviceSecurityIpsRequest.d.ts +7 -10
- package/dist/models/ModifyAiserviceSecurityIpsRequest.js.map +1 -1
- package/dist/models/ModifyAiserviceSecurityIpsResponseBody.d.ts +1 -1
- package/dist/models/ModifyDbinstanceDeploymentModeRequest.d.ts +11 -17
- package/dist/models/ModifyDbinstanceDeploymentModeRequest.js.map +1 -1
- package/dist/models/ModifyDbinstanceDeploymentModeResponseBody.d.ts +1 -1
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.d.ts +4 -6
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -1
- package/dist/models/ModifySupabaseProjectResourceRequest.d.ts +3 -3
- package/dist/models/ModifySupabaseProjectResourceResponseBody.d.ts +1 -1
- package/dist/models/PauseSupabaseProjectRequest.d.ts +1 -1
- package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +18 -18
- package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +1 -1
- package/dist/models/RestoreSnapshotRequest.d.ts +1 -1
- package/dist/models/ResumeSupabaseProjectRequest.d.ts +1 -1
- package/dist/models/ResumeSupabaseProjectResponseBody.d.ts +1 -1
- package/dist/models/TagSupabaseProjectRequest.d.ts +5 -5
- package/dist/models/TagSupabaseProjectResponseBody.d.ts +1 -1
- package/dist/models/TextEmbeddingRequest.d.ts +12 -14
- package/dist/models/TextEmbeddingRequest.js.map +1 -1
- package/dist/models/TextEmbeddingResponseBody.d.ts +5 -6
- package/dist/models/TextEmbeddingResponseBody.js.map +1 -1
- package/dist/models/TextEmbeddingShrinkRequest.d.ts +12 -14
- package/dist/models/TextEmbeddingShrinkRequest.js.map +1 -1
- package/dist/models/UntagSupabaseProjectRequest.d.ts +6 -9
- package/dist/models/UntagSupabaseProjectRequest.js.map +1 -1
- package/dist/models/UntagSupabaseProjectResponseBody.d.ts +1 -1
- package/dist/models/UpgradeDbinstanceRequest.d.ts +34 -50
- package/dist/models/UpgradeDbinstanceRequest.js.map +1 -1
- package/dist/models/UploadDocumentAsyncAdvanceRequest.d.ts +57 -49
- package/dist/models/UploadDocumentAsyncAdvanceRequest.js.map +1 -1
- package/dist/models/UploadDocumentAsyncRequest.d.ts +57 -49
- package/dist/models/UploadDocumentAsyncRequest.js.map +1 -1
- package/dist/models/UploadDocumentAsyncResponseBody.d.ts +4 -4
- package/dist/models/UploadDocumentAsyncShrinkRequest.d.ts +57 -49
- package/dist/models/UploadDocumentAsyncShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +22 -0
- package/dist/models/model.js +65 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +438 -140
- package/src/models/CreateAiserviceRequest.ts +16 -25
- package/src/models/CreateApiKeyRequest.ts +64 -0
- package/src/models/CreateApiKeyResponse.ts +40 -0
- package/src/models/CreateApiKeyResponseBody.ts +45 -0
- package/src/models/CreateApiKeyShrinkRequest.ts +61 -0
- package/src/models/CreateBranchRequest.ts +6 -6
- package/src/models/CreateBranchResponseBody.ts +2 -2
- package/src/models/CreateDocumentCollectionRequest.ts +94 -148
- package/src/models/CreateDocumentCollectionResponseBody.ts +2 -4
- package/src/models/CreateDocumentCollectionShrinkRequest.ts +81 -127
- package/src/models/CreateIndexRequest.ts +13 -21
- package/src/models/CreateIndexResponseBody.ts +6 -7
- package/src/models/CreateModelOperatorApiKeyRequest.ts +2 -0
- package/src/models/CreateModelOperatorApiKeyResponseBody.ts +6 -0
- package/src/models/CreateModelServiceRequest.ts +9 -9
- package/src/models/CreateModelServiceResponseBody.ts +1 -1
- package/src/models/CreateModelServiceShrinkRequest.ts +9 -9
- package/src/models/CreateSaasServiceRequest.ts +2 -2
- package/src/models/CreateSnapshotResponseBody.ts +1 -1
- package/src/models/CreateSupabaseProjectRequest.ts +8 -8
- package/src/models/CreateSupabaseProjectResponseBody.ts +1 -1
- package/src/models/DeleteAiserviceRequest.ts +2 -2
- package/src/models/DeleteApiKeyRequest.ts +41 -0
- package/src/models/DeleteApiKeyResponse.ts +40 -0
- package/src/models/DeleteApiKeyResponseBody.ts +38 -0
- package/src/models/DeleteBranchRequest.ts +1 -1
- package/src/models/DeleteSnapshotRequest.ts +7 -0
- package/src/models/DeleteSnapshotResponseBody.ts +3 -0
- package/src/models/DescribeAiserviceRequest.ts +4 -5
- package/src/models/DescribeAiserviceResponseBody.ts +10 -12
- package/src/models/DescribeBranchResponseBody.ts +7 -7
- package/src/models/DescribeDbinstanceAttributeRequest.ts +3 -3
- package/src/models/DescribeDbinstanceAttributeResponseBody.ts +1 -1
- package/src/models/DescribeModelOperatorApiKeyRequest.ts +3 -0
- package/src/models/DescribeModelOperatorApiKeyResponseBody.ts +18 -0
- package/src/models/DescribeModelOperatorUsageRequest.ts +49 -0
- package/src/models/DescribeModelOperatorUsageResponseBody.ts +47 -0
- package/src/models/DescribeModelOperatorUsageShrinkRequest.ts +49 -0
- package/src/models/DescribeModelServiceRequest.ts +2 -2
- package/src/models/DescribeModelServiceResponseBody.ts +6 -6
- package/src/models/DescribeTableRequest.ts +7 -7
- package/src/models/DescribeTableResponseBody.ts +4 -5
- package/src/models/ExecuteStatementRequest.ts +18 -19
- package/src/models/ExecuteStatementResponseBody.ts +10 -11
- package/src/models/ExecuteStatementShrinkRequest.ts +14 -15
- package/src/models/GetAccountRequest.ts +7 -3
- package/src/models/GetAccountResponseBody.ts +20 -17
- package/src/models/GetApiKeyRequest.ts +41 -0
- package/src/models/GetApiKeyResponse.ts +40 -0
- package/src/models/GetApiKeyResponseBody.ts +113 -0
- package/src/models/GetStatementResultRequest.ts +6 -6
- package/src/models/GetStatementResultResponseBody.ts +6 -6
- package/src/models/GetUploadDocumentJobRequest.ts +8 -8
- package/src/models/GetUploadDocumentJobResponseBody.ts +27 -29
- package/src/models/GetWorkspaceRequest.ts +41 -0
- package/src/models/GetWorkspaceResponse.ts +40 -0
- package/src/models/GetWorkspaceResponseBody.ts +235 -0
- package/src/models/ListAinodePoolsRequest.ts +1 -1
- package/src/models/ListAinodePoolsResponseBody.ts +11 -13
- package/src/models/ListAiservicesRequest.ts +5 -8
- package/src/models/ListAiservicesResponseBody.ts +13 -15
- package/src/models/ListApiKeysRequest.ts +62 -0
- package/src/models/ListApiKeysResponse.ts +40 -0
- package/src/models/ListApiKeysResponseBody.ts +153 -0
- package/src/models/ListBranchesRequest.ts +12 -12
- package/src/models/ListBranchesResponseBody.ts +3 -3
- package/src/models/ListChunksRequest.ts +13 -17
- package/src/models/ListModelOperatorApiKeysRequest.ts +12 -0
- package/src/models/ListModelOperatorApiKeysResponseBody.ts +28 -0
- package/src/models/ListModelOperatorServicesRequest.ts +11 -0
- package/src/models/ListModelOperatorServicesResponseBody.ts +19 -0
- package/src/models/ListSaasServiceRequest.ts +2 -2
- package/src/models/ListSaasServiceResponseBody.ts +10 -10
- package/src/models/ListSupabaseProjectTagsRequest.ts +15 -17
- package/src/models/ListSupabaseProjectTagsResponseBody.ts +3 -3
- package/src/models/ListWorkspacesResponseBody.ts +3 -3
- package/src/models/ModifyAiserviceSecurityIpsRequest.ts +7 -10
- package/src/models/ModifyAiserviceSecurityIpsResponseBody.ts +1 -1
- package/src/models/ModifyDbinstanceDeploymentModeRequest.ts +11 -17
- package/src/models/ModifyDbinstanceDeploymentModeResponseBody.ts +1 -1
- package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +4 -6
- package/src/models/ModifySupabaseProjectResourceRequest.ts +3 -3
- package/src/models/ModifySupabaseProjectResourceResponseBody.ts +1 -1
- package/src/models/PauseSupabaseProjectRequest.ts +1 -1
- package/src/models/QueryKnowledgeBasesContentRequest.ts +18 -18
- package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +1 -1
- package/src/models/RestoreSnapshotRequest.ts +1 -1
- package/src/models/ResumeSupabaseProjectRequest.ts +1 -1
- package/src/models/ResumeSupabaseProjectResponseBody.ts +1 -1
- package/src/models/TagSupabaseProjectRequest.ts +5 -5
- package/src/models/TagSupabaseProjectResponseBody.ts +1 -1
- package/src/models/TextEmbeddingRequest.ts +12 -14
- package/src/models/TextEmbeddingResponseBody.ts +5 -6
- package/src/models/TextEmbeddingShrinkRequest.ts +12 -14
- package/src/models/UntagSupabaseProjectRequest.ts +6 -9
- package/src/models/UntagSupabaseProjectResponseBody.ts +1 -1
- package/src/models/UpgradeDbinstanceRequest.ts +34 -50
- package/src/models/UploadDocumentAsyncAdvanceRequest.ts +57 -49
- package/src/models/UploadDocumentAsyncRequest.ts +57 -49
- package/src/models/UploadDocumentAsyncResponseBody.ts +4 -4
- package/src/models/UploadDocumentAsyncShrinkRequest.ts +57 -49
- package/src/models/model.ts +22 -0
|
@@ -6,9 +6,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
6
6
|
export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The size of data
|
|
10
|
-
*
|
|
11
|
-
* > This parameter is used to prevent context missing that may occur due to data truncation. For example, when you upload a long text, you can retain specific overlapped text content between consecutive chunks to better understand the context.
|
|
9
|
+
* The size of overlapping data between consecutive chunks. The maximum value of this parameter cannot be greater than the value of the ChunkSize parameter.
|
|
10
|
+
* > This parameter prevents context loss caused by data truncation. For example, when you upload long text, you can retain specific overlapping text content between consecutive chunks for better context understanding.
|
|
12
11
|
*
|
|
13
12
|
* @example
|
|
14
13
|
* 50
|
|
@@ -16,7 +15,7 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
16
15
|
chunkOverlap?: number;
|
|
17
16
|
/**
|
|
18
17
|
* @remarks
|
|
19
|
-
*
|
|
18
|
+
* The strategy for processing large data: the size of each chunk when data is split into smaller parts. Maximum value: 2048.
|
|
20
19
|
*
|
|
21
20
|
* @example
|
|
22
21
|
* 250
|
|
@@ -24,8 +23,8 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
24
23
|
chunkSize?: number;
|
|
25
24
|
/**
|
|
26
25
|
* @remarks
|
|
27
|
-
* The name of the document
|
|
28
|
-
* >
|
|
26
|
+
* The name of the document collection.
|
|
27
|
+
* >Created by the [CreateDocumentCollection](https://help.aliyun.com/document_detail/2618448.html) operation. You can call the [ListDocumentCollections](https://help.aliyun.com/document_detail/2618452.html) operation to query the created document collections.
|
|
29
28
|
*
|
|
30
29
|
* This parameter is required.
|
|
31
30
|
*
|
|
@@ -35,7 +34,7 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
35
34
|
collection?: string;
|
|
36
35
|
/**
|
|
37
36
|
* @remarks
|
|
38
|
-
*
|
|
37
|
+
* The ID of the instance that has vector engine optimization enabled. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in the target region, including instance IDs.
|
|
39
38
|
*
|
|
40
39
|
* This parameter is required.
|
|
41
40
|
*
|
|
@@ -45,8 +44,7 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
45
44
|
DBInstanceId?: string;
|
|
46
45
|
/**
|
|
47
46
|
* @remarks
|
|
48
|
-
*
|
|
49
|
-
*
|
|
47
|
+
* The name of the document loader. If you do not specify this parameter, the system automatically selects the corresponding document loader based on the file name extension in the following order. Valid values:
|
|
50
48
|
* * UnstructuredHTMLLoader: .html
|
|
51
49
|
* * UnstructuredMarkdownLoader: .md
|
|
52
50
|
* * PyMuPDFLoader: .pdf
|
|
@@ -57,7 +55,7 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
57
55
|
* * CSVLoader: .csv
|
|
58
56
|
* * RapidOCRLoader: .png, .jpg, .jpeg, and .bmp
|
|
59
57
|
* * UnstructuredFileLoader: .eml, .msg, .rst, .txt, .docx, .epub, .odt, .pptx, and .tsv
|
|
60
|
-
* * ADBPGLoader (
|
|
58
|
+
* * ADBPGLoader (paid, first 3,000 pages free): .pdf, .doc, .docx, .ppt, .pptx, .xls, .xlsx, .xlsm, .csv, .txt, .jpg, .jpeg, .png, .bmp, .gif, .md, .html, .epub, .mobi, and .rtf
|
|
61
59
|
*
|
|
62
60
|
* @example
|
|
63
61
|
* PyMuPDFLoader
|
|
@@ -65,9 +63,9 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
65
63
|
documentLoaderName?: string;
|
|
66
64
|
/**
|
|
67
65
|
* @remarks
|
|
68
|
-
* Specifies whether to perform only document understanding and chunking
|
|
66
|
+
* Specifies whether to perform only document understanding and chunking without vectorization and storage. Default value: false.
|
|
69
67
|
*
|
|
70
|
-
* > You can set this parameter to true
|
|
68
|
+
* > You can set this parameter to true to check the chunking results and then optimize as needed.
|
|
71
69
|
*
|
|
72
70
|
* @example
|
|
73
71
|
* false
|
|
@@ -75,15 +73,11 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
75
73
|
dryRun?: boolean;
|
|
76
74
|
/**
|
|
77
75
|
* @remarks
|
|
78
|
-
* The name of the
|
|
79
|
-
*
|
|
80
|
-
* >
|
|
81
|
-
*
|
|
82
|
-
* * File name: .json, .md, and .pdf.
|
|
76
|
+
* The file name of the document.
|
|
83
77
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
78
|
+
* >* The file name must include file name extension, such as .json, .md, or .pdf.
|
|
79
|
+
* >* Supported image file extensions include .bmp, .jpg, .jpeg, .png, and .tiff.
|
|
80
|
+
* >* You can upload images by using an archive. The archive file name must include file name extension. Supported archive extensions include .tar, .gz, and .zip.
|
|
87
81
|
*
|
|
88
82
|
* This parameter is required.
|
|
89
83
|
*
|
|
@@ -93,8 +87,12 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
93
87
|
fileName?: string;
|
|
94
88
|
/**
|
|
95
89
|
* @remarks
|
|
96
|
-
* The URL of the
|
|
97
|
-
* >
|
|
90
|
+
* The publicly accessible URL of the document.
|
|
91
|
+
* > Use the SDK to call this operation. The SDK provides a method named UploadDocumentAsyncAdvance that allows you to directly upload local files.
|
|
92
|
+
* If the URL points to an image archive, the number of images in the archive cannot exceed 100.
|
|
93
|
+
*
|
|
94
|
+
* >Notice:
|
|
95
|
+
* The maximum size of an image uploaded by using multimodal-embedding-v1 is 3 MB.
|
|
98
96
|
*
|
|
99
97
|
* This parameter is required.
|
|
100
98
|
*
|
|
@@ -104,12 +102,12 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
104
102
|
fileUrlObject?: Readable;
|
|
105
103
|
/**
|
|
106
104
|
* @remarks
|
|
107
|
-
* The metadata. The value of this parameter must be the same as the Metadata parameter
|
|
105
|
+
* The metadata. The value of this parameter must be the same as the Metadata parameter specified when you call the CreateDocumentCollection operation.
|
|
108
106
|
*/
|
|
109
107
|
metadata?: { [key: string]: any };
|
|
110
108
|
/**
|
|
111
109
|
* @remarks
|
|
112
|
-
*
|
|
110
|
+
* The namespace. Default value: public. You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query the list of namespaces.
|
|
113
111
|
*
|
|
114
112
|
* @example
|
|
115
113
|
* mynamespace
|
|
@@ -117,7 +115,7 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
117
115
|
namespace?: string;
|
|
118
116
|
/**
|
|
119
117
|
* @remarks
|
|
120
|
-
* The password
|
|
118
|
+
* The password of the namespace. The value is specified by the CreateNamespace operation.
|
|
121
119
|
*
|
|
122
120
|
* This parameter is required.
|
|
123
121
|
*
|
|
@@ -138,20 +136,27 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
138
136
|
regionId?: string;
|
|
139
137
|
/**
|
|
140
138
|
* @remarks
|
|
141
|
-
* The separators
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* * This is an important parameter that determines the chunking effect. This parameter is related to the splitter that is specified by the TextSplitterName parameter.
|
|
146
|
-
*
|
|
147
|
-
* * In most cases, you do not need to specify this parameter. The server assigns separators based on the value of the TextSplitterName parameter.
|
|
139
|
+
* The separators used to split large data.
|
|
140
|
+
* > * This is an important parameter that determines the effectiveness of data chunking. This parameter is related to the splitter specified by the TextSplitterName parameter.
|
|
141
|
+
* >* In most cases, you do not need to specify this parameter. The server assigns separators based on the value of the TextSplitterName parameter.
|
|
148
142
|
*/
|
|
149
143
|
separators?: string[];
|
|
150
144
|
/**
|
|
151
145
|
* @remarks
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
* >
|
|
146
|
+
* The splitting model to use when DocumentLoaderName is set to ADBPGLoader and TextSplitterName is set to LLMSplitter. Default value: qwen3-8b.
|
|
147
|
+
* >
|
|
148
|
+
* > Currently supported splitting models:
|
|
149
|
+
* > qwq-plus, qwq-plus-latest,
|
|
150
|
+
* > qwen-max, qwen-max-latest,
|
|
151
|
+
* > qwen-plus, qwen-plus-latest,
|
|
152
|
+
* > qwen-turbo, qwen-turbo-latest,
|
|
153
|
+
* > qwen3-235b-a22b, qwen3-32b, qwen3-30b-a3b,
|
|
154
|
+
* > qwen3-14b, qwen3-8b, qwen3-4b, qwen3-1.7b, qwen3-0.6b,
|
|
155
|
+
* > qwq-32b
|
|
156
|
+
* > qwen2.5-14b-instruct-1m, qwen2.5-7b-instruct-1m
|
|
157
|
+
* > qwen2.5-72b-instruct, qwen2.5-32b-instruct,
|
|
158
|
+
* > qwen2.5-14b-instruct, qwen2.5-7b-instruct,
|
|
159
|
+
* > qwen2.5-3b-instruct, qwen2.5-1.5b-instruct, qwen2.5-0.5b-instruct
|
|
155
160
|
*
|
|
156
161
|
* @example
|
|
157
162
|
* qwen3-8b
|
|
@@ -159,13 +164,20 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
159
164
|
splitterModel?: string;
|
|
160
165
|
/**
|
|
161
166
|
* @remarks
|
|
162
|
-
* The name of the
|
|
167
|
+
* The name of the text splitter. Valid values:
|
|
168
|
+
* * **ChineseRecursiveTextSplitter**: inherits from RecursiveCharacterTextSplitter and uses `["
|
|
169
|
+
*
|
|
170
|
+
* ","
|
|
171
|
+
* ", "。|!|?", "\\.\\s|\\!\\s|\\?\\s", ";|;\\s", ",|,\\s"]` as the default separators with regular expression matching.
|
|
172
|
+
* * **RecursiveCharacterTextSplitter**: uses `["
|
|
173
|
+
*
|
|
174
|
+
* ", "
|
|
175
|
+
* ", " ", ""]` as the default separators. This splitter supports splitting code in languages such as C++, Go, Java, JS, PHP, Proto, Python, RST, Ruby, Rust, Scala, Swift, Markdown, LaTeX, HTML, Sol, and C Sharp.
|
|
176
|
+
* * **SpacyTextSplitter**: uses `
|
|
163
177
|
*
|
|
164
|
-
*
|
|
165
|
-
* * **
|
|
166
|
-
* * **
|
|
167
|
-
* * **MarkdownHeaderTextSplitter**: Splits text in the [("#", "head1"), ("##", "head2"), ("###", "head3"), ("####", "head4") format. This splitter works well with Markdown text.
|
|
168
|
-
* * **LLMSplitter**: Use LLM to split text. The default model is qwen3-8b. Currently, this splitter works only when ADBPGLoader is selected.
|
|
178
|
+
* ` as the default separator and the spaCy en_core_web_sm model. This splitter provides better splitting results.
|
|
179
|
+
* * **MarkdownHeaderTextSplitter**: splits text in the format of [("#", "head1"), ("##", "head2"), ("###", "head3"), ("####", "head4")]. This splitter is suitable for Markdown text.
|
|
180
|
+
* * **LLMSplitter**: uses an LLM to split text. The default model is qwen3-8b. This splitter takes effect only when ADBPGLoader is selected as the document loader.
|
|
169
181
|
*
|
|
170
182
|
* @example
|
|
171
183
|
* ChineseRecursiveTextSplitter
|
|
@@ -176,12 +188,9 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
176
188
|
* Specifies whether to enable VL-enhanced content recognition for complex documents. Default value: false.
|
|
177
189
|
*
|
|
178
190
|
* >
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* * Document processing time is longer after VL-enhanced content recognition is enabled.
|
|
183
|
-
*
|
|
184
|
-
* * After VL-enhanced content recognition is enabled, images in documents cannot be stored or recalled.
|
|
191
|
+
* > - For complex documents with disorganized layouts and formats, enable VL-enhanced content recognition.
|
|
192
|
+
* > - After VL-enhanced content recognition is enabled, document processing takes longer.
|
|
193
|
+
* > - After VL-enhanced content recognition is enabled, images in the document cannot be stored or recalled.
|
|
185
194
|
*
|
|
186
195
|
* @example
|
|
187
196
|
* false
|
|
@@ -190,8 +199,7 @@ export class UploadDocumentAsyncAdvanceRequest extends $dara.Model {
|
|
|
190
199
|
/**
|
|
191
200
|
* @remarks
|
|
192
201
|
* Specifies whether to enable title enhancement.
|
|
193
|
-
*
|
|
194
|
-
* > You can determine the title text, mark the text in the metadata, and then combine the text with the upper-level title to implement text enhancement.
|
|
202
|
+
* >You can identify the title text, mark the text in the metadata, and then combine the text with the upper-level title for text enhancement.
|
|
195
203
|
*
|
|
196
204
|
* @example
|
|
197
205
|
* false
|
|
@@ -5,9 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The size of data
|
|
9
|
-
*
|
|
10
|
-
* > This parameter is used to prevent context missing that may occur due to data truncation. For example, when you upload a long text, you can retain specific overlapped text content between consecutive chunks to better understand the context.
|
|
8
|
+
* The size of overlapping data between consecutive chunks. The maximum value of this parameter cannot be greater than the value of the ChunkSize parameter.
|
|
9
|
+
* > This parameter prevents context loss caused by data truncation. For example, when you upload long text, you can retain specific overlapping text content between consecutive chunks for better context understanding.
|
|
11
10
|
*
|
|
12
11
|
* @example
|
|
13
12
|
* 50
|
|
@@ -15,7 +14,7 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
15
14
|
chunkOverlap?: number;
|
|
16
15
|
/**
|
|
17
16
|
* @remarks
|
|
18
|
-
*
|
|
17
|
+
* The strategy for processing large data: the size of each chunk when data is split into smaller parts. Maximum value: 2048.
|
|
19
18
|
*
|
|
20
19
|
* @example
|
|
21
20
|
* 250
|
|
@@ -23,8 +22,8 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
23
22
|
chunkSize?: number;
|
|
24
23
|
/**
|
|
25
24
|
* @remarks
|
|
26
|
-
* The name of the document
|
|
27
|
-
* >
|
|
25
|
+
* The name of the document collection.
|
|
26
|
+
* >Created by the [CreateDocumentCollection](https://help.aliyun.com/document_detail/2618448.html) operation. You can call the [ListDocumentCollections](https://help.aliyun.com/document_detail/2618452.html) operation to query the created document collections.
|
|
28
27
|
*
|
|
29
28
|
* This parameter is required.
|
|
30
29
|
*
|
|
@@ -34,7 +33,7 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
34
33
|
collection?: string;
|
|
35
34
|
/**
|
|
36
35
|
* @remarks
|
|
37
|
-
*
|
|
36
|
+
* The ID of the instance that has vector engine optimization enabled. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in the target region, including instance IDs.
|
|
38
37
|
*
|
|
39
38
|
* This parameter is required.
|
|
40
39
|
*
|
|
@@ -44,8 +43,7 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
44
43
|
DBInstanceId?: string;
|
|
45
44
|
/**
|
|
46
45
|
* @remarks
|
|
47
|
-
*
|
|
48
|
-
*
|
|
46
|
+
* The name of the document loader. If you do not specify this parameter, the system automatically selects the corresponding document loader based on the file name extension in the following order. Valid values:
|
|
49
47
|
* * UnstructuredHTMLLoader: .html
|
|
50
48
|
* * UnstructuredMarkdownLoader: .md
|
|
51
49
|
* * PyMuPDFLoader: .pdf
|
|
@@ -56,7 +54,7 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
56
54
|
* * CSVLoader: .csv
|
|
57
55
|
* * RapidOCRLoader: .png, .jpg, .jpeg, and .bmp
|
|
58
56
|
* * UnstructuredFileLoader: .eml, .msg, .rst, .txt, .docx, .epub, .odt, .pptx, and .tsv
|
|
59
|
-
* * ADBPGLoader (
|
|
57
|
+
* * ADBPGLoader (paid, first 3,000 pages free): .pdf, .doc, .docx, .ppt, .pptx, .xls, .xlsx, .xlsm, .csv, .txt, .jpg, .jpeg, .png, .bmp, .gif, .md, .html, .epub, .mobi, and .rtf
|
|
60
58
|
*
|
|
61
59
|
* @example
|
|
62
60
|
* PyMuPDFLoader
|
|
@@ -64,9 +62,9 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
64
62
|
documentLoaderName?: string;
|
|
65
63
|
/**
|
|
66
64
|
* @remarks
|
|
67
|
-
* Specifies whether to perform only document understanding and chunking
|
|
65
|
+
* Specifies whether to perform only document understanding and chunking without vectorization and storage. Default value: false.
|
|
68
66
|
*
|
|
69
|
-
* > You can set this parameter to true
|
|
67
|
+
* > You can set this parameter to true to check the chunking results and then optimize as needed.
|
|
70
68
|
*
|
|
71
69
|
* @example
|
|
72
70
|
* false
|
|
@@ -74,15 +72,11 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
74
72
|
dryRun?: boolean;
|
|
75
73
|
/**
|
|
76
74
|
* @remarks
|
|
77
|
-
* The name of the
|
|
78
|
-
*
|
|
79
|
-
* >
|
|
80
|
-
*
|
|
81
|
-
* * File name: .json, .md, and .pdf.
|
|
75
|
+
* The file name of the document.
|
|
82
76
|
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
77
|
+
* >* The file name must include file name extension, such as .json, .md, or .pdf.
|
|
78
|
+
* >* Supported image file extensions include .bmp, .jpg, .jpeg, .png, and .tiff.
|
|
79
|
+
* >* You can upload images by using an archive. The archive file name must include file name extension. Supported archive extensions include .tar, .gz, and .zip.
|
|
86
80
|
*
|
|
87
81
|
* This parameter is required.
|
|
88
82
|
*
|
|
@@ -92,8 +86,12 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
92
86
|
fileName?: string;
|
|
93
87
|
/**
|
|
94
88
|
* @remarks
|
|
95
|
-
* The URL of the
|
|
96
|
-
* >
|
|
89
|
+
* The publicly accessible URL of the document.
|
|
90
|
+
* > Use the SDK to call this operation. The SDK provides a method named UploadDocumentAsyncAdvance that allows you to directly upload local files.
|
|
91
|
+
* If the URL points to an image archive, the number of images in the archive cannot exceed 100.
|
|
92
|
+
*
|
|
93
|
+
* >Notice:
|
|
94
|
+
* The maximum size of an image uploaded by using multimodal-embedding-v1 is 3 MB.
|
|
97
95
|
*
|
|
98
96
|
* This parameter is required.
|
|
99
97
|
*
|
|
@@ -103,12 +101,12 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
103
101
|
fileUrl?: string;
|
|
104
102
|
/**
|
|
105
103
|
* @remarks
|
|
106
|
-
* The metadata. The value of this parameter must be the same as the Metadata parameter
|
|
104
|
+
* The metadata. The value of this parameter must be the same as the Metadata parameter specified when you call the CreateDocumentCollection operation.
|
|
107
105
|
*/
|
|
108
106
|
metadata?: { [key: string]: any };
|
|
109
107
|
/**
|
|
110
108
|
* @remarks
|
|
111
|
-
*
|
|
109
|
+
* The namespace. Default value: public. You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query the list of namespaces.
|
|
112
110
|
*
|
|
113
111
|
* @example
|
|
114
112
|
* mynamespace
|
|
@@ -116,7 +114,7 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
116
114
|
namespace?: string;
|
|
117
115
|
/**
|
|
118
116
|
* @remarks
|
|
119
|
-
* The password
|
|
117
|
+
* The password of the namespace. The value is specified by the CreateNamespace operation.
|
|
120
118
|
*
|
|
121
119
|
* This parameter is required.
|
|
122
120
|
*
|
|
@@ -137,20 +135,27 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
137
135
|
regionId?: string;
|
|
138
136
|
/**
|
|
139
137
|
* @remarks
|
|
140
|
-
* The separators
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* * This is an important parameter that determines the chunking effect. This parameter is related to the splitter that is specified by the TextSplitterName parameter.
|
|
145
|
-
*
|
|
146
|
-
* * In most cases, you do not need to specify this parameter. The server assigns separators based on the value of the TextSplitterName parameter.
|
|
138
|
+
* The separators used to split large data.
|
|
139
|
+
* > * This is an important parameter that determines the effectiveness of data chunking. This parameter is related to the splitter specified by the TextSplitterName parameter.
|
|
140
|
+
* >* In most cases, you do not need to specify this parameter. The server assigns separators based on the value of the TextSplitterName parameter.
|
|
147
141
|
*/
|
|
148
142
|
separators?: string[];
|
|
149
143
|
/**
|
|
150
144
|
* @remarks
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* >
|
|
145
|
+
* The splitting model to use when DocumentLoaderName is set to ADBPGLoader and TextSplitterName is set to LLMSplitter. Default value: qwen3-8b.
|
|
146
|
+
* >
|
|
147
|
+
* > Currently supported splitting models:
|
|
148
|
+
* > qwq-plus, qwq-plus-latest,
|
|
149
|
+
* > qwen-max, qwen-max-latest,
|
|
150
|
+
* > qwen-plus, qwen-plus-latest,
|
|
151
|
+
* > qwen-turbo, qwen-turbo-latest,
|
|
152
|
+
* > qwen3-235b-a22b, qwen3-32b, qwen3-30b-a3b,
|
|
153
|
+
* > qwen3-14b, qwen3-8b, qwen3-4b, qwen3-1.7b, qwen3-0.6b,
|
|
154
|
+
* > qwq-32b
|
|
155
|
+
* > qwen2.5-14b-instruct-1m, qwen2.5-7b-instruct-1m
|
|
156
|
+
* > qwen2.5-72b-instruct, qwen2.5-32b-instruct,
|
|
157
|
+
* > qwen2.5-14b-instruct, qwen2.5-7b-instruct,
|
|
158
|
+
* > qwen2.5-3b-instruct, qwen2.5-1.5b-instruct, qwen2.5-0.5b-instruct
|
|
154
159
|
*
|
|
155
160
|
* @example
|
|
156
161
|
* qwen3-8b
|
|
@@ -158,13 +163,20 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
158
163
|
splitterModel?: string;
|
|
159
164
|
/**
|
|
160
165
|
* @remarks
|
|
161
|
-
* The name of the
|
|
166
|
+
* The name of the text splitter. Valid values:
|
|
167
|
+
* * **ChineseRecursiveTextSplitter**: inherits from RecursiveCharacterTextSplitter and uses `["
|
|
168
|
+
*
|
|
169
|
+
* ","
|
|
170
|
+
* ", "。|!|?", "\\.\\s|\\!\\s|\\?\\s", ";|;\\s", ",|,\\s"]` as the default separators with regular expression matching.
|
|
171
|
+
* * **RecursiveCharacterTextSplitter**: uses `["
|
|
172
|
+
*
|
|
173
|
+
* ", "
|
|
174
|
+
* ", " ", ""]` as the default separators. This splitter supports splitting code in languages such as C++, Go, Java, JS, PHP, Proto, Python, RST, Ruby, Rust, Scala, Swift, Markdown, LaTeX, HTML, Sol, and C Sharp.
|
|
175
|
+
* * **SpacyTextSplitter**: uses `
|
|
162
176
|
*
|
|
163
|
-
*
|
|
164
|
-
* * **
|
|
165
|
-
* * **
|
|
166
|
-
* * **MarkdownHeaderTextSplitter**: Splits text in the [("#", "head1"), ("##", "head2"), ("###", "head3"), ("####", "head4") format. This splitter works well with Markdown text.
|
|
167
|
-
* * **LLMSplitter**: Use LLM to split text. The default model is qwen3-8b. Currently, this splitter works only when ADBPGLoader is selected.
|
|
177
|
+
* ` as the default separator and the spaCy en_core_web_sm model. This splitter provides better splitting results.
|
|
178
|
+
* * **MarkdownHeaderTextSplitter**: splits text in the format of [("#", "head1"), ("##", "head2"), ("###", "head3"), ("####", "head4")]. This splitter is suitable for Markdown text.
|
|
179
|
+
* * **LLMSplitter**: uses an LLM to split text. The default model is qwen3-8b. This splitter takes effect only when ADBPGLoader is selected as the document loader.
|
|
168
180
|
*
|
|
169
181
|
* @example
|
|
170
182
|
* ChineseRecursiveTextSplitter
|
|
@@ -175,12 +187,9 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
175
187
|
* Specifies whether to enable VL-enhanced content recognition for complex documents. Default value: false.
|
|
176
188
|
*
|
|
177
189
|
* >
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* * Document processing time is longer after VL-enhanced content recognition is enabled.
|
|
182
|
-
*
|
|
183
|
-
* * After VL-enhanced content recognition is enabled, images in documents cannot be stored or recalled.
|
|
190
|
+
* > - For complex documents with disorganized layouts and formats, enable VL-enhanced content recognition.
|
|
191
|
+
* > - After VL-enhanced content recognition is enabled, document processing takes longer.
|
|
192
|
+
* > - After VL-enhanced content recognition is enabled, images in the document cannot be stored or recalled.
|
|
184
193
|
*
|
|
185
194
|
* @example
|
|
186
195
|
* false
|
|
@@ -189,8 +198,7 @@ export class UploadDocumentAsyncRequest extends $dara.Model {
|
|
|
189
198
|
/**
|
|
190
199
|
* @remarks
|
|
191
200
|
* Specifies whether to enable title enhancement.
|
|
192
|
-
*
|
|
193
|
-
* > You can determine the title text, mark the text in the metadata, and then combine the text with the upper-level title to implement text enhancement.
|
|
201
|
+
* >You can identify the title text, mark the text in the metadata, and then combine the text with the upper-level title for text enhancement.
|
|
194
202
|
*
|
|
195
203
|
* @example
|
|
196
204
|
* false
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UploadDocumentAsyncResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The job ID.
|
|
8
|
+
* The job ID, which is used to check the job status or cancel the job.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 231460f8-75dc-405e-a669-0c5204887e91
|
|
@@ -29,9 +29,9 @@ export class UploadDocumentAsyncResponseBody extends $dara.Model {
|
|
|
29
29
|
requestId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
*
|
|
33
|
-
* -
|
|
34
|
-
* -
|
|
32
|
+
* The creation status. Valid values:
|
|
33
|
+
* - success: The document was uploaded.
|
|
34
|
+
* - fail: The document failed to be uploaded.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* success
|