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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afd2d59ffa864e6a5e5e2a6b16ef35b30b29ab33
4
- data.tar.gz: da7c8d1c6dd7784982458558407cd32f45d15faf
3
+ metadata.gz: 9df9f5272c0e096c2b26339a18cf4b20777de00a
4
+ data.tar.gz: 4302a9c5db892cf013f4c525468be49b4f5df338
5
5
  SHA512:
6
- metadata.gz: 0d3181a9915e1781e01d5a742f7334aa2834d7b84b46d5332fba965d9d362bac897fc9218f2afd14dc5c257a341e4489394a122ece9724d84fe65f80fa03b77b
7
- data.tar.gz: 203e06dc4fc85ebac4e68f2bf6a6015f61dda29173503cd6d4d2f331e5f85fc3d6c2f66b03f3db71b89b1e42e09465ae08b7fd5c6112fd250a4665acf6ea9db8
6
+ metadata.gz: 9b3efe61bb61bef24beaf8a9575b2de4febd1c6d3e092dda7f1eab415f42419aea3ccaf76d467c0438d917e0b4a85973fad803979668f9bf47f7f6e0562725dd
7
+ data.tar.gz: ff6184cbf55616f6c98fc010ba4ea787a66d8e10b20d77e6324cb8677b781a3c41b7756f4cfadccfd59948758b3ef9b76f7ac8487704e3ebc08d363cbb2d735d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.985
1
+ 3.0.987
@@ -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.985
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-19 00:00:00.000000000 Z
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