tencentcloud-sdk-python-clb 3.1.180__tar.gz → 3.1.182__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.180 → tencentcloud_sdk_python_clb-3.1.182}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud/clb/v20180317/models.py +520 -24
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.182/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.180/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.180 → tencentcloud_sdk_python_clb-3.1.182}/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.182
|
|
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.182
|
|
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.182,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -5944,11 +5944,14 @@ class CreateIntentRouterRequest(AbstractModel):
|
|
|
5944
5944
|
:type Tiers: list of TierItem
|
|
5945
5945
|
:param _RouterDescribe: <p>意图路由描述。</p>
|
|
5946
5946
|
:type RouterDescribe: str
|
|
5947
|
+
:param _DecisionModelConfig: <p>意图路由使用决策模型配置</p>
|
|
5948
|
+
:type DecisionModelConfig: :class:`tencentcloud.clb.v20180317.models.IntentRouterDecisionModelConfig`
|
|
5947
5949
|
"""
|
|
5948
5950
|
self._ModelRouterId = None
|
|
5949
5951
|
self._RouteName = None
|
|
5950
5952
|
self._Tiers = None
|
|
5951
5953
|
self._RouterDescribe = None
|
|
5954
|
+
self._DecisionModelConfig = None
|
|
5952
5955
|
|
|
5953
5956
|
@property
|
|
5954
5957
|
def ModelRouterId(self):
|
|
@@ -5994,6 +5997,17 @@ class CreateIntentRouterRequest(AbstractModel):
|
|
|
5994
5997
|
def RouterDescribe(self, RouterDescribe):
|
|
5995
5998
|
self._RouterDescribe = RouterDescribe
|
|
5996
5999
|
|
|
6000
|
+
@property
|
|
6001
|
+
def DecisionModelConfig(self):
|
|
6002
|
+
r"""<p>意图路由使用决策模型配置</p>
|
|
6003
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.IntentRouterDecisionModelConfig`
|
|
6004
|
+
"""
|
|
6005
|
+
return self._DecisionModelConfig
|
|
6006
|
+
|
|
6007
|
+
@DecisionModelConfig.setter
|
|
6008
|
+
def DecisionModelConfig(self, DecisionModelConfig):
|
|
6009
|
+
self._DecisionModelConfig = DecisionModelConfig
|
|
6010
|
+
|
|
5997
6011
|
|
|
5998
6012
|
def _deserialize(self, params):
|
|
5999
6013
|
self._ModelRouterId = params.get("ModelRouterId")
|
|
@@ -6005,6 +6019,9 @@ class CreateIntentRouterRequest(AbstractModel):
|
|
|
6005
6019
|
obj._deserialize(item)
|
|
6006
6020
|
self._Tiers.append(obj)
|
|
6007
6021
|
self._RouterDescribe = params.get("RouterDescribe")
|
|
6022
|
+
if params.get("DecisionModelConfig") is not None:
|
|
6023
|
+
self._DecisionModelConfig = IntentRouterDecisionModelConfig()
|
|
6024
|
+
self._DecisionModelConfig._deserialize(params.get("DecisionModelConfig"))
|
|
6008
6025
|
memeber_set = set(params.keys())
|
|
6009
6026
|
for name, value in vars(self).items():
|
|
6010
6027
|
property_name = name[1:]
|
|
@@ -7646,7 +7663,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
7646
7663
|
:type CMRPrivateNetworkTunnelId: str
|
|
7647
7664
|
:param _HealthCheckConfigs: <p>健康检查配置</p>
|
|
7648
7665
|
:type HealthCheckConfigs: list of ServiceProviderHealthCheckConfigItemInput
|
|
7649
|
-
:param _Capability: <p>模型输出模态</p>
|
|
7666
|
+
:param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
7650
7667
|
:type Capability: str
|
|
7651
7668
|
:param _EndpointPath: <p>请求后缀</p>
|
|
7652
7669
|
:type EndpointPath: str
|
|
@@ -7860,7 +7877,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
7860
7877
|
|
|
7861
7878
|
@property
|
|
7862
7879
|
def Capability(self):
|
|
7863
|
-
r"""<p>模型输出模态</p>
|
|
7880
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
7864
7881
|
:rtype: str
|
|
7865
7882
|
"""
|
|
7866
7883
|
return self._Capability
|
|
@@ -8037,8 +8054,14 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8037
8054
|
:type EipAddressId: str
|
|
8038
8055
|
:param _Bandwidth: <p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
8039
8056
|
:type Bandwidth: int
|
|
8040
|
-
:param _EmbeddingConfig: <p>Embedding
|
|
8057
|
+
:param _EmbeddingConfig: <p>Embedding 调度配置</p>
|
|
8041
8058
|
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
8059
|
+
:param _VideoConfig: <p>Video 配置</p>
|
|
8060
|
+
:type VideoConfig: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
8061
|
+
:param _RerankConfig: <p>Rerank 调度配置</p>
|
|
8062
|
+
:type RerankConfig: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
8063
|
+
:param _DecisionsConfig: <p>Decisions 调度配置</p>
|
|
8064
|
+
:type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
8042
8065
|
"""
|
|
8043
8066
|
self._ModelRouterType = None
|
|
8044
8067
|
self._BudgetId = None
|
|
@@ -8058,6 +8081,9 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8058
8081
|
self._EipAddressId = None
|
|
8059
8082
|
self._Bandwidth = None
|
|
8060
8083
|
self._EmbeddingConfig = None
|
|
8084
|
+
self._VideoConfig = None
|
|
8085
|
+
self._RerankConfig = None
|
|
8086
|
+
self._DecisionsConfig = None
|
|
8061
8087
|
|
|
8062
8088
|
@property
|
|
8063
8089
|
def ModelRouterType(self):
|
|
@@ -8248,7 +8274,7 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8248
8274
|
|
|
8249
8275
|
@property
|
|
8250
8276
|
def EmbeddingConfig(self):
|
|
8251
|
-
r"""<p>Embedding
|
|
8277
|
+
r"""<p>Embedding 调度配置</p>
|
|
8252
8278
|
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
8253
8279
|
"""
|
|
8254
8280
|
return self._EmbeddingConfig
|
|
@@ -8257,6 +8283,39 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8257
8283
|
def EmbeddingConfig(self, EmbeddingConfig):
|
|
8258
8284
|
self._EmbeddingConfig = EmbeddingConfig
|
|
8259
8285
|
|
|
8286
|
+
@property
|
|
8287
|
+
def VideoConfig(self):
|
|
8288
|
+
r"""<p>Video 配置</p>
|
|
8289
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
8290
|
+
"""
|
|
8291
|
+
return self._VideoConfig
|
|
8292
|
+
|
|
8293
|
+
@VideoConfig.setter
|
|
8294
|
+
def VideoConfig(self, VideoConfig):
|
|
8295
|
+
self._VideoConfig = VideoConfig
|
|
8296
|
+
|
|
8297
|
+
@property
|
|
8298
|
+
def RerankConfig(self):
|
|
8299
|
+
r"""<p>Rerank 调度配置</p>
|
|
8300
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
8301
|
+
"""
|
|
8302
|
+
return self._RerankConfig
|
|
8303
|
+
|
|
8304
|
+
@RerankConfig.setter
|
|
8305
|
+
def RerankConfig(self, RerankConfig):
|
|
8306
|
+
self._RerankConfig = RerankConfig
|
|
8307
|
+
|
|
8308
|
+
@property
|
|
8309
|
+
def DecisionsConfig(self):
|
|
8310
|
+
r"""<p>Decisions 调度配置</p>
|
|
8311
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
8312
|
+
"""
|
|
8313
|
+
return self._DecisionsConfig
|
|
8314
|
+
|
|
8315
|
+
@DecisionsConfig.setter
|
|
8316
|
+
def DecisionsConfig(self, DecisionsConfig):
|
|
8317
|
+
self._DecisionsConfig = DecisionsConfig
|
|
8318
|
+
|
|
8260
8319
|
|
|
8261
8320
|
def _deserialize(self, params):
|
|
8262
8321
|
self._ModelRouterType = params.get("ModelRouterType")
|
|
@@ -8292,6 +8351,15 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
8292
8351
|
if params.get("EmbeddingConfig") is not None:
|
|
8293
8352
|
self._EmbeddingConfig = EmbeddingConfig()
|
|
8294
8353
|
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
8354
|
+
if params.get("VideoConfig") is not None:
|
|
8355
|
+
self._VideoConfig = VideoConfig()
|
|
8356
|
+
self._VideoConfig._deserialize(params.get("VideoConfig"))
|
|
8357
|
+
if params.get("RerankConfig") is not None:
|
|
8358
|
+
self._RerankConfig = RerankConfig()
|
|
8359
|
+
self._RerankConfig._deserialize(params.get("RerankConfig"))
|
|
8360
|
+
if params.get("DecisionsConfig") is not None:
|
|
8361
|
+
self._DecisionsConfig = DecisionsConfig()
|
|
8362
|
+
self._DecisionsConfig._deserialize(params.get("DecisionsConfig"))
|
|
8295
8363
|
memeber_set = set(params.keys())
|
|
8296
8364
|
for name, value in vars(self).items():
|
|
8297
8365
|
property_name = name[1:]
|
|
@@ -9511,6 +9579,80 @@ class CrossTargets(AbstractModel):
|
|
|
9511
9579
|
|
|
9512
9580
|
|
|
9513
9581
|
|
|
9582
|
+
class DecisionsConfig(AbstractModel):
|
|
9583
|
+
r"""DecisionsConfig配置。
|
|
9584
|
+
|
|
9585
|
+
"""
|
|
9586
|
+
|
|
9587
|
+
def __init__(self):
|
|
9588
|
+
r"""
|
|
9589
|
+
:param _RoutingStrategy: <p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
9590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9591
|
+
:type RoutingStrategy: str
|
|
9592
|
+
:param _RoutingStrategyArgs: <p>路由参数</p>
|
|
9593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9594
|
+
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
9595
|
+
:param _NumRetries: <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
9596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9597
|
+
:type NumRetries: int
|
|
9598
|
+
"""
|
|
9599
|
+
self._RoutingStrategy = None
|
|
9600
|
+
self._RoutingStrategyArgs = None
|
|
9601
|
+
self._NumRetries = None
|
|
9602
|
+
|
|
9603
|
+
@property
|
|
9604
|
+
def RoutingStrategy(self):
|
|
9605
|
+
r"""<p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
9606
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9607
|
+
:rtype: str
|
|
9608
|
+
"""
|
|
9609
|
+
return self._RoutingStrategy
|
|
9610
|
+
|
|
9611
|
+
@RoutingStrategy.setter
|
|
9612
|
+
def RoutingStrategy(self, RoutingStrategy):
|
|
9613
|
+
self._RoutingStrategy = RoutingStrategy
|
|
9614
|
+
|
|
9615
|
+
@property
|
|
9616
|
+
def RoutingStrategyArgs(self):
|
|
9617
|
+
r"""<p>路由参数</p>
|
|
9618
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9619
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
9620
|
+
"""
|
|
9621
|
+
return self._RoutingStrategyArgs
|
|
9622
|
+
|
|
9623
|
+
@RoutingStrategyArgs.setter
|
|
9624
|
+
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
9625
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
9626
|
+
|
|
9627
|
+
@property
|
|
9628
|
+
def NumRetries(self):
|
|
9629
|
+
r"""<p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
9630
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9631
|
+
:rtype: int
|
|
9632
|
+
"""
|
|
9633
|
+
return self._NumRetries
|
|
9634
|
+
|
|
9635
|
+
@NumRetries.setter
|
|
9636
|
+
def NumRetries(self, NumRetries):
|
|
9637
|
+
self._NumRetries = NumRetries
|
|
9638
|
+
|
|
9639
|
+
|
|
9640
|
+
def _deserialize(self, params):
|
|
9641
|
+
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
9642
|
+
if params.get("RoutingStrategyArgs") is not None:
|
|
9643
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
9644
|
+
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
9645
|
+
self._NumRetries = params.get("NumRetries")
|
|
9646
|
+
memeber_set = set(params.keys())
|
|
9647
|
+
for name, value in vars(self).items():
|
|
9648
|
+
property_name = name[1:]
|
|
9649
|
+
if property_name in memeber_set:
|
|
9650
|
+
memeber_set.remove(property_name)
|
|
9651
|
+
if len(memeber_set) > 0:
|
|
9652
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9653
|
+
|
|
9654
|
+
|
|
9655
|
+
|
|
9514
9656
|
class DeleteBudgetsRequest(AbstractModel):
|
|
9515
9657
|
r"""DeleteBudgets请求参数结构体
|
|
9516
9658
|
|
|
@@ -15128,13 +15270,16 @@ class DescribeModelAssociationsRequest(AbstractModel):
|
|
|
15128
15270
|
:type Limit: int
|
|
15129
15271
|
:param _Offset: <p>翻页偏移量</p><p>默认值:0</p>
|
|
15130
15272
|
:type Offset: int
|
|
15131
|
-
:param _Capability: <p>模型输出模态</p>
|
|
15273
|
+
:param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
15132
15274
|
:type Capability: str
|
|
15275
|
+
:param _Capabilities: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>rerank: 重排序</li><li>video: 视频</li></ul>
|
|
15276
|
+
:type Capabilities: list of str
|
|
15133
15277
|
"""
|
|
15134
15278
|
self._ModelRouterId = None
|
|
15135
15279
|
self._Limit = None
|
|
15136
15280
|
self._Offset = None
|
|
15137
15281
|
self._Capability = None
|
|
15282
|
+
self._Capabilities = None
|
|
15138
15283
|
|
|
15139
15284
|
@property
|
|
15140
15285
|
def ModelRouterId(self):
|
|
@@ -15171,7 +15316,7 @@ class DescribeModelAssociationsRequest(AbstractModel):
|
|
|
15171
15316
|
|
|
15172
15317
|
@property
|
|
15173
15318
|
def Capability(self):
|
|
15174
|
-
r"""<p>模型输出模态</p>
|
|
15319
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
15175
15320
|
:rtype: str
|
|
15176
15321
|
"""
|
|
15177
15322
|
return self._Capability
|
|
@@ -15180,12 +15325,24 @@ class DescribeModelAssociationsRequest(AbstractModel):
|
|
|
15180
15325
|
def Capability(self, Capability):
|
|
15181
15326
|
self._Capability = Capability
|
|
15182
15327
|
|
|
15328
|
+
@property
|
|
15329
|
+
def Capabilities(self):
|
|
15330
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>rerank: 重排序</li><li>video: 视频</li></ul>
|
|
15331
|
+
:rtype: list of str
|
|
15332
|
+
"""
|
|
15333
|
+
return self._Capabilities
|
|
15334
|
+
|
|
15335
|
+
@Capabilities.setter
|
|
15336
|
+
def Capabilities(self, Capabilities):
|
|
15337
|
+
self._Capabilities = Capabilities
|
|
15338
|
+
|
|
15183
15339
|
|
|
15184
15340
|
def _deserialize(self, params):
|
|
15185
15341
|
self._ModelRouterId = params.get("ModelRouterId")
|
|
15186
15342
|
self._Limit = params.get("Limit")
|
|
15187
15343
|
self._Offset = params.get("Offset")
|
|
15188
15344
|
self._Capability = params.get("Capability")
|
|
15345
|
+
self._Capabilities = params.get("Capabilities")
|
|
15189
15346
|
memeber_set = set(params.keys())
|
|
15190
15347
|
for name, value in vars(self).items():
|
|
15191
15348
|
property_name = name[1:]
|
|
@@ -19000,13 +19157,13 @@ class EmbeddingConfig(AbstractModel):
|
|
|
19000
19157
|
|
|
19001
19158
|
def __init__(self):
|
|
19002
19159
|
r"""
|
|
19003
|
-
:param _RoutingStrategy: <p>模型内路由策略</p>
|
|
19160
|
+
:param _RoutingStrategy: <p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
19004
19161
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19005
19162
|
:type RoutingStrategy: str
|
|
19006
19163
|
:param _RoutingStrategyArgs: <p>路由参数</p>
|
|
19007
19164
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19008
19165
|
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
19009
|
-
:param _NumRetries: <p
|
|
19166
|
+
:param _NumRetries: <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
19010
19167
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19011
19168
|
:type NumRetries: int
|
|
19012
19169
|
"""
|
|
@@ -19016,7 +19173,7 @@ class EmbeddingConfig(AbstractModel):
|
|
|
19016
19173
|
|
|
19017
19174
|
@property
|
|
19018
19175
|
def RoutingStrategy(self):
|
|
19019
|
-
r"""<p>模型内路由策略</p>
|
|
19176
|
+
r"""<p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
19020
19177
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19021
19178
|
:rtype: str
|
|
19022
19179
|
"""
|
|
@@ -19040,7 +19197,7 @@ class EmbeddingConfig(AbstractModel):
|
|
|
19040
19197
|
|
|
19041
19198
|
@property
|
|
19042
19199
|
def NumRetries(self):
|
|
19043
|
-
r"""<p
|
|
19200
|
+
r"""<p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
19044
19201
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19045
19202
|
:rtype: int
|
|
19046
19203
|
"""
|
|
@@ -20684,6 +20841,42 @@ class InquiryPriceRenewLoadBalancerResponse(AbstractModel):
|
|
|
20684
20841
|
self._RequestId = params.get("RequestId")
|
|
20685
20842
|
|
|
20686
20843
|
|
|
20844
|
+
class IntentRouterDecisionModelConfig(AbstractModel):
|
|
20845
|
+
r"""意图路由使用决策模型配置
|
|
20846
|
+
|
|
20847
|
+
"""
|
|
20848
|
+
|
|
20849
|
+
def __init__(self):
|
|
20850
|
+
r"""
|
|
20851
|
+
:param _Enabled: <p>是否开启使用决策模型</p>
|
|
20852
|
+
:type Enabled: bool
|
|
20853
|
+
"""
|
|
20854
|
+
self._Enabled = None
|
|
20855
|
+
|
|
20856
|
+
@property
|
|
20857
|
+
def Enabled(self):
|
|
20858
|
+
r"""<p>是否开启使用决策模型</p>
|
|
20859
|
+
:rtype: bool
|
|
20860
|
+
"""
|
|
20861
|
+
return self._Enabled
|
|
20862
|
+
|
|
20863
|
+
@Enabled.setter
|
|
20864
|
+
def Enabled(self, Enabled):
|
|
20865
|
+
self._Enabled = Enabled
|
|
20866
|
+
|
|
20867
|
+
|
|
20868
|
+
def _deserialize(self, params):
|
|
20869
|
+
self._Enabled = params.get("Enabled")
|
|
20870
|
+
memeber_set = set(params.keys())
|
|
20871
|
+
for name, value in vars(self).items():
|
|
20872
|
+
property_name = name[1:]
|
|
20873
|
+
if property_name in memeber_set:
|
|
20874
|
+
memeber_set.remove(property_name)
|
|
20875
|
+
if len(memeber_set) > 0:
|
|
20876
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20877
|
+
|
|
20878
|
+
|
|
20879
|
+
|
|
20687
20880
|
class IntentRouterItem(AbstractModel):
|
|
20688
20881
|
r"""意图路由摘要信息对象(不含分层详情)。
|
|
20689
20882
|
|
|
@@ -20703,6 +20896,8 @@ class IntentRouterItem(AbstractModel):
|
|
|
20703
20896
|
:type Status: str
|
|
20704
20897
|
:param _Tiers: <p>分层配置列表。</p>
|
|
20705
20898
|
:type Tiers: list of IntentRouterTierItem
|
|
20899
|
+
:param _DecisionModelConfig: <p>意图路由使用决策模型配置</p>
|
|
20900
|
+
:type DecisionModelConfig: :class:`tencentcloud.clb.v20180317.models.IntentRouterDecisionModelConfig`
|
|
20706
20901
|
:param _UpdatedTime: <p>更新时间(ISO 8601格式)。</p>
|
|
20707
20902
|
:type UpdatedTime: str
|
|
20708
20903
|
"""
|
|
@@ -20712,6 +20907,7 @@ class IntentRouterItem(AbstractModel):
|
|
|
20712
20907
|
self._RouterDescribe = None
|
|
20713
20908
|
self._Status = None
|
|
20714
20909
|
self._Tiers = None
|
|
20910
|
+
self._DecisionModelConfig = None
|
|
20715
20911
|
self._UpdatedTime = None
|
|
20716
20912
|
|
|
20717
20913
|
@property
|
|
@@ -20780,6 +20976,17 @@ class IntentRouterItem(AbstractModel):
|
|
|
20780
20976
|
def Tiers(self, Tiers):
|
|
20781
20977
|
self._Tiers = Tiers
|
|
20782
20978
|
|
|
20979
|
+
@property
|
|
20980
|
+
def DecisionModelConfig(self):
|
|
20981
|
+
r"""<p>意图路由使用决策模型配置</p>
|
|
20982
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.IntentRouterDecisionModelConfig`
|
|
20983
|
+
"""
|
|
20984
|
+
return self._DecisionModelConfig
|
|
20985
|
+
|
|
20986
|
+
@DecisionModelConfig.setter
|
|
20987
|
+
def DecisionModelConfig(self, DecisionModelConfig):
|
|
20988
|
+
self._DecisionModelConfig = DecisionModelConfig
|
|
20989
|
+
|
|
20783
20990
|
@property
|
|
20784
20991
|
def UpdatedTime(self):
|
|
20785
20992
|
r"""<p>更新时间(ISO 8601格式)。</p>
|
|
@@ -20804,6 +21011,9 @@ class IntentRouterItem(AbstractModel):
|
|
|
20804
21011
|
obj = IntentRouterTierItem()
|
|
20805
21012
|
obj._deserialize(item)
|
|
20806
21013
|
self._Tiers.append(obj)
|
|
21014
|
+
if params.get("DecisionModelConfig") is not None:
|
|
21015
|
+
self._DecisionModelConfig = IntentRouterDecisionModelConfig()
|
|
21016
|
+
self._DecisionModelConfig._deserialize(params.get("DecisionModelConfig"))
|
|
20807
21017
|
self._UpdatedTime = params.get("UpdatedTime")
|
|
20808
21018
|
memeber_set = set(params.keys())
|
|
20809
21019
|
for name, value in vars(self).items():
|
|
@@ -25208,7 +25418,7 @@ class ModelAssociation(AbstractModel):
|
|
|
25208
25418
|
:type ServiceProviders: list of ServiceProvider
|
|
25209
25419
|
:param _Type: <p>模型类型</p>
|
|
25210
25420
|
:type Type: str
|
|
25211
|
-
:param _Capability: <p>输出模态</p>
|
|
25421
|
+
:param _Capability: <p>输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
25212
25422
|
:type Capability: str
|
|
25213
25423
|
"""
|
|
25214
25424
|
self._InputModalitiesUnion = None
|
|
@@ -25263,7 +25473,7 @@ class ModelAssociation(AbstractModel):
|
|
|
25263
25473
|
|
|
25264
25474
|
@property
|
|
25265
25475
|
def Capability(self):
|
|
25266
|
-
r"""<p>输出模态</p>
|
|
25476
|
+
r"""<p>输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
25267
25477
|
:rtype: str
|
|
25268
25478
|
"""
|
|
25269
25479
|
return self._Capability
|
|
@@ -25552,7 +25762,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25552
25762
|
:type CMRPrivateNetworkTunnelName: str
|
|
25553
25763
|
:param _HealthCheckConfigs: <p>健康检查配置</p>
|
|
25554
25764
|
:type HealthCheckConfigs: list of ServiceProviderHealthCheckConfigItemOutput
|
|
25555
|
-
:param _Capability: <p>模型输出模态</p>
|
|
25765
|
+
:param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
25556
25766
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
25557
25767
|
:type Capability: str
|
|
25558
25768
|
:param _EndpointPath: <p>请求后缀</p>
|
|
@@ -25837,7 +26047,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25837
26047
|
|
|
25838
26048
|
@property
|
|
25839
26049
|
def Capability(self):
|
|
25840
|
-
r"""<p>模型输出模态</p>
|
|
26050
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
25841
26051
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
25842
26052
|
:rtype: str
|
|
25843
26053
|
"""
|
|
@@ -26192,8 +26402,18 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26192
26402
|
:type EipAddressId: str
|
|
26193
26403
|
:param _BillingConfig: <p>计费信息</p>
|
|
26194
26404
|
:type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
26195
|
-
:param _EmbeddingConfig: <p>Embedding
|
|
26405
|
+
:param _EmbeddingConfig: <p>Embedding调度配置</p>
|
|
26406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26196
26407
|
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
26408
|
+
:param _LoadBalancerId: <p>CMR关联的负载均衡实例id</p>
|
|
26409
|
+
:type LoadBalancerId: str
|
|
26410
|
+
:param _VideoConfig: <p>视频模型设置</p>
|
|
26411
|
+
:type VideoConfig: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
26412
|
+
:param _RerankConfig: <p>Rerank调度配置</p>
|
|
26413
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26414
|
+
:type RerankConfig: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
26415
|
+
:param _DecisionsConfig: <p>决策模型设置</p>
|
|
26416
|
+
:type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
26197
26417
|
"""
|
|
26198
26418
|
self._BudgetId = None
|
|
26199
26419
|
self._BudgetName = None
|
|
@@ -26221,6 +26441,10 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26221
26441
|
self._EipAddressId = None
|
|
26222
26442
|
self._BillingConfig = None
|
|
26223
26443
|
self._EmbeddingConfig = None
|
|
26444
|
+
self._LoadBalancerId = None
|
|
26445
|
+
self._VideoConfig = None
|
|
26446
|
+
self._RerankConfig = None
|
|
26447
|
+
self._DecisionsConfig = None
|
|
26224
26448
|
|
|
26225
26449
|
@property
|
|
26226
26450
|
def BudgetId(self):
|
|
@@ -26503,7 +26727,8 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26503
26727
|
|
|
26504
26728
|
@property
|
|
26505
26729
|
def EmbeddingConfig(self):
|
|
26506
|
-
r"""<p>Embedding
|
|
26730
|
+
r"""<p>Embedding调度配置</p>
|
|
26731
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26507
26732
|
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
26508
26733
|
"""
|
|
26509
26734
|
return self._EmbeddingConfig
|
|
@@ -26512,6 +26737,51 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26512
26737
|
def EmbeddingConfig(self, EmbeddingConfig):
|
|
26513
26738
|
self._EmbeddingConfig = EmbeddingConfig
|
|
26514
26739
|
|
|
26740
|
+
@property
|
|
26741
|
+
def LoadBalancerId(self):
|
|
26742
|
+
r"""<p>CMR关联的负载均衡实例id</p>
|
|
26743
|
+
:rtype: str
|
|
26744
|
+
"""
|
|
26745
|
+
return self._LoadBalancerId
|
|
26746
|
+
|
|
26747
|
+
@LoadBalancerId.setter
|
|
26748
|
+
def LoadBalancerId(self, LoadBalancerId):
|
|
26749
|
+
self._LoadBalancerId = LoadBalancerId
|
|
26750
|
+
|
|
26751
|
+
@property
|
|
26752
|
+
def VideoConfig(self):
|
|
26753
|
+
r"""<p>视频模型设置</p>
|
|
26754
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
26755
|
+
"""
|
|
26756
|
+
return self._VideoConfig
|
|
26757
|
+
|
|
26758
|
+
@VideoConfig.setter
|
|
26759
|
+
def VideoConfig(self, VideoConfig):
|
|
26760
|
+
self._VideoConfig = VideoConfig
|
|
26761
|
+
|
|
26762
|
+
@property
|
|
26763
|
+
def RerankConfig(self):
|
|
26764
|
+
r"""<p>Rerank调度配置</p>
|
|
26765
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26766
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
26767
|
+
"""
|
|
26768
|
+
return self._RerankConfig
|
|
26769
|
+
|
|
26770
|
+
@RerankConfig.setter
|
|
26771
|
+
def RerankConfig(self, RerankConfig):
|
|
26772
|
+
self._RerankConfig = RerankConfig
|
|
26773
|
+
|
|
26774
|
+
@property
|
|
26775
|
+
def DecisionsConfig(self):
|
|
26776
|
+
r"""<p>决策模型设置</p>
|
|
26777
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
26778
|
+
"""
|
|
26779
|
+
return self._DecisionsConfig
|
|
26780
|
+
|
|
26781
|
+
@DecisionsConfig.setter
|
|
26782
|
+
def DecisionsConfig(self, DecisionsConfig):
|
|
26783
|
+
self._DecisionsConfig = DecisionsConfig
|
|
26784
|
+
|
|
26515
26785
|
|
|
26516
26786
|
def _deserialize(self, params):
|
|
26517
26787
|
self._BudgetId = params.get("BudgetId")
|
|
@@ -26565,6 +26835,16 @@ class ModelRouterDetail(AbstractModel):
|
|
|
26565
26835
|
if params.get("EmbeddingConfig") is not None:
|
|
26566
26836
|
self._EmbeddingConfig = EmbeddingConfig()
|
|
26567
26837
|
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
26838
|
+
self._LoadBalancerId = params.get("LoadBalancerId")
|
|
26839
|
+
if params.get("VideoConfig") is not None:
|
|
26840
|
+
self._VideoConfig = VideoConfig()
|
|
26841
|
+
self._VideoConfig._deserialize(params.get("VideoConfig"))
|
|
26842
|
+
if params.get("RerankConfig") is not None:
|
|
26843
|
+
self._RerankConfig = RerankConfig()
|
|
26844
|
+
self._RerankConfig._deserialize(params.get("RerankConfig"))
|
|
26845
|
+
if params.get("DecisionsConfig") is not None:
|
|
26846
|
+
self._DecisionsConfig = DecisionsConfig()
|
|
26847
|
+
self._DecisionsConfig._deserialize(params.get("DecisionsConfig"))
|
|
26568
26848
|
memeber_set = set(params.keys())
|
|
26569
26849
|
for name, value in vars(self).items():
|
|
26570
26850
|
property_name = name[1:]
|
|
@@ -28667,14 +28947,17 @@ class ModifyIntentRouterAttributeRequest(AbstractModel):
|
|
|
28667
28947
|
:type RouteName: str
|
|
28668
28948
|
:param _RouterDescribe: <p>意图路由描述。</p>
|
|
28669
28949
|
:type RouterDescribe: str
|
|
28670
|
-
:param _Tiers: <p>新的分层配置列表(全量替换)。</p><p
|
|
28950
|
+
:param _Tiers: <p>新的分层配置列表(全量替换)。</p><p>选填;传入时必须包含全部4个分层:SIMPLE、MEDIUM、COMPLEX、REASONING。每个分层至少包含一个模型,模型名称必须是已关联到该实例的模型。不传则不修改。</p>
|
|
28671
28951
|
:type Tiers: list of TierItem
|
|
28952
|
+
:param _DecisionModelConfig: <p>意图路由使用决策模型配置</p>
|
|
28953
|
+
:type DecisionModelConfig: :class:`tencentcloud.clb.v20180317.models.IntentRouterDecisionModelConfig`
|
|
28672
28954
|
"""
|
|
28673
28955
|
self._IntentRouterId = None
|
|
28674
28956
|
self._ModelRouterId = None
|
|
28675
28957
|
self._RouteName = None
|
|
28676
28958
|
self._RouterDescribe = None
|
|
28677
28959
|
self._Tiers = None
|
|
28960
|
+
self._DecisionModelConfig = None
|
|
28678
28961
|
|
|
28679
28962
|
@property
|
|
28680
28963
|
def IntentRouterId(self):
|
|
@@ -28722,7 +29005,7 @@ class ModifyIntentRouterAttributeRequest(AbstractModel):
|
|
|
28722
29005
|
|
|
28723
29006
|
@property
|
|
28724
29007
|
def Tiers(self):
|
|
28725
|
-
r"""<p>新的分层配置列表(全量替换)。</p><p
|
|
29008
|
+
r"""<p>新的分层配置列表(全量替换)。</p><p>选填;传入时必须包含全部4个分层:SIMPLE、MEDIUM、COMPLEX、REASONING。每个分层至少包含一个模型,模型名称必须是已关联到该实例的模型。不传则不修改。</p>
|
|
28726
29009
|
:rtype: list of TierItem
|
|
28727
29010
|
"""
|
|
28728
29011
|
return self._Tiers
|
|
@@ -28731,6 +29014,17 @@ class ModifyIntentRouterAttributeRequest(AbstractModel):
|
|
|
28731
29014
|
def Tiers(self, Tiers):
|
|
28732
29015
|
self._Tiers = Tiers
|
|
28733
29016
|
|
|
29017
|
+
@property
|
|
29018
|
+
def DecisionModelConfig(self):
|
|
29019
|
+
r"""<p>意图路由使用决策模型配置</p>
|
|
29020
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.IntentRouterDecisionModelConfig`
|
|
29021
|
+
"""
|
|
29022
|
+
return self._DecisionModelConfig
|
|
29023
|
+
|
|
29024
|
+
@DecisionModelConfig.setter
|
|
29025
|
+
def DecisionModelConfig(self, DecisionModelConfig):
|
|
29026
|
+
self._DecisionModelConfig = DecisionModelConfig
|
|
29027
|
+
|
|
28734
29028
|
|
|
28735
29029
|
def _deserialize(self, params):
|
|
28736
29030
|
self._IntentRouterId = params.get("IntentRouterId")
|
|
@@ -28743,6 +29037,9 @@ class ModifyIntentRouterAttributeRequest(AbstractModel):
|
|
|
28743
29037
|
obj = TierItem()
|
|
28744
29038
|
obj._deserialize(item)
|
|
28745
29039
|
self._Tiers.append(obj)
|
|
29040
|
+
if params.get("DecisionModelConfig") is not None:
|
|
29041
|
+
self._DecisionModelConfig = IntentRouterDecisionModelConfig()
|
|
29042
|
+
self._DecisionModelConfig._deserialize(params.get("DecisionModelConfig"))
|
|
28746
29043
|
memeber_set = set(params.keys())
|
|
28747
29044
|
for name, value in vars(self).items():
|
|
28748
29045
|
property_name = name[1:]
|
|
@@ -30275,10 +30572,16 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30275
30572
|
:type RouterSetting: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithFallBack`
|
|
30276
30573
|
:param _Bandwidth: <p>带宽</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
30277
30574
|
:type Bandwidth: int
|
|
30278
|
-
:param _Capability: <p>模型输出模态</p>
|
|
30575
|
+
:param _Capability: <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
30279
30576
|
:type Capability: str
|
|
30280
|
-
:param _EmbeddingConfig: <p>
|
|
30577
|
+
:param _EmbeddingConfig: <p>Embedding 调度配置</p><p>传入该参数时,必须传Capability为embedding</p>
|
|
30281
30578
|
:type EmbeddingConfig: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
30579
|
+
:param _VideoConfig: <p>Video 调度配置</p>
|
|
30580
|
+
:type VideoConfig: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
30581
|
+
:param _RerankConfig: <p>Rerank 调度配置</p><p>传入该参数时,必须传Capability为rerank</p>
|
|
30582
|
+
:type RerankConfig: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
30583
|
+
:param _DecisionsConfig: <p>Decisions 调度配置</p>
|
|
30584
|
+
:type DecisionsConfig: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
30282
30585
|
"""
|
|
30283
30586
|
self._ModelRouterId = None
|
|
30284
30587
|
self._CertId = None
|
|
@@ -30288,6 +30591,9 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30288
30591
|
self._Bandwidth = None
|
|
30289
30592
|
self._Capability = None
|
|
30290
30593
|
self._EmbeddingConfig = None
|
|
30594
|
+
self._VideoConfig = None
|
|
30595
|
+
self._RerankConfig = None
|
|
30596
|
+
self._DecisionsConfig = None
|
|
30291
30597
|
|
|
30292
30598
|
@property
|
|
30293
30599
|
def ModelRouterId(self):
|
|
@@ -30357,7 +30663,7 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30357
30663
|
|
|
30358
30664
|
@property
|
|
30359
30665
|
def Capability(self):
|
|
30360
|
-
r"""<p>模型输出模态</p>
|
|
30666
|
+
r"""<p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
|
|
30361
30667
|
:rtype: str
|
|
30362
30668
|
"""
|
|
30363
30669
|
return self._Capability
|
|
@@ -30368,7 +30674,7 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30368
30674
|
|
|
30369
30675
|
@property
|
|
30370
30676
|
def EmbeddingConfig(self):
|
|
30371
|
-
r"""<p>
|
|
30677
|
+
r"""<p>Embedding 调度配置</p><p>传入该参数时,必须传Capability为embedding</p>
|
|
30372
30678
|
:rtype: :class:`tencentcloud.clb.v20180317.models.EmbeddingConfig`
|
|
30373
30679
|
"""
|
|
30374
30680
|
return self._EmbeddingConfig
|
|
@@ -30377,6 +30683,39 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30377
30683
|
def EmbeddingConfig(self, EmbeddingConfig):
|
|
30378
30684
|
self._EmbeddingConfig = EmbeddingConfig
|
|
30379
30685
|
|
|
30686
|
+
@property
|
|
30687
|
+
def VideoConfig(self):
|
|
30688
|
+
r"""<p>Video 调度配置</p>
|
|
30689
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.VideoConfig`
|
|
30690
|
+
"""
|
|
30691
|
+
return self._VideoConfig
|
|
30692
|
+
|
|
30693
|
+
@VideoConfig.setter
|
|
30694
|
+
def VideoConfig(self, VideoConfig):
|
|
30695
|
+
self._VideoConfig = VideoConfig
|
|
30696
|
+
|
|
30697
|
+
@property
|
|
30698
|
+
def RerankConfig(self):
|
|
30699
|
+
r"""<p>Rerank 调度配置</p><p>传入该参数时,必须传Capability为rerank</p>
|
|
30700
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RerankConfig`
|
|
30701
|
+
"""
|
|
30702
|
+
return self._RerankConfig
|
|
30703
|
+
|
|
30704
|
+
@RerankConfig.setter
|
|
30705
|
+
def RerankConfig(self, RerankConfig):
|
|
30706
|
+
self._RerankConfig = RerankConfig
|
|
30707
|
+
|
|
30708
|
+
@property
|
|
30709
|
+
def DecisionsConfig(self):
|
|
30710
|
+
r"""<p>Decisions 调度配置</p>
|
|
30711
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.DecisionsConfig`
|
|
30712
|
+
"""
|
|
30713
|
+
return self._DecisionsConfig
|
|
30714
|
+
|
|
30715
|
+
@DecisionsConfig.setter
|
|
30716
|
+
def DecisionsConfig(self, DecisionsConfig):
|
|
30717
|
+
self._DecisionsConfig = DecisionsConfig
|
|
30718
|
+
|
|
30380
30719
|
|
|
30381
30720
|
def _deserialize(self, params):
|
|
30382
30721
|
self._ModelRouterId = params.get("ModelRouterId")
|
|
@@ -30393,6 +30732,15 @@ class ModifyModelRouterAttributesRequest(AbstractModel):
|
|
|
30393
30732
|
if params.get("EmbeddingConfig") is not None:
|
|
30394
30733
|
self._EmbeddingConfig = EmbeddingConfig()
|
|
30395
30734
|
self._EmbeddingConfig._deserialize(params.get("EmbeddingConfig"))
|
|
30735
|
+
if params.get("VideoConfig") is not None:
|
|
30736
|
+
self._VideoConfig = VideoConfig()
|
|
30737
|
+
self._VideoConfig._deserialize(params.get("VideoConfig"))
|
|
30738
|
+
if params.get("RerankConfig") is not None:
|
|
30739
|
+
self._RerankConfig = RerankConfig()
|
|
30740
|
+
self._RerankConfig._deserialize(params.get("RerankConfig"))
|
|
30741
|
+
if params.get("DecisionsConfig") is not None:
|
|
30742
|
+
self._DecisionsConfig = DecisionsConfig()
|
|
30743
|
+
self._DecisionsConfig._deserialize(params.get("DecisionsConfig"))
|
|
30396
30744
|
memeber_set = set(params.keys())
|
|
30397
30745
|
for name, value in vars(self).items():
|
|
30398
30746
|
property_name = name[1:]
|
|
@@ -33515,6 +33863,80 @@ class ReplaceCertForLoadBalancersResponse(AbstractModel):
|
|
|
33515
33863
|
self._RequestId = params.get("RequestId")
|
|
33516
33864
|
|
|
33517
33865
|
|
|
33866
|
+
class RerankConfig(AbstractModel):
|
|
33867
|
+
r"""Rerank调度配置。
|
|
33868
|
+
|
|
33869
|
+
"""
|
|
33870
|
+
|
|
33871
|
+
def __init__(self):
|
|
33872
|
+
r"""
|
|
33873
|
+
:param _RoutingStrategy: <p>L2路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
33874
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33875
|
+
:type RoutingStrategy: str
|
|
33876
|
+
:param _RoutingStrategyArgs: <p>L2路由算法参数</p>
|
|
33877
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33878
|
+
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
33879
|
+
:param _NumRetries: <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
33880
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33881
|
+
:type NumRetries: int
|
|
33882
|
+
"""
|
|
33883
|
+
self._RoutingStrategy = None
|
|
33884
|
+
self._RoutingStrategyArgs = None
|
|
33885
|
+
self._NumRetries = None
|
|
33886
|
+
|
|
33887
|
+
@property
|
|
33888
|
+
def RoutingStrategy(self):
|
|
33889
|
+
r"""<p>L2路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
|
|
33890
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33891
|
+
:rtype: str
|
|
33892
|
+
"""
|
|
33893
|
+
return self._RoutingStrategy
|
|
33894
|
+
|
|
33895
|
+
@RoutingStrategy.setter
|
|
33896
|
+
def RoutingStrategy(self, RoutingStrategy):
|
|
33897
|
+
self._RoutingStrategy = RoutingStrategy
|
|
33898
|
+
|
|
33899
|
+
@property
|
|
33900
|
+
def RoutingStrategyArgs(self):
|
|
33901
|
+
r"""<p>L2路由算法参数</p>
|
|
33902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33903
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
33904
|
+
"""
|
|
33905
|
+
return self._RoutingStrategyArgs
|
|
33906
|
+
|
|
33907
|
+
@RoutingStrategyArgs.setter
|
|
33908
|
+
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
33909
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
33910
|
+
|
|
33911
|
+
@property
|
|
33912
|
+
def NumRetries(self):
|
|
33913
|
+
r"""<p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
33914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33915
|
+
:rtype: int
|
|
33916
|
+
"""
|
|
33917
|
+
return self._NumRetries
|
|
33918
|
+
|
|
33919
|
+
@NumRetries.setter
|
|
33920
|
+
def NumRetries(self, NumRetries):
|
|
33921
|
+
self._NumRetries = NumRetries
|
|
33922
|
+
|
|
33923
|
+
|
|
33924
|
+
def _deserialize(self, params):
|
|
33925
|
+
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
33926
|
+
if params.get("RoutingStrategyArgs") is not None:
|
|
33927
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
33928
|
+
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
33929
|
+
self._NumRetries = params.get("NumRetries")
|
|
33930
|
+
memeber_set = set(params.keys())
|
|
33931
|
+
for name, value in vars(self).items():
|
|
33932
|
+
property_name = name[1:]
|
|
33933
|
+
if property_name in memeber_set:
|
|
33934
|
+
memeber_set.remove(property_name)
|
|
33935
|
+
if len(memeber_set) > 0:
|
|
33936
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33937
|
+
|
|
33938
|
+
|
|
33939
|
+
|
|
33518
33940
|
class Resource(AbstractModel):
|
|
33519
33941
|
r"""资源详细信息
|
|
33520
33942
|
|
|
@@ -38953,7 +39375,7 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
38953
39375
|
:type HealthCheckProtocol: str
|
|
38954
39376
|
:param _CMRPrivateNetworkTunnelId: <p> CMR 私网管道ID </p>
|
|
38955
39377
|
:type CMRPrivateNetworkTunnelId: str
|
|
38956
|
-
:param _Capability: <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
39378
|
+
:param _Capability: <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li><li>rerank: 重排序能力</li><li>video: 生视频能力</li></ul>
|
|
38957
39379
|
:type Capability: str
|
|
38958
39380
|
:param _EndpointPath: <p>端点路径</p>
|
|
38959
39381
|
:type EndpointPath: str
|
|
@@ -39113,7 +39535,7 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
39113
39535
|
|
|
39114
39536
|
@property
|
|
39115
39537
|
def Capability(self):
|
|
39116
|
-
r"""<p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
39538
|
+
r"""<p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li><li>rerank: 重排序能力</li><li>video: 生视频能力</li></ul>
|
|
39117
39539
|
:rtype: str
|
|
39118
39540
|
"""
|
|
39119
39541
|
return self._Capability
|
|
@@ -39613,6 +40035,80 @@ class UserGroupInfo(AbstractModel):
|
|
|
39613
40035
|
|
|
39614
40036
|
|
|
39615
40037
|
|
|
40038
|
+
class VideoConfig(AbstractModel):
|
|
40039
|
+
r"""video配置。
|
|
40040
|
+
|
|
40041
|
+
"""
|
|
40042
|
+
|
|
40043
|
+
def __init__(self):
|
|
40044
|
+
r"""
|
|
40045
|
+
:param _RoutingStrategy: <p>模型内路由策略</p>
|
|
40046
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40047
|
+
:type RoutingStrategy: str
|
|
40048
|
+
:param _RoutingStrategyArgs: <p>路由参数</p>
|
|
40049
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40050
|
+
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
40051
|
+
:param _NumRetries: <p>同一模型请求重试次数</p>
|
|
40052
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40053
|
+
:type NumRetries: int
|
|
40054
|
+
"""
|
|
40055
|
+
self._RoutingStrategy = None
|
|
40056
|
+
self._RoutingStrategyArgs = None
|
|
40057
|
+
self._NumRetries = None
|
|
40058
|
+
|
|
40059
|
+
@property
|
|
40060
|
+
def RoutingStrategy(self):
|
|
40061
|
+
r"""<p>模型内路由策略</p>
|
|
40062
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40063
|
+
:rtype: str
|
|
40064
|
+
"""
|
|
40065
|
+
return self._RoutingStrategy
|
|
40066
|
+
|
|
40067
|
+
@RoutingStrategy.setter
|
|
40068
|
+
def RoutingStrategy(self, RoutingStrategy):
|
|
40069
|
+
self._RoutingStrategy = RoutingStrategy
|
|
40070
|
+
|
|
40071
|
+
@property
|
|
40072
|
+
def RoutingStrategyArgs(self):
|
|
40073
|
+
r"""<p>路由参数</p>
|
|
40074
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40075
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
40076
|
+
"""
|
|
40077
|
+
return self._RoutingStrategyArgs
|
|
40078
|
+
|
|
40079
|
+
@RoutingStrategyArgs.setter
|
|
40080
|
+
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
40081
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
40082
|
+
|
|
40083
|
+
@property
|
|
40084
|
+
def NumRetries(self):
|
|
40085
|
+
r"""<p>同一模型请求重试次数</p>
|
|
40086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40087
|
+
:rtype: int
|
|
40088
|
+
"""
|
|
40089
|
+
return self._NumRetries
|
|
40090
|
+
|
|
40091
|
+
@NumRetries.setter
|
|
40092
|
+
def NumRetries(self, NumRetries):
|
|
40093
|
+
self._NumRetries = NumRetries
|
|
40094
|
+
|
|
40095
|
+
|
|
40096
|
+
def _deserialize(self, params):
|
|
40097
|
+
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
40098
|
+
if params.get("RoutingStrategyArgs") is not None:
|
|
40099
|
+
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
40100
|
+
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
40101
|
+
self._NumRetries = params.get("NumRetries")
|
|
40102
|
+
memeber_set = set(params.keys())
|
|
40103
|
+
for name, value in vars(self).items():
|
|
40104
|
+
property_name = name[1:]
|
|
40105
|
+
if property_name in memeber_set:
|
|
40106
|
+
memeber_set.remove(property_name)
|
|
40107
|
+
if len(memeber_set) > 0:
|
|
40108
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
40109
|
+
|
|
40110
|
+
|
|
40111
|
+
|
|
39616
40112
|
class ZoneInfo(AbstractModel):
|
|
39617
40113
|
r"""可用区相关信息
|
|
39618
40114
|
|
|
@@ -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.182
|
|
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.182
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.182
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.180
|
|
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
|