tencentcloud-sdk-hunyuan 3.0.1119 → 3.0.1154

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/v20230901/models.rb +24 -10
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5238b93d8df00fc1ea306f38b3bea01355b69a7f
4
- data.tar.gz: 762375f3d2f94352d93b81f36617549d862fed98
3
+ metadata.gz: 597dfaa57e53a958bcbe612d11a4352824cf508b
4
+ data.tar.gz: eeee2fe530763c1fd6e3d72d993724f8c37d2038
5
5
  SHA512:
6
- metadata.gz: fd632b15be33e015f72e23b2d8bc445c40e91a58b3c0a48a50f2c55211806176cf19fc4df451892ec066e327cd0d324a177c3559bad4fecafb3bca2ef17642b7
7
- data.tar.gz: ddd04667262841afc54c0d0bb348f852e1f7f70638921dd3450a19b7cfa0fd6b97abfe0c82696e3a61f8266f303e6297e8f25193592759f9260763ee0050a232
6
+ metadata.gz: e244240ed96ac5b56f6b7a02e5e3372de7eb1f6fefef523369803b19916ac27be40bf7edadb103afffb5e61a4756341bbb58377d71b20032b93818d121a7b0f6
7
+ data.tar.gz: 052f7627b824e7ffb0fe9bcf0b03c0431e6a943ec05342bc0b1ec52b62e53958439fb3d1ecbf54a93cb3c87c65758f42ac166ab0c47d6cfa8de41513cd1df7a9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1119
1
+ 3.0.1154
@@ -319,8 +319,8 @@ module TencentCloud
319
319
 
320
320
  attr_accessor :Created, :Usage, :Note, :Id, :Choices, :ErrorMsg, :ModerationLevel, :SearchInfo, :Replaces, :RecommendedQuestions, :Processes, :RequestId
321
321
  extend Gem::Deprecate
322
- deprecate :ModerationLevel, :none, 2025, 8
323
- deprecate :ModerationLevel=, :none, 2025, 8
322
+ deprecate :ModerationLevel, :none, 2025, 10
323
+ deprecate :ModerationLevel=, :none, 2025, 10
324
324
 
325
325
  def initialize(created=nil, usage=nil, note=nil, id=nil, choices=nil, errormsg=nil, moderationlevel=nil, searchinfo=nil, replaces=nil, recommendedquestions=nil, processes=nil, requestid=nil)
326
326
  @Created = created
@@ -402,10 +402,16 @@ module TencentCloud
402
402
  # @param Text: 待翻译的文本
403
403
  # @type Text: String
404
404
  # @param Source: 源语言。
405
- # 支持语言列表: 1. 简体中文:zh,2. 粤语:yue,3. 英语:en,4. 法语:fr,5. 葡萄牙语:pt,6. 西班牙语:es,7. 日语:ja,8. 土耳其语:tr,9. 俄语:ru,10. 阿拉伯语:ar,11. 韩语:ko,12. 泰语:th,13. 意大利语:it,14. 德语:de,15. 越南语:vi,16. 马来语:ms,17. 印尼语:id
405
+ # 支持语言列表:
406
+ # 简体中文:zh,繁体中文:zh-TR,粤语:yue,英语:en,法语:fr,葡萄牙语:pt,西班牙语:es,日语:ja,土耳其语:tr,俄语:ru,阿拉伯语:ar,韩语:ko,泰语:th,意大利语:it,德语:de,越南语:vi,马来语:ms,印尼语:id
407
+ # 以下语种仅 hunyuan-translation 模型支持:
408
+ # 菲律宾语:fil,印地语:hi,波兰语:pl,捷克语:cs,荷兰语:nl,高棉语:km,缅甸语:my,波斯语:fa,古吉拉特语:gu,乌尔都语:ur,泰卢固语:te,马拉地语:mr,希伯来语:he,孟加拉语:bn,泰米尔语:ta,乌克兰语:uk,藏语:bo,哈萨克语:kk,蒙古语:mn,维吾尔语:ug
406
409
  # @type Source: String
407
410
  # @param Target: 目标语言。
