tencentcloud-sdk-nodejs-clb 4.1.317 → 4.1.319

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-clb",
3
- "version": "4.1.317",
3
+ "version": "4.1.319",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -713,9 +713,13 @@ export interface DescribeModelAssociationsRequest {
713
713
  */
714
714
  Offset?: number;
715
715
  /**
716
- * <p>模型输出模态</p>
716
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
717
717
  */
718
718
  Capability?: string;
719
+ /**
720
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>rerank: 重排序</li><li>video: 视频</li></ul>
721
+ */
722
+ Capabilities?: Array<string>;
719
723
  }
720
724
  /**
721
725
  * 规格可用性
@@ -1099,6 +1103,10 @@ export interface CreateIntentRouterRequest {
1099
1103
  * <p>意图路由描述。</p>
1100
1104
  */
1101
1105
  RouterDescribe?: string;
1106
+ /**
1107
+ * <p>意图路由使用决策模型配置</p>
1108
+ */
1109
+ DecisionModelConfig?: IntentRouterDecisionModelConfig;
1102
1110
  }
1103
1111
  /**
1104
1112
  * DeleteKeys返回参数结构体
@@ -1416,6 +1424,26 @@ export interface GuardrailConfig {
1416
1424
  */
1417
1425
  InputCheckDepth?: number;
1418
1426
  }
1427
+ /**
1428
+ * Rerank调度配置。
1429
+ */
1430
+ export interface RerankConfig {
1431
+ /**
1432
+ * <p>L2路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
1433
+ 注意:此字段可能返回 null,表示取不到有效值。
1434
+ */
1435
+ RoutingStrategy?: string;
1436
+ /**
1437
+ * <p>L2路由算法参数</p>
1438
+ 注意:此字段可能返回 null,表示取不到有效值。
1439
+ */
1440
+ RoutingStrategyArgs?: RoutingStrategyArgs;
1441
+ /**
1442
+ * <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
1443
+ 注意:此字段可能返回 null,表示取不到有效值。
1444
+ */
1445
+ NumRetries?: number;
1446
+ }
1419
1447
  /**
1420
1448
  * 独占集群信息
1421
1449
  */
@@ -1463,13 +1491,25 @@ export interface ModifyModelRouterAttributesRequest {
1463
1491
  */
1464
1492
  Bandwidth?: number;
1465
1493
  /**
1466
- * <p>模型输出模态</p>
1494
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
1467
1495
  */
1468
1496
  Capability?: string;
1469
1497
  /**
1470
- * <p>embedding 模态配置</p>
1498
+ * <p>Embedding 调度配置</p><p>传入该参数时,必须传Capability为embedding</p>
1471
1499
  */
1472
1500
  EmbeddingConfig?: EmbeddingConfig;
1501
+ /**
1502
+ * <p>Video 调度配置</p>
1503
+ */
1504
+ VideoConfig?: VideoConfig;
1505
+ /**
1506
+ * <p>Rerank 调度配置</p><p>传入该参数时,必须传Capability为rerank</p>
1507
+ */
1508
+ RerankConfig?: RerankConfig;
1509
+ /**
1510
+ * <p>Decisions 调度配置</p>
1511
+ */
1512
+ DecisionsConfig?: DecisionsConfig;
1473
1513
  }
1474
1514
  /**
1475
1515
  * 模型路由日志
@@ -1885,9 +1925,27 @@ export interface ModelRouterDetail {
1885
1925
  */
1886
1926
  BillingConfig?: ModelRouterBillingConfigOutput;
1887
1927
  /**
1888
- * <p>Embedding配置</p>
1928
+ * <p>Embedding调度配置</p>
1929
+ 注意:此字段可能返回 null,表示取不到有效值。
1889
1930
  */
1890
1931
  EmbeddingConfig?: EmbeddingConfig;
1932
+ /**
1933
+ * <p>CMR关联的负载均衡实例id</p>
1934
+ */
1935
+ LoadBalancerId?: string;
1936
+ /**
1937
+ * <p>视频模型设置</p>
1938
+ */
1939
+ VideoConfig?: VideoConfig;
1940
+ /**
1941
+ * <p>Rerank调度配置</p>
1942
+ 注意:此字段可能返回 null,表示取不到有效值。
1943
+ */
1944
+ RerankConfig?: RerankConfig;
1945
+ /**
1946
+ * <p>决策模型设置</p>
1947
+ */
1948
+ DecisionsConfig?: DecisionsConfig;
1891
1949
  }
