tencentcloud-sdk-lkeap 3.0.1145 → 3.0.1147
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/models.rb +47 -16
- 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: 02393aa80eabdb6d5eef946744870a5253cbb2e9
|
4
|
+
data.tar.gz: 3d41bfcdd1761cd4c96096b7e9ca35e4f81dd8e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4226e9e86dca34a432310064d8969732e9b43c55336251d8e366ac3994d65b531cb53c913b6f9dc5c30f1f27a7e42a162eb3c412e784d1e4e28e37ab7affe475
|
7
|
+
data.tar.gz: d37de57c8ae8ea20df4d33e49c3727774365a5d78b7ffcb5e516d95f64eff69fec891ab68027739af48824cf37a4a2b520adc042869af6ffbce38c1f7b5ec932
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1147
|
data/lib/v20240522/models.rb
CHANGED
@@ -114,7 +114,9 @@ module TencentCloud
|
|
114
114
|
# @type Stream: Boolean
|
115
115
|
# @param Temperature: 控制生成的随机性,较高的值会产生更多样化的输出。
|
116
116
|
# @type Temperature: Float
|
117
|
-
# @param MaxTokens:
|
117
|
+
# @param MaxTokens: 模型最大输出长度(单位 token),不包含思维链内容。
|
118
|
+
# 默认为4096,取值范围:各个模型不同,参考各个模型最大输出长度(示例:4k,即4096)。
|
119
|
+
# 输出 token 的总长度受模型的上下文长度限制。
|
118
120
|
# @type MaxTokens: Integer
|
119
121
|
# @param EnableSearch: 是否启用联网搜索
|
120
122
|
# @type EnableSearch: Boolean
|
@@ -410,7 +412,8 @@ module TencentCloud
|
|
410
412
|
# 1:只返回每一页的OCR原始Json;
|
411
413
|
# 2:只返回每一页的MD,
|
412
414
|
# 3:返回全文MD + 每一页的OCR原始Json;
|
413
|
-
# 4:返回全文MD + 每一页的MD
|
415
|
+
# 4:返回全文MD + 每一页的MD
|
416
|
+
# 5: 返回全文md,每一页ocr原始json,每一页md
|
414
417
|
# 默认值为0
|
415
418
|
# @type ResultType: String
|
416
419
|
# @param IgnoreFailedPage: 是否忽略失败页,返回已成功的页数据。默认为true。
|
@@ -512,10 +515,10 @@ module TencentCloud
|
|
512
515
|
# @param ResultType: 智能文档解析返回结果的格式
|
513
516
|
# 0:只返回全文MD;
|
514
517
|
# 1:只返回每一页的OCR原始Json;
|
515
|
-
# 2:只返回每一页的MD
|
518
|
+
# 2:只返回每一页的MD;
|
516
519
|
# 3:返回全文MD + 每一页的OCR原始Json;
|
517
|
-
# 4:返回全文MD + 每一页的MD
|
518
|
-
#
|
520
|
+
# 4:返回全文MD + 每一页的MD;
|
521
|
+
# 5:返回全文md,每一页ocr原始json,每一页md。
|
519
522
|
|
520
523
|
# @type ResultType: String
|
521
524
|
# @param EnableMllm: 是否开启mllm
|
@@ -524,20 +527,36 @@ module TencentCloud
|
|
524
527
|
# @type MaxChunkSize: Integer
|
525
528
|
# @param IgnoreFailedPage: 是否忽略返回失败页码
|
526
529
|
# @type IgnoreFailedPage: Boolean
|
530
|
+
# @param SplitResultType: 智能文档解析返回结果的格式
|
531
|
+
# 0:只返回全文MD;
|
532
|
+
# 1:只返回每一页的OCR原始Json;
|
533
|
+
# 2:只返回每一页的MD;
|
534
|
+
# 3:返回全文MD + 每一页的OCR原始Json;
|
535
|
+
# 4:返回全文MD + 每一页的MD;
|
536
|
+
# 5:返回全文md,每一页ocr原始json,每一页md。
|
537
|
+
|
538
|
+
# @type SplitResultType: String
|
539
|
+
# @param SplitTableResultType: Markdown文件中表格返回的形式
|
540
|
+
# 0,表格以MD形式返回
|
541
|
+
# 1,表格以HTML形式返回
|
542
|
+
# 默认为
|
543
|
+
# @type SplitTableResultType: String
|
527
544
|
|
528
|
-
attr_accessor :TableResultType, :ResultType, :EnableMllm, :MaxChunkSize, :IgnoreFailedPage
|
545
|
+
attr_accessor :TableResultType, :ResultType, :EnableMllm, :MaxChunkSize, :IgnoreFailedPage, :SplitResultType, :SplitTableResultType
|
529
546
|
extend Gem::Deprecate
|
530
547
|
deprecate :TableResultType, :none, 2025, 9
|
531
548
|
deprecate :TableResultType=, :none, 2025, 9
|
532
549
|
deprecate :ResultType, :none, 2025, 9
|
533
550
|
deprecate :ResultType=, :none, 2025, 9
|
534
551
|
|
535
|
-
def initialize(tableresulttype=nil, resulttype=nil, enablemllm=nil, maxchunksize=nil, ignorefailedpage=nil)
|
552
|
+
def initialize(tableresulttype=nil, resulttype=nil, enablemllm=nil, maxchunksize=nil, ignorefailedpage=nil, splitresulttype=nil, splittableresulttype=nil)
|
536
553
|
@TableResultType = tableresulttype
|
537
554
|
@ResultType = resulttype
|
538
555
|
@EnableMllm = enablemllm
|
539
556
|
@MaxChunkSize = maxchunksize
|
540
557
|
@IgnoreFailedPage = ignorefailedpage
|
558
|
+
@SplitResultType = splitresulttype
|
559
|
+
@SplitTableResultType = splittableresulttype
|
541
560
|
end
|
542
561
|
|
543
562
|
def deserialize(params)
|
@@ -546,6 +565,8 @@ module TencentCloud
|
|
546
565
|
@EnableMllm = params['EnableMllm']
|
547
566
|
@MaxChunkSize = params['MaxChunkSize']
|
548
567
|
@IgnoreFailedPage = params['IgnoreFailedPage']
|
568
|
+
@SplitResultType = params['SplitResultType']
|
569
|
+
@SplitTableResultType = params['SplitTableResultType']
|
549
570
|
end
|
550
571
|
end
|
551
572
|
|
@@ -1032,8 +1053,7 @@ module TencentCloud
|
|
1032
1053
|
|
1033
1054
|
# GetEmbedding请求参数结构体
|
1034
1055
|
class GetEmbeddingRequest < TencentCloud::Common::AbstractModel
|
1035
|
-
# @param Model:
|
1036
|
-
# 备注:仅一个模型可选
|
1056
|
+
# @param Model: 说明:选择生成向量的模型备注:可选[lke-text-embedding-v1,lke-text-embedding-v2]
|
1037
1057
|
# @type Model: String
|
1038
1058
|
# @param Inputs: 说明:需要 embedding 的文本
|
1039
1059
|
# 备注:单条query最多2000个字符,总条数最多7条
|
@@ -1517,25 +1537,35 @@ module TencentCloud
|
|
1517
1537
|
|
1518
1538
|
# ModifyAttributeLabel请求参数结构体
|
1519
1539
|
class ModifyAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
1520
|
-
# @param KnowledgeBaseId:
|
1540
|
+
# @param KnowledgeBaseId: 说明:知识库ID
|
1541
|
+
# 备注:通过创建知识库接口(DeleteKnowledgeBase)得到知识库ID(KnowledgeBaseId)
|
1521
1542
|
# @type KnowledgeBaseId: String
|
1522
|
-
# @param AttributeId:
|
1543
|
+
# @param AttributeId: 说明:属性ID
|
1544
|
+
# 备注:通过CreateAttributeLabel接口创建属性时会生成AttributeId,通过ListAttributeLabels接口可查询得到AttributeId、AttributeKey、AttributeName以及LabelId、LabelName的对应关系
|
1523
1545
|
# @type AttributeId: String
|
1524
|
-
# @param AttributeKey:
|
1546
|
+
# @param AttributeKey: 说明:属性标识,
|
1547
|
+
# 备注:仅支持英文字符,不支持数字,支持下划线。最大支持40个英文字符,如style
|
1525
1548
|
# @type AttributeKey: String
|
1526
|
-
# @param AttributeName:
|
1549
|
+
# @param AttributeName: 说明:属性名称
|
1550
|
+
# 备注:支持中英文字符。最大支持80个中英文字符,如风格
|
1527
1551
|
# @type AttributeName: String
|
1528
|
-
# @param Labels:
|
1552
|
+
# @param Labels: 说明:标签ID(LabelId)以及标签名(LabelName)
|
1553
|
+
# 备注:
|
1554
|
+
# - 不填写LabelId,默认在当前AttributeId下新增标签值(LabelName);
|
1555
|
+
# - 若填写该AttributeId下的LabelId以及LabelName,则为修改该LabelId对应的标签值
|
1529
1556
|
# @type Labels: Array
|
1557
|
+
# @param DeleteLabelIds: 说明:删除的标签id
|
1558
|
+
# @type DeleteLabelIds: Array
|
1530
1559
|
|
1531
|
-
attr_accessor :KnowledgeBaseId, :AttributeId, :AttributeKey, :AttributeName, :Labels
|
1560
|
+
attr_accessor :KnowledgeBaseId, :AttributeId, :AttributeKey, :AttributeName, :Labels, :DeleteLabelIds
|
1532
1561
|
|
1533
|
-
def initialize(knowledgebaseid=nil, attributeid=nil, attributekey=nil, attributename=nil, labels=nil)
|
1562
|
+
def initialize(knowledgebaseid=nil, attributeid=nil, attributekey=nil, attributename=nil, labels=nil, deletelabelids=nil)
|
1534
1563
|
@KnowledgeBaseId = knowledgebaseid
|
1535
1564
|
@AttributeId = attributeid
|
1536
1565
|
@AttributeKey = attributekey
|
1537
1566
|
@AttributeName = attributename
|
1538
1567
|
@Labels = labels
|
1568
|
+
@DeleteLabelIds = deletelabelids
|
1539
1569
|
end
|
1540
1570
|
|
1541
1571
|
def deserialize(params)
|
@@ -1551,6 +1581,7 @@ module TencentCloud
|
|
1551
1581
|
@Labels << attributelabelitem_tmp
|
1552
1582
|
end
|
1553
1583
|
end
|
1584
|
+
@DeleteLabelIds = params['DeleteLabelIds']
|
1554
1585
|
end
|
1555
1586
|
end
|
1556
1587
|
|
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.1147
|
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-09-
|
11
|
+
date: 2025-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|