@alicloud/polardb20170801 8.2.0 → 8.2.2
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 +56 -60
- package/dist/client.js +83 -82
- package/dist/client.js.map +1 -1
- package/dist/models/AnswerKnowledgeBaseRequest.d.ts +31 -1
- package/dist/models/AnswerKnowledgeBaseRequest.js.map +1 -1
- package/dist/models/AnswerKnowledgeBaseResponseBody.d.ts +9 -0
- package/dist/models/AnswerKnowledgeBaseResponseBody.js.map +1 -1
- package/dist/models/CreateKbsyncLinkRequest.d.ts +47 -0
- package/dist/models/CreateKbsyncLinkRequest.js +6 -0
- package/dist/models/CreateKbsyncLinkRequest.js.map +1 -1
- package/dist/models/CreateKbsyncLinkResponseBody.d.ts +36 -0
- package/dist/models/CreateKbsyncLinkResponseBody.js.map +1 -1
- package/dist/models/CreateStoragePlanRequest.d.ts +18 -9
- package/dist/models/CreateStoragePlanRequest.js.map +1 -1
- package/dist/models/DeleteDbclusterEndpointRequest.d.ts +4 -1
- package/dist/models/DeleteDbclusterEndpointRequest.js.map +1 -1
- package/dist/models/DeleteKbsyncLinkRequest.d.ts +6 -0
- package/dist/models/DeleteKbsyncLinkRequest.js.map +1 -1
- package/dist/models/DeleteKbsyncLinkResponseBody.d.ts +3 -0
- package/dist/models/DeleteKbsyncLinkResponseBody.js.map +1 -1
- package/dist/models/DeleteKnowledgeBaseFileRequest.d.ts +6 -0
- package/dist/models/DeleteKnowledgeBaseFileRequest.js.map +1 -1
- package/dist/models/DeleteKnowledgeBaseFileResponseBody.d.ts +3 -0
- package/dist/models/DeleteKnowledgeBaseFileResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +3 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslrequest.d.ts +4 -1
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +1 -1
- package/dist/models/DescribeDbclusterVersionRequest.d.ts +4 -6
- package/dist/models/DescribeDbclusterVersionRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterVersionResponseBody.d.ts +56 -80
- package/dist/models/DescribeDbclusterVersionResponseBody.js.map +1 -1
- package/dist/models/DescribeKbsyncLinksRequest.d.ts +7 -0
- package/dist/models/DescribeKbsyncLinksRequest.js.map +1 -1
- package/dist/models/DescribeKbsyncLinksResponseBody.d.ts +38 -0
- package/dist/models/DescribeKbsyncLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseAnswerRequest.d.ts +6 -0
- package/dist/models/DescribeKnowledgeBaseAnswerRequest.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.d.ts +70 -3
- package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseFileShardsRequest.d.ts +12 -0
- package/dist/models/DescribeKnowledgeBaseFileShardsRequest.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.d.ts +33 -0
- package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseFilesRequest.d.ts +23 -1
- package/dist/models/DescribeKnowledgeBaseFilesRequest.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseFilesResponseBody.d.ts +117 -2
- package/dist/models/DescribeKnowledgeBaseFilesResponseBody.js.map +1 -1
- package/dist/models/DescribeKnowledgeSpaceAttributeRequest.d.ts +4 -0
- package/dist/models/DescribeKnowledgeSpaceAttributeRequest.js.map +1 -1
- package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.d.ts +113 -0
- package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.js.map +1 -1
- package/dist/models/DisableDbclusterServerlessRequest.d.ts +12 -0
- package/dist/models/DisableDbclusterServerlessRequest.js.map +1 -1
- package/dist/models/EnableDbclusterServerlessRequest.d.ts +12 -0
- package/dist/models/EnableDbclusterServerlessRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +11 -8
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterArchRequest.d.ts +16 -9
- package/dist/models/ModifyDbclusterArchRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterParametersRequest.d.ts +23 -27
- package/dist/models/ModifyDbclusterParametersRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +18 -9
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/ModifyDbclusterStoragePerformanceRequest.d.ts +22 -35
- package/dist/models/ModifyDbclusterStoragePerformanceRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterStoragePerformanceResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolarFsMappingAuthRequest.d.ts +2 -2
- package/dist/models/RetrievalKnowledgeBaseRequest.d.ts +16 -1
- package/dist/models/RetrievalKnowledgeBaseRequest.js.map +1 -1
- package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +42 -3
- package/dist/models/RetrievalKnowledgeBaseResponseBody.js.map +1 -1
- package/dist/models/RetryKnowledgeBaseFilesRequest.d.ts +6 -0
- package/dist/models/RetryKnowledgeBaseFilesRequest.js.map +1 -1
- package/dist/models/RetryKnowledgeBaseFilesResponseBody.d.ts +31 -0
- package/dist/models/RetryKnowledgeBaseFilesResponseBody.js.map +1 -1
- package/dist/models/TempModifyDbnodeRequest.d.ts +20 -13
- package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
- package/dist/models/TransformDbclusterPayTypeRequest.d.ts +19 -10
- package/dist/models/TransformDbclusterPayTypeRequest.js.map +1 -1
- package/dist/models/TransformDbclusterPayTypeResponseBody.d.ts +2 -3
- package/dist/models/TransformDbclusterPayTypeResponseBody.js.map +1 -1
- package/dist/models/TriggerKnowledgeBaseSyncRequest.d.ts +7 -0
- package/dist/models/TriggerKnowledgeBaseSyncRequest.js.map +1 -1
- package/dist/models/TriggerKnowledgeBaseSyncResponseBody.d.ts +3 -0
- package/dist/models/TriggerKnowledgeBaseSyncResponseBody.js.map +1 -1
- package/dist/models/UpdateKbsyncLinkRequest.d.ts +57 -0
- package/dist/models/UpdateKbsyncLinkRequest.js +12 -0
- package/dist/models/UpdateKbsyncLinkRequest.js.map +1 -1
- package/dist/models/UpdateKbsyncLinkResponseBody.d.ts +10 -0
- package/dist/models/UpdateKbsyncLinkResponseBody.js.map +1 -1
- package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.d.ts +57 -0
- package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.js.map +1 -1
- package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.d.ts +3 -0
- package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.js.map +1 -1
- package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.d.ts +13 -0
- package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.js.map +1 -1
- package/dist/models/UpdateKnowledgeBaseRequest.d.ts +19 -0
- package/dist/models/UpdateKnowledgeBaseRequest.js.map +1 -1
- package/dist/models/UpdateKnowledgeBaseResponseBody.d.ts +6 -0
- package/dist/models/UpdateKnowledgeBaseResponseBody.js.map +1 -1
- package/dist/models/UpdateKnowledgeSpaceRequest.d.ts +65 -0
- package/dist/models/UpdateKnowledgeSpaceRequest.js.map +1 -1
- package/dist/models/UpdateKnowledgeSpaceResponseBody.d.ts +9 -0
- package/dist/models/UpdateKnowledgeSpaceResponseBody.js.map +1 -1
- package/dist/models/UpdateKnowledgeSpaceShrinkRequest.d.ts +20 -0
- package/dist/models/UpdateKnowledgeSpaceShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +92 -82
- package/src/models/AnswerKnowledgeBaseRequest.ts +31 -1
- package/src/models/AnswerKnowledgeBaseResponseBody.ts +9 -0
- package/src/models/CreateKbsyncLinkRequest.ts +53 -0
- package/src/models/CreateKbsyncLinkResponseBody.ts +36 -0
- package/src/models/CreateStoragePlanRequest.ts +18 -9
- package/src/models/DeleteDbclusterEndpointRequest.ts +4 -1
- package/src/models/DeleteKbsyncLinkRequest.ts +6 -0
- package/src/models/DeleteKbsyncLinkResponseBody.ts +3 -0
- package/src/models/DeleteKnowledgeBaseFileRequest.ts +6 -0
- package/src/models/DeleteKnowledgeBaseFileResponseBody.ts +3 -0
- package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +3 -0
- package/src/models/DescribeDbclusterSslrequest.ts +4 -1
- package/src/models/DescribeDbclusterSslresponseBody.ts +1 -1
- package/src/models/DescribeDbclusterVersionRequest.ts +4 -6
- package/src/models/DescribeDbclusterVersionResponseBody.ts +56 -80
- package/src/models/DescribeKbsyncLinksRequest.ts +7 -0
- package/src/models/DescribeKbsyncLinksResponseBody.ts +38 -0
- package/src/models/DescribeKnowledgeBaseAnswerRequest.ts +6 -0
- package/src/models/DescribeKnowledgeBaseAnswerResponseBody.ts +70 -3
- package/src/models/DescribeKnowledgeBaseFileShardsRequest.ts +12 -0
- package/src/models/DescribeKnowledgeBaseFileShardsResponseBody.ts +33 -0
- package/src/models/DescribeKnowledgeBaseFilesRequest.ts +23 -1
- package/src/models/DescribeKnowledgeBaseFilesResponseBody.ts +117 -2
- package/src/models/DescribeKnowledgeSpaceAttributeRequest.ts +4 -0
- package/src/models/DescribeKnowledgeSpaceAttributeResponseBody.ts +113 -0
- package/src/models/DisableDbclusterServerlessRequest.ts +12 -0
- package/src/models/EnableDbclusterServerlessRequest.ts +12 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +11 -8
- package/src/models/ModifyDbclusterArchRequest.ts +16 -9
- package/src/models/ModifyDbclusterParametersRequest.ts +24 -28
- package/src/models/ModifyDbclusterSslrequest.ts +18 -9
- package/src/models/ModifyDbclusterStoragePerformanceRequest.ts +22 -35
- package/src/models/ModifyDbclusterStoragePerformanceResponseBody.ts +1 -1
- package/src/models/ModifyPolarFsMappingAuthRequest.ts +2 -2
- package/src/models/RetrievalKnowledgeBaseRequest.ts +16 -1
- package/src/models/RetrievalKnowledgeBaseResponseBody.ts +42 -3
- package/src/models/RetryKnowledgeBaseFilesRequest.ts +6 -0
- package/src/models/RetryKnowledgeBaseFilesResponseBody.ts +31 -0
- package/src/models/TempModifyDbnodeRequest.ts +20 -13
- package/src/models/TransformDbclusterPayTypeRequest.ts +19 -10
- package/src/models/TransformDbclusterPayTypeResponseBody.ts +2 -3
- package/src/models/TriggerKnowledgeBaseSyncRequest.ts +7 -0
- package/src/models/TriggerKnowledgeBaseSyncResponseBody.ts +3 -0
- package/src/models/UpdateKbsyncLinkRequest.ts +69 -0
- package/src/models/UpdateKbsyncLinkResponseBody.ts +10 -0
- package/src/models/UpdateKnowledgeBaseFileShardingStrategyRequest.ts +57 -0
- package/src/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.ts +3 -0
- package/src/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.ts +13 -0
- package/src/models/UpdateKnowledgeBaseRequest.ts +19 -0
- package/src/models/UpdateKnowledgeBaseResponseBody.ts +6 -0
- package/src/models/UpdateKnowledgeSpaceRequest.ts +65 -0
- package/src/models/UpdateKnowledgeSpaceResponseBody.ts +9 -0
- package/src/models/UpdateKnowledgeSpaceShrinkRequest.ts +20 -0
package/dist/client.js
CHANGED
|
@@ -109,28 +109,6 @@ class Client extends openapi_core_1.default {
|
|
|
109
109
|
'cn-zhengzhou-nebula-1': "polardb.aliyuncs.com",
|
|
110
110
|
'eu-west-1-oxs': "polardb.aliyuncs.com",
|
|
111
111
|
'rus-west-1-pop': "polardb.aliyuncs.com",
|
|
112
|
-
'cn-hongkong': "polardb.cn-hongkong.aliyuncs.com",
|
|
113
|
-
'cn-zhangjiakou': "polardb.cn-zhangjiakou.aliyuncs.com",
|
|
114
|
-
'cn-shenzhen': "polardb.cn-shenzhen.aliyuncs.com",
|
|
115
|
-
'ap-northeast-2': "polardb.ap-northeast-2.aliyuncs.com",
|
|
116
|
-
'ap-northeast-1': "polardb.ap-northeast-1.aliyuncs.com",
|
|
117
|
-
'cn-chengdu': "polardb.cn-chengdu.aliyuncs.com",
|
|
118
|
-
'cn-guangzhou': "polardb.cn-guangzhou.aliyuncs.com",
|
|
119
|
-
'ap-southeast-1': "polardb.ap-southeast-1.aliyuncs.com",
|
|
120
|
-
'ap-southeast-3': "polardb.ap-southeast-3.aliyuncs.com",
|
|
121
|
-
'cn-huhehaote': "polardb.cn-huhehaote.aliyuncs.com",
|
|
122
|
-
'ap-southeast-5': "polardb.ap-southeast-5.aliyuncs.com",
|
|
123
|
-
'ap-southeast-6': "polardb.ap-southeast-6.aliyuncs.com",
|
|
124
|
-
'ap-southeast-7': "polardb.ap-southeast-7.aliyuncs.com",
|
|
125
|
-
'ap-southeast-8': "polardb.ap-southeast-8.aliyuncs.com",
|
|
126
|
-
'na-south-1': "polardb.na-south-1.aliyuncs.com",
|
|
127
|
-
'eu-central-1': "polardb.eu-central-1.aliyuncs.com",
|
|
128
|
-
'us-west-1': "polardb.us-west-1.aliyuncs.com",
|
|
129
|
-
'eu-west-1': "polardb.eu-west-1.aliyuncs.com",
|
|
130
|
-
'us-east-1': "polardb.us-east-1.aliyuncs.com",
|
|
131
|
-
'me-east-1': "polardb.me-east-1.aliyuncs.com",
|
|
132
|
-
'cn-shanghai-finance-1': "polardb.cn-shanghai-finance-1.aliyuncs.com",
|
|
133
|
-
'cn-shenzhen-finance-1': "polardb.cn-shenzhen-finance-1.aliyuncs.com",
|
|
134
112
|
};
|
|
135
113
|
this.checkConfig(config);
|
|
136
114
|
this._endpoint = this.getEndpoint("polardb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -606,7 +584,7 @@ class Client extends openapi_core_1.default {
|
|
|
606
584
|
return await this.addSQLRateLimitingRulesWithOptions(request, runtime);
|
|
607
585
|
}
|
|
608
586
|
/**
|
|
609
|
-
*
|
|
587
|
+
* Performs a single-round knowledge base question answering.
|
|
610
588
|
*
|
|
611
589
|
* @param request - AnswerKnowledgeBaseRequest
|
|
612
590
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -665,7 +643,7 @@ class Client extends openapi_core_1.default {
|
|
|
665
643
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AnswerKnowledgeBaseResponse({}));
|
|
666
644
|
}
|
|
667
645
|
/**
|
|
668
|
-
*
|
|
646
|
+
* Performs a single-round knowledge base question answering.
|
|
669
647
|
*
|
|
670
648
|
* @param request - AnswerKnowledgeBaseRequest
|
|
671
649
|
* @returns AnswerKnowledgeBaseResponse
|
|
@@ -4750,7 +4728,7 @@ class Client extends openapi_core_1.default {
|
|
|
4750
4728
|
return await this.createGwConsumerOrderWithOptions(request, runtime);
|
|
4751
4729
|
}
|
|
4752
4730
|
/**
|
|
4753
|
-
*
|
|
4731
|
+
* Creates a knowledge base synchronization link.
|
|
4754
4732
|
*
|
|
4755
4733
|
* @param request - CreateKBSyncLinkRequest
|
|
4756
4734
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4774,9 +4752,15 @@ class Client extends openapi_core_1.default {
|
|
|
4774
4752
|
if (!$dara.isNull(request.linkName)) {
|
|
4775
4753
|
query["LinkName"] = request.linkName;
|
|
4776
4754
|
}
|
|
4755
|
+
if (!$dara.isNull(request.mcpEndpoint)) {
|
|
4756
|
+
query["McpEndpoint"] = request.mcpEndpoint;
|
|
4757
|
+
}
|
|
4777
4758
|
if (!$dara.isNull(request.regionId)) {
|
|
4778
4759
|
query["RegionId"] = request.regionId;
|
|
4779
4760
|
}
|
|
4761
|
+
if (!$dara.isNull(request.sheetMcpEndpoint)) {
|
|
4762
|
+
query["SheetMcpEndpoint"] = request.sheetMcpEndpoint;
|
|
4763
|
+
}
|
|
4780
4764
|
if (!$dara.isNull(request.sourceDir)) {
|
|
4781
4765
|
query["SourceDir"] = request.sourceDir;
|
|
4782
4766
|
}
|
|
@@ -4789,6 +4773,9 @@ class Client extends openapi_core_1.default {
|
|
|
4789
4773
|
if (!$dara.isNull(request.tenantId)) {
|
|
4790
4774
|
query["TenantId"] = request.tenantId;
|
|
4791
4775
|
}
|
|
4776
|
+
if (!$dara.isNull(request.userId)) {
|
|
4777
|
+
query["UserId"] = request.userId;
|
|
4778
|
+
}
|
|
4792
4779
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4793
4780
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4794
4781
|
});
|
|
@@ -4806,7 +4793,7 @@ class Client extends openapi_core_1.default {
|
|
|
4806
4793
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateKBSyncLinkResponse({}));
|
|
4807
4794
|
}
|
|
4808
4795
|
/**
|
|
4809
|
-
*
|
|
4796
|
+
* Creates a knowledge base synchronization link.
|
|
4810
4797
|
*
|
|
4811
4798
|
* @param request - CreateKBSyncLinkRequest
|
|
4812
4799
|
* @returns CreateKBSyncLinkResponse
|
|
@@ -6992,7 +6979,7 @@ class Client extends openapi_core_1.default {
|
|
|
6992
6979
|
return await this.deleteDBClusterWithOptions(request, runtime);
|
|
6993
6980
|
}
|
|
6994
6981
|
/**
|
|
6995
|
-
*
|
|
6982
|
+
* Releases a custom cluster endpoint of a PolarDB cluster.
|
|
6996
6983
|
*
|
|
6997
6984
|
* @param request - DeleteDBClusterEndpointRequest
|
|
6998
6985
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7039,7 +7026,7 @@ class Client extends openapi_core_1.default {
|
|
|
7039
7026
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDBClusterEndpointResponse({}));
|
|
7040
7027
|
}
|
|
7041
7028
|
/**
|
|
7042
|
-
*
|
|
7029
|
+
* Releases a custom cluster endpoint of a PolarDB cluster.
|
|
7043
7030
|
*
|
|
7044
7031
|
* @param request - DeleteDBClusterEndpointRequest
|
|
7045
7032
|
* @returns DeleteDBClusterEndpointResponse
|
|
@@ -7793,7 +7780,7 @@ class Client extends openapi_core_1.default {
|
|
|
7793
7780
|
return await this.deleteGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
7794
7781
|
}
|
|
7795
7782
|
/**
|
|
7796
|
-
*
|
|
7783
|
+
* Deletes a knowledge base synchronization link.
|
|
7797
7784
|
*
|
|
7798
7785
|
* @param request - DeleteKBSyncLinkRequest
|
|
7799
7786
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7828,7 +7815,7 @@ class Client extends openapi_core_1.default {
|
|
|
7828
7815
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKBSyncLinkResponse({}));
|
|
7829
7816
|
}
|
|
7830
7817
|
/**
|
|
7831
|
-
*
|
|
7818
|
+
* Deletes a knowledge base synchronization link.
|
|
7832
7819
|
*
|
|
7833
7820
|
* @param request - DeleteKBSyncLinkRequest
|
|
7834
7821
|
* @returns DeleteKBSyncLinkResponse
|
|
@@ -7880,7 +7867,7 @@ class Client extends openapi_core_1.default {
|
|
|
7880
7867
|
return await this.deleteKnowledgeBaseWithOptions(request, runtime);
|
|
7881
7868
|
}
|
|
7882
7869
|
/**
|
|
7883
|
-
*
|
|
7870
|
+
* Deletes a knowledge base file.
|
|
7884
7871
|
*
|
|
7885
7872
|
* @param request - DeleteKnowledgeBaseFileRequest
|
|
7886
7873
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7915,7 +7902,7 @@ class Client extends openapi_core_1.default {
|
|
|
7915
7902
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKnowledgeBaseFileResponse({}));
|
|
7916
7903
|
}
|
|
7917
7904
|
/**
|
|
7918
|
-
*
|
|
7905
|
+
* Deletes a knowledge base file.
|
|
7919
7906
|
*
|
|
7920
7907
|
* @param request - DeleteKnowledgeBaseFileRequest
|
|
7921
7908
|
* @returns DeleteKnowledgeBaseFileResponse
|
|
@@ -13144,10 +13131,10 @@ class Client extends openapi_core_1.default {
|
|
|
13144
13131
|
return await this.describeDBClusterTDEWithOptions(request, runtime);
|
|
13145
13132
|
}
|
|
13146
13133
|
/**
|
|
13147
|
-
*
|
|
13134
|
+
* Queries the details of the current Milvus version of a PolarDB for MySQL cluster.
|
|
13148
13135
|
*
|
|
13149
13136
|
* @remarks
|
|
13150
|
-
* >
|
|
13137
|
+
* >For more information about the minor Milvus versions and details of PolarDB for MySQL Cluster Edition, see [Minor Milvus version description](https://help.aliyun.com/document_detail/471239.html) and [Release notes](https://help.aliyun.com/document_detail/423884.html).
|
|
13151
13138
|
*
|
|
13152
13139
|
* @param request - DescribeDBClusterVersionRequest
|
|
13153
13140
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13191,10 +13178,10 @@ class Client extends openapi_core_1.default {
|
|
|
13191
13178
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterVersionResponse({}));
|
|
13192
13179
|
}
|
|
13193
13180
|
/**
|
|
13194
|
-
*
|
|
13181
|
+
* Queries the details of the current Milvus version of a PolarDB for MySQL cluster.
|
|
13195
13182
|
*
|
|
13196
13183
|
* @remarks
|
|
13197
|
-
* >
|
|
13184
|
+
* >For more information about the minor Milvus versions and details of PolarDB for MySQL Cluster Edition, see [Minor Milvus version description](https://help.aliyun.com/document_detail/471239.html) and [Release notes](https://help.aliyun.com/document_detail/423884.html).
|
|
13198
13185
|
*
|
|
13199
13186
|
* @param request - DescribeDBClusterVersionRequest
|
|
13200
13187
|
* @returns DescribeDBClusterVersionResponse
|
|
@@ -15310,7 +15297,7 @@ class Client extends openapi_core_1.default {
|
|
|
15310
15297
|
return await this.describeHistoryTasksStatWithOptions(request, runtime);
|
|
15311
15298
|
}
|
|
15312
15299
|
/**
|
|
15313
|
-
*
|
|
15300
|
+
* Queries the synchronization list of a knowledge base.
|
|
15314
15301
|
*
|
|
15315
15302
|
* @param request - DescribeKBSyncLinksRequest
|
|
15316
15303
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15345,7 +15332,7 @@ class Client extends openapi_core_1.default {
|
|
|
15345
15332
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKBSyncLinksResponse({}));
|
|
15346
15333
|
}
|
|
15347
15334
|
/**
|
|
15348
|
-
*
|
|
15335
|
+
* Queries the synchronization list of a knowledge base.
|
|
15349
15336
|
*
|
|
15350
15337
|
* @param request - DescribeKBSyncLinksRequest
|
|
15351
15338
|
* @returns DescribeKBSyncLinksResponse
|
|
@@ -15355,7 +15342,7 @@ class Client extends openapi_core_1.default {
|
|
|
15355
15342
|
return await this.describeKBSyncLinksWithOptions(request, runtime);
|
|
15356
15343
|
}
|
|
15357
15344
|
/**
|
|
15358
|
-
*
|
|
15345
|
+
* Queries the result of a single-turn Q&A task in a knowledge base.
|
|
15359
15346
|
*
|
|
15360
15347
|
* @param request - DescribeKnowledgeBaseAnswerRequest
|
|
15361
15348
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15390,7 +15377,7 @@ class Client extends openapi_core_1.default {
|
|
|
15390
15377
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBaseAnswerResponse({}));
|
|
15391
15378
|
}
|
|
15392
15379
|
/**
|
|
15393
|
-
*
|
|
15380
|
+
* Queries the result of a single-turn Q&A task in a knowledge base.
|
|
15394
15381
|
*
|
|
15395
15382
|
* @param request - DescribeKnowledgeBaseAnswerRequest
|
|
15396
15383
|
* @returns DescribeKnowledgeBaseAnswerResponse
|
|
@@ -15442,7 +15429,7 @@ class Client extends openapi_core_1.default {
|
|
|
15442
15429
|
return await this.describeKnowledgeBaseAttributeWithOptions(request, runtime);
|
|
15443
15430
|
}
|
|
15444
15431
|
/**
|
|
15445
|
-
*
|
|
15432
|
+
* Queries the list of file shards in a knowledge base.
|
|
15446
15433
|
*
|
|
15447
15434
|
* @param request - DescribeKnowledgeBaseFileShardsRequest
|
|
15448
15435
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15483,7 +15470,7 @@ class Client extends openapi_core_1.default {
|
|
|
15483
15470
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBaseFileShardsResponse({}));
|
|
15484
15471
|
}
|
|
15485
15472
|
/**
|
|
15486
|
-
*
|
|
15473
|
+
* Queries the list of file shards in a knowledge base.
|
|
15487
15474
|
*
|
|
15488
15475
|
* @param request - DescribeKnowledgeBaseFileShardsRequest
|
|
15489
15476
|
* @returns DescribeKnowledgeBaseFileShardsResponse
|
|
@@ -15493,7 +15480,7 @@ class Client extends openapi_core_1.default {
|
|
|
15493
15480
|
return await this.describeKnowledgeBaseFileShardsWithOptions(request, runtime);
|
|
15494
15481
|
}
|
|
15495
15482
|
/**
|
|
15496
|
-
*
|
|
15483
|
+
* Queries the list of files in a knowledge base.
|
|
15497
15484
|
*
|
|
15498
15485
|
* @param request - DescribeKnowledgeBaseFilesRequest
|
|
15499
15486
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15543,7 +15530,7 @@ class Client extends openapi_core_1.default {
|
|
|
15543
15530
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBaseFilesResponse({}));
|
|
15544
15531
|
}
|
|
15545
15532
|
/**
|
|
15546
|
-
*
|
|
15533
|
+
* Queries the list of files in a knowledge base.
|
|
15547
15534
|
*
|
|
15548
15535
|
* @param request - DescribeKnowledgeBaseFilesRequest
|
|
15549
15536
|
* @returns DescribeKnowledgeBaseFilesResponse
|
|
@@ -15607,7 +15594,7 @@ class Client extends openapi_core_1.default {
|
|
|
15607
15594
|
return await this.describeKnowledgeBasesWithOptions(request, runtime);
|
|
15608
15595
|
}
|
|
15609
15596
|
/**
|
|
15610
|
-
*
|
|
15597
|
+
* Queries the details of a knowledge space.
|
|
15611
15598
|
*
|
|
15612
15599
|
* @param request - DescribeKnowledgeSpaceAttributeRequest
|
|
15613
15600
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15639,7 +15626,7 @@ class Client extends openapi_core_1.default {
|
|
|
15639
15626
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeSpaceAttributeResponse({}));
|
|
15640
15627
|
}
|
|
15641
15628
|
/**
|
|
15642
|
-
*
|
|
15629
|
+
* Queries the details of a knowledge space.
|
|
15643
15630
|
*
|
|
15644
15631
|
* @param request - DescribeKnowledgeSpaceAttributeRequest
|
|
15645
15632
|
* @returns DescribeKnowledgeSpaceAttributeResponse
|
|
@@ -18742,7 +18729,7 @@ class Client extends openapi_core_1.default {
|
|
|
18742
18729
|
return await this.disableDBClusterOrcaWithOptions(request, runtime);
|
|
18743
18730
|
}
|
|
18744
18731
|
/**
|
|
18745
|
-
* Disables steady-state
|
|
18732
|
+
* Disables steady-state Serverless.
|
|
18746
18733
|
*
|
|
18747
18734
|
* @param request - DisableDBClusterServerlessRequest
|
|
18748
18735
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18792,7 +18779,7 @@ class Client extends openapi_core_1.default {
|
|
|
18792
18779
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableDBClusterServerlessResponse({}));
|
|
18793
18780
|
}
|
|
18794
18781
|
/**
|
|
18795
|
-
* Disables steady-state
|
|
18782
|
+
* Disables steady-state Serverless.
|
|
18796
18783
|
*
|
|
18797
18784
|
* @param request - DisableDBClusterServerlessRequest
|
|
18798
18785
|
* @returns DisableDBClusterServerlessResponse
|
|
@@ -22773,11 +22760,11 @@ class Client extends openapi_core_1.default {
|
|
|
22773
22760
|
return await this.modifyDBClusterMonitorWithOptions(request, runtime);
|
|
22774
22761
|
}
|
|
22775
22762
|
/**
|
|
22776
|
-
* Modifies the parameters of a PolarDB cluster or applies an existing parameter template to
|
|
22763
|
+
* Modifies the parameters of a PolarDB cluster or applies an existing parameter template to the specified cluster.
|
|
22777
22764
|
*
|
|
22778
22765
|
* @remarks
|
|
22779
|
-
*
|
|
22780
|
-
* >
|
|
22766
|
+
* PolarDB provides the parameter template feature. You can use parameter templates to centrally manage parameters and quickly apply them to clusters. For more information, see [Use parameter templates](https://help.aliyun.com/document_detail/207009.html).
|
|
22767
|
+
* > Currently, only PolarDB for MySQL supports the parameter template feature.
|
|
22781
22768
|
*
|
|
22782
22769
|
* @param request - ModifyDBClusterParametersRequest
|
|
22783
22770
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22836,11 +22823,11 @@ class Client extends openapi_core_1.default {
|
|
|
22836
22823
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterParametersResponse({}));
|
|
22837
22824
|
}
|
|
22838
22825
|
/**
|
|
22839
|
-
* Modifies the parameters of a PolarDB cluster or applies an existing parameter template to
|
|
22826
|
+
* Modifies the parameters of a PolarDB cluster or applies an existing parameter template to the specified cluster.
|
|
22840
22827
|
*
|
|
22841
22828
|
* @remarks
|
|
22842
|
-
*
|
|
22843
|
-
* >
|
|
22829
|
+
* PolarDB provides the parameter template feature. You can use parameter templates to centrally manage parameters and quickly apply them to clusters. For more information, see [Use parameter templates](https://help.aliyun.com/document_detail/207009.html).
|
|
22830
|
+
* > Currently, only PolarDB for MySQL supports the parameter template feature.
|
|
22844
22831
|
*
|
|
22845
22832
|
* @param request - ModifyDBClusterParametersRequest
|
|
22846
22833
|
* @returns ModifyDBClusterParametersResponse
|
|
@@ -22982,7 +22969,7 @@ class Client extends openapi_core_1.default {
|
|
|
22982
22969
|
return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
|
|
22983
22970
|
}
|
|
22984
22971
|
/**
|
|
22985
|
-
* Enables or
|
|
22972
|
+
* Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
|
|
22986
22973
|
*
|
|
22987
22974
|
* @param request - ModifyDBClusterSSLRequest
|
|
22988
22975
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23044,7 +23031,7 @@ class Client extends openapi_core_1.default {
|
|
|
23044
23031
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterSSLResponse({}));
|
|
23045
23032
|
}
|
|
23046
23033
|
/**
|
|
23047
|
-
* Enables or
|
|
23034
|
+
* Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
|
|
23048
23035
|
*
|
|
23049
23036
|
* @param request - ModifyDBClusterSSLRequest
|
|
23050
23037
|
* @returns ModifyDBClusterSSLResponse
|
|
@@ -26371,7 +26358,7 @@ class Client extends openapi_core_1.default {
|
|
|
26371
26358
|
return await this.restoreTableWithOptions(request, runtime);
|
|
26372
26359
|
}
|
|
26373
26360
|
/**
|
|
26374
|
-
*
|
|
26361
|
+
* Retrieves information from a knowledge base.
|
|
26375
26362
|
*
|
|
26376
26363
|
* @param request - RetrievalKnowledgeBaseRequest
|
|
26377
26364
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26415,7 +26402,7 @@ class Client extends openapi_core_1.default {
|
|
|
26415
26402
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetrievalKnowledgeBaseResponse({}));
|
|
26416
26403
|
}
|
|
26417
26404
|
/**
|
|
26418
|
-
*
|
|
26405
|
+
* Retrieves information from a knowledge base.
|
|
26419
26406
|
*
|
|
26420
26407
|
* @param request - RetrievalKnowledgeBaseRequest
|
|
26421
26408
|
* @returns RetrievalKnowledgeBaseResponse
|
|
@@ -26425,7 +26412,7 @@ class Client extends openapi_core_1.default {
|
|
|
26425
26412
|
return await this.retrievalKnowledgeBaseWithOptions(request, runtime);
|
|
26426
26413
|
}
|
|
26427
26414
|
/**
|
|
26428
|
-
*
|
|
26415
|
+
* Retries failed files in a knowledge base in batches.
|
|
26429
26416
|
*
|
|
26430
26417
|
* @param request - RetryKnowledgeBaseFilesRequest
|
|
26431
26418
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26460,7 +26447,7 @@ class Client extends openapi_core_1.default {
|
|
|
26460
26447
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetryKnowledgeBaseFilesResponse({}));
|
|
26461
26448
|
}
|
|
26462
26449
|
/**
|
|
26463
|
-
*
|
|
26450
|
+
* Retries failed files in a knowledge base in batches.
|
|
26464
26451
|
*
|
|
26465
26452
|
* @param request - RetryKnowledgeBaseFilesRequest
|
|
26466
26453
|
* @returns RetryKnowledgeBaseFilesResponse
|
|
@@ -26928,7 +26915,7 @@ class Client extends openapi_core_1.default {
|
|
|
26928
26915
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
26929
26916
|
}
|
|
26930
26917
|
/**
|
|
26931
|
-
* Temporarily
|
|
26918
|
+
* Temporarily changes the specifications of a cluster.
|
|
26932
26919
|
*
|
|
26933
26920
|
* @param request - TempModifyDBNodeRequest
|
|
26934
26921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26990,7 +26977,7 @@ class Client extends openapi_core_1.default {
|
|
|
26990
26977
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TempModifyDBNodeResponse({}));
|
|
26991
26978
|
}
|
|
26992
26979
|
/**
|
|
26993
|
-
* Temporarily
|
|
26980
|
+
* Temporarily changes the specifications of a cluster.
|
|
26994
26981
|
*
|
|
26995
26982
|
* @param request - TempModifyDBNodeRequest
|
|
26996
26983
|
* @returns TempModifyDBNodeResponse
|
|
@@ -27003,11 +26990,9 @@ class Client extends openapi_core_1.default {
|
|
|
27003
26990
|
* Changes the billing method of a PolarDB cluster.
|
|
27004
26991
|
*
|
|
27005
26992
|
* @remarks
|
|
27006
|
-
* > - PolarDB clusters support
|
|
27007
|
-
*
|
|
27008
|
-
*
|
|
27009
|
-
* >
|
|
27010
|
-
* > - When you change the billing method from subscription to pay-as-you-go, the system automatically refunds your remaining prepaid fees.
|
|
26993
|
+
* > - PolarDB clusters support subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
|
|
26994
|
+
* >- If your Alibaba Cloud account balance is insufficient, you cannot change the pay-as-you-go billing method to subscription.
|
|
26995
|
+
* >- When you change the billing method from subscription to pay-as-you-go, the system automatically refunds the remaining balance of the fees that you have paid.
|
|
27011
26996
|
*
|
|
27012
26997
|
* @param request - TransformDBClusterPayTypeRequest
|
|
27013
26998
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27075,11 +27060,9 @@ class Client extends openapi_core_1.default {
|
|
|
27075
27060
|
* Changes the billing method of a PolarDB cluster.
|
|
27076
27061
|
*
|
|
27077
27062
|
* @remarks
|
|
27078
|
-
* > - PolarDB clusters support
|
|
27079
|
-
*
|
|
27080
|
-
*
|
|
27081
|
-
* >
|
|
27082
|
-
* > - When you change the billing method from subscription to pay-as-you-go, the system automatically refunds your remaining prepaid fees.
|
|
27063
|
+
* > - PolarDB clusters support subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
|
|
27064
|
+
* >- If your Alibaba Cloud account balance is insufficient, you cannot change the pay-as-you-go billing method to subscription.
|
|
27065
|
+
* >- When you change the billing method from subscription to pay-as-you-go, the system automatically refunds the remaining balance of the fees that you have paid.
|
|
27083
27066
|
*
|
|
27084
27067
|
* @param request - TransformDBClusterPayTypeRequest
|
|
27085
27068
|
* @returns TransformDBClusterPayTypeResponse
|
|
@@ -27089,7 +27072,7 @@ class Client extends openapi_core_1.default {
|
|
|
27089
27072
|
return await this.transformDBClusterPayTypeWithOptions(request, runtime);
|
|
27090
27073
|
}
|
|
27091
27074
|
/**
|
|
27092
|
-
*
|
|
27075
|
+
* Triggers knowledge base synchronization.
|
|
27093
27076
|
*
|
|
27094
27077
|
* @param request - TriggerKnowledgeBaseSyncRequest
|
|
27095
27078
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27124,7 +27107,7 @@ class Client extends openapi_core_1.default {
|
|
|
27124
27107
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TriggerKnowledgeBaseSyncResponse({}));
|
|
27125
27108
|
}
|
|
27126
27109
|
/**
|
|
27127
|
-
*
|
|
27110
|
+
* Triggers knowledge base synchronization.
|
|
27128
27111
|
*
|
|
27129
27112
|
* @param request - TriggerKnowledgeBaseSyncRequest
|
|
27130
27113
|
* @returns TriggerKnowledgeBaseSyncResponse
|
|
@@ -27477,7 +27460,7 @@ class Client extends openapi_core_1.default {
|
|
|
27477
27460
|
return await this.updateExtensionsWithOptions(request, runtime);
|
|
27478
27461
|
}
|
|
27479
27462
|
/**
|
|
27480
|
-
*
|
|
27463
|
+
* Updates a knowledge base synchronization link.
|
|
27481
27464
|
*
|
|
27482
27465
|
* @param request - UpdateKBSyncLinkRequest
|
|
27483
27466
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27486,18 +27469,36 @@ class Client extends openapi_core_1.default {
|
|
|
27486
27469
|
async updateKBSyncLinkWithOptions(request, runtime) {
|
|
27487
27470
|
request.validate();
|
|
27488
27471
|
let query = {};
|
|
27472
|
+
if (!$dara.isNull(request.clientId)) {
|
|
27473
|
+
query["ClientId"] = request.clientId;
|
|
27474
|
+
}
|
|
27475
|
+
if (!$dara.isNull(request.clientSecret)) {
|
|
27476
|
+
query["ClientSecret"] = request.clientSecret;
|
|
27477
|
+
}
|
|
27489
27478
|
if (!$dara.isNull(request.knowledgeBaseId)) {
|
|
27490
27479
|
query["KnowledgeBaseId"] = request.knowledgeBaseId;
|
|
27491
27480
|
}
|
|
27492
27481
|
if (!$dara.isNull(request.linkId)) {
|
|
27493
27482
|
query["LinkId"] = request.linkId;
|
|
27494
27483
|
}
|
|
27484
|
+
if (!$dara.isNull(request.mcpEndpoint)) {
|
|
27485
|
+
query["McpEndpoint"] = request.mcpEndpoint;
|
|
27486
|
+
}
|
|
27495
27487
|
if (!$dara.isNull(request.regionId)) {
|
|
27496
27488
|
query["RegionId"] = request.regionId;
|
|
27497
27489
|
}
|
|
27490
|
+
if (!$dara.isNull(request.sheetMcpEndpoint)) {
|
|
27491
|
+
query["SheetMcpEndpoint"] = request.sheetMcpEndpoint;
|
|
27492
|
+
}
|
|
27493
|
+
if (!$dara.isNull(request.syncEnabled)) {
|
|
27494
|
+
query["SyncEnabled"] = request.syncEnabled;
|
|
27495
|
+
}
|
|
27498
27496
|
if (!$dara.isNull(request.syncIntervalMinutes)) {
|
|
27499
27497
|
query["SyncIntervalMinutes"] = request.syncIntervalMinutes;
|
|
27500
27498
|
}
|
|
27499
|
+
if (!$dara.isNull(request.userId)) {
|
|
27500
|
+
query["UserId"] = request.userId;
|
|
27501
|
+
}
|
|
27501
27502
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
27502
27503
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
27503
27504
|
});
|
|
@@ -27515,7 +27516,7 @@ class Client extends openapi_core_1.default {
|
|
|
27515
27516
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKBSyncLinkResponse({}));
|
|
27516
27517
|
}
|
|
27517
27518
|
/**
|
|
27518
|
-
*
|
|
27519
|
+
* Updates a knowledge base synchronization link.
|
|
27519
27520
|
*
|
|
27520
27521
|
* @param request - UpdateKBSyncLinkRequest
|
|
27521
27522
|
* @returns UpdateKBSyncLinkResponse
|
|
@@ -27525,7 +27526,7 @@ class Client extends openapi_core_1.default {
|
|
|
27525
27526
|
return await this.updateKBSyncLinkWithOptions(request, runtime);
|
|
27526
27527
|
}
|
|
27527
27528
|
/**
|
|
27528
|
-
*
|
|
27529
|
+
* Updates a knowledge base.
|
|
27529
27530
|
*
|
|
27530
27531
|
* @param request - UpdateKnowledgeBaseRequest
|
|
27531
27532
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27566,7 +27567,7 @@ class Client extends openapi_core_1.default {
|
|
|
27566
27567
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKnowledgeBaseResponse({}));
|
|
27567
27568
|
}
|
|
27568
27569
|
/**
|
|
27569
|
-
*
|
|
27570
|
+
* Updates a knowledge base.
|
|
27570
27571
|
*
|
|
27571
27572
|
* @param request - UpdateKnowledgeBaseRequest
|
|
27572
27573
|
* @returns UpdateKnowledgeBaseResponse
|
|
@@ -27576,7 +27577,7 @@ class Client extends openapi_core_1.default {
|
|
|
27576
27577
|
return await this.updateKnowledgeBaseWithOptions(request, runtime);
|
|
27577
27578
|
}
|
|
27578
27579
|
/**
|
|
27579
|
-
*
|
|
27580
|
+
* Updates the chunking strategy for a file in a knowledge base.
|
|
27580
27581
|
*
|
|
27581
27582
|
* @param tmpReq - UpdateKnowledgeBaseFileShardingStrategyRequest
|
|
27582
27583
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27622,7 +27623,7 @@ class Client extends openapi_core_1.default {
|
|
|
27622
27623
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKnowledgeBaseFileShardingStrategyResponse({}));
|
|
27623
27624
|
}
|
|
27624
27625
|
/**
|
|
27625
|
-
*
|
|
27626
|
+
* Updates the chunking strategy for a file in a knowledge base.
|
|
27626
27627
|
*
|
|
27627
27628
|
* @param request - UpdateKnowledgeBaseFileShardingStrategyRequest
|
|
27628
27629
|
* @returns UpdateKnowledgeBaseFileShardingStrategyResponse
|
|
@@ -27632,7 +27633,7 @@ class Client extends openapi_core_1.default {
|
|
|
27632
27633
|
return await this.updateKnowledgeBaseFileShardingStrategyWithOptions(request, runtime);
|
|
27633
27634
|
}
|
|
27634
27635
|
/**
|
|
27635
|
-
*
|
|
27636
|
+
* Updates a knowledge space.
|
|
27636
27637
|
*
|
|
27637
27638
|
* @param tmpReq - UpdateKnowledgeSpaceRequest
|
|
27638
27639
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27684,7 +27685,7 @@ class Client extends openapi_core_1.default {
|
|
|
27684
27685
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKnowledgeSpaceResponse({}));
|
|
27685
27686
|
}
|
|
27686
27687
|
/**
|
|
27687
|
-
*
|
|
27688
|
+
* Updates a knowledge space.
|
|
27688
27689
|
*
|
|
27689
27690
|
* @param request - UpdateKnowledgeSpaceRequest
|
|
27690
27691
|
* @returns UpdateKnowledgeSpaceResponse
|