tencentcloud-sdk-python 3.0.1316__py2.py3-none-any.whl → 3.0.1318__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/antiddos/v20200309/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +4 -4
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +10 -10
- tencentcloud/cls/v20201016/models.py +2 -2
- tencentcloud/common/abstract_client.py +37 -18
- tencentcloud/common/profile/client_profile.py +4 -3
- tencentcloud/common/retry.py +62 -0
- tencentcloud/cvm/v20170312/models.py +15 -0
- tencentcloud/emr/v20190103/models.py +16 -1
- tencentcloud/ess/v20201111/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +73 -0
- tencentcloud/ess/v20201111/models.py +695 -97
- tencentcloud/gme/v20180711/models.py +64 -26
- tencentcloud/hunyuan/v20230901/models.py +8 -16
- tencentcloud/lcic/v20220817/lcic_client.py +21 -1
- tencentcloud/lcic/v20220817/models.py +0 -24
- tencentcloud/lighthouse/v20200324/models.py +0 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +2 -1
- tencentcloud/lkeap/v20240522/models.py +826 -39
- tencentcloud/mongodb/v20190725/models.py +155 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +60 -0
- tencentcloud/ocr/v20181119/models.py +42 -4
- tencentcloud/redis/v20180412/models.py +0 -40
- tencentcloud/rum/v20210622/models.py +16 -0
- tencentcloud/smop/v20201203/models.py +0 -34
- tencentcloud/ssl/v20191205/models.py +33 -21
- tencentcloud/teo/v20220901/models.py +2 -4
- tencentcloud/tke/v20180525/models.py +30 -0
- tencentcloud/vms/v20200902/models.py +0 -2
- tencentcloud/vpc/v20170312/errorcodes.py +42 -0
- tencentcloud/vpc/v20170312/models.py +1853 -53
- tencentcloud/vpc/v20170312/vpc_client.py +279 -1
- tencentcloud/waf/v20180125/models.py +30 -0
- tencentcloud/wedata/v20210820/models.py +331 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/RECORD +43 -42
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/top_level.txt +0 -0
@@ -158,27 +158,20 @@ class AppStatisticsItem(AbstractModel):
|
|
158
158
|
def __init__(self):
|
159
159
|
r"""
|
160
160
|
:param _RealtimeSpeechStatisticsItem: 实时语音统计数据
|
161
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
162
161
|
:type RealtimeSpeechStatisticsItem: :class:`tencentcloud.gme.v20180711.models.RealTimeSpeechStatisticsItem`
|
163
162
|
:param _VoiceMessageStatisticsItem: 语音消息统计数据
|
164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
165
163
|
:type VoiceMessageStatisticsItem: :class:`tencentcloud.gme.v20180711.models.VoiceMessageStatisticsItem`
|
166
164
|
:param _VoiceFilterStatisticsItem: 语音过滤统计数据
|
167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
168
165
|
:type VoiceFilterStatisticsItem: :class:`tencentcloud.gme.v20180711.models.VoiceFilterStatisticsItem`
|
169
166
|
:param _Date: 统计时间
|
170
167
|
:type Date: str
|
171
168
|
:param _AudioTextStatisticsItem: 录音转文本用量统计数据
|
172
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
173
169
|
:type AudioTextStatisticsItem: :class:`tencentcloud.gme.v20180711.models.AudioTextStatisticsItem`
|
174
170
|
:param _StreamTextStatisticsItem: 流式转文本用量数据
|
175
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
176
171
|
:type StreamTextStatisticsItem: :class:`tencentcloud.gme.v20180711.models.StreamTextStatisticsItem`
|
177
172
|
:param _OverseaTextStatisticsItem: 海外转文本用量数据
|
178
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
179
173
|
:type OverseaTextStatisticsItem: :class:`tencentcloud.gme.v20180711.models.OverseaTextStatisticsItem`
|
180
174
|
:param _RealtimeTextStatisticsItem: 实时语音转文本用量数据
|
181
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
182
175
|
:type RealtimeTextStatisticsItem: :class:`tencentcloud.gme.v20180711.models.RealtimeTextStatisticsItem`
|
183
176
|
"""
|
184
177
|
self._RealtimeSpeechStatisticsItem = None
|
@@ -193,7 +186,6 @@ class AppStatisticsItem(AbstractModel):
|
|
193
186
|
@property
|
194
187
|
def RealtimeSpeechStatisticsItem(self):
|
195
188
|
"""实时语音统计数据
|
196
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
197
189
|
:rtype: :class:`tencentcloud.gme.v20180711.models.RealTimeSpeechStatisticsItem`
|
198
190
|
"""
|
199
191
|
return self._RealtimeSpeechStatisticsItem
|
@@ -205,7 +197,6 @@ class AppStatisticsItem(AbstractModel):
|
|
205
197
|
@property
|
206
198
|
def VoiceMessageStatisticsItem(self):
|
207
199
|
"""语音消息统计数据
|
208
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
209
200
|
:rtype: :class:`tencentcloud.gme.v20180711.models.VoiceMessageStatisticsItem`
|
210
201
|
"""
|
211
202
|
return self._VoiceMessageStatisticsItem
|
@@ -217,7 +208,6 @@ class AppStatisticsItem(AbstractModel):
|
|
217
208
|
@property
|
218
209
|
def VoiceFilterStatisticsItem(self):
|
219
210
|
"""语音过滤统计数据
|
220
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
221
211
|
:rtype: :class:`tencentcloud.gme.v20180711.models.VoiceFilterStatisticsItem`
|
222
212
|
"""
|
223
213
|
return self._VoiceFilterStatisticsItem
|
@@ -240,7 +230,6 @@ class AppStatisticsItem(AbstractModel):
|
|
240
230
|
@property
|
241
231
|
def AudioTextStatisticsItem(self):
|
242
232
|
"""录音转文本用量统计数据
|
243
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
244
233
|
:rtype: :class:`tencentcloud.gme.v20180711.models.AudioTextStatisticsItem`
|
245
234
|
"""
|
246
235
|
return self._AudioTextStatisticsItem
|
@@ -252,7 +241,6 @@ class AppStatisticsItem(AbstractModel):
|
|
252
241
|
@property
|
253
242
|
def StreamTextStatisticsItem(self):
|
254
243
|
"""流式转文本用量数据
|
255
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
256
244
|
:rtype: :class:`tencentcloud.gme.v20180711.models.StreamTextStatisticsItem`
|
257
245
|
"""
|
258
246
|
return self._StreamTextStatisticsItem
|
@@ -264,7 +252,6 @@ class AppStatisticsItem(AbstractModel):
|
|
264
252
|
@property
|
265
253
|
def OverseaTextStatisticsItem(self):
|
266
254
|
"""海外转文本用量数据
|
267
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
268
255
|
:rtype: :class:`tencentcloud.gme.v20180711.models.OverseaTextStatisticsItem`
|
269
256
|
"""
|
270
257
|
return self._OverseaTextStatisticsItem
|
@@ -276,7 +263,6 @@ class AppStatisticsItem(AbstractModel):
|
|
276
263
|
@property
|
277
264
|
def RealtimeTextStatisticsItem(self):
|
278
265
|
"""实时语音转文本用量数据
|
279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
280
266
|
:rtype: :class:`tencentcloud.gme.v20180711.models.RealtimeTextStatisticsItem`
|
281
267
|
"""
|
282
268
|
return self._RealtimeTextStatisticsItem
|
@@ -752,7 +738,6 @@ class AudioTextStatisticsItem(AbstractModel):
|
|
752
738
|
def __init__(self):
|
753
739
|
r"""
|
754
740
|
:param _Data: 统计值,单位:秒
|
755
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
756
741
|
:type Data: float
|
757
742
|
"""
|
758
743
|
self._Data = None
|
@@ -760,7 +745,6 @@ class AudioTextStatisticsItem(AbstractModel):
|
|
760
745
|
@property
|
761
746
|
def Data(self):
|
762
747
|
"""统计值,单位:秒
|
763
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
764
748
|
:rtype: float
|
765
749
|
"""
|
766
750
|
return self._Data
|
@@ -4523,7 +4507,6 @@ class OverseaTextStatisticsItem(AbstractModel):
|
|
4523
4507
|
def __init__(self):
|
4524
4508
|
r"""
|
4525
4509
|
:param _Data: 统计值,单位:秒
|
4526
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4527
4510
|
:type Data: float
|
4528
4511
|
"""
|
4529
4512
|
self._Data = None
|
@@ -4531,7 +4514,6 @@ class OverseaTextStatisticsItem(AbstractModel):
|
|
4531
4514
|
@property
|
4532
4515
|
def Data(self):
|
4533
4516
|
"""统计值,单位:秒
|
4534
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4535
4517
|
:rtype: float
|
4536
4518
|
"""
|
4537
4519
|
return self._Data
|
@@ -4723,7 +4705,6 @@ class RealtimeTextStatisticsItem(AbstractModel):
|
|
4723
4705
|
def __init__(self):
|
4724
4706
|
r"""
|
4725
4707
|
:param _Data: 统计值,单位:秒
|
4726
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4727
4708
|
:type Data: float
|
4728
4709
|
"""
|
4729
4710
|
self._Data = None
|
@@ -4731,7 +4712,6 @@ class RealtimeTextStatisticsItem(AbstractModel):
|
|
4731
4712
|
@property
|
4732
4713
|
def Data(self):
|
4733
4714
|
"""统计值,单位:秒
|
4734
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4735
4715
|
:rtype: float
|
4736
4716
|
"""
|
4737
4717
|
return self._Data
|
@@ -5439,6 +5419,70 @@ class SceneInfo(AbstractModel):
|
|
5439
5419
|
|
5440
5420
|
"""
|
5441
5421
|
|
5422
|
+
def __init__(self):
|
5423
|
+
r"""
|
5424
|
+
:param _SceneId: 'RealTime','实时语音分析',
|
5425
|
+
'VoiceMessage','语音消息',
|
5426
|
+
'GMECloudApi':'GME云API接口'
|
5427
|
+
:type SceneId: str
|
5428
|
+
:param _Status: 开关状态,true开启/false关闭
|
5429
|
+
:type Status: bool
|
5430
|
+
:param _CallbackUrl: 用户回调地址
|
5431
|
+
:type CallbackUrl: str
|
5432
|
+
"""
|
5433
|
+
self._SceneId = None
|
5434
|
+
self._Status = None
|
5435
|
+
self._CallbackUrl = None
|
5436
|
+
|
5437
|
+
@property
|
5438
|
+
def SceneId(self):
|
5439
|
+
"""'RealTime','实时语音分析',
|
5440
|
+
'VoiceMessage','语音消息',
|
5441
|
+
'GMECloudApi':'GME云API接口'
|
5442
|
+
:rtype: str
|
5443
|
+
"""
|
5444
|
+
return self._SceneId
|
5445
|
+
|
5446
|
+
@SceneId.setter
|
5447
|
+
def SceneId(self, SceneId):
|
5448
|
+
self._SceneId = SceneId
|
5449
|
+
|
5450
|
+
@property
|
5451
|
+
def Status(self):
|
5452
|
+
"""开关状态,true开启/false关闭
|
5453
|
+
:rtype: bool
|
5454
|
+
"""
|
5455
|
+
return self._Status
|
5456
|
+
|
5457
|
+
@Status.setter
|
5458
|
+
def Status(self, Status):
|
5459
|
+
self._Status = Status
|
5460
|
+
|
5461
|
+
@property
|
5462
|
+
def CallbackUrl(self):
|
5463
|
+
"""用户回调地址
|
5464
|
+
:rtype: str
|
5465
|
+
"""
|
5466
|
+
return self._CallbackUrl
|
5467
|
+
|
5468
|
+
@CallbackUrl.setter
|
5469
|
+
def CallbackUrl(self, CallbackUrl):
|
5470
|
+
self._CallbackUrl = CallbackUrl
|
5471
|
+
|
5472
|
+
|
5473
|
+
def _deserialize(self, params):
|
5474
|
+
self._SceneId = params.get("SceneId")
|
5475
|
+
self._Status = params.get("Status")
|
5476
|
+
self._CallbackUrl = params.get("CallbackUrl")
|
5477
|
+
memeber_set = set(params.keys())
|
5478
|
+
for name, value in vars(self).items():
|
5479
|
+
property_name = name[1:]
|
5480
|
+
if property_name in memeber_set:
|
5481
|
+
memeber_set.remove(property_name)
|
5482
|
+
if len(memeber_set) > 0:
|
5483
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5484
|
+
|
5485
|
+
|
5442
5486
|
|
5443
5487
|
class ServiceStatus(AbstractModel):
|
5444
5488
|
"""服务开关状态
|
@@ -5875,7 +5919,6 @@ class StreamTextStatisticsItem(AbstractModel):
|
|
5875
5919
|
def __init__(self):
|
5876
5920
|
r"""
|
5877
5921
|
:param _Data: 统计值,单位:秒
|
5878
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5879
5922
|
:type Data: float
|
5880
5923
|
"""
|
5881
5924
|
self._Data = None
|
@@ -5883,7 +5926,6 @@ class StreamTextStatisticsItem(AbstractModel):
|
|
5883
5926
|
@property
|
5884
5927
|
def Data(self):
|
5885
5928
|
"""统计值,单位:秒
|
5886
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5887
5929
|
:rtype: float
|
5888
5930
|
"""
|
5889
5931
|
return self._Data
|
@@ -5968,10 +6010,8 @@ class Tag(AbstractModel):
|
|
5968
6010
|
def __init__(self):
|
5969
6011
|
r"""
|
5970
6012
|
:param _TagKey: 标签键
|
5971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5972
6013
|
:type TagKey: str
|
5973
6014
|
:param _TagValue: 标签值
|
5974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5975
6015
|
:type TagValue: str
|
5976
6016
|
"""
|
5977
6017
|
self._TagKey = None
|
@@ -5980,7 +6020,6 @@ class Tag(AbstractModel):
|
|
5980
6020
|
@property
|
5981
6021
|
def TagKey(self):
|
5982
6022
|
"""标签键
|
5983
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5984
6023
|
:rtype: str
|
5985
6024
|
"""
|
5986
6025
|
return self._TagKey
|
@@ -5992,7 +6031,6 @@ class Tag(AbstractModel):
|
|
5992
6031
|
@property
|
5993
6032
|
def TagValue(self):
|
5994
6033
|
"""标签值
|
5995
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5996
6034
|
:rtype: str
|
5997
6035
|
"""
|
5998
6036
|
return self._TagValue
|
@@ -89,7 +89,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
89
89
|
|
90
90
|
def __init__(self):
|
91
91
|
r"""
|
92
|
-
:param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-
|
92
|
+
:param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-code、hunyuan-role、hunyuan-functioncall、hunyuan-vision、hunyuan-turbo、hunyuan-turbo-latest、hunyuan-turbo-20241223、hunyuan-turbo-20241120、hunyuan-large、hunyuan-large-longcontext、hunyuan-turbo-vision、hunyuan-standard-vision、hunyuan-lite-vision。
|
93
93
|
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
|
94
94
|
|
95
95
|
注意:
|
@@ -139,13 +139,9 @@ class ChatCompletionsRequest(AbstractModel):
|
|
139
139
|
3. 关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
140
140
|
4. 安全审核能力不属于功能增强范围,不受此字段影响。
|
141
141
|
:type EnableEnhancement: bool
|
142
|
-
:param _Tools: 可调用的工具列表,仅对 hunyuan-
|
142
|
+
:param _Tools: 可调用的工具列表,仅对 hunyuan-turbo、hunyuan-functioncall 模型生效。
|
143
143
|
:type Tools: list of Tool
|
144
|
-
:param _ToolChoice: 工具使用选项,可选值包括 none、auto、custom
|
145
|
-
说明:
|
146
|
-
1. 仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。
|
147
|
-
2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。
|
148
|
-
3. 未设置时,默认值为auto
|
144
|
+
:param _ToolChoice: 工具使用选项,可选值包括 none、auto、custom。说明:1. 仅对 hunyuan-turbo、hunyuan-functioncall 模型生效。2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。3. 未设置时,默认值为auto
|
149
145
|
:type ToolChoice: str
|
150
146
|
:param _CustomTool: 强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填
|
151
147
|
:type CustomTool: :class:`tencentcloud.hunyuan.v20230901.models.Tool`
|
@@ -214,7 +210,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
214
210
|
|
215
211
|
@property
|
216
212
|
def Model(self):
|
217
|
-
"""模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-
|
213
|
+
"""模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-code、hunyuan-role、hunyuan-functioncall、hunyuan-vision、hunyuan-turbo、hunyuan-turbo-latest、hunyuan-turbo-20241223、hunyuan-turbo-20241120、hunyuan-large、hunyuan-large-longcontext、hunyuan-turbo-vision、hunyuan-standard-vision、hunyuan-lite-vision。
|
218
214
|
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
|
219
215
|
|
220
216
|
注意:
|
@@ -327,7 +323,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
327
323
|
|
328
324
|
@property
|
329
325
|
def Tools(self):
|
330
|
-
"""可调用的工具列表,仅对 hunyuan-
|
326
|
+
"""可调用的工具列表,仅对 hunyuan-turbo、hunyuan-functioncall 模型生效。
|
331
327
|
:rtype: list of Tool
|
332
328
|
"""
|
333
329
|
return self._Tools
|
@@ -338,11 +334,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
338
334
|
|
339
335
|
@property
|
340
336
|
def ToolChoice(self):
|
341
|
-
"""工具使用选项,可选值包括 none、auto、custom
|
342
|
-
说明:
|
343
|
-
1. 仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。
|
344
|
-
2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。
|
345
|
-
3. 未设置时,默认值为auto
|
337
|
+
"""工具使用选项,可选值包括 none、auto、custom。说明:1. 仅对 hunyuan-turbo、hunyuan-functioncall 模型生效。2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。3. 未设置时,默认值为auto
|
346
338
|
:rtype: str
|
347
339
|
"""
|
348
340
|
return self._ToolChoice
|
@@ -1939,7 +1931,7 @@ class FilesUploadsRequest(AbstractModel):
|
|
1939
1931
|
r"""
|
1940
1932
|
:param _Name: 文件名。
|
1941
1933
|
:type Name: str
|
1942
|
-
:param _URL:
|
1934
|
+
:param _URL: 文件链接。目前支持 csv, doc, docx, pdf, ppt, pptx, txt, xls, xlsx 格式,单文件大小限制为100M。
|
1943
1935
|
:type URL: str
|
1944
1936
|
"""
|
1945
1937
|
self._Name = None
|
@@ -1958,7 +1950,7 @@ class FilesUploadsRequest(AbstractModel):
|
|
1958
1950
|
|
1959
1951
|
@property
|
1960
1952
|
def URL(self):
|
1961
|
-
"""
|
1953
|
+
"""文件链接。目前支持 csv, doc, docx, pdf, ppt, pptx, txt, xls, xlsx 格式,单文件大小限制为100M。
|
1962
1954
|
:rtype: str
|
1963
1955
|
"""
|
1964
1956
|
return self._URL
|
@@ -211,7 +211,27 @@ class LcicClient(AbstractClient):
|
|
211
211
|
|
212
212
|
|
213
213
|
def BindDocumentToRoom(self, request):
|
214
|
-
"""
|
214
|
+
"""功能概述
|
215
|
+
本接口提供教学场景下的课程文档预绑定能力,支持将课件课堂ID进行关联映射,实现课件的自动化预加载。
|
216
|
+
|
217
|
+
应用场景建议
|
218
|
+
|
219
|
+
绑定时机
|
220
|
+
推荐在创建课堂预约阶段同步完成文档绑定操作,确保课件资源在课堂开始前完成上传。
|
221
|
+
|
222
|
+
接口限制与频控策略
|
223
|
+
|
224
|
+
频控维度
|
225
|
+
开发者账号维度限频
|
226
|
+
默认频控阈值为20 QPS(每秒请求次数)
|
227
|
+
|
228
|
+
最佳实践建议
|
229
|
+
|
230
|
+
重试策略
|
231
|
+
当触发限频错误时,建议采用以下策略:
|
232
|
+
启用退避重试机制(建议使用指数退避算法)
|
233
|
+
初始重试间隔不低于500ms
|
234
|
+
最大重试次数不超过3次
|
215
235
|
|
216
236
|
:param request: Request instance for BindDocumentToRoom.
|
217
237
|
:type request: :class:`tencentcloud.lcic.v20220817.models.BindDocumentToRoomRequest`
|
@@ -1268,7 +1268,6 @@ class BatchRegisterResponse(AbstractModel):
|
|
1268
1268
|
def __init__(self):
|
1269
1269
|
r"""
|
1270
1270
|
:param _Users: 注册成功的用户列表
|
1271
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1272
1271
|
:type Users: list of BatchUserInfo
|
1273
1272
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1274
1273
|
:type RequestId: str
|
@@ -1279,7 +1278,6 @@ class BatchRegisterResponse(AbstractModel):
|
|
1279
1278
|
@property
|
1280
1279
|
def Users(self):
|
1281
1280
|
"""注册成功的用户列表
|
1282
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1283
1281
|
:rtype: list of BatchUserInfo
|
1284
1282
|
"""
|
1285
1283
|
return self._Users
|
@@ -5950,7 +5948,6 @@ class DescribeRoomForbiddenUserResponse(AbstractModel):
|
|
5950
5948
|
def __init__(self):
|
5951
5949
|
r"""
|
5952
5950
|
:param _MutedAccountList: 禁言用户信息数组,内容包括被禁言的成员 ID,及其被禁言到的时间(使用 UTC 时间,即世界协调时间)
|
5953
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5954
5951
|
:type MutedAccountList: list of MutedAccountList
|
5955
5952
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5956
5953
|
:type RequestId: str
|
@@ -5961,7 +5958,6 @@ class DescribeRoomForbiddenUserResponse(AbstractModel):
|
|
5961
5958
|
@property
|
5962
5959
|
def MutedAccountList(self):
|
5963
5960
|
"""禁言用户信息数组,内容包括被禁言的成员 ID,及其被禁言到的时间(使用 UTC 时间,即世界协调时间)
|
5964
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5965
5961
|
:rtype: list of MutedAccountList
|
5966
5962
|
"""
|
5967
5963
|
return self._MutedAccountList
|
@@ -6671,10 +6667,8 @@ class DescribeRoomStatisticsResponse(AbstractModel):
|
|
6671
6667
|
:param _MemberRecords: 成员记录列表。
|
6672
6668
|
:type MemberRecords: list of MemberRecord
|
6673
6669
|
:param _RealStartTime: 秒级unix时间戳,实际房间开始时间。
|
6674
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6675
6670
|
:type RealStartTime: int
|
6676
6671
|
:param _RealEndTime: 秒级unix时间戳,实际房间结束时间。
|
6677
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6678
6672
|
:type RealEndTime: int
|
6679
6673
|
:param _MessageCount: 房间消息总数。
|
6680
6674
|
:type MessageCount: int
|
@@ -6740,7 +6734,6 @@ class DescribeRoomStatisticsResponse(AbstractModel):
|
|
6740
6734
|
@property
|
6741
6735
|
def RealStartTime(self):
|
6742
6736
|
"""秒级unix时间戳,实际房间开始时间。
|
6743
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6744
6737
|
:rtype: int
|
6745
6738
|
"""
|
6746
6739
|
return self._RealStartTime
|
@@ -6752,7 +6745,6 @@ class DescribeRoomStatisticsResponse(AbstractModel):
|
|
6752
6745
|
@property
|
6753
6746
|
def RealEndTime(self):
|
6754
6747
|
"""秒级unix时间戳,实际房间结束时间。
|
6755
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6756
6748
|
:rtype: int
|
6757
6749
|
"""
|
6758
6750
|
return self._RealEndTime
|
@@ -6888,7 +6880,6 @@ class DescribeScoreListResponse(AbstractModel):
|
|
6888
6880
|
:param _Total: 总数
|
6889
6881
|
:type Total: int
|
6890
6882
|
:param _Scores: 课堂评分列表
|
6891
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6892
6883
|
:type Scores: list of ClassScoreItem
|
6893
6884
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6894
6885
|
:type RequestId: str
|
@@ -6911,7 +6902,6 @@ class DescribeScoreListResponse(AbstractModel):
|
|
6911
6902
|
@property
|
6912
6903
|
def Scores(self):
|
6913
6904
|
"""课堂评分列表
|
6914
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6915
6905
|
:rtype: list of ClassScoreItem
|
6916
6906
|
"""
|
6917
6907
|
return self._Scores
|
@@ -7019,7 +7009,6 @@ class DescribeSdkAppIdUsersResponse(AbstractModel):
|
|
7019
7009
|
:param _Total: 用户总数
|
7020
7010
|
:type Total: int
|
7021
7011
|
:param _Users: 当前获取用户信息数组列表
|
7022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7023
7012
|
:type Users: list of UserInfo
|
7024
7013
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7025
7014
|
:type RequestId: str
|
@@ -7042,7 +7031,6 @@ class DescribeSdkAppIdUsersResponse(AbstractModel):
|
|
7042
7031
|
@property
|
7043
7032
|
def Users(self):
|
7044
7033
|
"""当前获取用户信息数组列表
|
7045
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7046
7034
|
:rtype: list of UserInfo
|
7047
7035
|
"""
|
7048
7036
|
return self._Users
|
@@ -7297,7 +7285,6 @@ class DescribeUserResponse(AbstractModel):
|
|
7297
7285
|
:param _Avatar: 用户头像Url。
|
7298
7286
|
:type Avatar: str
|
7299
7287
|
:param _OriginId: 用户在客户系统的Id
|
7300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7301
7288
|
:type OriginId: str
|
7302
7289
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7303
7290
|
:type RequestId: str
|
@@ -7356,7 +7343,6 @@ class DescribeUserResponse(AbstractModel):
|
|
7356
7343
|
@property
|
7357
7344
|
def OriginId(self):
|
7358
7345
|
"""用户在客户系统的Id
|
7359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7360
7346
|
:rtype: str
|
7361
7347
|
"""
|
7362
7348
|
return self._OriginId
|
@@ -8331,7 +8317,6 @@ class GetRoomEventResponse(AbstractModel):
|
|
8331
8317
|
:param _Total: 该房间的事件总数,keyword搜索不影响该值。
|
8332
8318
|
:type Total: int
|
8333
8319
|
:param _Events: 详细事件内容。包含相应的类型、发生的时间戳。
|
8334
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8335
8320
|
:type Events: list of EventInfo
|
8336
8321
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8337
8322
|
:type RequestId: str
|
@@ -8354,7 +8339,6 @@ class GetRoomEventResponse(AbstractModel):
|
|
8354
8339
|
@property
|
8355
8340
|
def Events(self):
|
8356
8341
|
"""详细事件内容。包含相应的类型、发生的时间戳。
|
8357
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8358
8342
|
:rtype: list of EventInfo
|
8359
8343
|
"""
|
8360
8344
|
return self._Events
|
@@ -8737,16 +8721,12 @@ class GetWatermarkResponse(AbstractModel):
|
|
8737
8721
|
def __init__(self):
|
8738
8722
|
r"""
|
8739
8723
|
:param _TeacherLogo: 老师视频区域的水印参数配置
|
8740
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8741
8724
|
:type TeacherLogo: :class:`tencentcloud.lcic.v20220817.models.WatermarkConfig`
|
8742
8725
|
:param _BoardLogo: 白板区域的水印参数配置
|
8743
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8744
8726
|
:type BoardLogo: :class:`tencentcloud.lcic.v20220817.models.WatermarkConfig`
|
8745
8727
|
:param _BackgroundPicture: 背景图片配置
|
8746
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8747
8728
|
:type BackgroundPicture: :class:`tencentcloud.lcic.v20220817.models.BackgroundPictureConfig`
|
8748
8729
|
:param _Text: 文字水印配置
|
8749
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8750
8730
|
:type Text: :class:`tencentcloud.lcic.v20220817.models.TextMarkConfig`
|
8751
8731
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8752
8732
|
:type RequestId: str
|
@@ -8760,7 +8740,6 @@ class GetWatermarkResponse(AbstractModel):
|
|
8760
8740
|
@property
|
8761
8741
|
def TeacherLogo(self):
|
8762
8742
|
"""老师视频区域的水印参数配置
|
8763
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8764
8743
|
:rtype: :class:`tencentcloud.lcic.v20220817.models.WatermarkConfig`
|
8765
8744
|
"""
|
8766
8745
|
return self._TeacherLogo
|
@@ -8772,7 +8751,6 @@ class GetWatermarkResponse(AbstractModel):
|
|
8772
8751
|
@property
|
8773
8752
|
def BoardLogo(self):
|
8774
8753
|
"""白板区域的水印参数配置
|
8775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8776
8754
|
:rtype: :class:`tencentcloud.lcic.v20220817.models.WatermarkConfig`
|
8777
8755
|
"""
|
8778
8756
|
return self._BoardLogo
|
@@ -8784,7 +8762,6 @@ class GetWatermarkResponse(AbstractModel):
|
|
8784
8762
|
@property
|
8785
8763
|
def BackgroundPicture(self):
|
8786
8764
|
"""背景图片配置
|
8787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8788
8765
|
:rtype: :class:`tencentcloud.lcic.v20220817.models.BackgroundPictureConfig`
|
8789
8766
|
"""
|
8790
8767
|
return self._BackgroundPicture
|
@@ -8796,7 +8773,6 @@ class GetWatermarkResponse(AbstractModel):
|
|
8796
8773
|
@property
|
8797
8774
|
def Text(self):
|
8798
8775
|
"""文字水印配置
|
8799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8800
8776
|
:rtype: :class:`tencentcloud.lcic.v20220817.models.TextMarkConfig`
|
8801
8777
|
"""
|
8802
8778
|
return self._Text
|
@@ -13216,7 +13216,6 @@ class InstancePriceDetail(AbstractModel):
|
|
13216
13216
|
注意:此字段可能返回 null,表示取不到有效值。
|
13217
13217
|
:type InstancePrice: :class:`tencentcloud.lighthouse.v20200324.models.InstancePrice`
|
13218
13218
|
:param _DiscountDetail: 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。
|
13219
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13220
13219
|
:type DiscountDetail: list of DiscountDetail
|
13221
13220
|
"""
|
13222
13221
|
self._InstanceId = None
|
@@ -13250,7 +13249,6 @@ class InstancePriceDetail(AbstractModel):
|
|
13250
13249
|
@property
|
13251
13250
|
def DiscountDetail(self):
|
13252
13251
|
"""折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。
|
13253
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13254
13252
|
:rtype: list of DiscountDetail
|
13255
13253
|
"""
|
13256
13254
|
return self._DiscountDetail
|
@@ -13426,16 +13424,12 @@ class InstanceViolationDetail(AbstractModel):
|
|
13426
13424
|
def __init__(self):
|
13427
13425
|
r"""
|
13428
13426
|
:param _Source: 来源:RESTRICT:封禁、FREEZW:冻结
|
13429
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13430
13427
|
:type Source: str
|
13431
13428
|
:param _State: 是否允许自助解封:1是,2否
|
13432
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13433
13429
|
:type State: str
|
13434
13430
|
:param _Reason: 违规类型
|
13435
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13436
13431
|
:type Reason: str
|
13437
13432
|
:param _Content: 违规内容(URL、关联域名)
|
13438
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13439
13433
|
:type Content: str
|
13440
13434
|
"""
|
13441
13435
|
self._Source = None
|
@@ -13446,7 +13440,6 @@ class InstanceViolationDetail(AbstractModel):
|
|
13446
13440
|
@property
|
13447
13441
|
def Source(self):
|
13448
13442
|
""" 来源:RESTRICT:封禁、FREEZW:冻结
|
13449
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13450
13443
|
:rtype: str
|
13451
13444
|
"""
|
13452
13445
|
return self._Source
|
@@ -13458,7 +13451,6 @@ class InstanceViolationDetail(AbstractModel):
|
|
13458
13451
|
@property
|
13459
13452
|
def State(self):
|
13460
13453
|
"""是否允许自助解封:1是,2否
|
13461
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13462
13454
|
:rtype: str
|
13463
13455
|
"""
|
13464
13456
|
return self._State
|
@@ -13470,7 +13462,6 @@ class InstanceViolationDetail(AbstractModel):
|
|
13470
13462
|
@property
|
13471
13463
|
def Reason(self):
|
13472
13464
|
"""违规类型
|
13473
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13474
13465
|
:rtype: str
|
13475
13466
|
"""
|
13476
13467
|
return self._Reason
|
@@ -13482,7 +13473,6 @@ class InstanceViolationDetail(AbstractModel):
|
|
13482
13473
|
@property
|
13483
13474
|
def Content(self):
|
13484
13475
|
"""违规内容(URL、关联域名)
|
13485
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
13486
13476
|
:rtype: str
|
13487
13477
|
"""
|
13488
13478
|
return self._Content
|
@@ -45,7 +45,8 @@ class LkeapClient(AbstractClient):
|
|
45
45
|
|
46
46
|
本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价。
|
47
47
|
- 标准计费(2025年2月26日起生效)
|
48
|
-
|
48
|
+
|
49
|
+

|
49
50
|
|
50
51
|
### Openai兼容协议接口
|
51
52
|
知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1772/115968)。
|