tencentcloud-sdk-trtc 3.0.1079 → 3.0.1082
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/v20190722/models.rb +43 -4
- 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: d06e7999f247c74c8a1b14a5a74dba3f53d3e5ba
|
4
|
+
data.tar.gz: ca9e245462755a48ee0b7618367b186ebf8c983b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbe193c54487ab4b40780a28b9c07097ca2c098b4f15ccebd73aed46f88bc869560c8be0897fb21ec1da0bcd656bb5f6eb4a490e8280bbe851ce5970dbbfec36
|
7
|
+
data.tar.gz: 9854eb30541d238f15a5e3eacc65191cb639828af1b6dfed99e2db9be09f692bfeadda5c181ad96fbd95ea97aed17f7ef66b94b09da80beed3d3cc8c4499dba4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1082
|
data/lib/v20190722/models.rb
CHANGED
@@ -112,10 +112,12 @@ module TencentCloud
|
|
112
112
|
# @type AmbientSound: :class:`Tencentcloud::Trtc.v20190722.models.AmbientSound`
|
113
113
|
# @param VoicePrint: 声纹配置
|
114
114
|
# @type VoicePrint: :class:`Tencentcloud::Trtc.v20190722.models.VoicePrint`
|
115
|
+
# @param TurnDetection: 语义断句检测
|
116
|
+
# @type TurnDetection: :class:`Tencentcloud::Trtc.v20190722.models.TurnDetection`
|
115
117
|
|
116
|
-
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration, :TurnDetectionMode, :FilterOneWord, :WelcomeMessagePriority, :FilterBracketsContent, :AmbientSound, :VoicePrint
|
118
|
+
attr_accessor :UserId, :UserSig, :TargetUserId, :MaxIdleTime, :WelcomeMessage, :InterruptMode, :InterruptSpeechDuration, :TurnDetectionMode, :FilterOneWord, :WelcomeMessagePriority, :FilterBracketsContent, :AmbientSound, :VoicePrint, :TurnDetection
|
117
119
|
|
118
|
-
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil, turndetectionmode=nil, filteroneword=nil, welcomemessagepriority=nil, filterbracketscontent=nil, ambientsound=nil, voiceprint=nil)
|
120
|
+
def initialize(userid=nil, usersig=nil, targetuserid=nil, maxidletime=nil, welcomemessage=nil, interruptmode=nil, interruptspeechduration=nil, turndetectionmode=nil, filteroneword=nil, welcomemessagepriority=nil, filterbracketscontent=nil, ambientsound=nil, voiceprint=nil, turndetection=nil)
|
119
121
|
@UserId = userid
|
120
122
|
@UserSig = usersig
|
121
123
|
@TargetUserId = targetuserid
|
@@ -129,6 +131,7 @@ module TencentCloud
|
|
129
131
|
@FilterBracketsContent = filterbracketscontent
|
130
132
|
@AmbientSound = ambientsound
|
131
133
|
@VoicePrint = voiceprint
|
134
|
+
@TurnDetection = turndetection
|
132
135
|
end
|
133
136
|
|
134
137
|
def deserialize(params)
|
@@ -151,6 +154,10 @@ module TencentCloud
|
|
151
154
|
@VoicePrint = VoicePrint.new
|
152
155
|
@VoicePrint.deserialize(params['VoicePrint'])
|
153
156
|
end
|
157
|
+
unless params['TurnDetection'].nil?
|
158
|
+
@TurnDetection = TurnDetection.new
|
159
|
+
@TurnDetection.deserialize(params['TurnDetection'])
|
160
|
+
end
|
154
161
|
end
|
155
162
|
end
|
156
163
|
|
@@ -4198,7 +4205,7 @@ module TencentCloud
|
|
4198
4205
|
|
4199
4206
|
# RegisterVoicePrint请求参数结构体
|
4200
4207
|
class RegisterVoicePrintRequest < TencentCloud::Common::AbstractModel
|
4201
|
-
# @param Audio: 整个wav音频文件的base64字符串,其中wav文件限定为16k
|
4208
|
+
# @param Audio: 整个wav音频文件的base64字符串,其中wav文件限定为16k采样率, 16bit位深, 单声道, 8到18秒音频时长,有效音频不小于6秒(不能有太多静音段),编码数据大小不超过2M
|
4202
4209
|
# @type Audio: String
|
4203
4210
|
# @param ReqTimestamp: 毫秒时间戳
|
4204
4211
|
# @type ReqTimestamp: Integer
|
@@ -5831,6 +5838,38 @@ module TencentCloud
|
|
5831
5838
|
end
|
5832
5839
|
end
|
5833
5840
|
|
5841
|
+
# 断句配置
|
5842
|
+
class TurnDetection < TencentCloud::Common::AbstractModel
|
5843
|
+
# @param SemanticEagerness: TurnDetectionMode为3时生效,语义断句的灵敏程度
|
5844
|
+
|
5845
|
+
|
5846
|
+
# 功能简介:根据用户所说的话来判断其已完成发言来分割音频
|
5847
|
+
|
5848
|
+
|
5849
|
+
# 可选: "low" | "medium" | "high" | "auto"
|
5850
|
+
|
5851
|
+
|
5852
|
+
# auto 是默认值,与 medium 相同。
|
5853
|
+
# low 将让用户有足够的时间说话。
|
5854
|
+
# high 将尽快对音频进行分块。
|
5855
|
+
|
5856
|
+
|
5857
|
+
# 如果您希望模型在对话模式下更频繁地响应,可以将 SemanticEagerness 设置为 high
|
5858
|
+
# 如果您希望在用户停顿时,AI能够等待片刻,可以将 SemanticEagerness 设置为 low
|
5859
|
+
# 无论什么模式,最终都会分割送个大模型进行回复
|
5860
|
+
# @type SemanticEagerness: String
|
5861
|
+
|
5862
|
+
attr_accessor :SemanticEagerness
|
5863
|
+
|
5864
|
+
def initialize(semanticeagerness=nil)
|
5865
|
+
@SemanticEagerness = semanticeagerness
|
5866
|
+
end
|
5867
|
+
|
5868
|
+
def deserialize(params)
|
5869
|
+
@SemanticEagerness = params['SemanticEagerness']
|
5870
|
+
end
|
5871
|
+
end
|
5872
|
+
|
5834
5873
|
# UpdateAIConversation请求参数结构体
|
5835
5874
|
class UpdateAIConversationRequest < TencentCloud::Common::AbstractModel
|
5836
5875
|
# @param TaskId: 唯一标识一个任务
|
@@ -6042,7 +6081,7 @@ module TencentCloud
|
|
6042
6081
|
# @type ReqTimestamp: Integer
|
6043
6082
|
# @param AudioFormat: 音频格式,目前只支持0,代表wav
|
6044
6083
|
# @type AudioFormat: Integer
|
6045
|
-
# @param Audio: 整个wav音频文件的base64字符串,其中wav文件限定为16k
|
6084
|
+
# @param Audio: 整个wav音频文件的base64字符串,其中wav文件限定为16k采样率, 16bit位深, 单声道, 8到18秒音频时长,有效音频不小于6秒(不能有太多静音段),编码数据大小不超过2M
|
6046
6085
|
# @type Audio: String
|
6047
6086
|
# @param AudioMetaInfo: 和声纹绑定的MetaInfo,长度最大不超过512
|
6048
6087
|
# @type AudioMetaInfo: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trtc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1082
|
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-06-
|
11
|
+
date: 2025-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|