tencentcloud-sdk-nodejs-tione 4.0.679 → 4.0.680
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/CHANGELOG.md +331 -0
- package/SERVICE_CHANGELOG.md +623 -76
- package/package.json +1 -1
- package/products.md +17 -17
- package/src/services/tione/v20211111/tione_client.ts +11 -4
- package/src/services/tione/v20211111/tione_models.ts +203 -55
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +6 -4
- package/tencentcloud/services/tione/v20211111/tione_client.js +6 -4
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +198 -55
|
@@ -228,10 +228,6 @@ export interface DescribeLogsRequest {
|
|
|
228
228
|
* 查询哪个服务的事件(可选值为TRAIN, NOTEBOOK, INFER)
|
|
229
229
|
*/
|
|
230
230
|
Service: string
|
|
231
|
-
/**
|
|
232
|
-
* 查询哪个Pod的日志(支持结尾通配符*)
|
|
233
|
-
*/
|
|
234
|
-
PodName: string
|
|
235
231
|
/**
|
|
236
232
|
* 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
|
237
233
|
*/
|
|
@@ -244,6 +240,10 @@ export interface DescribeLogsRequest {
|
|
|
244
240
|
* 日志查询条数,默认值100,最大值100
|
|
245
241
|
*/
|
|
246
242
|
Limit?: number
|
|
243
|
+
/**
|
|
244
|
+
* 查询哪个Pod的日志(支持结尾通配符*)
|
|
245
|
+
*/
|
|
246
|
+
PodName?: string
|
|
247
247
|
/**
|
|
248
248
|
* 排序方向(可选值为ASC, DESC ),默认为DESC
|
|
249
249
|
*/
|
|
@@ -820,6 +820,10 @@ export interface DescribeModelServiceGroupRequest {
|
|
|
820
820
|
* 服务组ID
|
|
821
821
|
*/
|
|
822
822
|
ServiceGroupId: string
|
|
823
|
+
/**
|
|
824
|
+
* 服务分类
|
|
825
|
+
*/
|
|
826
|
+
ServiceCategory?: string
|
|
823
827
|
}
|
|
824
828
|
|
|
825
829
|
/**
|
|
@@ -2210,7 +2214,9 @@ export interface FrameworkVersion {
|
|
|
2210
2214
|
*/
|
|
2211
2215
|
export interface ChatCompletionRequest {
|
|
2212
2216
|
/**
|
|
2213
|
-
*
|
|
2217
|
+
* 对话的目标模型ID。
|
|
2218
|
+
多行业多场景大模型在线体验聊天:tj_llm_clm-v1。
|
|
2219
|
+
自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-xxyyzz。
|
|
2214
2220
|
*/
|
|
2215
2221
|
Model: string
|
|
2216
2222
|
/**
|
|
@@ -2218,15 +2224,15 @@ export interface ChatCompletionRequest {
|
|
|
2218
2224
|
*/
|
|
2219
2225
|
Messages: Array<Message>
|
|
2220
2226
|
/**
|
|
2221
|
-
*
|
|
2227
|
+
* 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为1.0,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。
|
|
2222
2228
|
*/
|
|
2223
2229
|
Temperature?: number
|
|
2224
2230
|
/**
|
|
2225
|
-
*
|
|
2231
|
+
* 仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。
|
|
2226
2232
|
*/
|
|
2227
2233
|
TopP?: number
|
|
2228
2234
|
/**
|
|
2229
|
-
*
|
|
2235
|
+
* 仅当模型为自行部署的开源大模型时生效。最大生成的token数目。默认为无限大。
|
|
2230
2236
|
*/
|
|
2231
2237
|
MaxTokens?: number
|
|
2232
2238
|
}
|
|
@@ -2268,6 +2274,10 @@ export interface DescribeModelServiceCallInfoRequest {
|
|
|
2268
2274
|
* 服务组id
|
|
2269
2275
|
*/
|
|
2270
2276
|
ServiceGroupId: string
|
|
2277
|
+
/**
|
|
2278
|
+
* 服务分类
|
|
2279
|
+
*/
|
|
2280
|
+
ServiceCategory?: string
|
|
2271
2281
|
}
|
|
2272
2282
|
|
|
2273
2283
|
/**
|
|
@@ -2298,6 +2308,27 @@ export interface TagFilter {
|
|
|
2298
2308
|
TagValues?: Array<string>
|
|
2299
2309
|
}
|
|
2300
2310
|
|
|
2311
|
+
/**
|
|
2312
|
+
* 太极服务的调用信息
|
|
2313
|
+
*/
|
|
2314
|
+
export interface TJCallInfo {
|
|
2315
|
+
/**
|
|
2316
|
+
* 调用地址
|
|
2317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2318
|
+
*/
|
|
2319
|
+
HttpAddr?: string
|
|
2320
|
+
/**
|
|
2321
|
+
* token
|
|
2322
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2323
|
+
*/
|
|
2324
|
+
Token?: string
|
|
2325
|
+
/**
|
|
2326
|
+
* 调用示例
|
|
2327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2328
|
+
*/
|
|
2329
|
+
CallExample?: string
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2301
2332
|
/**
|
|
2302
2333
|
* CreateTrainingModel请求参数结构体
|
|
2303
2334
|
*/
|
|
@@ -2309,10 +2340,6 @@ VERSION:导入新版本
|
|
|
2309
2340
|
EXIST:导入现有版本
|
|
2310
2341
|
*/
|
|
2311
2342
|
ImportMethod: string
|
|
2312
|
-
/**
|
|
2313
|
-
* 模型来源cos目录,以/结尾
|
|
2314
|
-
*/
|
|
2315
|
-
TrainingModelCosPath: CosPathInfo
|
|
2316
2343
|
/**
|
|
2317
2344
|
* 推理环境来源(SYSTEM/CUSTOM)
|
|
2318
2345
|
*/
|
|
@@ -2329,6 +2356,10 @@ EXIST:导入现有版本
|
|
|
2329
2356
|
* 训练任务名称
|
|
2330
2357
|
*/
|
|
2331
2358
|
TrainingJobName?: string
|
|
2359
|
+
/**
|
|
2360
|
+
* 模型来源cos目录,以/结尾
|
|
2361
|
+
*/
|
|
2362
|
+
TrainingModelCosPath?: CosPathInfo
|
|
2332
2363
|
/**
|
|
2333
2364
|
* 算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION)
|
|
2334
2365
|
*/
|
|
@@ -2480,12 +2511,12 @@ export interface DescribeModelServiceGroupsResponse {
|
|
|
2480
2511
|
* 推理服务组数量。
|
|
2481
2512
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2482
2513
|
*/
|
|
2483
|
-
TotalCount
|
|
2514
|
+
TotalCount?: number
|
|
2484
2515
|
/**
|
|
2485
2516
|
* 服务组信息
|
|
2486
2517
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2487
2518
|
*/
|
|
2488
|
-
ServiceGroups
|
|
2519
|
+
ServiceGroups?: Array<ServiceGroup>
|
|
2489
2520
|
/**
|
|
2490
2521
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2491
2522
|
*/
|
|
@@ -3570,6 +3601,31 @@ export interface DescribeModelServiceGroupsRequest {
|
|
|
3570
3601
|
* 标签过滤参数
|
|
3571
3602
|
*/
|
|
3572
3603
|
TagFilters?: Array<TagFilter>
|
|
3604
|
+
/**
|
|
3605
|
+
* 服务分类
|
|
3606
|
+
*/
|
|
3607
|
+
ServiceCategory?: string
|
|
3608
|
+
}
|
|
3609
|
+
|
|
3610
|
+
/**
|
|
3611
|
+
* 共享弹性网卡信息
|
|
3612
|
+
*/
|
|
3613
|
+
export interface ServiceEIPInfo {
|
|
3614
|
+
/**
|
|
3615
|
+
* 服务ID
|
|
3616
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3617
|
+
*/
|
|
3618
|
+
ServiceId?: string
|
|
3619
|
+
/**
|
|
3620
|
+
* 用户VpcId
|
|
3621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3622
|
+
*/
|
|
3623
|
+
VpcId?: string
|
|
3624
|
+
/**
|
|
3625
|
+
* 用户子网Id
|
|
3626
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3627
|
+
*/
|
|
3628
|
+
SubnetId?: string
|
|
3573
3629
|
}
|
|
3574
3630
|
|
|
3575
3631
|
/**
|
|
@@ -3879,6 +3935,11 @@ HYBRID_PAID:
|
|
|
3879
3935
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3880
3936
|
*/
|
|
3881
3937
|
Command?: string
|
|
3938
|
+
/**
|
|
3939
|
+
* 开启TIONE内网访问外部设置
|
|
3940
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3941
|
+
*/
|
|
3942
|
+
ServiceEIP?: ServiceEIP
|
|
3882
3943
|
}
|
|
3883
3944
|
|
|
3884
3945
|
/**
|
|
@@ -4014,6 +4075,10 @@ export interface DescribeModelServiceRequest {
|
|
|
4014
4075
|
* 服务id
|
|
4015
4076
|
*/
|
|
4016
4077
|
ServiceId: string
|
|
4078
|
+
/**
|
|
4079
|
+
* 服务分类
|
|
4080
|
+
*/
|
|
4081
|
+
ServiceCategory?: string
|
|
4017
4082
|
}
|
|
4018
4083
|
|
|
4019
4084
|
/**
|
|
@@ -4079,6 +4144,10 @@ export interface DeleteModelServiceRequest {
|
|
|
4079
4144
|
* 服务id
|
|
4080
4145
|
*/
|
|
4081
4146
|
ServiceId: string
|
|
4147
|
+
/**
|
|
4148
|
+
* 服务分类
|
|
4149
|
+
*/
|
|
4150
|
+
ServiceCategory?: string
|
|
4082
4151
|
}
|
|
4083
4152
|
|
|
4084
4153
|
/**
|
|
@@ -4255,7 +4324,7 @@ export interface DescribeModelServiceResponse {
|
|
|
4255
4324
|
/**
|
|
4256
4325
|
* 服务信息
|
|
4257
4326
|
*/
|
|
4258
|
-
Service
|
|
4327
|
+
Service?: Service
|
|
4259
4328
|
/**
|
|
4260
4329
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4261
4330
|
*/
|
|
@@ -4331,6 +4400,22 @@ export interface CreateBatchModelAccTasksRequest {
|
|
|
4331
4400
|
HyperParameter?: HyperParameter
|
|
4332
4401
|
}
|
|
4333
4402
|
|
|
4403
|
+
/**
|
|
4404
|
+
* 内网调用信息
|
|
4405
|
+
*/
|
|
4406
|
+
export interface IntranetCallInfo {
|
|
4407
|
+
/**
|
|
4408
|
+
* 私有连接通道信息
|
|
4409
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4410
|
+
*/
|
|
4411
|
+
IngressPrivateLinkInfo?: IngressPrivateLinkInfo
|
|
4412
|
+
/**
|
|
4413
|
+
* 共享弹性网卡信息
|
|
4414
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4415
|
+
*/
|
|
4416
|
+
ServiceEIPInfo?: Array<ServiceEIPInfo>
|
|
4417
|
+
}
|
|
4418
|
+
|
|
4334
4419
|
/**
|
|
4335
4420
|
* DescribeBillingSpecsPrice请求参数结构体
|
|
4336
4421
|
*/
|
|
@@ -4889,6 +4974,16 @@ export interface DescribeModelServiceCallInfoResponse {
|
|
|
4889
4974
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4890
4975
|
*/
|
|
4891
4976
|
DefaultNginxGatewayCallInfo?: DefaultNginxGatewayCallInfo
|
|
4977
|
+
/**
|
|
4978
|
+
* 太极服务的调用信息
|
|
4979
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4980
|
+
*/
|
|
4981
|
+
TJCallInfo?: TJCallInfo
|
|
4982
|
+
/**
|
|
4983
|
+
* 内网调用信息
|
|
4984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4985
|
+
*/
|
|
4986
|
+
IntranetCallInfo?: IntranetCallInfo
|
|
4892
4987
|
/**
|
|
4893
4988
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4894
4989
|
*/
|
|
@@ -5293,6 +5388,27 @@ export interface CreateModelServiceResponse {
|
|
|
5293
5388
|
RequestId?: string
|
|
5294
5389
|
}
|
|
5295
5390
|
|
|
5391
|
+
/**
|
|
5392
|
+
* 服务共享弹性网卡设置
|
|
5393
|
+
*/
|
|
5394
|
+
export interface ServiceEIP {
|
|
5395
|
+
/**
|
|
5396
|
+
* 是否开启TIONE内网到外部的访问
|
|
5397
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5398
|
+
*/
|
|
5399
|
+
EnableEIP?: boolean
|
|
5400
|
+
/**
|
|
5401
|
+
* 用户VpcId
|
|
5402
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5403
|
+
*/
|
|
5404
|
+
VpcId?: string
|
|
5405
|
+
/**
|
|
5406
|
+
* 用户subnetId
|
|
5407
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5408
|
+
*/
|
|
5409
|
+
SubnetId?: string
|
|
5410
|
+
}
|
|
5411
|
+
|
|
5296
5412
|
/**
|
|
5297
5413
|
* DescribeModelServiceGroup返回参数结构体
|
|
5298
5414
|
*/
|
|
@@ -5301,7 +5417,7 @@ export interface DescribeModelServiceGroupResponse {
|
|
|
5301
5417
|
* 服务组信息
|
|
5302
5418
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5303
5419
|
*/
|
|
5304
|
-
ServiceGroup
|
|
5420
|
+
ServiceGroup?: ServiceGroup
|
|
5305
5421
|
/**
|
|
5306
5422
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5307
5423
|
*/
|
|
@@ -5412,21 +5528,21 @@ export interface TrainingModelDTO {
|
|
|
5412
5528
|
/**
|
|
5413
5529
|
* 模型id
|
|
5414
5530
|
*/
|
|
5415
|
-
TrainingModelId
|
|
5531
|
+
TrainingModelId?: string
|
|
5416
5532
|
/**
|
|
5417
5533
|
* 模型名称
|
|
5418
5534
|
*/
|
|
5419
|
-
TrainingModelName
|
|
5535
|
+
TrainingModelName?: string
|
|
5420
5536
|
/**
|
|
5421
5537
|
* 标签
|
|
5422
5538
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5423
5539
|
*/
|
|
5424
|
-
Tags
|
|
5540
|
+
Tags?: Array<Tag>
|
|
5425
5541
|
/**
|
|
5426
5542
|
* 模型创建时间
|
|
5427
5543
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5428
5544
|
*/
|
|
5429
|
-
CreateTime
|
|
5545
|
+
CreateTime?: string
|
|
5430
5546
|
/**
|
|
5431
5547
|
* 模型版本列表。默认不返回,仅在指定请求参数开启时返回。
|
|
5432
5548
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -5537,11 +5653,11 @@ export interface CreateTrainingModelResponse {
|
|
|
5537
5653
|
/**
|
|
5538
5654
|
* 模型ID,TrainingModel ID
|
|
5539
5655
|
*/
|
|
5540
|
-
Id
|
|
5656
|
+
Id?: string
|
|
5541
5657
|
/**
|
|
5542
5658
|
* 模型版本ID
|
|
5543
5659
|
*/
|
|
5544
|
-
TrainingModelVersionId
|
|
5660
|
+
TrainingModelVersionId?: string
|
|
5545
5661
|
/**
|
|
5546
5662
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5547
5663
|
*/
|
|
@@ -5594,6 +5710,32 @@ export interface StopModelAccelerateTaskResponse {
|
|
|
5594
5710
|
RequestId?: string
|
|
5595
5711
|
}
|
|
5596
5712
|
|
|
5713
|
+
/**
|
|
5714
|
+
* 私有连接通道信息
|
|
5715
|
+
*/
|
|
5716
|
+
export interface IngressPrivateLinkInfo {
|
|
5717
|
+
/**
|
|
5718
|
+
* 用户VpcId
|
|
5719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5720
|
+
*/
|
|
5721
|
+
VpcId?: string
|
|
5722
|
+
/**
|
|
5723
|
+
* 用户子网ID
|
|
5724
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5725
|
+
*/
|
|
5726
|
+
SubnetId?: string
|
|
5727
|
+
/**
|
|
5728
|
+
* 内网http调用地址
|
|
5729
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5730
|
+
*/
|
|
5731
|
+
InnerHttpAddr?: Array<string>
|
|
5732
|
+
/**
|
|
5733
|
+
* 内网https调用地址
|
|
5734
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5735
|
+
*/
|
|
5736
|
+
InnerHttpsAddr?: Array<string>
|
|
5737
|
+
}
|
|
5738
|
+
|
|
5597
5739
|
/**
|
|
5598
5740
|
* DescribeAPIConfigs返回参数结构体
|
|
5599
5741
|
*/
|
|
@@ -5645,16 +5787,22 @@ export interface SendChatMessageRequest {
|
|
|
5645
5787
|
*/
|
|
5646
5788
|
Question: string
|
|
5647
5789
|
/**
|
|
5648
|
-
*
|
|
5649
|
-
|
|
5790
|
+
* 会话模型版本。
|
|
5791
|
+
多行业多场景大模型:填写 tj_llm_clm-v1。
|
|
5792
|
+
多行业客服大模型:填写demo_big_model_version_id。
|
|
5793
|
+
默认为demo_big_model_version_id,即多行业客服大模型。
|
|
5650
5794
|
*/
|
|
5651
5795
|
ModelVersion?: string
|
|
5652
5796
|
/**
|
|
5653
|
-
* 使用模式(
|
|
5797
|
+
* 使用模式(仅多场景客服大模型支持)。
|
|
5798
|
+
通用问答:填写General。
|
|
5799
|
+
搜索增强问答:填写WithSearchPlugin。
|
|
5800
|
+
默认为General,即通用问答。
|
|
5654
5801
|
*/
|
|
5655
5802
|
Mode?: string
|
|
5656
5803
|
/**
|
|
5657
|
-
* 搜索来源。仅当Mode
|
|
5804
|
+
* 搜索来源。仅当Mode为WithSearchPlugin时生效。
|
|
5805
|
+
预置文稿库:填写Preset。自定义:填写Custom。
|
|
5658
5806
|
*/
|
|
5659
5807
|
SearchSource?: string
|
|
5660
5808
|
}
|
|
@@ -6117,12 +6265,12 @@ export interface DescribeLogsResponse {
|
|
|
6117
6265
|
* 分页的游标
|
|
6118
6266
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6119
6267
|
*/
|
|
6120
|
-
Context
|
|
6268
|
+
Context?: string
|
|
6121
6269
|
/**
|
|
6122
6270
|
* 日志数组
|
|
6123
6271
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6124
6272
|
*/
|
|
6125
|
-
Content
|
|
6273
|
+
Content?: Array<LogIdentity>
|
|
6126
6274
|
/**
|
|
6127
6275
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6128
6276
|
*/
|
|
@@ -6170,118 +6318,118 @@ export interface TrainingModelVersionDTO {
|
|
|
6170
6318
|
/**
|
|
6171
6319
|
* 模型id
|
|
6172
6320
|
*/
|
|
6173
|
-
TrainingModelId
|
|
6321
|
+
TrainingModelId?: string
|
|
6174
6322
|
/**
|
|
6175
6323
|
* 模型版本id
|
|
6176
6324
|
*/
|
|
6177
|
-
TrainingModelVersionId
|
|
6325
|
+
TrainingModelVersionId?: string
|
|
6178
6326
|
/**
|
|
6179
6327
|
* 模型版本
|
|
6180
6328
|
*/
|
|
6181
|
-
TrainingModelVersion
|
|
6329
|
+
TrainingModelVersion?: string
|
|
6182
6330
|
/**
|
|
6183
6331
|
* 模型来源
|
|
6184
6332
|
*/
|
|
6185
|
-
TrainingModelSource
|
|
6333
|
+
TrainingModelSource?: string
|
|
6186
6334
|
/**
|
|
6187
6335
|
* 创建时间
|
|
6188
6336
|
*/
|
|
6189
|
-
TrainingModelCreateTime
|
|
6337
|
+
TrainingModelCreateTime?: string
|
|
6190
6338
|
/**
|
|
6191
6339
|
* 创建人uin
|
|
6192
6340
|
*/
|
|
6193
|
-
TrainingModelCreator
|
|
6341
|
+
TrainingModelCreator?: string
|
|
6194
6342
|
/**
|
|
6195
6343
|
* 算法框架
|
|
6196
6344
|
*/
|
|
6197
|
-
AlgorithmFramework
|
|
6345
|
+
AlgorithmFramework?: string
|
|
6198
6346
|
/**
|
|
6199
6347
|
* 推理环境
|
|
6200
6348
|
*/
|
|
6201
|
-
ReasoningEnvironment
|
|
6349
|
+
ReasoningEnvironment?: string
|
|
6202
6350
|
/**
|
|
6203
6351
|
* 推理环境来源
|
|
6204
6352
|
*/
|
|
6205
|
-
ReasoningEnvironmentSource
|
|
6353
|
+
ReasoningEnvironmentSource?: string
|
|
6206
6354
|
/**
|
|
6207
6355
|
* 模型指标
|
|
6208
6356
|
*/
|
|
6209
|
-
TrainingModelIndex
|
|
6357
|
+
TrainingModelIndex?: string
|
|
6210
6358
|
/**
|
|
6211
6359
|
* 训练任务名称
|
|
6212
6360
|
*/
|
|
6213
|
-
TrainingJobName
|
|
6361
|
+
TrainingJobName?: string
|
|
6214
6362
|
/**
|
|
6215
6363
|
* 模型cos路径
|
|
6216
6364
|
*/
|
|
6217
|
-
TrainingModelCosPath
|
|
6365
|
+
TrainingModelCosPath?: CosPathInfo
|
|
6218
6366
|
/**
|
|
6219
6367
|
* 模型名称
|
|
6220
6368
|
*/
|
|
6221
|
-
TrainingModelName
|
|
6369
|
+
TrainingModelName?: string
|
|
6222
6370
|
/**
|
|
6223
6371
|
* 训练任务id
|
|
6224
6372
|
*/
|
|
6225
|
-
TrainingJobId
|
|
6373
|
+
TrainingJobId?: string
|
|
6226
6374
|
/**
|
|
6227
6375
|
* 自定义推理环境
|
|
6228
6376
|
*/
|
|
6229
|
-
ReasoningImageInfo
|
|
6377
|
+
ReasoningImageInfo?: ImageInfo
|
|
6230
6378
|
/**
|
|
6231
6379
|
* 模型版本创建时间
|
|
6232
6380
|
*/
|
|
6233
|
-
CreateTime
|
|
6381
|
+
CreateTime?: string
|
|
6234
6382
|
/**
|
|
6235
6383
|
* 模型处理状态
|
|
6236
6384
|
STATUS_SUCCESS:导入成功,STATUS_FAILED:导入失败 ,STATUS_RUNNING:导入中
|
|
6237
6385
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6238
6386
|
*/
|
|
6239
|
-
TrainingModelStatus
|
|
6387
|
+
TrainingModelStatus?: string
|
|
6240
6388
|
/**
|
|
6241
6389
|
* 模型处理进度
|
|
6242
6390
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6243
6391
|
*/
|
|
6244
|
-
TrainingModelProgress
|
|
6392
|
+
TrainingModelProgress?: number
|
|
6245
6393
|
/**
|
|
6246
6394
|
* 模型错误信息
|
|
6247
6395
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6248
6396
|
*/
|
|
6249
|
-
TrainingModelErrorMsg
|
|
6397
|
+
TrainingModelErrorMsg?: string
|
|
6250
6398
|
/**
|
|
6251
6399
|
* 模型格式
|
|
6252
6400
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6253
6401
|
*/
|
|
6254
|
-
TrainingModelFormat
|
|
6402
|
+
TrainingModelFormat?: string
|
|
6255
6403
|
/**
|
|
6256
6404
|
* 模型版本类型
|
|
6257
6405
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6258
6406
|
*/
|
|
6259
|
-
VersionType
|
|
6407
|
+
VersionType?: string
|
|
6260
6408
|
/**
|
|
6261
6409
|
* GPU类型
|
|
6262
6410
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6263
6411
|
*/
|
|
6264
|
-
GPUType
|
|
6412
|
+
GPUType?: string
|
|
6265
6413
|
/**
|
|
6266
6414
|
* 模型自动清理开关
|
|
6267
6415
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6268
6416
|
*/
|
|
6269
|
-
AutoClean
|
|
6417
|
+
AutoClean?: string
|
|
6270
6418
|
/**
|
|
6271
6419
|
* 模型清理周期
|
|
6272
6420
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6273
6421
|
*/
|
|
6274
|
-
ModelCleanPeriod
|
|
6422
|
+
ModelCleanPeriod?: number
|
|
6275
6423
|
/**
|
|
6276
6424
|
* 模型数量保留上限
|
|
6277
6425
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6278
6426
|
*/
|
|
6279
|
-
MaxReservedModels
|
|
6427
|
+
MaxReservedModels?: number
|
|
6280
6428
|
/**
|
|
6281
6429
|
* 模型热更新目录
|
|
6282
6430
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6283
6431
|
*/
|
|
6284
|
-
ModelHotUpdatePath
|
|
6432
|
+
ModelHotUpdatePath?: CosPathInfo
|
|
6285
6433
|
/**
|
|
6286
6434
|
* 推理环境id
|
|
6287
6435
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -6384,7 +6532,7 @@ export interface DescribeTrainingModelVersionsResponse {
|
|
|
6384
6532
|
/**
|
|
6385
6533
|
* 模型版本列表
|
|
6386
6534
|
*/
|
|
6387
|
-
TrainingModelVersions
|
|
6535
|
+
TrainingModelVersions?: Array<TrainingModelVersionDTO>
|
|
6388
6536
|
/**
|
|
6389
6537
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6390
6538
|
*/
|
|
@@ -95,8 +95,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
95
95
|
*/
|
|
96
96
|
DescribeModelAccelerateTask(req: DescribeModelAccelerateTaskRequest, cb?: (error: string, rep: DescribeModelAccelerateTaskResponse) => void): Promise<DescribeModelAccelerateTaskResponse>;
|
|
97
97
|
/**
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
* 该接口支持与两种类型大模型的聊天。
|
|
99
|
+
1. 与多行业多场景大模型的在线体验聊天
|
|
100
|
+
2. 与自行部署的开源大模型的聊天
|
|
101
|
+
*/
|
|
100
102
|
ChatCompletion(req: ChatCompletionRequest, cb?: (error: string, rep: ChatCompletionResponse) => void): Promise<ChatCompletionResponse>;
|
|
101
103
|
/**
|
|
102
104
|
* 查询训练自定义指标
|
|
@@ -179,7 +181,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
179
181
|
*/
|
|
180
182
|
DescribeDatasets(req: DescribeDatasetsRequest, cb?: (error: string, rep: DescribeDatasetsResponse) => void): Promise<DescribeDatasetsResponse>;
|
|
181
183
|
/**
|
|
182
|
-
* 获取训练、推理、Notebook服务的日志
|
|
184
|
+
* 获取训练、推理、Notebook服务的日志 API
|
|
183
185
|
*/
|
|
184
186
|
DescribeLogs(req: DescribeLogsRequest, cb?: (error: string, rep: DescribeLogsResponse) => void): Promise<DescribeLogsResponse>;
|
|
185
187
|
/**
|
|
@@ -195,7 +197,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
195
197
|
*/
|
|
196
198
|
RestartModelAccelerateTask(req: RestartModelAccelerateTaskRequest, cb?: (error: string, rep: RestartModelAccelerateTaskResponse) => void): Promise<RestartModelAccelerateTaskResponse>;
|
|
197
199
|
/**
|
|
198
|
-
*
|
|
200
|
+
* 这是一个供您体验大模型聊天的接口。
|
|
199
201
|
*/
|
|
200
202
|
SendChatMessage(req: SendChatMessageRequest, cb?: (error: string, rep: SendChatMessageResponse) => void): Promise<SendChatMessageResponse>;
|
|
201
203
|
/**
|
|
@@ -160,8 +160,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
160
160
|
return this.request("DescribeModelAccelerateTask", req, cb);
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
* 该接口支持与两种类型大模型的聊天。
|
|
164
|
+
1. 与多行业多场景大模型的在线体验聊天
|
|
165
|
+
2. 与自行部署的开源大模型的聊天
|
|
166
|
+
*/
|
|
165
167
|
async ChatCompletion(req, cb) {
|
|
166
168
|
return this.request("ChatCompletion", req, cb);
|
|
167
169
|
}
|
|
@@ -286,7 +288,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
286
288
|
return this.request("DescribeDatasets", req, cb);
|
|
287
289
|
}
|
|
288
290
|
/**
|
|
289
|
-
* 获取训练、推理、Notebook服务的日志
|
|
291
|
+
* 获取训练、推理、Notebook服务的日志 API
|
|
290
292
|
*/
|
|
291
293
|
async DescribeLogs(req, cb) {
|
|
292
294
|
return this.request("DescribeLogs", req, cb);
|
|
@@ -310,7 +312,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
310
312
|
return this.request("RestartModelAccelerateTask", req, cb);
|
|
311
313
|
}
|
|
312
314
|
/**
|
|
313
|
-
*
|
|
315
|
+
* 这是一个供您体验大模型聊天的接口。
|
|
314
316
|
*/
|
|
315
317
|
async SendChatMessage(req, cb) {
|
|
316
318
|
return this.request("SendChatMessage", req, cb);
|