tencentcloud-sdk-hunyuan 3.0.949 → 3.0.951
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/v20230901/models.rb +9 -4
- 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: c1e8d3f8c91cf45f7e3a74388f407097e89533b8
|
4
|
+
data.tar.gz: 9fc57584622dec995a39bc88cef6960f26e1f361
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17fb23fc57df728d1ac4bc2c31a6413b6cbcdea9b153d71478d48d43733b0fe99af7393af929abc63ef8c641db2030ff5bc77c57cf5e4cf4876f7f32bc50a4f4
|
7
|
+
data.tar.gz: c45eab99155d809fdf93957273a386e417ebfb901b2a87685abf89a26574f8145ac2617e847f5dd1a9ebbe4957b9617f66e42b264c3693b8a0185f74a53be525
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.951
|
data/lib/v20230901/models.rb
CHANGED
@@ -51,7 +51,7 @@ module TencentCloud
|
|
51
51
|
|
52
52
|
# ChatCompletions请求参数结构体
|
53
53
|
class ChatCompletionsRequest < TencentCloud::Common::AbstractModel
|
54
|
-
# @param Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large。
|
54
|
+
# @param Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision。
|
55
55
|
# 各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
|
56
56
|
|
57
57
|
# 注意:
|
@@ -1125,7 +1125,7 @@ module TencentCloud
|
|
1125
1125
|
# @type Role: String
|
1126
1126
|
# @param Content: 文本内容
|
1127
1127
|
# @type Content: String
|
1128
|
-
# @param Contents: 多种类型内容(目前支持图片和文本),仅 hunyuan-vision 模型支持
|
1128
|
+
# @param Contents: 多种类型内容(目前支持图片和文本),仅 hunyuan-vision 和 hunyuan-turbo-vision 模型支持
|
1129
1129
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1130
1130
|
# @type Contents: Array
|
1131
1131
|
# @param ToolCallId: 当role为tool时传入,标识具体的函数调用
|
@@ -1134,15 +1134,19 @@ module TencentCloud
|
|
1134
1134
|
# @param ToolCalls: 模型生成的工具调用,仅 hunyuan-pro 或者 hunyuan-functioncall 模型支持
|
1135
1135
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1136
1136
|
# @type ToolCalls: Array
|
1137
|
+
# @param FileIDs: 文件标识符。单次最大 50 个文件。
|
1138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1139
|
+
# @type FileIDs: Array
|
1137
1140
|
|
1138
|
-
attr_accessor :Role, :Content, :Contents, :ToolCallId, :ToolCalls
|
1141
|
+
attr_accessor :Role, :Content, :Contents, :ToolCallId, :ToolCalls, :FileIDs
|
1139
1142
|
|
1140
|
-
def initialize(role=nil, content=nil, contents=nil, toolcallid=nil, toolcalls=nil)
|
1143
|
+
def initialize(role=nil, content=nil, contents=nil, toolcallid=nil, toolcalls=nil, fileids=nil)
|
1141
1144
|
@Role = role
|
1142
1145
|
@Content = content
|
1143
1146
|
@Contents = contents
|
1144
1147
|
@ToolCallId = toolcallid
|
1145
1148
|
@ToolCalls = toolcalls
|
1149
|
+
@FileIDs = fileids
|
1146
1150
|
end
|
1147
1151
|
|
1148
1152
|
def deserialize(params)
|
@@ -1165,6 +1169,7 @@ module TencentCloud
|
|
1165
1169
|
@ToolCalls << toolcall_tmp
|
1166
1170
|
end
|
1167
1171
|
end
|
1172
|
+
@FileIDs = params['FileIDs']
|
1168
1173
|
end
|
1169
1174
|
end
|
1170
1175
|
|
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.951
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|