tencentcloud-sdk-python-trtc 3.0.1408__py2.py3-none-any.whl → 3.0.1415__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1408'
17
+ __version__ = '3.0.1415'
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1408
3
+ Version: 3.0.1415
4
4
  Summary: Tencent Cloud Trtc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common (==3.0.1408)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1415)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=he7CccLZ5YtPUymIh1eDwWvm0VG8KwZD3Mnb7l2vAAA,631
2
+ tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/trtc/v20190722/errorcodes.py,sha256=p8nnSmWbd2IoGYa5x5ZKKLfKJpfSZdz9so867X4eCQ8,12729
5
+ tencentcloud/trtc/v20190722/models.py,sha256=-mZijrt84nrHaPgT1uBtKM_AiZbXGD9KmUG5PwLD_-A,600102
6
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=AmejLPaS3rkN-Ne2p-L9gvp1d3fH8xeiUWC19wA6pmA,82726
7
+ tencentcloud_sdk_python_trtc-3.0.1415.dist-info/METADATA,sha256=lDYEnIvKCyKJ34h0vWYPAHy415U1fb1Q1N9ZDHq2IZ0,1501
8
+ tencentcloud_sdk_python_trtc-3.0.1415.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_trtc-3.0.1415.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_trtc-3.0.1415.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=Rcc8j3HFeD9AvC7omudkd6TN3PeFbhsRaWqvWFeLgY0,631
2
- tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/trtc/v20190722/errorcodes.py,sha256=p8nnSmWbd2IoGYa5x5ZKKLfKJpfSZdz9so867X4eCQ8,12729
5
- tencentcloud/trtc/v20190722/models.py,sha256=HfoJwROmFNeT7tVhcJJekeJ50wKC6zVX6uUs8fft78o,598391
6
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=AmejLPaS3rkN-Ne2p-L9gvp1d3fH8xeiUWC19wA6pmA,82726
7
- tencentcloud_sdk_python_trtc-3.0.1408.dist-info/METADATA,sha256=M_MpVZiMIce_BtuKYsos2v681RPSmkPQS7frc45-h8Y,1501
8
- tencentcloud_sdk_python_trtc-3.0.1408.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_trtc-3.0.1408.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_trtc-3.0.1408.dist-info/RECORD,,