tencentcloud-sdk-lke 3.0.1024 → 3.0.1026
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20231130/client.rb +2 -26
- data/lib/v20231130/models.rb +2 -38
- 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: 06cf294bf82678d79a426220b478635cd29b631e
|
4
|
+
data.tar.gz: f6807bfcde4060edbd67aa5ec0238a20162881b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ea51d045c5434b61bb9655312b8705608fde280019159a6032b93bfded1b8aad235b992cb84044cc89923a809a642b541155644b52666cceb946f72ccd0b528
|
7
|
+
data.tar.gz: faf9e484208c29b9f63771873eb64999ee7e1c0b3e894a6f39f287ed152b5753e3bcf075c6c755f7580f767edc2513fb4f3b75c573ec38d9e4db174a3e975b25
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1026
|
data/lib/v20231130/client.rb
CHANGED
@@ -2198,30 +2198,6 @@ module TencentCloud
|
|
2198
2198
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2199
2199
|
end
|
2200
2200
|
|
2201
|
-
# 重置会话
|
2202
|
-
|
2203
|
-
# @param request: Request instance for ResetSession.
|
2204
|
-
# @type request: :class:`Tencentcloud::lke::V20231130::ResetSessionRequest`
|
2205
|
-
# @rtype: :class:`Tencentcloud::lke::V20231130::ResetSessionResponse`
|
2206
|
-
def ResetSession(request)
|
2207
|
-
body = send_request('ResetSession', request.serialize)
|
2208
|
-
response = JSON.parse(body)
|
2209
|
-
if response['Response'].key?('Error') == false
|
2210
|
-
model = ResetSessionResponse.new
|
2211
|
-
model.deserialize(response['Response'])
|
2212
|
-
model
|
2213
|
-
else
|
2214
|
-
code = response['Response']['Error']['Code']
|
2215
|
-
message = response['Response']['Error']['Message']
|
2216
|
-
reqid = response['Response']['RequestId']
|
2217
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2218
|
-
end
|
2219
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2220
|
-
raise e
|
2221
|
-
rescue StandardError => e
|
2222
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2223
|
-
end
|
2224
|
-
|
2225
2201
|
# 文档解析重试
|
2226
2202
|
|
2227
2203
|
# @param request: Request instance for RetryDocAudit.
|
@@ -2320,8 +2296,8 @@ module TencentCloud
|
|
2320
2296
|
|
2321
2297
|
# 知识库文档问答保存。
|
2322
2298
|
# 将文件存储到应用的知识库内需要三步:
|
2323
|
-
# 1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)
|
2324
|
-
# 2.调用腾讯云提供的 cos 存储接口,将文件存储到知识引擎 cos
|
2299
|
+
# 1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [知识引擎操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)
|
2300
|
+
# 2.调用腾讯云提供的 cos 存储接口,将文件存储到知识引擎 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS
|
2325
2301
|
# 3.调用本接口,将文件的基础信息存储到知识引擎中。
|
2326
2302
|
# 以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。
|
2327
2303
|
|
data/lib/v20231130/models.rb
CHANGED
@@ -2650,13 +2650,13 @@ module TencentCloud
|
|
2650
2650
|
# @type Answer: String
|
2651
2651
|
# @param CustomParam: 自定义参数
|
2652
2652
|
# @type CustomParam: String
|
2653
|
-
# @param Source: 来源
|
2653
|
+
# @param Source: 来源 1-文档生成问答对 2-批量导入问答对 3-单条手动录入问答对
|
2654
2654
|
# @type Source: Integer
|
2655
2655
|
# @param SourceDesc: 来源描述
|
2656
2656
|
# @type SourceDesc: String
|
2657
2657
|
# @param UpdateTime: 更新时间
|
2658
2658
|
# @type UpdateTime: String
|
2659
|
-
# @param Status: 状态
|
2659
|
+
# @param Status: 状态 <br>1-未校验 2-未发布 3-发布中 4-已发布 5-发布失败 6-不采纳 7-审核中 8-审核失败 9-审核失败申诉后人工审核中 11-审核失败申诉后人工审核不通过 12-已过期 13-超量失效 14-超量失效恢复 19-学习中 20-学习失败
|
2660
2660
|
# @type Status: Integer
|
2661
2661
|
# @param StatusDesc: 状态描述
|
2662
2662
|
# @type StatusDesc: String
|
@@ -8730,42 +8730,6 @@ module TencentCloud
|
|
8730
8730
|
end
|
8731
8731
|
end
|
8732
8732
|
|
8733
|
-
# ResetSession请求参数结构体
|
8734
|
-
class ResetSessionRequest < TencentCloud::Common::AbstractModel
|
8735
|
-
# @param SessionId: 会话ID
|
8736
|
-
# @type SessionId: String
|
8737
|
-
# @param IsOnlyEmptyTheDialog: 是否仅清空会话关联
|
8738
|
-
# @type IsOnlyEmptyTheDialog: Boolean
|
8739
|
-
|
8740
|
-
attr_accessor :SessionId, :IsOnlyEmptyTheDialog
|
8741
|
-
|
8742
|
-
def initialize(sessionid=nil, isonlyemptythedialog=nil)
|
8743
|
-
@SessionId = sessionid
|
8744
|
-
@IsOnlyEmptyTheDialog = isonlyemptythedialog
|
8745
|
-
end
|
8746
|
-
|
8747
|
-
def deserialize(params)
|
8748
|
-
@SessionId = params['SessionId']
|
8749
|
-
@IsOnlyEmptyTheDialog = params['IsOnlyEmptyTheDialog']
|
8750
|
-
end
|
8751
|
-
end
|
8752
|
-
|
8753
|
-
# ResetSession返回参数结构体
|
8754
|
-
class ResetSessionResponse < TencentCloud::Common::AbstractModel
|
8755
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8756
|
-
# @type RequestId: String
|
8757
|
-
|
8758
|
-
attr_accessor :RequestId
|
8759
|
-
|
8760
|
-
def initialize(requestid=nil)
|
8761
|
-
@RequestId = requestid
|
8762
|
-
end
|
8763
|
-
|
8764
|
-
def deserialize(params)
|
8765
|
-
@RequestId = params['RequestId']
|
8766
|
-
end
|
8767
|
-
end
|
8768
|
-
|
8769
8733
|
# RetryDocAudit请求参数结构体
|
8770
8734
|
class RetryDocAuditRequest < TencentCloud::Common::AbstractModel
|
8771
8735
|
# @param BotBizId: 应用ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1026
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|