tencentcloud-sdk-nodejs-clb 4.1.305 → 4.1.307
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请求参数结构体
|
|
@@ -2608,9 +2628,21 @@ export interface ModifyModelAttributesRequest {
|
|
|
2608
2628
|
*/
|
|
2609
2629
|
ServiceProviderId: string;
|
|
2610
2630
|
/**
|
|
2611
|
-
* <p>BYOK的自定义名字</p><p>入参限制:1~
|
|
2631
|
+
* <p>BYOK的自定义名字</p><p>入参限制:1~255个字符</p>
|
|
2612
2632
|
*/
|
|
2613
2633
|
ServiceProviderName?: string;
|
|
2634
|
+
/**
|
|
2635
|
+
* <p>多协议 Api Base URL</p>
|
|
2636
|
+
*/
|
|
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;
|
|
2614
2646
|
}
|
|
2615
2647
|
/**
|
|
2616
2648
|
* ModifyUserGroupAttributes请求参数结构体
|
|
@@ -3477,6 +3509,10 @@ export interface TestServiceProviderConnectionRequest {
|
|
|
3477
3509
|
* <p> CMR 私网管道ID </p>
|
|
3478
3510
|
*/
|
|
3479
3511
|
CMRPrivateNetworkTunnelId?: string;
|
|
3512
|
+
/**
|
|
3513
|
+
* <p>对应模型的能力</p><p>枚举值:</p><ul><li>chat: 生文能力</li><li>embedding: 向量能力</li></ul>
|
|
3514
|
+
*/
|
|
3515
|
+
Capability?: string;
|
|
3480
3516
|
}
|
|
3481
3517
|
/**
|
|
3482
3518
|
* DescribeModelAssociations返回参数结构体
|
|
@@ -4034,6 +4070,26 @@ export interface ModifyTargetGroupInstancesPortRequest {
|
|
|
4034
4070
|
*/
|
|
4035
4071
|
TargetGroupInstances: Array<TargetGroupInstance>;
|
|
4036
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
|
+
}
|
|
4037
4093
|
/**
|
|
4038
4094
|
* CreateClsLogSet请求参数结构体
|
|
4039
4095
|
*/
|
|
@@ -4236,6 +4292,14 @@ export interface CreateModelRequest {
|
|
|
4236
4292
|
* <p>健康检查配置</p>
|
|
4237
4293
|
*/
|
|
4238
4294
|
HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemInput>;
|
|
4295
|
+
/**
|
|
4296
|
+
* <p>模型输出模态</p>
|
|
4297
|
+
*/
|
|
4298
|
+
Capability?: string;
|
|
4299
|
+
/**
|
|
4300
|
+
* <p>请求后缀</p>
|
|
4301
|
+
*/
|
|
4302
|
+
EndpointPath?: string;
|
|
4239
4303
|
}
|
|
4240
4304
|
/**
|
|
4241
4305
|
* 集群的详细信息,如集群ID,名称,类型,可用区,标签等
|
|
@@ -6533,17 +6597,21 @@ export interface DescribeAsyncJobsRequest {
|
|
|
6533
6597
|
*/
|
|
6534
6598
|
export interface ModifyModelAliasAttributesRequest {
|
|
6535
6599
|
/**
|
|
6536
|
-
* <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>
|
|
6537
6601
|
*/
|
|
6538
6602
|
Coefficient: Coefficient;
|
|
6539
6603
|
/**
|
|
6540
|
-
* <p
|
|
6604
|
+
* <p>模型别名</p>
|
|
6541
6605
|
*/
|
|
6542
6606
|
ModelAliasNames: Array<string>;
|
|
6543
6607
|
/**
|
|
6544
6608
|
* <p>BYOK 实例(ServiceProvider)ID 列表。</p><p>可选,数组。传入时按 ServiceProvider 维度修改:把同一份 Coefficient 批量应用到数组内每一个实例(覆盖配置,仅作用于这些实例),此时 <code>ModelAliasNames</code> 只能传 1 个别名(即 1 别名 × N ServiceProvider);数组需去重、非空、上限 100,任一实例不归属/不存在/该实例下无该别名将整批返回错误。不传时按 ModelAlias(账号)维度修改,作用于该别名下未单独配置覆盖的全部实例。</p>
|
|
6545
6609
|
*/
|
|
6546
6610
|
ServiceProviderIds?: Array<string>;
|
|
6611
|
+
/**
|
|
6612
|
+
* <p>模型能力</p>
|
|
6613
|
+
*/
|
|
6614
|
+
Capability?: string;
|
|
6547
6615
|
}
|
|
6548
6616
|
/**
|
|
6549
6617
|
* SCF云函数(Serverless Cloud Function)作为后端服务
|
|
@@ -9227,6 +9295,16 @@ export interface ModelKeyInfoItem {
|
|
|
9227
9295
|
* <p>健康检查配置</p>
|
|
9228
9296
|
*/
|
|
9229
9297
|
HealthCheckConfigs?: Array<ServiceProviderHealthCheckConfigItemOutput>;
|
|
9298
|
+
/**
|
|
9299
|
+
* <p>模型输出模态</p>
|
|
9300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9301
|
+
*/
|
|
9302
|
+
Capability?: string;
|
|
9303
|
+
/**
|
|
9304
|
+
* <p>请求后缀</p>
|
|
9305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9306
|
+
*/
|
|
9307
|
+
EndpointPath?: string;
|
|
9230
9308
|
}
|
|
9231
9309
|
/**
|
|
9232
9310
|
* ModifyModelRouterGuardrails返回参数结构体
|
|
@@ -10136,6 +10214,10 @@ export interface ModelAssociation {
|
|
|
10136
10214
|
* <p>模型类型</p>
|
|
10137
10215
|
*/
|
|
10138
10216
|
Type?: string;
|
|
10217
|
+
/**
|
|
10218
|
+
* <p>输出模态</p>
|
|
10219
|
+
*/
|
|
10220
|
+
Capability?: string;
|
|
10139
10221
|
}
|
|
10140
10222
|
/**
|
|
10141
10223
|
* 描述配额信息,所有配额均指当前地域下的配额。
|
|
@@ -10387,6 +10469,10 @@ export interface CreateModelRouterRequest {
|
|
|
10387
10469
|
* <p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
10388
10470
|
*/
|
|
10389
10471
|
Bandwidth?: number;
|
|
10472
|
+
/**
|
|
10473
|
+
* <p>Embedding 配置</p>
|
|
10474
|
+
*/
|
|
10475
|
+
EmbeddingConfig?: EmbeddingConfig;
|
|
10390
10476
|
}
|
|
10391
10477
|
/**
|
|
10392
10478
|
* DescribeClassicalLBListeners请求参数结构体
|