tencentcloud-sdk-lke 3.0.1071 → 3.0.1073

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: 4157191560c07e177151adcae760a484d5539b26
4
- data.tar.gz: acf60f9fb897b9e8d146159231cfe4011bb46822
3
+ metadata.gz: d5ee65ed6a3e12deee87fb3e7893362f983b7139
4
+ data.tar.gz: e06088c44e0fa29d67aaff765a2d067cb73c476a
5
5
  SHA512:
6
- metadata.gz: 92494f0368aa297a6b2d7b9fcf7b2bd18cbdd9bdcdd21dc1836ac7c823a998c4a4ff9d97d3f8d954ff08f152ad5b734f475941231699342239c6a4c1c2654da3
7
- data.tar.gz: 1251c425eca5932ba6d894d3b6bab45ed4e3b1716ae01b86f503102547ac5d735481efc08c1351d2a8335d73499c7709ccac6fe25d95669f384b1dbcfd189214
6
+ metadata.gz: d309aafbf07408135d429d542c72c81b087302c09ee92eb9c1720966bc5b0d1318f725ad13b24662f6a2f00dd9ab0dc36ee62cbb262587a9a08b1f8f7811a5a4
7
+ data.tar.gz: e36c1f6eb16f7ccd153e9e0925693dfe6f2257ba62beca5b81621ffe2d96374268a2d64e1e334ee8dd1a65bc0aabc92795dba8e02a043db2bfb6370e803914a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1071
1
+ 3.0.1073
@@ -247,33 +247,6 @@ module TencentCloud
247
247
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
248
248
  end
249
249
 
250
- # 本接口为异步接口的发起请求接口,用于发起文档解析任务。
251
- # 文档解析支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
252
-
253
- # 体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。
254
-
255
- # @param request: Request instance for CreateReconstructDocumentFlow.
256
- # @type request: :class:`Tencentcloud::lke::V20231130::CreateReconstructDocumentFlowRequest`
257
- # @rtype: :class:`Tencentcloud::lke::V20231130::CreateReconstructDocumentFlowResponse`
258
- def CreateReconstructDocumentFlow(request)
259
- body = send_request('CreateReconstructDocumentFlow', request.serialize)
260
- response = JSON.parse(body)
261
- if response['Response'].key?('Error') == false
262
- model = CreateReconstructDocumentFlowResponse.new
263
- model.deserialize(response['Response'])
264
- model
265
- else
266
- code = response['Response']['Error']['Code']
267
- message = response['Response']['Error']['Message']
268
- reqid = response['Response']['RequestId']
269
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
270
- end
271
- rescue TencentCloud::Common::TencentCloudSDKException => e
272
- raise e
273
- rescue StandardError => e
274
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
275
- end
276
-
277
250
  # 创建拒答问题
278
251
 
279
252
  # @param request: Request instance for CreateRejectedQuestion.
@@ -1554,95 +1554,6 @@ module TencentCloud
1554
1554
  end
1555
1555
  end
1556
1556
 
