tencentcloud-sdk-python-hai 3.1.180__tar.gz → 3.1.181__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/setup.py +1 -1
  3. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/hai_client.py +2 -2
  5. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/hai_client_async.py +2 -2
  6. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/models.py +30 -0
  7. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_hai-3.1.181/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_hai-3.1.180/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/README.rst +0 -0
  11. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/__init__.py +0 -0
  13. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/__init__.py +0 -0
  14. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_hai-3.1.180 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud_sdk_python_hai.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.180
3
+ Version: 3.1.181
4
4
  Summary: Tencent Cloud Hai 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.180
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
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-hai',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.180,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.181,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Hai SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.180'
17
+ __version__ = '3.1.181'
@@ -165,7 +165,7 @@ class HaiClient(AbstractClient):
165
165
 
166
166
 
167
167
  def DescribeDeployTemplates(self, request):
168
- r"""本接口(DescribeDeployTemplates)用于查询模型支持的部署模板
168
+ r"""本接口(DescribeDeployTemplates)用于查询模型支持的部署模板。传入 ServiceId 时按当前服务占用过滤重装候选模板。
169
169
 
170
170
  :param request: Request instance for DescribeDeployTemplates.
171
171
  :type request: :class:`tencentcloud.hai.v20230812.models.DescribeDeployTemplatesRequest`
@@ -234,7 +234,7 @@ class HaiClient(AbstractClient):
234
234
 
235
235
 
236
236
  def DescribeModels(self, request):
237
- r"""本接口(DescribeModels)用于查询模型
237
+ r"""本接口(DescribeModels)用于查询模型。传入 ServiceId 时按当前服务占用过滤重装候选模型。
238
238
 
239
239
  :param request: Request instance for DescribeModels.
240
240
  :type request: :class:`tencentcloud.hai.v20230812.models.DescribeModelsRequest`
@@ -139,7 +139,7 @@ class HaiClient(AbstractClient):
139
139
  opts: Dict = None,
140
140
  ) -> models.DescribeDeployTemplatesResponse:
141
141
  """
142
- 本接口(DescribeDeployTemplates)用于查询模型支持的部署模板
142
+ 本接口(DescribeDeployTemplates)用于查询模型支持的部署模板。传入 ServiceId 时按当前服务占用过滤重装候选模板。
143
143
  """
144
144
 
145
145
  kwargs = {}
@@ -193,7 +193,7 @@ class HaiClient(AbstractClient):
193
193
  opts: Dict = None,
194
194
  ) -> models.DescribeModelsResponse:
195
195
  """
196
- 本接口(DescribeModels)用于查询模型
196
+ 本接口(DescribeModels)用于查询模型。传入 ServiceId 时按当前服务占用过滤重装候选模型。
197
197
  """
198
198
 
199
199
  kwargs = {}
@@ -1582,8 +1582,11 @@ class DescribeDeployTemplatesRequest(AbstractModel):
1582
1582
  r"""
1583
1583
  :param _ModelId: 模型ID
1584
1584
  :type ModelId: str
1585
+ :param _ServiceId: 可选。传入当前推理服务 ID 时,仅返回与该服务占用兼容的模板:同一 Scene、卡型家族兼容、机数相等、非机密计算。
1586
+ :type ServiceId: str
1585
1587
  """
1586
1588
  self._ModelId = None
1589
+ self._ServiceId = None
1587
1590
 
1588
1591
  @property
1589
1592
  def ModelId(self):
@@ -1596,9 +1599,21 @@ class DescribeDeployTemplatesRequest(AbstractModel):
1596
1599
  def ModelId(self, ModelId):
1597
1600
  self._ModelId = ModelId
1598
1601
 
1602
+ @property
1603
+ def ServiceId(self):
1604
+ r"""可选。传入当前推理服务 ID 时,仅返回与该服务占用兼容的模板:同一 Scene、卡型家族兼容、机数相等、非机密计算。
1605
+ :rtype: str
1606
+ """
1607
+ return self._ServiceId
1608
+
1609
+ @ServiceId.setter
1610
+ def ServiceId(self, ServiceId):
1611
+ self._ServiceId = ServiceId
1612
+
1599
1613
 
1600
1614
  def _deserialize(self, params):
1601
1615
  self._ModelId = params.get("ModelId")
1616
+ self._ServiceId = params.get("ServiceId")
1602
1617
  memeber_set = set(params.keys())
1603
1618
  for name, value in vars(self).items():
1604
1619
  property_name = name[1:]
@@ -1939,11 +1954,14 @@ class DescribeModelsRequest(AbstractModel):
1939
1954
  :type Offset: int
1940
1955
  :param _Limit: 返回量,不得大于100,默认为20
1941
1956
  :type Limit: int
1957
+ :param _ServiceId: 可选。传入当前推理服务 ID 时,仅返回与该服务同一 Scene、且至少有一条兼容重装模板的模型。自定义部署、机密计算、具身智能服务返回空列表。
1958
+ :type ServiceId: str
1942
1959
  """
1943
1960
  self._ModelIds = None
1944
1961
  self._Filters = None
1945
1962
  self._Offset = None
1946
1963
  self._Limit = None
1964
+ self._ServiceId = None
1947
1965
 
1948
1966
  @property
1949
1967
  def ModelIds(self):
@@ -1989,6 +2007,17 @@ class DescribeModelsRequest(AbstractModel):
1989
2007
  def Limit(self, Limit):
1990
2008
  self._Limit = Limit
1991
2009
 
2010
+ @property
2011
+ def ServiceId(self):
2012
+ r"""可选。传入当前推理服务 ID 时,仅返回与该服务同一 Scene、且至少有一条兼容重装模板的模型。自定义部署、机密计算、具身智能服务返回空列表。
2013
+ :rtype: str
2014
+ """
2015
+ return self._ServiceId
2016
+
2017
+ @ServiceId.setter
2018
+ def ServiceId(self, ServiceId):
2019
+ self._ServiceId = ServiceId
2020
+
1992
2021
 
1993
2022
  def _deserialize(self, params):
1994
2023
  self._ModelIds = params.get("ModelIds")
@@ -2000,6 +2029,7 @@ class DescribeModelsRequest(AbstractModel):
2000
2029
  self._Filters.append(obj)
2001
2030
  self._Offset = params.get("Offset")
2002
2031
  self._Limit = params.get("Limit")
2032
+ self._ServiceId = params.get("ServiceId")
2003
2033
  memeber_set = set(params.keys())
2004
2034
  for name, value in vars(self).items():
2005
2035
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.180
3
+ Version: 3.1.181
4
4
  Summary: Tencent Cloud Hai 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.180
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.181
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.180