tencentcloud-sdk-hunyuan 3.0.876 → 3.0.877
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: 10560eef275c37ad333d44cefa7514c75894b5ba
|
4
|
+
data.tar.gz: 22ea06e74a2adcdfa299e936297d69c23f3b5a8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6ec0a3d5289b559816cc2e1d341a17cd50287da62853670b9721cdffee4d39688290d5ad6ec683b0a523eed70ec65db53d16e197f5b1ee768b096e50629fdeb
|
7
|
+
data.tar.gz: 64cd26223cdfe8999ac19004155d27731eef163d527e2ba54b80b514339afe37c3a80223f3d02254c1e855d2d0b71e9cef74a22e8a457e3f3d2b4578159de77a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.877
|
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.877
|
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-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|