tencentcloud-sdk-asr 3.0.1201 → 3.0.1214
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190614/models.rb +56 -44
- 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: 6a18409b78dd8081c40605cba5a0ef19da841b1c
|
|
4
|
+
data.tar.gz: 18cdaed4de83ac5ee2480c3721a94dfcc513dc51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2af6a316633471d6da0eadb503c0588100ac007712bbf373bb409400a0455b7e47404335881476fcc5e0dd032210755424a3d7583911b4069557723d767191b
|
|
7
|
+
data.tar.gz: a4d89199eae34cfc79f4d9f159bf32fb9a48032af17c3ccf311ad9d17bf99a5ce039535f2fdbb11bcd2656470a7714c5e13f9feaa9af84e8580a43a5e68eba3d
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1214
|
data/lib/v20190614/models.rb
CHANGED
|
@@ -304,8 +304,8 @@ module TencentCloud
|
|
|
304
304
|
|
|
305
305
|
attr_accessor :ModelName, :TextUrl, :ModelType, :TagInfos
|
|
306
306
|
extend Gem::Deprecate
|
|
307
|
-
deprecate :TagInfos, :none, 2026,
|
|
308
|
-
deprecate :TagInfos=, :none, 2026,
|
|
307
|
+
deprecate :TagInfos, :none, 2026, 2
|
|
308
|
+
deprecate :TagInfos=, :none, 2026, 2
|
|
309
309
|
|
|
310
310
|
def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
|
|
311
311
|
@ModelName = modelname
|
|
@@ -548,8 +548,8 @@ module TencentCloud
|
|
|
548
548
|
|
|
549
549
|
attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :Data, :DataLen, :Url, :CallbackUrl, :SpeakerDiarization, :SpeakerNumber, :HotwordId, :ReinforceHotword, :CustomizationId, :EmotionRecognition, :EmotionalEnergy, :ConvertNumMode, :FilterDirty, :FilterPunc, :FilterModal, :SentenceMaxLength, :Extra, :HotwordList, :KeyWordLibIdList, :ReplaceTextId, :SpeakerRoles
|
|
550
550
|
extend Gem::Deprecate
|
|
551
|
-
deprecate :ReinforceHotword, :none, 2026,
|
|
552
|
-
deprecate :ReinforceHotword=, :none, 2026,
|
|
551
|
+
deprecate :ReinforceHotword, :none, 2026, 2
|
|
552
|
+
deprecate :ReinforceHotword=, :none, 2026, 2
|
|
553
553
|
|
|
554
554
|
def initialize(enginemodeltype=nil, channelnum=nil, restextformat=nil, sourcetype=nil, data=nil, datalen=nil, url=nil, callbackurl=nil, speakerdiarization=nil, speakernumber=nil, hotwordid=nil, reinforcehotword=nil, customizationid=nil, emotionrecognition=nil, emotionalenergy=nil, convertnummode=nil, filterdirty=nil, filterpunc=nil, filtermodal=nil, sentencemaxlength=nil, extra=nil, hotwordlist=nil, keywordlibidlist=nil, replacetextid=nil, speakerroles=nil)
|
|
555
555
|
@EngineModelType = enginemodeltype
|
|
@@ -948,8 +948,8 @@ module TencentCloud
|
|
|
948
948
|
|
|
949
949
|
attr_accessor :TagInfos, :Offset, :Limit
|
|
950
950
|
extend Gem::Deprecate
|
|
951
|
-
deprecate :TagInfos, :none, 2026,
|
|
952
|
-
deprecate :TagInfos=, :none, 2026,
|
|
951
|
+
deprecate :TagInfos, :none, 2026, 2
|
|
952
|
+
deprecate :TagInfos=, :none, 2026, 2
|
|
953
953
|
|
|
954
954
|
def initialize(taginfos=nil, offset=nil, limit=nil)
|
|
955
955
|
@TagInfos = taginfos
|
|
@@ -1073,8 +1073,8 @@ module TencentCloud
|
|
|
1073
1073
|
|
|
1074
1074
|
attr_accessor :TagInfos, :Limit, :Offset
|
|
1075
1075
|
extend Gem::Deprecate
|
|
1076
|
-
deprecate :TagInfos, :none, 2026,
|
|
1077
|
-
deprecate :TagInfos=, :none, 2026,
|
|
1076
|
+
deprecate :TagInfos, :none, 2026, 2
|
|
1077
|
+
deprecate :TagInfos=, :none, 2026, 2
|
|
1078
1078
|
|
|
1079
1079
|
def initialize(taginfos=nil, limit=nil, offset=nil)
|
|
1080
1080
|
@TagInfos = taginfos
|
|
@@ -1374,8 +1374,8 @@ module TencentCloud
|
|
|
1374
1374
|
|
|
1375
1375
|
attr_accessor :ModelName, :DictName, :ModelId, :ModelType, :ServiceType, :ModelState, :AtUpdated, :TagInfos
|
|
1376
1376
|
extend Gem::Deprecate
|
|
1377
|
-
deprecate :TagInfos, :none, 2026,
|
|
1378
|
-
deprecate :TagInfos=, :none, 2026,
|
|
1377
|
+
deprecate :TagInfos, :none, 2026, 2
|
|
1378
|
+
deprecate :TagInfos=, :none, 2026, 2
|
|
1379
1379
|
|
|
1380
1380
|
def initialize(modelname=nil, dictname=nil, modelid=nil, modeltype=nil, servicetype=nil, modelstate=nil, atupdated=nil, taginfos=nil)
|
|
1381
1381
|
@ModelName = modelname
|
|
@@ -1657,14 +1657,14 @@ module TencentCloud
|
|
|
1657
1657
|
|
|
1658
1658
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate, :ReplaceTextId
|
|
1659
1659
|
extend Gem::Deprecate
|
|
1660
|
-
deprecate :ProjectId, :none, 2026,
|
|
1661
|
-
deprecate :ProjectId=, :none, 2026,
|
|
1662
|
-
deprecate :SubServiceType, :none, 2026,
|
|
1663
|
-
deprecate :SubServiceType=, :none, 2026,
|
|
1664
|
-
deprecate :UsrAudioKey, :none, 2026,
|
|
1665
|
-
deprecate :UsrAudioKey=, :none, 2026,
|
|
1666
|
-
deprecate :ReinforceHotword, :none, 2026,
|
|
1667
|
-
deprecate :ReinforceHotword=, :none, 2026,
|
|
1660
|
+
deprecate :ProjectId, :none, 2026, 2
|
|
1661
|
+
deprecate :ProjectId=, :none, 2026, 2
|
|
1662
|
+
deprecate :SubServiceType, :none, 2026, 2
|
|
1663
|
+
deprecate :SubServiceType=, :none, 2026, 2
|
|
1664
|
+
deprecate :UsrAudioKey, :none, 2026, 2
|
|
1665
|
+
deprecate :UsrAudioKey=, :none, 2026, 2
|
|
1666
|
+
deprecate :ReinforceHotword, :none, 2026, 2
|
|
1667
|
+
deprecate :ReinforceHotword=, :none, 2026, 2
|
|
1668
1668
|
|
|
1669
1669
|
def initialize(engservicetype=nil, sourcetype=nil, voiceformat=nil, projectid=nil, subservicetype=nil, url=nil, usraudiokey=nil, data=nil, datalen=nil, wordinfo=nil, filterdirty=nil, filtermodal=nil, filterpunc=nil, convertnummode=nil, hotwordid=nil, customizationid=nil, reinforcehotword=nil, hotwordlist=nil, inputsamplerate=nil, replacetextid=nil)
|
|
1670
1670
|
@EngSerViceType = engservicetype
|
|
@@ -2420,25 +2420,28 @@ module TencentCloud
|
|
|
2420
2420
|
|
|
2421
2421
|
# VoicePrintEnroll请求参数结构体
|
|
2422
2422
|
class VoicePrintEnrollRequest < TencentCloud::Common::AbstractModel
|
|
2423
|
-
# @param VoiceFormat:
|
|
2423
|
+
# @param VoiceFormat: <p>音频格式 0: pcm, 1: wav</p>
|
|
2424
2424
|
# @type VoiceFormat: Integer
|
|
2425
|
-
# @param SampleRate:
|
|
2425
|
+
# @param SampleRate: <p>音频采样率,目前支持16000,单位:Hz,必填</p>
|
|
2426
2426
|
# @type SampleRate: Integer
|
|
2427
|
-
# @param Data:
|
|
2427
|
+
# @param Data: <p>音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M</p>
|
|
2428
2428
|
# @type Data: String
|
|
2429
|
-
# @param SpeakerNick:
|
|
2429
|
+
# @param SpeakerNick: <p>说话人昵称 不超过32字节</p>
|
|
2430
2430
|
# @type SpeakerNick: String
|
|
2431
|
-
# @param GroupId:
|
|
2431
|
+
# @param GroupId: <p>分组id, 仅支持大小写字母和下划线的组合,不超过128个字符</p>
|
|
2432
2432
|
# @type GroupId: String
|
|
2433
|
+
# @param AudioUrl: <p>声纹cos url 注意:仅支持腾讯云cos url 地址</p>
|
|
2434
|
+
# @type AudioUrl: String
|
|
2433
2435
|
|
|
2434
|
-
attr_accessor :VoiceFormat, :SampleRate, :Data, :SpeakerNick, :GroupId
|
|
2436
|
+
attr_accessor :VoiceFormat, :SampleRate, :Data, :SpeakerNick, :GroupId, :AudioUrl
|
|
2435
2437
|
|
|
2436
|
-
def initialize(voiceformat=nil, samplerate=nil, data=nil, speakernick=nil, groupid=nil)
|
|
2438
|
+
def initialize(voiceformat=nil, samplerate=nil, data=nil, speakernick=nil, groupid=nil, audiourl=nil)
|
|
2437
2439
|
@VoiceFormat = voiceformat
|
|
2438
2440
|
@SampleRate = samplerate
|
|
2439
2441
|
@Data = data
|
|
2440
2442
|
@SpeakerNick = speakernick
|
|
2441
2443
|
@GroupId = groupid
|
|
2444
|
+
@AudioUrl = audiourl
|
|
2442
2445
|
end
|
|
2443
2446
|
|
|
2444
2447
|
def deserialize(params)
|
|
@@ -2447,12 +2450,13 @@ module TencentCloud
|
|
|
2447
2450
|
@Data = params['Data']
|
|
2448
2451
|
@SpeakerNick = params['SpeakerNick']
|
|
2449
2452
|
@GroupId = params['GroupId']
|
|
2453
|
+
@AudioUrl = params['AudioUrl']
|
|
2450
2454
|
end
|
|
2451
2455
|
end
|
|
2452
2456
|
|
|
2453
2457
|
# VoicePrintEnroll返回参数结构体
|
|
2454
2458
|
class VoicePrintEnrollResponse < TencentCloud::Common::AbstractModel
|
|
2455
|
-
# @param Data:
|
|
2459
|
+
# @param Data: <p>说话人基本数据</p>
|
|
2456
2460
|
# @type Data: :class:`Tencentcloud::Asr.v20190614.models.VoicePrintBaseData`
|
|
2457
2461
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2458
2462
|
# @type RequestId: String
|
|
@@ -2530,25 +2534,28 @@ module TencentCloud
|
|
|
2530
2534
|
|
|
2531
2535
|
# VoicePrintUpdate请求参数结构体
|
|
2532
2536
|
class VoicePrintUpdateRequest < TencentCloud::Common::AbstractModel
|
|
2533
|
-
# @param VoiceFormat:
|
|
2537
|
+
# @param VoiceFormat: <p>音频格式 0: pcm, 1: wav</p>
|
|
2534
2538
|
# @type VoiceFormat: Integer
|
|
2535
|
-
# @param SampleRate:
|
|
2539
|
+
# @param SampleRate: <p>音频采样率 目前仅支持16000 单位Hz</p>
|
|
2536
2540
|
# @type SampleRate: Integer
|
|
2537
|
-
# @param VoicePrintId:
|
|
2541
|
+
# @param VoicePrintId: <p>说话人id, 说话人唯一标识</p>
|
|
2538
2542
|
# @type VoicePrintId: String
|
|
2539
|
-
# @param Data:
|
|
2543
|
+
# @param Data: <p>音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M</p>
|
|
2540
2544
|
# @type Data: String
|
|
2541
|
-
# @param SpeakerNick:
|
|
2545
|
+
# @param SpeakerNick: <p>说话人昵称 不超过32字节</p>
|
|
2542
2546
|
# @type SpeakerNick: String
|
|
2547
|
+
# @param AudioUrl: <p>声纹cos url 注意:仅支持腾讯云cos url 地址</p>
|
|
2548
|
+
# @type AudioUrl: String
|
|
2543
2549
|
|
|
2544
|
-
attr_accessor :VoiceFormat, :SampleRate, :VoicePrintId, :Data, :SpeakerNick
|
|
2550
|
+
attr_accessor :VoiceFormat, :SampleRate, :VoicePrintId, :Data, :SpeakerNick, :AudioUrl
|
|
2545
2551
|
|
|
2546
|
-
def initialize(voiceformat=nil, samplerate=nil, voiceprintid=nil, data=nil, speakernick=nil)
|
|
2552
|
+
def initialize(voiceformat=nil, samplerate=nil, voiceprintid=nil, data=nil, speakernick=nil, audiourl=nil)
|
|
2547
2553
|
@VoiceFormat = voiceformat
|
|
2548
2554
|
@SampleRate = samplerate
|
|
2549
2555
|
@VoicePrintId = voiceprintid
|
|
2550
2556
|
@Data = data
|
|
2551
2557
|
@SpeakerNick = speakernick
|
|
2558
|
+
@AudioUrl = audiourl
|
|
2552
2559
|
end
|
|
2553
2560
|
|
|
2554
2561
|
def deserialize(params)
|
|
@@ -2557,12 +2564,13 @@ module TencentCloud
|
|
|
2557
2564
|
@VoicePrintId = params['VoicePrintId']
|
|
2558
2565
|
@Data = params['Data']
|
|
2559
2566
|
@SpeakerNick = params['SpeakerNick']
|
|
2567
|
+
@AudioUrl = params['AudioUrl']
|
|
2560
2568
|
end
|
|
2561
2569
|
end
|
|
2562
2570
|
|
|
2563
2571
|
# VoicePrintUpdate返回参数结构体
|
|
2564
2572
|
class VoicePrintUpdateResponse < TencentCloud::Common::AbstractModel
|
|
2565
|
-
# @param Data:
|
|
2573
|
+
# @param Data: <p>说话人基础数据</p>
|
|
2566
2574
|
# @type Data: :class:`Tencentcloud::Asr.v20190614.models.VoicePrintBaseData`
|
|
2567
2575
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2568
2576
|
# @type RequestId: String
|
|
@@ -2612,35 +2620,39 @@ module TencentCloud
|
|
|
2612
2620
|
|
|
2613
2621
|
# VoicePrintVerify请求参数结构体
|
|
2614
2622
|
class VoicePrintVerifyRequest < TencentCloud::Common::AbstractModel
|
|
2615
|
-
# @param VoiceFormat:
|
|
2623
|
+
# @param VoiceFormat: <p>音频格式 0: pcm, 1: wav</p>
|
|
2616
2624
|
# @type VoiceFormat: Integer
|
|
2617
|
-
# @param SampleRate:
|
|
2625
|
+
# @param SampleRate: <p>音频采样率,目前支持16000,单位:Hz,必填</p>
|
|
2618
2626
|
# @type SampleRate: Integer
|
|
2619
|
-
# @param
|
|
2620
|
-
# @type Data: String
|
|
2621
|
-
# @param VoicePrintId: 说话人id, 说话人唯一标识
|
|
2627
|
+
# @param VoicePrintId: <p>说话人id, 说话人唯一标识</p>
|
|
2622
2628
|
# @type VoicePrintId: String
|
|
2629
|
+
# @param Data: <p>音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M</p>
|
|
2630
|
+
# @type Data: String
|
|
2631
|
+
# @param AudioUrl: <p>声纹cos url 注意:仅支持腾讯云cos url 地址</p>
|
|
2632
|
+
# @type AudioUrl: String
|
|
2623
2633
|
|
|
2624
|
-
attr_accessor :VoiceFormat, :SampleRate, :Data, :
|
|
2634
|
+
attr_accessor :VoiceFormat, :SampleRate, :VoicePrintId, :Data, :AudioUrl
|
|
2625
2635
|
|
|
2626
|
-
def initialize(voiceformat=nil, samplerate=nil, data=nil,
|
|
2636
|
+
def initialize(voiceformat=nil, samplerate=nil, voiceprintid=nil, data=nil, audiourl=nil)
|
|
2627
2637
|
@VoiceFormat = voiceformat
|
|
2628
2638
|
@SampleRate = samplerate
|
|
2629
|
-
@Data = data
|
|
2630
2639
|
@VoicePrintId = voiceprintid
|
|
2640
|
+
@Data = data
|
|
2641
|
+
@AudioUrl = audiourl
|
|
2631
2642
|
end
|
|
2632
2643
|
|
|
2633
2644
|
def deserialize(params)
|
|
2634
2645
|
@VoiceFormat = params['VoiceFormat']
|
|
2635
2646
|
@SampleRate = params['SampleRate']
|
|
2636
|
-
@Data = params['Data']
|
|
2637
2647
|
@VoicePrintId = params['VoicePrintId']
|
|
2648
|
+
@Data = params['Data']
|
|
2649
|
+
@AudioUrl = params['AudioUrl']
|
|
2638
2650
|
end
|
|
2639
2651
|
end
|
|
2640
2652
|
|
|
2641
2653
|
# VoicePrintVerify返回参数结构体
|
|
2642
2654
|
class VoicePrintVerifyResponse < TencentCloud::Common::AbstractModel
|
|
2643
|
-
# @param Data:
|
|
2655
|
+
# @param Data: <p>说话人验证数据</p>
|
|
2644
2656
|
# @type Data: :class:`Tencentcloud::Asr.v20190614.models.VoicePrintVerifyData`
|
|
2645
2657
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2646
2658
|
# @type RequestId: String
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-asr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1214
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|