tencentcloud-sdk-lke 3.0.947 → 3.0.949
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20231130/client.rb +24 -0
- data/lib/v20231130/models.rb +556 -98
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c978e5e6da46583527c251705ba4fe01440ea5ba
|
4
|
+
data.tar.gz: 71872d331474dea4fad7a468e893df12c757f9ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41d9fd1403442c2586d7c768b37bc85c2e2161f3b3b73f77decc2a39236648dbfe05d08f3b56832e893e92ab979c0ebfcaab1a6f6558a02f056f61fa34fc53ae
|
7
|
+
data.tar.gz: a908e4e148394640cd1bea09cc06f711ebc756fd4f976dcfd05e31d7261b4314e5b72774f6429199d133137fa109450d9c297784b3202d899a1ea71e8e18a8d8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.949
|
data/lib/v20231130/client.rb
CHANGED
@@ -2102,6 +2102,30 @@ module TencentCloud
|
|
2102
2102
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2103
2103
|
end
|
2104
2104
|
|
2105
|
+
# 重排序
|
2106
|
+
|
2107
|
+
# @param request: Request instance for RunReRank.
|
2108
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::RunReRankRequest`
|
2109
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::RunReRankResponse`
|
2110
|
+
def RunReRank(request)
|
2111
|
+
body = send_request('RunReRank', request.serialize)
|
2112
|
+
response = JSON.parse(body)
|
2113
|
+
if response['Response'].key?('Error') == false
|
2114
|
+
model = RunReRankResponse.new
|
2115
|
+
model.deserialize(response['Response'])
|
2116
|
+
model
|
2117
|
+
else
|
2118
|
+
code = response['Response']['Error']['Code']
|
2119
|
+
message = response['Response']['Error']['Message']
|
2120
|
+
reqid = response['Response']['RequestId']
|
2121
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2122
|
+
end
|
2123
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2124
|
+
raise e
|
2125
|
+
rescue StandardError => e
|
2126
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2127
|
+
end
|
2128
|
+
|
2105
2129
|
# 保存文档
|
2106
2130
|
|
2107
2131
|
# @param request: Request instance for SaveDoc.
|