tencentcloud-sdk-lke 3.0.1013 → 3.0.1014

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 666b914c5d6603b7aa75a28ce6bbf1f6cb2e547c
4
- data.tar.gz: e93e93732dd80c13f86f6079411bc22c82b454d4
3
+ metadata.gz: cdd6af5600280ecfb1c6f28aefd2982b14029286
4
+ data.tar.gz: 80511d0f93460119d3a7be702663fe6bf81b2594
5
5
  SHA512:
6
- metadata.gz: 538ea38fca1d282d973d01a0b73dad617b9ebae11c89a0f8fa400f20700a098283ecf5d40daf2376d552571dc53d4c198fe58e5f6fe869ed66fd01e2f0f921d9
7
- data.tar.gz: 5d58016720e51b15daedc3864d41449ba7167fcc85af9aa563cac767d7a6daef8432b5f600d587d2658c99f9380bd28f7b011ba20e46e3f7a0f0ea257078111e
6
+ metadata.gz: 79bd70364cbbb6238c23dc5906131cc9762f3821e936c2ff04373bb7d589df5cc9273ef959b391455c2ace065c208663057e4849353cf58a410a594c614d9de1
7
+ data.tar.gz: a598152fd9f5cf3a6ea7e4add53a211d6c513ab3ff2006f2eadf8e29711ce7898b24dfc93ef0d8d8650c194c1a318b79f8d59059c049e74dc65f6a10f3bf13f4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1013
1
+ 3.0.1014
@@ -2099,58 +2099,6 @@ module TencentCloud
2099
2099
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2100
2100
  end
2101
2101
 
2102
- # 接口已迁移到新接口了,无调用量
2103
-
2104
- # 接口即将下线,请切换使用新接口:[文档解析](https://cloud.tencent.com/document/product/1759/107504)
2105
-
2106
- # @param request: Request instance for ParseDoc.
2107
- # @type request: :class:`Tencentcloud::lke::V20231130::ParseDocRequest`
2108
- # @rtype: :class:`Tencentcloud::lke::V20231130::ParseDocResponse`
2109
- def ParseDoc(request)
2110
- body = send_request('ParseDoc', request.serialize)
2111
- response = JSON.parse(body)
2112
- if response['Response'].key?('Error') == false
2113
- model = ParseDocResponse.new
2114
- model.deserialize(response['Response'])
2115
- model
2116
- else
2117
- code = response['Response']['Error']['Code']
2118
- message = response['Response']['Error']['Message']
2119
- reqid = response['Response']['RequestId']
2120
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2121
- end
2122
- rescue TencentCloud::Common::TencentCloudSDKException => e
2123
- raise e
2124
- rescue StandardError => e
2125
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2126
- end
2127
-
2128
- # 接口已迁移到新接口了,无调用量
2129
-
2130
- # 查询文档解析结果。该接口需开通文档解析原子能力后调用。文档解析原子能力内测中,如有需要请联系架构师或[联系客服](https://cloud.tencent.com/act/event/Online_service) 。
2131
-
2132
- # @param request: Request instance for QueryParseDocResult.
2133
- # @type request: :class:`Tencentcloud::lke::V20231130::QueryParseDocResultRequest`
2134
- # @rtype: :class:`Tencentcloud::lke::V20231130::QueryParseDocResultResponse`
2135
- def QueryParseDocResult(request)
2136
- body = send_request('QueryParseDocResult', request.serialize)
2137
- response = JSON.parse(body)
2138
- if response['Response'].key?('Error') == false
2139
- model = QueryParseDocResultResponse.new
2140
- model.deserialize(response['Response'])
2141
- model
2142
- else
2143
- code = response['Response']['Error']['Code']
2144
- message = response['Response']['Error']['Message']
2145
- reqid = response['Response']['RequestId']
2146
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2147
- end
2148
- rescue TencentCloud::Common::TencentCloudSDKException => e
2149
- raise e
2150
- rescue StandardError => e
2151
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2152
- end
2153
-
2154
2102
  # 多轮改写(QueryRewrite)主要用于多轮对话中,进行指代消解和省略补全。使用本接口,无需输入prompt描述,根据对话历史即可生成更精确的用户查询。在应用场景上,本接口可应用于智能问答、对话式搜索等多种场景。
2155
2103
  # 本接口(QueryRewrite)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
2156
2104
 
@@ -7764,61 +7764,6 @@ module TencentCloud
7764
7764
  end
7765
7765
  end
7766
7766
 
