tencentcloud-sdk-lkeap 3.0.1102 → 3.0.1127
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/v20240522/client.rb +4 -0
- data/lib/v20240522/models.rb +21 -40
- 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: a6f30f1dd7d03df71e2e93028edeed6f0db42681
|
4
|
+
data.tar.gz: 5c3c193f960f11056f72262ef6e96c8beae13651
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8ac4c19b7fc6c12ee965c8b123c691f07cbdc5c784269e873e1ae46e86755e95d6c7a50f5ea508a652e4b21dd650792da4fe0493a5762e0a4247cfec2178ae0
|
7
|
+
data.tar.gz: 8d5eb9866613382e34851d1055badf5599444e47dbeda31bf0451ed6c80700610d6d30e383b1fbca3e99f456a159b97c5b5126d4db11ef5c361545e1d0ab34ae
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1127
|
data/lib/v20240522/client.rb
CHANGED
@@ -51,6 +51,10 @@ module TencentCloud
|
|
51
51
|
# - DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)
|
52
52
|
# - DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。
|
53
53
|
# - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。
|
54
|
+
# - DeepSeek-V3.1(model 参数值为 deepseek-v3.1)
|
55
|
+
|
56
|
+
# - DeepSeek-V3.1 为685B 参数 MoE 模型,支持混合推理架构,有更高的思考效率和更强的 Agent 能力。目前尚处于限制性开放的试运行阶段,如需申请开通请联系售前客服或商务经理。
|
57
|
+
|
54
58
|
|
55
59
|
|
56
60
|
|
data/lib/v20240522/models.rb
CHANGED
@@ -426,16 +426,7 @@ module TencentCloud
|
|
426
426
|
|
427
427
|
# CreateReconstructDocumentFlow请求参数结构体
|
428
428
|
class CreateReconstructDocumentFlowRequest < TencentCloud::Common::AbstractModel
|
429
|
-
# @param FileType:
|
430
|
-
|
431
|
-
# **支持的文件类型:**
|
432
|
-
# - `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`、`BMP`、`GIF`、`WEBP`、`HEIC`、`EPS`、`ICNS`、`IM`、`PCX`、`PPM`、`TIFF`、`XBM`、`HEIF`、`JP2`
|
433
|
-
|
434
|
-
# **支持的文件大小:**
|
435
|
-
# - `PDF` 最大300M
|
436
|
-
# - `DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
|
437
|
-
# - `TXT`、`MD` 最大10M
|
438
|
-
# - 其他 最大20M
|
429
|
+
# @param FileType: 文件类型。**支持的文件类型:**- `WPS、PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`、`BMP`、`GIF`、`WEBP`、`HEIC`、`EPS`、`ICNS`、`IM`、`PCX`、`PPM`、`TIFF`、`XBM`、`HEIF`、`JP2`**支持的文件大小:** - `PDF` 最大300M - `WPS`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M - `TXT`、`MD` 最大10M - 其他 最大20M
|
439
430
|
# @type FileType: String
|
440
431
|
# @param FileUrl: 说明:文件的 URL 地址。
|
441
432
|
# 备注:文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。
|
@@ -529,10 +520,10 @@ module TencentCloud
|
|
529
520
|
|
530
521
|
attr_accessor :TableResultType, :ResultType, :EnableMllm, :MaxChunkSize, :IgnoreFailedPage
|
531
522
|
extend Gem::Deprecate
|
532
|
-
deprecate :TableResultType, :none, 2025,
|
533
|
-
deprecate :TableResultType=, :none, 2025,
|
534
|
-
deprecate :ResultType, :none, 2025,
|
535
|
-
deprecate :ResultType=, :none, 2025,
|
523
|
+
deprecate :TableResultType, :none, 2025, 8
|
524
|
+
deprecate :TableResultType=, :none, 2025, 8
|
525
|
+
deprecate :ResultType, :none, 2025, 8
|
526
|
+
deprecate :ResultType=, :none, 2025, 8
|
536
527
|
|
537
528
|
def initialize(tableresulttype=nil, resulttype=nil, enablemllm=nil, maxchunksize=nil, ignorefailedpage=nil)
|
538
529
|
@TableResultType = tableresulttype
|
@@ -553,16 +544,7 @@ module TencentCloud
|
|
553
544
|
|
554
545
|
# CreateSplitDocumentFlow请求参数结构体
|
555
546
|
class CreateSplitDocumentFlowRequest < TencentCloud::Common::AbstractModel
|
556
|
-
# @param FileType:
|
557
|
-
|
558
|
-
# **支持的文件类型:**
|
559
|
-
# - `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`
|
560
|
-
|
561
|
-
# **支持的文件大小:**
|
562
|
-
# - `PDF` 最大300M
|
563
|
-
# - `DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
|
564
|
-
# - `TXT`、`MD` 最大10M
|
565
|
-
# - 其他 最大20M
|
547
|
+
# @param FileType: 文件类型。**支持的文件类型:**- `WPS`、`PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`**支持的文件大小:** - `PDF` 最大300M - `WPS`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M - `TXT`、`MD` 最大10M - 其他 最大20M
|
566
548
|
# @type FileType: String
|
567
549
|
# @param FileUrl: 文件的 URL 地址。
|
568
550
|
# 文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。
|
@@ -587,8 +569,8 @@ module TencentCloud
|
|
587
569
|
|
588
570
|
attr_accessor :FileType, :FileUrl, :FileName, :FileBase64, :FileStartPageNumber, :FileEndPageNumber, :Config
|
589
571
|
extend Gem::Deprecate
|
590
|
-
deprecate :FileBase64, :none, 2025,
|
591
|
-
deprecate :FileBase64=, :none, 2025,
|
572
|
+
deprecate :FileBase64, :none, 2025, 8
|
573
|
+
deprecate :FileBase64=, :none, 2025, 8
|
592
574
|
|
593
575
|
def initialize(filetype=nil, fileurl=nil, filename=nil, filebase64=nil, filestartpagenumber=nil, fileendpagenumber=nil, config=nil)
|
594
576
|
@FileType = filetype
|
@@ -939,13 +921,15 @@ module TencentCloud
|
|
939
921
|
# @type SuccessPageNum: Integer
|
940
922
|
# @param FailPageNum: 解析失败页数
|
941
923
|
# @type FailPageNum: Integer
|
924
|
+
# @param FileSize: 文件大小,单位KB
|
925
|
+
# @type FileSize: Integer
|
942
926
|
|
943
|
-
attr_accessor :PageNumber, :TotalToken, :TotalTokens, :SplitTokens, :MllmTokens, :SuccessPageNum, :FailPageNum
|
927
|
+
attr_accessor :PageNumber, :TotalToken, :TotalTokens, :SplitTokens, :MllmTokens, :SuccessPageNum, :FailPageNum, :FileSize
|
944
928
|
extend Gem::Deprecate
|
945
|
-
deprecate :TotalToken, :none, 2025,
|
946
|
-
deprecate :TotalToken=, :none, 2025,
|
929
|
+
deprecate :TotalToken, :none, 2025, 8
|
930
|
+
deprecate :TotalToken=, :none, 2025, 8
|
947
931
|
|
948
|
-
def initialize(pagenumber=nil, totaltoken=nil, totaltokens=nil, splittokens=nil, mllmtokens=nil, successpagenum=nil, failpagenum=nil)
|
932
|
+
def initialize(pagenumber=nil, totaltoken=nil, totaltokens=nil, splittokens=nil, mllmtokens=nil, successpagenum=nil, failpagenum=nil, filesize=nil)
|
949
933
|
@PageNumber = pagenumber
|
950
934
|
@TotalToken = totaltoken
|
951
935
|
@TotalTokens = totaltokens
|
@@ -953,6 +937,7 @@ module TencentCloud
|
|
953
937
|
@MllmTokens = mllmtokens
|
954
938
|
@SuccessPageNum = successpagenum
|
955
939
|
@FailPageNum = failpagenum
|
940
|
+
@FileSize = filesize
|
956
941
|
end
|
957
942
|
|
958
943
|
def deserialize(params)
|
@@ -963,6 +948,7 @@ module TencentCloud
|
|
963
948
|
@MllmTokens = params['MllmTokens']
|
964
949
|
@SuccessPageNum = params['SuccessPageNum']
|
965
950
|
@FailPageNum = params['FailPageNum']
|
951
|
+
@FileSize = params['FileSize']
|
966
952
|
end
|
967
953
|
end
|
968
954
|
|
@@ -1184,8 +1170,8 @@ module TencentCloud
|
|
1184
1170
|
|
1185
1171
|
attr_accessor :Status, :DocumentRecognizeResultUrl, :FailedPages, :Usage, :RequestId
|
1186
1172
|
extend Gem::Deprecate
|
1187
|
-
deprecate :FailedPages, :none, 2025,
|
1188
|
-
deprecate :FailedPages=, :none, 2025,
|
1173
|
+
deprecate :FailedPages, :none, 2025, 8
|
1174
|
+
deprecate :FailedPages=, :none, 2025, 8
|
1189
1175
|
|
1190
1176
|
def initialize(status=nil, documentrecognizeresulturl=nil, failedpages=nil, usage=nil, requestid=nil)
|
1191
1177
|
@Status = status
|
@@ -1750,12 +1736,7 @@ module TencentCloud
|
|
1750
1736
|
|
1751
1737
|
# ReconstructDocumentSSE请求参数结构体
|
1752
1738
|
class ReconstructDocumentSSERequest < TencentCloud::Common::AbstractModel
|
1753
|
-
# @param FileType:
|
1754
|
-
# **支持的文件类型**: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
|
1755
|
-
# **支持的文件大小**:
|
1756
|
-
# - PDF、DOC、DOCX、PPT、PPTX 支持100M
|
1757
|
-
# - MD、TXT、XLS、XLSX、CSV 支持10M
|
1758
|
-
# - 其他支持20M
|
1739
|
+
# @param FileType: 支持解析的文件类型。**支持的文件类型**:WPS、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**支持的文件大小**:- WPS、PDF、DOC、DOCX、PPT、PPTX 支持100M- MD、TXT、XLS、XLSX、CSV 支持10M- 其他支持20M
|
1759
1740
|
# @type FileType: String
|
1760
1741
|
# @param FileUrl: 文件的 URL 地址。文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
1761
1742
|
# 参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)
|
@@ -2173,8 +2154,8 @@ module TencentCloud
|
|
2173
2154
|
|
2174
2155
|
attr_accessor :KnowledgeBaseId, :FileName, :FileType, :FileUrl, :AttributeLabel, :AttributeLabels, :Config
|
2175
2156
|
extend Gem::Deprecate
|
2176
|
-
deprecate :AttributeLabel, :none, 2025,
|
2177
|
-
deprecate :AttributeLabel=, :none, 2025,
|
2157
|
+
deprecate :AttributeLabel, :none, 2025, 8
|
2158
|
+
deprecate :AttributeLabel=, :none, 2025, 8
|
2178
2159
|
|
2179
2160
|
def initialize(knowledgebaseid=nil, filename=nil, filetype=nil, fileurl=nil, attributelabel=nil, attributelabels=nil, config=nil)
|
2180
2161
|
@KnowledgeBaseId = knowledgebaseid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lkeap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1127
|
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-
|
11
|
+
date: 2025-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|