tencentcloud-sdk-python-adp 3.1.164__tar.gz → 3.1.166__tar.gz
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_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/setup.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud/adp/v20260520/models.py +132 -6
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_adp-3.1.166/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_adp-3.1.164/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/README.rst +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/setup.cfg +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud/adp/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud/adp/v20260520/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud/adp/v20260520/adp_client.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud/adp/v20260520/adp_client_async.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud/adp/v20260520/errorcodes.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.164 → tencentcloud_sdk_python_adp-3.1.166}/tencentcloud_sdk_python_adp.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-adp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.166
|
|
4
4
|
Summary: Tencent Cloud Adp SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.166
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-adp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.166,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Adp SDK for Python',
|
|
@@ -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:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-adp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.166
|
|
4
4
|
Summary: Tencent Cloud Adp SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.166
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.166
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.164
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|