tencentcloud-sdk-python 3.1.169__py2.py3-none-any.whl → 3.1.171__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.
Files changed (57) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/asr/v20190614/asr_client.py +1 -1
  3. tencentcloud/asr/v20190614/asr_client_async.py +1 -1
  4. tencentcloud/asr/v20190614/models.py +4 -4
  5. tencentcloud/batch/v20170312/models.py +1 -1
  6. tencentcloud/bh/v20230418/models.py +32 -2
  7. tencentcloud/cdb/v20170320/errorcodes.py +3 -0
  8. tencentcloud/cdb/v20170320/models.py +34 -0
  9. tencentcloud/clb/v20180317/models.py +315 -6
  10. tencentcloud/cls/v20201016/models.py +49 -66
  11. tencentcloud/cvm/v20170312/models.py +2 -2
  12. tencentcloud/cynosdb/v20190107/errorcodes.py +9 -0
  13. tencentcloud/cynosdb/v20190107/models.py +114 -16
  14. tencentcloud/dbdc/v20201029/dbdc_client.py +184 -0
  15. tencentcloud/dbdc/v20201029/dbdc_client_async.py +144 -0
  16. tencentcloud/dbdc/v20201029/models.py +1360 -127
  17. tencentcloud/dlc/v20210125/dlc_client.py +0 -23
  18. tencentcloud/dlc/v20210125/dlc_client_async.py +0 -18
  19. tencentcloud/dlc/v20210125/models.py +0 -305
  20. tencentcloud/emr/v20190103/models.py +30 -0
  21. tencentcloud/es/v20180416/models.py +45 -30
  22. tencentcloud/ess/v20201111/ess_client.py +2 -2
  23. tencentcloud/ess/v20201111/ess_client_async.py +2 -2
  24. tencentcloud/ess/v20201111/models.py +21 -14
  25. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -62
  26. tencentcloud/essbasic/v20210526/essbasic_client_async.py +1 -52
  27. tencentcloud/essbasic/v20210526/models.py +41 -520
  28. tencentcloud/iotvideoindustry/v20201201/models.py +80 -20
  29. tencentcloud/live/v20180801/live_client.py +69 -0
  30. tencentcloud/live/v20180801/live_client_async.py +54 -0
  31. tencentcloud/live/v20180801/models.py +809 -6
  32. tencentcloud/mna/v20210119/models.py +44 -16
  33. tencentcloud/mongodb/v20190725/models.py +173 -0
  34. tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
  35. tencentcloud/mongodb/v20190725/mongodb_client_async.py +36 -0
  36. tencentcloud/mps/v20190612/models.py +664 -4
  37. tencentcloud/mps/v20190612/mps_client.py +25 -0
  38. tencentcloud/mps/v20190612/mps_client_async.py +20 -0
  39. tencentcloud/ocr/v20181119/models.py +1022 -374
  40. tencentcloud/ocr/v20181119/ocr_client.py +0 -48
  41. tencentcloud/ocr/v20181119/ocr_client_async.py +0 -48
  42. tencentcloud/rce/v20260130/models.py +30 -0
  43. tencentcloud/redis/v20180412/models.py +4 -4
  44. tencentcloud/tcb/v20180608/models.py +2 -2
  45. tencentcloud/tcr/v20190924/models.py +26 -24
  46. tencentcloud/tdmysql/v20211122/models.py +440 -0
  47. tencentcloud/tdmysql/v20211122/tdmysql_client.py +115 -0
  48. tencentcloud/tdmysql/v20211122/tdmysql_client_async.py +90 -0
  49. tencentcloud/teo/v20220901/models.py +107 -16
  50. tencentcloud/tokenhub/v20260322/models.py +30 -0
  51. tencentcloud/vod/v20180717/models.py +162 -28
  52. tencentcloud/vpc/v20170312/models.py +21 -12
  53. {tencentcloud_sdk_python-3.1.169.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/METADATA +1 -1
  54. {tencentcloud_sdk_python-3.1.169.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/RECORD +57 -57
  55. {tencentcloud_sdk_python-3.1.169.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/LICENSE +0 -0
  56. {tencentcloud_sdk_python-3.1.169.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/WHEEL +0 -0
  57. {tencentcloud_sdk_python-3.1.169.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.169'
17
+ __version__ = '3.1.171'
@@ -711,7 +711,7 @@ class AsrClient(AbstractClient):
711
711
 
712
712
  def VoicePrintEnroll(self, request):
713
713
  r"""说话人注册接口用于注册一个指定音频,生成一个唯一的说话人id,后续可通过说话人验证接口验证其它音频和已有的说话人ID匹配度,注册时可指定说话人昵称,方便标识说话人ID, 说话人昵称可重复配置。
714
- (注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳100个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
714
+ (注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳20个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
715
715
 
716
716
  使用须知
717
717
  支持的输入格式:编码文件(PCM, WAV)、16 bit采样位数、单声道(mono)。
@@ -575,7 +575,7 @@ class AsrClient(AbstractClient):
575
575
  ) -> models.VoicePrintEnrollResponse:
576
576
  """
577
577
  说话人注册接口用于注册一个指定音频,生成一个唯一的说话人id,后续可通过说话人验证接口验证其它音频和已有的说话人ID匹配度,注册时可指定说话人昵称,方便标识说话人ID, 说话人昵称可重复配置。
578
- (注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳100个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
578
+ (注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳20个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
579
579
 
580
580
  使用须知
581
581
  支持的输入格式:编码文件(PCM, WAV)、16 bit采样位数、单声道(mono)。
@@ -791,7 +791,7 @@ class CreateRecTaskRequest(AbstractModel):
791
791
 
792
792
  def __init__(self):
793
793
  r"""
794
- :param _EngineModelType: <p>引擎模型类型<br>识别引擎采用分级计费方案,分为通用引擎、大模型1.0版引擎(原大模型版引擎)、大模型2.0版引擎。<a href="https://cloud.tencent.com/document/product/1093/35686">点击这里</a> 查看不同引擎的计费说明。</p><p><strong>大模型2.0引擎:</strong><br><strong>• 16k_zh_en_2.0:</strong>中英大模型引擎【大模型2.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/35682">31种方言</a> 的识别,且支持说话人分离能力。该模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;</p><p><strong>大模型1.0引擎:</strong><br><strong>• 8k_zh_large:</strong>中文电话场景专用大模型引擎【大模型1.0版】。当前模型同时支持中文、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话、闽南语、客家话、粤语、南宁话方言识别,通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a> 对比常规版本与普方大模型效果;<br>• <strong>16k_zh_en:</strong>中英大模型引擎【大模型1.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/35682">31种方言</a> 的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;<br>• <strong>16k_multi_lang:</strong>多语种大模型引擎【大模型1.0版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);<br>• <strong>16k_en_large:</strong>英语大模型引擎。</p><p><strong>通用引擎:</strong><br>• 8k_zh:中文电话通讯;<br>• 8k_en:英文电话通讯;</p><p><strong>注意:电话通讯场景请务必使用8k引擎,电话通讯场景以外的其它识别场景,请务必使用16k引擎。</strong>如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但<strong>16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用。</strong></p><p>• <strong>16k_zh:</strong>中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;<br>• <strong>16k_en:</strong>英语;<br>• <strong>16k_yue:</strong>粤语;<br>• <strong>16k_zh-PY:</strong>中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;<br>• <strong>16k_zh-TW</strong>:中文繁体;<br>• <strong>16k_ja:</strong>日语;<br>• <strong>16k_ko:</strong>韩语;<br>• <strong>16k_vi:</strong>越南语;<br>• <strong>16k_ms:</strong>马来语;<br>• <strong>16k_id:</strong>印度尼西亚语;<br>• <strong>16k_fil:</strong>菲律宾语;<br>• <strong>16k_th:</strong>泰语;<br>• <strong>16k_pt:</strong>葡萄牙语;<br>• <strong>16k_tr:</strong>土耳其语;<br>• <strong>16k_ar:</strong>阿拉伯语;<br>• <strong>16k_es:</strong>西班牙语;<br>• <strong>16k_hi:</strong>印地语;<br>• <strong>16k_fr:</strong>法语;<br>• <strong>16k_zh_medical:</strong>中文医疗引擎;<br>• <strong>16k_de:</strong>德语;</p><p>枚举值:</p><ul><li>16k_zh_en: 中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景</li></ul>
794
+ :param _EngineModelType: <p>引擎模型类型<br>识别引擎采用分级计费方案,分为通用引擎、大模型1.0版引擎(原大模型版引擎)、大模型2.0版引擎。<a href="https://cloud.tencent.com/document/product/1093/35686">点击这里</a> 查看不同引擎的计费说明。</p><p><strong>大模型2.0引擎:</strong><br><strong>• 16k_zh_en_2.0:</strong>中英大模型引擎【大模型2.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/35682">31种方言</a> 的识别,且支持说话人分离能力。该模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;<br><strong>• 16k_zh_en_meeting:</strong>中英大模型引擎【大模型2.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/137594">31种方言</a> 的识别,支持说话人分离能力。该模型参数量极大,语言模型性能增强,在会议多人对话场景下,转写准确率与说话人分离准确率均表现突出,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;</p><p><strong>大模型1.0引擎:</strong><br><strong>• 8k_zh_large:</strong>中文电话场景专用大模型引擎【大模型1.0版】。当前模型同时支持中文、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话、闽南语、客家话、粤语、南宁话方言识别,通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a> 对比常规版本与普方大模型效果;<br>• <strong>16k_zh_en:</strong>中英大模型引擎【大模型1.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/35682">31种方言</a> 的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;<br>• <strong>16k_multi_lang:</strong>多语种大模型引擎【大模型1.0版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);<br>• <strong>16k_en_large:</strong>英语大模型引擎。</p><p><strong>通用引擎:</strong><br>• 8k_zh:中文电话通讯;<br>• 8k_en:英文电话通讯;</p><p><strong>注意:电话通讯场景请务必使用8k引擎,电话通讯场景以外的其它识别场景,请务必使用16k引擎。</strong>如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但<strong>16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用。</strong></p><p>• <strong>16k_zh:</strong>中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;<br>• <strong>16k_en:</strong>英语;<br>• <strong>16k_yue:</strong>粤语;<br>• <strong>16k_zh-PY:</strong>中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;<br>• <strong>16k_zh-TW</strong>:中文繁体;<br>• <strong>16k_ja:</strong>日语;<br>• <strong>16k_ko:</strong>韩语;<br>• <strong>16k_vi:</strong>越南语;<br>• <strong>16k_ms:</strong>马来语;<br>• <strong>16k_id:</strong>印度尼西亚语;<br>• <strong>16k_fil:</strong>菲律宾语;<br>• <strong>16k_th:</strong>泰语;<br>• <strong>16k_pt:</strong>葡萄牙语;<br>• <strong>16k_tr:</strong>土耳其语;<br>• <strong>16k_ar:</strong>阿拉伯语;<br>• <strong>16k_es:</strong>西班牙语;<br>• <strong>16k_hi:</strong>印地语;<br>• <strong>16k_fr:</strong>法语;<br>• <strong>16k_zh_medical:</strong>中文医疗引擎;<br>• <strong>16k_de:</strong>德语;</p><p>枚举值:</p><ul><li>16k_zh_en_2.0: 中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景</li></ul>
795
795
  :type EngineModelType: str
796
796
  :param _ChannelNum: <p>识别声道数<br>1:单声道(16k音频仅支持单声道,<strong>请勿</strong>设置为双声道);<br>2:双声道(仅支持8k电话音频,且双声道应分别为通话双方)</p><p>注意:<br>• 16k音频:仅支持单声道识别,<strong>需设置ChannelNum=1</strong>;<br>• 8k电话音频:支持单声道、双声道识别,<strong>建议设置ChannelNum=2,即双声道</strong>。双声道能够物理区分说话人、避免说话双方重叠产生的识别错误,能达到最好的说话人分离效果和识别效果。设置双声道后,将自动区分说话人,因此<strong>无需再开启说话人分离功能</strong>,相关参数(<strong>SpeakerDiarization、SpeakerNumber</strong>)使用默认值即可,返回的ResultDetail中的speakerId的值为0代表左声道,值为1代表右声道。</p>
797
797
  :type ChannelNum: int
@@ -807,7 +807,7 @@ class CreateRecTaskRequest(AbstractModel):
807
807
  :type Url: str
808
808
  :param _CallbackUrl: <p>回调 URL<br>用户自行搭建的用于接收识别结果的服务URL<br>回调格式和内容详见:<a href="https://cloud.tencent.com/document/product/1093/52632">录音识别回调说明</a></p><p>注意:</p><ul><li>如果用户使用轮询方式获取识别结果,则无需提交该参数</li><li>建议在回调URL中带上您的业务ID等信息,以便处理业务逻辑</li></ul>
809
809
  :type CallbackUrl: str
810
- :param _SpeakerDiarization: <p>是否开启说话人分离<br>0:不开启;<br>1:开启(仅支持以下引擎:8k_zh/8k_zh_large/16k_zh_en_2.0/16k_zh_en/16k_zh/16k_ms/16k_en/16k_id/16k_zh_dialect/16k_es/16k_fr/16k_ja/16k_ko,且ChannelNum=1时可用);<br>3: 开启角色分离,需配合SpeakerRoles参数使用(增值服务,仅支持16k_zh_en_2.0、16k_zh_en引擎,可支持传入声纹对录音文件内的说话人进行角色认证)<br>默认值为 0</p><p>注意:<br>8k双声道电话音频请按 <strong>ChannelNum 识别声道数</strong> 的参数描述使用默认值</p>
810
+ :param _SpeakerDiarization: <p>是否开启说话人分离<br>0:不开启;<br>1:开启(仅支持以下引擎:8k_zh/8k_zh_large/16k_zh_en_2.0/16k_zh_en_meeting/16k_zh_en/16k_zh/16k_ms/16k_en/16k_id/16k_zh_dialect/16k_es/16k_fr/16k_ja/16k_ko,且ChannelNum=1时可用);<br>3: 开启角色分离,需配合SpeakerRoles参数使用(增值服务,仅支持16k_zh_en_2.0、16k_zh_en引擎,可支持传入声纹对录音文件内的说话人进行角色认证)<br>默认值为 0</p><p>注意:<br>8k双声道电话音频请按 <strong>ChannelNum 识别声道数</strong> 的参数描述使用默认值。</p>
811
811
  :type SpeakerDiarization: int
812
812
  :param _SpeakerNumber: <p>说话人分离人数<br><strong>需配合开启说话人分离使用,不开启无效</strong>,取值范围:0-10<br>0:自动分离(最多分离出20个人);<br>1-10:指定人数分离;<br>默认值为 0<br>注:16k引擎不支持指定人数分离</p>
813
813
  :type SpeakerNumber: int
@@ -870,7 +870,7 @@ class CreateRecTaskRequest(AbstractModel):
870
870
 
871
871
  @property
872
872
  def EngineModelType(self):
873
- r"""<p>引擎模型类型<br>识别引擎采用分级计费方案,分为通用引擎、大模型1.0版引擎(原大模型版引擎)、大模型2.0版引擎。<a href="https://cloud.tencent.com/document/product/1093/35686">点击这里</a> 查看不同引擎的计费说明。</p><p><strong>大模型2.0引擎:</strong><br><strong>• 16k_zh_en_2.0:</strong>中英大模型引擎【大模型2.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/35682">31种方言</a> 的识别,且支持说话人分离能力。该模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;</p><p><strong>大模型1.0引擎:</strong><br><strong>• 8k_zh_large:</strong>中文电话场景专用大模型引擎【大模型1.0版】。当前模型同时支持中文、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话、闽南语、客家话、粤语、南宁话方言识别,通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a> 对比常规版本与普方大模型效果;<br>• <strong>16k_zh_en:</strong>中英大模型引擎【大模型1.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/35682">31种方言</a> 的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;<br>• <strong>16k_multi_lang:</strong>多语种大模型引擎【大模型1.0版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);<br>• <strong>16k_en_large:</strong>英语大模型引擎。</p><p><strong>通用引擎:</strong><br>• 8k_zh:中文电话通讯;<br>• 8k_en:英文电话通讯;</p><p><strong>注意:电话通讯场景请务必使用8k引擎,电话通讯场景以外的其它识别场景,请务必使用16k引擎。</strong>如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但<strong>16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用。</strong></p><p>• <strong>16k_zh:</strong>中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;<br>• <strong>16k_en:</strong>英语;<br>• <strong>16k_yue:</strong>粤语;<br>• <strong>16k_zh-PY:</strong>中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;<br>• <strong>16k_zh-TW</strong>:中文繁体;<br>• <strong>16k_ja:</strong>日语;<br>• <strong>16k_ko:</strong>韩语;<br>• <strong>16k_vi:</strong>越南语;<br>• <strong>16k_ms:</strong>马来语;<br>• <strong>16k_id:</strong>印度尼西亚语;<br>• <strong>16k_fil:</strong>菲律宾语;<br>• <strong>16k_th:</strong>泰语;<br>• <strong>16k_pt:</strong>葡萄牙语;<br>• <strong>16k_tr:</strong>土耳其语;<br>• <strong>16k_ar:</strong>阿拉伯语;<br>• <strong>16k_es:</strong>西班牙语;<br>• <strong>16k_hi:</strong>印地语;<br>• <strong>16k_fr:</strong>法语;<br>• <strong>16k_zh_medical:</strong>中文医疗引擎;<br>• <strong>16k_de:</strong>德语;</p><p>枚举值:</p><ul><li>16k_zh_en: 中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景</li></ul>
873
+ r"""<p>引擎模型类型<br>识别引擎采用分级计费方案,分为通用引擎、大模型1.0版引擎(原大模型版引擎)、大模型2.0版引擎。<a href="https://cloud.tencent.com/document/product/1093/35686">点击这里</a> 查看不同引擎的计费说明。</p><p><strong>大模型2.0引擎:</strong><br><strong>• 16k_zh_en_2.0:</strong>中英大模型引擎【大模型2.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/35682">31种方言</a> 的识别,且支持说话人分离能力。该模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;<br><strong>• 16k_zh_en_meeting:</strong>中英大模型引擎【大模型2.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/137594">31种方言</a> 的识别,支持说话人分离能力。该模型参数量极大,语言模型性能增强,在会议多人对话场景下,转写准确率与说话人分离准确率均表现突出,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;</p><p><strong>大模型1.0引擎:</strong><br><strong>• 8k_zh_large:</strong>中文电话场景专用大模型引擎【大模型1.0版】。当前模型同时支持中文、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话、闽南语、客家话、粤语、南宁话方言识别,通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a> 对比常规版本与普方大模型效果;<br>• <strong>16k_zh_en:</strong>中英大模型引擎【大模型1.0版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南、潮汕等 <a href="https://cloud.tencent.com/document/product/1093/35682">31种方言</a> 的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,<a href="https://console.cloud.tencent.com/asr/demonstrate">点击这里</a>对比中文普通话常规版本与中英大模型版本的识别效果;<br>• <strong>16k_multi_lang:</strong>多语种大模型引擎【大模型1.0版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);<br>• <strong>16k_en_large:</strong>英语大模型引擎。</p><p><strong>通用引擎:</strong><br>• 8k_zh:中文电话通讯;<br>• 8k_en:英文电话通讯;</p><p><strong>注意:电话通讯场景请务必使用8k引擎,电话通讯场景以外的其它识别场景,请务必使用16k引擎。</strong>如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但<strong>16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用。</strong></p><p>• <strong>16k_zh:</strong>中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;<br>• <strong>16k_en:</strong>英语;<br>• <strong>16k_yue:</strong>粤语;<br>• <strong>16k_zh-PY:</strong>中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;<br>• <strong>16k_zh-TW</strong>:中文繁体;<br>• <strong>16k_ja:</strong>日语;<br>• <strong>16k_ko:</strong>韩语;<br>• <strong>16k_vi:</strong>越南语;<br>• <strong>16k_ms:</strong>马来语;<br>• <strong>16k_id:</strong>印度尼西亚语;<br>• <strong>16k_fil:</strong>菲律宾语;<br>• <strong>16k_th:</strong>泰语;<br>• <strong>16k_pt:</strong>葡萄牙语;<br>• <strong>16k_tr:</strong>土耳其语;<br>• <strong>16k_ar:</strong>阿拉伯语;<br>• <strong>16k_es:</strong>西班牙语;<br>• <strong>16k_hi:</strong>印地语;<br>• <strong>16k_fr:</strong>法语;<br>• <strong>16k_zh_medical:</strong>中文医疗引擎;<br>• <strong>16k_de:</strong>德语;</p><p>枚举值:</p><ul><li>16k_zh_en_2.0: 中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景</li></ul>
874
874
  :rtype: str
875
875
  """
876
876
  return self._EngineModelType
@@ -958,7 +958,7 @@ class CreateRecTaskRequest(AbstractModel):
958
958
 
959
959
  @property
960
960
  def SpeakerDiarization(self):
961
- r"""<p>是否开启说话人分离<br>0:不开启;<br>1:开启(仅支持以下引擎:8k_zh/8k_zh_large/16k_zh_en_2.0/16k_zh_en/16k_zh/16k_ms/16k_en/16k_id/16k_zh_dialect/16k_es/16k_fr/16k_ja/16k_ko,且ChannelNum=1时可用);<br>3: 开启角色分离,需配合SpeakerRoles参数使用(增值服务,仅支持16k_zh_en_2.0、16k_zh_en引擎,可支持传入声纹对录音文件内的说话人进行角色认证)<br>默认值为 0</p><p>注意:<br>8k双声道电话音频请按 <strong>ChannelNum 识别声道数</strong> 的参数描述使用默认值</p>
961
+ r"""<p>是否开启说话人分离<br>0:不开启;<br>1:开启(仅支持以下引擎:8k_zh/8k_zh_large/16k_zh_en_2.0/16k_zh_en_meeting/16k_zh_en/16k_zh/16k_ms/16k_en/16k_id/16k_zh_dialect/16k_es/16k_fr/16k_ja/16k_ko,且ChannelNum=1时可用);<br>3: 开启角色分离,需配合SpeakerRoles参数使用(增值服务,仅支持16k_zh_en_2.0、16k_zh_en引擎,可支持传入声纹对录音文件内的说话人进行角色认证)<br>默认值为 0</p><p>注意:<br>8k双声道电话音频请按 <strong>ChannelNum 识别声道数</strong> 的参数描述使用默认值。</p>
962
962
  :rtype: int
963
963
  """
964
964
  return self._SpeakerDiarization
@@ -10697,7 +10697,7 @@ class TerminateTaskInstanceResponse(AbstractModel):
10697
10697
 
10698
10698
 
10699
10699
  class VirtualPrivateCloud(AbstractModel):
10700
- r"""描述了VPC相关信息,包括子网,IP信息等
10700
+ r"""描述了主网卡VPC相关信息,包括子网,IP信息等
10701
10701
 
10702
10702
  """
10703
10703
 
@@ -1544,6 +1544,8 @@ class AppAsset(AbstractModel):
1544
1544
  :type ClientAppPath: str
1545
1545
  :param _ClientAppKind: <p>客户端工具类型</p>
1546
1546
  :type ClientAppKind: str
1547
+ :param _ClientAppArgs: <p>客户端工具启动参数</p>
1548
+ :type ClientAppArgs: list of str
1547
1549
  :param _Url: <p>应用资产url</p>
1548
1550
  :type Url: str
1549
1551
  :param _BindStatus: <p>托管状态</p><p>枚举值:</p><ul><li>0: 未托管</li><li>1: 已托管</li></ul>
@@ -1593,6 +1595,7 @@ class AppAsset(AbstractModel):
1593
1595
  self._Kind = None
1594
1596
  self._ClientAppPath = None
1595
1597
  self._ClientAppKind = None
1598
+ self._ClientAppArgs = None
1596
1599
  self._Url = None
1597
1600
  self._BindStatus = None
1598
1601
  self._DeviceInstanceId = None
@@ -1702,6 +1705,17 @@ class AppAsset(AbstractModel):
1702
1705
  def ClientAppKind(self, ClientAppKind):
1703
1706
  self._ClientAppKind = ClientAppKind
1704
1707
 
1708
+ @property
1709
+ def ClientAppArgs(self):
1710
+ r"""<p>客户端工具启动参数</p>
1711
+ :rtype: list of str
1712
+ """
1713
+ return self._ClientAppArgs
1714
+
1715
+ @ClientAppArgs.setter
1716
+ def ClientAppArgs(self, ClientAppArgs):
1717
+ self._ClientAppArgs = ClientAppArgs
1718
+
1705
1719
  @property
1706
1720
  def Url(self):
1707
1721
  r"""<p>应用资产url</p>
@@ -1932,6 +1946,7 @@ class AppAsset(AbstractModel):
1932
1946
  self._Kind = params.get("Kind")
1933
1947
  self._ClientAppPath = params.get("ClientAppPath")
1934
1948
  self._ClientAppKind = params.get("ClientAppKind")
1949
+ self._ClientAppArgs = params.get("ClientAppArgs")
1935
1950
  self._Url = params.get("Url")
1936
1951
  self._BindStatus = params.get("BindStatus")
1937
1952
  self._DeviceInstanceId = params.get("DeviceInstanceId")
@@ -18573,14 +18588,17 @@ class ResetUserRequest(AbstractModel):
18573
18588
 
18574
18589
  def __init__(self):
18575
18590
  r"""
18576
- :param _IdSet: 用户ID集合
18591
+ :param _IdSet: <p>用户ID集合</p>
18577
18592
  :type IdSet: list of int non-negative
18593
+ :param _ResetType: <p>重置类型</p><p>枚举值:</p><ul><li>0: 同时重置本地认证密码、OTP验证码</li><li>1: 仅重置本地认证密码</li><li>2: 仅重置OTP验证码</li></ul><p>默认值:0</p>
18594
+ :type ResetType: int
18578
18595
  """
18579
18596
  self._IdSet = None
18597
+ self._ResetType = None
18580
18598
 
18581
18599
  @property
18582
18600
  def IdSet(self):
18583
- r"""用户ID集合
18601
+ r"""<p>用户ID集合</p>
18584
18602
  :rtype: list of int non-negative
18585
18603
  """
18586
18604
  return self._IdSet
@@ -18589,9 +18607,21 @@ class ResetUserRequest(AbstractModel):
18589
18607
  def IdSet(self, IdSet):
18590
18608
  self._IdSet = IdSet
18591
18609
 
18610
+ @property
18611
+ def ResetType(self):
18612
+ r"""<p>重置类型</p><p>枚举值:</p><ul><li>0: 同时重置本地认证密码、OTP验证码</li><li>1: 仅重置本地认证密码</li><li>2: 仅重置OTP验证码</li></ul><p>默认值:0</p>
18613
+ :rtype: int
18614
+ """
18615
+ return self._ResetType
18616
+
18617
+ @ResetType.setter
18618
+ def ResetType(self, ResetType):
18619
+ self._ResetType = ResetType
18620
+
18592
18621
 
18593
18622
  def _deserialize(self, params):
18594
18623
  self._IdSet = params.get("IdSet")
18624
+ self._ResetType = params.get("ResetType")
18595
18625
  memeber_set = set(params.keys())
18596
18626
  for name, value in vars(self).items():
18597
18627
  property_name = name[1:]
@@ -23,6 +23,9 @@ AUTHFAILURE_INVALIDAUTHORIZATION = 'AuthFailure.InvalidAuthorization'
23
23
  # 子账号无权限。
24
24
  AUTHFAILURE_SUBACCOUNTDENIED = 'AuthFailure.SubAccountDenied'
25
25
 
26
+ # 鉴权失败,没有权限操作。
27
+ AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
28
+
26
29
  # 后端错误或者流程错误。
27
30
  CDBERROR = 'CdbError'
28
31
 
@@ -8665,6 +8665,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
8665
8665
  :type DestroyProtect: str
8666
8666
  :param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
8667
8667
  :type FourthZone: str
8668
+ :param _AutoStrategy: <p>弹性扩容参数(如果不传,则不开启)</p>
8669
+ :type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
8668
8670
  """
8669
8671
  self._GoodsNum = None
8670
8672
  self._Memory = None
@@ -8711,6 +8713,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
8711
8713
  self._DiskEncryption = None
8712
8714
  self._DestroyProtect = None
8713
8715
  self._FourthZone = None
8716
+ self._AutoStrategy = None
8714
8717
 
8715
8718
  @property
8716
8719
  def GoodsNum(self):
@@ -9207,6 +9210,17 @@ class CreateDBInstanceHourRequest(AbstractModel):
9207
9210
  def FourthZone(self, FourthZone):
9208
9211
  self._FourthZone = FourthZone
9209
9212
 
9213
+ @property
9214
+ def AutoStrategy(self):
9215
+ r"""<p>弹性扩容参数(如果不传,则不开启)</p>
9216
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
9217
+ """
9218
+ return self._AutoStrategy
9219
+
9220
+ @AutoStrategy.setter
9221
+ def AutoStrategy(self, AutoStrategy):
9222
+ self._AutoStrategy = AutoStrategy
9223
+
9210
9224
 
9211
9225
  def _deserialize(self, params):
9212
9226
  self._GoodsNum = params.get("GoodsNum")
@@ -9268,6 +9282,9 @@ class CreateDBInstanceHourRequest(AbstractModel):
9268
9282
  self._DiskEncryption = params.get("DiskEncryption")
9269
9283
  self._DestroyProtect = params.get("DestroyProtect")
9270
9284
  self._FourthZone = params.get("FourthZone")
9285
+ if params.get("AutoStrategy") is not None:
9286
+ self._AutoStrategy = AutoStrategy()
9287
+ self._AutoStrategy._deserialize(params.get("AutoStrategy"))
9271
9288
  memeber_set = set(params.keys())
9272
9289
  for name, value in vars(self).items():
9273
9290
  property_name = name[1:]
@@ -9431,6 +9448,8 @@ class CreateDBInstanceRequest(AbstractModel):
9431
9448
  :type DestroyProtect: str
9432
9449
  :param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
9433
9450
  :type FourthZone: str
9451
+ :param _AutoStrategy: <p>弹性扩容参数(如果不传,则不开启)</p>
9452
+ :type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
9434
9453
  """
9435
9454
  self._Memory = None
9436
9455
  self._Volume = None
@@ -9476,6 +9495,7 @@ class CreateDBInstanceRequest(AbstractModel):
9476
9495
  self._DiskEncryption = None
9477
9496
  self._DestroyProtect = None
9478
9497
  self._FourthZone = None
9498
+ self._AutoStrategy = None
9479
9499
 
9480
9500
  @property
9481
9501
  def Memory(self):
@@ -9961,6 +9981,17 @@ class CreateDBInstanceRequest(AbstractModel):
9961
9981
  def FourthZone(self, FourthZone):
9962
9982
  self._FourthZone = FourthZone
9963
9983
 
9984
+ @property
9985
+ def AutoStrategy(self):
9986
+ r"""<p>弹性扩容参数(如果不传,则不开启)</p>
9987
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
9988
+ """
9989
+ return self._AutoStrategy
9990
+
9991
+ @AutoStrategy.setter
9992
+ def AutoStrategy(self, AutoStrategy):
9993
+ self._AutoStrategy = AutoStrategy
9994
+
9964
9995
 
9965
9996
  def _deserialize(self, params):
9966
9997
  self._Memory = params.get("Memory")
@@ -10021,6 +10052,9 @@ class CreateDBInstanceRequest(AbstractModel):
10021
10052
  self._DiskEncryption = params.get("DiskEncryption")
10022
10053
  self._DestroyProtect = params.get("DestroyProtect")
10023
10054
  self._FourthZone = params.get("FourthZone")
10055
+ if params.get("AutoStrategy") is not None:
10056
+ self._AutoStrategy = AutoStrategy()
10057
+ self._AutoStrategy._deserialize(params.get("AutoStrategy"))
10024
10058
  memeber_set = set(params.keys())
10025
10059
  for name, value in vars(self).items():
10026
10060
  property_name = name[1:]