408
- # 支持语言列表: 1. 简体中文:zh,2. 粤语:yue,3. 英语:en,4. 法语:fr,5. 葡萄牙语:pt,6. 西班牙语:es,7. 日语:ja,8. 土耳其语:tr,9. 俄语:ru,10. 阿拉伯语:ar,11. 韩语:ko,12. 泰语:th,13. 意大利语:it,14. 德语:de,15. 越南语:vi,16. 马来语:ms,17. 印尼语:id
411
+ # 支持语言列表:
412
+ # 简体中文:zh,繁体中文:zh-TR,粤语:yue,英语:en,法语:fr,葡萄牙语:pt,西班牙语:es,日语:ja,土耳其语:tr,俄语:ru,阿拉伯语:ar,韩语:ko,泰语:th,意大利语:it,德语:de,越南语:vi,马来语:ms,印尼语:id
413
+ # 以下语种仅 hunyuan-translation 模型支持:
414
+ # 菲律宾语:fil,印地语:hi,波兰语:pl,捷克语:cs,荷兰语:nl,高棉语:km,缅甸语:my,波斯语:fa,古吉拉特语:gu,乌尔都语:ur,泰卢固语:te,马拉地语:mr,希伯来语:he,孟加拉语:bn,泰米尔语:ta,乌克兰语:uk,藏语:bo,哈萨克语:kk,蒙古语:mn,维吾尔语:ug
409
415
  # @type Target: String
410
416
  # @param Field: 待翻译文本所属领域,例如游戏剧情等
411
417
  # @type Field: String
@@ -1025,10 +1031,10 @@ module TencentCloud
1025
1031
 
1026
1032
  attr_accessor :Data, :FirstID, :LastID, :HasMore, :Object, :FirstMsgID, :LastMsgID, :RequestId
1027
1033
  extend Gem::Deprecate
1028
- deprecate :FirstID, :none, 2025, 8
1029
- deprecate :FirstID=, :none, 2025, 8
1030
- deprecate :LastID, :none, 2025, 8
1031
- deprecate :LastID=, :none, 2025, 8
1034
+ deprecate :FirstID, :none, 2025, 10
1035
+ deprecate :FirstID=, :none, 2025, 10
1036
+ deprecate :LastID, :none, 2025, 10
1037
+ deprecate :LastID=, :none, 2025, 10
1032
1038
 
1033
1039
  def initialize(data=nil, firstid=nil, lastid=nil, hasmore=nil, object=nil, firstmsgid=nil, lastmsgid=nil, requestid=nil)
1034
1040
  @Data = data
@@ -3089,13 +3095,19 @@ module TencentCloud
3089
3095
  # @type UserLocation: :class:`Tencentcloud::Hunyuan.v20230901.models.UserLocation`
3090
3096
  # @param Processes: 打开开关,会返回搜索状态
3091
3097
  # @type Processes: Boolean
3098
+ # @param EnableImage: 是否开启图文混排
3099
+ # @type EnableImage: Boolean
3100
+ # @param EnableMusic: 是否开启音乐
3101
+ # @type EnableMusic: Boolean
3092
3102
 
3093
- attr_accessor :Knowledge, :UserLocation, :Processes
3103
+ attr_accessor :Knowledge, :UserLocation, :Processes, :EnableImage, :EnableMusic
3094
3104
 
3095
- def initialize(knowledge=nil, userlocation=nil, processes=nil)
3105
+ def initialize(knowledge=nil, userlocation=nil, processes=nil, enableimage=nil, enablemusic=nil)
3096
3106
  @Knowledge = knowledge
3097
3107
  @UserLocation = userlocation
3098
3108
  @Processes = processes
3109
+ @EnableImage = enableimage
3110
+ @EnableMusic = enablemusic
3099
3111
  end
3100
3112
 
3101
3113
  def deserialize(params)
@@ -3112,6 +3124,8 @@ module TencentCloud
3112
3124
  @UserLocation.deserialize(params['UserLocation'])
3113
3125
  end
3114
3126
  @Processes = params['Processes']
3127
+ @EnableImage = params['EnableImage']
3128
+ @EnableMusic = params['EnableMusic']
3115
3129
  end
3116
3130
  end
3117
3131
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-hunyuan
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1119
4
+ version: 3.0.1154
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-06 00:00:00.000000000 Z
11
+ date: 2025-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-hunyuan.rb
37
- - lib/v20230901/client.rb
38
37
  - lib/v20230901/models.rb
38
+ - lib/v20230901/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: