tencentcloud-sdk-lkeap 3.0.1131 → 3.0.1139

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20240522/models.rb +22 -14
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0aa17499ee3e4e235bebba5f71c8faa9f163d967
4
- data.tar.gz: 36295b364fe561a87ac47b132b5fc0b608cd4870
3
+ metadata.gz: b06af59e2f5afd03f7e9651e776d2a261b68a14c
4
+ data.tar.gz: ccf5d0df7eda1ccb407290d7ac469f8d3fc91945
5
5
  SHA512:
6
- metadata.gz: cfdebdeed4c25b9e78de58eb344ee30a3a6760f9ceca0bc144e05bf106e0206a6fb2f4237c06e2beca5880e0024d1abfd60f90cdec4012dfdcecd423c413db62
7
- data.tar.gz: 537d7cb0b2f041ed1f12f5ba1631fcc12cd37b30866e515c127a545e9c2de363a579c81392796e7cbe812f13dec0ca80d49931bdd8e5bfd056eafa5abadd4c0e
6
+ metadata.gz: d6ef7d3d0d14a0b59507775f0bd4757f6279967d515286bda75459a7e91dbbe6106a8192dfcfbc8700f70ee60ed1410da3243691c61b733d72a23d7d34435711
7
+ data.tar.gz: 88f3930374b002f4fb0b7b607a42595fa252dec39673cb63fefb50e36611e55943bec5e3216f58f9b3be17175f338fa165a84957b6bdb11f1942fade75660546
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1131
1
+ 3.0.1139
@@ -520,10 +520,10 @@ module TencentCloud
520
520
 
521
521
  attr_accessor :TableResultType, :ResultType, :EnableMllm, :MaxChunkSize, :IgnoreFailedPage
522
522
  extend Gem::Deprecate
523
- deprecate :TableResultType, :none, 2025, 8
524
- deprecate :TableResultType=, :none, 2025, 8
525
- deprecate :ResultType, :none, 2025, 8
526
- deprecate :ResultType=, :none, 2025, 8
523
+ deprecate :TableResultType, :none, 2025, 9
524
+ deprecate :TableResultType=, :none, 2025, 9
525
+ deprecate :ResultType, :none, 2025, 9
526
+ deprecate :ResultType=, :none, 2025, 9
527
527
 
528
528
  def initialize(tableresulttype=nil, resulttype=nil, enablemllm=nil, maxchunksize=nil, ignorefailedpage=nil)
529
529
  @TableResultType = tableresulttype
@@ -569,8 +569,8 @@ module TencentCloud
569
569
 
570
570
  attr_accessor :FileType, :FileUrl, :FileName, :FileBase64, :FileStartPageNumber, :FileEndPageNumber, :Config
571
571
  extend Gem::Deprecate
572
- deprecate :FileBase64, :none, 2025, 8
573
- deprecate :FileBase64=, :none, 2025, 8
572
+ deprecate :FileBase64, :none, 2025, 9
573
+ deprecate :FileBase64=, :none, 2025, 9
574
574
 
575
575
  def initialize(filetype=nil, fileurl=nil, filename=nil, filebase64=nil, filestartpagenumber=nil, fileendpagenumber=nil, config=nil)
576
576
  @FileType = filetype
@@ -926,8 +926,8 @@ module TencentCloud
926
926
 
927
927
  attr_accessor :PageNumber, :TotalToken, :TotalTokens, :SplitTokens, :MllmTokens, :SuccessPageNum, :FailPageNum, :FileSize
928
928
  extend Gem::Deprecate
929
- deprecate :TotalToken, :none, 2025, 8
930
- deprecate :TotalToken=, :none, 2025, 8
929
+ deprecate :TotalToken, :none, 2025, 9
930
+ deprecate :TotalToken=, :none, 2025, 9
931
931
 
932
932
  def initialize(pagenumber=nil, totaltoken=nil, totaltokens=nil, splittokens=nil, mllmtokens=nil, successpagenum=nil, failpagenum=nil, filesize=nil)
933
933
  @PageNumber = pagenumber
@@ -1031,17 +1031,25 @@ module TencentCloud
1031
1031
  # @param Inputs: 说明:需要 embedding 的文本
1032
1032
  # 备注:单条query最多2000个字符,总条数最多7条
1033
1033
  # @type Inputs: Array
1034
+ # @param TextType: 说明:文本向量化的类型,为使得检索任务有更好的检索效果,建议区分查询文本(query)和文档文本(document)类型, 聚类、分类等对称任务可以不用特殊指定,采用系统默认值document即可。
1035
+ # @type TextType: String
1036
+ # @param Instruction: 说明:自定义任务指令词,当且仅当TextType=query时,生效
1037
+ # @type Instruction: String
1034
1038
 
1035
- attr_accessor :Model, :Inputs
1039
+ attr_accessor :Model, :Inputs, :TextType, :Instruction
1036
1040
 
1037
- def initialize(model=nil, inputs=nil)
1041
+ def initialize(model=nil, inputs=nil, texttype=nil, instruction=nil)
1038
1042
  @Model = model
1039
1043
  @Inputs = inputs
1044
+ @TextType = texttype
1045
+ @Instruction = instruction
1040
1046
  end
1041
1047
 
1042
1048
  def deserialize(params)
1043
1049
  @Model = params['Model']
1044
1050
  @Inputs = params['Inputs']
1051
+ @TextType = params['TextType']
1052
+ @Instruction = params['Instruction']
1045
1053
  end
1046
1054
  end
1047
1055
 
@@ -1199,8 +1207,8 @@ module TencentCloud
1199
1207
 
1200
1208
  attr_accessor :Status, :DocumentRecognizeResultUrl, :FailedPages, :Usage, :Error, :RequestId
1201
1209
  extend Gem::Deprecate
1202
- deprecate :FailedPages, :none, 2025, 8
1203
- deprecate :FailedPages=, :none, 2025, 8
1210
+ deprecate :FailedPages, :none, 2025, 9
1211
+ deprecate :FailedPages=, :none, 2025, 9
1204
1212
 
1205
1213
  def initialize(status=nil, documentrecognizeresulturl=nil, failedpages=nil, usage=nil, error=nil, requestid=nil)
1206
1214
  @Status = status
@@ -2195,8 +2203,8 @@ module TencentCloud
2195
2203
 
2196
2204
  attr_accessor :KnowledgeBaseId, :FileName, :FileType, :FileUrl, :AttributeLabel, :AttributeLabels, :Config
2197
2205
  extend Gem::Deprecate
2198
- deprecate :AttributeLabel, :none, 2025, 8
2199
- deprecate :AttributeLabel=, :none, 2025, 8
2206
+ deprecate :AttributeLabel, :none, 2025, 9
2207
+ deprecate :AttributeLabel=, :none, 2025, 9
2200
2208
 
2201
2209
  def initialize(knowledgebaseid=nil, filename=nil, filetype=nil, fileurl=nil, attributelabel=nil, attributelabels=nil, config=nil)
2202
2210
  @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.1131
4
+ version: 3.0.1139
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-08-27 00:00:00.000000000 Z
11
+ date: 2025-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20240522/client.rb
37
36
  - lib/v20240522/models.rb
37
+ - lib/v20240522/client.rb
38
38
  - lib/tencentcloud-sdk-lkeap.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby