tencentcloud-sdk-hunyuan 3.0.1057 → 3.0.1058
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 +110 -2
- 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: f30556b4f20e3e91f5464d82bac607034cd4a8b8
|
4
|
+
data.tar.gz: 2509906c0ca253ee87da97c56b50635a61928489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fb8b340e8bb4344a66d5ab6ac117b3136122cde9e91c86c6f81664edad7f5678d8360a93772f3f377a6674ae3537315da7d6db21fd2d0313f79835d638ba32b
|
7
|
+
data.tar.gz: 8ad2a8f615241636a67cdd8ccdde13162aaa6ea7bad6684767cc25101e1c8a59193719c6a2a87f832615753364070d8cb702e0f7e18550233e952f9fbdcf55c2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1058
|
data/lib/v20230901/models.rb
CHANGED
@@ -49,6 +49,38 @@ module TencentCloud
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
# 用户位置信息
|
53
|
+
class Approximate < TencentCloud::Common::AbstractModel
|
54
|
+
# @param Country: 表示 ISO 国家代码
|
55
|
+
# @type Country: String
|
56
|
+
# @param City: 表示城市名称
|
57
|
+
# @type City: String
|
58
|
+
# @param Region: 表示区域名称
|
59
|
+
# @type Region: String
|
60
|
+
# @param Timezone: 表示IANA时区
|
61
|
+
# @type Timezone: String
|
62
|
+
# @param Address: 表示详细地址
|
63
|
+
# @type Address: String
|
64
|
+
|
65
|
+
attr_accessor :Country, :City, :Region, :Timezone, :Address
|
66
|
+
|
67
|
+
def initialize(country=nil, city=nil, region=nil, timezone=nil, address=nil)
|
68
|
+
@Country = country
|
69
|
+
@City = city
|
70
|
+
@Region = region
|
71
|
+
@Timezone = timezone
|
72
|
+
@Address = address
|
73
|
+
end
|
74
|
+
|
75
|
+
def deserialize(params)
|
76
|
+
@Country = params['Country']
|
77
|
+
@City = params['City']
|
78
|
+
@Region = params['Region']
|
79
|
+
@Timezone = params['Timezone']
|
80
|
+
@Address = params['Address']
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
52
84
|
# 人物描述
|
53
85
|
class Character < TencentCloud::Common::AbstractModel
|
54
86
|
# @param Name: 人物名称
|
@@ -168,10 +200,12 @@ module TencentCloud
|
|
168
200
|
# @type EnableRecommendedQuestions: Boolean
|
169
201
|
# @param EnableDeepRead: 是否开启深度阅读,默认是false,在值为true时,会返回深度阅读的结果信息。说明:1.深度阅读需要开启插件增强,即设置EnableEnhancement为true,当设置EnableDeepRead为true时EnableEnhancement默认为true;2.目前暂时只支持单文档单轮的深度阅读;3.深度阅读功能的文件上传可以使用FilesUploads接口,具体参数详见FilesUploads接口文档
|
170
202
|
# @type EnableDeepRead: Boolean
|
203
|
+
# @param WebSearchOptions: 知识注入相关的参数信息
|
204
|
+
# @type WebSearchOptions: :class:`Tencentcloud::Hunyuan.v20230901.models.WebSearchOptions`
|
171
205
|
|
172
|
-
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation, :EnableSpeedSearch, :EnableMultimedia, :EnableDeepSearch, :Seed, :ForceSearchEnhancement, :Stop, :EnableRecommendedQuestions, :EnableDeepRead
|
206
|
+
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation, :EnableSpeedSearch, :EnableMultimedia, :EnableDeepSearch, :Seed, :ForceSearchEnhancement, :Stop, :EnableRecommendedQuestions, :EnableDeepRead, :WebSearchOptions
|
173
207
|
|
174
|
-
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)
|
208
|
+
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)
|
175
209
|
@Model = model
|
176
210
|
@Messages = messages
|
177
211
|
@Stream = stream
|
@@ -192,6 +226,7 @@ module TencentCloud
|
|
192
226
|
@Stop = stop
|
193
227
|
@EnableRecommendedQuestions = enablerecommendedquestions
|
194
228
|
@EnableDeepRead = enabledeepread
|
229
|
+
@WebSearchOptions = websearchoptions
|
195
230
|
end
|
196
231
|
|
197
232
|
def deserialize(params)
|
@@ -232,6 +267,10 @@ module TencentCloud
|
|
232
267
|
@Stop = params['Stop']
|
233
268
|
@EnableRecommendedQuestions = params['EnableRecommendedQuestions']
|
234
269
|
@EnableDeepRead = params['EnableDeepRead']
|
270
|
+
unless params['WebSearchOptions'].nil?
|
271
|
+
@WebSearchOptions = WebSearchOptions.new
|
272
|
+
@WebSearchOptions.deserialize(params['WebSearchOptions'])
|
273
|
+
end
|
235
274
|
end
|
236
275
|
end
|
237
276
|
|
@@ -1640,6 +1679,22 @@ module TencentCloud
|
|
1640
1679
|
end
|
1641
1680
|
end
|
1642
1681
|
|
1682
|
+
# 外部知识
|
1683
|
+
class Knowledge < TencentCloud::Common::AbstractModel
|
1684
|
+
# @param Text: 表示具体的知识信息文本
|
1685
|
+
# @type Text: String
|
1686
|
+
|
1687
|
+
attr_accessor :Text
|
1688
|
+
|
1689
|
+
def initialize(text=nil)
|
1690
|
+
@Text = text
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
def deserialize(params)
|
1694
|
+
@Text = params['Text']
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
|
1643
1698
|
# logo参数
|
1644
1699
|
class LogoParam < TencentCloud::Common::AbstractModel
|
1645
1700
|
# @param LogoUrl: 水印url
|
@@ -3080,6 +3135,59 @@ module TencentCloud
|
|
3080
3135
|
end
|
3081
3136
|
end
|
3082
3137
|
|
3138
|
+
# 用户位置详细信息
|
3139
|
+
class UserLocation < TencentCloud::Common::AbstractModel
|
3140
|
+
# @param Type: 表示位置类型
|
3141
|
+
# @type Type: String
|
3142
|
+
# @param Approximate: 用户近似位置的详细信息
|
3143
|
+
# @type Approximate: :class:`Tencentcloud::Hunyuan.v20230901.models.Approximate`
|
3144
|
+
|
3145
|
+
attr_accessor :Type, :Approximate
|
3146
|
+
|
3147
|
+
def initialize(type=nil, approximate=nil)
|
3148
|
+
@Type = type
|
3149
|
+
@Approximate = approximate
|
3150
|
+
end
|
3151
|
+
|
3152
|
+
def deserialize(params)
|
3153
|
+
@Type = params['Type']
|
3154
|
+
unless params['Approximate'].nil?
|
3155
|
+
@Approximate = Approximate.new
|
3156
|
+
@Approximate.deserialize(params['Approximate'])
|
3157
|
+
end
|
3158
|
+
end
|
3159
|
+
end
|
3160
|
+
|
3161
|
+
# 知识注入相关的参数信息
|
3162
|
+
class WebSearchOptions < TencentCloud::Common::AbstractModel
|
3163
|
+
# @param Knowledge: 表示用户注入的知识信息
|
3164
|
+
# @type Knowledge: Array
|
3165
|
+
# @param UserLocation: 用户位置详细信息
|
3166
|
+
# @type UserLocation: :class:`Tencentcloud::Hunyuan.v20230901.models.UserLocation`
|
3167
|
+
|
3168
|
+
attr_accessor :Knowledge, :UserLocation
|
3169
|
+
|
3170
|
+
def initialize(knowledge=nil, userlocation=nil)
|
3171
|
+
@Knowledge = knowledge
|
3172
|
+
@UserLocation = userlocation
|
3173
|
+
end
|
3174
|
+
|
3175
|
+
def deserialize(params)
|
3176
|
+
unless params['Knowledge'].nil?
|
3177
|
+
@Knowledge = []
|
3178
|
+
params['Knowledge'].each do |i|
|
3179
|
+
knowledge_tmp = Knowledge.new
|
3180
|
+
knowledge_tmp.deserialize(i)
|
3181
|
+
@Knowledge << knowledge_tmp
|
3182
|
+
end
|
3183
|
+
end
|
3184
|
+
unless params['UserLocation'].nil?
|
3185
|
+
@UserLocation = UserLocation.new
|
3186
|
+
@UserLocation.deserialize(params['UserLocation'])
|
3187
|
+
end
|
3188
|
+
end
|
3189
|
+
end
|
3190
|
+
|
3083
3191
|
end
|
3084
3192
|
end
|
3085
3193
|
end
|
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.1058
|
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-05-
|
11
|
+
date: 2025-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|