tencentcloud-sdk-python-tdai 3.1.161__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.161 → tencentcloud_sdk_python_tdai-3.1.177}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/setup.py +1 -1
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/models.py +101 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → 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.161/tencentcloud_sdk_python_tdai.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/README.rst +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/__init__.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/__init__.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/tdai_client.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud/tdai/v20250717/tdai_client_async.py +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud_sdk_python_tdai.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → tencentcloud_sdk_python_tdai-3.1.177}/tencentcloud_sdk_python_tdai.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tdai-3.1.161 → 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',
|
|
@@ -403,6 +403,10 @@ class AgentInstance(AbstractModel):
|
|
|
403
403
|
:type OfflineTime: str
|
|
404
404
|
:param _ProductName: <p>商业化资源归属</p>
|
|
405
405
|
:type ProductName: str
|
|
406
|
+
:param _Capabilities: <p>具备能力</p>
|
|
407
|
+
:type Capabilities: list of str
|
|
408
|
+
:param _DeploymentFree: <p>是否是免部署实例</p>
|
|
409
|
+
:type DeploymentFree: bool
|
|
406
410
|
"""
|
|
407
411
|
self._InstanceId = None
|
|
408
412
|
self._InstanceName = None
|
|
@@ -427,6 +431,8 @@ class AgentInstance(AbstractModel):
|
|
|
427
431
|
self._RoleName = None
|
|
428
432
|
self._OfflineTime = None
|
|
429
433
|
self._ProductName = None
|
|
434
|
+
self._Capabilities = None
|
|
435
|
+
self._DeploymentFree = None
|
|
430
436
|
|
|
431
437
|
@property
|
|
432
438
|
def InstanceId(self):
|
|
@@ -681,6 +687,28 @@ class AgentInstance(AbstractModel):
|
|
|
681
687
|
def ProductName(self, ProductName):
|
|
682
688
|
self._ProductName = ProductName
|
|
683
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
|
+
|
|
684
712
|
|
|
685
713
|
def _deserialize(self, params):
|
|
686
714
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -720,6 +748,59 @@ class AgentInstance(AbstractModel):
|
|
|
720
748
|
self._RoleName = params.get("RoleName")
|
|
721
749
|
self._OfflineTime = params.get("OfflineTime")
|
|
722
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")
|
|
723
804
|
memeber_set = set(params.keys())
|
|
724
805
|
for name, value in vars(self).items():
|
|
725
806
|
property_name = name[1:]
|
|
@@ -1554,12 +1635,15 @@ class CreateChatCompletionRequest(AbstractModel):
|
|
|
1554
1635
|
:type IsHidden: bool
|
|
1555
1636
|
:param _IsChatHidden: <p>是否隐藏会话</p>
|
|
1556
1637
|
:type IsChatHidden: bool
|
|
1638
|
+
:param _Attachments: <p>传递图片附件</p>
|
|
1639
|
+
:type Attachments: list of Attachments
|
|
1557
1640
|
"""
|
|
1558
1641
|
self._InputContent = None
|
|
1559
1642
|
self._InstanceId = None
|
|
1560
1643
|
self._ChatId = None
|
|
1561
1644
|
self._IsHidden = None
|
|
1562
1645
|
self._IsChatHidden = None
|
|
1646
|
+
self._Attachments = None
|
|
1563
1647
|
|
|
1564
1648
|
@property
|
|
1565
1649
|
def InputContent(self):
|
|
@@ -1616,6 +1700,17 @@ class CreateChatCompletionRequest(AbstractModel):
|
|
|
1616
1700
|
def IsChatHidden(self, IsChatHidden):
|
|
1617
1701
|
self._IsChatHidden = IsChatHidden
|
|
1618
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
|
+
|
|
1619
1714
|
|
|
1620
1715
|
def _deserialize(self, params):
|
|
1621
1716
|
self._InputContent = params.get("InputContent")
|
|
@@ -1623,6 +1718,12 @@ class CreateChatCompletionRequest(AbstractModel):
|
|
|
1623
1718
|
self._ChatId = params.get("ChatId")
|
|
1624
1719
|
self._IsHidden = params.get("IsHidden")
|
|
1625
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)
|
|
1626
1727
|
memeber_set = set(params.keys())
|
|
1627
1728
|
for name, value in vars(self).items():
|
|
1628
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.161
|
|
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
|