tencentcloud-sdk-python 3.0.1308__py2.py3-none-any.whl → 3.0.1310__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 -0
- tencentcloud/bi/v20220105/models.py +2 -2
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/models.py +442 -2
- tencentcloud/dbbrain/v20210527/models.py +15 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +28 -0
- tencentcloud/essbasic/v20210526/models.py +209 -0
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ocr/v20181119/models.py +848 -324
- tencentcloud/ocr/v20181119/ocr_client.py +59 -7
- tencentcloud/ses/v20201002/models.py +92 -8
- tencentcloud/ssl/v20191205/models.py +81 -0
- tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- tencentcloud/tccatalog/__init__.py +0 -0
- tencentcloud/tccatalog/v20241024/__init__.py +0 -0
- tencentcloud/tccatalog/v20241024/errorcodes.py +36 -0
- tencentcloud/tccatalog/v20241024/models.py +917 -0
- tencentcloud/tccatalog/v20241024/tccatalog_client.py +118 -0
- tencentcloud/trtc/v20190722/models.py +296 -118
- {tencentcloud_sdk_python-3.0.1308.dist-info → tencentcloud_sdk_python-3.0.1310.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1308.dist-info → tencentcloud_sdk_python-3.0.1310.dist-info}/RECORD +25 -20
- {tencentcloud_sdk_python-3.0.1308.dist-info → tencentcloud_sdk_python-3.0.1310.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1308.dist-info → tencentcloud_sdk_python-3.0.1310.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1308.dist-info → tencentcloud_sdk_python-3.0.1310.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -828,9 +828,11 @@ class CreateRecTaskRequest(AbstractModel):
|
|
828
828
|
• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;
|
829
829
|
• **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);
|
830
830
|
• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
831
|
+
• **16k_zh_en**:中英大模型引擎【大模型版】。当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;
|
831
832
|
• **16k_en:**英语;
|
832
833
|
• **16k_yue:**粤语;
|
833
834
|
• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;
|
835
|
+
• **16k_zh-TW**:中文繁体;
|
834
836
|
• **16k_ja:**日语;
|
835
837
|
• **16k_ko:**韩语;
|
836
838
|
• **16k_vi:**越南语;
|
@@ -1040,9 +1042,11 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1040
1042
|
• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;
|
1041
1043
|
• **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);
|
1042
1044
|
• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
1045
|
+
• **16k_zh_en**:中英大模型引擎【大模型版】。当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;
|
1043
1046
|
• **16k_en:**英语;
|
1044
1047
|
• **16k_yue:**粤语;
|
1045
1048
|
• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;
|
1049
|
+
• **16k_zh-TW**:中文繁体;
|
1046
1050
|
• **16k_ja:**日语;
|
1047
1051
|
• **16k_ko:**韩语;
|
1048
1052
|
• **16k_vi:**越南语;
|
@@ -4822,7 +4822,7 @@ class DescribeUserRoleListResponse(AbstractModel):
|
|
4822
4822
|
:param _ErrorInfo: 自定义错误信息对象
|
4823
4823
|
注意:此字段可能返回 null,表示取不到有效值。
|
4824
4824
|
:type ErrorInfo: :class:`tencentcloud.bi.v20220105.models.ErrorInfo`
|
4825
|
-
:param _Extra:
|
4825
|
+
:param _Extra: 扩展描述信息(提供更多异常信息,用于辅助判断)
|
4826
4826
|
注意:此字段可能返回 null,表示取不到有效值。
|
4827
4827
|
:type Extra: str
|
4828
4828
|
:param _Data: 数据
|
@@ -4854,7 +4854,7 @@ class DescribeUserRoleListResponse(AbstractModel):
|
|
4854
4854
|
|
4855
4855
|
@property
|
4856
4856
|
def Extra(self):
|
4857
|
-
"""
|
4857
|
+
"""扩展描述信息(提供更多异常信息,用于辅助判断)
|
4858
4858
|
注意:此字段可能返回 null,表示取不到有效值。
|
4859
4859
|
:rtype: str
|
4860
4860
|
"""
|
@@ -513,6 +513,29 @@ class CccClient(AbstractClient):
|
|
513
513
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
514
514
|
|
515
515
|
|
516
|
+
def DescribeAICallExtractResult(self, request):
|
517
|
+
"""获取 AI 通话内容提取结果。
|
518
|
+
|
519
|
+
:param request: Request instance for DescribeAICallExtractResult.
|
520
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAICallExtractResultRequest`
|
521
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeAICallExtractResultResponse`
|
522
|
+
|
523
|
+
"""
|
524
|
+
try:
|
525
|
+
params = request._serialize()
|
526
|
+
headers = request.headers
|
527
|
+
body = self.call("DescribeAICallExtractResult", params, headers=headers)
|
528
|
+
response = json.loads(body)
|
529
|
+
model = models.DescribeAICallExtractResultResponse()
|
530
|
+
model._deserialize(response["Response"])
|
531
|
+
return model
|
532
|
+
except Exception as e:
|
533
|
+
if isinstance(e, TencentCloudSDKException):
|
534
|
+
raise
|
535
|
+
else:
|
536
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
537
|
+
|
538
|
+
|
516
539
|
def DescribeActiveCarrierPrivilegeNumber(self, request):
|
517
540
|
"""查询生效运营商白名单规则
|
518
541
|
|
@@ -18,6 +18,282 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AICallExtractConfigElement(AbstractModel):
|
22
|
+
"""AI 通话提取配置项
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _InfoType: 配置项类型,包括
|
29
|
+
Text 文本
|
30
|
+
Selector 选项
|
31
|
+
Boolean 布尔值
|
32
|
+
Number 数字
|
33
|
+
:type InfoType: str
|
34
|
+
:param _InfoName: 配置项名称,不可重复
|
35
|
+
:type InfoName: str
|
36
|
+
:param _InfoContent: 配置项具体内容
|
37
|
+
:type InfoContent: str
|
38
|
+
:param _Examples: 配置项提取内容示例
|
39
|
+
:type Examples: list of str
|
40
|
+
:param _Choices: InfoType 为 Selector,需要配置此字段
|
41
|
+
:type Choices: list of str
|
42
|
+
"""
|
43
|
+
self._InfoType = None
|
44
|
+
self._InfoName = None
|
45
|
+
self._InfoContent = None
|
46
|
+
self._Examples = None
|
47
|
+
self._Choices = None
|
48
|
+
|
49
|
+
@property
|
50
|
+
def InfoType(self):
|
51
|
+
"""配置项类型,包括
|
52
|
+
Text 文本
|
53
|
+
Selector 选项
|
54
|
+
Boolean 布尔值
|
55
|
+
Number 数字
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._InfoType
|
59
|
+
|
60
|
+
@InfoType.setter
|
61
|
+
def InfoType(self, InfoType):
|
62
|
+
self._InfoType = InfoType
|
63
|
+
|
64
|
+
@property
|
65
|
+
def InfoName(self):
|
66
|
+
"""配置项名称,不可重复
|
67
|
+
:rtype: str
|
68
|
+
"""
|
69
|
+
return self._InfoName
|
70
|
+
|
71
|
+
@InfoName.setter
|
72
|
+
def InfoName(self, InfoName):
|
73
|
+
self._InfoName = InfoName
|
74
|
+
|
75
|
+
@property
|
76
|
+
def InfoContent(self):
|
77
|
+
"""配置项具体内容
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._InfoContent
|
81
|
+
|
82
|
+
@InfoContent.setter
|
83
|
+
def InfoContent(self, InfoContent):
|
84
|
+
self._InfoContent = InfoContent
|
85
|
+
|
86
|
+
@property
|
87
|
+
def Examples(self):
|
88
|
+
"""配置项提取内容示例
|
89
|
+
:rtype: list of str
|
90
|
+
"""
|
91
|
+
return self._Examples
|
92
|
+
|
93
|
+
@Examples.setter
|
94
|
+
def Examples(self, Examples):
|
95
|
+
self._Examples = Examples
|
96
|
+
|
97
|
+
@property
|
98
|
+
def Choices(self):
|
99
|
+
"""InfoType 为 Selector,需要配置此字段
|
100
|
+
:rtype: list of str
|
101
|
+
"""
|
102
|
+
return self._Choices
|
103
|
+
|
104
|
+
@Choices.setter
|
105
|
+
def Choices(self, Choices):
|
106
|
+
self._Choices = Choices
|
107
|
+
|
108
|
+
|
109
|
+
def _deserialize(self, params):
|
110
|
+
self._InfoType = params.get("InfoType")
|
111
|
+
self._InfoName = params.get("InfoName")
|
112
|
+
self._InfoContent = params.get("InfoContent")
|
113
|
+
self._Examples = params.get("Examples")
|
114
|
+
self._Choices = params.get("Choices")
|
115
|
+
memeber_set = set(params.keys())
|
116
|
+
for name, value in vars(self).items():
|
117
|
+
property_name = name[1:]
|
118
|
+
if property_name in memeber_set:
|
119
|
+
memeber_set.remove(property_name)
|
120
|
+
if len(memeber_set) > 0:
|
121
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
class AICallExtractResultElement(AbstractModel):
|
126
|
+
"""AI 通话提取结果。
|
127
|
+
|
128
|
+
"""
|
129
|
+
|
130
|
+
def __init__(self):
|
131
|
+
r"""
|
132
|
+
:param _InfoType: 提取信息的类型
|
133
|
+
Text 文本
|
134
|
+
Selector 选项
|
135
|
+
Boolean 布尔值
|
136
|
+
Number 数字
|
137
|
+
:type InfoType: str
|
138
|
+
:param _InfoName: 提取信息的名称
|
139
|
+
:type InfoName: str
|
140
|
+
:param _InfoContent: 提取信息的具体描述
|
141
|
+
:type InfoContent: str
|
142
|
+
:param _Result: 提取信息的具体结果
|
143
|
+
:type Result: :class:`tencentcloud.ccc.v20200210.models.AICallExtractResultInfo`
|
144
|
+
"""
|
145
|
+
self._InfoType = None
|
146
|
+
self._InfoName = None
|
147
|
+
self._InfoContent = None
|
148
|
+
self._Result = None
|
149
|
+
|
150
|
+
@property
|
151
|
+
def InfoType(self):
|
152
|
+
"""提取信息的类型
|
153
|
+
Text 文本
|
154
|
+
Selector 选项
|
155
|
+
Boolean 布尔值
|
156
|
+
Number 数字
|
157
|
+
:rtype: str
|
158
|
+
"""
|
159
|
+
return self._InfoType
|
160
|
+
|
161
|
+
@InfoType.setter
|
162
|
+
def InfoType(self, InfoType):
|
163
|
+
self._InfoType = InfoType
|
164
|
+
|
165
|
+
@property
|
166
|
+
def InfoName(self):
|
167
|
+
"""提取信息的名称
|
168
|
+
:rtype: str
|
169
|
+
"""
|
170
|
+
return self._InfoName
|
171
|
+
|
172
|
+
@InfoName.setter
|
173
|
+
def InfoName(self, InfoName):
|
174
|
+
self._InfoName = InfoName
|
175
|
+
|
176
|
+
@property
|
177
|
+
def InfoContent(self):
|
178
|
+
"""提取信息的具体描述
|
179
|
+
:rtype: str
|
180
|
+
"""
|
181
|
+
return self._InfoContent
|
182
|
+
|
183
|
+
@InfoContent.setter
|
184
|
+
def InfoContent(self, InfoContent):
|
185
|
+
self._InfoContent = InfoContent
|
186
|
+
|
187
|
+
@property
|
188
|
+
def Result(self):
|
189
|
+
"""提取信息的具体结果
|
190
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.AICallExtractResultInfo`
|
191
|
+
"""
|
192
|
+
return self._Result
|
193
|
+
|
194
|
+
@Result.setter
|
195
|
+
def Result(self, Result):
|
196
|
+
self._Result = Result
|
197
|
+
|
198
|
+
|
199
|
+
def _deserialize(self, params):
|
200
|
+
self._InfoType = params.get("InfoType")
|
201
|
+
self._InfoName = params.get("InfoName")
|
202
|
+
self._InfoContent = params.get("InfoContent")
|
203
|
+
if params.get("Result") is not None:
|
204
|
+
self._Result = AICallExtractResultInfo()
|
205
|
+
self._Result._deserialize(params.get("Result"))
|
206
|
+
memeber_set = set(params.keys())
|
207
|
+
for name, value in vars(self).items():
|
208
|
+
property_name = name[1:]
|
209
|
+
if property_name in memeber_set:
|
210
|
+
memeber_set.remove(property_name)
|
211
|
+
if len(memeber_set) > 0:
|
212
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
class AICallExtractResultInfo(AbstractModel):
|
217
|
+
"""AI 通话结果具体信息
|
218
|
+
|
219
|
+
"""
|
220
|
+
|
221
|
+
def __init__(self):
|
222
|
+
r"""
|
223
|
+
:param _Text: 提取的类型是文本
|
224
|
+
:type Text: str
|
225
|
+
:param _Chosen: 提取的内型是选项
|
226
|
+
:type Chosen: list of str
|
227
|
+
:param _Boolean: 提取类型是布尔值
|
228
|
+
:type Boolean: bool
|
229
|
+
:param _Number: 提取类型是数字
|
230
|
+
:type Number: float
|
231
|
+
"""
|
232
|
+
self._Text = None
|
233
|
+
self._Chosen = None
|
234
|
+
self._Boolean = None
|
235
|
+
self._Number = None
|
236
|
+
|
237
|
+
@property
|
238
|
+
def Text(self):
|
239
|
+
"""提取的类型是文本
|
240
|
+
:rtype: str
|
241
|
+
"""
|
242
|
+
return self._Text
|
243
|
+
|
244
|
+
@Text.setter
|
245
|
+
def Text(self, Text):
|
246
|
+
self._Text = Text
|
247
|
+
|
248
|
+
@property
|
249
|
+
def Chosen(self):
|
250
|
+
"""提取的内型是选项
|
251
|
+
:rtype: list of str
|
252
|
+
"""
|
253
|
+
return self._Chosen
|
254
|
+
|
255
|
+
@Chosen.setter
|
256
|
+
def Chosen(self, Chosen):
|
257
|
+
self._Chosen = Chosen
|
258
|
+
|
259
|
+
@property
|
260
|
+
def Boolean(self):
|
261
|
+
"""提取类型是布尔值
|
262
|
+
:rtype: bool
|
263
|
+
"""
|
264
|
+
return self._Boolean
|
265
|
+
|
266
|
+
@Boolean.setter
|
267
|
+
def Boolean(self, Boolean):
|
268
|
+
self._Boolean = Boolean
|
269
|
+
|
270
|
+
@property
|
271
|
+
def Number(self):
|
272
|
+
"""提取类型是数字
|
273
|
+
:rtype: float
|
274
|
+
"""
|
275
|
+
return self._Number
|
276
|
+
|
277
|
+
@Number.setter
|
278
|
+
def Number(self, Number):
|
279
|
+
self._Number = Number
|
280
|
+
|
281
|
+
|
282
|
+
def _deserialize(self, params):
|
283
|
+
self._Text = params.get("Text")
|
284
|
+
self._Chosen = params.get("Chosen")
|
285
|
+
self._Boolean = params.get("Boolean")
|
286
|
+
self._Number = params.get("Number")
|
287
|
+
memeber_set = set(params.keys())
|
288
|
+
for name, value in vars(self).items():
|
289
|
+
property_name = name[1:]
|
290
|
+
if property_name in memeber_set:
|
291
|
+
memeber_set.remove(property_name)
|
292
|
+
if len(memeber_set) > 0:
|
293
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
294
|
+
|
295
|
+
|
296
|
+
|
21
297
|
class AITransferItem(AbstractModel):
|
22
298
|
"""AI转人工配置项
|
23
299
|
|
@@ -2155,6 +2431,8 @@ HoaiMy
|
|
2155
2431
|
:param _WelcomeType: 0:使用welcomeMessage(为空时,被叫先说话;不为空时,机器人先说话)
|
2156
2432
|
1: 使用ai根据prompt自动生成welcomeMessage并先说话
|
2157
2433
|
:type WelcomeType: int
|
2434
|
+
:param _WelcomeMessagePriority: 0: 默认可打断, 1:高优先不可打断
|
2435
|
+
:type WelcomeMessagePriority: int
|
2158
2436
|
:param _MaxDuration: 最大等待时长(毫秒),默认60秒,超过这个时间用户没说话,自动挂断
|
2159
2437
|
:type MaxDuration: int
|
2160
2438
|
:param _Languages: 语音识别支持的语言, 默认是"zh" 中文,
|
@@ -2182,7 +2460,7 @@ HoaiMy
|
|
2182
2460
|
19. Italian = "it" # 意大利语
|
2183
2461
|
20. Russian = "ru" # 俄语
|
2184
2462
|
:type Languages: list of str
|
2185
|
-
:param _InterruptMode: 打断AI说话模式,默认为0,0
|
2463
|
+
:param _InterruptMode: 打断AI说话模式,默认为0,0表示自动打断,1表示不打断。
|
2186
2464
|
:type InterruptMode: int
|
2187
2465
|
:param _InterruptSpeechDuration: InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
|
2188
2466
|
:type InterruptSpeechDuration: int
|
@@ -2284,6 +2562,8 @@ HoaiMy
|
|
2284
2562
|
:type PromptVariables: list of Variable
|
2285
2563
|
:param _VadSilenceTime: 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
|
2286
2564
|
:type VadSilenceTime: int
|
2565
|
+
:param _ExtractConfig: 通话内容提取配置
|
2566
|
+
:type ExtractConfig: list of AICallExtractConfigElement
|
2287
2567
|
"""
|
2288
2568
|
self._SdkAppId = None
|
2289
2569
|
self._Callee = None
|
@@ -2296,6 +2576,7 @@ HoaiMy
|
|
2296
2576
|
self._Callers = None
|
2297
2577
|
self._WelcomeMessage = None
|
2298
2578
|
self._WelcomeType = None
|
2579
|
+
self._WelcomeMessagePriority = None
|
2299
2580
|
self._MaxDuration = None
|
2300
2581
|
self._Languages = None
|
2301
2582
|
self._InterruptMode = None
|
@@ -2310,6 +2591,7 @@ HoaiMy
|
|
2310
2591
|
self._CustomTTSConfig = None
|
2311
2592
|
self._PromptVariables = None
|
2312
2593
|
self._VadSilenceTime = None
|
2594
|
+
self._ExtractConfig = None
|
2313
2595
|
|
2314
2596
|
@property
|
2315
2597
|
def SdkAppId(self):
|
@@ -2497,6 +2779,17 @@ HoaiMy
|
|
2497
2779
|
def WelcomeType(self, WelcomeType):
|
2498
2780
|
self._WelcomeType = WelcomeType
|
2499
2781
|
|
2782
|
+
@property
|
2783
|
+
def WelcomeMessagePriority(self):
|
2784
|
+
"""0: 默认可打断, 1:高优先不可打断
|
2785
|
+
:rtype: int
|
2786
|
+
"""
|
2787
|
+
return self._WelcomeMessagePriority
|
2788
|
+
|
2789
|
+
@WelcomeMessagePriority.setter
|
2790
|
+
def WelcomeMessagePriority(self, WelcomeMessagePriority):
|
2791
|
+
self._WelcomeMessagePriority = WelcomeMessagePriority
|
2792
|
+
|
2500
2793
|
@property
|
2501
2794
|
def MaxDuration(self):
|
2502
2795
|
"""最大等待时长(毫秒),默认60秒,超过这个时间用户没说话,自动挂断
|
@@ -2544,7 +2837,7 @@ HoaiMy
|
|
2544
2837
|
|
2545
2838
|
@property
|
2546
2839
|
def InterruptMode(self):
|
2547
|
-
"""打断AI说话模式,默认为0,0
|
2840
|
+
"""打断AI说话模式,默认为0,0表示自动打断,1表示不打断。
|
2548
2841
|
:rtype: int
|
2549
2842
|
"""
|
2550
2843
|
return self._InterruptMode
|
@@ -2752,6 +3045,17 @@ HoaiMy
|
|
2752
3045
|
def VadSilenceTime(self, VadSilenceTime):
|
2753
3046
|
self._VadSilenceTime = VadSilenceTime
|
2754
3047
|
|
3048
|
+
@property
|
3049
|
+
def ExtractConfig(self):
|
3050
|
+
"""通话内容提取配置
|
3051
|
+
:rtype: list of AICallExtractConfigElement
|
3052
|
+
"""
|
3053
|
+
return self._ExtractConfig
|
3054
|
+
|
3055
|
+
@ExtractConfig.setter
|
3056
|
+
def ExtractConfig(self, ExtractConfig):
|
3057
|
+
self._ExtractConfig = ExtractConfig
|
3058
|
+
|
2755
3059
|
|
2756
3060
|
def _deserialize(self, params):
|
2757
3061
|
self._SdkAppId = params.get("SdkAppId")
|
@@ -2765,6 +3069,7 @@ HoaiMy
|
|
2765
3069
|
self._Callers = params.get("Callers")
|
2766
3070
|
self._WelcomeMessage = params.get("WelcomeMessage")
|
2767
3071
|
self._WelcomeType = params.get("WelcomeType")
|
3072
|
+
self._WelcomeMessagePriority = params.get("WelcomeMessagePriority")
|
2768
3073
|
self._MaxDuration = params.get("MaxDuration")
|
2769
3074
|
self._Languages = params.get("Languages")
|
2770
3075
|
self._InterruptMode = params.get("InterruptMode")
|
@@ -2789,6 +3094,12 @@ HoaiMy
|
|
2789
3094
|
obj._deserialize(item)
|
2790
3095
|
self._PromptVariables.append(obj)
|
2791
3096
|
self._VadSilenceTime = params.get("VadSilenceTime")
|
3097
|
+
if params.get("ExtractConfig") is not None:
|
3098
|
+
self._ExtractConfig = []
|
3099
|
+
for item in params.get("ExtractConfig"):
|
3100
|
+
obj = AICallExtractConfigElement()
|
3101
|
+
obj._deserialize(item)
|
3102
|
+
self._ExtractConfig.append(obj)
|
2792
3103
|
memeber_set = set(params.keys())
|
2793
3104
|
for name, value in vars(self).items():
|
2794
3105
|
property_name = name[1:]
|
@@ -5069,6 +5380,135 @@ class DeleteStaffResponse(AbstractModel):
|
|
5069
5380
|
self._RequestId = params.get("RequestId")
|
5070
5381
|
|
5071
5382
|
|
5383
|
+
class DescribeAICallExtractResultRequest(AbstractModel):
|
5384
|
+
"""DescribeAICallExtractResult请求参数结构体
|
5385
|
+
|
5386
|
+
"""
|
5387
|
+
|
5388
|
+
def __init__(self):
|
5389
|
+
r"""
|
5390
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
5391
|
+
:type SdkAppId: int
|
5392
|
+
:param _SessionId: 会话 ID
|
5393
|
+
:type SessionId: str
|
5394
|
+
:param _StartTime: 查找起始时间
|
5395
|
+
:type StartTime: int
|
5396
|
+
:param _EndTime: 查找结束时间
|
5397
|
+
:type EndTime: int
|
5398
|
+
"""
|
5399
|
+
self._SdkAppId = None
|
5400
|
+
self._SessionId = None
|
5401
|
+
self._StartTime = None
|
5402
|
+
self._EndTime = None
|
5403
|
+
|
5404
|
+
@property
|
5405
|
+
def SdkAppId(self):
|
5406
|
+
"""应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
5407
|
+
:rtype: int
|
5408
|
+
"""
|
5409
|
+
return self._SdkAppId
|
5410
|
+
|
5411
|
+
@SdkAppId.setter
|
5412
|
+
def SdkAppId(self, SdkAppId):
|
5413
|
+
self._SdkAppId = SdkAppId
|
5414
|
+
|
5415
|
+
@property
|
5416
|
+
def SessionId(self):
|
5417
|
+
"""会话 ID
|
5418
|
+
:rtype: str
|
5419
|
+
"""
|
5420
|
+
return self._SessionId
|
5421
|
+
|
5422
|
+
@SessionId.setter
|
5423
|
+
def SessionId(self, SessionId):
|
5424
|
+
self._SessionId = SessionId
|
5425
|
+
|
5426
|
+
@property
|
5427
|
+
def StartTime(self):
|
5428
|
+
"""查找起始时间
|
5429
|
+
:rtype: int
|
5430
|
+
"""
|
5431
|
+
return self._StartTime
|
5432
|
+
|
5433
|
+
@StartTime.setter
|
5434
|
+
def StartTime(self, StartTime):
|
5435
|
+
self._StartTime = StartTime
|
5436
|
+
|
5437
|
+
@property
|
5438
|
+
def EndTime(self):
|
5439
|
+
"""查找结束时间
|
5440
|
+
:rtype: int
|
5441
|
+
"""
|
5442
|
+
return self._EndTime
|
5443
|
+
|
5444
|
+
@EndTime.setter
|
5445
|
+
def EndTime(self, EndTime):
|
5446
|
+
self._EndTime = EndTime
|
5447
|
+
|
5448
|
+
|
5449
|
+
def _deserialize(self, params):
|
5450
|
+
self._SdkAppId = params.get("SdkAppId")
|
5451
|
+
self._SessionId = params.get("SessionId")
|
5452
|
+
self._StartTime = params.get("StartTime")
|
5453
|
+
self._EndTime = params.get("EndTime")
|
5454
|
+
memeber_set = set(params.keys())
|
5455
|
+
for name, value in vars(self).items():
|
5456
|
+
property_name = name[1:]
|
5457
|
+
if property_name in memeber_set:
|
5458
|
+
memeber_set.remove(property_name)
|
5459
|
+
if len(memeber_set) > 0:
|
5460
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5461
|
+
|
5462
|
+
|
5463
|
+
|
5464
|
+
class DescribeAICallExtractResultResponse(AbstractModel):
|
5465
|
+
"""DescribeAICallExtractResult返回参数结构体
|
5466
|
+
|
5467
|
+
"""
|
5468
|
+
|
5469
|
+
def __init__(self):
|
5470
|
+
r"""
|
5471
|
+
:param _ResultList: 结果列表
|
5472
|
+
:type ResultList: list of AICallExtractResultElement
|
5473
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5474
|
+
:type RequestId: str
|
5475
|
+
"""
|
5476
|
+
self._ResultList = None
|
5477
|
+
self._RequestId = None
|
5478
|
+
|
5479
|
+
@property
|
5480
|
+
def ResultList(self):
|
5481
|
+
"""结果列表
|
5482
|
+
:rtype: list of AICallExtractResultElement
|
5483
|
+
"""
|
5484
|
+
return self._ResultList
|
5485
|
+
|
5486
|
+
@ResultList.setter
|
5487
|
+
def ResultList(self, ResultList):
|
5488
|
+
self._ResultList = ResultList
|
5489
|
+
|
5490
|
+
@property
|
5491
|
+
def RequestId(self):
|
5492
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5493
|
+
:rtype: str
|
5494
|
+
"""
|
5495
|
+
return self._RequestId
|
5496
|
+
|
5497
|
+
@RequestId.setter
|
5498
|
+
def RequestId(self, RequestId):
|
5499
|
+
self._RequestId = RequestId
|
5500
|
+
|
5501
|
+
|
5502
|
+
def _deserialize(self, params):
|
5503
|
+
if params.get("ResultList") is not None:
|
5504
|
+
self._ResultList = []
|
5505
|
+
for item in params.get("ResultList"):
|
5506
|
+
obj = AICallExtractResultElement()
|
5507
|
+
obj._deserialize(item)
|
5508
|
+
self._ResultList.append(obj)
|
5509
|
+
self._RequestId = params.get("RequestId")
|
5510
|
+
|
5511
|
+
|
5072
5512
|
class DescribeActiveCarrierPrivilegeNumberRequest(AbstractModel):
|
5073
5513
|
"""DescribeActiveCarrierPrivilegeNumber请求参数结构体
|
5074
5514
|
|
@@ -7262,6 +7262,8 @@ class DescribeRedisTopHotKeysRequest(AbstractModel):
|
|
7262
7262
|
:type InstanceNodeIds: list of str
|
7263
7263
|
:param _Limit: top 数目,默认为20,最大值为100。
|
7264
7264
|
:type Limit: int
|
7265
|
+
:param _Offset: 偏移量,默认为0。
|
7266
|
+
:type Offset: int
|
7265
7267
|
"""
|
7266
7268
|
self._InstanceId = None
|
7267
7269
|
self._StartTime = None
|
@@ -7269,6 +7271,7 @@ class DescribeRedisTopHotKeysRequest(AbstractModel):
|
|
7269
7271
|
self._Product = None
|
7270
7272
|
self._InstanceNodeIds = None
|
7271
7273
|
self._Limit = None
|
7274
|
+
self._Offset = None
|
7272
7275
|
|
7273
7276
|
@property
|
7274
7277
|
def InstanceId(self):
|
@@ -7336,6 +7339,17 @@ class DescribeRedisTopHotKeysRequest(AbstractModel):
|
|
7336
7339
|
def Limit(self, Limit):
|
7337
7340
|
self._Limit = Limit
|
7338
7341
|
|
7342
|
+
@property
|
7343
|
+
def Offset(self):
|
7344
|
+
"""偏移量,默认为0。
|
7345
|
+
:rtype: int
|
7346
|
+
"""
|
7347
|
+
return self._Offset
|
7348
|
+
|
7349
|
+
@Offset.setter
|
7350
|
+
def Offset(self, Offset):
|
7351
|
+
self._Offset = Offset
|
7352
|
+
|
7339
7353
|
|
7340
7354
|
def _deserialize(self, params):
|
7341
7355
|
self._InstanceId = params.get("InstanceId")
|
@@ -7344,6 +7358,7 @@ class DescribeRedisTopHotKeysRequest(AbstractModel):
|
|
7344
7358
|
self._Product = params.get("Product")
|
7345
7359
|
self._InstanceNodeIds = params.get("InstanceNodeIds")
|
7346
7360
|
self._Limit = params.get("Limit")
|
7361
|
+
self._Offset = params.get("Offset")
|
7347
7362
|
memeber_set = set(params.keys())
|
7348
7363
|
for name, value in vars(self).items():
|
7349
7364
|
property_name = name[1:]
|
@@ -1655,6 +1655,34 @@ class EssbasicClient(AbstractClient):
|
|
1655
1655
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1656
1656
|
|
1657
1657
|
|
1658
|
+
def CreateBatchOrganizationAuthorizationUrl(self, request):
|
1659
|
+
"""此接口用于获取企业批量认证链接-单链接包含多条认证流。
|
1660
|
+
|
1661
|
+
前提条件:已调用 [CreateBatchOrganizationRegistrationTasks创建子企业批量认证链接任务接口](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks) 和[查询子企业批量认证链接DescribeBatchOrganizationRegistrationUrls](https://qian.tencent.com/developers/partnerApis/accounts/DescribeBatchOrganizationRegistrationUrls) 确保认证任务已经完成。
|
1662
|
+
|
1663
|
+
异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间。
|
1664
|
+
此链接包含多条认证流程,使用该链接可以批量的对企业进行认证。
|
1665
|
+
|
1666
|
+
:param request: Request instance for CreateBatchOrganizationAuthorizationUrl.
|
1667
|
+
:type request: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchOrganizationAuthorizationUrlRequest`
|
1668
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchOrganizationAuthorizationUrlResponse`
|
1669
|
+
|
1670
|
+
"""
|
1671
|
+
try:
|
1672
|
+
params = request._serialize()
|
1673
|
+
headers = request.headers
|
1674
|
+
body = self.call("CreateBatchOrganizationAuthorizationUrl", params, headers=headers)
|
1675
|
+
response = json.loads(body)
|
1676
|
+
model = models.CreateBatchOrganizationAuthorizationUrlResponse()
|
1677
|
+
model._deserialize(response["Response"])
|
1678
|
+
return model
|
1679
|
+
except Exception as e:
|
1680
|
+
if isinstance(e, TencentCloudSDKException):
|
1681
|
+
raise
|
1682
|
+
else:
|
1683
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1684
|
+
|
1685
|
+
|
1658
1686
|
def CreateBatchOrganizationRegistrationTasks(self, request):
|
1659
1687
|
"""该接口用于批量创建企业认证链接, 可以支持PC浏览器,H5和小程序三种途径。
|
1660
1688
|
此接口为异步提交任务接口,需要与[查询子企业批量认证链接](https://qcloudimg.tencent-cloud.cn/raw/1d3737991b2a3be78002bd78a47d6917.png)配合使用,整体流程如下图。
|