tencentcloud-sdk-python 3.1.164__py2.py3-none-any.whl → 3.1.166__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/adp/v20260520/models.py +132 -6
- tencentcloud/ags/v20250920/models.py +34 -0
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/asr_client_async.py +1 -1
- tencentcloud/bdrc/v20260330/models.py +25 -10
- tencentcloud/ccc/v20200210/models.py +31 -24
- tencentcloud/cfw/v20190904/models.py +335 -78
- tencentcloud/clb/v20180317/models.py +34 -38
- tencentcloud/cngw/v20230418/models.py +30 -0
- tencentcloud/csip/v20221121/csip_client.py +794 -58
- tencentcloud/csip/v20221121/csip_client_async.py +576 -0
- tencentcloud/csip/v20221121/models.py +8084 -638
- tencentcloud/dcdb/v20180411/models.py +105 -74
- tencentcloud/dlc/v20210125/errorcodes.py +12 -0
- tencentcloud/dlc/v20210125/models.py +10 -10
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/emr_client_async.py +18 -0
- tencentcloud/emr/v20190103/models.py +424 -12
- tencentcloud/es/v20250101/models.py +28 -28
- tencentcloud/ess/v20201111/ess_client.py +137 -0
- tencentcloud/ess/v20201111/ess_client_async.py +132 -0
- tencentcloud/ess/v20201111/models.py +154 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +140 -0
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +135 -0
- tencentcloud/essbasic/v20210526/models.py +169 -0
- tencentcloud/fwm/v20250611/models.py +131 -56
- tencentcloud/goosefs/v20220519/models.py +68 -8
- tencentcloud/monitor/v20180724/models.py +1653 -376
- tencentcloud/monitor/v20180724/monitor_client.py +92 -0
- tencentcloud/monitor/v20180724/monitor_client_async.py +72 -0
- tencentcloud/monitor/v20230616/errorcodes.py +9 -0
- tencentcloud/monitor/v20230616/models.py +8716 -1567
- tencentcloud/monitor/v20230616/monitor_client.py +780 -21
- tencentcloud/monitor/v20230616/monitor_client_async.py +594 -0
- tencentcloud/mps/v20190612/models.py +312 -50
- tencentcloud/mps/v20190612/mps_client.py +23 -0
- tencentcloud/mps/v20190612/mps_client_async.py +18 -0
- tencentcloud/mqtt/v20240516/models.py +44 -14
- tencentcloud/tcb/v20180608/errorcodes.py +6 -0
- tencentcloud/tcb/v20180608/models.py +455 -3
- tencentcloud/tcb/v20180608/tcb_client.py +1 -1
- tencentcloud/tcb/v20180608/tcb_client_async.py +1 -1
- tencentcloud/tcr/v20190924/models.py +587 -0
- tencentcloud/tcr/v20190924/tcr_client.py +46 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +36 -0
- tencentcloud/teo/v20220901/teo_client.py +1 -0
- tencentcloud/teo/v20220901/teo_client_async.py +1 -0
- tencentcloud/tione/v20211111/models.py +16 -16
- tencentcloud/tke/v20220501/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +44 -54
- tencentcloud/waf/v20180125/errorcodes.py +3 -3
- tencentcloud/waf/v20180125/models.py +221 -116
- tencentcloud/waf/v20180125/waf_client.py +2 -1
- tencentcloud/waf/v20180125/waf_client_async.py +2 -1
- tencentcloud/wedata/v20210820/models.py +434 -272
- tencentcloud/wedata/v20250806/models.py +140 -40
- {tencentcloud_sdk_python-3.1.164.dist-info → tencentcloud_sdk_python-3.1.166.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.164.dist-info → tencentcloud_sdk_python-3.1.166.dist-info}/RECORD +62 -62
- {tencentcloud_sdk_python-3.1.164.dist-info → tencentcloud_sdk_python-3.1.166.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.164.dist-info → tencentcloud_sdk_python-3.1.166.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.164.dist-info → tencentcloud_sdk_python-3.1.166.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -353,6 +353,8 @@ class AgentDetail(AbstractModel):
|
|
|
353
353
|
:type SkillList: list of AgentSkill
|
|
354
354
|
:param _AdvancedConfig: <p>高级配置</p>
|
|
355
355
|
:type AdvancedConfig: :class:`tencentcloud.adp.v20260520.models.AgentAdvancedConfig`
|
|
356
|
+
:param _ExternalToolList: <p>调用方执行的 Function Tool 列表</p><p>入参限制:仅在 C 端用户态 Agent 场景可用,B 端配置态 Agent 忽略该字段与</p>
|
|
357
|
+
:type ExternalToolList: list of AgentExternalToolConfig
|
|
356
358
|
"""
|
|
357
359
|
self._AgentId = None
|
|
358
360
|
self._Profile = None
|
|
@@ -362,6 +364,7 @@ class AgentDetail(AbstractModel):
|
|
|
362
364
|
self._PluginList = None
|
|
363
365
|
self._SkillList = None
|
|
364
366
|
self._AdvancedConfig = None
|
|
367
|
+
self._ExternalToolList = None
|
|
365
368
|
|
|
366
369
|
@property
|
|
367
370
|
def AgentId(self):
|
|
@@ -451,6 +454,17 @@ class AgentDetail(AbstractModel):
|
|
|
451
454
|
def AdvancedConfig(self, AdvancedConfig):
|
|
452
455
|
self._AdvancedConfig = AdvancedConfig
|
|
453
456
|
|
|
457
|
+
@property
|
|
458
|
+
def ExternalToolList(self):
|
|
459
|
+
r"""<p>调用方执行的 Function Tool 列表</p><p>入参限制:仅在 C 端用户态 Agent 场景可用,B 端配置态 Agent 忽略该字段与</p>
|
|
460
|
+
:rtype: list of AgentExternalToolConfig
|
|
461
|
+
"""
|
|
462
|
+
return self._ExternalToolList
|
|
463
|
+
|
|
464
|
+
@ExternalToolList.setter
|
|
465
|
+
def ExternalToolList(self, ExternalToolList):
|
|
466
|
+
self._ExternalToolList = ExternalToolList
|
|
467
|
+
|
|
454
468
|
|
|
455
469
|
def _deserialize(self, params):
|
|
456
470
|
self._AgentId = params.get("AgentId")
|
|
@@ -482,6 +496,98 @@ class AgentDetail(AbstractModel):
|
|
|
482
496
|
if params.get("AdvancedConfig") is not None:
|
|
483
497
|
self._AdvancedConfig = AgentAdvancedConfig()
|
|
484
498
|
self._AdvancedConfig._deserialize(params.get("AdvancedConfig"))
|
|
499
|
+
if params.get("ExternalToolList") is not None:
|
|
500
|
+
self._ExternalToolList = []
|
|
501
|
+
for item in params.get("ExternalToolList"):
|
|
502
|
+
obj = AgentExternalToolConfig()
|
|
503
|
+
obj._deserialize(item)
|
|
504
|
+
self._ExternalToolList.append(obj)
|
|
505
|
+
memeber_set = set(params.keys())
|
|
506
|
+
for name, value in vars(self).items():
|
|
507
|
+
property_name = name[1:]
|
|
508
|
+
if property_name in memeber_set:
|
|
509
|
+
memeber_set.remove(property_name)
|
|
510
|
+
if len(memeber_set) > 0:
|
|
511
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
class AgentExternalToolConfig(AbstractModel):
|
|
516
|
+
r"""调用方执行的 Function Tool 配置
|
|
517
|
+
|
|
518
|
+
"""
|
|
519
|
+
|
|
520
|
+
def __init__(self):
|
|
521
|
+
r"""
|
|
522
|
+
:param _Type: <p>工具类型</p><p>入参限制:目前仅支持 "function"</p>
|
|
523
|
+
:type Type: str
|
|
524
|
+
:param _Name: <p>工具名称</p>
|
|
525
|
+
:type Name: str
|
|
526
|
+
:param _Description: <p>工具描述</p>
|
|
527
|
+
:type Description: str
|
|
528
|
+
:param _Parameters: <p>工具入参定义</p>
|
|
529
|
+
:type Parameters: list of RequestParam
|
|
530
|
+
"""
|
|
531
|
+
self._Type = None
|
|
532
|
+
self._Name = None
|
|
533
|
+
self._Description = None
|
|
534
|
+
self._Parameters = None
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
def Type(self):
|
|
538
|
+
r"""<p>工具类型</p><p>入参限制:目前仅支持 "function"</p>
|
|
539
|
+
:rtype: str
|
|
540
|
+
"""
|
|
541
|
+
return self._Type
|
|
542
|
+
|
|
543
|
+
@Type.setter
|
|
544
|
+
def Type(self, Type):
|
|
545
|
+
self._Type = Type
|
|
546
|
+
|
|
547
|
+
@property
|
|
548
|
+
def Name(self):
|
|
549
|
+
r"""<p>工具名称</p>
|
|
550
|
+
:rtype: str
|
|
551
|
+
"""
|
|
552
|
+
return self._Name
|
|
553
|
+
|
|
554
|
+
@Name.setter
|
|
555
|
+
def Name(self, Name):
|
|
556
|
+
self._Name = Name
|
|
557
|
+
|
|
558
|
+
@property
|
|
559
|
+
def Description(self):
|
|
560
|
+
r"""<p>工具描述</p>
|
|
561
|
+
:rtype: str
|
|
562
|
+
"""
|
|
563
|
+
return self._Description
|
|
564
|
+
|
|
565
|
+
@Description.setter
|
|
566
|
+
def Description(self, Description):
|
|
567
|
+
self._Description = Description
|
|
568
|
+
|
|
569
|
+
@property
|
|
570
|
+
def Parameters(self):
|
|
571
|
+
r"""<p>工具入参定义</p>
|
|
572
|
+
:rtype: list of RequestParam
|
|
573
|
+
"""
|
|
574
|
+
return self._Parameters
|
|
575
|
+
|
|
576
|
+
@Parameters.setter
|
|
577
|
+
def Parameters(self, Parameters):
|
|
578
|
+
self._Parameters = Parameters
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
def _deserialize(self, params):
|
|
582
|
+
self._Type = params.get("Type")
|
|
583
|
+
self._Name = params.get("Name")
|
|
584
|
+
self._Description = params.get("Description")
|
|
585
|
+
if params.get("Parameters") is not None:
|
|
586
|
+
self._Parameters = []
|
|
587
|
+
for item in params.get("Parameters"):
|
|
588
|
+
obj = RequestParam()
|
|
589
|
+
obj._deserialize(item)
|
|
590
|
+
self._Parameters.append(obj)
|
|
485
591
|
memeber_set = set(params.keys())
|
|
486
592
|
for name, value in vars(self).items():
|
|
487
593
|
property_name = name[1:]
|
|
@@ -1552,9 +1658,9 @@ class AgentSpec(AbstractModel):
|
|
|
1552
1658
|
r"""
|
|
1553
1659
|
:param _Profile: <p>Agent基本配置</p>
|
|
1554
1660
|
:type Profile: :class:`tencentcloud.adp.v20260520.models.AgentProfile`
|
|
1555
|
-
:param _Instructions:
|
|
1661
|
+
:param _Instructions: <p>系统提示词</p>
|
|
1556
1662
|
:type Instructions: str
|
|
1557
|
-
:param _Model:
|
|
1663
|
+
:param _Model: <p>主模型配置</p>
|
|
1558
1664
|
:type Model: :class:`tencentcloud.adp.v20260520.models.AgentModelConfig`
|
|
1559
1665
|
:param _ToolList: <p>工具信息</p>
|
|
1560
1666
|
:type ToolList: list of AgentToolConfig
|
|
@@ -1562,8 +1668,10 @@ class AgentSpec(AbstractModel):
|
|
|
1562
1668
|
:type PluginList: list of AgentPluginConfig
|
|
1563
1669
|
:param _SkillList: <p>技能信息</p>
|
|
1564
1670
|
:type SkillList: list of AgentSkillConfig
|
|
1565
|
-
:param _AdvancedConfig:
|
|
1671
|
+
:param _AdvancedConfig: <p>高级设置</p>
|
|
1566
1672
|
:type AdvancedConfig: :class:`tencentcloud.adp.v20260520.models.AgentAdvancedConfig`
|
|
1673
|
+
:param _ExternalToolList: <p>调用方执行的 Function Tool 列表</p><p>入参限制:仅在 C 端用户态 Agent 场景可用,B 端配置态 Agent 忽略该字段与</p>
|
|
1674
|
+
:type ExternalToolList: list of AgentExternalToolConfig
|
|
1567
1675
|
"""
|
|
1568
1676
|
self._Profile = None
|
|
1569
1677
|
self._Instructions = None
|
|
@@ -1572,6 +1680,7 @@ class AgentSpec(AbstractModel):
|
|
|
1572
1680
|
self._PluginList = None
|
|
1573
1681
|
self._SkillList = None
|
|
1574
1682
|
self._AdvancedConfig = None
|
|
1683
|
+
self._ExternalToolList = None
|
|
1575
1684
|
|
|
1576
1685
|
@property
|
|
1577
1686
|
def Profile(self):
|
|
@@ -1586,7 +1695,7 @@ class AgentSpec(AbstractModel):
|
|
|
1586
1695
|
|
|
1587
1696
|
@property
|
|
1588
1697
|
def Instructions(self):
|
|
1589
|
-
r"""
|
|
1698
|
+
r"""<p>系统提示词</p>
|
|
1590
1699
|
:rtype: str
|
|
1591
1700
|
"""
|
|
1592
1701
|
return self._Instructions
|
|
@@ -1597,7 +1706,7 @@ class AgentSpec(AbstractModel):
|
|
|
1597
1706
|
|
|
1598
1707
|
@property
|
|
1599
1708
|
def Model(self):
|
|
1600
|
-
r"""
|
|
1709
|
+
r"""<p>主模型配置</p>
|
|
1601
1710
|
:rtype: :class:`tencentcloud.adp.v20260520.models.AgentModelConfig`
|
|
1602
1711
|
"""
|
|
1603
1712
|
return self._Model
|
|
@@ -1641,7 +1750,7 @@ class AgentSpec(AbstractModel):
|
|
|
1641
1750
|
|
|
1642
1751
|
@property
|
|
1643
1752
|
def AdvancedConfig(self):
|
|
1644
|
-
r"""
|
|
1753
|
+
r"""<p>高级设置</p>
|
|
1645
1754
|
:rtype: :class:`tencentcloud.adp.v20260520.models.AgentAdvancedConfig`
|
|
1646
1755
|
"""
|
|
1647
1756
|
return self._AdvancedConfig
|
|
@@ -1650,6 +1759,17 @@ class AgentSpec(AbstractModel):
|
|
|
1650
1759
|
def AdvancedConfig(self, AdvancedConfig):
|
|
1651
1760
|
self._AdvancedConfig = AdvancedConfig
|
|
1652
1761
|
|
|
1762
|
+
@property
|
|
1763
|
+
def ExternalToolList(self):
|
|
1764
|
+
r"""<p>调用方执行的 Function Tool 列表</p><p>入参限制:仅在 C 端用户态 Agent 场景可用,B 端配置态 Agent 忽略该字段与</p>
|
|
1765
|
+
:rtype: list of AgentExternalToolConfig
|
|
1766
|
+
"""
|
|
1767
|
+
return self._ExternalToolList
|
|
1768
|
+
|
|
1769
|
+
@ExternalToolList.setter
|
|
1770
|
+
def ExternalToolList(self, ExternalToolList):
|
|
1771
|
+
self._ExternalToolList = ExternalToolList
|
|
1772
|
+
|
|
1653
1773
|
|
|
1654
1774
|
def _deserialize(self, params):
|
|
1655
1775
|
if params.get("Profile") is not None:
|
|
@@ -1680,6 +1800,12 @@ class AgentSpec(AbstractModel):
|
|
|
1680
1800
|
if params.get("AdvancedConfig") is not None:
|
|
1681
1801
|
self._AdvancedConfig = AgentAdvancedConfig()
|
|
1682
1802
|
self._AdvancedConfig._deserialize(params.get("AdvancedConfig"))
|
|
1803
|
+
if params.get("ExternalToolList") is not None:
|
|
1804
|
+
self._ExternalToolList = []
|
|
1805
|
+
for item in params.get("ExternalToolList"):
|
|
1806
|
+
obj = AgentExternalToolConfig()
|
|
1807
|
+
obj._deserialize(item)
|
|
1808
|
+
self._ExternalToolList.append(obj)
|
|
1683
1809
|
memeber_set = set(params.keys())
|
|
1684
1810
|
for name, value in vars(self).items():
|
|
1685
1811
|
property_name = name[1:]
|
|
@@ -1052,6 +1052,8 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
1052
1052
|
:type StorageMounts: list of StorageMount
|
|
1053
1053
|
:param _CustomConfiguration: <p>沙箱工具自定义配置</p>
|
|
1054
1054
|
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
1055
|
+
:param _ComputerConfiguration: <p>桌面电脑环境类沙箱配置</p>
|
|
1056
|
+
:type ComputerConfiguration: :class:`tencentcloud.ags.v20250920.models.ComputerConfiguration`
|
|
1055
1057
|
:param _LogConfiguration: <p>沙箱工具日志推送相关配置</p>
|
|
1056
1058
|
:type LogConfiguration: :class:`tencentcloud.ags.v20250920.models.LogConfiguration`
|
|
1057
1059
|
:param _Persistent: <p>常驻沙箱标识</p>
|
|
@@ -1067,6 +1069,7 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
1067
1069
|
self._RoleArn = None
|
|
1068
1070
|
self._StorageMounts = None
|
|
1069
1071
|
self._CustomConfiguration = None
|
|
1072
|
+
self._ComputerConfiguration = None
|
|
1070
1073
|
self._LogConfiguration = None
|
|
1071
1074
|
self._Persistent = None
|
|
1072
1075
|
|
|
@@ -1180,6 +1183,17 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
1180
1183
|
def CustomConfiguration(self, CustomConfiguration):
|
|
1181
1184
|
self._CustomConfiguration = CustomConfiguration
|
|
1182
1185
|
|
|
1186
|
+
@property
|
|
1187
|
+
def ComputerConfiguration(self):
|
|
1188
|
+
r"""<p>桌面电脑环境类沙箱配置</p>
|
|
1189
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.ComputerConfiguration`
|
|
1190
|
+
"""
|
|
1191
|
+
return self._ComputerConfiguration
|
|
1192
|
+
|
|
1193
|
+
@ComputerConfiguration.setter
|
|
1194
|
+
def ComputerConfiguration(self, ComputerConfiguration):
|
|
1195
|
+
self._ComputerConfiguration = ComputerConfiguration
|
|
1196
|
+
|
|
1183
1197
|
@property
|
|
1184
1198
|
def LogConfiguration(self):
|
|
1185
1199
|
r"""<p>沙箱工具日志推送相关配置</p>
|
|
@@ -1228,6 +1242,9 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
1228
1242
|
if params.get("CustomConfiguration") is not None:
|
|
1229
1243
|
self._CustomConfiguration = CustomConfiguration()
|
|
1230
1244
|
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
1245
|
+
if params.get("ComputerConfiguration") is not None:
|
|
1246
|
+
self._ComputerConfiguration = ComputerConfiguration()
|
|
1247
|
+
self._ComputerConfiguration._deserialize(params.get("ComputerConfiguration"))
|
|
1231
1248
|
if params.get("LogConfiguration") is not None:
|
|
1232
1249
|
self._LogConfiguration = LogConfiguration()
|
|
1233
1250
|
self._LogConfiguration._deserialize(params.get("LogConfiguration"))
|
|
@@ -5236,12 +5253,15 @@ class UpdateSandboxToolRequest(AbstractModel):
|
|
|
5236
5253
|
:type Tags: list of Tag
|
|
5237
5254
|
:param _CustomConfiguration: <p>沙箱工具自定义配置</p>
|
|
5238
5255
|
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
5256
|
+
:param _ComputerConfiguration: <p>桌面电脑环境类沙箱配置</p>
|
|
5257
|
+
:type ComputerConfiguration: :class:`tencentcloud.ags.v20250920.models.ComputerConfiguration`
|
|
5239
5258
|
"""
|
|
5240
5259
|
self._ToolId = None
|
|
5241
5260
|
self._Description = None
|
|
5242
5261
|
self._NetworkConfiguration = None
|
|
5243
5262
|
self._Tags = None
|
|
5244
5263
|
self._CustomConfiguration = None
|
|
5264
|
+
self._ComputerConfiguration = None
|
|
5245
5265
|
|
|
5246
5266
|
@property
|
|
5247
5267
|
def ToolId(self):
|
|
@@ -5298,6 +5318,17 @@ class UpdateSandboxToolRequest(AbstractModel):
|
|
|
5298
5318
|
def CustomConfiguration(self, CustomConfiguration):
|
|
5299
5319
|
self._CustomConfiguration = CustomConfiguration
|
|
5300
5320
|
|
|
5321
|
+
@property
|
|
5322
|
+
def ComputerConfiguration(self):
|
|
5323
|
+
r"""<p>桌面电脑环境类沙箱配置</p>
|
|
5324
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.ComputerConfiguration`
|
|
5325
|
+
"""
|
|
5326
|
+
return self._ComputerConfiguration
|
|
5327
|
+
|
|
5328
|
+
@ComputerConfiguration.setter
|
|
5329
|
+
def ComputerConfiguration(self, ComputerConfiguration):
|
|
5330
|
+
self._ComputerConfiguration = ComputerConfiguration
|
|
5331
|
+
|
|
5301
5332
|
|
|
5302
5333
|
def _deserialize(self, params):
|
|
5303
5334
|
self._ToolId = params.get("ToolId")
|
|
@@ -5314,6 +5345,9 @@ class UpdateSandboxToolRequest(AbstractModel):
|
|
|
5314
5345
|
if params.get("CustomConfiguration") is not None:
|
|
5315
5346
|
self._CustomConfiguration = CustomConfiguration()
|
|
5316
5347
|
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
5348
|
+
if params.get("ComputerConfiguration") is not None:
|
|
5349
|
+
self._ComputerConfiguration = ComputerConfiguration()
|
|
5350
|
+
self._ComputerConfiguration._deserialize(params.get("ComputerConfiguration"))
|
|
5317
5351
|
memeber_set = set(params.keys())
|
|
5318
5352
|
for name, value in vars(self).items():
|
|
5319
5353
|
property_name = name[1:]
|
|
@@ -711,7 +711,7 @@ class AsrClient(AbstractClient):
|
|
|
711
711
|
|
|
712
712
|
def VoicePrintEnroll(self, request):
|
|
713
713
|
r"""说话人注册接口用于注册一个指定音频,生成一个唯一的说话人id,后续可通过说话人验证接口验证其它音频和已有的说话人ID匹配度,注册时可指定说话人昵称,方便标识说话人ID, 说话人昵称可重复配置。
|
|
714
|
-
(注: 一个appid最多可以注册1000个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
|
|
714
|
+
(注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳100个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
|
|
715
715
|
|
|
716
716
|
使用须知
|
|
717
717
|
支持的输入格式:编码文件(PCM, WAV)、16 bit采样位数、单声道(mono)。
|
|
@@ -575,7 +575,7 @@ class AsrClient(AbstractClient):
|
|
|
575
575
|
) -> models.VoicePrintEnrollResponse:
|
|
576
576
|
"""
|
|
577
577
|
说话人注册接口用于注册一个指定音频,生成一个唯一的说话人id,后续可通过说话人验证接口验证其它音频和已有的说话人ID匹配度,注册时可指定说话人昵称,方便标识说话人ID, 说话人昵称可重复配置。
|
|
578
|
-
(注: 一个appid最多可以注册1000个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
|
|
578
|
+
(注: 一个appid最多可以注册1000个说话人ID和1000个group,一个group最多可容纳100个说话人ID,一个说话人ID仅支持一条音频注册,后续可通过更新接口进行更新)
|
|
579
579
|
|
|
580
580
|
使用须知
|
|
581
581
|
支持的输入格式:编码文件(PCM, WAV)、16 bit采样位数、单声道(mono)。
|
|
@@ -4582,23 +4582,26 @@ class CreateFileBackupPlanRequest(AbstractModel):
|
|
|
4582
4582
|
|
|
4583
4583
|
def __init__(self):
|
|
4584
4584
|
r"""
|
|
4585
|
-
:param _PolicyId:
|
|
4585
|
+
:param _PolicyId: <p>备份策略ID</p>
|
|
4586
4586
|
:type PolicyId: str
|
|
4587
|
-
:param _BackupStorageId:
|
|
4587
|
+
:param _BackupStorageId: <p>备份库ID</p>
|
|
4588
4588
|
:type BackupStorageId: str
|
|
4589
|
-
:param _PlanName:
|
|
4589
|
+
:param _PlanName: <p>计划名称</p>
|
|
4590
4590
|
:type PlanName: str
|
|
4591
|
-
:param _Resources:
|
|
4591
|
+
:param _Resources: <p>实例配置列表,[1,20]</p>
|
|
4592
4592
|
:type Resources: list of ResourcePlan
|
|
4593
|
+
:param _ResourceType: <p>资源类型</p><p>枚举值:</p><ul><li>CVM_AGENT: CVM文件备份</li><li>CFS_AGENT: 文件系统备份</li><li>COS_AGENT: COS备份</li></ul><p>默认值:CVM_AGENT</p>
|
|
4594
|
+
:type ResourceType: str
|
|
4593
4595
|
"""
|
|
4594
4596
|
self._PolicyId = None
|
|
4595
4597
|
self._BackupStorageId = None
|
|
4596
4598
|
self._PlanName = None
|
|
4597
4599
|
self._Resources = None
|
|
4600
|
+
self._ResourceType = None
|
|
4598
4601
|
|
|
4599
4602
|
@property
|
|
4600
4603
|
def PolicyId(self):
|
|
4601
|
-
r"""
|
|
4604
|
+
r"""<p>备份策略ID</p>
|
|
4602
4605
|
:rtype: str
|
|
4603
4606
|
"""
|
|
4604
4607
|
return self._PolicyId
|
|
@@ -4609,7 +4612,7 @@ class CreateFileBackupPlanRequest(AbstractModel):
|
|
|
4609
4612
|
|
|
4610
4613
|
@property
|
|
4611
4614
|
def BackupStorageId(self):
|
|
4612
|
-
r"""
|
|
4615
|
+
r"""<p>备份库ID</p>
|
|
4613
4616
|
:rtype: str
|
|
4614
4617
|
"""
|
|
4615
4618
|
return self._BackupStorageId
|
|
@@ -4620,7 +4623,7 @@ class CreateFileBackupPlanRequest(AbstractModel):
|
|
|
4620
4623
|
|
|
4621
4624
|
@property
|
|
4622
4625
|
def PlanName(self):
|
|
4623
|
-
r"""
|
|
4626
|
+
r"""<p>计划名称</p>
|
|
4624
4627
|
:rtype: str
|
|
4625
4628
|
"""
|
|
4626
4629
|
return self._PlanName
|
|
@@ -4631,7 +4634,7 @@ class CreateFileBackupPlanRequest(AbstractModel):
|
|
|
4631
4634
|
|
|
4632
4635
|
@property
|
|
4633
4636
|
def Resources(self):
|
|
4634
|
-
r"""
|
|
4637
|
+
r"""<p>实例配置列表,[1,20]</p>
|
|
4635
4638
|
:rtype: list of ResourcePlan
|
|
4636
4639
|
"""
|
|
4637
4640
|
return self._Resources
|
|
@@ -4640,6 +4643,17 @@ class CreateFileBackupPlanRequest(AbstractModel):
|
|
|
4640
4643
|
def Resources(self, Resources):
|
|
4641
4644
|
self._Resources = Resources
|
|
4642
4645
|
|
|
4646
|
+
@property
|
|
4647
|
+
def ResourceType(self):
|
|
4648
|
+
r"""<p>资源类型</p><p>枚举值:</p><ul><li>CVM_AGENT: CVM文件备份</li><li>CFS_AGENT: 文件系统备份</li><li>COS_AGENT: COS备份</li></ul><p>默认值:CVM_AGENT</p>
|
|
4649
|
+
:rtype: str
|
|
4650
|
+
"""
|
|
4651
|
+
return self._ResourceType
|
|
4652
|
+
|
|
4653
|
+
@ResourceType.setter
|
|
4654
|
+
def ResourceType(self, ResourceType):
|
|
4655
|
+
self._ResourceType = ResourceType
|
|
4656
|
+
|
|
4643
4657
|
|
|
4644
4658
|
def _deserialize(self, params):
|
|
4645
4659
|
self._PolicyId = params.get("PolicyId")
|
|
@@ -4651,6 +4665,7 @@ class CreateFileBackupPlanRequest(AbstractModel):
|
|
|
4651
4665
|
obj = ResourcePlan()
|
|
4652
4666
|
obj._deserialize(item)
|
|
4653
4667
|
self._Resources.append(obj)
|
|
4668
|
+
self._ResourceType = params.get("ResourceType")
|
|
4654
4669
|
memeber_set = set(params.keys())
|
|
4655
4670
|
for name, value in vars(self).items():
|
|
4656
4671
|
property_name = name[1:]
|
|
@@ -4668,7 +4683,7 @@ class CreateFileBackupPlanResponse(AbstractModel):
|
|
|
4668
4683
|
|
|
4669
4684
|
def __init__(self):
|
|
4670
4685
|
r"""
|
|
4671
|
-
:param _PlanIds:
|
|
4686
|
+
:param _PlanIds: <p>备份计划 ID 列表</p>
|
|
4672
4687
|
:type PlanIds: list of str
|
|
4673
4688
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4674
4689
|
:type RequestId: str
|
|
@@ -4678,7 +4693,7 @@ class CreateFileBackupPlanResponse(AbstractModel):
|
|
|
4678
4693
|
|
|
4679
4694
|
@property
|
|
4680
4695
|
def PlanIds(self):
|
|
4681
|
-
r"""
|
|
4696
|
+
r"""<p>备份计划 ID 列表</p>
|
|
4682
4697
|
:rtype: list of str
|
|
4683
4698
|
"""
|
|
4684
4699
|
return self._PlanIds
|
|
@@ -3545,24 +3545,22 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3545
3545
|
|
|
3546
3546
|
def __init__(self):
|
|
3547
3547
|
r"""
|
|
3548
|
-
:param _SdkAppId:
|
|
3548
|
+
:param _SdkAppId: <p>应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc</p>
|
|
3549
3549
|
:type SdkAppId: int
|
|
3550
|
-
:param _AIAgentId: AI智能体ID
|
|
3550
|
+
:param _AIAgentId: <p>AI智能体ID</p>
|
|
3551
3551
|
:type AIAgentId: int
|
|
3552
|
-
:param _Callee:
|
|
3552
|
+
:param _Callee: <p>被叫号码</p>
|
|
3553
3553
|
:type Callee: str
|
|
3554
|
-
:param _Callers:
|
|
3554
|
+
:param _Callers: <p>主叫号码列表</p>
|
|
3555
3555
|
:type Callers: list of str
|
|
3556
|
-
:param _PromptVariables:
|
|
3556
|
+
:param _PromptVariables: <p>提示词变量</p>
|
|
3557
3557
|
:type PromptVariables: list of Variable
|
|
3558
|
-
:param _Variables:
|
|
3559
|
-
|
|
3560
|
-
1. dify-inputs-xxx 为dify的inputs变量
|
|
3561
|
-
2. dify-inputs-user 为dify的user值
|
|
3562
|
-
3. dify-inputs-conversation_id 为dify的conversation_id值
|
|
3558
|
+
:param _Variables: <p>通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> 欢迎语延迟播放(秒级):welcome-message-delay</p> <p> dify变量</p> </p><ol><li>dify-inputs-xxx 为dify的inputs变量</li><li>dify-inputs-user 为dify的user值</li><li>dify-inputs-conversation_id 为dify的conversation_id值</li></ol>
|
|
3563
3559
|
:type Variables: list of Variable
|
|
3564
|
-
:param _MaxRingTimeoutSecond:
|
|
3560
|
+
:param _MaxRingTimeoutSecond: <p>最大振铃时长,达到时长阈值自动挂断。 仅自携号码支持当前参数</p>
|
|
3565
3561
|
:type MaxRingTimeoutSecond: int
|
|
3562
|
+
:param _AcquireTimeoutSecond: <p>智能体并发不足时,排队等待超时时间,单位秒</p><p>取值范围:[0, 5]</p><p>默认值:5</p>
|
|
3563
|
+
:type AcquireTimeoutSecond: int
|
|
3566
3564
|
"""
|
|
3567
3565
|
self._SdkAppId = None
|
|
3568
3566
|
self._AIAgentId = None
|
|
@@ -3571,10 +3569,11 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3571
3569
|
self._PromptVariables = None
|
|
3572
3570
|
self._Variables = None
|
|
3573
3571
|
self._MaxRingTimeoutSecond = None
|
|
3572
|
+
self._AcquireTimeoutSecond = None
|
|
3574
3573
|
|
|
3575
3574
|
@property
|
|
3576
3575
|
def SdkAppId(self):
|
|
3577
|
-
r"""
|
|
3576
|
+
r"""<p>应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc</p>
|
|
3578
3577
|
:rtype: int
|
|
3579
3578
|
"""
|
|
3580
3579
|
return self._SdkAppId
|
|
@@ -3585,7 +3584,7 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3585
3584
|
|
|
3586
3585
|
@property
|
|
3587
3586
|
def AIAgentId(self):
|
|
3588
|
-
r"""AI智能体ID
|
|
3587
|
+
r"""<p>AI智能体ID</p>
|
|
3589
3588
|
:rtype: int
|
|
3590
3589
|
"""
|
|
3591
3590
|
return self._AIAgentId
|
|
@@ -3596,7 +3595,7 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3596
3595
|
|
|
3597
3596
|
@property
|
|
3598
3597
|
def Callee(self):
|
|
3599
|
-
r"""
|
|
3598
|
+
r"""<p>被叫号码</p>
|
|
3600
3599
|
:rtype: str
|
|
3601
3600
|
"""
|
|
3602
3601
|
return self._Callee
|
|
@@ -3607,7 +3606,7 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3607
3606
|
|
|
3608
3607
|
@property
|
|
3609
3608
|
def Callers(self):
|
|
3610
|
-
r"""
|
|
3609
|
+
r"""<p>主叫号码列表</p>
|
|
3611
3610
|
:rtype: list of str
|
|
3612
3611
|
"""
|
|
3613
3612
|
return self._Callers
|
|
@@ -3620,7 +3619,7 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3620
3619
|
def PromptVariables(self):
|
|
3621
3620
|
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
|
|
3622
3621
|
|
|
3623
|
-
r"""
|
|
3622
|
+
r"""<p>提示词变量</p>
|
|
3624
3623
|
:rtype: list of Variable
|
|
3625
3624
|
"""
|
|
3626
3625
|
return self._PromptVariables
|
|
@@ -3633,11 +3632,7 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3633
3632
|
|
|
3634
3633
|
@property
|
|
3635
3634
|
def Variables(self):
|
|
3636
|
-
r"""
|
|
3637
|
-
|
|
3638
|
-
1. dify-inputs-xxx 为dify的inputs变量
|
|
3639
|
-
2. dify-inputs-user 为dify的user值
|
|
3640
|
-
3. dify-inputs-conversation_id 为dify的conversation_id值
|
|
3635
|
+
r"""<p>通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> 欢迎语延迟播放(秒级):welcome-message-delay</p> <p> dify变量</p> </p><ol><li>dify-inputs-xxx 为dify的inputs变量</li><li>dify-inputs-user 为dify的user值</li><li>dify-inputs-conversation_id 为dify的conversation_id值</li></ol>
|
|
3641
3636
|
:rtype: list of Variable
|
|
3642
3637
|
"""
|
|
3643
3638
|
return self._Variables
|
|
@@ -3648,7 +3643,7 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3648
3643
|
|
|
3649
3644
|
@property
|
|
3650
3645
|
def MaxRingTimeoutSecond(self):
|
|
3651
|
-
r"""
|
|
3646
|
+
r"""<p>最大振铃时长,达到时长阈值自动挂断。 仅自携号码支持当前参数</p>
|
|
3652
3647
|
:rtype: int
|
|
3653
3648
|
"""
|
|
3654
3649
|
return self._MaxRingTimeoutSecond
|
|
@@ -3657,6 +3652,17 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3657
3652
|
def MaxRingTimeoutSecond(self, MaxRingTimeoutSecond):
|
|
3658
3653
|
self._MaxRingTimeoutSecond = MaxRingTimeoutSecond
|
|
3659
3654
|
|
|
3655
|
+
@property
|
|
3656
|
+
def AcquireTimeoutSecond(self):
|
|
3657
|
+
r"""<p>智能体并发不足时,排队等待超时时间,单位秒</p><p>取值范围:[0, 5]</p><p>默认值:5</p>
|
|
3658
|
+
:rtype: int
|
|
3659
|
+
"""
|
|
3660
|
+
return self._AcquireTimeoutSecond
|
|
3661
|
+
|
|
3662
|
+
@AcquireTimeoutSecond.setter
|
|
3663
|
+
def AcquireTimeoutSecond(self, AcquireTimeoutSecond):
|
|
3664
|
+
self._AcquireTimeoutSecond = AcquireTimeoutSecond
|
|
3665
|
+
|
|
3660
3666
|
|
|
3661
3667
|
def _deserialize(self, params):
|
|
3662
3668
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -3676,6 +3682,7 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
|
3676
3682
|
obj._deserialize(item)
|
|
3677
3683
|
self._Variables.append(obj)
|
|
3678
3684
|
self._MaxRingTimeoutSecond = params.get("MaxRingTimeoutSecond")
|
|
3685
|
+
self._AcquireTimeoutSecond = params.get("AcquireTimeoutSecond")
|
|
3679
3686
|
memeber_set = set(params.keys())
|
|
3680
3687
|
for name, value in vars(self).items():
|
|
3681
3688
|
property_name = name[1:]
|
|
@@ -3693,7 +3700,7 @@ class CreateAIAgentCallResponse(AbstractModel):
|
|
|
3693
3700
|
|
|
3694
3701
|
def __init__(self):
|
|
3695
3702
|
r"""
|
|
3696
|
-
:param _SessionId:
|
|
3703
|
+
:param _SessionId: <p>新创建的会话 ID</p>
|
|
3697
3704
|
:type SessionId: str
|
|
3698
3705
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3699
3706
|
:type RequestId: str
|
|
@@ -3703,7 +3710,7 @@ class CreateAIAgentCallResponse(AbstractModel):
|
|
|
3703
3710
|
|
|
3704
3711
|
@property
|
|
3705
3712
|
def SessionId(self):
|
|
3706
|
-
r"""
|
|
3713
|
+
r"""<p>新创建的会话 ID</p>
|
|
3707
3714
|
:rtype: str
|
|
3708
3715
|
"""
|
|
3709
3716
|
return self._SessionId
|