tencentcloud-sdk-python 3.1.170__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/asr/v20190614/models.py +4 -4
- tencentcloud/batch/v20170312/models.py +1 -1
- tencentcloud/bh/v20230418/models.py +32 -2
- tencentcloud/cdb/v20170320/models.py +34 -0
- tencentcloud/cvm/v20170312/models.py +1 -1
- tencentcloud/dlc/v20210125/dlc_client.py +0 -23
- tencentcloud/dlc/v20210125/dlc_client_async.py +0 -18
- tencentcloud/dlc/v20210125/models.py +0 -305
- tencentcloud/es/v20180416/models.py +45 -30
- tencentcloud/ess/v20201111/ess_client.py +2 -2
- tencentcloud/ess/v20201111/ess_client_async.py +2 -2
- tencentcloud/ess/v20201111/models.py +21 -14
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -62
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +1 -52
- tencentcloud/essbasic/v20210526/models.py +41 -520
- tencentcloud/live/v20180801/live_client.py +69 -0
- tencentcloud/live/v20180801/live_client_async.py +54 -0
- tencentcloud/live/v20180801/models.py +809 -6
- tencentcloud/mna/v20210119/models.py +44 -16
- tencentcloud/mongodb/v20190725/models.py +173 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
- tencentcloud/mongodb/v20190725/mongodb_client_async.py +36 -0
- tencentcloud/mps/v20190612/models.py +230 -0
- tencentcloud/mps/v20190612/mps_client.py +25 -0
- tencentcloud/mps/v20190612/mps_client_async.py +20 -0
- tencentcloud/ocr/v20181119/ocr_client.py +0 -48
- tencentcloud/ocr/v20181119/ocr_client_async.py +0 -48
- tencentcloud/rce/v20260130/models.py +30 -0
- tencentcloud/redis/v20180412/models.py +4 -4
- tencentcloud/tcb/v20180608/models.py +2 -2
- tencentcloud/tcr/v20190924/models.py +26 -24
- tencentcloud/teo/v20220901/models.py +107 -16
- tencentcloud/tokenhub/v20260322/models.py +30 -0
- {tencentcloud_sdk_python-3.1.170.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.170.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/RECORD +39 -39
- {tencentcloud_sdk_python-3.1.170.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.170.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.170.dist-info → tencentcloud_sdk_python-3.1.171.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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>
|
|
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>
|
|
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>
|
|
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>
|
|
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"""
|
|
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:
|
|
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"""
|
|
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:]
|
|
@@ -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:]
|
|
@@ -23441,7 +23441,7 @@ class TerminateResourcePoolPacksResponse(AbstractModel):
|
|
|
23441
23441
|
|
|
23442
23442
|
|
|
23443
23443
|
class VirtualPrivateCloud(AbstractModel):
|
|
23444
|
-
r"""
|
|
23444
|
+
r"""描述了主网卡VPC相关信息,包括子网,IP信息等
|
|
23445
23445
|
|
|
23446
23446
|
"""
|
|
23447
23447
|
|
|
@@ -5666,29 +5666,6 @@ class DlcClient(AbstractClient):
|
|
|
5666
5666
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5667
5667
|
|
|
5668
5668
|
|
|
5669
|
-
def GetRayJobEventLog(self, request):
|
|
5670
|
-
r"""获取作业事件日志
|
|
5671
|
-
|
|
5672
|
-
:param request: Request instance for GetRayJobEventLog.
|
|
5673
|
-
:type request: :class:`tencentcloud.dlc.v20210125.models.GetRayJobEventLogRequest`
|
|
5674
|
-
:rtype: :class:`tencentcloud.dlc.v20210125.models.GetRayJobEventLogResponse`
|
|
5675
|
-
|
|
5676
|
-
"""
|
|
5677
|
-
try:
|
|
5678
|
-
params = request._serialize()
|
|
5679
|
-
headers = request.headers
|
|
5680
|
-
body = self.call("GetRayJobEventLog", params, headers=headers)
|
|
5681
|
-
response = json.loads(body)
|
|
5682
|
-
model = models.GetRayJobEventLogResponse()
|
|
5683
|
-
model._deserialize(response["Response"])
|
|
5684
|
-
return model
|
|
5685
|
-
except Exception as e:
|
|
5686
|
-
if isinstance(e, TencentCloudSDKException):
|
|
5687
|
-
raise
|
|
5688
|
-
else:
|
|
5689
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
5669
|
def GetRayJobHistory(self, request):
|
|
5693
5670
|
r"""根据任务ID获取Ray任务的历史执行记录
|
|
5694
5671
|
|
|
@@ -4440,24 +4440,6 @@ class DlcClient(AbstractClient):
|
|
|
4440
4440
|
|
|
4441
4441
|
return await self.call_and_deserialize(**kwargs)
|
|
4442
4442
|
|
|
4443
|
-
async def GetRayJobEventLog(
|
|
4444
|
-
self,
|
|
4445
|
-
request: models.GetRayJobEventLogRequest,
|
|
4446
|
-
opts: Dict = None,
|
|
4447
|
-
) -> models.GetRayJobEventLogResponse:
|
|
4448
|
-
"""
|
|
4449
|
-
获取作业事件日志
|
|
4450
|
-
"""
|
|
4451
|
-
|
|
4452
|
-
kwargs = {}
|
|
4453
|
-
kwargs["action"] = "GetRayJobEventLog"
|
|
4454
|
-
kwargs["params"] = request._serialize()
|
|
4455
|
-
kwargs["resp_cls"] = models.GetRayJobEventLogResponse
|
|
4456
|
-
kwargs["headers"] = request.headers
|
|
4457
|
-
kwargs["opts"] = opts or {}
|
|
4458
|
-
|
|
4459
|
-
return await self.call_and_deserialize(**kwargs)
|
|
4460
|
-
|
|
4461
4443
|
async def GetRayJobHistory(
|
|
4462
4444
|
self,
|
|
4463
4445
|
request: models.GetRayJobHistoryRequest,
|
|
@@ -46708,87 +46708,6 @@ class EventItem(AbstractModel):
|
|
|
46708
46708
|
|
|
46709
46709
|
|
|
46710
46710
|
|
|
46711
|
-
class EventLogItem(AbstractModel):
|
|
46712
|
-
r"""事件日志项
|
|
46713
|
-
|
|
46714
|
-
"""
|
|
46715
|
-
|
|
46716
|
-
def __init__(self):
|
|
46717
|
-
r"""
|
|
46718
|
-
:param _EventTime: 事件时间(Unix 时间戳,秒级)
|
|
46719
|
-
:type EventTime: int
|
|
46720
|
-
:param _Component: 组件名称
|
|
46721
|
-
:type Component: str
|
|
46722
|
-
:param _Level: 日志级别(INFO/WARN/ERROR)
|
|
46723
|
-
:type Level: str
|
|
46724
|
-
:param _Message: 事件内容
|
|
46725
|
-
:type Message: str
|
|
46726
|
-
"""
|
|
46727
|
-
self._EventTime = None
|
|
46728
|
-
self._Component = None
|
|
46729
|
-
self._Level = None
|
|
46730
|
-
self._Message = None
|
|
46731
|
-
|
|
46732
|
-
@property
|
|
46733
|
-
def EventTime(self):
|
|
46734
|
-
r"""事件时间(Unix 时间戳,秒级)
|
|
46735
|
-
:rtype: int
|
|
46736
|
-
"""
|
|
46737
|
-
return self._EventTime
|
|
46738
|
-
|
|
46739
|
-
@EventTime.setter
|
|
46740
|
-
def EventTime(self, EventTime):
|
|
46741
|
-
self._EventTime = EventTime
|
|
46742
|
-
|
|
46743
|
-
@property
|
|
46744
|
-
def Component(self):
|
|
46745
|
-
r"""组件名称
|
|
46746
|
-
:rtype: str
|
|
46747
|
-
"""
|
|
46748
|
-
return self._Component
|
|
46749
|
-
|
|
46750
|
-
@Component.setter
|
|
46751
|
-
def Component(self, Component):
|
|
46752
|
-
self._Component = Component
|
|
46753
|
-
|
|
46754
|
-
@property
|
|
46755
|
-
def Level(self):
|
|
46756
|
-
r"""日志级别(INFO/WARN/ERROR)
|
|
46757
|
-
:rtype: str
|
|
46758
|
-
"""
|
|
46759
|
-
return self._Level
|
|
46760
|
-
|
|
46761
|
-
@Level.setter
|
|
46762
|
-
def Level(self, Level):
|
|
46763
|
-
self._Level = Level
|
|
46764
|
-
|
|
46765
|
-
@property
|
|
46766
|
-
def Message(self):
|
|
46767
|
-
r"""事件内容
|
|
46768
|
-
:rtype: str
|
|
46769
|
-
"""
|
|
46770
|
-
return self._Message
|
|
46771
|
-
|
|
46772
|
-
@Message.setter
|
|
46773
|
-
def Message(self, Message):
|
|
46774
|
-
self._Message = Message
|
|
46775
|
-
|
|
46776
|
-
|
|
46777
|
-
def _deserialize(self, params):
|
|
46778
|
-
self._EventTime = params.get("EventTime")
|
|
46779
|
-
self._Component = params.get("Component")
|
|
46780
|
-
self._Level = params.get("Level")
|
|
46781
|
-
self._Message = params.get("Message")
|
|
46782
|
-
memeber_set = set(params.keys())
|
|
46783
|
-
for name, value in vars(self).items():
|
|
46784
|
-
property_name = name[1:]
|
|
46785
|
-
if property_name in memeber_set:
|
|
46786
|
-
memeber_set.remove(property_name)
|
|
46787
|
-
if len(memeber_set) > 0:
|
|
46788
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
46789
|
-
|
|
46790
|
-
|
|
46791
|
-
|
|
46792
46711
|
class ExampleCategories(AbstractModel):
|
|
46793
46712
|
r"""案例分类详情
|
|
46794
46713
|
|
|
@@ -53639,230 +53558,6 @@ class GetRayClusterYamlResponse(AbstractModel):
|
|
|
53639
53558
|
self._RequestId = params.get("RequestId")
|
|
53640
53559
|
|
|
53641
53560
|
|
|
53642
|
-
class GetRayJobEventLogRequest(AbstractModel):
|
|
53643
|
-
r"""GetRayJobEventLog请求参数结构体
|
|
53644
|
-
|
|
53645
|
-
"""
|
|
53646
|
-
|
|
53647
|
-
def __init__(self):
|
|
53648
|
-
r"""
|
|
53649
|
-
:param _Id: ray-jobID
|
|
53650
|
-
:type Id: str
|
|
53651
|
-
:param _StartTime: 开始时间
|
|
53652
|
-
:type StartTime: int
|
|
53653
|
-
:param _EndTime: 结束时间
|
|
53654
|
-
:type EndTime: int
|
|
53655
|
-
:param _Page: 当前页码(从1开始)
|
|
53656
|
-
:type Page: int
|
|
53657
|
-
:param _PageSize: 页数
|
|
53658
|
-
:type PageSize: int
|
|
53659
|
-
:param _SortFields: 排序字段列表(列表字段)
|
|
53660
|
-
:type SortFields: list of SortField
|
|
53661
|
-
"""
|
|
53662
|
-
self._Id = None
|
|
53663
|
-
self._StartTime = None
|
|
53664
|
-
self._EndTime = None
|
|
53665
|
-
self._Page = None
|
|
53666
|
-
self._PageSize = None
|
|
53667
|
-
self._SortFields = None
|
|
53668
|
-
|
|
53669
|
-
@property
|
|
53670
|
-
def Id(self):
|
|
53671
|
-
r"""ray-jobID
|
|
53672
|
-
:rtype: str
|
|
53673
|
-
"""
|
|
53674
|
-
return self._Id
|
|
53675
|
-
|
|
53676
|
-
@Id.setter
|
|
53677
|
-
def Id(self, Id):
|
|
53678
|
-
self._Id = Id
|
|
53679
|
-
|
|
53680
|
-
@property
|
|
53681
|
-
def StartTime(self):
|
|
53682
|
-
r"""开始时间
|
|
53683
|
-
:rtype: int
|
|
53684
|
-
"""
|
|
53685
|
-
return self._StartTime
|
|
53686
|
-
|
|
53687
|
-
@StartTime.setter
|
|
53688
|
-
def StartTime(self, StartTime):
|
|
53689
|
-
self._StartTime = StartTime
|
|
53690
|
-
|
|
53691
|
-
@property
|
|
53692
|
-
def EndTime(self):
|
|
53693
|
-
r"""结束时间
|
|
53694
|
-
:rtype: int
|
|
53695
|
-
"""
|
|
53696
|
-
return self._EndTime
|
|
53697
|
-
|
|
53698
|
-
@EndTime.setter
|
|
53699
|
-
def EndTime(self, EndTime):
|
|
53700
|
-
self._EndTime = EndTime
|
|
53701
|
-
|
|
53702
|
-
@property
|
|
53703
|
-
def Page(self):
|
|
53704
|
-
r"""当前页码(从1开始)
|
|
53705
|
-
:rtype: int
|
|
53706
|
-
"""
|
|
53707
|
-
return self._Page
|
|
53708
|
-
|
|
53709
|
-
@Page.setter
|
|
53710
|
-
def Page(self, Page):
|
|
53711
|
-
self._Page = Page
|
|
53712
|
-
|
|
53713
|
-
@property
|
|
53714
|
-
def PageSize(self):
|
|
53715
|
-
r"""页数
|
|
53716
|
-
:rtype: int
|
|
53717
|
-
"""
|
|
53718
|
-
return self._PageSize
|
|
53719
|
-
|
|
53720
|
-
@PageSize.setter
|
|
53721
|
-
def PageSize(self, PageSize):
|
|
53722
|
-
self._PageSize = PageSize
|
|
53723
|
-
|
|
53724
|
-
@property
|
|
53725
|
-
def SortFields(self):
|
|
53726
|
-
r"""排序字段列表(列表字段)
|
|
53727
|
-
:rtype: list of SortField
|
|
53728
|
-
"""
|
|
53729
|
-
return self._SortFields
|
|
53730
|
-
|
|
53731
|
-
@SortFields.setter
|
|
53732
|
-
def SortFields(self, SortFields):
|
|
53733
|
-
self._SortFields = SortFields
|
|
53734
|
-
|
|
53735
|
-
|
|
53736
|
-
def _deserialize(self, params):
|
|
53737
|
-
self._Id = params.get("Id")
|
|
53738
|
-
self._StartTime = params.get("StartTime")
|
|
53739
|
-
self._EndTime = params.get("EndTime")
|
|
53740
|
-
self._Page = params.get("Page")
|
|
53741
|
-
self._PageSize = params.get("PageSize")
|
|
53742
|
-
if params.get("SortFields") is not None:
|
|
53743
|
-
self._SortFields = []
|
|
53744
|
-
for item in params.get("SortFields"):
|
|
53745
|
-
obj = SortField()
|
|
53746
|
-
obj._deserialize(item)
|
|
53747
|
-
self._SortFields.append(obj)
|
|
53748
|
-
memeber_set = set(params.keys())
|
|
53749
|
-
for name, value in vars(self).items():
|
|
53750
|
-
property_name = name[1:]
|
|
53751
|
-
if property_name in memeber_set:
|
|
53752
|
-
memeber_set.remove(property_name)
|
|
53753
|
-
if len(memeber_set) > 0:
|
|
53754
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
53755
|
-
|
|
53756
|
-
|
|
53757
|
-
|
|
53758
|
-
class GetRayJobEventLogResponse(AbstractModel):
|
|
53759
|
-
r"""GetRayJobEventLog返回参数结构体
|
|
53760
|
-
|
|
53761
|
-
"""
|
|
53762
|
-
|
|
53763
|
-
def __init__(self):
|
|
53764
|
-
r"""
|
|
53765
|
-
:param _TotalCount: 事件总数
|
|
53766
|
-
:type TotalCount: int
|
|
53767
|
-
:param _Events: 事件列表
|
|
53768
|
-
:type Events: list of EventLogItem
|
|
53769
|
-
:param _Page: 当前页码(从1开始)
|
|
53770
|
-
:type Page: int
|
|
53771
|
-
:param _PageSize: 页数
|
|
53772
|
-
:type PageSize: int
|
|
53773
|
-
:param _TotalPages: 总页数
|
|
53774
|
-
:type TotalPages: int
|
|
53775
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
53776
|
-
:type RequestId: str
|
|
53777
|
-
"""
|
|
53778
|
-
self._TotalCount = None
|
|
53779
|
-
self._Events = None
|
|
53780
|
-
self._Page = None
|
|
53781
|
-
self._PageSize = None
|
|
53782
|
-
self._TotalPages = None
|
|
53783
|
-
self._RequestId = None
|
|
53784
|
-
|
|
53785
|
-
@property
|
|
53786
|
-
def TotalCount(self):
|
|
53787
|
-
r"""事件总数
|
|
53788
|
-
:rtype: int
|
|
53789
|
-
"""
|
|
53790
|
-
return self._TotalCount
|
|
53791
|
-
|
|
53792
|
-
@TotalCount.setter
|
|
53793
|
-
def TotalCount(self, TotalCount):
|
|
53794
|
-
self._TotalCount = TotalCount
|
|
53795
|
-
|
|
53796
|
-
@property
|
|
53797
|
-
def Events(self):
|
|
53798
|
-
r"""事件列表
|
|
53799
|
-
:rtype: list of EventLogItem
|
|
53800
|
-
"""
|
|
53801
|
-
return self._Events
|
|
53802
|
-
|
|
53803
|
-
@Events.setter
|
|
53804
|
-
def Events(self, Events):
|
|
53805
|
-
self._Events = Events
|
|
53806
|
-
|
|
53807
|
-
@property
|
|
53808
|
-
def Page(self):
|
|
53809
|
-
r"""当前页码(从1开始)
|
|
53810
|
-
:rtype: int
|
|
53811
|
-
"""
|
|
53812
|
-
return self._Page
|
|
53813
|
-
|
|
53814
|
-
@Page.setter
|
|
53815
|
-
def Page(self, Page):
|
|
53816
|
-
self._Page = Page
|
|
53817
|
-
|
|
53818
|
-
@property
|
|
53819
|
-
def PageSize(self):
|
|
53820
|
-
r"""页数
|
|
53821
|
-
:rtype: int
|
|
53822
|
-
"""
|
|
53823
|
-
return self._PageSize
|
|
53824
|
-
|
|
53825
|
-
@PageSize.setter
|
|
53826
|
-
def PageSize(self, PageSize):
|
|
53827
|
-
self._PageSize = PageSize
|
|
53828
|
-
|
|
53829
|
-
@property
|
|
53830
|
-
def TotalPages(self):
|
|
53831
|
-
r"""总页数
|
|
53832
|
-
:rtype: int
|
|
53833
|
-
"""
|
|
53834
|
-
return self._TotalPages
|
|
53835
|
-
|
|
53836
|
-
@TotalPages.setter
|
|
53837
|
-
def TotalPages(self, TotalPages):
|
|
53838
|
-
self._TotalPages = TotalPages
|
|
53839
|
-
|
|
53840
|
-
@property
|
|
53841
|
-
def RequestId(self):
|
|
53842
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
53843
|
-
:rtype: str
|
|
53844
|
-
"""
|
|
53845
|
-
return self._RequestId
|
|
53846
|
-
|
|
53847
|
-
@RequestId.setter
|
|
53848
|
-
def RequestId(self, RequestId):
|
|
53849
|
-
self._RequestId = RequestId
|
|
53850
|
-
|
|
53851
|
-
|
|
53852
|
-
def _deserialize(self, params):
|
|
53853
|
-
self._TotalCount = params.get("TotalCount")
|
|
53854
|
-
if params.get("Events") is not None:
|
|
53855
|
-
self._Events = []
|
|
53856
|
-
for item in params.get("Events"):
|
|
53857
|
-
obj = EventLogItem()
|
|
53858
|
-
obj._deserialize(item)
|
|
53859
|
-
self._Events.append(obj)
|
|
53860
|
-
self._Page = params.get("Page")
|
|
53861
|
-
self._PageSize = params.get("PageSize")
|
|
53862
|
-
self._TotalPages = params.get("TotalPages")
|
|
53863
|
-
self._RequestId = params.get("RequestId")
|
|
53864
|
-
|
|
53865
|
-
|
|
53866
53561
|
class GetRayJobEventRequest(AbstractModel):
|
|
53867
53562
|
r"""GetRayJobEvent请求参数结构体
|
|
53868
53563
|
|