1557
- # 创建智能文档解析任务的配置信息
1558
- class CreateReconstructDocumentFlowConfig < TencentCloud::Common::AbstractModel
1559
- # @param TableResultType: Markdown文件中表格返回的形式
1560
- # 0,表格以MD形式返回
1561
- # 1,表格以HTML形式返回
1562
- # 默认为1
1563
- # @type TableResultType: String
1564
- # @param ResultType: 智能文档解析返回结果的格式
1565
- # 0:只返回全文MD;
1566
- # 1:只返回每一页的OCR原始Json;
1567
- # 2:只返回每一页的MD,
1568
- # 3:返回全文MD + 每一页的OCR原始Json;
1569
- # 4:返回全文MD + 每一页的MD,
1570
- # 默认值为3(返回全文MD + 每一页的OCR原始Json)
1571
-
1572
- # @type ResultType: String
1573
-
1574
- attr_accessor :TableResultType, :ResultType
1575
-
1576
- def initialize(tableresulttype=nil, resulttype=nil)
1577
- @TableResultType = tableresulttype
1578
- @ResultType = resulttype
1579
- end
1580
-
1581
- def deserialize(params)
1582
- @TableResultType = params['TableResultType']
1583
- @ResultType = params['ResultType']
1584
- end
1585
- end
1586
-
1587
- # CreateReconstructDocumentFlow请求参数结构体
1588
- class CreateReconstructDocumentFlowRequest < TencentCloud::Common::AbstractModel
1589
- # @param FileType: 文件类型。支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2。
1590
- # @type FileType: String
1591
- # @param FileBase64: 文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
1592
- # @type FileBase64: String
1593
- # @param FileUrl: <p>文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:</p><table> <tbody> <tr> <td>文件类型</td> <td>支持的文件大小</td> </tr> <tr> <td>PDF</td> <td>200M</td> </tr> <tr> <td>DOC</td> <td>200M</td> </tr> <tr> <td>DOCX</td> <td>200M</td> </tr> <tr> <td>PPT</td> <td>200M</td> </tr> <tr> <td>PPTX</td> <td>200M</td> </tr> <tr> <td>MD</td> <td>10M</td> </tr> <tr> <td>TXT</td> <td>10M</td> </tr> <tr> <td>XLS</td> <td>20M</td> </tr> <tr> <td>XLSX</td> <td>20M</td> </tr> <tr> <td>CSV</td> <td>20M</td> </tr> <tr> <td>PNG</td> <td>20M</td> </tr> <tr> <td>JPG</td> <td>20M</td> </tr> <tr> <td>JPEG</td> <td>20M</td> </tr> <tr> <td>BMP</td> <td>20M</td> </tr> <tr> <td>GIF</td> <td>20M</td> </tr> <tr> <td>WEBP</td> <td>20M</td> </tr> <tr> <td>HEIC</td> <td>20M</td> </tr> <tr> <td>EPS</td> <td>20M</td> </tr> <tr> <td>ICNS</td> <td>20M</td> </tr> <tr> <td>IM</td> <td>20M</td> </tr> <tr> <td>PCX</td> <td>20M</td> </tr> <tr> <td>PPM</td> <td>20M</td> </tr> <tr> <td>TIFF</td> <td>20M</td> </tr> <tr> <td>XBM</td> <td>20M</td> </tr> <tr> <td>HEIF</td> <td>20M</td> </tr> <tr> <td>JP2</td> <td>20M</td> </tr> </tbody> <colgroup> <col> <col> </colgroup></table>
1594
- # @type FileUrl: String
1595
- # @param FileStartPageNumber: 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的起始页码,识别的页码包含当前值。默认为1,表示从文件的第1页开始识别。
1596
- # @type FileStartPageNumber: Integer
1597
- # @param FileEndPageNumber: 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的结束页码,识别的页码包含当前值。默认为100,表示识别到文件的第100页。单次调用最多支持识别1000页内容,即FileEndPageNumber-FileStartPageNumber需要不大于1000。
1598
- # @type FileEndPageNumber: Integer
1599
- # @param Config: 创建文档解析任务配置信息。
1600
- # @type Config: :class:`Tencentcloud::Lke.v20231130.models.CreateReconstructDocumentFlowConfig`
1601
-
1602
- attr_accessor :FileType, :FileBase64, :FileUrl, :FileStartPageNumber, :FileEndPageNumber, :Config
1603
-
1604
- def initialize(filetype=nil, filebase64=nil, fileurl=nil, filestartpagenumber=nil, fileendpagenumber=nil, config=nil)
1605
- @FileType = filetype
1606
- @FileBase64 = filebase64
1607
- @FileUrl = fileurl
1608
- @FileStartPageNumber = filestartpagenumber
1609
- @FileEndPageNumber = fileendpagenumber
1610
- @Config = config
1611
- end
1612
-
1613
- def deserialize(params)
1614
- @FileType = params['FileType']
1615
- @FileBase64 = params['FileBase64']
1616
- @FileUrl = params['FileUrl']
1617
- @FileStartPageNumber = params['FileStartPageNumber']
1618
- @FileEndPageNumber = params['FileEndPageNumber']
1619
- unless params['Config'].nil?
1620
- @Config = CreateReconstructDocumentFlowConfig.new
1621
- @Config.deserialize(params['Config'])
1622
- end
1623
- end
1624
- end
1625
-
1626
- # CreateReconstructDocumentFlow返回参数结构体
1627
- class CreateReconstructDocumentFlowResponse < TencentCloud::Common::AbstractModel
1628
- # @param TaskId: 任务唯一ID。30天内可以通过[GetReconstructDocumentResult](https://cloud.tencent.com/document/product/1759/107505)接口查询TaskId对应的处理结果。
1629
- # @type TaskId: String
1630
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1631
- # @type RequestId: String
1632
-
1633
- attr_accessor :TaskId, :RequestId
1634
-
1635
- def initialize(taskid=nil, requestid=nil)
1636
- @TaskId = taskid
1637
- @RequestId = requestid
1638
- end
1639
-
1640
- def deserialize(params)
1641
- @TaskId = params['TaskId']
1642
- @RequestId = params['RequestId']
1643
- end
1644
- end
1645
-
1646
1557
  # CreateRejectedQuestion请求参数结构体
1647
1558
  class CreateRejectedQuestionRequest < TencentCloud::Common::AbstractModel
1648
1559
  # @param BotBizId: 应用ID
@@ -9275,10 +9186,10 @@ module TencentCloud
9275
9186
 
9276
9187
  attr_accessor :Query, :Docs, :Model, :DataList, :Online
9277
9188
  extend Gem::Deprecate
9278
- deprecate :DataList, :none, 2025, 5
9279
- deprecate :DataList=, :none, 2025, 5
9280
- deprecate :Online, :none, 2025, 5
9281
- deprecate :Online=, :none, 2025, 5
9189
+ deprecate :DataList, :none, 2025, 6
9190
+ deprecate :DataList=, :none, 2025, 6
9191
+ deprecate :Online, :none, 2025, 6
9192
+ deprecate :Online=, :none, 2025, 6
9282
9193
 
9283
9194
  def initialize(query=nil, docs=nil, model=nil, datalist=nil, online=nil)
9284
9195
  @Query = query
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.1071
4
+ version: 3.0.1073
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-05-29 00:00:00.000000000 Z
11
+ date: 2025-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common