tencentcloud-sdk-es 3.0.940 → 3.0.942

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180416/models.rb +10 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16d00d4b61b6f5166793c9cebfccc71841ef0c2c
4
- data.tar.gz: 52ebcbd98bfb6e4c4d0fbe5ddc31feddb7d64313
3
+ metadata.gz: 72b01332b673f0108104b42461512c4b27e1075f
4
+ data.tar.gz: 4172bad7adb5f79c5bdc12eb2b052138cfd56a0f
5
5
  SHA512:
6
- metadata.gz: 44a4100a44daa6fb7e872a74962a939c890daa01a68083609dfb78bdb42989e7e88a7843ae14f289c4650327fa8e9dca145cbf59b342f5a6856da4a00453f580
7
- data.tar.gz: a8eff44e9ac97b89e9730098d33764b451b64020acb1524c5df12d6d6dc3297b32663b15dfab6d1d7ce3c61574d2d89014dfa2e625c378664161491e0fda165b
6
+ metadata.gz: 865fc8773e13807163f4fd403321f249a9a8a8eba5147903684285783ca4b12ff4a293c1d358af8d1022df43cd5905db160cf5a42eb2b18e079ecfbd484a654f
7
+ data.tar.gz: 4d69283382690e0e647e9411cf2b2c441872f39bda4375db6b393483252731f712eb556315187ec6b3cc9e32617c2b3c64d08436635af523bfdeddd4c7f28358
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.940
1
+ 3.0.942
@@ -3772,17 +3772,25 @@ module TencentCloud
3772
3772
  # @type InstanceId: String
3773
3773
  # @param UsrCosModelUrlList: 客户上传到cos的模型地址,单次请求限制一个。cos文件为压缩文件,格式包括:zip、tgz和tar.gz
3774
3774
  # @type UsrCosModelUrlList: Array
3775
+ # @param ModelNames: 客户指定安装的模型名称,可为空,默认为模型文件名
3776
+ # @type ModelNames: Array
3777
+ # @param TaskTypes: 模型使用的任务类型,包括:fill_mask, ner, question_answering, text_classification, text_embedding, text_expansion, text_similarity和zero_shot_classification,默认为text_embedding
3778
+ # @type TaskTypes: Array
3775
3779
 
3776
- attr_accessor :InstanceId, :UsrCosModelUrlList
3780
+ attr_accessor :InstanceId, :UsrCosModelUrlList, :ModelNames, :TaskTypes
3777
3781
 
3778
- def initialize(instanceid=nil, usrcosmodelurllist=nil)
3782
+ def initialize(instanceid=nil, usrcosmodelurllist=nil, modelnames=nil, tasktypes=nil)
3779
3783
  @InstanceId = instanceid
3780
3784
  @UsrCosModelUrlList = usrcosmodelurllist
3785
+ @ModelNames = modelnames
3786
+ @TaskTypes = tasktypes
3781
3787
  end
3782
3788
 
3783
3789
  def deserialize(params)
3784
3790
  @InstanceId = params['InstanceId']
3785
3791
  @UsrCosModelUrlList = params['UsrCosModelUrlList']
3792
+ @ModelNames = params['ModelNames']
3793
+ @TaskTypes = params['TaskTypes']
3786
3794
  end
3787
3795
  end
3788
3796
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.940
4
+ version: 3.0.942
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-12 00:00:00.000000000 Z
11
+ date: 2024-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common