@alicloud/gpdb20160503 3.9.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 +318 -130
- package/dist/client.js +631 -130
- 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 +23 -0
- package/dist/models/CreateModelOperatorApiKeyRequest.js +58 -0
- package/dist/models/CreateModelOperatorApiKeyRequest.js.map +1 -0
- package/dist/models/CreateModelOperatorApiKeyResponse.d.ts +19 -0
- package/dist/models/CreateModelOperatorApiKeyResponse.js +69 -0
- package/dist/models/CreateModelOperatorApiKeyResponse.js.map +1 -0
- package/dist/models/CreateModelOperatorApiKeyResponseBody.d.ts +29 -0
- package/dist/models/CreateModelOperatorApiKeyResponseBody.js +60 -0
- package/dist/models/CreateModelOperatorApiKeyResponseBody.js.map +1 -0
- 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 +21 -0
- package/dist/models/DescribeModelOperatorApiKeyRequest.js +58 -0
- package/dist/models/DescribeModelOperatorApiKeyRequest.js.map +1 -0
- package/dist/models/DescribeModelOperatorApiKeyResponse.d.ts +19 -0
- package/dist/models/DescribeModelOperatorApiKeyResponse.js +69 -0
- package/dist/models/DescribeModelOperatorApiKeyResponse.js.map +1 -0
- package/dist/models/DescribeModelOperatorApiKeyResponseBody.d.ts +61 -0
- package/dist/models/DescribeModelOperatorApiKeyResponseBody.js +68 -0
- package/dist/models/DescribeModelOperatorApiKeyResponseBody.js.map +1 -0
- package/dist/models/DescribeModelOperatorUsageRequest.d.ts +85 -0
- package/dist/models/DescribeModelOperatorUsageRequest.js +79 -0
- package/dist/models/DescribeModelOperatorUsageRequest.js.map +1 -0
- package/dist/models/DescribeModelOperatorUsageResponse.d.ts +19 -0
- package/dist/models/DescribeModelOperatorUsageResponse.js +69 -0
- package/dist/models/DescribeModelOperatorUsageResponse.js.map +1 -0
- package/dist/models/DescribeModelOperatorUsageResponseBody.d.ts +145 -0
- package/dist/models/DescribeModelOperatorUsageResponseBody.js +145 -0
- package/dist/models/DescribeModelOperatorUsageResponseBody.js.map +1 -0
- package/dist/models/DescribeModelOperatorUsageShrinkRequest.d.ts +85 -0
- package/dist/models/DescribeModelOperatorUsageShrinkRequest.js +70 -0
- package/dist/models/DescribeModelOperatorUsageShrinkRequest.js.map +1 -0
- 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 +35 -0
- package/dist/models/ListModelOperatorApiKeysRequest.js +60 -0
- package/dist/models/ListModelOperatorApiKeysRequest.js.map +1 -0
- package/dist/models/ListModelOperatorApiKeysResponse.d.ts +19 -0
- package/dist/models/ListModelOperatorApiKeysResponse.js +69 -0
- package/dist/models/ListModelOperatorApiKeysResponse.js.map +1 -0
- package/dist/models/ListModelOperatorApiKeysResponseBody.d.ts +94 -0
- package/dist/models/ListModelOperatorApiKeysResponseBody.js +94 -0
- package/dist/models/ListModelOperatorApiKeysResponseBody.js.map +1 -0
- package/dist/models/ListModelOperatorServicesRequest.d.ts +34 -0
- package/dist/models/ListModelOperatorServicesRequest.js +60 -0
- package/dist/models/ListModelOperatorServicesRequest.js.map +1 -0
- package/dist/models/ListModelOperatorServicesResponse.d.ts +19 -0
- package/dist/models/ListModelOperatorServicesResponse.js +69 -0
- package/dist/models/ListModelOperatorServicesResponse.js.map +1 -0
- package/dist/models/ListModelOperatorServicesResponseBody.d.ts +70 -0
- package/dist/models/ListModelOperatorServicesResponseBody.js +88 -0
- package/dist/models/ListModelOperatorServicesResponseBody.js.map +1 -0
- 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 +43 -0
- package/dist/models/model.js +108 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +684 -130
- 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 +36 -0
- package/src/models/CreateModelOperatorApiKeyResponse.ts +40 -0
- package/src/models/CreateModelOperatorApiKeyResponseBody.ts +44 -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 +34 -0
- package/src/models/DescribeModelOperatorApiKeyResponse.ts +40 -0
- package/src/models/DescribeModelOperatorApiKeyResponseBody.ts +84 -0
- package/src/models/DescribeModelOperatorUsageRequest.ts +119 -0
- package/src/models/DescribeModelOperatorUsageResponse.ts +40 -0
- package/src/models/DescribeModelOperatorUsageResponseBody.ts +218 -0
- package/src/models/DescribeModelOperatorUsageShrinkRequest.ts +110 -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 +50 -0
- package/src/models/ListModelOperatorApiKeysResponse.ts +40 -0
- package/src/models/ListModelOperatorApiKeysResponseBody.ts +134 -0
- package/src/models/ListModelOperatorServicesRequest.ts +49 -0
- package/src/models/ListModelOperatorServicesResponse.ts +40 -0
- package/src/models/ListModelOperatorServicesResponseBody.ts +104 -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 +43 -0
|
@@ -5,8 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* The Serverless cache storage capacity. Unit: GB.
|
|
10
9
|
* > This parameter is required only for Serverless Pro instances.
|
|
11
10
|
*
|
|
12
11
|
* @example
|
|
@@ -15,7 +14,7 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
15
14
|
cacheStorageSize?: string;
|
|
16
15
|
/**
|
|
17
16
|
* @remarks
|
|
18
|
-
* This parameter is deprecated.
|
|
17
|
+
* This parameter is deprecated. You do not need to specify this parameter.
|
|
19
18
|
*
|
|
20
19
|
* @example
|
|
21
20
|
* null
|
|
@@ -23,7 +22,7 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
23
22
|
DBInstanceClass?: string;
|
|
24
23
|
/**
|
|
25
24
|
* @remarks
|
|
26
|
-
* This parameter is deprecated.
|
|
25
|
+
* This parameter is deprecated. You do not need to specify this parameter.
|
|
27
26
|
*
|
|
28
27
|
* @example
|
|
29
28
|
* null
|
|
@@ -43,9 +42,9 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
43
42
|
DBInstanceId?: string;
|
|
44
43
|
/**
|
|
45
44
|
* @remarks
|
|
46
|
-
* The specifications of segment nodes. For supported node specifications, see [Instance
|
|
45
|
+
* The specifications of segment nodes. For information about supported node specifications, see [Instance specifications](https://help.aliyun.com/document_detail/35406.html).
|
|
47
46
|
*
|
|
48
|
-
* > This parameter is
|
|
47
|
+
* > This parameter is supported only for elastic storage mode instances.
|
|
49
48
|
*
|
|
50
49
|
* @example
|
|
51
50
|
* 4C16G
|
|
@@ -53,7 +52,7 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
53
52
|
instanceSpec?: string;
|
|
54
53
|
/**
|
|
55
54
|
* @remarks
|
|
56
|
-
*
|
|
55
|
+
* This parameter is deprecated. You do not need to specify this parameter.
|
|
57
56
|
*
|
|
58
57
|
* @example
|
|
59
58
|
* null
|
|
@@ -62,7 +61,7 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
62
61
|
ownerId?: number;
|
|
63
62
|
/**
|
|
64
63
|
* @remarks
|
|
65
|
-
* This parameter is deprecated.
|
|
64
|
+
* This parameter is deprecated. You do not need to specify this parameter.
|
|
66
65
|
*
|
|
67
66
|
* @example
|
|
68
67
|
* null
|
|
@@ -80,7 +79,7 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
80
79
|
regionId?: string;
|
|
81
80
|
/**
|
|
82
81
|
* @remarks
|
|
83
|
-
* The ID of the resource group to which the instance belongs.
|
|
82
|
+
* The ID of the resource group to which the instance belongs. For information about how to obtain the resource group ID, see [View basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
|
|
84
83
|
*
|
|
85
84
|
* @example
|
|
86
85
|
* rg-bp67acfmxazb4p****
|
|
@@ -88,12 +87,10 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
88
87
|
resourceGroupId?: string;
|
|
89
88
|
/**
|
|
90
89
|
* @remarks
|
|
91
|
-
* The performance level (PL) of the disk. Valid values:
|
|
90
|
+
* The performance level (PL) of the cloud disk. Valid values:
|
|
92
91
|
*
|
|
93
92
|
* - **pl0**: PL0.
|
|
94
|
-
*
|
|
95
93
|
* - **pl1**: PL1.
|
|
96
|
-
*
|
|
97
94
|
* - **pl2**: PL2.
|
|
98
95
|
*
|
|
99
96
|
* @example
|
|
@@ -102,13 +99,11 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
102
99
|
segDiskPerformanceLevel?: string;
|
|
103
100
|
/**
|
|
104
101
|
* @remarks
|
|
105
|
-
* The number of segment nodes. The supported number of nodes varies based on the instance resource type and edition:
|
|
106
|
-
*
|
|
107
|
-
* - Instances in storage-elastic mode (High-availability Edition): 4 to 512, in increments of 4.
|
|
108
|
-
*
|
|
109
|
-
* - Instances in storage-elastic mode (High-performance Edition): 2 to 512, in increments of 2.
|
|
102
|
+
* The number of segment nodes. The supported number of nodes varies based on the instance resource type and instance edition:
|
|
110
103
|
*
|
|
111
|
-
* -
|
|
104
|
+
* - Elastic storage mode, High-availability Edition: Valid values: 4 to 512. The value must be a multiple of 4.
|
|
105
|
+
* - Elastic storage mode, <props="china">Basic Edition (formerly High-performance Edition)<props="intl">High-performance Edition: Valid values: 2 to 512. The value must be a multiple of 2.
|
|
106
|
+
* - Serverless manual scheduling mode: Valid values: 2 to 512. The value must be a multiple of 2.
|
|
112
107
|
*
|
|
113
108
|
* @example
|
|
114
109
|
* 2
|
|
@@ -116,7 +111,7 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
116
111
|
segNodeNum?: string;
|
|
117
112
|
/**
|
|
118
113
|
* @remarks
|
|
119
|
-
* The
|
|
114
|
+
* The cloud disk storage type after the change. Currently, only ESSD cloud disks are supported. Set the value to **cloud_essd**.
|
|
120
115
|
*
|
|
121
116
|
* @example
|
|
122
117
|
* cloud_essd
|
|
@@ -124,21 +119,16 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
124
119
|
segStorageType?: string;
|
|
125
120
|
/**
|
|
126
121
|
* @remarks
|
|
127
|
-
* -
|
|
128
|
-
*
|
|
129
|
-
* - For a Serverless Pro instance, this parameter specifies the reserved computing resources. Valid values range from 16 to 1,024. Unit: ACU. Default value: 16. Increment rules:
|
|
130
|
-
*
|
|
131
|
-
* - 16 to 32: in increments of 4.
|
|
132
|
-
*
|
|
133
|
-
* - 32 to 64: in increments of 8.
|
|
134
|
-
*
|
|
135
|
-
* - 64 to 128: in increments of 16.
|
|
122
|
+
* - Serverless instances:
|
|
123
|
+
* The compute resource threshold. Valid values: 8 to 32. The value must be a multiple of 8. Unit: ACU. Default value: 32.
|
|
136
124
|
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
* -
|
|
140
|
-
*
|
|
141
|
-
*
|
|
125
|
+
* - Serverless Pro instances: The reserved compute resources. Valid values: 16 to 1024. Unit: ACU. Default value: 16. The step size varies based on the value range:
|
|
126
|
+
* - 16 to 32: step size of 4.
|
|
127
|
+
* - 32 to 64: step size of 8.
|
|
128
|
+
* - 64 to 128: step size of 16.
|
|
129
|
+
* - 128 to 256: step size of 32.
|
|
130
|
+
* - Greater than 256: step size of 64.
|
|
131
|
+
* > This parameter is required only for Serverless automatic scheduling mode and Serverless Pro instances.
|
|
142
132
|
*
|
|
143
133
|
* @example
|
|
144
134
|
* 16
|
|
@@ -146,9 +136,9 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
146
136
|
serverlessResource?: string;
|
|
147
137
|
/**
|
|
148
138
|
* @remarks
|
|
149
|
-
* The storage capacity of
|
|
139
|
+
* The storage capacity of segment nodes. Unit: GB. Valid values: 50 to <props="china">8000<props="intl">6000. The value must be a multiple of 50.
|
|
150
140
|
*
|
|
151
|
-
* > This parameter is
|
|
141
|
+
* > This parameter is supported only for elastic storage mode instances.
|
|
152
142
|
*
|
|
153
143
|
* @example
|
|
154
144
|
* 100
|
|
@@ -156,23 +146,17 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
|
|
|
156
146
|
storageSize?: string;
|
|
157
147
|
/**
|
|
158
148
|
* @remarks
|
|
159
|
-
* The type of specification change. Valid values:
|
|
160
|
-
*
|
|
161
|
-
* - **0** (default): Changes the number of segment nodes. The SegNodeNum parameter is required, and other parameters are ignored.
|
|
162
|
-
*
|
|
163
|
-
* - **1**: Changes the specifications and storage capacity of segment nodes. The InstanceSpec parameter is required. The StorageSize parameter is optional. If specified, its value must be greater than or equal to the current storage capacity of the instance.
|
|
164
|
-
*
|
|
165
|
-
* - **2**: Changes the number of master nodes. The MasterNodeNum parameter is required, and other parameters are ignored.
|
|
166
|
-
*
|
|
167
|
-
* - **3**: Changes the disk storage type and performance level. The SegDiskPerformanceLevel and SegStorageType parameters are required, and other parameters are ignored.
|
|
168
|
-
*
|
|
169
|
-
* > * Support for scaling computing resources varies by instance resource type. For more information, see [Usage notes](https://help.aliyun.com/document_detail/50956.html).
|
|
170
|
-
*
|
|
171
|
-
* - If you select a change type, only the parameters associated with that type take effect; other parameters are ignored. For example, if you set **UpgradeType** to 0 and specify parameters to change both the number of segment nodes and the number of master nodes, only the parameters for changing the number of segment nodes take effect.
|
|
149
|
+
* The type of the specification change. Valid values:
|
|
172
150
|
*
|
|
173
|
-
* -
|
|
151
|
+
* - **0** (default): Changes the number of segment nodes. SegNodeNum is required. Other parameters do not take effect.
|
|
152
|
+
* - **1**: Changes the segment node specifications and instance storage capacity. InstanceSpec is required. StorageSize is optional and must be greater than or equal to the current instance storage capacity.
|
|
153
|
+
* - **2**: Changes the number of master nodes. MasterNodeNum is required. Other parameters do not take effect.
|
|
154
|
+
* - **3**: Changes the cloud disk storage type and performance level (PL). SegDiskPerformanceLevel and SegStorageType are required. Other parameters do not take effect.
|
|
174
155
|
*
|
|
175
|
-
* -
|
|
156
|
+
* > - Different instance resource types support different Upgrade/Downgrade operations for compute nodes. For more information, see [Precautions](https://help.aliyun.com/document_detail/50956.html).
|
|
157
|
+
* - After you select a specification change type, only the corresponding parameters take effect. Other parameters do not take effect. For example, if **UpgradeType** is set to 0 and you specify both the number of segment nodes and the number of master nodes, only the number of segment nodes is changed.
|
|
158
|
+
* - Changing the number of master nodes is supported only on the China site (aliyun.com).
|
|
159
|
+
* - You can change the cloud disk storage type only from standard SSD to ESSD cloud disk.
|
|
176
160
|
*
|
|
177
161
|
* @example
|
|
178
162
|
* 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
|