tencentcloud-sdk-ccc 3.0.1104 → 3.0.1105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200210/models.rb +65 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4b393f1439711d410c4a8a5caa6b63023a4b117
4
- data.tar.gz: 1574310e69f00a08ac2a589ab862be32978ec79c
3
+ metadata.gz: ae4edd4934cc48a4b03ff50824d8d41c77d5d4b7
4
+ data.tar.gz: dbde049615b638151b2bce10e0fb43e6549c9890
5
5
  SHA512:
6
- metadata.gz: a4c5b3d453a0ab82096fbccd52d597e76030bfa9df24d38efe90728a70cade8bec6d9b667405c1b7d9bb03a0c8df166078fb4de90ef774547998a3e793a14deb
7
- data.tar.gz: 39731af98fcd90bf1c525f5d2bd629056d727eb1a6ab12f15a78840d507fa59826ad0cf5f2857c23c5356cfa341ab6beeddfb1d054ce9f1a02ef04002a79a964
6
+ metadata.gz: 446b62fdbe8b56d6ca74c53520ba99d1932052edf69e4561dec8c72039e97925dc85163fd87c47f52d887b80505fecdfb4cbeab37f1a723a915c7ae2890b062c
7
+ data.tar.gz: 1684d65dbdf1ac823c4459b19ebb10e6dc9a2ecb1372e427a5d26ed2e65be88eb40d00317e6d3f3bffbbaeefdc38a0ac12250d1708993137d953a0b23223160e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1104
1
+ 3.0.1105
@@ -1334,13 +1334,19 @@ module TencentCloud
1334
1334
  # 2. dify-inputs-user 为dify的user值
1335
1335
  # 3. dify-inputs-conversation_id 为dify的conversation_id值
1336
1336
  # @type Variables: Array
1337
-
1338
- attr_accessor :SdkAppId, :Callee, :LLMType, :APIKey, :APIUrl, :SystemPrompt, :Model, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :WelcomeMessagePriority, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :TransferFunctionEnable, :TransferItems, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig, :PromptVariables, :VadSilenceTime, :ExtractConfig, :Temperature, :Variables
1337
+ # @param TopP: 模型topP
1338
+ # @type TopP: Float
1339
+ # @param VadLevel: vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
1340
+ # @type VadLevel: Integer
1341
+ # @param ToneWord: 衔接语
1342
+ # @type ToneWord: :class:`Tencentcloud::Ccc.v20200210.models.ToneWordInfo`
1343
+
1344
+ attr_accessor :SdkAppId, :Callee, :LLMType, :APIKey, :APIUrl, :SystemPrompt, :Model, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :WelcomeMessagePriority, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :TransferFunctionEnable, :TransferItems, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig, :PromptVariables, :VadSilenceTime, :ExtractConfig, :Temperature, :Variables, :TopP, :VadLevel, :ToneWord
1339
1345
  extend Gem::Deprecate
1340
1346
  deprecate :PromptVariables, :none, 2025, 7
1341
1347
  deprecate :PromptVariables=, :none, 2025, 7
1342
1348
 
1343
- def initialize(sdkappid=nil, callee=nil, llmtype=nil, apikey=nil, apiurl=nil, systemprompt=nil, model=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, welcomemessagepriority=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil, transferfunctionenable=nil, transferitems=nil, notifyduration=nil, notifymessage=nil, notifymaxcount=nil, customttsconfig=nil, promptvariables=nil, vadsilencetime=nil, extractconfig=nil, temperature=nil, variables=nil)
1349
+ def initialize(sdkappid=nil, callee=nil, llmtype=nil, apikey=nil, apiurl=nil, systemprompt=nil, model=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, welcomemessagepriority=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil, transferfunctionenable=nil, transferitems=nil, notifyduration=nil, notifymessage=nil, notifymaxcount=nil, customttsconfig=nil, promptvariables=nil, vadsilencetime=nil, extractconfig=nil, temperature=nil, variables=nil, topp=nil, vadlevel=nil, toneword=nil)
1344
1350
  @SdkAppId = sdkappid
