tencentcloud-sdk-hunyuan 3.0.824 → 3.0.825

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/v20230901/models.rb +11 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bae62e2222c8d03a84c3a9b5cc678255d6e721e5
4
- data.tar.gz: 19cd0677b952571c9e6f502bb61b4f117641f944
3
+ metadata.gz: 145f4ce734a9edaac7f69bf661caa8dfda9adc5e
4
+ data.tar.gz: 9aa46f45db199750671af98be644e2d4ae43ac40
5
5
  SHA512:
6
- metadata.gz: 901b1b555311e6a6e10b1ae2c7665444cf0dca4c649da7de8c8f97df8702e5afabb69284f97f0b4b8fb6f30669737018e142668608d5867e00476b475a9965b2
7
- data.tar.gz: 9e6387e658aa3f3492986d8d359abf63894fc460ea06c8c5fcbeb46f6dabbc0e85c024ea26fe3b51239cbebc65bf2409815ede5095a66db75888af3f34928339
6
+ metadata.gz: 7c3a325a643c22a5269af163c7e117716290a1a43e139f859a6c8e8b04ac4d08658f8b8671d83a8c8637ee5baa65df368bbe6f6e9734d394e67972a1e4bfc8a5
7
+ data.tar.gz: d5d25bbc2f1fdd58a1f85196bc23057068172a5a31c52c0d29c5e89e34f641a6d90b5c07d2e7241cc47d0f5ffee310d78304e9e082237c3793cfb94735ab7648
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.824
1
+ 3.0.825
@@ -64,16 +64,24 @@ module TencentCloud
64
64
  # 2. 默认 1.0,取值区间为 [0.0, 2.0]。
65
65
  # 3. 非必要不建议使用,不合理的取值会影响效果。
66
66
  # @type Temperature: Float
67
+ # @param EnableEnhancement: 功能增强(如搜索)开关。
68
+ # 说明:
69
+ # 1. 仅 hunyuan-pro 模型可用,其它版本不生效。
70
+ # 2. 未传值时默认打开开关。
71
+ # 3. 关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
72
+ # 4. 安全审核能力不属于功能增强范围,不受此字段影响。
73
+ # @type EnableEnhancement: Boolean
67
74
 
68
- attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature
75
+ attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement
69
76
 
70
- def initialize(model=nil, messages=nil, stream=nil, streammoderation=nil, topp=nil, temperature=nil)
77
+ def initialize(model=nil, messages=nil, stream=nil, streammoderation=nil, topp=nil, temperature=nil, enableenhancement=nil)
71
78
  @Model = model
72
79
  @Messages = messages
73
80
  @Stream = stream
74
81
  @StreamModeration = streammoderation
75
82
  @TopP = topp
76
83
  @Temperature = temperature
84
+ @EnableEnhancement = enableenhancement
77
85
  end
78
86
 
79
87
  def deserialize(params)
@@ -90,6 +98,7 @@ module TencentCloud
90
98
  @StreamModeration = params['StreamModeration']
91
99
  @TopP = params['TopP']
92
100
  @Temperature = params['Temperature']
101
+ @EnableEnhancement = params['EnableEnhancement']
93
102
  end
94
103
  end
95
104
 
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.824
4
+ version: 3.0.825
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-05-16 00:00:00.000000000 Z
11
+ date: 2024-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common