tencentcloud-sdk-python 3.0.1362__py2.py3-none-any.whl → 3.0.1364__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/batch/v20170312/models.py +12 -18
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +199 -0
- tencentcloud/cbs/v20170312/models.py +26 -12
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +3 -0
- tencentcloud/ccc/v20200210/models.py +162 -60
- tencentcloud/cdwch/v20200915/models.py +0 -12
- tencentcloud/cdwpg/v20201230/models.py +0 -12
- tencentcloud/cfw/v20190904/models.py +115 -12
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +262 -366
- tencentcloud/cls/v20201016/models.py +35 -0
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/cvm/v20170312/cvm_client.py +7 -1
- tencentcloud/cvm/v20170312/errorcodes.py +1 -1
- tencentcloud/cvm/v20170312/models.py +88 -68
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +318 -0
- tencentcloud/dc/v20180410/models.py +2 -2
- tencentcloud/dlc/v20210125/models.py +0 -16
- tencentcloud/dts/v20211206/models.py +11 -7
- tencentcloud/es/v20250101/models.py +2 -6
- tencentcloud/ess/v20201111/models.py +31 -12
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +0 -1
- tencentcloud/gwlb/v20240906/models.py +4 -4
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +538 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/lcic/v20220817/models.py +30 -0
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -2
- tencentcloud/lke/v20231130/models.py +167 -6
- tencentcloud/lkeap/v20240522/lkeap_client.py +2 -2
- tencentcloud/lkeap/v20240522/models.py +4 -4
- tencentcloud/monitor/v20180724/models.py +169 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +20 -20
- tencentcloud/tcbr/v20220217/models.py +30 -0
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +8 -112
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +4 -3
- tencentcloud/vpc/v20170312/models.py +710 -0
- tencentcloud/vpc/v20170312/vpc_client.py +116 -1
- tencentcloud/vrs/v20200824/models.py +17 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +3372 -240
- tencentcloud/waf/v20180125/waf_client.py +138 -0
- tencentcloud/wedata/v20210820/models.py +55 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/RECORD +68 -68
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,61 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AgentDebugInfo(AbstractModel):
|
22
|
+
"""Agent调试信息
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Input: 工具、大模型的输入信息,json
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
:type Input: str
|
31
|
+
:param _Output: 工具、大模型的输出信息,json
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
:type Output: str
|
34
|
+
"""
|
35
|
+
self._Input = None
|
36
|
+
self._Output = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def Input(self):
|
40
|
+
"""工具、大模型的输入信息,json
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42
|
+
:rtype: str
|
43
|
+
"""
|
44
|
+
return self._Input
|
45
|
+
|
46
|
+
@Input.setter
|
47
|
+
def Input(self, Input):
|
48
|
+
self._Input = Input
|
49
|
+
|
50
|
+
@property
|
51
|
+
def Output(self):
|
52
|
+
"""工具、大模型的输出信息,json
|
53
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54
|
+
:rtype: str
|
55
|
+
"""
|
56
|
+
return self._Output
|
57
|
+
|
58
|
+
@Output.setter
|
59
|
+
def Output(self, Output):
|
60
|
+
self._Output = Output
|
61
|
+
|
62
|
+
|
63
|
+
def _deserialize(self, params):
|
64
|
+
self._Input = params.get("Input")
|
65
|
+
self._Output = params.get("Output")
|
66
|
+
memeber_set = set(params.keys())
|
67
|
+
for name, value in vars(self).items():
|
68
|
+
property_name = name[1:]
|
69
|
+
if property_name in memeber_set:
|
70
|
+
memeber_set.remove(property_name)
|
71
|
+
if len(memeber_set) > 0:
|
72
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
73
|
+
|
74
|
+
|
75
|
+
|
21
76
|
class AgentProcedure(AbstractModel):
|
22
77
|
"""思考事件过程信息
|
23
78
|
|
@@ -4265,7 +4320,7 @@ class CreateReleaseRequest(AbstractModel):
|
|
4265
4320
|
|
4266
4321
|
def __init__(self):
|
4267
4322
|
r"""
|
4268
|
-
:param _BotBizId:
|
4323
|
+
:param _BotBizId: 应用ID
|
4269
4324
|
:type BotBizId: str
|
4270
4325
|
:param _Desc: 发布描述
|
4271
4326
|
:type Desc: str
|
@@ -4275,7 +4330,7 @@ class CreateReleaseRequest(AbstractModel):
|
|
4275
4330
|
|
4276
4331
|
@property
|
4277
4332
|
def BotBizId(self):
|
4278
|
-
"""
|
4333
|
+
"""应用ID
|
4279
4334
|
:rtype: str
|
4280
4335
|
"""
|
4281
4336
|
return self._BotBizId
|
@@ -10201,6 +10256,44 @@ class ExportUnsatisfiedReplyResponse(AbstractModel):
|
|
10201
10256
|
self._RequestId = params.get("RequestId")
|
10202
10257
|
|
10203
10258
|
|
10259
|
+
class ExtraInfo(AbstractModel):
|
10260
|
+
"""扩展信息
|
10261
|
+
|
10262
|
+
"""
|
10263
|
+
|
10264
|
+
def __init__(self):
|
10265
|
+
r"""
|
10266
|
+
:param _EChartsInfo: ECharts信息
|
10267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10268
|
+
:type EChartsInfo: list of str
|
10269
|
+
"""
|
10270
|
+
self._EChartsInfo = None
|
10271
|
+
|
10272
|
+
@property
|
10273
|
+
def EChartsInfo(self):
|
10274
|
+
"""ECharts信息
|
10275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10276
|
+
:rtype: list of str
|
10277
|
+
"""
|
10278
|
+
return self._EChartsInfo
|
10279
|
+
|
10280
|
+
@EChartsInfo.setter
|
10281
|
+
def EChartsInfo(self, EChartsInfo):
|
10282
|
+
self._EChartsInfo = EChartsInfo
|
10283
|
+
|
10284
|
+
|
10285
|
+
def _deserialize(self, params):
|
10286
|
+
self._EChartsInfo = params.get("EChartsInfo")
|
10287
|
+
memeber_set = set(params.keys())
|
10288
|
+
for name, value in vars(self).items():
|
10289
|
+
property_name = name[1:]
|
10290
|
+
if property_name in memeber_set:
|
10291
|
+
memeber_set.remove(property_name)
|
10292
|
+
if len(memeber_set) > 0:
|
10293
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10294
|
+
|
10295
|
+
|
10296
|
+
|
10204
10297
|
class FileInfo(AbstractModel):
|
10205
10298
|
"""实时上传的文件信息
|
10206
10299
|
|
@@ -11577,6 +11670,8 @@ class GetMsgRecordRequest(AbstractModel):
|
|
11577
11670
|
:type BotAppKey: str
|
11578
11671
|
:param _Scene: 场景, 体验: 1; 正式: 2
|
11579
11672
|
:type Scene: int
|
11673
|
+
:param _MidRecordId: 传该值,代表拉取该记录id的前后总共count条消息记录
|
11674
|
+
:type MidRecordId: str
|
11580
11675
|
"""
|
11581
11676
|
self._Type = None
|
11582
11677
|
self._Count = None
|
@@ -11584,6 +11679,7 @@ class GetMsgRecordRequest(AbstractModel):
|
|
11584
11679
|
self._LastRecordId = None
|
11585
11680
|
self._BotAppKey = None
|
11586
11681
|
self._Scene = None
|
11682
|
+
self._MidRecordId = None
|
11587
11683
|
|
11588
11684
|
@property
|
11589
11685
|
def Type(self):
|
@@ -11651,6 +11747,17 @@ class GetMsgRecordRequest(AbstractModel):
|
|
11651
11747
|
def Scene(self, Scene):
|
11652
11748
|
self._Scene = Scene
|
11653
11749
|
|
11750
|
+
@property
|
11751
|
+
def MidRecordId(self):
|
11752
|
+
"""传该值,代表拉取该记录id的前后总共count条消息记录
|
11753
|
+
:rtype: str
|
11754
|
+
"""
|
11755
|
+
return self._MidRecordId
|
11756
|
+
|
11757
|
+
@MidRecordId.setter
|
11758
|
+
def MidRecordId(self, MidRecordId):
|
11759
|
+
self._MidRecordId = MidRecordId
|
11760
|
+
|
11654
11761
|
|
11655
11762
|
def _deserialize(self, params):
|
11656
11763
|
self._Type = params.get("Type")
|
@@ -11659,6 +11766,7 @@ class GetMsgRecordRequest(AbstractModel):
|
|
11659
11766
|
self._LastRecordId = params.get("LastRecordId")
|
11660
11767
|
self._BotAppKey = params.get("BotAppKey")
|
11661
11768
|
self._Scene = params.get("Scene")
|
11769
|
+
self._MidRecordId = params.get("MidRecordId")
|
11662
11770
|
memeber_set = set(params.keys())
|
11663
11771
|
for name, value in vars(self).items():
|
11664
11772
|
property_name = name[1:]
|
@@ -15160,6 +15268,8 @@ class ListDocItem(AbstractModel):
|
|
15160
15268
|
:param _CreateTime: 文档创建落库时间
|
15161
15269
|
注意:此字段可能返回 null,表示取不到有效值。
|
15162
15270
|
:type CreateTime: str
|
15271
|
+
:param _CateBizId: 文档所属分类ID
|
15272
|
+
:type CateBizId: str
|
15163
15273
|
"""
|
15164
15274
|
self._DocBizId = None
|
15165
15275
|
self._FileName = None
|
@@ -15192,6 +15302,7 @@ class ListDocItem(AbstractModel):
|
|
15192
15302
|
self._IsAllowRetry = None
|
15193
15303
|
self._Processing = None
|
15194
15304
|
self._CreateTime = None
|
15305
|
+
self._CateBizId = None
|
15195
15306
|
|
15196
15307
|
@property
|
15197
15308
|
def DocBizId(self):
|
@@ -15565,6 +15676,17 @@ class ListDocItem(AbstractModel):
|
|
15565
15676
|
def CreateTime(self, CreateTime):
|
15566
15677
|
self._CreateTime = CreateTime
|
15567
15678
|
|
15679
|
+
@property
|
15680
|
+
def CateBizId(self):
|
15681
|
+
"""文档所属分类ID
|
15682
|
+
:rtype: str
|
15683
|
+
"""
|
15684
|
+
return self._CateBizId
|
15685
|
+
|
15686
|
+
@CateBizId.setter
|
15687
|
+
def CateBizId(self, CateBizId):
|
15688
|
+
self._CateBizId = CateBizId
|
15689
|
+
|
15568
15690
|
|
15569
15691
|
def _deserialize(self, params):
|
15570
15692
|
self._DocBizId = params.get("DocBizId")
|
@@ -15603,6 +15725,7 @@ class ListDocItem(AbstractModel):
|
|
15603
15725
|
self._IsAllowRetry = params.get("IsAllowRetry")
|
15604
15726
|
self._Processing = params.get("Processing")
|
15605
15727
|
self._CreateTime = params.get("CreateTime")
|
15728
|
+
self._CateBizId = params.get("CateBizId")
|
15606
15729
|
memeber_set = set(params.keys())
|
15607
15730
|
for name, value in vars(self).items():
|
15608
15731
|
property_name = name[1:]
|
@@ -17106,7 +17229,7 @@ class ListReleaseConfigPreviewRequest(AbstractModel):
|
|
17106
17229
|
|
17107
17230
|
def __init__(self):
|
17108
17231
|
r"""
|
17109
|
-
:param _BotBizId:
|
17232
|
+
:param _BotBizId: 应用ID
|
17110
17233
|
:type BotBizId: str
|
17111
17234
|
:param _PageNumber: 页码
|
17112
17235
|
:type PageNumber: int
|
@@ -17137,7 +17260,7 @@ class ListReleaseConfigPreviewRequest(AbstractModel):
|
|
17137
17260
|
|
17138
17261
|
@property
|
17139
17262
|
def BotBizId(self):
|
17140
|
-
"""
|
17263
|
+
"""应用ID
|
17141
17264
|
:rtype: str
|
17142
17265
|
"""
|
17143
17266
|
return self._BotBizId
|
@@ -20485,6 +20608,9 @@ class MsgRecord(AbstractModel):
|
|
20485
20608
|
:param _AgentThought: Agent的思考过程信息
|
20486
20609
|
注意:此字段可能返回 null,表示取不到有效值。
|
20487
20610
|
:type AgentThought: :class:`tencentcloud.lke.v20231130.models.AgentThought`
|
20611
|
+
:param _ExtraInfo: 扩展信息
|
20612
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20613
|
+
:type ExtraInfo: :class:`tencentcloud.lke.v20231130.models.ExtraInfo`
|
20488
20614
|
"""
|
20489
20615
|
self._Content = None
|
20490
20616
|
self._SessionId = None
|
@@ -20510,6 +20636,7 @@ class MsgRecord(AbstractModel):
|
|
20510
20636
|
self._FileInfos = None
|
20511
20637
|
self._QuoteInfos = None
|
20512
20638
|
self._AgentThought = None
|
20639
|
+
self._ExtraInfo = None
|
20513
20640
|
|
20514
20641
|
@property
|
20515
20642
|
def Content(self):
|
@@ -20799,6 +20926,18 @@ class MsgRecord(AbstractModel):
|
|
20799
20926
|
def AgentThought(self, AgentThought):
|
20800
20927
|
self._AgentThought = AgentThought
|
20801
20928
|
|
20929
|
+
@property
|
20930
|
+
def ExtraInfo(self):
|
20931
|
+
"""扩展信息
|
20932
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20933
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.ExtraInfo`
|
20934
|
+
"""
|
20935
|
+
return self._ExtraInfo
|
20936
|
+
|
20937
|
+
@ExtraInfo.setter
|
20938
|
+
def ExtraInfo(self, ExtraInfo):
|
20939
|
+
self._ExtraInfo = ExtraInfo
|
20940
|
+
|
20802
20941
|
|
20803
20942
|
def _deserialize(self, params):
|
20804
20943
|
self._Content = params.get("Content")
|
@@ -20846,6 +20985,9 @@ class MsgRecord(AbstractModel):
|
|
20846
20985
|
if params.get("AgentThought") is not None:
|
20847
20986
|
self._AgentThought = AgentThought()
|
20848
20987
|
self._AgentThought._deserialize(params.get("AgentThought"))
|
20988
|
+
if params.get("ExtraInfo") is not None:
|
20989
|
+
self._ExtraInfo = ExtraInfo()
|
20990
|
+
self._ExtraInfo._deserialize(params.get("ExtraInfo"))
|
20849
20991
|
memeber_set = set(params.keys())
|
20850
20992
|
for name, value in vars(self).items():
|
20851
20993
|
property_name = name[1:]
|
@@ -21412,6 +21554,9 @@ class ProcedureDebugging(AbstractModel):
|
|
21412
21554
|
:param _WorkFlow: 工作流调试信息
|
21413
21555
|
注意:此字段可能返回 null,表示取不到有效值。
|
21414
21556
|
:type WorkFlow: :class:`tencentcloud.lke.v20231130.models.WorkFlowSummary`
|
21557
|
+
:param _Agent: Agent调试信息
|
21558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21559
|
+
:type Agent: :class:`tencentcloud.lke.v20231130.models.AgentDebugInfo`
|
21415
21560
|
"""
|
21416
21561
|
self._Content = None
|
21417
21562
|
self._System = None
|
@@ -21419,6 +21564,7 @@ class ProcedureDebugging(AbstractModel):
|
|
21419
21564
|
self._Knowledge = None
|
21420
21565
|
self._TaskFlow = None
|
21421
21566
|
self._WorkFlow = None
|
21567
|
+
self._Agent = None
|
21422
21568
|
|
21423
21569
|
@property
|
21424
21570
|
def Content(self):
|
@@ -21492,6 +21638,18 @@ class ProcedureDebugging(AbstractModel):
|
|
21492
21638
|
def WorkFlow(self, WorkFlow):
|
21493
21639
|
self._WorkFlow = WorkFlow
|
21494
21640
|
|
21641
|
+
@property
|
21642
|
+
def Agent(self):
|
21643
|
+
"""Agent调试信息
|
21644
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21645
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.AgentDebugInfo`
|
21646
|
+
"""
|
21647
|
+
return self._Agent
|
21648
|
+
|
21649
|
+
@Agent.setter
|
21650
|
+
def Agent(self, Agent):
|
21651
|
+
self._Agent = Agent
|
21652
|
+
|
21495
21653
|
|
21496
21654
|
def _deserialize(self, params):
|
21497
21655
|
self._Content = params.get("Content")
|
@@ -21514,6 +21672,9 @@ class ProcedureDebugging(AbstractModel):
|
|
21514
21672
|
if params.get("WorkFlow") is not None:
|
21515
21673
|
self._WorkFlow = WorkFlowSummary()
|
21516
21674
|
self._WorkFlow._deserialize(params.get("WorkFlow"))
|
21675
|
+
if params.get("Agent") is not None:
|
21676
|
+
self._Agent = AgentDebugInfo()
|
21677
|
+
self._Agent._deserialize(params.get("Agent"))
|
21517
21678
|
memeber_set = set(params.keys())
|
21518
21679
|
for name, value in vars(self).items():
|
21519
21680
|
property_name = name[1:]
|
@@ -22007,7 +22168,7 @@ class QueryRewriteRequest(AbstractModel):
|
|
22007
22168
|
r"""
|
22008
22169
|
:param _Question: 需要改写的问题
|
22009
22170
|
:type Question: str
|
22010
|
-
:param _Messages:
|
22171
|
+
:param _Messages: 需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。
|
22011
22172
|
:type Messages: list of Message
|
22012
22173
|
:param _Model: 模型名称
|
22013
22174
|
:type Model: str
|
@@ -22029,7 +22190,7 @@ class QueryRewriteRequest(AbstractModel):
|
|
22029
22190
|
|
22030
22191
|
@property
|
22031
22192
|
def Messages(self):
|
22032
|
-
"""
|
22193
|
+
"""需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。
|
22033
22194
|
:rtype: list of Message
|
22034
22195
|
"""
|
22035
22196
|
return self._Messages
|
@@ -42,10 +42,10 @@ class LkeapClient(AbstractClient):
|
|
42
42
|
- 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。
|
43
43
|
- DeepSeek-V3(model 参数值为**deepseek-v3**)
|
44
44
|
- DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。
|
45
|
-
- 支持64K上下文长度,最大输入56k,最大输出16k
|
45
|
+
- 支持64K上下文长度,最大输入56k,最大输出16k。
|
46
46
|
- DeepSeek-R1(model 参数值为**deepseek-r1**)
|
47
47
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
48
|
-
- 支持64K上下文长度,最大输入56k,最大输出16k
|
48
|
+
- 支持64K上下文长度,最大输入56k,最大输出16k。
|
49
49
|
|
50
50
|
### 计费说明
|
51
51
|
|
@@ -242,7 +242,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
242
242
|
:type Stream: bool
|
243
243
|
:param _Temperature: 控制生成的随机性,较高的值会产生更多样化的输出。
|
244
244
|
:type Temperature: float
|
245
|
-
:param _MaxTokens: 最大生成的token
|
245
|
+
:param _MaxTokens: 最大生成的token数量,默认为4096,最大可设置为16384
|
246
246
|
:type MaxTokens: int
|
247
247
|
"""
|
248
248
|
self._Model = None
|
@@ -302,7 +302,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
302
302
|
|
303
303
|
@property
|
304
304
|
def MaxTokens(self):
|
305
|
-
"""最大生成的token
|
305
|
+
"""最大生成的token数量,默认为4096,最大可设置为16384
|
306
306
|
:rtype: int
|
307
307
|
"""
|
308
308
|
return self._MaxTokens
|
@@ -1277,7 +1277,7 @@ class CreateSplitDocumentFlowRequest(AbstractModel):
|
|
1277
1277
|
- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`
|
1278
1278
|
|
1279
1279
|
**支持的文件大小:**
|
1280
|
-
- `PDF` 最大
|
1280
|
+
- `PDF` 最大300M
|
1281
1281
|
- `DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
|
1282
1282
|
- `TXT`、`MD` 最大10M
|
1283
1283
|
- 其他 最大20M
|
@@ -1321,7 +1321,7 @@ class CreateSplitDocumentFlowRequest(AbstractModel):
|
|
1321
1321
|
- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`
|
1322
1322
|
|
1323
1323
|
**支持的文件大小:**
|
1324
|
-
- `PDF` 最大
|
1324
|
+
- `PDF` 最大300M
|
1325
1325
|
- `DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
|
1326
1326
|
- `TXT`、`MD` 最大10M
|
1327
1327
|
- 其他 最大20M
|
@@ -18767,6 +18767,124 @@ class DescribePolicyGroupListResponse(AbstractModel):
|
|
18767
18767
|
self._RequestId = params.get("RequestId")
|
18768
18768
|
|
18769
18769
|
|
18770
|
+
class DescribePolicyObjectCountRequest(AbstractModel):
|
18771
|
+
"""DescribePolicyObjectCount请求参数结构体
|
18772
|
+
|
18773
|
+
"""
|
18774
|
+
|
18775
|
+
def __init__(self):
|
18776
|
+
r"""
|
18777
|
+
:param _Module: 固定值,为"monitor"
|
18778
|
+
:type Module: str
|
18779
|
+
:param _GroupId: 策略组Id
|
18780
|
+
:type GroupId: int
|
18781
|
+
"""
|
18782
|
+
self._Module = None
|
18783
|
+
self._GroupId = None
|
18784
|
+
|
18785
|
+
@property
|
18786
|
+
def Module(self):
|
18787
|
+
"""固定值,为"monitor"
|
18788
|
+
:rtype: str
|
18789
|
+
"""
|
18790
|
+
return self._Module
|
18791
|
+
|
18792
|
+
@Module.setter
|
18793
|
+
def Module(self, Module):
|
18794
|
+
self._Module = Module
|
18795
|
+
|
18796
|
+
@property
|
18797
|
+
def GroupId(self):
|
18798
|
+
"""策略组Id
|
18799
|
+
:rtype: int
|
18800
|
+
"""
|
18801
|
+
return self._GroupId
|
18802
|
+
|
18803
|
+
@GroupId.setter
|
18804
|
+
def GroupId(self, GroupId):
|
18805
|
+
self._GroupId = GroupId
|
18806
|
+
|
18807
|
+
|
18808
|
+
def _deserialize(self, params):
|
18809
|
+
self._Module = params.get("Module")
|
18810
|
+
self._GroupId = params.get("GroupId")
|
18811
|
+
memeber_set = set(params.keys())
|
18812
|
+
for name, value in vars(self).items():
|
18813
|
+
property_name = name[1:]
|
18814
|
+
if property_name in memeber_set:
|
18815
|
+
memeber_set.remove(property_name)
|
18816
|
+
if len(memeber_set) > 0:
|
18817
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18818
|
+
|
18819
|
+
|
18820
|
+
|
18821
|
+
class DescribePolicyObjectCountResponse(AbstractModel):
|
18822
|
+
"""DescribePolicyObjectCount返回参数结构体
|
18823
|
+
|
18824
|
+
"""
|
18825
|
+
|
18826
|
+
def __init__(self):
|
18827
|
+
r"""
|
18828
|
+
:param _IsMultiRegion: 是否为多地域
|
18829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18830
|
+
:type IsMultiRegion: bool
|
18831
|
+
:param _RegionList: 地域统计列表
|
18832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18833
|
+
:type RegionList: list of RegionPolicyObjectCount
|
18834
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18835
|
+
:type RequestId: str
|
18836
|
+
"""
|
18837
|
+
self._IsMultiRegion = None
|
18838
|
+
self._RegionList = None
|
18839
|
+
self._RequestId = None
|
18840
|
+
|
18841
|
+
@property
|
18842
|
+
def IsMultiRegion(self):
|
18843
|
+
"""是否为多地域
|
18844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18845
|
+
:rtype: bool
|
18846
|
+
"""
|
18847
|
+
return self._IsMultiRegion
|
18848
|
+
|
18849
|
+
@IsMultiRegion.setter
|
18850
|
+
def IsMultiRegion(self, IsMultiRegion):
|
18851
|
+
self._IsMultiRegion = IsMultiRegion
|
18852
|
+
|
18853
|
+
@property
|
18854
|
+
def RegionList(self):
|
18855
|
+
"""地域统计列表
|
18856
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18857
|
+
:rtype: list of RegionPolicyObjectCount
|
18858
|
+
"""
|
18859
|
+
return self._RegionList
|
18860
|
+
|
18861
|
+
@RegionList.setter
|
18862
|
+
def RegionList(self, RegionList):
|
18863
|
+
self._RegionList = RegionList
|
18864
|
+
|
18865
|
+
@property
|
18866
|
+
def RequestId(self):
|
18867
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18868
|
+
:rtype: str
|
18869
|
+
"""
|
18870
|
+
return self._RequestId
|
18871
|
+
|
18872
|
+
@RequestId.setter
|
18873
|
+
def RequestId(self, RequestId):
|
18874
|
+
self._RequestId = RequestId
|
18875
|
+
|
18876
|
+
|
18877
|
+
def _deserialize(self, params):
|
18878
|
+
self._IsMultiRegion = params.get("IsMultiRegion")
|
18879
|
+
if params.get("RegionList") is not None:
|
18880
|
+
self._RegionList = []
|
18881
|
+
for item in params.get("RegionList"):
|
18882
|
+
obj = RegionPolicyObjectCount()
|
18883
|
+
obj._deserialize(item)
|
18884
|
+
self._RegionList.append(obj)
|
18885
|
+
self._RequestId = params.get("RequestId")
|
18886
|
+
|
18887
|
+
|
18770
18888
|
class DescribeProductEventListDimensions(AbstractModel):
|
18771
18889
|
"""DescribeProductEventList的入参Dimensions
|
18772
18890
|
|
@@ -36253,6 +36371,57 @@ class RecordingRuleSet(AbstractModel):
|
|
36253
36371
|
|
36254
36372
|
|
36255
36373
|
|
36374
|
+
class RegionPolicyObjectCount(AbstractModel):
|
36375
|
+
"""DescribePolicyObjectCount接口返回的地域统计
|
36376
|
+
|
36377
|
+
"""
|
36378
|
+
|
36379
|
+
def __init__(self):
|
36380
|
+
r"""
|
36381
|
+
:param _Region: 地域
|
36382
|
+
:type Region: str
|
36383
|
+
:param _Count: 绑定的实例数量
|
36384
|
+
:type Count: int
|
36385
|
+
"""
|
36386
|
+
self._Region = None
|
36387
|
+
self._Count = None
|
36388
|
+
|
36389
|
+
@property
|
36390
|
+
def Region(self):
|
36391
|
+
"""地域
|
36392
|
+
:rtype: str
|
36393
|
+
"""
|
36394
|
+
return self._Region
|
36395
|
+
|
36396
|
+
@Region.setter
|
36397
|
+
def Region(self, Region):
|
36398
|
+
self._Region = Region
|
36399
|
+
|
36400
|
+
@property
|
36401
|
+
def Count(self):
|
36402
|
+
"""绑定的实例数量
|
36403
|
+
:rtype: int
|
36404
|
+
"""
|
36405
|
+
return self._Count
|
36406
|
+
|
36407
|
+
@Count.setter
|
36408
|
+
def Count(self, Count):
|
36409
|
+
self._Count = Count
|
36410
|
+
|
36411
|
+
|
36412
|
+
def _deserialize(self, params):
|
36413
|
+
self._Region = params.get("Region")
|
36414
|
+
self._Count = params.get("Count")
|
36415
|
+
memeber_set = set(params.keys())
|
36416
|
+
for name, value in vars(self).items():
|
36417
|
+
property_name = name[1:]
|
36418
|
+
if property_name in memeber_set:
|
36419
|
+
memeber_set.remove(property_name)
|
36420
|
+
if len(memeber_set) > 0:
|
36421
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
36422
|
+
|
36423
|
+
|
36424
|
+
|
36256
36425
|
class RemoteWrite(AbstractModel):
|
36257
36426
|
"""多写配置
|
36258
36427
|
|
@@ -1877,6 +1877,29 @@ class MonitorClient(AbstractClient):
|
|
1877
1877
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1878
1878
|
|
1879
1879
|
|
1880
|
+
def DescribePolicyObjectCount(self, request):
|
1881
|
+
"""查询策略组在每个地域下面绑定的对象数统计
|
1882
|
+
|
1883
|
+
:param request: Request instance for DescribePolicyObjectCount.
|
1884
|
+
:type request: :class:`tencentcloud.monitor.v20180724.models.DescribePolicyObjectCountRequest`
|
1885
|
+
:rtype: :class:`tencentcloud.monitor.v20180724.models.DescribePolicyObjectCountResponse`
|
1886
|
+
|
1887
|
+
"""
|
1888
|
+
try:
|
1889
|
+
params = request._serialize()
|
1890
|
+
headers = request.headers
|
1891
|
+
body = self.call("DescribePolicyObjectCount", params, headers=headers)
|
1892
|
+
response = json.loads(body)
|
1893
|
+
model = models.DescribePolicyObjectCountResponse()
|
1894
|
+
model._deserialize(response["Response"])
|
1895
|
+
return model
|
1896
|
+
except Exception as e:
|
1897
|
+
if isinstance(e, TencentCloudSDKException):
|
1898
|
+
raise
|
1899
|
+
else:
|
1900
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1901
|
+
|
1902
|
+
|
1880
1903
|
def DescribeProductEventList(self, request):
|
1881
1904
|
"""分页获取产品事件的列表
|
1882
1905
|
|