tencentcloud-sdk-nodejs-clb 4.1.306 → 4.1.308
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
|
@@ -218,7 +218,7 @@ export interface RemoveModelRewriteRequest {
|
|
|
218
218
|
*/
|
|
219
219
|
export interface ModelAlias {
|
|
220
220
|
/**
|
|
221
|
-
* <p>模型积分系数配置,包含 <code>InputCoefficient</code
|
|
221
|
+
* <p>模型积分系数配置,包含 <code>InputCoefficient</code> 和 <code>OutputCoefficient</code>。</p><p>未配置时输入系数和输出系数均返回 1。</p>
|
|
222
222
|
*/
|
|
223
223
|
Coefficient?: Coefficient;
|
|
224
224
|
/**
|
|
@@ -237,6 +237,10 @@ export interface ModelAlias {
|
|
|
237
237
|
* <p>状态</p><p>枚举值:</p><ul><li>Active: 正常可用</li><li>Configuring: 变配中</li><li>ConfigureFailed: 变配失败</li></ul>
|
|
238
238
|
*/
|
|
239
239
|
Status?: string;
|
|
240
|
+
/**
|
|
241
|
+
* <p>模型能力</p>
|
|
242
|
+
*/
|
|
243
|
+
Capability?: string;
|
|
240
244
|
}
|
|
241
245
|
/**
|
|
242
246
|
* CreateBudget请求参数结构体
|
|
@@ -636,6 +640,10 @@ export interface DescribeModelAssociationsRequest {
|
|
|
636
640
|
* <p>翻页偏移量</p><p>默认值:0</p>
|
|
637
641
|
*/
|
|
638
642
|
Offset?: number;
|
|
643
|
+
/**
|
|
644
|
+
* <p>模型输出模态</p>
|
|
645
|
+
*/
|
|
646
|
+
Capability?: string;
|
|
639
647
|
}
|
|
640
648
|
/**
|
|
641
649
|
* 规格可用性
|
|
@@ -1382,6 +1390,14 @@ export interface ModifyModelRouterAttributesRequest {
|
|
|
1382
1390
|
* <p>带宽</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
1383
1391
|
*/
|
|
1384
1392
|
Bandwidth?: number;
|
|
1393
|
+
/**
|
|
1394
|
+
* <p>模型输出模态</p>
|
|
1395
|
+
*/
|
|
1396
|
+
Capability?: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* <p>embedding 模态配置</p>
|
|
1399
|
+
*/
|
|
1400
|
+
EmbeddingConfig?: EmbeddingConfig;
|
|
1385
1401
|
}
|
|
1386
1402
|
/**
|
|
1387
1403
|
* 模型路由日志
|
|
@@ -1796,6 +1812,10 @@ export interface ModelRouterDetail {
|
|
|
1796
1812
|
* <p>计费信息</p>
|
|
1797
1813
|
*/
|
|
1798
1814
|
BillingConfig?: ModelRouterBillingConfigOutput;
|
|
1815
|
+
/**
|
|
1816
|
+
* <p>Embedding配置</p>
|
|
1817
|
+
*/
|
|
1818
|
+
EmbeddingConfig?: EmbeddingConfig;
|
|
1799
1819
|
}
|
|
1800
1820
|
/**
|
|
1801
1821
|
* DescribeLoadBalancerListByCertId请求参数结构体
|
|
@@ -2615,6 +2635,14 @@ export interface ModifyModelAttributesRequest {
|
|
|
2615
2635
|
* <p>多协议 Api Base URL</p>
|
|
2616
2636
|
*/
|
|
2617
2637
|
ApiBases?: Array<ApiBaseItem>;
|
|
2638
|
+
/**
|
|
2639
|
+
* <p>非chat输出模态的Api Base URL</p>
|
|
2640
|
+
*/
|
|
2641
|
+
ApiBase?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* <p>非chat输出模态的请求后缀</p>
|
|
2644
|
+
*/
|
|
2645
|
+
EndpointPath?: string;
|
|
2618
2646
|
}
|
|
2619
2647
|
/**
|
|
2620
2648
|
* ModifyUserGroupAttributes请求参数结构体
|
|
@@ -3481,6 +3509,10 @@ export interface TestServiceProviderConnectionRequest {
|
|
|
3481
3509
|
* <p> CMR 私网管道ID </p>
|
|
3482
3510
|
*/
|
|
3483
3511
|
CMRPrivateNetworkTunnelId?: string;
|
|
3512
|
+
/**
|
|
3513
|
+
* <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
3514
|
+
*/
|
|
3515
|
+
Capability?: string;
|
|
3484
3516
|
}
|
|
3485
3517
|
/**
|
|
3486
3518
|
* DescribeModelAssociations返回参数结构体
|
|
@@ -4038,6 +4070,26 @@ export interface ModifyTargetGroupInstancesPortRequest {
|
|
|
4038
4070
|
*/
|
|
4039
4071
|
TargetGroupInstances: Array<TargetGroupInstance>;
|
|
4040
4072
|
}
|
|
4073
|
+
/**
|
|
4074
|
+
* embedding配置。
|
|
4075
|
+
*/
|
|
4076
|
+
export interface EmbeddingConfig {
|
|
4077
|
+
/**
|
|
4078
|
+
* <p>模型内路由策略</p>
|
|
4079
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4080
|
+
*/
|
|
4081
|
+
RoutingStrategy?: string;
|
|
4082
|
+
/**
|
|
4083
|
+
* <p>路由参数</p>
|
|
4084
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4085
|
+
*/
|
|
4086
|
+
RoutingStrategyArgs?: RoutingStrategyArgs;
|
|
4087
|
+
/**
|
|
4088
|
+
* <p>同一模型请求重试次数</p>
|
|
4089
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4090
|
+
*/
|
|
4091
|
+
NumRetries?: number;
|
|
4092
|
+
}
|
|
4041
4093
|
/**
|
|
4042
4094
|
* CreateClsLogSet请求参数结构体
|
|
4043
4095
|
*/
|
|
@@ -4240,6 +4292,14 @@ export interface CreateModelRequest {
|
|
|
4240
4292
|
* <p>健康检查配置</p>
|
|
4241
4293
|
*/
|
|
4242
4294
|
HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemInput>;
|
|
4295
|
+
/**
|
|
4296
|
+
* <p>模型输出模态</p>
|
|
4297
|
+
*/
|
|
4298
|
+
Capability?: string;
|
|
4299
|
+
/**
|
|
4300
|
+
* <p>请求后缀</p>
|
|
4301
|
+
*/
|
|
4302
|
+
EndpointPath?: string;
|
|
4243
4303
|
}
|
|
4244
4304
|
/**
|
|
4245
4305
|
* 集群的详细信息,如集群ID,名称,类型,可用区,标签等
|
|
@@ -6537,17 +6597,21 @@ export interface DescribeAsyncJobsRequest {
|
|
|
6537
6597
|
*/
|
|
6538
6598
|
export interface ModifyModelAliasAttributesRequest {
|
|
6539
6599
|
/**
|
|
6540
|
-
* <p>模型积分系数配置。</p><p
|
|
6600
|
+
* <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>
|
|
6541
6601
|
*/
|
|
6542
6602
|
Coefficient: Coefficient;
|
|
6543
6603
|
/**
|
|
6544
|
-
* <p
|
|
6604
|
+
* <p>模型别名</p>
|
|
6545
6605
|
*/
|
|
6546
6606
|
ModelAliasNames: Array<string>;
|
|
6547
6607
|
/**
|
|
6548
6608
|
* <p>BYOK 实例(ServiceProvider)ID 列表。</p><p>可选,数组。传入时按 ServiceProvider 维度修改:把同一份 Coefficient 批量应用到数组内每一个实例(覆盖配置,仅作用于这些实例),此时 <code>ModelAliasNames</code> 只能传 1 个别名(即 1 别名 × N ServiceProvider);数组需去重、非空、上限 100,任一实例不归属/不存在/该实例下无该别名将整批返回错误。不传时按 ModelAlias(账号)维度修改,作用于该别名下未单独配置覆盖的全部实例。</p>
|
|
6549
6609
|
*/
|
|
6550
6610
|
ServiceProviderIds?: Array<string>;
|
|
6611
|
+
/**
|
|
6612
|
+
* <p>模型能力</p>
|
|
6613
|
+
*/
|
|
6614
|
+
Capability?: string;
|
|
6551
6615
|
}
|
|
6552
6616
|
/**
|
|
6553
6617
|
* SCF云函数(Serverless Cloud Function)作为后端服务
|
|
@@ -9231,6 +9295,16 @@ export interface ModelKeyInfoItem {
|
|
|
9231
9295
|
* <p>健康检查配置</p>
|
|
9232
9296
|
*/
|
|
9233
9297
|
HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemOutput>;
|
|
9298
|
+
/**
|
|
9299
|
+
* <p>模型输出模态</p>
|
|
9300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9301
|
+
*/
|
|
9302
|
+
Capability?: string;
|
|
9303
|
+
/**
|
|
9304
|
+
* <p>请求后缀</p>
|
|
9305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9306
|
+
*/
|
|
9307
|
+
EndpointPath?: string;
|
|
9234
9308
|
}
|
|
9235
9309
|
/**
|
|
9236
9310
|
* ModifyModelRouterGuardrails返回参数结构体
|
|
@@ -10140,6 +10214,10 @@ export interface ModelAssociation {
|
|
|
10140
10214
|
* <p>模型类型</p>
|
|
10141
10215
|
*/
|
|
10142
10216
|
Type?: string;
|
|
10217
|
+
/**
|
|
10218
|
+
* <p>输出模态</p>
|
|
10219
|
+
*/
|
|
10220
|
+
Capability?: string;
|
|
10143
10221
|
}
|
|
10144
10222
|
/**
|
|
10145
10223
|
* 描述配额信息,所有配额均指当前地域下的配额。
|
|
@@ -10391,6 +10469,10 @@ export interface CreateModelRouterRequest {
|
|
|
10391
10469
|
* <p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
10392
10470
|
*/
|
|
10393
10471
|
Bandwidth?: number;
|
|
10472
|
+
/**
|
|
10473
|
+
* <p>Embedding 配置</p>
|
|
10474
|
+
*/
|
|
10475
|
+
EmbeddingConfig?: EmbeddingConfig;
|
|
10394
10476
|
}
|
|
10395
10477
|
/**
|
|
10396
10478
|
* DescribeClassicalLBListeners请求参数结构体
|