tencentcloud-sdk-python-tdai 3.1.147__tar.gz → 3.1.177__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_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/setup.py +1 -1
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/models.py +161 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud_sdk_python_tdai.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tdai-3.1.177/tencentcloud_sdk_python_tdai.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tdai-3.1.147/tencentcloud_sdk_python_tdai.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/README.rst +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/__init__.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/__init__.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/tdai_client.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/tdai_client_async.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud_sdk_python_tdai.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud_sdk_python_tdai.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tdai-3.1.147 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud_sdk_python_tdai.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tdai
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
4
4
|
Summary: Tencent Cloud Tdai 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.177
|
|
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-tdai',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.177,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tdai SDK for Python',
|
|
@@ -397,6 +397,16 @@ class AgentInstance(AbstractModel):
|
|
|
397
397
|
:type Description: str
|
|
398
398
|
:param _CreatingProgress: <p>发货进度详情</p>
|
|
399
399
|
:type CreatingProgress: :class:`tencentcloud.tdai.v20250717.models.CreatingProgress`
|
|
400
|
+
:param _RoleName: <p>实例关联的角色名称</p>
|
|
401
|
+
:type RoleName: str
|
|
402
|
+
:param _OfflineTime: <p>实例下线时间</p><p>参数格式:2026-08-12 17:02:43</p>
|
|
403
|
+
:type OfflineTime: str
|
|
404
|
+
:param _ProductName: <p>商业化资源归属</p>
|
|
405
|
+
:type ProductName: str
|
|
406
|
+
:param _Capabilities: <p>具备能力</p>
|
|
407
|
+
:type Capabilities: list of str
|
|
408
|
+
:param _DeploymentFree: <p>是否是免部署实例</p>
|
|
409
|
+
:type DeploymentFree: bool
|
|
400
410
|
"""
|
|
401
411
|
self._InstanceId = None
|
|
402
412
|
self._InstanceName = None
|
|
@@ -418,6 +428,11 @@ class AgentInstance(AbstractModel):
|
|
|
418
428
|
self._LastActiveTime = None
|
|
419
429
|
self._Description = None
|
|
420
430
|
self._CreatingProgress = None
|
|
431
|
+
self._RoleName = None
|
|
432
|
+
self._OfflineTime = None
|
|
433
|
+
self._ProductName = None
|
|
434
|
+
self._Capabilities = None
|
|
435
|
+
self._DeploymentFree = None
|
|
421
436
|
|
|
422
437
|
@property
|
|
423
438
|
def InstanceId(self):
|
|
@@ -639,6 +654,61 @@ class AgentInstance(AbstractModel):
|
|
|
639
654
|
def CreatingProgress(self, CreatingProgress):
|
|
640
655
|
self._CreatingProgress = CreatingProgress
|
|
641
656
|
|
|
657
|
+
@property
|
|
658
|
+
def RoleName(self):
|
|
659
|
+
r"""<p>实例关联的角色名称</p>
|
|
660
|
+
:rtype: str
|
|
661
|
+
"""
|
|
662
|
+
return self._RoleName
|
|
663
|
+
|
|
664
|
+
@RoleName.setter
|
|
665
|
+
def RoleName(self, RoleName):
|
|
666
|
+
self._RoleName = RoleName
|
|
667
|
+
|
|
668
|
+
@property
|
|
669
|
+
def OfflineTime(self):
|
|
670
|
+
r"""<p>实例下线时间</p><p>参数格式:2026-08-12 17:02:43</p>
|
|
671
|
+
:rtype: str
|
|
672
|
+
"""
|
|
673
|
+
return self._OfflineTime
|
|
674
|
+
|
|
675
|
+
@OfflineTime.setter
|
|
676
|
+
def OfflineTime(self, OfflineTime):
|
|
677
|
+
self._OfflineTime = OfflineTime
|
|
678
|
+
|
|
679
|
+
@property
|
|
680
|
+
def ProductName(self):
|
|
681
|
+
r"""<p>商业化资源归属</p>
|
|
682
|
+
:rtype: str
|
|
683
|
+
"""
|
|
684
|
+
return self._ProductName
|
|
685
|
+
|
|
686
|
+
@ProductName.setter
|
|
687
|
+
def ProductName(self, ProductName):
|
|
688
|
+
self._ProductName = ProductName
|
|
689
|
+
|
|
690
|
+
@property
|
|
691
|
+
def Capabilities(self):
|
|
692
|
+
r"""<p>具备能力</p>
|
|
693
|
+
:rtype: list of str
|
|
694
|
+
"""
|
|
695
|
+
return self._Capabilities
|
|
696
|
+
|
|
697
|
+
@Capabilities.setter
|
|
698
|
+
def Capabilities(self, Capabilities):
|
|
699
|
+
self._Capabilities = Capabilities
|
|
700
|
+
|
|
701
|
+
@property
|
|
702
|
+
def DeploymentFree(self):
|
|
703
|
+
r"""<p>是否是免部署实例</p>
|
|
704
|
+
:rtype: bool
|
|
705
|
+
"""
|
|
706
|
+
return self._DeploymentFree
|
|
707
|
+
|
|
708
|
+
@DeploymentFree.setter
|
|
709
|
+
def DeploymentFree(self, DeploymentFree):
|
|
710
|
+
self._DeploymentFree = DeploymentFree
|
|
711
|
+
|
|
642
712
|
|
|
643
713
|
def _deserialize(self, params):
|
|
644
714
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -675,6 +745,62 @@ class AgentInstance(AbstractModel):
|
|
|
675
745
|
if params.get("CreatingProgress") is not None:
|
|
676
746
|
self._CreatingProgress = CreatingProgress()
|
|
677
747
|
self._CreatingProgress._deserialize(params.get("CreatingProgress"))
|
|
748
|
+
self._RoleName = params.get("RoleName")
|
|
749
|
+
self._OfflineTime = params.get("OfflineTime")
|
|
750
|
+
self._ProductName = params.get("ProductName")
|
|
751
|
+
self._Capabilities = params.get("Capabilities")
|
|
752
|
+
self._DeploymentFree = params.get("DeploymentFree")
|
|
753
|
+
memeber_set = set(params.keys())
|
|
754
|
+
for name, value in vars(self).items():
|
|
755
|
+
property_name = name[1:]
|
|
756
|
+
if property_name in memeber_set:
|
|
757
|
+
memeber_set.remove(property_name)
|
|
758
|
+
if len(memeber_set) > 0:
|
|
759
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
class Attachments(AbstractModel):
|
|
764
|
+
r"""聊天图片附件列表
|
|
765
|
+
|
|
766
|
+
"""
|
|
767
|
+
|
|
768
|
+
def __init__(self):
|
|
769
|
+
r"""
|
|
770
|
+
:param _CosKey: <p>cos key</p>
|
|
771
|
+
:type CosKey: str
|
|
772
|
+
:param _MimeType: <p>图片类型</p>
|
|
773
|
+
:type MimeType: str
|
|
774
|
+
"""
|
|
775
|
+
self._CosKey = None
|
|
776
|
+
self._MimeType = None
|
|
777
|
+
|
|
778
|
+
@property
|
|
779
|
+
def CosKey(self):
|
|
780
|
+
r"""<p>cos key</p>
|
|
781
|
+
:rtype: str
|
|
782
|
+
"""
|
|
783
|
+
return self._CosKey
|
|
784
|
+
|
|
785
|
+
@CosKey.setter
|
|
786
|
+
def CosKey(self, CosKey):
|
|
787
|
+
self._CosKey = CosKey
|
|
788
|
+
|
|
789
|
+
@property
|
|
790
|
+
def MimeType(self):
|
|
791
|
+
r"""<p>图片类型</p>
|
|
792
|
+
:rtype: str
|
|
793
|
+
"""
|
|
794
|
+
return self._MimeType
|
|
795
|
+
|
|
796
|
+
@MimeType.setter
|
|
797
|
+
def MimeType(self, MimeType):
|
|
798
|
+
self._MimeType = MimeType
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
def _deserialize(self, params):
|
|
802
|
+
self._CosKey = params.get("CosKey")
|
|
803
|
+
self._MimeType = params.get("MimeType")
|
|
678
804
|
memeber_set = set(params.keys())
|
|
679
805
|
for name, value in vars(self).items():
|
|
680
806
|
property_name = name[1:]
|
|
@@ -1265,6 +1391,8 @@ class CreateAgentInstanceRequest(AbstractModel):
|
|
|
1265
1391
|
:type SoulId: int
|
|
1266
1392
|
:param _Description: <p>无</p>
|
|
1267
1393
|
:type Description: str
|
|
1394
|
+
:param _UsePlatformAccount: <p>企业版是否使用平台大账号模式发货</p>
|
|
1395
|
+
:type UsePlatformAccount: bool
|
|
1268
1396
|
"""
|
|
1269
1397
|
self._AgentId = None
|
|
1270
1398
|
self._AgentVersion = None
|
|
@@ -1276,6 +1404,7 @@ class CreateAgentInstanceRequest(AbstractModel):
|
|
|
1276
1404
|
self._Skills = None
|
|
1277
1405
|
self._SoulId = None
|
|
1278
1406
|
self._Description = None
|
|
1407
|
+
self._UsePlatformAccount = None
|
|
1279
1408
|
|
|
1280
1409
|
@property
|
|
1281
1410
|
def AgentId(self):
|
|
@@ -1387,6 +1516,17 @@ class CreateAgentInstanceRequest(AbstractModel):
|
|
|
1387
1516
|
def Description(self, Description):
|
|
1388
1517
|
self._Description = Description
|
|
1389
1518
|
|
|
1519
|
+
@property
|
|
1520
|
+
def UsePlatformAccount(self):
|
|
1521
|
+
r"""<p>企业版是否使用平台大账号模式发货</p>
|
|
1522
|
+
:rtype: bool
|
|
1523
|
+
"""
|
|
1524
|
+
return self._UsePlatformAccount
|
|
1525
|
+
|
|
1526
|
+
@UsePlatformAccount.setter
|
|
1527
|
+
def UsePlatformAccount(self, UsePlatformAccount):
|
|
1528
|
+
self._UsePlatformAccount = UsePlatformAccount
|
|
1529
|
+
|
|
1390
1530
|
|
|
1391
1531
|
def _deserialize(self, params):
|
|
1392
1532
|
self._AgentId = params.get("AgentId")
|
|
@@ -1409,6 +1549,7 @@ class CreateAgentInstanceRequest(AbstractModel):
|
|
|
1409
1549
|
self._Skills = params.get("Skills")
|
|
1410
1550
|
self._SoulId = params.get("SoulId")
|
|
1411
1551
|
self._Description = params.get("Description")
|
|
1552
|
+
self._UsePlatformAccount = params.get("UsePlatformAccount")
|
|
1412
1553
|
memeber_set = set(params.keys())
|
|
1413
1554
|
for name, value in vars(self).items():
|
|
1414
1555
|
property_name = name[1:]
|
|
@@ -1494,12 +1635,15 @@ class CreateChatCompletionRequest(AbstractModel):
|
|
|
1494
1635
|
:type IsHidden: bool
|
|
1495
1636
|
:param _IsChatHidden: <p>是否隐藏会话</p>
|
|
1496
1637
|
:type IsChatHidden: bool
|
|
1638
|
+
:param _Attachments: <p>传递图片附件</p>
|
|
1639
|
+
:type Attachments: list of Attachments
|
|
1497
1640
|
"""
|
|
1498
1641
|
self._InputContent = None
|
|
1499
1642
|
self._InstanceId = None
|
|
1500
1643
|
self._ChatId = None
|
|
1501
1644
|
self._IsHidden = None
|
|
1502
1645
|
self._IsChatHidden = None
|
|
1646
|
+
self._Attachments = None
|
|
1503
1647
|
|
|
1504
1648
|
@property
|
|
1505
1649
|
def InputContent(self):
|
|
@@ -1556,6 +1700,17 @@ class CreateChatCompletionRequest(AbstractModel):
|
|
|
1556
1700
|
def IsChatHidden(self, IsChatHidden):
|
|
1557
1701
|
self._IsChatHidden = IsChatHidden
|
|
1558
1702
|
|
|
1703
|
+
@property
|
|
1704
|
+
def Attachments(self):
|
|
1705
|
+
r"""<p>传递图片附件</p>
|
|
1706
|
+
:rtype: list of Attachments
|
|
1707
|
+
"""
|
|
1708
|
+
return self._Attachments
|
|
1709
|
+
|
|
1710
|
+
@Attachments.setter
|
|
1711
|
+
def Attachments(self, Attachments):
|
|
1712
|
+
self._Attachments = Attachments
|
|
1713
|
+
|
|
1559
1714
|
|
|
1560
1715
|
def _deserialize(self, params):
|
|
1561
1716
|
self._InputContent = params.get("InputContent")
|
|
@@ -1563,6 +1718,12 @@ class CreateChatCompletionRequest(AbstractModel):
|
|
|
1563
1718
|
self._ChatId = params.get("ChatId")
|
|
1564
1719
|
self._IsHidden = params.get("IsHidden")
|
|
1565
1720
|
self._IsChatHidden = params.get("IsChatHidden")
|
|
1721
|
+
if params.get("Attachments") is not None:
|
|
1722
|
+
self._Attachments = []
|
|
1723
|
+
for item in params.get("Attachments"):
|
|
1724
|
+
obj = Attachments()
|
|
1725
|
+
obj._deserialize(item)
|
|
1726
|
+
self._Attachments.append(obj)
|
|
1566
1727
|
memeber_set = set(params.keys())
|
|
1567
1728
|
for name, value in vars(self).items():
|
|
1568
1729
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tdai
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
4
4
|
Summary: Tencent Cloud Tdai 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.177
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.147
|
|
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
|