tencentcloud-sdk-hunyuan 3.0.985 → 3.0.987
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 +9 -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: 9df9f5272c0e096c2b26339a18cf4b20777de00a
|
4
|
+
data.tar.gz: 4302a9c5db892cf013f4c525468be49b4f5df338
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b3efe61bb61bef24beaf8a9575b2de4febd1c6d3e092dda7f1eab415f42419aea3ccaf76d467c0438d917e0b4a85973fad803979668f9bf47f7f6e0562725dd
|
7
|
+
data.tar.gz: ff6184cbf55616f6c98fc010ba4ea787a66d8e10b20d77e6324cb8677b781a3c41b7756f4cfadccfd59948758b3ef9b76f7ac8487704e3ebc08d363cbb2d735d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.987
|
data/lib/v20230901/models.rb
CHANGED
@@ -250,6 +250,9 @@ module TencentCloud
|
|
250
250
|
# @type RequestId: String
|
251
251
|
|
252
252
|
attr_accessor :Created, :Usage, :Note, :Id, :Choices, :ErrorMsg, :ModerationLevel, :SearchInfo, :Replaces, :RecommendedQuestions, :RequestId
|
253
|
+
extend Gem::Deprecate
|
254
|
+
deprecate :ModerationLevel, :none, 2025, 1
|
255
|
+
deprecate :ModerationLevel=, :none, 2025, 1
|
253
256
|
|
254
257
|
def initialize(created=nil, usage=nil, note=nil, id=nil, choices=nil, errormsg=nil, moderationlevel=nil, searchinfo=nil, replaces=nil, recommendedquestions=nil, requestid=nil)
|
255
258
|
@Created = created
|
@@ -436,14 +439,17 @@ module TencentCloud
|
|
436
439
|
# @type Message: :class:`Tencentcloud::Hunyuan.v20230901.models.Message`
|
437
440
|
# @param Index: 索引值,流式调用时使用该字段。
|
438
441
|
# @type Index: Integer
|
442
|
+
# @param ModerationLevel: 多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
|
443
|
+
# @type ModerationLevel: String
|
439
444
|
|
440
|
-
attr_accessor :FinishReason, :Delta, :Message, :Index
|
445
|
+
attr_accessor :FinishReason, :Delta, :Message, :Index, :ModerationLevel
|
441
446
|
|
442
|
-
def initialize(finishreason=nil, delta=nil, message=nil, index=nil)
|
447
|
+
def initialize(finishreason=nil, delta=nil, message=nil, index=nil, moderationlevel=nil)
|
443
448
|
@FinishReason = finishreason
|
444
449
|
@Delta = delta
|
445
450
|
@Message = message
|
446
451
|
@Index = index
|
452
|
+
@ModerationLevel = moderationlevel
|
447
453
|
end
|
448
454
|
|
449
455
|
def deserialize(params)
|
@@ -457,6 +463,7 @@ module TencentCloud
|
|
457
463
|
@Message.deserialize(params['Message'])
|
458
464
|
end
|
459
465
|
@Index = params['Index']
|
466
|
+
@ModerationLevel = params['ModerationLevel']
|
460
467
|
end
|
461
468
|
end
|
462
469
|
|
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.987
|
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-01-
|
11
|
+
date: 2025-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|