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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180416/models.rb +10 -2
- 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: 72b01332b673f0108104b42461512c4b27e1075f
|
4
|
+
data.tar.gz: 4172bad7adb5f79c5bdc12eb2b052138cfd56a0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 865fc8773e13807163f4fd403321f249a9a8a8eba5147903684285783ca4b12ff4a293c1d358af8d1022df43cd5905db160cf5a42eb2b18e079ecfbd484a654f
|
7
|
+
data.tar.gz: 4d69283382690e0e647e9411cf2b2c441872f39bda4375db6b393483252731f712eb556315187ec6b3cc9e32617c2b3c64d08436635af523bfdeddd4c7f28358
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.942
|
data/lib/v20180416/models.rb
CHANGED
@@ -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.
|
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-
|
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
|