tencentcloud-sdk-hunyuan 3.0.1023 → 3.0.1025
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 +7 -3
- 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: 1b5b26ae335079160958cb05c04136568c2abfe9
|
4
|
+
data.tar.gz: b74ae055c90b2a80c0c07f1649e58ce7690a4466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34141de8dbcc23d81f1a5286462081a7faf36864b9568051fe4a898b9f2ac18e84d37ec15245136419a6a683547c527726780fcf29750a58eeb9ab7bd8f2c604
|
7
|
+
data.tar.gz: aa0f93f8415fd2540330cb9a65c38a1118f2e73e4f5f3065c107d27efc708397500bc1786a25b4880ccad14da3fcc1fcbc429888c8bc2069a5c052de62acc240
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1025
|
data/lib/v20230901/models.rb
CHANGED
@@ -71,7 +71,7 @@ module TencentCloud
|
|
71
71
|
|
72
72
|
# ChatCompletions请求参数结构体
|
73
73
|
class ChatCompletionsRequest < TencentCloud::Common::AbstractModel
|
74
|
-
# @param Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-code、hunyuan-role、hunyuan-functioncall、hunyuan-vision、hunyuan-turbo、hunyuan-turbo-latest、hunyuan-turbo-20241223、hunyuan-turbo-20241120、hunyuan-large、hunyuan-large-longcontext、hunyuan-turbo-vision、hunyuan-standard-vision、hunyuan-lite-vision、hunyuan-turbos-20250226、hunyuan-turbos-latest。各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
74
|
+
# @param Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-code、hunyuan-role、hunyuan-functioncall、hunyuan-vision、hunyuan-turbo、hunyuan-turbo-latest、hunyuan-turbo-20241223、hunyuan-turbo-20241120、hunyuan-large、hunyuan-large-longcontext、hunyuan-turbo-vision、hunyuan-standard-vision、hunyuan-lite-vision、hunyuan-turbos-20250226、hunyuan-turbos-latest、hunyuan-t1-20250321、hunyuan-t1-latest。各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
75
75
|
# @type Model: String
|
76
76
|
# @param Messages: 聊天上下文信息。
|
77
77
|
# 说明:
|
@@ -1537,16 +1537,19 @@ module TencentCloud
|
|
1537
1537
|
# @param FileIDs: 文件标识符。单次最大 50 个文件。
|
1538
1538
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1539
1539
|
# @type FileIDs: Array
|
1540
|
+
# @param ReasoningContent: 思维链内容。用于展示模型思考过程,仅 Hunyuan-T1 系列模型可用。注意:在进行多轮对话时,请**不要**将此字段拼接到 messages 中。请求 messages 的请求参数中包含 reasoning_content,接口将报错。
|
1541
|
+
# @type ReasoningContent: String
|
1540
1542
|
|
1541
|
-
attr_accessor :Role, :Content, :Contents, :ToolCallId, :ToolCalls, :FileIDs
|
1543
|
+
attr_accessor :Role, :Content, :Contents, :ToolCallId, :ToolCalls, :FileIDs, :ReasoningContent
|
1542
1544
|
|
1543
|
-
def initialize(role=nil, content=nil, contents=nil, toolcallid=nil, toolcalls=nil, fileids=nil)
|
1545
|
+
def initialize(role=nil, content=nil, contents=nil, toolcallid=nil, toolcalls=nil, fileids=nil, reasoningcontent=nil)
|
1544
1546
|
@Role = role
|
1545
1547
|
@Content = content
|
1546
1548
|
@Contents = contents
|
1547
1549
|
@ToolCallId = toolcallid
|
1548
1550
|
@ToolCalls = toolcalls
|
1549
1551
|
@FileIDs = fileids
|
1552
|
+
@ReasoningContent = reasoningcontent
|
1550
1553
|
end
|
1551
1554
|
|
1552
1555
|
def deserialize(params)
|
@@ -1570,6 +1573,7 @@ module TencentCloud
|
|
1570
1573
|
end
|
1571
1574
|
end
|
1572
1575
|
@FileIDs = params['FileIDs']
|
1576
|
+
@ReasoningContent = params['ReasoningContent']
|
1573
1577
|
end
|
1574
1578
|
end
|
1575
1579
|
|
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.1025
|
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-03-
|
11
|
+
date: 2025-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|