tencentcloud-sdk-python 3.0.1435__py2.py3-none-any.whl → 3.0.1437__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/cdn/v20180606/cdn_client.py +0 -575
- tencentcloud/cdn/v20180606/errorcodes.py +0 -48
- tencentcloud/cdn/v20180606/models.py +12881 -21511
- tencentcloud/cfs/v20190719/models.py +16 -18
- tencentcloud/cls/v20201016/models.py +46 -20
- tencentcloud/dlc/v20210125/dlc_client.py +529 -0
- tencentcloud/dlc/v20210125/errorcodes.py +30 -0
- tencentcloud/dlc/v20210125/models.py +7909 -2612
- tencentcloud/emr/v20190103/models.py +2 -2
- tencentcloud/es/v20250101/models.py +70 -0
- tencentcloud/ess/v20201111/ess_client.py +55 -3
- tencentcloud/ess/v20201111/models.py +686 -2
- tencentcloud/hunyuan/v20230901/errorcodes.py +0 -27
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +0 -46
- tencentcloud/hunyuan/v20230901/models.py +0 -357
- tencentcloud/lke/v20231130/models.py +86 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +24 -8
- tencentcloud/mqtt/v20240516/models.py +150 -0
- tencentcloud/ocr/v20181119/models.py +90 -4
- tencentcloud/partners/v20180321/partners_client.py +2 -1
- tencentcloud/postgres/v20170312/models.py +28 -24
- tencentcloud/postgres/v20170312/postgres_client.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +2 -2
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +6 -6
- tencentcloud/tcbr/v20220217/models.py +266 -4
- tencentcloud/tcr/v20190924/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +24 -0
- tencentcloud/teo/v20220901/models.py +3469 -441
- tencentcloud/teo/v20220901/teo_client.py +469 -2
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +70 -6
- tencentcloud/waf/v20180125/models.py +1029 -151
- tencentcloud/waf/v20180125/waf_client.py +92 -0
- tencentcloud/wsa/v20250508/models.py +22 -4
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/top_level.txt +0 -0
|
@@ -1420,16 +1420,17 @@ class ControlAIConversationRequest(AbstractModel):
|
|
|
1420
1420
|
r"""
|
|
1421
1421
|
:param _TaskId: 任务唯一标识
|
|
1422
1422
|
:type TaskId: str
|
|
1423
|
-
:param _Command:
|
|
1424
|
-
|
|
1425
|
-
- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
|
|
1423
|
+
:param _Command: 控制命令,目前支持命令如下:- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本. - InvokeLLM,服务端发送文本给大模型,触发对话
|
|
1426
1424
|
:type Command: str
|
|
1427
1425
|
:param _ServerPushText: 服务端发送播报文本命令,当Command为ServerPushText时必填
|
|
1428
1426
|
:type ServerPushText: :class:`tencentcloud.trtc.v20190722.models.ServerPushText`
|
|
1427
|
+
:param _InvokeLLM: 服务端发送命令主动请求大模型,当Command为InvokeLLM时会把content请求到大模型,头部增加X-Invoke-LLM="1"
|
|
1428
|
+
:type InvokeLLM: :class:`tencentcloud.trtc.v20190722.models.InvokeLLM`
|
|
1429
1429
|
"""
|
|
1430
1430
|
self._TaskId = None
|
|
1431
1431
|
self._Command = None
|
|
1432
1432
|
self._ServerPushText = None
|
|
1433
|
+
self._InvokeLLM = None
|
|
1433
1434
|
|
|
1434
1435
|
@property
|
|
1435
1436
|
def TaskId(self):
|
|
@@ -1444,9 +1445,7 @@ class ControlAIConversationRequest(AbstractModel):
|
|
|
1444
1445
|
|
|
1445
1446
|
@property
|
|
1446
1447
|
def Command(self):
|
|
1447
|
-
"""
|
|
1448
|
-
|
|
1449
|
-
- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
|
|
1448
|
+
"""控制命令,目前支持命令如下:- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本. - InvokeLLM,服务端发送文本给大模型,触发对话
|
|
1450
1449
|
:rtype: str
|
|
1451
1450
|
"""
|
|
1452
1451
|
return self._Command
|
|
@@ -1466,6 +1465,17 @@ class ControlAIConversationRequest(AbstractModel):
|
|
|
1466
1465
|
def ServerPushText(self, ServerPushText):
|
|
1467
1466
|
self._ServerPushText = ServerPushText
|
|
1468
1467
|
|
|
1468
|
+
@property
|
|
1469
|
+
def InvokeLLM(self):
|
|
1470
|
+
"""服务端发送命令主动请求大模型,当Command为InvokeLLM时会把content请求到大模型,头部增加X-Invoke-LLM="1"
|
|
1471
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.InvokeLLM`
|
|
1472
|
+
"""
|
|
1473
|
+
return self._InvokeLLM
|
|
1474
|
+
|
|
1475
|
+
@InvokeLLM.setter
|
|
1476
|
+
def InvokeLLM(self, InvokeLLM):
|
|
1477
|
+
self._InvokeLLM = InvokeLLM
|
|
1478
|
+
|
|
1469
1479
|
|
|
1470
1480
|
def _deserialize(self, params):
|
|
1471
1481
|
self._TaskId = params.get("TaskId")
|
|
@@ -1473,6 +1483,9 @@ class ControlAIConversationRequest(AbstractModel):
|
|
|
1473
1483
|
if params.get("ServerPushText") is not None:
|
|
1474
1484
|
self._ServerPushText = ServerPushText()
|
|
1475
1485
|
self._ServerPushText._deserialize(params.get("ServerPushText"))
|
|
1486
|
+
if params.get("InvokeLLM") is not None:
|
|
1487
|
+
self._InvokeLLM = InvokeLLM()
|
|
1488
|
+
self._InvokeLLM._deserialize(params.get("InvokeLLM"))
|
|
1476
1489
|
memeber_set = set(params.keys())
|
|
1477
1490
|
for name, value in vars(self).items():
|
|
1478
1491
|
property_name = name[1:]
|
|
@@ -7834,6 +7847,57 @@ class EventMessage(AbstractModel):
|
|
|
7834
7847
|
|
|
7835
7848
|
|
|
7836
7849
|
|
|
7850
|
+
class InvokeLLM(AbstractModel):
|
|
7851
|
+
"""调用服务端主动发起请求到LLM
|
|
7852
|
+
|
|
7853
|
+
"""
|
|
7854
|
+
|
|
7855
|
+
def __init__(self):
|
|
7856
|
+
r"""
|
|
7857
|
+
:param _Content: 请求LLM的内容
|
|
7858
|
+
:type Content: str
|
|
7859
|
+
:param _Interrupt: 是否允许该文本打断机器人说话
|
|
7860
|
+
:type Interrupt: bool
|
|
7861
|
+
"""
|
|
7862
|
+
self._Content = None
|
|
7863
|
+
self._Interrupt = None
|
|
7864
|
+
|
|
7865
|
+
@property
|
|
7866
|
+
def Content(self):
|
|
7867
|
+
"""请求LLM的内容
|
|
7868
|
+
:rtype: str
|
|
7869
|
+
"""
|
|
7870
|
+
return self._Content
|
|
7871
|
+
|
|
7872
|
+
@Content.setter
|
|
7873
|
+
def Content(self, Content):
|
|
7874
|
+
self._Content = Content
|
|
7875
|
+
|
|
7876
|
+
@property
|
|
7877
|
+
def Interrupt(self):
|
|
7878
|
+
"""是否允许该文本打断机器人说话
|
|
7879
|
+
:rtype: bool
|
|
7880
|
+
"""
|
|
7881
|
+
return self._Interrupt
|
|
7882
|
+
|
|
7883
|
+
@Interrupt.setter
|
|
7884
|
+
def Interrupt(self, Interrupt):
|
|
7885
|
+
self._Interrupt = Interrupt
|
|
7886
|
+
|
|
7887
|
+
|
|
7888
|
+
def _deserialize(self, params):
|
|
7889
|
+
self._Content = params.get("Content")
|
|
7890
|
+
self._Interrupt = params.get("Interrupt")
|
|
7891
|
+
memeber_set = set(params.keys())
|
|
7892
|
+
for name, value in vars(self).items():
|
|
7893
|
+
property_name = name[1:]
|
|
7894
|
+
if property_name in memeber_set:
|
|
7895
|
+
memeber_set.remove(property_name)
|
|
7896
|
+
if len(memeber_set) > 0:
|
|
7897
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7898
|
+
|
|
7899
|
+
|
|
7900
|
+
|
|
7837
7901
|
class LayoutParams(AbstractModel):
|
|
7838
7902
|
"""MCU混流布局参数
|
|
7839
7903
|
|