tencentcloud-sdk-python-trtc 3.0.1447__py2.py3-none-any.whl → 3.0.1448__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 +1 -1
- tencentcloud/trtc/v20190722/models.py +17 -0
- {tencentcloud_sdk_python_trtc-3.0.1447.dist-info → tencentcloud_sdk_python_trtc-3.0.1448.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_trtc-3.0.1448.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_trtc-3.0.1447.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_trtc-3.0.1447.dist-info → tencentcloud_sdk_python_trtc-3.0.1448.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_trtc-3.0.1447.dist-info → tencentcloud_sdk_python_trtc-3.0.1448.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1448
|
|
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 (<4.0.0,>=3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1448)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=l8H8D_HPdJWSm-IJNlKPygUi0dSf3NApdcxqXC5PqAA,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=xLMIY3GqMT4P3HzptYvbgmPjE64wn3EDSO-6EMb-kq4,13309
|
|
5
|
+
tencentcloud/trtc/v20190722/models.py,sha256=Hk6LKSRu5Sydgna85xv6Xlx2mPXk3pPKI4E1B1mSlx8,692034
|
|
6
|
+
tencentcloud/trtc/v20190722/trtc_client.py,sha256=-V4mFFJq8qBKz9aV2G2hYnGUxUBxt8K5EBtXhadIYHs,94078
|
|
7
|
+
tencentcloud_sdk_python_trtc-3.0.1448.dist-info/METADATA,sha256=sjQpXqKe1qoKlyZIAPWgfKU9IZl5ux9DRWFQiOSLox8,1508
|
|
8
|
+
tencentcloud_sdk_python_trtc-3.0.1448.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_trtc-3.0.1448.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_trtc-3.0.1448.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=Clabb3XxBDuEdLmg8E-OO3chnkbKm5mdLeZJzx_dS8c,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=xLMIY3GqMT4P3HzptYvbgmPjE64wn3EDSO-6EMb-kq4,13309
|
|
5
|
-
tencentcloud/trtc/v20190722/models.py,sha256=MdzwU2MMScdPdBbSqpsyaJ7VP2mgHtGK3T3mM5lk65Q,691302
|
|
6
|
-
tencentcloud/trtc/v20190722/trtc_client.py,sha256=-V4mFFJq8qBKz9aV2G2hYnGUxUBxt8K5EBtXhadIYHs,94078
|
|
7
|
-
tencentcloud_sdk_python_trtc-3.0.1447.dist-info/METADATA,sha256=k-2FCwN5p3ge17HwiNri_plQqW6UylWN7A_0CDg_Tes,1508
|
|
8
|
-
tencentcloud_sdk_python_trtc-3.0.1447.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_trtc-3.0.1447.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_trtc-3.0.1447.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|