tencentcloud-sdk-python-trtc 3.0.1447__tar.gz → 3.0.1450__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.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/setup.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud/trtc/v20190722/models.py +19 -2
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-trtc-3.0.1450/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-trtc-3.0.1447/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/README.rst +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/setup.cfg +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud/trtc/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud/trtc/v20190722/__init__.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud/trtc/v20190722/trtc_client.py +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-trtc-3.0.1447 → tencentcloud-sdk-python-trtc-3.0.1450}/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.1450,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Trtc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -217,6 +217,9 @@ class AgentConfig(AbstractModel):
|
|
|
217
217
|
- 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。
|
|
218
218
|
- 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。
|
|
219
219
|
:type SubtitleMode: int
|
|
220
|
+
:param _InterruptWordList: 打断词列表,在AI说话期间,只有说出列表中的打断词才会打断AI说话。
|
|
221
|
+
注意:打断词不会触发AI回复。
|
|
222
|
+
:type InterruptWordList: list of str
|
|
220
223
|
"""
|
|
221
224
|
self._UserId = None
|
|
222
225
|
self._UserSig = None
|
|
@@ -233,6 +236,7 @@ class AgentConfig(AbstractModel):
|
|
|
233
236
|
self._VoicePrint = None
|
|
234
237
|
self._TurnDetection = None
|
|
235
238
|
self._SubtitleMode = None
|
|
239
|
+
self._InterruptWordList = None
|
|
236
240
|
|
|
237
241
|
@property
|
|
238
242
|
def UserId(self):
|
|
@@ -409,6 +413,18 @@ class AgentConfig(AbstractModel):
|
|
|
409
413
|
def SubtitleMode(self, SubtitleMode):
|
|
410
414
|
self._SubtitleMode = SubtitleMode
|
|
411
415
|
|
|
416
|
+
@property
|
|
417
|
+
def InterruptWordList(self):
|
|
418
|
+
"""打断词列表,在AI说话期间,只有说出列表中的打断词才会打断AI说话。
|
|
419
|
+
注意:打断词不会触发AI回复。
|
|
420
|
+
:rtype: list of str
|
|
421
|
+
"""
|
|
422
|
+
return self._InterruptWordList
|
|
423
|
+
|
|
424
|
+
@InterruptWordList.setter
|
|
425
|
+
def InterruptWordList(self, InterruptWordList):
|
|
426
|
+
self._InterruptWordList = InterruptWordList
|
|
427
|
+
|
|
412
428
|
|
|
413
429
|
def _deserialize(self, params):
|
|
414
430
|
self._UserId = params.get("UserId")
|
|
@@ -432,6 +448,7 @@ class AgentConfig(AbstractModel):
|
|
|
432
448
|
self._TurnDetection = TurnDetection()
|
|
433
449
|
self._TurnDetection._deserialize(params.get("TurnDetection"))
|
|
434
450
|
self._SubtitleMode = params.get("SubtitleMode")
|
|
451
|
+
self._InterruptWordList = params.get("InterruptWordList")
|
|
435
452
|
memeber_set = set(params.keys())
|
|
436
453
|
for name, value in vars(self).items():
|
|
437
454
|
property_name = name[1:]
|
|
@@ -10678,7 +10695,7 @@ yidun : 网易易盾审核 (支持 1:音频切片审核,2:视频截帧审核
|
|
|
10678
10695
|
:type ModerationSupplier: str
|
|
10679
10696
|
:param _ModerationSupplierParam: 第三方审核商送审需要配置信息
|
|
10680
10697
|
:type ModerationSupplierParam: :class:`tencentcloud.trtc.v20190722.models.ModerationSupplierParam`
|
|
10681
|
-
:param _SaveModerationFile:
|
|
10698
|
+
:param _SaveModerationFile: 是否保存文件 0不保存文件 1保存所有文件 2仅保存命中文件
|
|
10682
10699
|
:type SaveModerationFile: int
|
|
10683
10700
|
:param _CallbackAllResults: 是否回调所有审核结果:0 默认回调所有结果 1 仅回调命中结果
|
|
10684
10701
|
:type CallbackAllResults: int
|
|
@@ -10767,7 +10784,7 @@ yidun : 网易易盾审核 (支持 1:音频切片审核,2:视频截帧审核
|
|
|
10767
10784
|
|
|
10768
10785
|
@property
|
|
10769
10786
|
def SaveModerationFile(self):
|
|
10770
|
-
"""
|
|
10787
|
+
"""是否保存文件 0不保存文件 1保存所有文件 2仅保存命中文件
|
|
10771
10788
|
:rtype: int
|
|
10772
10789
|
"""
|
|
10773
10790
|
return self._SaveModerationFile
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1450
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1447
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|