tencentcloud-sdk-hunyuan 3.0.885 → 3.0.886
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 +6 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4af27758cafc753a0245da8509b13962fb5e20b8
|
4
|
+
data.tar.gz: cf5bb994431a48206f2149bf008e513705558cfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 501770600e108983a4c35ab1b622ef577acbc67510329b488d11a24236f3614c75db97eeec849caec8c002ae9ac291cb2f37d38804524fa390cb806b99e0ecae
|
7
|
+
data.tar.gz: 31af8d6d4deac4fbf4620e18afad538a98ae3f5c44b07574c740c4bac86d5a255ba63658d132a1bfac33570cdbc69d0ea2a099efd4cd17dfc6d07c1ed868578f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.886
|
data/lib/v20230901/models.rb
CHANGED
@@ -119,10 +119,12 @@ module TencentCloud
|
|
119
119
|
# 2. false:开关关闭,true:开关打开。
|
120
120
|
# 3. 未传值时默认开关关闭(false)。
|
121
121
|
# @type Citation: Boolean
|
122
|
+
# @param EnableSpeedSearch: 是否开启极速版搜索,默认false,不开启;在开启且命中搜索时,会启用极速版搜索,流式输出首字返回更快。
|
123
|
+
# @type EnableSpeedSearch: Boolean
|
122
124
|
|
123
|
-
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation
|
125
|
+
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation, :EnableSpeedSearch
|
124
126
|
|
125
|
-
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)
|
127
|
+
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)
|
126
128
|
@Model = model
|
127
129
|
@Messages = messages
|
128
130
|
@Stream = stream
|
@@ -135,6 +137,7 @@ module TencentCloud
|
|
135
137
|
@CustomTool = customtool
|
136
138
|
@SearchInfo = searchinfo
|
137
139
|
@Citation = citation
|
140
|
+
@EnableSpeedSearch = enablespeedsearch
|
138
141
|
end
|
139
142
|
|
140
143
|
def deserialize(params)
|
@@ -167,6 +170,7 @@ module TencentCloud
|
|
167
170
|
end
|
168
171
|
@SearchInfo = params['SearchInfo']
|
169
172
|
@Citation = params['Citation']
|
173
|
+
@EnableSpeedSearch = params['EnableSpeedSearch']
|
170
174
|
end
|
171
175
|
end
|
172
176
|
|