tencentcloud-sdk-python-clb 3.1.169__tar.gz → 3.1.170__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_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud/clb/v20180317/models.py +315 -6
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.170/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.169/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.169 → tencentcloud_sdk_python_clb-3.1.170}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.170
|
|
4
4
|
Summary: Tencent Cloud Clb 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.170
|
|
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-clb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.170,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -7414,6 +7414,10 @@ class CreateModelRequest(AbstractModel):
|
|
|
7414
7414
|
:type CMRPrivateNetworkTunnelId: str
|
|
7415
7415
|
:param _HealthCheckConfigs: <p>健康检查配置</p>
|
|
7416
7416
|
:type HealthCheckConfigs: list of ServiceProviderHealthCheckConfigItemInput
|
|
7417
|
+
:param _Capability: <p>模型输出模态</p>
|
|
7418
|
+
:type Capability: str
|
|
7419
|
+
:param _EndpointPath: <p>请求后缀</p>
|
|
7420
|
+
:type EndpointPath: str
|
|
7417
7421
|
"""
|
|
7418
7422
|
self._AccessType = None
|
|
7419
7423
|
self._ModelProvider = None
|
|
@@ -7432,6 +7436,8 @@ class CreateModelRequest(AbstractModel):
|
|
|
7432
7436
|
self._HealthCheckConfig = None
|
|
7433
7437
|
self._CMRPrivateNetworkTunnelId = None
|
|
7434
7438
|
self._HealthCheckConfigs = None
|
|
7439
|
+
self._Capability = None
|
|
7440
|
+
self._EndpointPath = None
|
|
7435
7441
|
|
|
7436
7442
|
@property
|
|
7437
7443
|
def AccessType(self):
|
|
@@ -7620,6 +7626,28 @@ class CreateModelRequest(AbstractModel):
|
|
|
7620
7626
|
def HealthCheckConfigs(self, HealthCheckConfigs):
|
|
7621
7627
|
self._HealthCheckConfigs = HealthCheckConfigs
|
|
7622
7628
|
|
|
7629
|
+
@property
|
|
7630
|
+
def Capability(self):
|
|
7631
|
+
r"""<p>模型输出模态</p>
|
|
7632
|
+
:rtype: str
|
|
7633
|
+
"""
|
|
7634
|
+
return self._Capability
|
|
7635
|
+
|
|
7636
|
+
@Capability.setter
|
|
7637
|
+
def Capability(self, Capability):
|
|
7638
|
+
self._Capability = Capability
|
|
7639
|
+
|
|
7640
|
+
@property
|
|
7641
|
+
def EndpointPath(self):
|
|
7642
|
+
r"""<p>请求后缀</p>
|
|
7643
|
+
:rtype: str
|
|
7644
|
+
"""
|
|
7645
|
+
return self._EndpointPath
|
|
7646
|
+
|
|
7647
|
+
@EndpointPath.setter
|
|
7648
|
+
def EndpointPath(self, EndpointPath):
|
|
7649
|
+
self._EndpointPath = EndpointPath
|
|
7650
|
+
|
|
7623
7651
|
|
|
7624
7652
|
def _deserialize(self, params):
|
|
7625
7653
|
self._AccessType = params.get("AccessType")
|
|
@@ -7666,6 +7694,8 @@ class CreateModelRequest(AbstractModel):
|
|
|
7666
7694
|
obj = ServiceProviderHealthCheckConfigItemInput()
|
|
7667
7695
|
obj._deserialize(item)
|
|
7668
7696
|
self._HealthCheckConfigs.append(obj)
|
|
7697
|
+
self._Capability = params.get("Capability")
|
|
7698
|
+
self._EndpointPath = params.get("EndpointPath")
|
|
7669
7699
|
memeber_set = set(params.keys())
|
|
7670
7700
|
for name, value in vars(self).items():
|
|
7671
7701
|
property_name = name[1:]
|
|
@@ -7775,6 +7805,8 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7775
7805
|
:type EipAddressId: str
|
|
7776
7806
|
:param _Bandwidth: <p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
7777
7807
|
:type Bandwidth: int
|
|
7808
|
+
:param _EmbeddingConfig: <p>Embedding 配置</p>
|
|
7809
|
+
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
7778
7810
|
"""
|
|
7779
7811
|
self._ModelRouterType = None
|
|
7780
7812
|
self._BudgetId = None
|
|
@@ -7793,6 +7825,7 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7793
7825
|
self._ClientToken = None
|
|
7794
7826
|
self._EipAddressId = None
|
|
7795
7827
|
self._Bandwidth = None
|
|
7828
|
+
self._EmbeddingConfig = None
|
|
7796
7829
|
|
|
7797
7830
|
@property
|
|
7798
7831
|
def ModelRouterType(self):
|
|
@@ -7981,6 +8014,17 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7981
8014
|
def Bandwidth(self, Bandwidth):
|
|
7982
8015
|
self._Bandwidth = Bandwidth
|
|
7983
8016
|
|
|
8017
|
+
@property
|
|
8018
|
+
def EmbeddingConfig(self):
|
|
8019
|
+
r"""<p>Embedding 配置</p>
|
|
8020
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
8021
|
+
"""
|
|
8022
|
+
return self._EmbeddingConfig
|
|
8023
|
+
|
|
8024
|
+
@EmbeddingConfig.setter
|
|
8025
|
+
def EmbeddingConfig(self, EmbeddingConfig):
|
|
8026
|
+
self._EmbeddingConfig = EmbeddingConfig
|
|
8027
|
+
|
|
7984
8028
|
|
|
7985
8029
|
def _deserialize(self, params):
|
|
7986
8030
|
self._ModelRouterType = params.get("ModelRouterType")
|
|
@@ -8013,6 +8057,9 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8013
8057
|
self._ClientToken = params.get("ClientToken")
|
|
8014
8058
|
self._EipAddressId = params.get("EipAddressId")
|
|
8015
8059
|
self._Bandwidth = params.get("Bandwidth")
|
|
8060
|
+
if params.get("EmbeddingConfig") is not None:
|
|
8061
|
+
self._EmbeddingConfig = EmbeddingConfig()
|
|
8062
|
+
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
8016
8063
|
memeber_set = set(params.keys())
|
|
8017
8064
|
for name, value in vars(self).items():
|
|
8018
8065
|
property_name = name[1:]
|
|
@@ -14849,10 +14896,13 @@ class DescribeModelAssociationsRequest(AbstractModel):
|
|
|
14849
14896
|
:type Limit: int
|
|
14850
14897
|
:param _Offset: <p>翻页偏移量</p><p>默认值:0</p>
|
|
14851
14898
|
:type Offset: int
|
|
14899
|
+
:param _Capability: <p>模型输出模态</p>
|
|
14900
|
+
:type Capability: str
|
|
14852
14901
|
"""
|
|
14853
14902
|
self._ModelRouterId = None
|
|
14854
14903
|
self._Limit = None
|
|
14855
14904
|
self._Offset = None
|
|
14905
|
+
self._Capability = None
|
|
14856
14906
|
|
|
14857
14907
|
@property
|
|
14858
14908
|
def ModelRouterId(self):
|
|
@@ -14887,11 +14937,23 @@ class DescribeModelAssociationsRequest(AbstractModel):
|
|
|
14887
14937
|
def Offset(self, Offset):
|
|
14888
14938
|
self._Offset = Offset
|
|
14889
14939
|
|
|
14940
|
+
@property
|
|
14941
|
+
def Capability(self):
|
|
14942
|
+
r"""<p>模型输出模态</p>
|
|
14943
|
+
:rtype: str
|
|
14944
|
+
"""
|
|
14945
|
+
return self._Capability
|
|
14946
|
+
|
|
14947
|
+
@Capability.setter
|
|
14948
|
+
def Capability(self, Capability):
|
|
14949
|
+
self._Capability = Capability
|
|
14950
|
+
|
|
14890
14951
|
|
|
14891
14952
|
def _deserialize(self, params):
|
|
14892
14953
|
self._ModelRouterId = params.get("ModelRouterId")
|
|
14893
14954
|
self._Limit = params.get("Limit")
|
|
14894
14955
|
self._Offset = params.get("Offset")
|
|
14956
|
+
self._Capability = params.get("Capability")
|
|
14895
14957
|
memeber_set = set(params.keys())
|
|
14896
14958
|
for name, value in vars(self).items():
|
|
14897
14959
|
property_name = name[1:]
|
|
@@ -18699,6 +18761,80 @@ class DisassociateTargetGroupsResponse(AbstractModel):
|
|
|
18699
18761
|
self._RequestId = params.get("RequestId")
|
|
18700
18762
|
|
|
18701
18763
|
|
|
18764
|
+
class EmbeddingConfig(AbstractModel):
|
|
18765
|
+
r"""embedding配置。
|
|
18766
|
+
|
|
18767
|
+
"""
|
|
18768
|
+
|
|
18769
|
+
def __init__(self):
|
|
18770
|
+
r"""
|
|
18771
|
+
:param _RoutingStrategy: <p>模型内路由策略</p>
|
|
18772
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18773
|
+
:type RoutingStrategy: str
|
|
18774
|
+
:param _RoutingStrategyArgs: <p>路由参数</p>
|
|
18775
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18776
|
+
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
18777
|
+
:param _NumRetries: <p>同一模型请求重试次数</p>
|
|
18778
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18779
|
+
:type NumRetries: int
|
|
18780
|
+
"""
|
|
18781
|
+
self._RoutingStrategy = None
|
|
18782
|
+
self._RoutingStrategyArgs = None
|
|
18783
|
+
self._NumRetries = None
|
|
18784
|
+
|
|
18785
|
+
@property
|
|
18786
|
+
def RoutingStrategy(self):
|
|
18787
|
+
r"""<p>模型内路由策略</p>
|
|
18788
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18789
|
+
:rtype: str
|
|
18790
|
+
"""
|
|
18791
|
+
return self._RoutingStrategy
|
|
18792
|
+
|
|
18793
|
+
@RoutingStrategy.setter
|
|
18794
|
+
def RoutingStrategy(self, RoutingStrategy):
|
|
18795
|
+
self._RoutingStrategy = RoutingStrategy
|
|
18796
|
+
|
|
18797
|
+
@property
|
|
18798
|
+
def RoutingStrategyArgs(self):
|
|
18799
|
+
r"""<p>路由参数</p>
|
|
18800
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18801
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
18802
|
+
"""
|
|
18803
|
+
return self._RoutingStrategyArgs
|
|
18804
|
+
|
|
18805
|
+
@RoutingStrategyArgs.setter
|
|
18806
|
+
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
18807
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
18808
|
+
|
|
18809
|
+
@property
|
|
18810
|
+
def NumRetries(self):
|
|
18811
|
+
r"""<p>同一模型请求重试次数</p>
|
|
18812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18813
|
+
:rtype: int
|
|
18814
|
+
"""
|
|
18815
|
+
return self._NumRetries
|
|
18816
|
+
|
|
18817
|
+
@NumRetries.setter
|
|
18818
|
+
def NumRetries(self, NumRetries):
|
|
18819
|
+
self._NumRetries = NumRetries
|
|
18820
|
+
|
|
18821
|
+
|
|
18822
|
+
def _deserialize(self, params):
|
|
18823
|
+
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
18824
|
+
if params.get("RoutingStrategyArgs") is not None:
|
|
18825
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
18826
|
+
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
18827
|
+
self._NumRetries = params.get("NumRetries")
|
|
18828
|
+
memeber_set = set(params.keys())
|
|
18829
|
+
for name, value in vars(self).items():
|
|
18830
|
+
property_name = name[1:]
|
|
18831
|
+
if property_name in memeber_set:
|
|
18832
|
+
memeber_set.remove(property_name)
|
|
18833
|
+
if len(memeber_set) > 0:
|
|
18834
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18835
|
+
|
|
18836
|
+
|
|
18837
|
+
|
|
18702
18838
|
class ExclusiveCluster(AbstractModel):
|
|
18703
18839
|
r"""独占集群
|
|
18704
18840
|
|
|
@@ -24674,7 +24810,7 @@ class ModelAlias(AbstractModel):
|
|
|
24674
24810
|
|
|
24675
24811
|
def __init__(self):
|
|
24676
24812
|
r"""
|
|
24677
|
-
:param _Coefficient: <p>模型积分系数配置,包含 <code>InputCoefficient</code
|
|
24813
|
+
:param _Coefficient: <p>模型积分系数配置,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p>未配置时输入系数和输出系数均返回 1。</p>
|
|
24678
24814
|
:type Coefficient: :class:`tencentcloud.clb.v20180317.models.Coefficient`
|
|
24679
24815
|
:param _ModelAliasName: <p>模型别名名称。</p><p>若用户配置了模型别名,则为该别名;未配置时为原始模型名称。</p>
|
|
24680
24816
|
:type ModelAliasName: str
|
|
@@ -24684,16 +24820,19 @@ class ModelAlias(AbstractModel):
|
|
|
24684
24820
|
:type Source: str
|
|
24685
24821
|
:param _Status: <p>状态</p><p>枚举值:</p><ul><li>Active: 正常可用</li><li>Configuring: 变配中</li><li>ConfigureFailed: 变配失败</li></ul>
|
|
24686
24822
|
:type Status: str
|
|
24823
|
+
:param _Capability: <p>模型能力</p>
|
|
24824
|
+
:type Capability: str
|
|
24687
24825
|
"""
|
|
24688
24826
|
self._Coefficient = None
|
|
24689
24827
|
self._ModelAliasName = None
|
|
24690
24828
|
self._ServiceProviderCoefficientSet = None
|
|
24691
24829
|
self._Source = None
|
|
24692
24830
|
self._Status = None
|
|
24831
|
+
self._Capability = None
|
|
24693
24832
|
|
|
24694
24833
|
@property
|
|
24695
24834
|
def Coefficient(self):
|
|
24696
|
-
r"""<p>模型积分系数配置,包含 <code>InputCoefficient</code
|
|
24835
|
+
r"""<p>模型积分系数配置,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p>未配置时输入系数和输出系数均返回 1。</p>
|
|
24697
24836
|
:rtype: :class:`tencentcloud.clb.v20180317.models.Coefficient`
|
|
24698
24837
|
"""
|
|
24699
24838
|
return self._Coefficient
|
|
@@ -24746,6 +24885,17 @@ class ModelAlias(AbstractModel):
|
|
|
24746
24885
|
def Status(self, Status):
|
|
24747
24886
|
self._Status = Status
|
|
24748
24887
|
|
|
24888
|
+
@property
|
|
24889
|
+
def Capability(self):
|
|
24890
|
+
r"""<p>模型能力</p>
|
|
24891
|
+
:rtype: str
|
|
24892
|
+
"""
|
|
24893
|
+
return self._Capability
|
|
24894
|
+
|
|
24895
|
+
@Capability.setter
|
|
24896
|
+
def Capability(self, Capability):
|
|
24897
|
+
self._Capability = Capability
|
|
24898
|
+
|
|
24749
24899
|
|
|
24750
24900
|
def _deserialize(self, params):
|
|
24751
24901
|
if params.get("Coefficient") is not None:
|
|
@@ -24760,6 +24910,7 @@ class ModelAlias(AbstractModel):
|
|
|
24760
24910
|
self._ServiceProviderCoefficientSet.append(obj)
|
|
24761
24911
|
self._Source = params.get("Source")
|
|
24762
24912
|
self._Status = params.get("Status")
|
|
24913
|
+
self._Capability = params.get("Capability")
|
|
24763
24914
|
memeber_set = set(params.keys())
|
|
24764
24915
|
for name, value in vars(self).items():
|
|
24765
24916
|
property_name = name[1:]
|
|
@@ -24785,11 +24936,14 @@ class ModelAssociation(AbstractModel):
|
|
|
24785
24936
|
:type ServiceProviders: list of ServiceProvider
|
|
24786
24937
|
:param _Type: <p>模型类型</p>
|
|
24787
24938
|
:type Type: str
|
|
24939
|
+
:param _Capability: <p>输出模态</p>
|
|
24940
|
+
:type Capability: str
|
|
24788
24941
|
"""
|
|
24789
24942
|
self._InputModalitiesUnion = None
|
|
24790
24943
|
self._ModelName = None
|
|
24791
24944
|
self._ServiceProviders = None
|
|
24792
24945
|
self._Type = None
|
|
24946
|
+
self._Capability = None
|
|
24793
24947
|
|
|
24794
24948
|
@property
|
|
24795
24949
|
def InputModalitiesUnion(self):
|
|
@@ -24835,6 +24989,17 @@ class ModelAssociation(AbstractModel):
|
|
|
24835
24989
|
def Type(self, Type):
|
|
24836
24990
|
self._Type = Type
|
|
24837
24991
|
|
|
24992
|
+
@property
|
|
24993
|
+
def Capability(self):
|
|
24994
|
+
r"""<p>输出模态</p>
|
|
24995
|
+
:rtype: str
|
|
24996
|
+
"""
|
|
24997
|
+
return self._Capability
|
|
24998
|
+
|
|
24999
|
+
@Capability.setter
|
|
25000
|
+
def Capability(self, Capability):
|
|
25001
|
+
self._Capability = Capability
|
|
25002
|
+
|
|
24838
25003
|
|
|
24839
25004
|
def _deserialize(self, params):
|
|
24840
25005
|
self._InputModalitiesUnion = params.get("InputModalitiesUnion")
|
|
@@ -24846,6 +25011,7 @@ class ModelAssociation(AbstractModel):
|
|
|
24846
25011
|
obj._deserialize(item)
|
|
24847
25012
|
self._ServiceProviders.append(obj)
|
|
24848
25013
|
self._Type = params.get("Type")
|
|
25014
|
+
self._Capability = params.get("Capability")
|
|
24849
25015
|
memeber_set = set(params.keys())
|
|
24850
25016
|
for name, value in vars(self).items():
|
|
24851
25017
|
property_name = name[1:]
|
|
@@ -25114,6 +25280,12 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25114
25280
|
:type CMRPrivateNetworkTunnelName: str
|
|
25115
25281
|
:param _HealthCheckConfigs: <p>健康检查配置</p>
|
|
25116
25282
|
:type HealthCheckConfigs: list of ServiceProviderHealthCheckConfigItemOutput
|
|
25283
|
+
:param _Capability: <p>模型输出模态</p>
|
|
25284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25285
|
+
:type Capability: str
|
|
25286
|
+
:param _EndpointPath: <p>请求后缀</p>
|
|
25287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25288
|
+
:type EndpointPath: str
|
|
25117
25289
|
"""
|
|
25118
25290
|
self._AccessType = None
|
|
25119
25291
|
self._ApiBase = None
|
|
@@ -25137,6 +25309,8 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25137
25309
|
self._CMRPrivateNetworkTunnelId = None
|
|
25138
25310
|
self._CMRPrivateNetworkTunnelName = None
|
|
25139
25311
|
self._HealthCheckConfigs = None
|
|
25312
|
+
self._Capability = None
|
|
25313
|
+
self._EndpointPath = None
|
|
25140
25314
|
|
|
25141
25315
|
@property
|
|
25142
25316
|
def AccessType(self):
|
|
@@ -25389,6 +25563,30 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25389
25563
|
def HealthCheckConfigs(self, HealthCheckConfigs):
|
|
25390
25564
|
self._HealthCheckConfigs = HealthCheckConfigs
|
|
25391
25565
|
|
|
25566
|
+
@property
|
|
25567
|
+
def Capability(self):
|
|
25568
|
+
r"""<p>模型输出模态</p>
|
|
25569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25570
|
+
:rtype: str
|
|
25571
|
+
"""
|
|
25572
|
+
return self._Capability
|
|
25573
|
+
|
|
25574
|
+
@Capability.setter
|
|
25575
|
+
def Capability(self, Capability):
|
|
25576
|
+
self._Capability = Capability
|
|
25577
|
+
|
|
25578
|
+
@property
|
|
25579
|
+
def EndpointPath(self):
|
|
25580
|
+
r"""<p>请求后缀</p>
|
|
25581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25582
|
+
:rtype: str
|
|
25583
|
+
"""
|
|
25584
|
+
return self._EndpointPath
|
|
25585
|
+
|
|
25586
|
+
@EndpointPath.setter
|
|
25587
|
+
def EndpointPath(self, EndpointPath):
|
|
25588
|
+
self._EndpointPath = EndpointPath
|
|
25589
|
+
|
|
25392
25590
|
|
|
25393
25591
|
def _deserialize(self, params):
|
|
25394
25592
|
self._AccessType = params.get("AccessType")
|
|
@@ -25440,6 +25638,8 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25440
25638
|
obj = ServiceProviderHealthCheckConfigItemOutput()
|
|
25441
25639
|
obj._deserialize(item)
|
|
25442
25640
|
self._HealthCheckConfigs.append(obj)
|
|
25641
|
+
self._Capability = params.get("Capability")
|
|
25642
|
+
self._EndpointPath = params.get("EndpointPath")
|
|
25443
25643
|
memeber_set = set(params.keys())
|
|
25444
25644
|
for name, value in vars(self).items():
|
|
25445
25645
|
property_name = name[1:]
|
|
@@ -25720,6 +25920,8 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25720
25920
|
:type EipAddressId: str
|
|
25721
25921
|
:param _BillingConfig: <p>计费信息</p>
|
|
25722
25922
|
:type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
25923
|
+
:param _EmbeddingConfig: <p>Embedding配置</p>
|
|
25924
|
+
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
25723
25925
|
"""
|
|
25724
25926
|
self._BudgetId = None
|
|
25725
25927
|
self._BudgetName = None
|
|
@@ -25746,6 +25948,7 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25746
25948
|
self._Bandwidth = None
|
|
25747
25949
|
self._EipAddressId = None
|
|
25748
25950
|
self._BillingConfig = None
|
|
25951
|
+
self._EmbeddingConfig = None
|
|
25749
25952
|
|
|
25750
25953
|
@property
|
|
25751
25954
|
def BudgetId(self):
|
|
@@ -26026,6 +26229,17 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26026
26229
|
def BillingConfig(self, BillingConfig):
|
|
26027
26230
|
self._BillingConfig = BillingConfig
|
|
26028
26231
|
|
|
26232
|
+
@property
|
|
26233
|
+
def EmbeddingConfig(self):
|
|
26234
|
+
r"""<p>Embedding配置</p>
|
|
26235
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
26236
|
+
"""
|
|
26237
|
+
return self._EmbeddingConfig
|
|
26238
|
+
|
|
26239
|
+
@EmbeddingConfig.setter
|
|
26240
|
+
def EmbeddingConfig(self, EmbeddingConfig):
|
|
26241
|
+
self._EmbeddingConfig = EmbeddingConfig
|
|
26242
|
+
|
|
26029
26243
|
|
|
26030
26244
|
def _deserialize(self, params):
|
|
26031
26245
|
self._BudgetId = params.get("BudgetId")
|
|
@@ -26076,6 +26290,9 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26076
26290
|
if params.get("BillingConfig") is not None:
|
|
26077
26291
|
self._BillingConfig = ModelRouterBillingConfigOutput()
|
|
26078
26292
|
self._BillingConfig._deserialize(params.get("BillingConfig"))
|
|
26293
|
+
if params.get("EmbeddingConfig") is not None:
|
|
26294
|
+
self._EmbeddingConfig = EmbeddingConfig()
|
|
26295
|
+
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
26079
26296
|
memeber_set = set(params.keys())
|
|
26080
26297
|
for name, value in vars(self).items():
|
|
26081
26298
|
property_name = name[1:]
|
|
@@ -29494,20 +29711,23 @@ class ModifyModelAliasAttributesRequest(AbstractModel):
|
|
|
29494
29711
|
|
|
29495
29712
|
def __init__(self):
|
|
29496
29713
|
r"""
|
|
29497
|
-
:param _Coefficient: <p>模型积分系数配置。</p><p
|
|
29714
|
+
:param _Coefficient: <p>模型积分系数配置。</p><p>必填,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p><code>InputCoefficient</code> 为输入积分系数。</p><p><code>OutputCoefficient</code> 为输出积分系数。</p><p>取值范围:[1, 200],最多支持 1 位小数。</p>
|
|
29498
29715
|
:type Coefficient: :class:`tencentcloud.clb.v20180317.models.Coefficient`
|
|
29499
|
-
:param _ModelAliasNames: <p
|
|
29716
|
+
:param _ModelAliasNames: <p>模型别名</p>
|
|
29500
29717
|
:type ModelAliasNames: list of str
|
|
29501
29718
|
:param _ServiceProviderIds: <p>BYOK 实例(ServiceProvider)ID 列表。</p><p>可选,数组。传入时按 ServiceProvider 维度修改:把同一份 Coefficient 批量应用到数组内每一个实例(覆盖配置,仅作用于这些实例),此时 <code>ModelAliasNames</code> 只能传 1 个别名(即 1 别名 × N ServiceProvider);数组需去重、非空、上限 100,任一实例不归属/不存在/该实例下无该别名将整批返回错误。不传时按 ModelAlias(账号)维度修改,作用于该别名下未单独配置覆盖的全部实例。</p>
|
|
29502
29719
|
:type ServiceProviderIds: list of str
|
|
29720
|
+
:param _Capability: <p>模型能力</p>
|
|
29721
|
+
:type Capability: str
|
|
29503
29722
|
"""
|
|
29504
29723
|
self._Coefficient = None
|
|
29505
29724
|
self._ModelAliasNames = None
|
|
29506
29725
|
self._ServiceProviderIds = None
|
|
29726
|
+
self._Capability = None
|
|
29507
29727
|
|
|
29508
29728
|
@property
|
|
29509
29729
|
def Coefficient(self):
|
|
29510
|
-
r"""<p>模型积分系数配置。</p><p
|
|
29730
|
+
r"""<p>模型积分系数配置。</p><p>必填,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p><code>InputCoefficient</code> 为输入积分系数。</p><p><code>OutputCoefficient</code> 为输出积分系数。</p><p>取值范围:[1, 200],最多支持 1 位小数。</p>
|
|
29511
29731
|
:rtype: :class:`tencentcloud.clb.v20180317.models.Coefficient`
|
|
29512
29732
|
"""
|
|
29513
29733
|
return self._Coefficient
|
|
@@ -29518,7 +29738,7 @@ class ModifyModelAliasAttributesRequest(AbstractModel):
|
|
|
29518
29738
|
|
|
29519
29739
|
@property
|
|
29520
29740
|
def ModelAliasNames(self):
|
|
29521
|
-
r"""<p
|
|
29741
|
+
r"""<p>模型别名</p>
|
|
29522
29742
|
:rtype: list of str
|
|
29523
29743
|
"""
|
|
29524
29744
|
return self._ModelAliasNames
|
|
@@ -29538,6 +29758,17 @@ class ModifyModelAliasAttributesRequest(AbstractModel):
|
|
|
29538
29758
|
def ServiceProviderIds(self, ServiceProviderIds):
|
|
29539
29759
|
self._ServiceProviderIds = ServiceProviderIds
|
|
29540
29760
|
|
|
29761
|
+
@property
|
|
29762
|
+
def Capability(self):
|
|
29763
|
+
r"""<p>模型能力</p>
|
|
29764
|
+
:rtype: str
|
|
29765
|
+
"""
|
|
29766
|
+
return self._Capability
|
|
29767
|
+
|
|
29768
|
+
@Capability.setter
|
|
29769
|
+
def Capability(self, Capability):
|
|
29770
|
+
self._Capability = Capability
|
|
29771
|
+
|
|
29541
29772
|
|
|
29542
29773
|
def _deserialize(self, params):
|
|
29543
29774
|
if params.get("Coefficient") is not None:
|
|
@@ -29545,6 +29776,7 @@ class ModifyModelAliasAttributesRequest(AbstractModel):
|
|
|
29545
29776
|
self._Coefficient._deserialize(params.get("Coefficient"))
|
|
29546
29777
|
self._ModelAliasNames = params.get("ModelAliasNames")
|
|
29547
29778
|
self._ServiceProviderIds = params.get("ServiceProviderIds")
|
|
29779
|
+
self._Capability = params.get("Capability")
|
|
29548
29780
|
memeber_set = set(params.keys())
|
|
29549
29781
|
for name, value in vars(self).items():
|
|
29550
29782
|
property_name = name[1:]
|
|
@@ -29596,10 +29828,16 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
29596
29828
|
:type ServiceProviderName: str
|
|
29597
29829
|
:param _ApiBases: <p>多协议 Api Base URL</p>
|
|
29598
29830
|
:type ApiBases: list of ApiBaseItem
|
|
29831
|
+
:param _ApiBase: <p>非chat输出模态的Api Base URL</p>
|
|
29832
|
+
:type ApiBase: str
|
|
29833
|
+
:param _EndpointPath: <p>非chat输出模态的请求后缀</p>
|
|
29834
|
+
:type EndpointPath: str
|
|
29599
29835
|
"""
|
|
29600
29836
|
self._ServiceProviderId = None
|
|
29601
29837
|
self._ServiceProviderName = None
|
|
29602
29838
|
self._ApiBases = None
|
|
29839
|
+
self._ApiBase = None
|
|
29840
|
+
self._EndpointPath = None
|
|
29603
29841
|
|
|
29604
29842
|
@property
|
|
29605
29843
|
def ServiceProviderId(self):
|
|
@@ -29634,6 +29872,28 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
29634
29872
|
def ApiBases(self, ApiBases):
|
|
29635
29873
|
self._ApiBases = ApiBases
|
|
29636
29874
|
|
|
29875
|
+
@property
|
|
29876
|
+
def ApiBase(self):
|
|
29877
|
+
r"""<p>非chat输出模态的Api Base URL</p>
|
|
29878
|
+
:rtype: str
|
|
29879
|
+
"""
|
|
29880
|
+
return self._ApiBase
|
|
29881
|
+
|
|
29882
|
+
@ApiBase.setter
|
|
29883
|
+
def ApiBase(self, ApiBase):
|
|
29884
|
+
self._ApiBase = ApiBase
|
|
29885
|
+
|
|
29886
|
+
@property
|
|
29887
|
+
def EndpointPath(self):
|
|
29888
|
+
r"""<p>非chat输出模态的请求后缀</p>
|
|
29889
|
+
:rtype: str
|
|
29890
|
+
"""
|
|
29891
|
+
return self._EndpointPath
|
|
29892
|
+
|
|
29893
|
+
@EndpointPath.setter
|
|
29894
|
+
def EndpointPath(self, EndpointPath):
|
|
29895
|
+
self._EndpointPath = EndpointPath
|
|
29896
|
+
|
|
29637
29897
|
|
|
29638
29898
|
def _deserialize(self, params):
|
|
29639
29899
|
self._ServiceProviderId = params.get("ServiceProviderId")
|
|
@@ -29644,6 +29904,8 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
29644
29904
|
obj = ApiBaseItem()
|
|
29645
29905
|
obj._deserialize(item)
|
|
29646
29906
|
self._ApiBases.append(obj)
|
|
29907
|
+
self._ApiBase = params.get("ApiBase")
|
|
29908
|
+
self._EndpointPath = params.get("EndpointPath")
|
|
29647
29909
|
memeber_set = set(params.keys())
|
|
29648
29910
|
for name, value in vars(self).items():
|
|
29649
29911
|
property_name = name[1:]
|
|
@@ -29701,6 +29963,10 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
29701
29963
|
:type RouterSetting: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithFallBack`
|
|
29702
29964
|
:param _Bandwidth: <p>带宽</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
29703
29965
|
:type Bandwidth: int
|
|
29966
|
+
:param _Capability: <p>模型输出模态</p>
|
|
29967
|
+
:type Capability: str
|
|
29968
|
+
:param _EmbeddingConfig: <p>embedding 模态配置</p>
|
|
29969
|
+
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
29704
29970
|
"""
|
|
29705
29971
|
self._ModelRouterId = None
|
|
29706
29972
|
self._CertId = None
|
|
@@ -29708,6 +29974,8 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
29708
29974
|
self._RateLimitConfig = None
|
|
29709
29975
|
self._RouterSetting = None
|
|
29710
29976
|
self._Bandwidth = None
|
|
29977
|
+
self._Capability = None
|
|
29978
|
+
self._EmbeddingConfig = None
|
|
29711
29979
|
|
|
29712
29980
|
@property
|
|
29713
29981
|
def ModelRouterId(self):
|
|
@@ -29775,6 +30043,28 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
29775
30043
|
def Bandwidth(self, Bandwidth):
|
|
29776
30044
|
self._Bandwidth = Bandwidth
|
|
29777
30045
|
|
|
30046
|
+
@property
|
|
30047
|
+
def Capability(self):
|
|
30048
|
+
r"""<p>模型输出模态</p>
|
|
30049
|
+
:rtype: str
|
|
30050
|
+
"""
|
|
30051
|
+
return self._Capability
|
|
30052
|
+
|
|
30053
|
+
@Capability.setter
|
|
30054
|
+
def Capability(self, Capability):
|
|
30055
|
+
self._Capability = Capability
|
|
30056
|
+
|
|
30057
|
+
@property
|
|
30058
|
+
def EmbeddingConfig(self):
|
|
30059
|
+
r"""<p>embedding 模态配置</p>
|
|
30060
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
30061
|
+
"""
|
|
30062
|
+
return self._EmbeddingConfig
|
|
30063
|
+
|
|
30064
|
+
@EmbeddingConfig.setter
|
|
30065
|
+
def EmbeddingConfig(self, EmbeddingConfig):
|
|
30066
|
+
self._EmbeddingConfig = EmbeddingConfig
|
|
30067
|
+
|
|
29778
30068
|
|
|
29779
30069
|
def _deserialize(self, params):
|
|
29780
30070
|
self._ModelRouterId = params.get("ModelRouterId")
|
|
@@ -29787,6 +30077,10 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
29787
30077
|
self._RouterSetting = RouterSettingWithFallBack()
|
|
29788
30078
|
self._RouterSetting._deserialize(params.get("RouterSetting"))
|
|
29789
30079
|
self._Bandwidth = params.get("Bandwidth")
|
|
30080
|
+
self._Capability = params.get("Capability")
|
|
30081
|
+
if params.get("EmbeddingConfig") is not None:
|
|
30082
|
+
self._EmbeddingConfig = EmbeddingConfig()
|
|
30083
|
+
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
29790
30084
|
memeber_set = set(params.keys())
|
|
29791
30085
|
for name, value in vars(self).items():
|
|
29792
30086
|
property_name = name[1:]
|
|
@@ -38245,6 +38539,8 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
38245
38539
|
:type HealthCheckProtocol: str
|
|
38246
38540
|
:param _CMRPrivateNetworkTunnelId: <p> CMR 私网管道ID </p>
|
|
38247
38541
|
:type CMRPrivateNetworkTunnelId: str
|
|
38542
|
+
:param _Capability: <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
38543
|
+
:type Capability: str
|
|
38248
38544
|
"""
|
|
38249
38545
|
self._Models = None
|
|
38250
38546
|
self._ProviderKey = None
|
|
@@ -38258,6 +38554,7 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
38258
38554
|
self._VerifySSL = None
|
|
38259
38555
|
self._HealthCheckProtocol = None
|
|
38260
38556
|
self._CMRPrivateNetworkTunnelId = None
|
|
38557
|
+
self._Capability = None
|
|
38261
38558
|
|
|
38262
38559
|
@property
|
|
38263
38560
|
def Models(self):
|
|
@@ -38391,6 +38688,17 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
38391
38688
|
def CMRPrivateNetworkTunnelId(self, CMRPrivateNetworkTunnelId):
|
|
38392
38689
|
self._CMRPrivateNetworkTunnelId = CMRPrivateNetworkTunnelId
|
|
38393
38690
|
|
|
38691
|
+
@property
|
|
38692
|
+
def Capability(self):
|
|
38693
|
+
r"""<p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
38694
|
+
:rtype: str
|
|
38695
|
+
"""
|
|
38696
|
+
return self._Capability
|
|
38697
|
+
|
|
38698
|
+
@Capability.setter
|
|
38699
|
+
def Capability(self, Capability):
|
|
38700
|
+
self._Capability = Capability
|
|
38701
|
+
|
|
38394
38702
|
|
|
38395
38703
|
def _deserialize(self, params):
|
|
38396
38704
|
self._Models = params.get("Models")
|
|
@@ -38405,6 +38713,7 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
38405
38713
|
self._VerifySSL = params.get("VerifySSL")
|
|
38406
38714
|
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
38407
38715
|
self._CMRPrivateNetworkTunnelId = params.get("CMRPrivateNetworkTunnelId")
|
|
38716
|
+
self._Capability = params.get("Capability")
|
|
38408
38717
|
memeber_set = set(params.keys())
|
|
38409
38718
|
for name, value in vars(self).items():
|
|
38410
38719
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.170
|
|
4
4
|
Summary: Tencent Cloud Clb 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.170
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.170
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
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
|