7767
- # ParseDoc请求参数结构体
7768
- class ParseDocRequest < TencentCloud::Common::AbstractModel
7769
- # @param Name: 文件名称(需要包括文件后缀, 最大长度1024字节)
7770
- # @type Name: String
7771
- # @param Url: 文件下载链接 (支持的文件类型: docx, txt, markdown, pdf), 该地址需要外网可以直接无状态访问
7772
- # @type Url: String
7773
- # @param TaskId: 任务ID, 用于幂等去重, 业务自行定义(最大长度64字节)
7774
- # @type TaskId: String
7775
- # @param Policy: 切分策略
7776
- # @type Policy: String
7777
- # @param Operate: 默认值: parse
7778
- # @type Operate: String
7779
-
7780
- attr_accessor :Name, :Url, :TaskId, :Policy, :Operate
7781
- extend Gem::Deprecate
7782
- deprecate :Operate, :none, 2025, 3
7783
- deprecate :Operate=, :none, 2025, 3
7784
-
7785
- def initialize(name=nil, url=nil, taskid=nil, policy=nil, operate=nil)
7786
- @Name = name
7787
- @Url = url
7788
- @TaskId = taskid
7789
- @Policy = policy
7790
- @Operate = operate
7791
- end
7792
-
7793
- def deserialize(params)
7794
- @Name = params['Name']
7795
- @Url = params['Url']
7796
- @TaskId = params['TaskId']
7797
- @Policy = params['Policy']
7798
- @Operate = params['Operate']
7799
- end
7800
- end
7801
-
7802
- # ParseDoc返回参数结构体
7803
- class ParseDocResponse < TencentCloud::Common::AbstractModel
7804
- # @param TaskId: 任务ID
7805
- # @type TaskId: String
7806
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7807
- # @type RequestId: String
7808
-
7809
- attr_accessor :TaskId, :RequestId
7810
-
7811
- def initialize(taskid=nil, requestid=nil)
7812
- @TaskId = taskid
7813
- @RequestId = requestid
7814
- end
7815
-
7816
- def deserialize(params)
7817
- @TaskId = params['TaskId']
7818
- @RequestId = params['RequestId']
7819
- end
7820
- end
7821
-
7822
7767
  # 插件参数请求结构
7823
7768
  class PluginToolReqParam < TencentCloud::Common::AbstractModel
7824
7769
  # @param Name: 参数名称
@@ -8162,61 +8107,6 @@ module TencentCloud
8162
8107
  end
8163
8108
  end
8164
8109
 
8165
- # QueryParseDocResult请求参数结构体
8166
- class QueryParseDocResultRequest < TencentCloud::Common::AbstractModel
8167
- # @param TaskId: 任务ID
8168
- # @type TaskId: String
8169
-
8170
- attr_accessor :TaskId
8171
-
8172
- def initialize(taskid=nil)
8173
- @TaskId = taskid
8174
- end
8175
-
8176
- def deserialize(params)
8177
- @TaskId = params['TaskId']
8178
- end
8179
- end
8180
-
8181
- # QueryParseDocResult返回参数结构体
8182
- class QueryParseDocResultResponse < TencentCloud::Common::AbstractModel
8183
- # @param Status: 等待 / 执行中 / 成功 / 失败
8184
- # @type Status: String
8185
- # @param Name: 解析后的文件内容
8186
- # @type Name: String
8187
- # @param Url: 文件下载地址
8188
- # @type Url: String
8189
- # @param Reason: 解析失败原因
8190
- # @type Reason: String
8191
- # @param Usage: 消耗量,输出页数
8192
- # @type Usage: :class:`Tencentcloud::Lke.v20231130.models.Usage`
8193
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8194
- # @type RequestId: String
8195
-
8196
- attr_accessor :Status, :Name, :Url, :Reason, :Usage, :RequestId
8197
-
8198
- def initialize(status=nil, name=nil, url=nil, reason=nil, usage=nil, requestid=nil)
8199
- @Status = status
8200
- @Name = name
8201
- @Url = url
8202
- @Reason = reason
8203
- @Usage = usage
8204
- @RequestId = requestid
8205
- end
8206
-
8207
- def deserialize(params)
8208
- @Status = params['Status']
8209
- @Name = params['Name']
8210
- @Url = params['Url']
8211
- @Reason = params['Reason']
8212
- unless params['Usage'].nil?
8213
- @Usage = Usage.new
8214
- @Usage.deserialize(params['Usage'])
8215
- end
8216
- @RequestId = params['RequestId']
8217
- end
8218
- end
8219
-
8220
8110
  # QueryRewrite请求参数结构体
8221
8111
  class QueryRewriteRequest < TencentCloud::Common::AbstractModel
8222
8112
  # @param Question: 需要改写的问题
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.1013
4
+ version: 3.0.1014
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-07 00:00:00.000000000 Z
11
+ date: 2025-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common