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.
@@ -208,10 +208,6 @@ export interface DescribeLogsRequest {
208
208
  * 查询哪个服务的事件(可选值为TRAIN, NOTEBOOK, INFER)
209
209
  */
210
210
  Service: string;
211
- /**
212
- * 查询哪个Pod的日志(支持结尾通配符*)
213
- */
214
- PodName: string;
215
211
  /**
216
212
  * 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
217
213
  */
@@ -224,6 +220,10 @@ export interface DescribeLogsRequest {
224
220
  * 日志查询条数,默认值100,最大值100
225
221
  */
226
222
  Limit?: number;
223
+ /**
224
+ * 查询哪个Pod的日志(支持结尾通配符*)
225
+ */
226
+ PodName?: string;
227
227
  /**
228
228
  * 排序方向(可选值为ASC, DESC ),默认为DESC
229
229
  */
@@ -786,6 +786,10 @@ export interface DescribeModelServiceGroupRequest {
786
786
  * 服务组ID
787
787
  */
788
788
  ServiceGroupId: string;
789
+ /**
790
+ * 服务分类
791
+ */
792
+ ServiceCategory?: string;
789
793
  }
790
794
  /**
791
795
  * RDMA配置
@@ -2136,7 +2140,9 @@ export interface FrameworkVersion {
2136
2140
  */
2137
2141
  export interface ChatCompletionRequest {
2138
2142
  /**
2139
- * 部署好的模型服务Id
2143
+ * 对话的目标模型ID
2144
+ 多行业多场景大模型在线体验聊天:tj_llm_clm-v1。
2145
+ 自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-xxyyzz。
2140
2146
  */
2141
2147
  Model: string;
2142
2148
  /**
@@ -2144,15 +2150,15 @@ export interface ChatCompletionRequest {
2144
2150
  */
2145
2151
  Messages: Array<Message>;
2146
2152
  /**
2147
- * 采样随机值,默认值为1.0,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。
2153
+ * 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为1.0,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。
2148
2154
  */
2149
2155
  Temperature?: number;
2150
2156
  /**
2151
- * 核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。
2157
+ * 仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。
2152
2158
  */
2153
2159
  TopP?: number;
2154
2160
  /**
2155
- * 最大生成的token数目。默认为无限大。
2161
+ * 仅当模型为自行部署的开源大模型时生效。最大生成的token数目。默认为无限大。
2156
2162
  */
2157
2163
  MaxTokens?: number;
2158
2164
  }
@@ -2191,6 +2197,10 @@ export interface DescribeModelServiceCallInfoRequest {
2191
2197
  * 服务组id
2192
2198
  */
2193
2199
  ServiceGroupId: string;
2200
+ /**
2201
+ * 服务分类
2202
+ */
2203
+ ServiceCategory?: string;
2194
2204
  }
2195
2205
  /**
2196
2206
  * 数据点
@@ -2218,6 +2228,26 @@ export interface TagFilter {
2218
2228
  */
2219
2229
  TagValues?: Array<string>;
2220
2230
  }
2231
+ /**
2232
+ * 太极服务的调用信息
2233
+ */
2234
+ export interface TJCallInfo {
2235
+ /**
2236
+ * 调用地址
2237
+ 注意:此字段可能返回 null,表示取不到有效值。
2238
+ */
2239
+ HttpAddr?: string;
2240
+ /**
2241
+ * token
2242
+ 注意:此字段可能返回 null,表示取不到有效值。
2243
+ */
2244
+ Token?: string;
2245
+ /**
2246
+ * 调用示例
2247
+ 注意:此字段可能返回 null,表示取不到有效值。
2248
+ */
2249
+ CallExample?: string;
2250
+ }
2221
2251
  /**
2222
2252
  * CreateTrainingModel请求参数结构体
2223
2253
  */
@@ -2229,10 +2259,6 @@ export interface CreateTrainingModelRequest {
2229
2259
  EXIST:导入现有版本
2230
2260
  */
2231
2261
  ImportMethod: string;
2232
- /**
2233
- * 模型来源cos目录,以/结尾
2234
- */
2235
- TrainingModelCosPath: CosPathInfo;
2236
2262
  /**
2237
2263
  * 推理环境来源(SYSTEM/CUSTOM)
2238
2264
  */
@@ -2249,6 +2275,10 @@ export interface CreateTrainingModelRequest {
2249
2275
  * 训练任务名称
2250
2276
  */
2251
2277
  TrainingJobName?: string;
2278
+ /**
2279
+ * 模型来源cos目录,以/结尾
2280
+ */
2281
+ TrainingModelCosPath?: CosPathInfo;
2252
2282
  /**
2253
2283
  * 算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION)
2254
2284
  */
@@ -2396,12 +2426,12 @@ export interface DescribeModelServiceGroupsResponse {
2396
2426
  * 推理服务组数量。
2397
2427
  注意:此字段可能返回 null,表示取不到有效值。
2398
2428
  */
2399
- TotalCount: number;
2429
+ TotalCount?: number;
2400
2430
  /**
2401
2431
  * 服务组信息
2402
2432
  注意:此字段可能返回 null,表示取不到有效值。
2403
2433
  */
2404
- ServiceGroups: Array<ServiceGroup>;
2434
+ ServiceGroups?: Array<ServiceGroup>;
2405
2435
  /**
2406
2436
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2407
2437
  */
@@ -3446,6 +3476,30 @@ export interface DescribeModelServiceGroupsRequest {
3446
3476
  * 标签过滤参数
3447
3477
  */
3448
3478
  TagFilters?: Array<TagFilter>;
3479
+ /**
3480
+ * 服务分类
3481
+ */
3482
+ ServiceCategory?: string;
3483
+ }
3484
+ /**
3485
+ * 共享弹性网卡信息
3486
+ */
3487
+ export interface ServiceEIPInfo {
3488
+ /**
3489
+ * 服务ID
3490
+ 注意:此字段可能返回 null,表示取不到有效值。
3491
+ */
3492
+ ServiceId?: string;
3493
+ /**
3494
+ * 用户VpcId
3495
+ 注意:此字段可能返回 null,表示取不到有效值。
3496
+ */
3497
+ VpcId?: string;
3498
+ /**
3499
+ * 用户子网Id
3500
+ 注意:此字段可能返回 null,表示取不到有效值。
3501
+ */
3502
+ SubnetId?: string;
3449
3503
  }
3450
3504
  /**
3451
3505
  * 二级标签
@@ -3751,6 +3805,11 @@ export interface ServiceInfo {
3751
3805
  注意:此字段可能返回 null,表示取不到有效值。
3752
3806
  */
3753
3807
  Command?: string;
3808
+ /**
3809
+ * 开启TIONE内网访问外部设置
3810
+ 注意:此字段可能返回 null,表示取不到有效值。
3811
+ */
3812
+ ServiceEIP?: ServiceEIP;
3754
3813
  }
3755
3814
  /**
3756
3815
  * 出参类型
@@ -3883,6 +3942,10 @@ export interface DescribeModelServiceRequest {
3883
3942
  * 服务id
3884
3943
  */
3885
3944
  ServiceId: string;
3945
+ /**
3946
+ * 服务分类
3947
+ */
3948
+ ServiceCategory?: string;
3886
3949
  }
3887
3950
  /**
3888
3951
  * CreateTrainingTask返回参数结构体
@@ -3945,6 +4008,10 @@ export interface DeleteModelServiceRequest {
3945
4008
  * 服务id
3946
4009
  */
3947
4010
  ServiceId: string;
4011
+ /**
4012
+ * 服务分类
4013
+ */
4014
+ ServiceCategory?: string;
3948
4015
  }
3949
4016
  /**
3950
4017
  * DeleteModelAccelerateTask请求参数结构体
@@ -4115,7 +4182,7 @@ export interface DescribeModelServiceResponse {
4115
4182
  /**
4116
4183
  * 服务信息
4117
4184
  */
4118
- Service: Service;
4185
+ Service?: Service;
4119
4186
  /**
4120
4187
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4121
4188
  */
@@ -4187,6 +4254,21 @@ export interface CreateBatchModelAccTasksRequest {
4187
4254
  */
4188
4255
  HyperParameter?: HyperParameter;
4189
4256
  }
4257
+ /**
4258
+ * 内网调用信息
4259
+ */
4260
+ export interface IntranetCallInfo {
4261
+ /**
4262
+ * 私有连接通道信息
4263
+ 注意:此字段可能返回 null,表示取不到有效值。
4264
+ */
4265
+ IngressPrivateLinkInfo?: IngressPrivateLinkInfo;
4266
+ /**
4267
+ * 共享弹性网卡信息
4268
+ 注意:此字段可能返回 null,表示取不到有效值。
4269
+ */
4270
+ ServiceEIPInfo?: Array<ServiceEIPInfo>;
4271
+ }
4190
4272
  /**
4191
4273
  * DescribeBillingSpecsPrice请求参数结构体
4192
4274
  */
@@ -4727,6 +4809,16 @@ export interface DescribeModelServiceCallInfoResponse {
4727
4809
  注意:此字段可能返回 null,表示取不到有效值。
4728
4810
  */
4729
4811
  DefaultNginxGatewayCallInfo?: DefaultNginxGatewayCallInfo;
4812
+ /**
4813
+ * 太极服务的调用信息
4814
+ 注意:此字段可能返回 null,表示取不到有效值。
4815
+ */
4816
+ TJCallInfo?: TJCallInfo;
4817
+ /**
4818
+ * 内网调用信息
4819
+ 注意:此字段可能返回 null,表示取不到有效值。
4820
+ */
4821
+ IntranetCallInfo?: IntranetCallInfo;
4730
4822
  /**
4731
4823
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4732
4824
  */
@@ -5112,6 +5204,26 @@ export interface CreateModelServiceResponse {
5112
5204
  */
5113
5205
  RequestId?: string;
5114
5206
  }
5207
+ /**
5208
+ * 服务共享弹性网卡设置
5209
+ */
5210
+ export interface ServiceEIP {
5211
+ /**
5212
+ * 是否开启TIONE内网到外部的访问
5213
+ 注意:此字段可能返回 null,表示取不到有效值。
5214
+ */
5215
+ EnableEIP?: boolean;
5216
+ /**
5217
+ * 用户VpcId
5218
+ 注意:此字段可能返回 null,表示取不到有效值。
5219
+ */
5220
+ VpcId?: string;
5221
+ /**
5222
+ * 用户subnetId
5223
+ 注意:此字段可能返回 null,表示取不到有效值。
5224
+ */
5225
+ SubnetId?: string;
5226
+ }
5115
5227
  /**
5116
5228
  * DescribeModelServiceGroup返回参数结构体
5117
5229
  */
@@ -5120,7 +5232,7 @@ export interface DescribeModelServiceGroupResponse {
5120
5232
  * 服务组信息
5121
5233
  注意:此字段可能返回 null,表示取不到有效值。
5122
5234
  */
5123
- ServiceGroup: ServiceGroup;
5235
+ ServiceGroup?: ServiceGroup;
5124
5236
  /**
5125
5237
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5126
5238
  */
@@ -5229,21 +5341,21 @@ export interface TrainingModelDTO {
5229
5341
  /**
5230
5342
  * 模型id
5231
5343
  */
5232
- TrainingModelId: string;
5344
+ TrainingModelId?: string;
5233
5345
  /**
5234
5346
  * 模型名称
5235
5347
  */
5236
- TrainingModelName: string;
5348
+ TrainingModelName?: string;
5237
5349
  /**
5238
5350
  * 标签
5239
5351
  注意:此字段可能返回 null,表示取不到有效值。
5240
5352
  */
5241
- Tags: Array<Tag>;
5353
+ Tags?: Array<Tag>;
5242
5354
  /**
5243
5355
  * 模型创建时间
5244
5356
  注意:此字段可能返回 null,表示取不到有效值。
5245
5357
  */
5246
- CreateTime: string;
5358
+ CreateTime?: string;
5247
5359
  /**
5248
5360
  * 模型版本列表。默认不返回,仅在指定请求参数开启时返回。
5249
5361
  注意:此字段可能返回 null,表示取不到有效值。
@@ -5347,11 +5459,11 @@ export interface CreateTrainingModelResponse {
5347
5459
  /**
5348
5460
  * 模型ID,TrainingModel ID
5349
5461
  */
5350
- Id: string;
5462
+ Id?: string;
5351
5463
  /**
5352
5464
  * 模型版本ID
5353
5465
  */
5354
- TrainingModelVersionId: string;
5466
+ TrainingModelVersionId?: string;
5355
5467
  /**
5356
5468
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5357
5469
  */
@@ -5401,6 +5513,31 @@ export interface StopModelAccelerateTaskResponse {
5401
5513
  */
5402
5514
  RequestId?: string;
5403
5515
  }
5516
+ /**
5517
+ * 私有连接通道信息
5518
+ */
5519
+ export interface IngressPrivateLinkInfo {
5520
+ /**
5521
+ * 用户VpcId
5522
+ 注意:此字段可能返回 null,表示取不到有效值。
5523
+ */
5524
+ VpcId?: string;
5525
+ /**
5526
+ * 用户子网ID
5527
+ 注意:此字段可能返回 null,表示取不到有效值。
5528
+ */
5529
+ SubnetId?: string;
5530
+ /**
5531
+ * 内网http调用地址
5532
+ 注意:此字段可能返回 null,表示取不到有效值。
5533
+ */
5534
+ InnerHttpAddr?: Array<string>;
5535
+ /**
5536
+ * 内网https调用地址
5537
+ 注意:此字段可能返回 null,表示取不到有效值。
5538
+ */
5539
+ InnerHttpsAddr?: Array<string>;
5540
+ }
5404
5541
  /**
5405
5542
  * DescribeAPIConfigs返回参数结构体
5406
5543
  */
@@ -5450,16 +5587,22 @@ export interface SendChatMessageRequest {
5450
5587
  */
5451
5588
  Question: string;
5452
5589
  /**
5453
- * 会话模型版本,不同的会话模型调用到不同的模型后台。
5454
- 注: 多行业多场景大模型填写 tj_llm_clm-v1
5590
+ * 会话模型版本。
5591
+ 多行业多场景大模型:填写 tj_llm_clm-v1
5592
+ 多行业客服大模型:填写demo_big_model_version_id。
5593
+ 默认为demo_big_model_version_id,即多行业客服大模型。
5455
5594
  */
5456
5595
  ModelVersion?: string;
5457
5596
  /**
5458
- * 使用模式(仅部分模型支持)。General 通用问答;WithSearchPlugin 搜索增强问答
5597
+ * 使用模式(仅多场景客服大模型支持)。
5598
+ 通用问答:填写General。
5599
+ 搜索增强问答:填写WithSearchPlugin。
5600
+ 默认为General,即通用问答。
5459
5601
  */
5460
5602
  Mode?: string;
5461
5603
  /**
5462
- * 搜索来源。仅当ModeWithSearchPlugin时生效。Preset 预置文稿库;Custom 自定义。
5604
+ * 搜索来源。仅当ModeWithSearchPlugin时生效。
5605
+ 预置文稿库:填写Preset。自定义:填写Custom。
5463
5606
  */
5464
5607
  SearchSource?: string;
5465
5608
  }
@@ -5906,12 +6049,12 @@ export interface DescribeLogsResponse {
5906
6049
  * 分页的游标
5907
6050
  注意:此字段可能返回 null,表示取不到有效值。
5908
6051
  */
5909
- Context: string;
6052
+ Context?: string;
5910
6053
  /**
5911
6054
  * 日志数组
5912
6055
  注意:此字段可能返回 null,表示取不到有效值。
5913
6056
  */
5914
- Content: Array<LogIdentity>;
6057
+ Content?: Array<LogIdentity>;
5915
6058
  /**
5916
6059
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5917
6060
  */
@@ -5955,118 +6098,118 @@ export interface TrainingModelVersionDTO {
5955
6098
  /**
5956
6099
  * 模型id
5957
6100
  */
5958
- TrainingModelId: string;
6101
+ TrainingModelId?: string;
5959
6102
  /**
5960
6103
  * 模型版本id
5961
6104
  */
5962
- TrainingModelVersionId: string;
6105
+ TrainingModelVersionId?: string;
5963
6106
  /**
5964
6107
  * 模型版本
5965
6108
  */
5966
- TrainingModelVersion: string;
6109
+ TrainingModelVersion?: string;
5967
6110
  /**
5968
6111
  * 模型来源
5969
6112
  */
5970
- TrainingModelSource: string;
6113
+ TrainingModelSource?: string;
5971
6114
  /**
5972
6115
  * 创建时间
5973
6116
  */
5974
- TrainingModelCreateTime: string;
6117
+ TrainingModelCreateTime?: string;
5975
6118
  /**
5976
6119
  * 创建人uin
5977
6120
  */
5978
- TrainingModelCreator: string;
6121
+ TrainingModelCreator?: string;
5979
6122
  /**
5980
6123
  * 算法框架
5981
6124
  */
5982
- AlgorithmFramework: string;
6125
+ AlgorithmFramework?: string;
5983
6126
  /**
5984
6127
  * 推理环境
5985
6128
  */
5986
- ReasoningEnvironment: string;
6129
+ ReasoningEnvironment?: string;
5987
6130
  /**
5988
6131
  * 推理环境来源
5989
6132
  */
5990
- ReasoningEnvironmentSource: string;
6133
+ ReasoningEnvironmentSource?: string;
5991
6134
  /**
5992
6135
  * 模型指标
5993
6136
  */
5994
- TrainingModelIndex: string;
6137
+ TrainingModelIndex?: string;
5995
6138
  /**
5996
6139
  * 训练任务名称
5997
6140
  */
5998
- TrainingJobName: string;
6141
+ TrainingJobName?: string;
5999
6142
  /**
6000
6143
  * 模型cos路径
6001
6144
  */
6002
- TrainingModelCosPath: CosPathInfo;
6145
+ TrainingModelCosPath?: CosPathInfo;
6003
6146
  /**
6004
6147
  * 模型名称
6005
6148
  */
6006
- TrainingModelName: string;
6149
+ TrainingModelName?: string;
6007
6150
  /**
6008
6151
  * 训练任务id
6009
6152
  */
6010
- TrainingJobId: string;
6153
+ TrainingJobId?: string;
6011
6154
  /**
6012
6155
  * 自定义推理环境
6013
6156
  */
6014
- ReasoningImageInfo: ImageInfo;
6157
+ ReasoningImageInfo?: ImageInfo;
6015
6158
  /**
6016
6159
  * 模型版本创建时间
6017
6160
  */
6018
- CreateTime: string;
6161
+ CreateTime?: string;
6019
6162
  /**
6020
6163
  * 模型处理状态
6021
6164
  STATUS_SUCCESS:导入成功,STATUS_FAILED:导入失败 ,STATUS_RUNNING:导入中
6022
6165
  注意:此字段可能返回 null,表示取不到有效值。
6023
6166
  */
6024
- TrainingModelStatus: string;
6167
+ TrainingModelStatus?: string;
6025
6168
  /**
6026
6169
  * 模型处理进度
6027
6170
  注意:此字段可能返回 null,表示取不到有效值。
6028
6171
  */
6029
- TrainingModelProgress: number;
6172
+ TrainingModelProgress?: number;
6030
6173
  /**
6031
6174
  * 模型错误信息
6032
6175
  注意:此字段可能返回 null,表示取不到有效值。
6033
6176
  */
6034
- TrainingModelErrorMsg: string;
6177
+ TrainingModelErrorMsg?: string;
6035
6178
  /**
6036
6179
  * 模型格式
6037
6180
  注意:此字段可能返回 null,表示取不到有效值。
6038
6181
  */
6039
- TrainingModelFormat: string;
6182
+ TrainingModelFormat?: string;
6040
6183
  /**
6041
6184
  * 模型版本类型
6042
6185
  注意:此字段可能返回 null,表示取不到有效值。
6043
6186
  */
6044
- VersionType: string;
6187
+ VersionType?: string;
6045
6188
  /**
6046
6189
  * GPU类型
6047
6190
  注意:此字段可能返回 null,表示取不到有效值。
6048
6191
  */
6049
- GPUType: string;
6192
+ GPUType?: string;
6050
6193
  /**
6051
6194
  * 模型自动清理开关
6052
6195
  注意:此字段可能返回 null,表示取不到有效值。
6053
6196
  */
6054
- AutoClean: string;
6197
+ AutoClean?: string;
6055
6198
  /**
6056
6199
  * 模型清理周期
6057
6200
  注意:此字段可能返回 null,表示取不到有效值。
6058
6201
  */
6059
- ModelCleanPeriod: number;
6202
+ ModelCleanPeriod?: number;
6060
6203
  /**
6061
6204
  * 模型数量保留上限
6062
6205
  注意:此字段可能返回 null,表示取不到有效值。
6063
6206
  */
6064
- MaxReservedModels: number;
6207
+ MaxReservedModels?: number;
6065
6208
  /**
6066
6209
  * 模型热更新目录
6067
6210
  注意:此字段可能返回 null,表示取不到有效值。
6068
6211
  */
6069
- ModelHotUpdatePath: CosPathInfo;
6212
+ ModelHotUpdatePath?: CosPathInfo;
6070
6213
  /**
6071
6214
  * 推理环境id
6072
6215
  注意:此字段可能返回 null,表示取不到有效值。
@@ -6163,7 +6306,7 @@ export interface DescribeTrainingModelVersionsResponse {
6163
6306
  /**
6164
6307
  * 模型版本列表
6165
6308
  */
6166
- TrainingModelVersions: Array<TrainingModelVersionDTO>;
6309
+ TrainingModelVersions?: Array<TrainingModelVersionDTO>;
6167
6310
  /**
6168
6311
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6169
6312
  */