1345
1351
  @Callee = callee
1346
1352
  @LLMType = llmtype
@@ -1370,6 +1376,9 @@ module TencentCloud
1370
1376
  @ExtractConfig = extractconfig
1371
1377
  @Temperature = temperature
1372
1378
  @Variables = variables
1379
+ @TopP = topp
1380
+ @VadLevel = vadlevel
1381
+ @ToneWord = toneword
1373
1382
  end
1374
1383
 
1375
1384
  def deserialize(params)
@@ -1430,6 +1439,12 @@ module TencentCloud
1430
1439
  @Variables << variable_tmp
1431
1440
  end
1432
1441
  end
1442
+ @TopP = params['TopP']
1443
+ @VadLevel = params['VadLevel']
1444
+ unless params['ToneWord'].nil?
1445
+ @ToneWord = ToneWordInfo.new
1446
+ @ToneWord.deserialize(params['ToneWord'])
1447
+ end
1433
1448
  end
1434
1449
  end
1435
1450
 
@@ -6471,6 +6486,29 @@ module TencentCloud
6471
6486
  end
6472
6487
  end
6473
6488
 
6489
+ # 承接语气词信息
6490
+ class ToneWordInfo < TencentCloud::Common::AbstractModel
6491
+ # @param FirstSentenceTimeout: 首句超时时间,单位秒
6492
+ # @type FirstSentenceTimeout: Float
6493
+ # @param ZHToneWords: 承接语气词
6494
+ # @type ZHToneWords: :class:`Tencentcloud::Ccc.v20200210.models.ZHToneWordsInfo`
6495
+
6496
+ attr_accessor :FirstSentenceTimeout, :ZHToneWords
6497
+
6498
+ def initialize(firstsentencetimeout=nil, zhtonewords=nil)
6499
+ @FirstSentenceTimeout = firstsentencetimeout
6500
+ @ZHToneWords = zhtonewords
6501
+ end
6502
+
6503
+ def deserialize(params)
6504
+ @FirstSentenceTimeout = params['FirstSentenceTimeout']
6505
+ unless params['ZHToneWords'].nil?
6506
+ @ZHToneWords = ZHToneWordsInfo.new
6507
+ @ZHToneWords.deserialize(params['ZHToneWords'])
6508
+ end
6509
+ end
6510
+ end
6511
+
6474
6512
  # TransferToManual请求参数结构体
6475
6513
  class TransferToManualRequest < TencentCloud::Common::AbstractModel
6476
6514
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -6874,6 +6912,30 @@ module TencentCloud
6874
6912
  end
6875
6913
  end
6876
6914
 
6915
+ # 承接语气词
6916
+ class ZHToneWordsInfo < TencentCloud::Common::AbstractModel
6917
+ # @param Neutral: 中性词列表
6918
+ # @type Neutral: Array
6919
+ # @param Positive: 正面词列表
6920
+ # @type Positive: Array
6921
+ # @param Negative: 负面词列表
6922
+ # @type Negative: Array
6923
+
6924
+ attr_accessor :Neutral, :Positive, :Negative
6925
+
6926
+ def initialize(neutral=nil, positive=nil, negative=nil)
6927
+ @Neutral = neutral
6928
+ @Positive = positive
6929
+ @Negative = negative
6930
+ end
6931
+
6932
+ def deserialize(params)
6933
+ @Neutral = params['Neutral']
6934
+ @Positive = params['Positive']
6935
+ @Negative = params['Negative']
6936
+ end
6937
+ end
6938
+
6877
6939
  end
6878
6940
  end
6879
6941
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ccc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1104
4
+ version: 3.0.1105
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-07-20 00:00:00.000000000 Z
11
+ date: 2025-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common