@alicloud/gpdb20160503 3.10.0 → 3.11.1
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 +285 -172
- package/dist/client.js +448 -175
- 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 +54 -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 +37 -0
- package/dist/models/CreateApiKeyResponseBody.js +62 -0
- package/dist/models/CreateApiKeyResponseBody.js.map +1 -0
- package/dist/models/CreateApiKeyShrinkRequest.d.ts +54 -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/CreateDbinstanceRequest.d.ts +116 -171
- package/dist/models/CreateDbinstanceRequest.js.map +1 -1
- package/dist/models/CreateDbinstanceResponseBody.d.ts +3 -3
- 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 +25 -10
- package/dist/models/CreateSupabaseProjectRequest.js +27 -1
- package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
- package/dist/models/CreateSupabaseProjectResponseBody.d.ts +2 -2
- package/dist/models/DeleteAiserviceRequest.d.ts +2 -2
- package/dist/models/DeleteApiKeyRequest.d.ts +31 -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 +29 -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/DeleteWorkspaceRequest.d.ts +5 -0
- package/dist/models/DeleteWorkspaceRequest.js.map +1 -1
- package/dist/models/DeleteWorkspaceResponseBody.d.ts +6 -0
- package/dist/models/DeleteWorkspaceResponseBody.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 +31 -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 +105 -0
- package/dist/models/GetApiKeyResponseBody.js +96 -0
- package/dist/models/GetApiKeyResponseBody.js.map +1 -0
- package/dist/models/GetSaasServiceRequest.d.ts +5 -0
- package/dist/models/GetSaasServiceRequest.js.map +1 -1
- package/dist/models/GetSaasServiceResponseBody.d.ts +38 -0
- package/dist/models/GetSaasServiceResponseBody.js.map +1 -1
- package/dist/models/GetServiceAccessInfoRequest.d.ts +5 -0
- package/dist/models/GetServiceAccessInfoRequest.js.map +1 -1
- package/dist/models/GetServiceAccessInfoResponseBody.d.ts +9 -0
- package/dist/models/GetServiceAccessInfoResponseBody.js.map +1 -1
- 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 +31 -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 +230 -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 +55 -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 +139 -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 +31 -11
- package/dist/models/ListSaasServiceResponseBody.js +37 -1
- package/dist/models/ListSaasServiceResponseBody.js.map +1 -1
- 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 +23 -3
- package/dist/models/ListWorkspacesResponseBody.js +37 -1
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- 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/PauseSaasServiceRequest.d.ts +5 -0
- package/dist/models/PauseSaasServiceRequest.js.map +1 -1
- package/dist/models/PauseSaasServiceResponseBody.d.ts +6 -0
- package/dist/models/PauseSaasServiceResponseBody.js.map +1 -1
- package/dist/models/PauseSupabaseProjectRequest.d.ts +1 -1
- package/dist/models/QueryContentAdvanceRequest.d.ts +26 -27
- package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
- package/dist/models/QueryContentRequest.d.ts +26 -27
- package/dist/models/QueryContentRequest.js.map +1 -1
- package/dist/models/QueryContentResponseBody.d.ts +2 -2
- package/dist/models/QueryContentShrinkRequest.d.ts +24 -24
- 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/ResumeSaasServiceRequest.d.ts +5 -0
- package/dist/models/ResumeSaasServiceRequest.js.map +1 -1
- package/dist/models/ResumeSaasServiceResponseBody.d.ts +6 -0
- package/dist/models/ResumeSaasServiceResponseBody.js.map +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 +25 -0
- package/dist/models/model.js +82 -31
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +476 -175
- package/src/models/CreateAiserviceRequest.ts +16 -25
- package/src/models/CreateApiKeyRequest.ts +78 -0
- package/src/models/CreateApiKeyResponse.ts +40 -0
- package/src/models/CreateApiKeyResponseBody.ts +54 -0
- package/src/models/CreateApiKeyShrinkRequest.ts +75 -0
- package/src/models/CreateBranchRequest.ts +6 -6
- package/src/models/CreateBranchResponseBody.ts +2 -2
- package/src/models/CreateDbinstanceRequest.ts +124 -179
- package/src/models/CreateDbinstanceResponseBody.ts +3 -3
- 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 +42 -10
- package/src/models/CreateSupabaseProjectResponseBody.ts +2 -2
- package/src/models/DeleteAiserviceRequest.ts +2 -2
- package/src/models/DeleteApiKeyRequest.ts +46 -0
- package/src/models/DeleteApiKeyResponse.ts +40 -0
- package/src/models/DeleteApiKeyResponseBody.ts +44 -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/DeleteWorkspaceRequest.ts +5 -0
- package/src/models/DeleteWorkspaceResponseBody.ts +6 -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 +46 -0
- package/src/models/GetApiKeyResponse.ts +40 -0
- package/src/models/GetApiKeyResponseBody.ts +147 -0
- package/src/models/GetSaasServiceRequest.ts +5 -0
- package/src/models/GetSaasServiceResponseBody.ts +38 -0
- package/src/models/GetServiceAccessInfoRequest.ts +5 -0
- package/src/models/GetServiceAccessInfoResponseBody.ts +9 -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 +46 -0
- package/src/models/GetWorkspaceResponse.ts +40 -0
- package/src/models/GetWorkspaceResponseBody.ts +318 -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 +76 -0
- package/src/models/ListApiKeysResponse.ts +40 -0
- package/src/models/ListApiKeysResponseBody.ts +198 -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 +58 -11
- package/src/models/ListSupabaseProjectTagsRequest.ts +15 -17
- package/src/models/ListSupabaseProjectTagsResponseBody.ts +3 -3
- package/src/models/ListWorkspacesResponseBody.ts +50 -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/PauseSaasServiceRequest.ts +5 -0
- package/src/models/PauseSaasServiceResponseBody.ts +6 -0
- package/src/models/PauseSupabaseProjectRequest.ts +1 -1
- package/src/models/QueryContentAdvanceRequest.ts +26 -27
- package/src/models/QueryContentRequest.ts +26 -27
- package/src/models/QueryContentResponseBody.ts +2 -2
- package/src/models/QueryContentShrinkRequest.ts +24 -24
- package/src/models/QueryKnowledgeBasesContentRequest.ts +18 -18
- package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +1 -1
- package/src/models/RestoreSnapshotRequest.ts +1 -1
- package/src/models/ResumeSaasServiceRequest.ts +5 -0
- package/src/models/ResumeSaasServiceResponseBody.ts +6 -0
- 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 +25 -0
|
@@ -5,9 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAIServiceSecurityIpsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
9
|
-
*
|
|
10
|
-
* > To view details of all instances in a destination region, including their IDs, call the [DescribeDBInstances](https://help.aliyun.com/document_detail/196830.html) operation.
|
|
8
|
+
* The instance ID.
|
|
9
|
+
* > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/196830.html) operation to query the details of all instances in a region, including instance IDs.
|
|
11
10
|
*
|
|
12
11
|
* This parameter is required.
|
|
13
12
|
*
|
|
@@ -17,11 +16,9 @@ export class ModifyAIServiceSecurityIpsRequest extends $dara.Model {
|
|
|
17
16
|
DBInstanceId?: string;
|
|
18
17
|
/**
|
|
19
18
|
* @remarks
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* - 10.23.12.24 (
|
|
23
|
-
*
|
|
24
|
-
* - 10.23.12.24/24 (a CIDR block. The number after the slash indicates the prefix length and must be between 1 and 32.)
|
|
19
|
+
* The list of IP addresses in the IP address whitelist group. You can add up to 1,000 IP addresses, separated by commas (,). The value 127.0.0.1 indicates that no external IP addresses are allowed to access the instance. The following formats are supported:
|
|
20
|
+
* - 10.23.12.24 (IP address)
|
|
21
|
+
* - 10.23.12.24/24 (CIDR pattern, Classless Inter-Domain Routing. /24 specifies the prefix length, which ranges from 1 to 32.)
|
|
25
22
|
*
|
|
26
23
|
* This parameter is required.
|
|
27
24
|
*
|
|
@@ -31,7 +28,7 @@ export class ModifyAIServiceSecurityIpsRequest extends $dara.Model {
|
|
|
31
28
|
securityIPList?: string;
|
|
32
29
|
/**
|
|
33
30
|
* @remarks
|
|
34
|
-
* The ID
|
|
31
|
+
* The service ID.
|
|
35
32
|
*
|
|
36
33
|
* This parameter is required.
|
|
37
34
|
*
|
|
@@ -41,7 +38,7 @@ export class ModifyAIServiceSecurityIpsRequest extends $dara.Model {
|
|
|
41
38
|
serviceId?: string;
|
|
42
39
|
/**
|
|
43
40
|
* @remarks
|
|
44
|
-
* The service type.
|
|
41
|
+
* The service type. Currently, only drama is supported.
|
|
45
42
|
*
|
|
46
43
|
* This parameter is required.
|
|
47
44
|
*
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyDBInstanceDeploymentModeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The instance ID.
|
|
9
9
|
*
|
|
10
|
-
* > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the IDs of all AnalyticDB for PostgreSQL instances in
|
|
10
|
+
* > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -18,9 +18,8 @@ export class ModifyDBInstanceDeploymentModeRequest extends $dara.Model {
|
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
20
|
* The deployment mode. Valid values:
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* * single: Single-zone deployment.
|
|
21
|
+
* - multiple: multi-zone deployment.
|
|
22
|
+
* - single: single-zone deployment.
|
|
24
23
|
*
|
|
25
24
|
* This parameter is required.
|
|
26
25
|
*
|
|
@@ -30,13 +29,11 @@ export class ModifyDBInstanceDeploymentModeRequest extends $dara.Model {
|
|
|
30
29
|
deployMode?: string;
|
|
31
30
|
/**
|
|
32
31
|
* @remarks
|
|
33
|
-
* The vSwitch ID
|
|
32
|
+
* The vSwitch ID in the secondary zone.
|
|
34
33
|
*
|
|
35
34
|
* >
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* * The vSwitch must be deployed in the zone that is specified by the StandbyZoneId parameter.
|
|
35
|
+
* > - This parameter is required only for multi-zone deployment.
|
|
36
|
+
* > - The zone of the vSwitch specified by this parameter must be the same as the zone specified by StandbyZoneId.
|
|
40
37
|
*
|
|
41
38
|
* @example
|
|
42
39
|
* vsw-bp1cpq8mr64paltkb****
|
|
@@ -44,15 +41,12 @@ export class ModifyDBInstanceDeploymentModeRequest extends $dara.Model {
|
|
|
44
41
|
standbyVSwitchId?: string;
|
|
45
42
|
/**
|
|
46
43
|
* @remarks
|
|
47
|
-
* The
|
|
44
|
+
* The secondary zone ID.
|
|
48
45
|
*
|
|
49
46
|
* >
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/86912.html) operation to query the available zone list.
|
|
54
|
-
*
|
|
55
|
-
* * The ID of the secondary zone must be different from the ID of the primary zone.
|
|
47
|
+
* > - This parameter is required only for multi-zone deployment.
|
|
48
|
+
* > - You can call the [DescribeRegions](https://help.aliyun.com/document_detail/86912.html) operation to query available zone IDs.
|
|
49
|
+
* > - The secondary zone ID must be different from the primary zone ID.
|
|
56
50
|
*
|
|
57
51
|
* @example
|
|
58
52
|
* cn-hangzhou-j
|
|
@@ -5,11 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to enable
|
|
9
|
-
*
|
|
10
|
-
* -
|
|
11
|
-
*
|
|
12
|
-
* - `false`: Disables auto-scaling.
|
|
8
|
+
* Specifies whether to enable **automatic start and stop**. Valid values:
|
|
9
|
+
* - true: Enabled. After this feature is enabled, Supabase automatically pauses and resumes based on traffic conditions.
|
|
10
|
+
* - false: Disabled. After this feature is disabled, the automatic start and stop feature of Supabase is turned off.
|
|
13
11
|
*
|
|
14
12
|
* This parameter is required.
|
|
15
13
|
*
|
|
@@ -19,7 +17,7 @@ export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
|
19
17
|
autoScale?: boolean;
|
|
20
18
|
/**
|
|
21
19
|
* @remarks
|
|
22
|
-
* The ID of the Supabase project.
|
|
20
|
+
* The ID of the Supabase project. You can obtain the workspace ID from the Supabase page in the console.
|
|
23
21
|
*
|
|
24
22
|
* This parameter is required.
|
|
25
23
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifySupabaseProjectResourceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The specification change type.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class ModifySupabaseProjectResourceRequest extends $dara.Model {
|
|
|
15
15
|
modifyType?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The Supabase
|
|
18
|
+
* The Supabase instance ID.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,7 +25,7 @@ export class ModifySupabaseProjectResourceRequest extends $dara.Model {
|
|
|
25
25
|
projectId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The
|
|
28
|
+
* The specifications of the Supabase instance.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* 2C4G
|
|
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class PauseSaasServiceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The region ID of the service.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* cn-beijing
|
|
9
12
|
*/
|
|
10
13
|
regionId?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The service ID.
|
|
17
|
+
*
|
|
13
18
|
* This parameter is required.
|
|
14
19
|
*
|
|
15
20
|
* @example
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class PauseSaasServiceResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
9
12
|
*/
|
|
10
13
|
requestId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The service ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* drama-123456
|
|
14
20
|
*/
|
|
@@ -17,7 +17,7 @@ export class PauseSupabaseProjectRequest extends $dara.Model {
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* The region ID.
|
|
19
19
|
*
|
|
20
|
-
* >
|
|
20
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/86912.html) operation to query available region IDs.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* cn-hangzhou
|
|
@@ -36,8 +36,7 @@ export class QueryContentAdvanceRequestGraphSearchArgs extends $dara.Model {
|
|
|
36
36
|
export class QueryContentAdvanceRequestRerankModel extends $dara.Model {
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* This parameter can be set when RerankModel.Name is qwen3-rerank.
|
|
40
|
-
* Adds a custom sorting task type description. This parameter guides the model to adopt different sorting strategies.
|
|
39
|
+
* This parameter can be set when RerankModel.Name is qwen3-rerank. Specifies a custom sorting task type description that guides the model to adopt different sorting strategies.
|
|
41
40
|
*
|
|
42
41
|
* @example
|
|
43
42
|
* Given a web search query, retrieve relevant passages that answer the query
|
|
@@ -45,7 +44,7 @@ export class QueryContentAdvanceRequestRerankModel extends $dara.Model {
|
|
|
45
44
|
instruct?: string;
|
|
46
45
|
/**
|
|
47
46
|
* @remarks
|
|
48
|
-
* The
|
|
47
|
+
* The rerank model name. Valid values: qwen3-rerank, gte-rerank-v2.
|
|
49
48
|
*
|
|
50
49
|
* @example
|
|
51
50
|
* qwen3-rerank
|
|
@@ -114,7 +113,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
114
113
|
* @remarks
|
|
115
114
|
* The name of the source image file to search in image-to-image search scenarios.
|
|
116
115
|
*
|
|
117
|
-
* > The image file must have a file extension.
|
|
116
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
118
117
|
*
|
|
119
118
|
* @example
|
|
120
119
|
* test.jpg
|
|
@@ -124,7 +123,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
124
123
|
* @remarks
|
|
125
124
|
* The publicly accessible URL of the image file in image-to-image search scenarios.
|
|
126
125
|
*
|
|
127
|
-
* > The image file must have a file extension.
|
|
126
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
128
127
|
*
|
|
129
128
|
* @example
|
|
130
129
|
* https://xx/myImage.jpg
|
|
@@ -132,10 +131,10 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
132
131
|
fileUrlObject?: Readable;
|
|
133
132
|
/**
|
|
134
133
|
* @remarks
|
|
135
|
-
* The filter condition for the data to query, in SQL WHERE clause format. The
|
|
134
|
+
* The filter condition for the data to query, in SQL WHERE clause format. The expression returns a Boolean value (true or false). Conditions can be simple comparison operators such as equal to (=), not equal to (<> or !=), greater than (>), less than (<), greater than or equal to (>=), and less than or equal to (<=). Conditions can also be more complex expressions combined with logical operators (AND, OR, NOT), as well as conditions using IN, BETWEEN, and LIKE keywords.
|
|
136
135
|
*
|
|
137
136
|
* >
|
|
138
|
-
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where
|
|
137
|
+
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/
|
|
139
138
|
*
|
|
140
139
|
* @example
|
|
141
140
|
* title = \\"test\\" AND name like \\"test%\\"
|
|
@@ -156,13 +155,13 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
156
155
|
graphSearchArgs?: QueryContentAdvanceRequestGraphSearchArgs;
|
|
157
156
|
/**
|
|
158
157
|
* @remarks
|
|
159
|
-
* The multi-channel recall algorithm. Default value: empty
|
|
158
|
+
* The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieve are directly compared and sorting is performed).
|
|
160
159
|
*
|
|
161
160
|
* Valid values:
|
|
162
161
|
*
|
|
163
|
-
* - RRF: Reciprocal
|
|
164
|
-
* - Weight: Weighted sorting. Parameters control the score weights of
|
|
165
|
-
* - Cascaded: Full-text
|
|
162
|
+
* - RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
|
|
163
|
+
* - Weight: Weighted sorting. Parameters control the score weights of vector retrieve and full-text retrieve results before sorting. For more information, see the HybridSearchArgs configuration.
|
|
164
|
+
* - Cascaded: Full-text retrieve is performed first, followed by vector retrieve on the full-text retrieve results.
|
|
166
165
|
*
|
|
167
166
|
* @example
|
|
168
167
|
* RRF
|
|
@@ -170,9 +169,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
170
169
|
hybridSearch?: string;
|
|
171
170
|
/**
|
|
172
171
|
* @remarks
|
|
173
|
-
* The algorithm parameters for multi-channel recall. RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text
|
|
172
|
+
* The algorithm parameters for multi-channel recall. Currently, RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text retrieve (fulltext). If the value is empty, dense vectors (dense) and full-text retrieve (fulltext) are recalled by default.
|
|
174
173
|
*
|
|
175
|
-
* - RRF: Specifies the constant
|
|
174
|
+
* - RRF: Specifies the k constant in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:
|
|
176
175
|
* ```
|
|
177
176
|
* {
|
|
178
177
|
* "HybridPathsSetting": {
|
|
@@ -186,7 +185,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
186
185
|
*
|
|
187
186
|
* - Weight:
|
|
188
187
|
* - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
|
|
189
|
-
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text
|
|
188
|
+
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text retrieve. Valid values: 0 to 1, where 0 indicates full-text retrieve only and 1 indicates dense vectors only:
|
|
190
189
|
* ```
|
|
191
190
|
* {
|
|
192
191
|
* "Weight": {
|
|
@@ -195,7 +194,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
195
194
|
* }
|
|
196
195
|
* ```
|
|
197
196
|
* - Three-path recall pattern:
|
|
198
|
-
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext
|
|
197
|
+
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext parameters represent the weights of dense vectors, sparse vectors, and full-text retrieve respectively. Valid values: greater than or equal to 0. The system automatically performs normalization on the weights to 0–1 (normalized_x = x / (dense + sparse + fulltext)).
|
|
199
198
|
* ```
|
|
200
199
|
* {
|
|
201
200
|
* "HybridPathsSetting": {
|
|
@@ -220,7 +219,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
220
219
|
includeFileUrl?: boolean;
|
|
221
220
|
/**
|
|
222
221
|
* @remarks
|
|
223
|
-
* The metadata fields to return. Default value: empty.
|
|
222
|
+
* The metadata fields to return, separated by commas. Default value: empty.
|
|
224
223
|
*
|
|
225
224
|
* @example
|
|
226
225
|
* title,page
|
|
@@ -238,7 +237,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
238
237
|
includeVector?: boolean;
|
|
239
238
|
/**
|
|
240
239
|
* @remarks
|
|
241
|
-
* The similarity algorithm used
|
|
240
|
+
* The similarity algorithm used during retrieval. If this value is empty, the algorithm specified when the knowledge base was created is used. Leave this parameter empty unless you have specific requirements.
|
|
242
241
|
*
|
|
243
242
|
* > Valid values:
|
|
244
243
|
* > - **l2**: Euclidean distance.
|
|
@@ -253,7 +252,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
253
252
|
* @remarks
|
|
254
253
|
* The namespace. Default value: public.
|
|
255
254
|
*
|
|
256
|
-
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
255
|
+
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query the list of namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
257
256
|
*
|
|
258
257
|
* @example
|
|
259
258
|
* mynamespace
|
|
@@ -273,7 +272,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
273
272
|
namespacePassword?: string;
|
|
274
273
|
/**
|
|
275
274
|
* @remarks
|
|
276
|
-
* The offset for
|
|
275
|
+
* The offset for paging query.
|
|
277
276
|
*
|
|
278
277
|
* @example
|
|
279
278
|
* 0
|
|
@@ -283,9 +282,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
283
282
|
* @remarks
|
|
284
283
|
* The field used for sorting. Default value: empty.
|
|
285
284
|
*
|
|
286
|
-
* The field must belong to metadata or a default field in the table
|
|
285
|
+
* The field must belong to metadata or a default field in the table such as id. Supported formats:
|
|
287
286
|
*
|
|
288
|
-
*
|
|
287
|
+
* Single field, such as chunk_id.
|
|
289
288
|
* Multiple fields separated by commas, such as block_id, chunk_id.
|
|
290
289
|
* Descending order, such as block_id DESC, chunk_id DESC.
|
|
291
290
|
*
|
|
@@ -296,9 +295,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
296
295
|
ownerId?: number;
|
|
297
296
|
/**
|
|
298
297
|
* @remarks
|
|
299
|
-
* The recall window. When this value is not empty,
|
|
298
|
+
* The recall window. When this value is not empty, the context of the retrieval results is also returned. The format is a 2-element array: List<A, B>, where -10<=A<=0 and 0<=B<=10.
|
|
300
299
|
* > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
|
|
301
|
-
* > - Reranking takes priority over windowing
|
|
300
|
+
* > - Reranking takes priority over windowing, meaning reranking is performed first, followed by windowing.
|
|
302
301
|
*/
|
|
303
302
|
recallWindow?: number[];
|
|
304
303
|
/**
|
|
@@ -313,9 +312,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
313
312
|
regionId?: string;
|
|
314
313
|
/**
|
|
315
314
|
* @remarks
|
|
316
|
-
* The reranking factor. When this value is not empty, the
|
|
317
|
-
* > - Reranking is
|
|
318
|
-
* > - The total number of
|
|
315
|
+
* The reranking factor. When this value is not empty, the vector retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
|
|
316
|
+
* > - Reranking is slower when documents are sparsely chunked.
|
|
317
|
+
* > - The total number of items to rerank (TopK × Factor, rounded up) should not exceed 50.
|
|
319
318
|
*
|
|
320
319
|
* @example
|
|
321
320
|
* 2
|
|
@@ -349,7 +348,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
349
348
|
urlExpiration?: string;
|
|
350
349
|
/**
|
|
351
350
|
* @remarks
|
|
352
|
-
*
|
|
351
|
+
* **[Deprecated]** Specifies whether to use full-text retrieve (dual-path recall). Default value: false, which indicates that only vector retrieve is used.
|
|
353
352
|
*
|
|
354
353
|
* @example
|
|
355
354
|
* true
|
|
@@ -35,8 +35,7 @@ export class QueryContentRequestGraphSearchArgs extends $dara.Model {
|
|
|
35
35
|
export class QueryContentRequestRerankModel extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* This parameter can be set when RerankModel.Name is qwen3-rerank.
|
|
39
|
-
* Adds a custom sorting task type description. This parameter guides the model to adopt different sorting strategies.
|
|
38
|
+
* This parameter can be set when RerankModel.Name is qwen3-rerank. Specifies a custom sorting task type description that guides the model to adopt different sorting strategies.
|
|
40
39
|
*
|
|
41
40
|
* @example
|
|
42
41
|
* Given a web search query, retrieve relevant passages that answer the query
|
|
@@ -44,7 +43,7 @@ export class QueryContentRequestRerankModel extends $dara.Model {
|
|
|
44
43
|
instruct?: string;
|
|
45
44
|
/**
|
|
46
45
|
* @remarks
|
|
47
|
-
* The
|
|
46
|
+
* The rerank model name. Valid values: qwen3-rerank, gte-rerank-v2.
|
|
48
47
|
*
|
|
49
48
|
* @example
|
|
50
49
|
* qwen3-rerank
|
|
@@ -113,7 +112,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
113
112
|
* @remarks
|
|
114
113
|
* The name of the source image file to search in image-to-image search scenarios.
|
|
115
114
|
*
|
|
116
|
-
* > The image file must have a file extension.
|
|
115
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
117
116
|
*
|
|
118
117
|
* @example
|
|
119
118
|
* test.jpg
|
|
@@ -123,7 +122,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
123
122
|
* @remarks
|
|
124
123
|
* The publicly accessible URL of the image file in image-to-image search scenarios.
|
|
125
124
|
*
|
|
126
|
-
* > The image file must have a file extension.
|
|
125
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
127
126
|
*
|
|
128
127
|
* @example
|
|
129
128
|
* https://xx/myImage.jpg
|
|
@@ -131,10 +130,10 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
131
130
|
fileUrl?: string;
|
|
132
131
|
/**
|
|
133
132
|
* @remarks
|
|
134
|
-
* The filter condition for the data to query, in SQL WHERE clause format. The
|
|
133
|
+
* The filter condition for the data to query, in SQL WHERE clause format. The expression returns a Boolean value (true or false). Conditions can be simple comparison operators such as equal to (=), not equal to (<> or !=), greater than (>), less than (<), greater than or equal to (>=), and less than or equal to (<=). Conditions can also be more complex expressions combined with logical operators (AND, OR, NOT), as well as conditions using IN, BETWEEN, and LIKE keywords.
|
|
135
134
|
*
|
|
136
135
|
* >
|
|
137
|
-
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where
|
|
136
|
+
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/
|
|
138
137
|
*
|
|
139
138
|
* @example
|
|
140
139
|
* title = \\"test\\" AND name like \\"test%\\"
|
|
@@ -155,13 +154,13 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
155
154
|
graphSearchArgs?: QueryContentRequestGraphSearchArgs;
|
|
156
155
|
/**
|
|
157
156
|
* @remarks
|
|
158
|
-
* The multi-channel recall algorithm. Default value: empty
|
|
157
|
+
* The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieve are directly compared and sorting is performed).
|
|
159
158
|
*
|
|
160
159
|
* Valid values:
|
|
161
160
|
*
|
|
162
|
-
* - RRF: Reciprocal
|
|
163
|
-
* - Weight: Weighted sorting. Parameters control the score weights of
|
|
164
|
-
* - Cascaded: Full-text
|
|
161
|
+
* - RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
|
|
162
|
+
* - Weight: Weighted sorting. Parameters control the score weights of vector retrieve and full-text retrieve results before sorting. For more information, see the HybridSearchArgs configuration.
|
|
163
|
+
* - Cascaded: Full-text retrieve is performed first, followed by vector retrieve on the full-text retrieve results.
|
|
165
164
|
*
|
|
166
165
|
* @example
|
|
167
166
|
* RRF
|
|
@@ -169,9 +168,9 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
169
168
|
hybridSearch?: string;
|
|
170
169
|
/**
|
|
171
170
|
* @remarks
|
|
172
|
-
* The algorithm parameters for multi-channel recall. RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text
|
|
171
|
+
* The algorithm parameters for multi-channel recall. Currently, RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text retrieve (fulltext). If the value is empty, dense vectors (dense) and full-text retrieve (fulltext) are recalled by default.
|
|
173
172
|
*
|
|
174
|
-
* - RRF: Specifies the constant
|
|
173
|
+
* - RRF: Specifies the k constant in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:
|
|
175
174
|
* ```
|
|
176
175
|
* {
|
|
177
176
|
* "HybridPathsSetting": {
|
|
@@ -185,7 +184,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
185
184
|
*
|
|
186
185
|
* - Weight:
|
|
187
186
|
* - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
|
|
188
|
-
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text
|
|
187
|
+
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text retrieve. Valid values: 0 to 1, where 0 indicates full-text retrieve only and 1 indicates dense vectors only:
|
|
189
188
|
* ```
|
|
190
189
|
* {
|
|
191
190
|
* "Weight": {
|
|
@@ -194,7 +193,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
194
193
|
* }
|
|
195
194
|
* ```
|
|
196
195
|
* - Three-path recall pattern:
|
|
197
|
-
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext
|
|
196
|
+
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext parameters represent the weights of dense vectors, sparse vectors, and full-text retrieve respectively. Valid values: greater than or equal to 0. The system automatically performs normalization on the weights to 0–1 (normalized_x = x / (dense + sparse + fulltext)).
|
|
198
197
|
* ```
|
|
199
198
|
* {
|
|
200
199
|
* "HybridPathsSetting": {
|
|
@@ -219,7 +218,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
219
218
|
includeFileUrl?: boolean;
|
|
220
219
|
/**
|
|
221
220
|
* @remarks
|
|
222
|
-
* The metadata fields to return. Default value: empty.
|
|
221
|
+
* The metadata fields to return, separated by commas. Default value: empty.
|
|
223
222
|
*
|
|
224
223
|
* @example
|
|
225
224
|
* title,page
|
|
@@ -237,7 +236,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
237
236
|
includeVector?: boolean;
|
|
238
237
|
/**
|
|
239
238
|
* @remarks
|
|
240
|
-
* The similarity algorithm used
|
|
239
|
+
* The similarity algorithm used during retrieval. If this value is empty, the algorithm specified when the knowledge base was created is used. Leave this parameter empty unless you have specific requirements.
|
|
241
240
|
*
|
|
242
241
|
* > Valid values:
|
|
243
242
|
* > - **l2**: Euclidean distance.
|
|
@@ -252,7 +251,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
252
251
|
* @remarks
|
|
253
252
|
* The namespace. Default value: public.
|
|
254
253
|
*
|
|
255
|
-
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
254
|
+
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query the list of namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
256
255
|
*
|
|
257
256
|
* @example
|
|
258
257
|
* mynamespace
|
|
@@ -272,7 +271,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
272
271
|
namespacePassword?: string;
|
|
273
272
|
/**
|
|
274
273
|
* @remarks
|
|
275
|
-
* The offset for
|
|
274
|
+
* The offset for paging query.
|
|
276
275
|
*
|
|
277
276
|
* @example
|
|
278
277
|
* 0
|
|
@@ -282,9 +281,9 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
282
281
|
* @remarks
|
|
283
282
|
* The field used for sorting. Default value: empty.
|
|
284
283
|
*
|
|
285
|
-
* The field must belong to metadata or a default field in the table
|
|
284
|
+
* The field must belong to metadata or a default field in the table such as id. Supported formats:
|
|
286
285
|
*
|
|
287
|
-
*
|
|
286
|
+
* Single field, such as chunk_id.
|
|
288
287
|
* Multiple fields separated by commas, such as block_id, chunk_id.
|
|
289
288
|
* Descending order, such as block_id DESC, chunk_id DESC.
|
|
290
289
|
*
|
|
@@ -295,9 +294,9 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
295
294
|
ownerId?: number;
|
|
296
295
|
/**
|
|
297
296
|
* @remarks
|
|
298
|
-
* The recall window. When this value is not empty,
|
|
297
|
+
* The recall window. When this value is not empty, the context of the retrieval results is also returned. The format is a 2-element array: List<A, B>, where -10<=A<=0 and 0<=B<=10.
|
|
299
298
|
* > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
|
|
300
|
-
* > - Reranking takes priority over windowing
|
|
299
|
+
* > - Reranking takes priority over windowing, meaning reranking is performed first, followed by windowing.
|
|
301
300
|
*/
|
|
302
301
|
recallWindow?: number[];
|
|
303
302
|
/**
|
|
@@ -312,9 +311,9 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
312
311
|
regionId?: string;
|
|
313
312
|
/**
|
|
314
313
|
* @remarks
|
|
315
|
-
* The reranking factor. When this value is not empty, the
|
|
316
|
-
* > - Reranking is
|
|
317
|
-
* > - The total number of
|
|
314
|
+
* The reranking factor. When this value is not empty, the vector retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
|
|
315
|
+
* > - Reranking is slower when documents are sparsely chunked.
|
|
316
|
+
* > - The total number of items to rerank (TopK × Factor, rounded up) should not exceed 50.
|
|
318
317
|
*
|
|
319
318
|
* @example
|
|
320
319
|
* 2
|
|
@@ -348,7 +347,7 @@ export class QueryContentRequest extends $dara.Model {
|
|
|
348
347
|
urlExpiration?: string;
|
|
349
348
|
/**
|
|
350
349
|
* @remarks
|
|
351
|
-
*
|
|
350
|
+
* **[Deprecated]** Specifies whether to use full-text retrieve (dual-path recall). Default value: false, which indicates that only vector retrieve is used.
|
|
352
351
|
*
|
|
353
352
|
* @example
|
|
354
353
|
* true
|
|
@@ -426,8 +426,8 @@ export class QueryContentResponseBody extends $dara.Model {
|
|
|
426
426
|
* @remarks
|
|
427
427
|
* The status. Valid values:
|
|
428
428
|
*
|
|
429
|
-
* - **success**:
|
|
430
|
-
* - **fail**:
|
|
429
|
+
* - **success**: The operation is successful.
|
|
430
|
+
* - **fail**: The operation failed.
|
|
431
431
|
*
|
|
432
432
|
* @example
|
|
433
433
|
* success
|