tencentcloud-sdk-hunyuan 3.0.865 → 3.0.866
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 +6 -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: 2214f750dbd5a981a233b8484dec0fe14c077867
|
4
|
+
data.tar.gz: eceb8b5ea390c7bccd6de3b7b62a43ad6c663f53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3438a49d31b6d333a79645d7f795f0b93d0614484b6c14ae15fff125b2e955d0e50bf4ea6efdabd5c640a75ccb33632c766d13b1642bfeacf404eaf9d71fac84
|
7
|
+
data.tar.gz: e5118b5b3c3578a230c90d521db458f1266a2495810bad48505af467887f322a4020720fe964dfc244b4a99da9670210183c040ca15433f8710572ab433859c2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.866
|
data/lib/v20230901/models.rb
CHANGED
@@ -145,18 +145,21 @@ module TencentCloud
|
|
145
145
|
# 如果流式返回中服务处理异常,返回该错误信息。
|
146
146
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
147
147
|
# @type ErrorMsg: :class:`Tencentcloud::Hunyuan.v20230901.models.ErrorMsg`
|
148
|
+
# @param ModerationLevel: 多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
|
149
|
+
# @type ModerationLevel: String
|
148
150
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
149
151
|
# @type RequestId: String
|
150
152
|
|
151
|
-
attr_accessor :Created, :Usage, :Note, :Id, :Choices, :ErrorMsg, :RequestId
|
153
|
+
attr_accessor :Created, :Usage, :Note, :Id, :Choices, :ErrorMsg, :ModerationLevel, :RequestId
|
152
154
|
|
153
|
-
def initialize(created=nil, usage=nil, note=nil, id=nil, choices=nil, errormsg=nil, requestid=nil)
|
155
|
+
def initialize(created=nil, usage=nil, note=nil, id=nil, choices=nil, errormsg=nil, moderationlevel=nil, requestid=nil)
|
154
156
|
@Created = created
|
155
157
|
@Usage = usage
|
156
158
|
@Note = note
|
157
159
|
@Id = id
|
158
160
|
@Choices = choices
|
159
161
|
@ErrorMsg = errormsg
|
162
|
+
@ModerationLevel = moderationlevel
|
160
163
|
@RequestId = requestid
|
161
164
|
end
|
162
165
|
|
@@ -180,6 +183,7 @@ module TencentCloud
|
|
180
183
|
@ErrorMsg = ErrorMsg.new
|
181
184
|
@ErrorMsg.deserialize(params['ErrorMsg'])
|
182
185
|
end
|
186
|
+
@ModerationLevel = params['ModerationLevel']
|
183
187
|
@RequestId = params['RequestId']
|
184
188
|
end
|
185
189
|
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.866
|
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-07-
|
11
|
+
date: 2024-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|