tencentcloud-sdk-python-trtc 3.0.1408__tar.gz → 3.0.1416__tar.gz
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.
Potentially problematic release.
This version of tencentcloud-sdk-python-trtc might be problematic. Click here for more details.
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/setup.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud/trtc/v20190722/errorcodes.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud/trtc/v20190722/models.py +48 -1
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud/trtc/v20190722/trtc_client.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-trtc-3.0.1416/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-trtc-3.0.1408/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/README.rst +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/setup.cfg +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud/trtc/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud/trtc/v20190722/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1408 → tencentcloud-sdk-python-trtc-3.0.1416}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-trtc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1416"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Trtc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf8 -*-
|
|
2
|
-
# Copyright (c) 2017-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf8 -*-
|
|
2
|
-
# Copyright (c) 2017-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -11354,12 +11354,15 @@ class STTConfig(AbstractModel):
|
|
|
11354
11354
|
:type VadSilenceTime: int
|
|
11355
11355
|
:param _HotWordList: 热词表:该参数用于提升识别准确率。 单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或 “ASR|11”; 热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
|
|
11356
11356
|
:type HotWordList: str
|
|
11357
|
+
:param _VadLevel: vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
|
11358
|
+
:type VadLevel: int
|
|
11357
11359
|
"""
|
|
11358
11360
|
self._Language = None
|
|
11359
11361
|
self._AlternativeLanguage = None
|
|
11360
11362
|
self._CustomParam = None
|
|
11361
11363
|
self._VadSilenceTime = None
|
|
11362
11364
|
self._HotWordList = None
|
|
11365
|
+
self._VadLevel = None
|
|
11363
11366
|
|
|
11364
11367
|
@property
|
|
11365
11368
|
def Language(self):
|
|
@@ -11464,6 +11467,17 @@ class STTConfig(AbstractModel):
|
|
|
11464
11467
|
def HotWordList(self, HotWordList):
|
|
11465
11468
|
self._HotWordList = HotWordList
|
|
11466
11469
|
|
|
11470
|
+
@property
|
|
11471
|
+
def VadLevel(self):
|
|
11472
|
+
"""vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
|
11473
|
+
:rtype: int
|
|
11474
|
+
"""
|
|
11475
|
+
return self._VadLevel
|
|
11476
|
+
|
|
11477
|
+
@VadLevel.setter
|
|
11478
|
+
def VadLevel(self, VadLevel):
|
|
11479
|
+
self._VadLevel = VadLevel
|
|
11480
|
+
|
|
11467
11481
|
|
|
11468
11482
|
def _deserialize(self, params):
|
|
11469
11483
|
self._Language = params.get("Language")
|
|
@@ -11471,6 +11485,7 @@ class STTConfig(AbstractModel):
|
|
|
11471
11485
|
self._CustomParam = params.get("CustomParam")
|
|
11472
11486
|
self._VadSilenceTime = params.get("VadSilenceTime")
|
|
11473
11487
|
self._HotWordList = params.get("HotWordList")
|
|
11488
|
+
self._VadLevel = params.get("VadLevel")
|
|
11474
11489
|
memeber_set = set(params.keys())
|
|
11475
11490
|
for name, value in vars(self).items():
|
|
11476
11491
|
property_name = name[1:]
|
|
@@ -11875,6 +11890,8 @@ class ServerPushText(AbstractModel):
|
|
|
11875
11890
|
- Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
|
|
11876
11891
|
|
|
11877
11892
|
:type Priority: int
|
|
11893
|
+
:param _AddHistory: 是否将文本加入到llm历史上下文中
|
|
11894
|
+
:type AddHistory: bool
|
|
11878
11895
|
"""
|
|
11879
11896
|
self._Text = None
|
|
11880
11897
|
self._Interrupt = None
|
|
@@ -11882,6 +11899,7 @@ class ServerPushText(AbstractModel):
|
|
|
11882
11899
|
self._Audio = None
|
|
11883
11900
|
self._DropMode = None
|
|
11884
11901
|
self._Priority = None
|
|
11902
|
+
self._AddHistory = None
|
|
11885
11903
|
|
|
11886
11904
|
@property
|
|
11887
11905
|
def Text(self):
|
|
@@ -11960,6 +11978,17 @@ class ServerPushText(AbstractModel):
|
|
|
11960
11978
|
def Priority(self, Priority):
|
|
11961
11979
|
self._Priority = Priority
|
|
11962
11980
|
|
|
11981
|
+
@property
|
|
11982
|
+
def AddHistory(self):
|
|
11983
|
+
"""是否将文本加入到llm历史上下文中
|
|
11984
|
+
:rtype: bool
|
|
11985
|
+
"""
|
|
11986
|
+
return self._AddHistory
|
|
11987
|
+
|
|
11988
|
+
@AddHistory.setter
|
|
11989
|
+
def AddHistory(self, AddHistory):
|
|
11990
|
+
self._AddHistory = AddHistory
|
|
11991
|
+
|
|
11963
11992
|
|
|
11964
11993
|
def _deserialize(self, params):
|
|
11965
11994
|
self._Text = params.get("Text")
|
|
@@ -11968,6 +11997,7 @@ class ServerPushText(AbstractModel):
|
|
|
11968
11997
|
self._Audio = params.get("Audio")
|
|
11969
11998
|
self._DropMode = params.get("DropMode")
|
|
11970
11999
|
self._Priority = params.get("Priority")
|
|
12000
|
+
self._AddHistory = params.get("AddHistory")
|
|
11971
12001
|
memeber_set = set(params.keys())
|
|
11972
12002
|
for name, value in vars(self).items():
|
|
11973
12003
|
property_name = name[1:]
|
|
@@ -14765,6 +14795,8 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14765
14795
|
:param _TargetUserIdList: 机器人订阅的用户列表
|
|
14766
14796
|
仅 TranscriptionMode 为 1或者 TranscriptionMode 为无限上麦模式支持传入多个用户列表
|
|
14767
14797
|
:type TargetUserIdList: list of str
|
|
14798
|
+
:param _VoicePrint: 声纹配置
|
|
14799
|
+
:type VoicePrint: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
|
14768
14800
|
"""
|
|
14769
14801
|
self._UserId = None
|
|
14770
14802
|
self._UserSig = None
|
|
@@ -14774,6 +14806,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14774
14806
|
self._TranscriptionMode = None
|
|
14775
14807
|
self._TargetUserId = None
|
|
14776
14808
|
self._TargetUserIdList = None
|
|
14809
|
+
self._VoicePrint = None
|
|
14777
14810
|
|
|
14778
14811
|
@property
|
|
14779
14812
|
def UserId(self):
|
|
@@ -14873,6 +14906,17 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14873
14906
|
def TargetUserIdList(self, TargetUserIdList):
|
|
14874
14907
|
self._TargetUserIdList = TargetUserIdList
|
|
14875
14908
|
|
|
14909
|
+
@property
|
|
14910
|
+
def VoicePrint(self):
|
|
14911
|
+
"""声纹配置
|
|
14912
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
|
14913
|
+
"""
|
|
14914
|
+
return self._VoicePrint
|
|
14915
|
+
|
|
14916
|
+
@VoicePrint.setter
|
|
14917
|
+
def VoicePrint(self, VoicePrint):
|
|
14918
|
+
self._VoicePrint = VoicePrint
|
|
14919
|
+
|
|
14876
14920
|
|
|
14877
14921
|
def _deserialize(self, params):
|
|
14878
14922
|
self._UserId = params.get("UserId")
|
|
@@ -14883,6 +14927,9 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
|
14883
14927
|
self._TranscriptionMode = params.get("TranscriptionMode")
|
|
14884
14928
|
self._TargetUserId = params.get("TargetUserId")
|
|
14885
14929
|
self._TargetUserIdList = params.get("TargetUserIdList")
|
|
14930
|
+
if params.get("VoicePrint") is not None:
|
|
14931
|
+
self._VoicePrint = VoicePrint()
|
|
14932
|
+
self._VoicePrint._deserialize(params.get("VoicePrint"))
|
|
14886
14933
|
memeber_set = set(params.keys())
|
|
14887
14934
|
for name, value in vars(self).items():
|
|
14888
14935
|
property_name = name[1:]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf8 -*-
|
|
2
|
-
# Copyright (c) 2017-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1416
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1408
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|