tencentcloud-sdk-hunyuan 3.0.1074 → 3.0.1082
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 +53 -12
- 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: c6ac816d7027a39190cd575afdc477607e54a0d7
|
4
|
+
data.tar.gz: 1f3f2c6f8e83bc116f6d47ba47f8b02569c05d09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0add68eacf4e930034a8e782504754f62dd299da9af99103d026d496773375d3a3bb1c1759cb75eef30b9d0ce01a77505e61cc648ecf53b474db26744144b31
|
7
|
+
data.tar.gz: 978ea5eae9aad18d51e91dcbae01925f0d3a75eaf78972335442a1ad4d448dbd0b5a9cf8fa8a2b8fcc78485f6c9e56f6601353910f6e9bee2e8bc30dc62c11b2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1082
|
data/lib/v20230901/models.rb
CHANGED
@@ -202,10 +202,12 @@ module TencentCloud
|
|
202
202
|
# @type EnableDeepRead: Boolean
|
203
203
|
# @param WebSearchOptions: 知识注入相关的参数信息
|
204
204
|
# @type WebSearchOptions: :class:`Tencentcloud::Hunyuan.v20230901.models.WebSearchOptions`
|
205
|
+
# @param TopicChoice: 用户传入Topic
|
206
|
+
# @type TopicChoice: String
|
205
207
|
|
206
|
-
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation, :EnableSpeedSearch, :EnableMultimedia, :EnableDeepSearch, :Seed, :ForceSearchEnhancement, :Stop, :EnableRecommendedQuestions, :EnableDeepRead, :WebSearchOptions
|
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
|
207
209
|
|
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)
|
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)
|
209
211
|
@Model = model
|
210
212
|
@Messages = messages
|
211
213
|
@Stream = stream
|
@@ -227,6 +229,7 @@ module TencentCloud
|
|
227
229
|
@EnableRecommendedQuestions = enablerecommendedquestions
|
228
230
|
@EnableDeepRead = enabledeepread
|
229
231
|
@WebSearchOptions = websearchoptions
|
232
|
+
@TopicChoice = topicchoice
|
230
233
|
end
|
231
234
|
|
232
235
|
def deserialize(params)
|
@@ -271,6 +274,7 @@ module TencentCloud
|
|
271
274
|
@WebSearchOptions = WebSearchOptions.new
|
272
275
|
@WebSearchOptions.deserialize(params['WebSearchOptions'])
|
273
276
|
end
|
277
|
+
@TopicChoice = params['TopicChoice']
|
274
278
|
end
|
275
279
|
end
|
276
280
|
|
@@ -302,15 +306,17 @@ module TencentCloud
|
|
302
306
|
# @type Replaces: Array
|
303
307
|
# @param RecommendedQuestions: 推荐问答。
|
304
308
|
# @type RecommendedQuestions: Array
|
309
|
+
# @param Processes: AI搜索返回状态
|
310
|
+
# @type Processes: :class:`Tencentcloud::Hunyuan.v20230901.models.Processes`
|
305
311
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
306
312
|
# @type RequestId: String
|
307
313
|
|
308
|
-
attr_accessor :Created, :Usage, :Note, :Id, :Choices, :ErrorMsg, :ModerationLevel, :SearchInfo, :Replaces, :RecommendedQuestions, :RequestId
|
314
|
+
attr_accessor :Created, :Usage, :Note, :Id, :Choices, :ErrorMsg, :ModerationLevel, :SearchInfo, :Replaces, :RecommendedQuestions, :Processes, :RequestId
|
309
315
|
extend Gem::Deprecate
|
310
|
-
deprecate :ModerationLevel, :none, 2025,
|
311
|
-
deprecate :ModerationLevel=, :none, 2025,
|
316
|
+
deprecate :ModerationLevel, :none, 2025, 6
|
317
|
+
deprecate :ModerationLevel=, :none, 2025, 6
|
312
318
|
|
313
|
-
def initialize(created=nil, usage=nil, note=nil, id=nil, choices=nil, errormsg=nil, moderationlevel=nil, searchinfo=nil, replaces=nil, recommendedquestions=nil, requestid=nil)
|
319
|
+
def initialize(created=nil, usage=nil, note=nil, id=nil, choices=nil, errormsg=nil, moderationlevel=nil, searchinfo=nil, replaces=nil, recommendedquestions=nil, processes=nil, requestid=nil)
|
314
320
|
@Created = created
|
315
321
|
@Usage = usage
|
316
322
|
@Note = note
|
@@ -321,6 +327,7 @@ module TencentCloud
|
|
321
327
|
@SearchInfo = searchinfo
|
322
328
|
@Replaces = replaces
|
323
329
|
@RecommendedQuestions = recommendedquestions
|
330
|
+
@Processes = processes
|
324
331
|
@RequestId = requestid
|
325
332
|
end
|
326
333
|
|
@@ -358,6 +365,10 @@ module TencentCloud
|
|
358
365
|
end
|
359
366
|
end
|
360
367
|
@RecommendedQuestions = params['RecommendedQuestions']
|
368
|
+
unless params['Processes'].nil?
|
369
|
+
@Processes = Processes.new
|
370
|
+
@Processes.deserialize(params['Processes'])
|
371
|
+
end
|
361
372
|
@RequestId = params['RequestId']
|
362
373
|
end
|
363
374
|
end
|
@@ -1051,10 +1062,10 @@ module TencentCloud
|
|
1051
1062
|
|
1052
1063
|
attr_accessor :Data, :FirstID, :LastID, :HasMore, :Object, :FirstMsgID, :LastMsgID, :RequestId
|
1053
1064
|
extend Gem::Deprecate
|
1054
|
-
deprecate :FirstID, :none, 2025,
|
1055
|
-
deprecate :FirstID=, :none, 2025,
|
1056
|
-
deprecate :LastID, :none, 2025,
|
1057
|
-
deprecate :LastID=, :none, 2025,
|
1065
|
+
deprecate :FirstID, :none, 2025, 6
|
1066
|
+
deprecate :FirstID=, :none, 2025, 6
|
1067
|
+
deprecate :LastID, :none, 2025, 6
|
1068
|
+
deprecate :LastID=, :none, 2025, 6
|
1058
1069
|
|
1059
1070
|
def initialize(data=nil, firstid=nil, lastid=nil, hasmore=nil, object=nil, firstmsgid=nil, lastmsgid=nil, requestid=nil)
|
1060
1071
|
@Data = data
|
@@ -1891,6 +1902,32 @@ module TencentCloud
|
|
1891
1902
|
end
|
1892
1903
|
end
|
1893
1904
|
|
1905
|
+
# 大模型执行状态
|
1906
|
+
class Processes < TencentCloud::Common::AbstractModel
|
1907
|
+
# @param Message: 输出信息
|
1908
|
+
# @type Message: String
|
1909
|
+
# @param State: plan:开始获取资料…
|
1910
|
+
# recall:找到 n 篇相关资料
|
1911
|
+
# quote:引用 n 篇资料作为参考
|
1912
|
+
# @type State: String
|
1913
|
+
# @param Num: 当状态是recall和quote,会给出来相关数量
|
1914
|
+
# @type Num: Integer
|
1915
|
+
|
1916
|
+
attr_accessor :Message, :State, :Num
|
1917
|
+
|
1918
|
+
def initialize(message=nil, state=nil, num=nil)
|
1919
|
+
@Message = message
|
1920
|
+
@State = state
|
1921
|
+
@Num = num
|
1922
|
+
end
|
1923
|
+
|
1924
|
+
def deserialize(params)
|
1925
|
+
@Message = params['Message']
|
1926
|
+
@State = params['State']
|
1927
|
+
@Num = params['Num']
|
1928
|
+
end
|
1929
|
+
end
|
1930
|
+
|
1894
1931
|
# QueryHunyuanImageChatJob请求参数结构体
|
1895
1932
|
class QueryHunyuanImageChatJobRequest < TencentCloud::Common::AbstractModel
|
1896
1933
|
# @param JobId: 任务 ID。
|
@@ -3164,12 +3201,15 @@ module TencentCloud
|
|
3164
3201
|
# @type Knowledge: Array
|
3165
3202
|
# @param UserLocation: 用户位置详细信息
|
3166
3203
|
# @type UserLocation: :class:`Tencentcloud::Hunyuan.v20230901.models.UserLocation`
|
3204
|
+
# @param Processes: 打开开关,会返回搜索状态
|
3205
|
+
# @type Processes: Boolean
|
3167
3206
|
|
3168
|
-
attr_accessor :Knowledge, :UserLocation
|
3207
|
+
attr_accessor :Knowledge, :UserLocation, :Processes
|
3169
3208
|
|
3170
|
-
def initialize(knowledge=nil, userlocation=nil)
|
3209
|
+
def initialize(knowledge=nil, userlocation=nil, processes=nil)
|
3171
3210
|
@Knowledge = knowledge
|
3172
3211
|
@UserLocation = userlocation
|
3212
|
+
@Processes = processes
|
3173
3213
|
end
|
3174
3214
|
|
3175
3215
|
def deserialize(params)
|
@@ -3185,6 +3225,7 @@ module TencentCloud
|
|
3185
3225
|
@UserLocation = UserLocation.new
|
3186
3226
|
@UserLocation.deserialize(params['UserLocation'])
|
3187
3227
|
end
|
3228
|
+
@Processes = params['Processes']
|
3188
3229
|
end
|
3189
3230
|
end
|
3190
3231
|
|
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.1082
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|