tencentcloud-sdk-hunyuan 3.0.876 → 3.0.878
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 +11 -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: 2e87034b18ea56c272ece89942a7ab05c165e428
|
4
|
+
data.tar.gz: bc023e59b943ae0b22e3ccffa3c73ba0e3646f14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e63935838c729d139f5a04a1bd71673f5c334d4ca0b4139048ea705c2d88681777ddada4105d8a6adcd91737dcbfa99cfe7447a00b8cc0ddd5dba4788c3b019
|
7
|
+
data.tar.gz: 0e46d646e59691150cde9086e3edf04172004950d5bb194c3093281792c0ca39c920c122f3a1db116cb269ad515be952e0c2d4bd646be9f731957a56bf349cba
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.878
|
data/lib/v20230901/models.rb
CHANGED
@@ -83,10 +83,16 @@ module TencentCloud
|
|
83
83
|
# @type CustomTool: :class:`Tencentcloud::Hunyuan.v20230901.models.Tool`
|
84
84
|
# @param SearchInfo: 默认是false,在值为true且命中搜索时,接口会返回SearchInfo
|
85
85
|
# @type SearchInfo: Boolean
|
86
|
+
# @param Citation: 搜索引文角标开关。
|
87
|
+
# 说明:
|
88
|
+
# 1. 配合EnableEnhancement和SearchInfo参数使用。打开后,回答中命中搜索的结果会在片段后增加角标标志,对应SearchInfo列表中的链接。
|
89
|
+
# 2. false:开关关闭,true:开关打开。
|
90
|
+
# 3. 未传值时默认开关关闭(false)。
|
91
|
+
# @type Citation: Boolean
|
86
92
|
|
87
|
-
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo
|
93
|
+
attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation
|
88
94
|
|
89
|
-
def initialize(model=nil, messages=nil, stream=nil, streammoderation=nil, topp=nil, temperature=nil, enableenhancement=nil, tools=nil, toolchoice=nil, customtool=nil, searchinfo=nil)
|
95
|
+
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)
|
90
96
|
@Model = model
|
91
97
|
@Messages = messages
|
92
98
|
@Stream = stream
|
@@ -98,6 +104,7 @@ module TencentCloud
|
|
98
104
|
@ToolChoice = toolchoice
|
99
105
|
@CustomTool = customtool
|
100
106
|
@SearchInfo = searchinfo
|
107
|
+
@Citation = citation
|
101
108
|
end
|
102
109
|
|
103
110
|
def deserialize(params)
|
@@ -129,6 +136,7 @@ module TencentCloud
|
|
129
136
|
@CustomTool.deserialize(params['CustomTool'])
|
130
137
|
end
|
131
138
|
@SearchInfo = params['SearchInfo']
|
139
|
+
@Citation = params['Citation']
|
132
140
|
end
|
133
141
|
end
|
134
142
|
|
@@ -141,7 +149,7 @@ module TencentCloud
|
|
141
149
|
# @type Usage: :class:`Tencentcloud::Hunyuan.v20230901.models.Usage`
|
142
150
|
# @param Note: 免责声明。
|
143
151
|
# @type Note: String
|
144
|
-
# @param Id:
|
152
|
+
# @param Id: 本次请求的 RequestId。
|
145
153
|
# @type Id: String
|
146
154
|
# @param Choices: 回复内容。
|
147
155
|
# @type Choices: Array
|
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.878
|
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
|
+
date: 2024-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|