1892
1950
  /**
1893
1951
  * DescribeLoadBalancerListByCertId请求参数结构体
@@ -3337,6 +3395,26 @@ export interface DeleteIntentRouterRequest {
3337
3395
  */
3338
3396
  IntentRouterId: string;
3339
3397
  }
3398
+ /**
3399
+ * DecisionsConfig配置。
3400
+ */
3401
+ export interface DecisionsConfig {
3402
+ /**
3403
+ * <p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
3404
+ 注意:此字段可能返回 null,表示取不到有效值。
3405
+ */
3406
+ RoutingStrategy?: string;
3407
+ /**
3408
+ * <p>路由参数</p>
3409
+ 注意:此字段可能返回 null,表示取不到有效值。
3410
+ */
3411
+ RoutingStrategyArgs?: RoutingStrategyArgs;
3412
+ /**
3413
+ * <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
3414
+ 注意:此字段可能返回 null,表示取不到有效值。
3415
+ */
3416
+ NumRetries?: number;
3417
+ }
3340
3418
  /**
3341
3419
  * DescribeBlockIPList请求参数结构体
3342
3420
  */
@@ -3610,7 +3688,7 @@ export interface TestServiceProviderConnectionRequest {
3610
3688
  */
3611
3689
  CMRPrivateNetworkTunnelId?: string;
3612
3690
  /**
3613
- * <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
3691
+ * <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li><li>rerank: 重排序能力</li><li>video: 生视频能力</li></ul>
3614
3692
  */
3615
3693
  Capability?: string;
3616
3694
  /**
@@ -4165,9 +4243,13 @@ export interface ModifyIntentRouterAttributeRequest {
4165
4243
  */
4166
4244
  RouterDescribe?: string;
4167
4245
  /**
4168
- * <p>新的分层配置列表(全量替换)。</p><p>选填;不传则不修改。传入时必须为完整分层集合:复杂度分层须包含全部 4 个分层 SIMPLE/MEDIUM/COMPLEX/REASONING;语义分层须包含 default 及各语义 Tier(取决于实例所用协议,且不可跨协议变更)。每个分层至少包含一个模型,模型名称必须是已关联到该实例的模型。</p>
4246
+ * <p>新的分层配置列表(全量替换)。</p><p>选填;传入时必须包含全部4个分层:SIMPLE、MEDIUM、COMPLEX、REASONING。每个分层至少包含一个模型,模型名称必须是已关联到该实例的模型。不传则不修改。</p>
4169
4247
  */
4170
4248
  Tiers?: Array<TierItem>;
4249
+ /**
4250
+ * <p>意图路由使用决策模型配置</p>
4251
+ */
4252
+ DecisionModelConfig?: IntentRouterDecisionModelConfig;
4171
4253
  }
4172
4254
  /**
4173
4255
  * ModifyTargetGroupInstancesPort请求参数结构体
@@ -4187,7 +4269,7 @@ export interface ModifyTargetGroupInstancesPortRequest {
4187
4269
  */
