tencentcloud-sdk-hunyuan 3.0.1082 → 3.0.1090
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20230901/models.rb +12 -6
- 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: d99ca9a9601b67f403b8fe8aed2e456143ad18a9
|
4
|
+
data.tar.gz: fa575110414f02cb14a54f8d7a5abe6983c09b4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e8e939b5222d4be768c58f9c822870e21be8d75d5e204cbbbb4c8ec787b9a5480402244a098d3d80caf53fbbaaf518a7c8afb57bf4854d79f26bffb1e8ae187
|
7
|
+
data.tar.gz: 3394d754ea6112a0c67d71a25ebada8c9b6d3825f7b25932d8fd2c550c857730615caaeb0c79a2f09d7767249f21c076901606a6a760361af70c0fc2013ac65f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1090
|
data/lib/v20230901/models.rb
CHANGED
@@ -103,7 +103,9 @@ module TencentCloud
|
|
103
103
|
|
104
104
|
# ChatCompletions请求参数结构体
|
105
105
|
class ChatCompletionsRequest < TencentCloud::Common::AbstractModel
|
106
|
-
# @param Model:
|
106
|
+
# @param Model: 模型名称,可选值参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中混元生文模型列表。
|
107
|
+
# 示例值:hunyuan-turbos-latest
|
108
|
+
# 各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
107
109
|
# @type Model: String
|
108
110
|
# @param Messages: 聊天上下文信息。
|
109
111
|
# 说明:
|
@@ -150,7 +152,7 @@ module TencentCloud
|
|
150
152
|
# 4. 安全审核能力不属于功能增强范围,不受此字段影响。
|
151
153
|
# 5. 2025-04-20 00:00:00起,由默认开启状态转为默认关闭状态。
|
152
154
|
# @type EnableEnhancement: Boolean
|
153
|
-
# @param Tools: 可调用的工具列表,仅对 hunyuan-
|
155
|
+
# @param Tools: 可调用的工具列表,仅对 hunyuan-turbos、hunyuan-t1、hunyuan-functioncall 模型生效。
|
154
156
|
# @type Tools: Array
|
155
157
|
# @param ToolChoice: 工具使用选项,可选值包括 none、auto、custom。说明:1. 仅对 hunyuan-turbo、hunyuan-functioncall 模型生效。2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。3. 未设置时,默认值为auto
|
156
158
|
# @type ToolChoice: String
|
@@ -204,10 +206,12 @@ module TencentCloud
|
|
204
206
|
# @type WebSearchOptions: :class:`Tencentcloud::Hunyuan.v20230901.models.WebSearchOptions`
|
205
207
|
# @param TopicChoice: 用户传入Topic
|
206
208
|
# @type TopicChoice: String
|
209
|
+
# @param EnableThinking: 模型思维链开关 说明: 1. 未传值时默认开启,打开模型思维链推理能力。 2. 关闭后,关闭模型思维链推理能力。 开关当前仅对hunyuan-a13b模型生效 示例值:ture
|
210
|
+
# @type EnableThinking: Boolean
|
207
211
|
|
208
|
-
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation, :EnableSpeedSearch, :EnableMultimedia, :EnableDeepSearch, :Seed, :ForceSearchEnhancement, :Stop, :EnableRecommendedQuestions, :EnableDeepRead, :WebSearchOptions, :TopicChoice
|
212
|
+
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation, :EnableSpeedSearch, :EnableMultimedia, :EnableDeepSearch, :Seed, :ForceSearchEnhancement, :Stop, :EnableRecommendedQuestions, :EnableDeepRead, :WebSearchOptions, :TopicChoice, :EnableThinking
|
209
213
|
|
210
|
-
def initialize(model=nil, messages=nil, stream=nil, streammoderation=nil, topp=nil, temperature=nil, enableenhancement=nil, tools=nil, toolchoice=nil, customtool=nil, searchinfo=nil, citation=nil, enablespeedsearch=nil, enablemultimedia=nil, enabledeepsearch=nil, seed=nil, forcesearchenhancement=nil, stop=nil, enablerecommendedquestions=nil, enabledeepread=nil, websearchoptions=nil, topicchoice=nil)
|
214
|
+
def initialize(model=nil, messages=nil, stream=nil, streammoderation=nil, topp=nil, temperature=nil, enableenhancement=nil, tools=nil, toolchoice=nil, customtool=nil, searchinfo=nil, citation=nil, enablespeedsearch=nil, enablemultimedia=nil, enabledeepsearch=nil, seed=nil, forcesearchenhancement=nil, stop=nil, enablerecommendedquestions=nil, enabledeepread=nil, websearchoptions=nil, topicchoice=nil, enablethinking=nil)
|
211
215
|
@Model = model
|
212
216
|
@Messages = messages
|
213
217
|
@Stream = stream
|
@@ -230,6 +234,7 @@ module TencentCloud
|
|
230
234
|
@EnableDeepRead = enabledeepread
|
231
235
|
@WebSearchOptions = websearchoptions
|
232
236
|
@TopicChoice = topicchoice
|
237
|
+
@EnableThinking = enablethinking
|
233
238
|
end
|
234
239
|
|
235
240
|
def deserialize(params)
|
@@ -275,6 +280,7 @@ module TencentCloud
|
|
275
280
|
@WebSearchOptions.deserialize(params['WebSearchOptions'])
|
276
281
|
end
|
277
282
|
@TopicChoice = params['TopicChoice']
|
283
|
+
@EnableThinking = params['EnableThinking']
|
278
284
|
end
|
279
285
|
end
|
280
286
|
|
@@ -534,11 +540,11 @@ module TencentCloud
|
|
534
540
|
end
|
535
541
|
end
|
536
542
|
|
537
|
-
#
|
543
|
+
# 可以传入多种类型的内容,如图片、文本。
|
538
544
|
class Content < TencentCloud::Common::AbstractModel
|
539
545
|
# @param Type: 内容类型
|
540
546
|
# 注意:
|
541
|
-
# 需包含至少一个 Type 为"text"
|
547
|
+
# 需包含至少一个 Type 为"text"的参数。
|
542
548
|
# 参数值可选范围:[text", "image_url"]
|
543
549
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
544
550
|
# @type Type: String
|
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.
|
4
|
+
version: 3.0.1090
|
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-06-
|
11
|
+
date: 2025-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|