4188
4270
  export interface EmbeddingConfig {
4189
4271
  /**
4190
- * <p>模型内路由策略</p>
4272
+ * <p>模型内路由策略</p><p>枚举值:</p><ul><li>SimpleShuffle: 简单随机路由</li><li>LeastBusy: 最低繁忙路由</li><li>LatencyBasedRouting: 最低延迟路由</li><li>UsageBasedRouting: 用量均衡路由</li><li>CostBasedRouting: 最低积分路由</li></ul>
4191
4273
  注意:此字段可能返回 null,表示取不到有效值。
4192
4274
  */
4193
4275
  RoutingStrategy?: string;
@@ -4197,7 +4279,7 @@ export interface EmbeddingConfig {
4197
4279
  */
4198
4280
  RoutingStrategyArgs?: RoutingStrategyArgs;
4199
4281
  /**
4200
- * <p>同一模型请求重试次数</p>
4282
+ * <p>CMR实例级别模型组内请求重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
4201
4283
  注意:此字段可能返回 null,表示取不到有效值。
4202
4284
  */
4203
4285
  NumRetries?: number;
@@ -4405,7 +4487,7 @@ export interface CreateModelRequest {
4405
4487
  */
4406
4488
  HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemInput>;
4407
4489
  /**
4408
- * <p>模型输出模态</p>
4490
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
4409
4491
  */
4410
4492
  Capability?: string;
4411
4493
  /**
@@ -5818,6 +5900,26 @@ export interface DescribeCustomizedConfigListRequest {
5818
5900
  */
5819
5901
  Filters?: Array<Filter>;
5820
5902
  }
5903
+ /**
5904
+ * video配置。
5905
+ */
5906
+ export interface VideoConfig {
5907
+ /**
5908
+ * <p>模型内路由策略</p>
5909
+ 注意:此字段可能返回 null,表示取不到有效值。
5910
+ */
5911
+ RoutingStrategy?: string;
5912
+ /**
5913
+ * <p>路由参数</p>
5914
+ 注意:此字段可能返回 null,表示取不到有效值。
5915
+ */
5916
+ RoutingStrategyArgs?: RoutingStrategyArgs;
5917
+ /**
5918
+ * <p>同一模型请求重试次数</p>
5919
+ 注意:此字段可能返回 null,表示取不到有效值。
5920
+ */
5921
+ NumRetries?: number;
5922
+ }
5821
5923
  /**
5822
5924
  * DescribeTaskStatus返回参数结构体
5823
5925
  */
@@ -7304,6 +7406,15 @@ export interface Sort {
7304
7406
  */
7305
7407
  Order?: string;
7306
7408
  }
7409
+ /**
7410
+ * 意图路由使用决策模型配置
7411
+ */
7412
+ export interface IntentRouterDecisionModelConfig {
7413
+ /**
7414
+ * <p>是否开启使用决策模型</p>
7415
+ */
7416
+ Enabled?: boolean;
7417
+ }
7307
7418
  /**
7308
7419
  * 模型路由计费信息
7309
7420
  */
@@ -7614,6 +7725,10 @@ export interface IntentRouterItem {
7614
7725
  * <p>分层配置列表。</p>
7615
7726
  */
7616
7727
  Tiers?: Array<IntentRouterTierItem>;
7728
+ /**
7729
+ * <p>意图路由使用决策模型配置</p>
7730
+ */
7731
+ DecisionModelConfig?: IntentRouterDecisionModelConfig;
7617
7732
  /**
7618
7733
  * <p>更新时间(ISO 8601格式)。</p>
7619
7734
  */
@@ -9379,7 +9494,7 @@ export interface ModelKeyInfoItem {
9379
9494
  */
9380
9495
  HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemOutput>;
9381
9496
  /**
9382
- * <p>模型输出模态</p>
9497
+ * <p>模型输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
9383
9498
  注意:此字段可能返回 null,表示取不到有效值。
9384
9499
  */
9385
9500
  Capability?: string;
@@ -10298,7 +10413,7 @@ export interface ModelAssociation {
10298
10413
  */
10299
10414
  Type?: string;
10300
10415
  /**
10301
- * <p>输出模态</p>
10416
+ * <p>输出模态</p><p>枚举值:</p><ul><li>chat: 文本</li><li>embedding: 向量</li><li>video: 视频</li><li>rerank: 重排序</li></ul>
10302
10417
  */
10303
10418
  Capability?: string;
10304
10419
  }
@@ -10561,9 +10676,21 @@ export interface CreateModelRouterRequest {
10561
10676
  */
10562
10677
  Bandwidth?: number;
10563
10678
  /**
10564
- * <p>Embedding 配置</p>
10679
+ * <p>Embedding 调度配置</p>
10565
10680
  */
10566
10681
  EmbeddingConfig?: EmbeddingConfig;
10682
+ /**
10683
+ * <p>Video 配置</p>
10684
+ */
10685
+ VideoConfig?: VideoConfig;
10686
+ /**
10687
+ * <p>Rerank 调度配置</p>
10688
+ */
10689
+ RerankConfig?: RerankConfig;
10690
+ /**
10691
+ * <p>Decisions 调度配置</p>
10692
+ */
10693
+ DecisionsConfig?: DecisionsConfig;
10567
10694
  }
10568
10695
  /**
10569
10696
  * 峰谷计费配置