tencentcloud-sdk-tione 3.0.957 → 3.0.959

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04b728c529f1ca46dacce434d29698354d01a5ed
4
- data.tar.gz: 1361f99ae5f4a4159695a5740e18a91c8a2f9658
3
+ metadata.gz: 62fd69a862b710207d2f27a79a6fd8b84c7580f0
4
+ data.tar.gz: 3e472557ae90d7357f8f02e50fe84d19a46c287b
5
5
  SHA512:
6
- metadata.gz: 29f42001bdc57abe892e9977b577326b904d6efb266e5cd874de49ca5deeb4c4a987be5c0b239b0fef9e65b972b5e17b66790361d202bc54ddbc58749de809d3
7
- data.tar.gz: f9b3fdbc604f89a23b71f1eab40b1d57a4ca8183cb9ff2a424c0b9b82c911bc507b40bea26c5ae0366586eea2b0db8d7f6dc902da114ffd1f6e50d37d01c6393
6
+ metadata.gz: 58831e5b6b3c8f9241a42949303c3e7d00bcd9458fe1bf906a4f1a74171e0107f9b2e67746e610a510b729e68a42a718fbf74a3f234a7dd5032ba7ecbc3ab8a0
7
+ data.tar.gz: 40ed2417efe1d424b4b9bc6fcdb5702fad12678405c3720e5cb79172a9d6e155960dfcfff7ce42f7cbc600d0882beb039325f06af4376bfbb14d280d754cd2f4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.957
1
+ 3.0.959
@@ -389,6 +389,54 @@ module TencentCloud
389
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
390
  end
391
391
 
392
+ # 本接口(DescribeBillingSpecs) 提供查询计费项列表
393
+
394
+ # @param request: Request instance for DescribeBillingSpecs.
395
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeBillingSpecsRequest`
396
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeBillingSpecsResponse`
397
+ def DescribeBillingSpecs(request)
398
+ body = send_request('DescribeBillingSpecs', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DescribeBillingSpecsResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
416
+ # 本接口(DescribeBillingSpecsPrice)用于查询按量计费计费项价格。
417
+
418
+ # @param request: Request instance for DescribeBillingSpecsPrice.
419
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeBillingSpecsPriceRequest`
420
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeBillingSpecsPriceResponse`
421
+ def DescribeBillingSpecsPrice(request)
422
+ body = send_request('DescribeBillingSpecsPrice', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = DescribeBillingSpecsPriceResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
392
440
  # 获取内置镜像列表
393
441
 
394
442
  # @param request: Request instance for DescribeBuildInImages.
@@ -845,30 +893,6 @@ module TencentCloud
845
893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
894
  end
847
895
 
848
- # 这是一个供您体验大模型聊天的接口。
849
-
850
- # @param request: Request instance for SendChatMessage.
851
- # @type request: :class:`Tencentcloud::tione::V20211111::SendChatMessageRequest`
852
- # @rtype: :class:`Tencentcloud::tione::V20211111::SendChatMessageResponse`
853
- def SendChatMessage(request)
854
- body = send_request('SendChatMessage', request.serialize)
855
- response = JSON.parse(body)
856
- if response['Response'].key?('Error') == false
857
- model = SendChatMessageResponse.new
858
- model.deserialize(response['Response'])
859
- model
860
- else
861
- code = response['Response']['Error']['Code']
862
- message = response['Response']['Error']['Message']
863
- reqid = response['Response']['RequestId']
864
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
865
- end
866
- rescue TencentCloud::Common::TencentCloudSDKException => e
867
- raise e
868
- rescue StandardError => e
869
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
- end
871
-
872
896
  # 启动Notebook
873
897
 
874
898
  # @param request: Request instance for StartNotebook.
@@ -89,15 +89,15 @@ module TencentCloud
89
89
  # ChatCompletion请求参数结构体
90
90
  class ChatCompletionRequest < TencentCloud::Common::AbstractModel
91
91
  # @param Model: 对话的目标模型ID。
92
- # 自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-xxyyzz
92
+ # 自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-q7pfr29p
93
93
  # @type Model: String
94
94
  # @param Messages: 输入对话历史。旧的对话在前,数组中最后一项应该为这次的问题。
95
95
  # @type Messages: Array
96
- # @param Temperature: 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为1.0,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。
96
+ # @param Temperature: 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为0.7,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。
97
97
  # @type Temperature: Float
98
98
  # @param TopP: 仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。
99
99
  # @type TopP: Float
100
- # @param MaxTokens: 仅当模型为自行部署的开源大模型时生效。最大生成的token数目。默认为无限大。
100
+ # @param MaxTokens: 仅当模型为自行部署的开源大模型时生效。默认 512,模型可生成内容的最长 token 数量,最大不能超过模型支持的上下文长度。
101
101
  # @type MaxTokens: Integer
102
102
 
103
103
  attr_accessor :Model, :Messages, :Temperature, :TopP, :MaxTokens
@@ -128,15 +128,13 @@ module TencentCloud
128
128
 
129
129
  # ChatCompletion返回参数结构体
130
130
  class ChatCompletionResponse < TencentCloud::Common::AbstractModel
131
- # @param Model: 部署好的服务Id
131
+ # @param Model: 对话的模型服务组ID
132
132
  # @type Model: String
133
133
  # @param Choices: 本次问答的答案。
134
134
  # @type Choices: Array
135
135
  # @param Id: 会话Id。
136
- # 注意:此字段可能返回 null,表示取不到有效值。
137
136
  # @type Id: String
138
137
  # @param Usage: token统计
139
- # 注意:此字段可能返回 null,表示取不到有效值。
140
138
  # @type Usage: :class:`Tencentcloud::Tione.v20211111.models.Usage`
141
139
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
142
140
  # @type RequestId: String
@@ -173,7 +171,6 @@ module TencentCloud
173
171
  # 对话结果
174
172
  class Choice < TencentCloud::Common::AbstractModel
175
173
  # @param Message: 对话结果
176
- # 注意:此字段可能返回 null,表示取不到有效值。
177
174
  # @type Message: :class:`Tencentcloud::Tione.v20211111.models.Message`
178
175
  # @param FinishReason: 结束理由: stop, length, content_filter, null
179
176
  # @type FinishReason: String
@@ -322,23 +319,37 @@ module TencentCloud
322
319
  # ANNOTATION_TYPE_DETECTION,目标检测
323
320
  # ANNOTATION_TYPE_SEGMENTATION,图片分割
324
321
  # ANNOTATION_TYPE_TRACKING,目标跟踪
322
+ # ANNOTATION_TYPE_OCR,OCR
323
+ # ANNOTATION_TYPE_TEXT_CLASSIFICATION,文本分类
325
324
  # @type AnnotationType: String
326
325
  # @param AnnotationFormat: 标注格式:
327
326
  # ANNOTATION_FORMAT_TI,TI平台格式
328
327
  # ANNOTATION_FORMAT_PASCAL,Pascal Voc
329
328
  # ANNOTATION_FORMAT_COCO,COCO
330
329
  # ANNOTATION_FORMAT_FILE,文件目录结构
330
+ # ANNOTATION_FORMAT_TEXT_TI,文本类型TI平台格式
331
+ # ANNOTATION_FORMAT_TXT,文本类型TXT格式
332
+ # ANNOTATION_FORMAT_CSV,文本类型CSV格式
333
+ # ANNOTATION_FORMAT_JSON,文本类型JSON格式
331
334
  # @type AnnotationFormat: String
332
335
  # @param SchemaInfos: 表头信息
333
336
  # @type SchemaInfos: Array
334
337
  # @param IsSchemaExisted: 数据是否存在表头
335
338
  # @type IsSchemaExisted: Boolean
336
- # @param ContentType: 导入文件粒度,按行或者按文件
339
+ # @param ContentType: 导入文件粒度
340
+ # TYPE_TEXT_LINE,按行
341
+ # TYPE_TEXT_FILE,按文件
337
342
  # @type ContentType: String
343
+ # @param DatasetScene: 数据集建模一级类别。LLM,CV,STRUCTURE,OTHER
344
+ # @type DatasetScene: String
345
+ # @param SceneTags: 数据集标签。
346
+ # @type SceneTags: Array
347
+ # @param CFSConfig: 数据集CFS配置。仅支持LLM场景
348
+ # @type CFSConfig: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
338
349
 
339
- attr_accessor :DatasetName, :DatasetType, :StorageDataPath, :StorageLabelPath, :DatasetTags, :AnnotationStatus, :AnnotationType, :AnnotationFormat, :SchemaInfos, :IsSchemaExisted, :ContentType
350
+ attr_accessor :DatasetName, :DatasetType, :StorageDataPath, :StorageLabelPath, :DatasetTags, :AnnotationStatus, :AnnotationType, :AnnotationFormat, :SchemaInfos, :IsSchemaExisted, :ContentType, :DatasetScene, :SceneTags, :CFSConfig
340
351
 
341
- def initialize(datasetname=nil, datasettype=nil, storagedatapath=nil, storagelabelpath=nil, datasettags=nil, annotationstatus=nil, annotationtype=nil, annotationformat=nil, schemainfos=nil, isschemaexisted=nil, contenttype=nil)
352
+ def initialize(datasetname=nil, datasettype=nil, storagedatapath=nil, storagelabelpath=nil, datasettags=nil, annotationstatus=nil, annotationtype=nil, annotationformat=nil, schemainfos=nil, isschemaexisted=nil, contenttype=nil, datasetscene=nil, scenetags=nil, cfsconfig=nil)
342
353
  @DatasetName = datasetname
343
354
  @DatasetType = datasettype
344
355
  @StorageDataPath = storagedatapath
@@ -350,6 +361,9 @@ module TencentCloud
350
361
  @SchemaInfos = schemainfos
351
362
  @IsSchemaExisted = isschemaexisted
352
363
  @ContentType = contenttype
364
+ @DatasetScene = datasetscene
365
+ @SceneTags = scenetags
366
+ @CFSConfig = cfsconfig
353
367
  end
354
368
 
355
369
  def deserialize(params)
@@ -384,6 +398,12 @@ module TencentCloud
384
398
  end
385
399
  @IsSchemaExisted = params['IsSchemaExisted']
386
400
  @ContentType = params['ContentType']
401
+ @DatasetScene = params['DatasetScene']
402
+ @SceneTags = params['SceneTags']
403
+ unless params['CFSConfig'].nil?
404
+ @CFSConfig = CFSConfig.new
405
+ @CFSConfig.deserialize(params['CFSConfig'])
406
+ end
387
407
  end
388
408
  end
389
409
 
@@ -499,10 +519,14 @@ module TencentCloud
499
519
  # @type CommandBase64: String
500
520
  # @param ServicePort: 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092
501
521
  # @type ServicePort: Integer
522
+ # @param DeployType: 服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
523
+ # @type DeployType: String
524
+ # @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
525
+ # @type InstancePerReplicas: Integer
502
526
 
503
- attr_accessor :ServiceGroupId, :ServiceGroupName, :ServiceDescription, :ChargeType, :ResourceGroupId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :AuthorizationEnable, :Tags, :NewVersion, :CronScaleJobs, :ScaleStrategy, :HybridBillingPrepaidReplicas, :CreateSource, :ModelHotUpdateEnable, :ScheduledAction, :VolumeMount, :ServiceLimit, :CallbackUrl, :ModelTurboEnable, :ServiceCategory, :Command, :ServiceEIP, :CommandBase64, :ServicePort
527
+ attr_accessor :ServiceGroupId, :ServiceGroupName, :ServiceDescription, :ChargeType, :ResourceGroupId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :AuthorizationEnable, :Tags, :NewVersion, :CronScaleJobs, :ScaleStrategy, :HybridBillingPrepaidReplicas, :CreateSource, :ModelHotUpdateEnable, :ScheduledAction, :VolumeMount, :ServiceLimit, :CallbackUrl, :ModelTurboEnable, :ServiceCategory, :Command, :ServiceEIP, :CommandBase64, :ServicePort, :DeployType, :InstancePerReplicas
504
528
 
505
- def initialize(servicegroupid=nil, servicegroupname=nil, servicedescription=nil, chargetype=nil, resourcegroupid=nil, modelinfo=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, authorizationenable=nil, tags=nil, newversion=nil, cronscalejobs=nil, scalestrategy=nil, hybridbillingprepaidreplicas=nil, createsource=nil, modelhotupdateenable=nil, scheduledaction=nil, volumemount=nil, servicelimit=nil, callbackurl=nil, modelturboenable=nil, servicecategory=nil, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil)
529
+ def initialize(servicegroupid=nil, servicegroupname=nil, servicedescription=nil, chargetype=nil, resourcegroupid=nil, modelinfo=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, authorizationenable=nil, tags=nil, newversion=nil, cronscalejobs=nil, scalestrategy=nil, hybridbillingprepaidreplicas=nil, createsource=nil, modelhotupdateenable=nil, scheduledaction=nil, volumemount=nil, servicelimit=nil, callbackurl=nil, modelturboenable=nil, servicecategory=nil, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil, deploytype=nil, instanceperreplicas=nil)
506
530
  @ServiceGroupId = servicegroupid
507
531
  @ServiceGroupName = servicegroupname
508
532
  @ServiceDescription = servicedescription
@@ -536,6 +560,8 @@ module TencentCloud
536
560
  @ServiceEIP = serviceeip
537
561
  @CommandBase64 = commandbase64
538
562
  @ServicePort = serviceport
563
+ @DeployType = deploytype
564
+ @InstancePerReplicas = instanceperreplicas
539
565
  end
540
566
 
541
567
  def deserialize(params)
@@ -620,13 +646,14 @@ module TencentCloud
620
646
  end
621
647
  @CommandBase64 = params['CommandBase64']
622
648
  @ServicePort = params['ServicePort']
649
+ @DeployType = params['DeployType']
650
+ @InstancePerReplicas = params['InstancePerReplicas']
623
651
  end
624
652
  end
625
653
 
626
654
  # CreateModelService返回参数结构体
627
655
  class CreateModelServiceResponse < TencentCloud::Common::AbstractModel
628
656
  # @param Service: 生成的模型服务
629
- # 注意:此字段可能返回 null,表示取不到有效值。
630
657
  # @type Service: :class:`Tencentcloud::Tione.v20211111.models.Service`
631
658
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
632
659
  # @type RequestId: String
@@ -1079,6 +1106,10 @@ module TencentCloud
1079
1106
  class DataConfig < TencentCloud::Common::AbstractModel
1080
1107
  # @param MappingPath: 映射路径
1081
1108
  # @type MappingPath: String
1109
+ # @param DataSourceUsage: 存储用途
1110
+ # 可选值为 BUILTIN_CODE, BUILTIN_DATA, BUILTIN_MODEL, USER_DATA, USER_CODE, USER_MODEL, OUTPUT, OTHER
1111
+ # 注意:此字段可能返回 null,表示取不到有效值。
1112
+ # @type DataSourceUsage: String
1082
1113
  # @param DataSourceType: DATASET、COS、CFS、CFSTurbo、GooseFSx、HDFS、WEDATA_HDFS
1083
1114
  # 注意:此字段可能返回 null,表示取不到有效值。
1084
1115
  # @type DataSourceType: String
@@ -1107,10 +1138,11 @@ module TencentCloud
1107
1138
  # 注意:此字段可能返回 null,表示取不到有效值。
1108
1139
  # @type CBSSource: :class:`Tencentcloud::Tione.v20211111.models.CBSConfig`
1109
1140
 
1110
- attr_accessor :MappingPath, :DataSourceType, :DataSetSource, :COSSource, :CFSSource, :HDFSSource, :GooseFSSource, :CFSTurboSource, :LocalDiskSource, :CBSSource
1141
+ attr_accessor :MappingPath, :DataSourceUsage, :DataSourceType, :DataSetSource, :COSSource, :CFSSource, :HDFSSource, :GooseFSSource, :CFSTurboSource, :LocalDiskSource, :CBSSource
1111
1142
 
1112
- def initialize(mappingpath=nil, datasourcetype=nil, datasetsource=nil, cossource=nil, cfssource=nil, hdfssource=nil, goosefssource=nil, cfsturbosource=nil, localdisksource=nil, cbssource=nil)
1143
+ def initialize(mappingpath=nil, datasourceusage=nil, datasourcetype=nil, datasetsource=nil, cossource=nil, cfssource=nil, hdfssource=nil, goosefssource=nil, cfsturbosource=nil, localdisksource=nil, cbssource=nil)
1113
1144
  @MappingPath = mappingpath
1145
+ @DataSourceUsage = datasourceusage
1114
1146
  @DataSourceType = datasourcetype
1115
1147
  @DataSetSource = datasetsource
1116
1148
  @COSSource = cossource
@@ -1124,6 +1156,7 @@ module TencentCloud
1124
1156
 
1125
1157
  def deserialize(params)
1126
1158
  @MappingPath = params['MappingPath']
1159
+ @DataSourceUsage = params['DataSourceUsage']
1127
1160
  @DataSourceType = params['DataSourceType']
1128
1161
  unless params['DataSetSource'].nil?
1129
1162
  @DataSetSource = DataSetConfig.new
@@ -1276,10 +1309,28 @@ module TencentCloud
1276
1309
  # @param ContentType: 文本数据集导入方式
1277
1310
  # 注意:此字段可能返回 null,表示取不到有效值。
1278
1311
  # @type ContentType: String
1312
+ # @param DatasetScene: 数据集建模类别。
1313
+ # 注意:此字段可能返回 null,表示取不到有效值。
1314
+ # @type DatasetScene: String
1315
+ # @param CFSConfig: CFS配置
1316
+ # 注意:此字段可能返回 null,表示取不到有效值。
1317
+ # @type CFSConfig: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
1318
+ # @param SceneTags: 数据集标签
1319
+ # 注意:此字段可能返回 null,表示取不到有效值。
1320
+ # @type SceneTags: Array
1321
+ # @param NumAnnotated: 已标注数量
1322
+ # 注意:此字段可能返回 null,表示取不到有效值。
1323
+ # @type NumAnnotated: Integer
1324
+ # @param AnnotationSpecification: 标注规范
1325
+ # 注意:此字段可能返回 null,表示取不到有效值。
1326
+ # @type AnnotationSpecification: String
1327
+ # @param AnnotationSchemaConfigured: 标注Schema是否配置
1328
+ # 注意:此字段可能返回 null,表示取不到有效值。
1329
+ # @type AnnotationSchemaConfigured: Boolean
1279
1330
 
1280
- attr_accessor :DatasetId, :DatasetName, :Creator, :DatasetVersion, :DatasetType, :DatasetTags, :DatasetAnnotationTaskName, :DatasetAnnotationTaskId, :Process, :DatasetStatus, :ErrorMsg, :CreateTime, :UpdateTime, :ExternalTaskType, :DatasetSize, :FileNum, :StorageDataPath, :StorageLabelPath, :DatasetVersions, :AnnotationStatus, :AnnotationType, :AnnotationFormat, :DatasetScope, :OcrScene, :AnnotationKeyStatus, :ContentType
1331
+ attr_accessor :DatasetId, :DatasetName, :Creator, :DatasetVersion, :DatasetType, :DatasetTags, :DatasetAnnotationTaskName, :DatasetAnnotationTaskId, :Process, :DatasetStatus, :ErrorMsg, :CreateTime, :UpdateTime, :ExternalTaskType, :DatasetSize, :FileNum, :StorageDataPath, :StorageLabelPath, :DatasetVersions, :AnnotationStatus, :AnnotationType, :AnnotationFormat, :DatasetScope, :OcrScene, :AnnotationKeyStatus, :ContentType, :DatasetScene, :CFSConfig, :SceneTags, :NumAnnotated, :AnnotationSpecification, :AnnotationSchemaConfigured
1281
1332
 
1282
- def initialize(datasetid=nil, datasetname=nil, creator=nil, datasetversion=nil, datasettype=nil, datasettags=nil, datasetannotationtaskname=nil, datasetannotationtaskid=nil, process=nil, datasetstatus=nil, errormsg=nil, createtime=nil, updatetime=nil, externaltasktype=nil, datasetsize=nil, filenum=nil, storagedatapath=nil, storagelabelpath=nil, datasetversions=nil, annotationstatus=nil, annotationtype=nil, annotationformat=nil, datasetscope=nil, ocrscene=nil, annotationkeystatus=nil, contenttype=nil)
1333
+ def initialize(datasetid=nil, datasetname=nil, creator=nil, datasetversion=nil, datasettype=nil, datasettags=nil, datasetannotationtaskname=nil, datasetannotationtaskid=nil, process=nil, datasetstatus=nil, errormsg=nil, createtime=nil, updatetime=nil, externaltasktype=nil, datasetsize=nil, filenum=nil, storagedatapath=nil, storagelabelpath=nil, datasetversions=nil, annotationstatus=nil, annotationtype=nil, annotationformat=nil, datasetscope=nil, ocrscene=nil, annotationkeystatus=nil, contenttype=nil, datasetscene=nil, cfsconfig=nil, scenetags=nil, numannotated=nil, annotationspecification=nil, annotationschemaconfigured=nil)
1283
1334
  @DatasetId = datasetid
1284
1335
  @DatasetName = datasetname
1285
1336
  @Creator = creator
@@ -1306,6 +1357,12 @@ module TencentCloud
1306
1357
  @OcrScene = ocrscene
1307
1358
  @AnnotationKeyStatus = annotationkeystatus
1308
1359
  @ContentType = contenttype
1360
+ @DatasetScene = datasetscene
1361
+ @CFSConfig = cfsconfig
1362
+ @SceneTags = scenetags
1363
+ @NumAnnotated = numannotated
1364
+ @AnnotationSpecification = annotationspecification
1365
+ @AnnotationSchemaConfigured = annotationschemaconfigured
1309
1366
  end
1310
1367
 
1311
1368
  def deserialize(params)
@@ -1355,6 +1412,15 @@ module TencentCloud
1355
1412
  @OcrScene = params['OcrScene']
1356
1413
  @AnnotationKeyStatus = params['AnnotationKeyStatus']
1357
1414
  @ContentType = params['ContentType']
1415
+ @DatasetScene = params['DatasetScene']
1416
+ unless params['CFSConfig'].nil?
1417
+ @CFSConfig = CFSConfig.new
1418
+ @CFSConfig.deserialize(params['CFSConfig'])
1419
+ end
1420
+ @SceneTags = params['SceneTags']
1421
+ @NumAnnotated = params['NumAnnotated']
1422
+ @AnnotationSpecification = params['AnnotationSpecification']
1423
+ @AnnotationSchemaConfigured = params['AnnotationSchemaConfigured']
1358
1424
  end
1359
1425
  end
1360
1426
 
@@ -1432,10 +1498,31 @@ module TencentCloud
1432
1498
  # @param AnnotationKeyStatus: 数据集字典修改状态
1433
1499
  # 注意:此字段可能返回 null,表示取不到有效值。
1434
1500
  # @type AnnotationKeyStatus: String
1501
+ # @param ContentType: 内容类型
1502
+ # 注意:此字段可能返回 null,表示取不到有效值。
1503
+ # @type ContentType: String
1504
+ # @param DatasetScene: 数据集建模类别。
1505
+ # 注意:此字段可能返回 null,表示取不到有效值。
1506
+ # @type DatasetScene: String
1507
+ # @param CFSConfig: CFS配置
1508
+ # 注意:此字段可能返回 null,表示取不到有效值。
1509
+ # @type CFSConfig: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
1510
+ # @param SceneTags: 数据集标签
1511
+ # 注意:此字段可能返回 null,表示取不到有效值。
1512
+ # @type SceneTags: Array
1513
+ # @param NumAnnotated: 已标注数量
1514
+ # 注意:此字段可能返回 null,表示取不到有效值。
1515
+ # @type NumAnnotated: Integer
1516
+ # @param AnnotationSpecification: 标注规范
1517
+ # 注意:此字段可能返回 null,表示取不到有效值。
1518
+ # @type AnnotationSpecification: String
1519
+ # @param AnnotationSchemaConfigured: 标注Schema是否配置
1520
+ # 注意:此字段可能返回 null,表示取不到有效值。
1521
+ # @type AnnotationSchemaConfigured: Boolean
1435
1522
 
1436
- attr_accessor :DatasetId, :DatasetName, :Creator, :DatasetVersion, :DatasetType, :DatasetTags, :DatasetAnnotationTaskName, :DatasetAnnotationTaskId, :Process, :DatasetStatus, :ErrorMsg, :CreateTime, :UpdateTime, :ExternalTaskType, :DatasetSize, :FileNum, :StorageDataPath, :StorageLabelPath, :AnnotationStatus, :AnnotationType, :AnnotationFormat, :DatasetScope, :OcrScene, :AnnotationKeyStatus
1523
+ attr_accessor :DatasetId, :DatasetName, :Creator, :DatasetVersion, :DatasetType, :DatasetTags, :DatasetAnnotationTaskName, :DatasetAnnotationTaskId, :Process, :DatasetStatus, :ErrorMsg, :CreateTime, :UpdateTime, :ExternalTaskType, :DatasetSize, :FileNum, :StorageDataPath, :StorageLabelPath, :AnnotationStatus, :AnnotationType, :AnnotationFormat, :DatasetScope, :OcrScene, :AnnotationKeyStatus, :ContentType, :DatasetScene, :CFSConfig, :SceneTags, :NumAnnotated, :AnnotationSpecification, :AnnotationSchemaConfigured
1437
1524
 
1438
- def initialize(datasetid=nil, datasetname=nil, creator=nil, datasetversion=nil, datasettype=nil, datasettags=nil, datasetannotationtaskname=nil, datasetannotationtaskid=nil, process=nil, datasetstatus=nil, errormsg=nil, createtime=nil, updatetime=nil, externaltasktype=nil, datasetsize=nil, filenum=nil, storagedatapath=nil, storagelabelpath=nil, annotationstatus=nil, annotationtype=nil, annotationformat=nil, datasetscope=nil, ocrscene=nil, annotationkeystatus=nil)
1525
+ def initialize(datasetid=nil, datasetname=nil, creator=nil, datasetversion=nil, datasettype=nil, datasettags=nil, datasetannotationtaskname=nil, datasetannotationtaskid=nil, process=nil, datasetstatus=nil, errormsg=nil, createtime=nil, updatetime=nil, externaltasktype=nil, datasetsize=nil, filenum=nil, storagedatapath=nil, storagelabelpath=nil, annotationstatus=nil, annotationtype=nil, annotationformat=nil, datasetscope=nil, ocrscene=nil, annotationkeystatus=nil, contenttype=nil, datasetscene=nil, cfsconfig=nil, scenetags=nil, numannotated=nil, annotationspecification=nil, annotationschemaconfigured=nil)
1439
1526
  @DatasetId = datasetid
1440
1527
  @DatasetName = datasetname
1441
1528
  @Creator = creator
@@ -1460,6 +1547,13 @@ module TencentCloud
1460
1547
  @DatasetScope = datasetscope
1461
1548
  @OcrScene = ocrscene
1462
1549
  @AnnotationKeyStatus = annotationkeystatus
1550
+ @ContentType = contenttype
1551
+ @DatasetScene = datasetscene
1552
+ @CFSConfig = cfsconfig
1553
+ @SceneTags = scenetags
1554
+ @NumAnnotated = numannotated
1555
+ @AnnotationSpecification = annotationspecification
1556
+ @AnnotationSchemaConfigured = annotationschemaconfigured
1463
1557
  end
1464
1558
 
1465
1559
  def deserialize(params)
@@ -1500,6 +1594,16 @@ module TencentCloud
1500
1594
  @DatasetScope = params['DatasetScope']
1501
1595
  @OcrScene = params['OcrScene']
1502
1596
  @AnnotationKeyStatus = params['AnnotationKeyStatus']
1597
+ @ContentType = params['ContentType']
1598
+ @DatasetScene = params['DatasetScene']
1599
+ unless params['CFSConfig'].nil?
1600
+ @CFSConfig = CFSConfig.new
1601
+ @CFSConfig.deserialize(params['CFSConfig'])
1602
+ end
1603
+ @SceneTags = params['SceneTags']
1604
+ @NumAnnotated = params['NumAnnotated']
1605
+ @AnnotationSpecification = params['AnnotationSpecification']
1606
+ @AnnotationSchemaConfigured = params['AnnotationSchemaConfigured']
1503
1607
  end
1504
1608
  end
1505
1609
 
@@ -1850,10 +1954,7 @@ module TencentCloud
1850
1954
  # 枚举值:
1851
1955
  # 空: 通用, TRAIN: 训练, INFERENCE: 推理
1852
1956
  # @type Type: String
1853
- # @param Filters: Filter.Name: 枚举值: ResourceGroupId (资源组id列表)
1854
- # ResourceGroupName (资源组名称列表)
1855
- # Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询
1856
- # 每次请求的Filters的上限为5,Filter.Values的上限为100
1957
+ # @param Filters: Filter.Name: 枚举值: ResourceGroupId (资源组id列表) ResourceGroupName (资源组名称列表) AvailableNodeCount(资源组中可用节点数量)Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询每次请求的Filters的上限为5,Filter.Values的上限为100
1857
1958
  # @type Filters: Array
1858
1959
  # @param TagFilters: 标签过滤
1859
1960
  # @type TagFilters: Array
@@ -1985,6 +2086,107 @@ module TencentCloud
1985
2086
  end
1986
2087
  end
1987
2088
 
2089
+ # DescribeBillingSpecsPrice请求参数结构体
2090
+ class DescribeBillingSpecsPriceRequest < TencentCloud::Common::AbstractModel
2091
+ # @param SpecsParam: 询价参数,支持批量询价
2092
+ # @type SpecsParam: Array
2093
+
2094
+ attr_accessor :SpecsParam
2095
+
2096
+ def initialize(specsparam=nil)
2097
+ @SpecsParam = specsparam
2098
+ end
2099
+
2100
+ def deserialize(params)
2101
+ unless params['SpecsParam'].nil?
2102
+ @SpecsParam = []
2103
+ params['SpecsParam'].each do |i|
2104
+ specunit_tmp = SpecUnit.new
2105
+ specunit_tmp.deserialize(i)
2106
+ @SpecsParam << specunit_tmp
2107
+ end
2108
+ end
2109
+ end
2110
+ end
2111
+
2112
+ # DescribeBillingSpecsPrice返回参数结构体
2113
+ class DescribeBillingSpecsPriceResponse < TencentCloud::Common::AbstractModel
2114
+ # @param SpecsPrice: 计费项价格,支持批量返回
2115
+ # @type SpecsPrice: Array
2116
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2117
+ # @type RequestId: String
2118
+
2119
+ attr_accessor :SpecsPrice, :RequestId
2120
+
2121
+ def initialize(specsprice=nil, requestid=nil)
2122
+ @SpecsPrice = specsprice
2123
+ @RequestId = requestid
2124
+ end
2125
+
2126
+ def deserialize(params)
2127
+ unless params['SpecsPrice'].nil?
2128
+ @SpecsPrice = []
2129
+ params['SpecsPrice'].each do |i|
2130
+ specprice_tmp = SpecPrice.new
2131
+ specprice_tmp.deserialize(i)
2132
+ @SpecsPrice << specprice_tmp
2133
+ end
2134
+ end
2135
+ @RequestId = params['RequestId']
2136
+ end
2137
+ end
2138
+
2139
+ # DescribeBillingSpecs请求参数结构体
2140
+ class DescribeBillingSpecsRequest < TencentCloud::Common::AbstractModel
2141
+ # @param ChargeType: 付费模式:POSTPAID_BY_HOUR按量计费、PREPAID包年包月
2142
+ # @type ChargeType: String
2143
+ # @param TaskType: 枚举值:空、TRAIN、NOTEBOOK、INFERENCE或EMS
2144
+ # @type TaskType: String
2145
+ # @param ResourceType: 资源类型:["", "CALC", "CPU", "GPU", "GPU-SW"]
2146
+ # @type ResourceType: String
2147
+
2148
+ attr_accessor :ChargeType, :TaskType, :ResourceType
2149
+
2150
+ def initialize(chargetype=nil, tasktype=nil, resourcetype=nil)
2151
+ @ChargeType = chargetype
2152
+ @TaskType = tasktype
2153
+ @ResourceType = resourcetype
2154
+ end
2155
+
2156
+ def deserialize(params)
2157
+ @ChargeType = params['ChargeType']
2158
+ @TaskType = params['TaskType']
2159
+ @ResourceType = params['ResourceType']
2160
+ end
2161
+ end
2162
+
2163
+ # DescribeBillingSpecs返回参数结构体
2164
+ class DescribeBillingSpecsResponse < TencentCloud::Common::AbstractModel
2165
+ # @param Specs: 计费项列表
2166
+ # @type Specs: Array
2167
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2168
+ # @type RequestId: String
2169
+
2170
+ attr_accessor :Specs, :RequestId
2171
+
2172
+ def initialize(specs=nil, requestid=nil)
2173
+ @Specs = specs
2174
+ @RequestId = requestid
2175
+ end
2176
+
2177
+ def deserialize(params)
2178
+ unless params['Specs'].nil?
2179
+ @Specs = []
2180
+ params['Specs'].each do |i|
2181
+ spec_tmp = Spec.new
2182
+ spec_tmp.deserialize(i)
2183
+ @Specs << spec_tmp
2184
+ end
2185
+ end
2186
+ @RequestId = params['RequestId']
2187
+ end
2188
+ end
2189
+
1988
2190
  # DescribeBuildInImages请求参数结构体
1989
2191
  class DescribeBuildInImagesRequest < TencentCloud::Common::AbstractModel
1990
2192
  # @param ImageFilters: 镜像过滤器
@@ -2053,10 +2255,14 @@ module TencentCloud
2053
2255
  # @type Offset: Integer
2054
2256
  # @param Limit: 返回数据个数,默认20,最大支持200
2055
2257
  # @type Limit: Integer
2258
+ # @param CFSChecking: 是否检查CFS。若开启,则在CFS挂载好之前,不会返回数据集列表。
2259
+ # @type CFSChecking: Boolean
2260
+ # @param CFSDetail: 是否返回CFS详情。
2261
+ # @type CFSDetail: Boolean
2056
2262
 
2057
- attr_accessor :DatasetIds, :Filters, :TagFilters, :Order, :OrderField, :Offset, :Limit
2263
+ attr_accessor :DatasetIds, :Filters, :TagFilters, :Order, :OrderField, :Offset, :Limit, :CFSChecking, :CFSDetail
2058
2264
 
2059
- def initialize(datasetids=nil, filters=nil, tagfilters=nil, order=nil, orderfield=nil, offset=nil, limit=nil)
2265
+ def initialize(datasetids=nil, filters=nil, tagfilters=nil, order=nil, orderfield=nil, offset=nil, limit=nil, cfschecking=nil, cfsdetail=nil)
2060
2266
  @DatasetIds = datasetids
2061
2267
  @Filters = filters
2062
2268
  @TagFilters = tagfilters
@@ -2064,6 +2270,8 @@ module TencentCloud
2064
2270
  @OrderField = orderfield
2065
2271
  @Offset = offset
2066
2272
  @Limit = limit
2273
+ @CFSChecking = cfschecking
2274
+ @CFSDetail = cfsdetail
2067
2275
  end
2068
2276
 
2069
2277
  def deserialize(params)
@@ -2088,6 +2296,8 @@ module TencentCloud
2088
2296
  @OrderField = params['OrderField']
2089
2297
  @Offset = params['Offset']
2090
2298
  @Limit = params['Limit']
2299
+ @CFSChecking = params['CFSChecking']
2300
+ @CFSDetail = params['CFSDetail']
2091
2301
  end
2092
2302
  end
2093
2303
 
@@ -2102,15 +2312,18 @@ module TencentCloud
2102
2312
  # @param DatasetIdNums: 数据集ID总量
2103
2313
  # 注意:此字段可能返回 null,表示取不到有效值。
2104
2314
  # @type DatasetIdNums: Integer
2315
+ # @param CFSNotReady: 若开启了CFSChecking,则检查CFS是否准备完毕。若CFS未准备完毕,则返回true,并且TotalCount为0,DatasetGroups为空。
2316
+ # @type CFSNotReady: Boolean
2105
2317
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2106
2318
  # @type RequestId: String
2107
2319
 
2108
- attr_accessor :TotalCount, :DatasetGroups, :DatasetIdNums, :RequestId
2320
+ attr_accessor :TotalCount, :DatasetGroups, :DatasetIdNums, :CFSNotReady, :RequestId
2109
2321
 
2110
- def initialize(totalcount=nil, datasetgroups=nil, datasetidnums=nil, requestid=nil)
2322
+ def initialize(totalcount=nil, datasetgroups=nil, datasetidnums=nil, cfsnotready=nil, requestid=nil)
2111
2323
  @TotalCount = totalcount
2112
2324
  @DatasetGroups = datasetgroups
2113
2325
  @DatasetIdNums = datasetidnums
2326
+ @CFSNotReady = cfsnotready
2114
2327
  @RequestId = requestid
2115
2328
  end
2116
2329
 
@@ -2125,6 +2338,7 @@ module TencentCloud
2125
2338
  end
2126
2339
  end
2127
2340
  @DatasetIdNums = params['DatasetIdNums']
2341
+ @CFSNotReady = params['CFSNotReady']
2128
2342
  @RequestId = params['RequestId']
2129
2343
  end
2130
2344
  end
@@ -2718,10 +2932,8 @@ module TencentCloud
2718
2932
  # DescribeNotebooks返回参数结构体
2719
2933
  class DescribeNotebooksResponse < TencentCloud::Common::AbstractModel
2720
2934
  # @param NotebookSet: 详情
2721
- # 注意:此字段可能返回 null,表示取不到有效值。
2722
2935
  # @type NotebookSet: Array
2723
2936
  # @param TotalCount: 总条数
2724
- # 注意:此字段可能返回 null,表示取不到有效值。
2725
2937
  # @type TotalCount: Integer
2726
2938
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2727
2939
  # @type RequestId: String
@@ -3328,13 +3540,10 @@ module TencentCloud
3328
3540
  # @param SupportDataPipeline: 是否支持数据构建
3329
3541
  # 注意:此字段可能返回 null,表示取不到有效值。
3330
3542
  # @type SupportDataPipeline: Boolean
3331
- # @param ImageSecret: 镜像仓库用户名密码信息(仅当ImageType为CUSTOM第三方镜像的时候需要)
3332
- # 注意:此字段可能返回 null,表示取不到有效值。
3333
- # @type ImageSecret: :class:`Tencentcloud::Tione.v20211111.models.ImageSecret`
3334
3543
 
3335
- attr_accessor :ImageType, :ImageUrl, :RegistryRegion, :RegistryId, :AllowSaveAllContent, :ImageName, :SupportDataPipeline, :ImageSecret
3544
+ attr_accessor :ImageType, :ImageUrl, :RegistryRegion, :RegistryId, :AllowSaveAllContent, :ImageName, :SupportDataPipeline
3336
3545
 
3337
- def initialize(imagetype=nil, imageurl=nil, registryregion=nil, registryid=nil, allowsaveallcontent=nil, imagename=nil, supportdatapipeline=nil, imagesecret=nil)
3546
+ def initialize(imagetype=nil, imageurl=nil, registryregion=nil, registryid=nil, allowsaveallcontent=nil, imagename=nil, supportdatapipeline=nil)
3338
3547
  @ImageType = imagetype
3339
3548
  @ImageUrl = imageurl
3340
3549
  @RegistryRegion = registryregion
@@ -3342,7 +3551,6 @@ module TencentCloud
3342
3551
  @AllowSaveAllContent = allowsaveallcontent
3343
3552
  @ImageName = imagename
3344
3553
  @SupportDataPipeline = supportdatapipeline
3345
- @ImageSecret = imagesecret
3346
3554
  end
3347
3555
 
3348
3556
  def deserialize(params)
@@ -3353,37 +3561,22 @@ module TencentCloud
3353
3561
  @AllowSaveAllContent = params['AllowSaveAllContent']
3354
3562
  @ImageName = params['ImageName']
3355
3563
  @SupportDataPipeline = params['SupportDataPipeline']
3356
- unless params['ImageSecret'].nil?
3357
- @ImageSecret = ImageSecret.new
3358
- @ImageSecret.deserialize(params['ImageSecret'])
3359
- end
3360
3564
  end
3361
3565
  end
3362
3566
 
3363
- # 自定义镜像仓库凭据
3364
- class ImageSecret < TencentCloud::Common::AbstractModel
3365
- # @param KeyId: 用于加密密码的KMS公钥ID
3366
- # 注意:此字段可能返回 null,表示取不到有效值。
3367
- # @type KeyId: String
3368
- # @param Username: 用户名
3369
- # 注意:此字段可能返回 null,表示取不到有效值。
3370
- # @type Username: String
3371
- # @param Password: 密码,base64编码; 当keyId不为空时,密码是加密后的
3372
- # 注意:此字段可能返回 null,表示取不到有效值。
3373
- # @type Password: String
3567
+ # 多模态对话图片信息
3568
+ class ImageUrl < TencentCloud::Common::AbstractModel
3569
+ # @param Url: 图片url
3570
+ # @type Url: String
3374
3571
 
3375
- attr_accessor :KeyId, :Username, :Password
3572
+ attr_accessor :Url
3376
3573
 
3377
- def initialize(keyid=nil, username=nil, password=nil)
3378
- @KeyId = keyid
3379
- @Username = username
3380
- @Password = password
3574
+ def initialize(url=nil)
3575
+ @Url = url
3381
3576
  end
3382
3577
 
3383
3578
  def deserialize(params)
3384
- @KeyId = params['KeyId']
3385
- @Username = params['Username']
3386
- @Password = params['Password']
3579
+ @Url = params['Url']
3387
3580
  end
3388
3581
  end
3389
3582
 
@@ -3753,22 +3946,31 @@ module TencentCloud
3753
3946
  # 对话输入内容
3754
3947
  class Message < TencentCloud::Common::AbstractModel
3755
3948
  # @param Role: 角色名。支持三个角色:system、user、assistant,其中system仅开头可出现一次,也可忽略。
3756
- # 注意:此字段可能返回 null,表示取不到有效值。
3757
3949
  # @type Role: String
3758
3950
  # @param Content: 对话输入内容。
3759
- # 注意:此字段可能返回 null,表示取不到有效值。
3760
3951
  # @type Content: String
3952
+ # @param MultiModalContents: 多模态对话输入内容,Content与MultiModalContents两者只需要填写其中一个即可,当对话中包含多模态对话信息时,则填写本参数
3953
+ # @type MultiModalContents: Array
3761
3954
 
3762
- attr_accessor :Role, :Content
3955
+ attr_accessor :Role, :Content, :MultiModalContents
3763
3956
 
3764
- def initialize(role=nil, content=nil)
3957
+ def initialize(role=nil, content=nil, multimodalcontents=nil)
3765
3958
  @Role = role
3766
3959
  @Content = content
3960
+ @MultiModalContents = multimodalcontents
3767
3961
  end
3768
3962
 
3769
3963
  def deserialize(params)
3770
3964
  @Role = params['Role']
3771
3965
  @Content = params['Content']
3966
+ unless params['MultiModalContents'].nil?
3967
+ @MultiModalContents = []
3968
+ params['MultiModalContents'].each do |i|
3969
+ multimodalcontent_tmp = MultiModalContent.new
3970
+ multimodalcontent_tmp.deserialize(i)
3971
+ @MultiModalContents << multimodalcontent_tmp
3972
+ end
3973
+ end
3772
3974
  end
3773
3975
  end
3774
3976
 
@@ -3914,10 +4116,19 @@ module TencentCloud
3914
4116
  # @param FrameworkVersion: 加速引擎对应的框架版本
3915
4117
  # 注意:此字段可能返回 null,表示取不到有效值。
3916
4118
  # @type FrameworkVersion: String
4119
+ # @param ModelVersionId: 模型版本ID
4120
+ # 注意:此字段可能返回 null,表示取不到有效值。
4121
+ # @type ModelVersionId: String
4122
+ # @param ResourceGroupId: 资源组id
4123
+ # 注意:此字段可能返回 null,表示取不到有效值。
4124
+ # @type ResourceGroupId: String
4125
+ # @param ResourceGroupName: 资源组名称
4126
+ # 注意:此字段可能返回 null,表示取不到有效值。
4127
+ # @type ResourceGroupName: String
3917
4128
 
3918
- attr_accessor :ModelAccTaskId, :ModelAccTaskName, :ModelId, :ModelName, :ModelVersion, :ModelSource, :OptimizationLevel, :TaskStatus, :ModelInputNum, :ModelInputInfos, :GPUType, :ChargeType, :Speedup, :ModelInputPath, :ModelOutputPath, :ErrorMsg, :AlgorithmFramework, :WaitNumber, :CreateTime, :TaskProgress, :ModelFormat, :TensorInfos, :HyperParameter, :AccEngineVersion, :Tags, :IsSaved, :ModelSignature, :QATModel, :FrameworkVersion
4129
+ attr_accessor :ModelAccTaskId, :ModelAccTaskName, :ModelId, :ModelName, :ModelVersion, :ModelSource, :OptimizationLevel, :TaskStatus, :ModelInputNum, :ModelInputInfos, :GPUType, :ChargeType, :Speedup, :ModelInputPath, :ModelOutputPath, :ErrorMsg, :AlgorithmFramework, :WaitNumber, :CreateTime, :TaskProgress, :ModelFormat, :TensorInfos, :HyperParameter, :AccEngineVersion, :Tags, :IsSaved, :ModelSignature, :QATModel, :FrameworkVersion, :ModelVersionId, :ResourceGroupId, :ResourceGroupName
3919
4130
 
3920
- def initialize(modelacctaskid=nil, modelacctaskname=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, optimizationlevel=nil, taskstatus=nil, modelinputnum=nil, modelinputinfos=nil, gputype=nil, chargetype=nil, speedup=nil, modelinputpath=nil, modeloutputpath=nil, errormsg=nil, algorithmframework=nil, waitnumber=nil, createtime=nil, taskprogress=nil, modelformat=nil, tensorinfos=nil, hyperparameter=nil, accengineversion=nil, tags=nil, issaved=nil, modelsignature=nil, qatmodel=nil, frameworkversion=nil)
4131
+ def initialize(modelacctaskid=nil, modelacctaskname=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, optimizationlevel=nil, taskstatus=nil, modelinputnum=nil, modelinputinfos=nil, gputype=nil, chargetype=nil, speedup=nil, modelinputpath=nil, modeloutputpath=nil, errormsg=nil, algorithmframework=nil, waitnumber=nil, createtime=nil, taskprogress=nil, modelformat=nil, tensorinfos=nil, hyperparameter=nil, accengineversion=nil, tags=nil, issaved=nil, modelsignature=nil, qatmodel=nil, frameworkversion=nil, modelversionid=nil, resourcegroupid=nil, resourcegroupname=nil)
3921
4132
  @ModelAccTaskId = modelacctaskid
3922
4133
  @ModelAccTaskName = modelacctaskname
3923
4134
  @ModelId = modelid
@@ -3947,6 +4158,9 @@ module TencentCloud
3947
4158
  @ModelSignature = modelsignature
3948
4159
  @QATModel = qatmodel
3949
4160
  @FrameworkVersion = frameworkversion
4161
+ @ModelVersionId = modelversionid
4162
+ @ResourceGroupId = resourcegroupid
4163
+ @ResourceGroupName = resourcegroupname
3950
4164
  end
3951
4165
 
3952
4166
  def deserialize(params)
@@ -4002,6 +4216,9 @@ module TencentCloud
4002
4216
  @ModelSignature = params['ModelSignature']
4003
4217
  @QATModel = params['QATModel']
4004
4218
  @FrameworkVersion = params['FrameworkVersion']
4219
+ @ModelVersionId = params['ModelVersionId']
4220
+ @ResourceGroupId = params['ResourceGroupId']
4221
+ @ResourceGroupName = params['ResourceGroupName']
4005
4222
  end
4006
4223
  end
4007
4224
 
@@ -4128,10 +4345,12 @@ module TencentCloud
4128
4345
  # @param IsPrivateModel: 是否为私有化大模型
4129
4346
  # 注意:此字段可能返回 null,表示取不到有效值。
4130
4347
  # @type IsPrivateModel: Boolean
4348
+ # @param ModelCategory: 模型的类别 多模态MultiModal, 文本大模型 LLM
4349
+ # @type ModelCategory: String
4131
4350
 
4132
- attr_accessor :ModelVersionId, :ModelId, :ModelName, :ModelVersion, :ModelSource, :CosPathInfo, :AlgorithmFramework, :ModelType, :ModelFormat, :IsPrivateModel
4351
+ attr_accessor :ModelVersionId, :ModelId, :ModelName, :ModelVersion, :ModelSource, :CosPathInfo, :AlgorithmFramework, :ModelType, :ModelFormat, :IsPrivateModel, :ModelCategory
4133
4352
 
4134
- def initialize(modelversionid=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, cospathinfo=nil, algorithmframework=nil, modeltype=nil, modelformat=nil, isprivatemodel=nil)
4353
+ def initialize(modelversionid=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, cospathinfo=nil, algorithmframework=nil, modeltype=nil, modelformat=nil, isprivatemodel=nil, modelcategory=nil)
4135
4354
  @ModelVersionId = modelversionid
4136
4355
  @ModelId = modelid
4137
4356
  @ModelName = modelname
@@ -4142,6 +4361,7 @@ module TencentCloud
4142
4361
  @ModelType = modeltype
4143
4362
  @ModelFormat = modelformat
4144
4363
  @IsPrivateModel = isprivatemodel
4364
+ @ModelCategory = modelcategory
4145
4365
  end
4146
4366
 
4147
4367
  def deserialize(params)
@@ -4158,6 +4378,7 @@ module TencentCloud
4158
4378
  @ModelType = params['ModelType']
4159
4379
  @ModelFormat = params['ModelFormat']
4160
4380
  @IsPrivateModel = params['IsPrivateModel']
4381
+ @ModelCategory = params['ModelCategory']
4161
4382
  end
4162
4383
  end
4163
4384
 
@@ -4330,10 +4551,12 @@ module TencentCloud
4330
4551
  # @type CommandBase64: String
4331
4552
  # @param ServicePort: 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092
4332
4553
  # @type ServicePort: Integer
4554
+ # @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
4555
+ # @type InstancePerReplicas: Integer
4333
4556
 
4334
- attr_accessor :ServiceId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :ServiceAction, :ServiceDescription, :ScaleStrategy, :CronScaleJobs, :HybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScheduledAction, :ServiceLimit, :VolumeMount, :ModelTurboEnable, :Command, :ServiceEIP, :CommandBase64, :ServicePort
4557
+ attr_accessor :ServiceId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :ServiceAction, :ServiceDescription, :ScaleStrategy, :CronScaleJobs, :HybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScheduledAction, :ServiceLimit, :VolumeMount, :ModelTurboEnable, :Command, :ServiceEIP, :CommandBase64, :ServicePort, :InstancePerReplicas
4335
4558
 
4336
- def initialize(serviceid=nil, modelinfo=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, serviceaction=nil, servicedescription=nil, scalestrategy=nil, cronscalejobs=nil, hybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, scheduledaction=nil, servicelimit=nil, volumemount=nil, modelturboenable=nil, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil)
4559
+ def initialize(serviceid=nil, modelinfo=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, serviceaction=nil, servicedescription=nil, scalestrategy=nil, cronscalejobs=nil, hybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, scheduledaction=nil, servicelimit=nil, volumemount=nil, modelturboenable=nil, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil, instanceperreplicas=nil)
4337
4560
  @ServiceId = serviceid
4338
4561
  @ModelInfo = modelinfo
4339
4562
  @ImageInfo = imageinfo
@@ -4359,6 +4582,7 @@ module TencentCloud
4359
4582
  @ServiceEIP = serviceeip
4360
4583
  @CommandBase64 = commandbase64
4361
4584
  @ServicePort = serviceport
4585
+ @InstancePerReplicas = instanceperreplicas
4362
4586
  end
4363
4587
 
4364
4588
  def deserialize(params)
@@ -4428,6 +4652,7 @@ module TencentCloud
4428
4652
  end
4429
4653
  @CommandBase64 = params['CommandBase64']
4430
4654
  @ServicePort = params['ServicePort']
4655
+ @InstancePerReplicas = params['InstancePerReplicas']
4431
4656
  end
4432
4657
  end
4433
4658
 
@@ -4455,6 +4680,33 @@ module TencentCloud
4455
4680
  end
4456
4681
  end
4457
4682
 
4683
+ # 多模态对话内容,支持图片与文字信息
4684
+ class MultiModalContent < TencentCloud::Common::AbstractModel
4685
+ # @param Type: 对话类型,text表示文本对话内容,image_url表示图片对话内容
4686
+ # @type Type: String
4687
+ # @param Text: 文本对话内容,当Type为text时需要填写该值
4688
+ # @type Text: String
4689
+ # @param ImageUrl: 图片对话内容,当Type为image_url时需要填写该值
4690
+ # @type ImageUrl: :class:`Tencentcloud::Tione.v20211111.models.ImageUrl`
4691
+
4692
+ attr_accessor :Type, :Text, :ImageUrl
4693
+
4694
+ def initialize(type=nil, text=nil, imageurl=nil)
4695
+ @Type = type
4696
+ @Text = text
4697
+ @ImageUrl = imageurl
4698
+ end
4699
+
4700
+ def deserialize(params)
4701
+ @Type = params['Type']
4702
+ @Text = params['Text']
4703
+ unless params['ImageUrl'].nil?
4704
+ @ImageUrl = ImageUrl.new
4705
+ @ImageUrl.deserialize(params['ImageUrl'])
4706
+ end
4707
+ end
4708
+ end
4709
+
4458
4710
  # 类型NotebookDetail
4459
4711
  class NotebookDetail < TencentCloud::Common::AbstractModel
4460
4712
  # @param Id: notebook ID
@@ -4566,10 +4818,18 @@ module TencentCloud
4566
4818
  # @param VolumeSourceGooseFS: GooseFS存储配置
4567
4819
  # 注意:此字段可能返回 null,表示取不到有效值。
4568
4820
  # @type VolumeSourceGooseFS: :class:`Tencentcloud::Tione.v20211111.models.GooseFS`
4821
+ # @param SubUin: 子用户ID
4822
+ # @type SubUin: String
4823
+ # @param ResourceGroupInstanceId: 调度节点ID
4824
+ # @type ResourceGroupInstanceId: String
4825
+ # @param SubUinName: 子用户名称
4826
+ # @type SubUinName: String
4827
+ # @param JobCreateTime: 任务实例创建时间
4828
+ # @type JobCreateTime: String
4569
4829
 
4570
- attr_accessor :Id, :Name, :LifecycleScriptId, :PodName, :UpdateTime, :DirectInternetAccess, :ResourceGroupId, :Tags, :AutoStopping, :AdditionalCodeRepoIds, :AutomaticStopTime, :ResourceConf, :DefaultCodeRepoId, :EndTime, :LogEnable, :LogConfig, :VpcId, :SubnetId, :Status, :RuntimeInSeconds, :CreateTime, :StartTime, :ChargeStatus, :RootAccess, :BillingInfos, :VolumeSizeInGB, :FailureReason, :ChargeType, :InstanceTypeAlias, :ResourceGroupName, :VolumeSourceType, :VolumeSourceCFS, :DataConfigs, :Message, :DataSource, :ImageInfo, :ImageType, :SSHConfig, :VolumeSourceGooseFS
4830
+ attr_accessor :Id, :Name, :LifecycleScriptId, :PodName, :UpdateTime, :DirectInternetAccess, :ResourceGroupId, :Tags, :AutoStopping, :AdditionalCodeRepoIds, :AutomaticStopTime, :ResourceConf, :DefaultCodeRepoId, :EndTime, :LogEnable, :LogConfig, :VpcId, :SubnetId, :Status, :RuntimeInSeconds, :CreateTime, :StartTime, :ChargeStatus, :RootAccess, :BillingInfos, :VolumeSizeInGB, :FailureReason, :ChargeType, :InstanceTypeAlias, :ResourceGroupName, :VolumeSourceType, :VolumeSourceCFS, :DataConfigs, :Message, :DataSource, :ImageInfo, :ImageType, :SSHConfig, :VolumeSourceGooseFS, :SubUin, :ResourceGroupInstanceId, :SubUinName, :JobCreateTime
4571
4831
 
4572
- def initialize(id=nil, name=nil, lifecyclescriptid=nil, podname=nil, updatetime=nil, directinternetaccess=nil, resourcegroupid=nil, tags=nil, autostopping=nil, additionalcoderepoids=nil, automaticstoptime=nil, resourceconf=nil, defaultcoderepoid=nil, endtime=nil, logenable=nil, logconfig=nil, vpcid=nil, subnetid=nil, status=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, chargestatus=nil, rootaccess=nil, billinginfos=nil, volumesizeingb=nil, failurereason=nil, chargetype=nil, instancetypealias=nil, resourcegroupname=nil, volumesourcetype=nil, volumesourcecfs=nil, dataconfigs=nil, message=nil, datasource=nil, imageinfo=nil, imagetype=nil, sshconfig=nil, volumesourcegoosefs=nil)
4832
+ def initialize(id=nil, name=nil, lifecyclescriptid=nil, podname=nil, updatetime=nil, directinternetaccess=nil, resourcegroupid=nil, tags=nil, autostopping=nil, additionalcoderepoids=nil, automaticstoptime=nil, resourceconf=nil, defaultcoderepoid=nil, endtime=nil, logenable=nil, logconfig=nil, vpcid=nil, subnetid=nil, status=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, chargestatus=nil, rootaccess=nil, billinginfos=nil, volumesizeingb=nil, failurereason=nil, chargetype=nil, instancetypealias=nil, resourcegroupname=nil, volumesourcetype=nil, volumesourcecfs=nil, dataconfigs=nil, message=nil, datasource=nil, imageinfo=nil, imagetype=nil, sshconfig=nil, volumesourcegoosefs=nil, subuin=nil, resourcegroupinstanceid=nil, subuinname=nil, jobcreatetime=nil)
4573
4833
  @Id = id
4574
4834
  @Name = name
4575
4835
  @LifecycleScriptId = lifecyclescriptid
@@ -4609,6 +4869,10 @@ module TencentCloud
4609
4869
  @ImageType = imagetype
4610
4870
  @SSHConfig = sshconfig
4611
4871
  @VolumeSourceGooseFS = volumesourcegoosefs
4872
+ @SubUin = subuin
4873
+ @ResourceGroupInstanceId = resourcegroupinstanceid
4874
+ @SubUinName = subuinname
4875
+ @JobCreateTime = jobcreatetime
4612
4876
  end
4613
4877
 
4614
4878
  def deserialize(params)
@@ -4683,6 +4947,10 @@ module TencentCloud
4683
4947
  @VolumeSourceGooseFS = GooseFS.new
4684
4948
  @VolumeSourceGooseFS.deserialize(params['VolumeSourceGooseFS'])
4685
4949
  end
4950
+ @SubUin = params['SubUin']
4951
+ @ResourceGroupInstanceId = params['ResourceGroupInstanceId']
4952
+ @SubUinName = params['SubUinName']
4953
+ @JobCreateTime = params['JobCreateTime']
4686
4954
  end
4687
4955
  end
4688
4956
 
@@ -4765,10 +5033,12 @@ module TencentCloud
4765
5033
  # @param VolumeSourceGooseFS: GooseFS存储配置
4766
5034
  # 注意:此字段可能返回 null,表示取不到有效值。
4767
5035
  # @type VolumeSourceGooseFS: :class:`Tencentcloud::Tione.v20211111.models.GooseFS`
5036
+ # @param SubUinName: 子用户名称
5037
+ # @type SubUinName: String
4768
5038
 
4769
- attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :ResourceGroupId, :VolumeSizeInGB, :BillingInfos, :Tags, :CreateTime, :StartTime, :UpdateTime, :RuntimeInSeconds, :ChargeStatus, :Status, :FailureReason, :EndTime, :PodName, :InstanceTypeAlias, :ResourceGroupName, :AutoStopping, :AutomaticStopTime, :VolumeSourceType, :VolumeSourceCFS, :Message, :UserTypes, :SSHConfig, :VolumeSourceGooseFS
5039
+ attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :ResourceGroupId, :VolumeSizeInGB, :BillingInfos, :Tags, :CreateTime, :StartTime, :UpdateTime, :RuntimeInSeconds, :ChargeStatus, :Status, :FailureReason, :EndTime, :PodName, :InstanceTypeAlias, :ResourceGroupName, :AutoStopping, :AutomaticStopTime, :VolumeSourceType, :VolumeSourceCFS, :Message, :UserTypes, :SSHConfig, :VolumeSourceGooseFS, :SubUinName
4770
5040
 
4771
- def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, resourcegroupid=nil, volumesizeingb=nil, billinginfos=nil, tags=nil, createtime=nil, starttime=nil, updatetime=nil, runtimeinseconds=nil, chargestatus=nil, status=nil, failurereason=nil, endtime=nil, podname=nil, instancetypealias=nil, resourcegroupname=nil, autostopping=nil, automaticstoptime=nil, volumesourcetype=nil, volumesourcecfs=nil, message=nil, usertypes=nil, sshconfig=nil, volumesourcegoosefs=nil)
5041
+ def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, resourcegroupid=nil, volumesizeingb=nil, billinginfos=nil, tags=nil, createtime=nil, starttime=nil, updatetime=nil, runtimeinseconds=nil, chargestatus=nil, status=nil, failurereason=nil, endtime=nil, podname=nil, instancetypealias=nil, resourcegroupname=nil, autostopping=nil, automaticstoptime=nil, volumesourcetype=nil, volumesourcecfs=nil, message=nil, usertypes=nil, sshconfig=nil, volumesourcegoosefs=nil, subuinname=nil)
4772
5042
  @Id = id
4773
5043
  @Name = name
4774
5044
  @ChargeType = chargetype
@@ -4796,6 +5066,7 @@ module TencentCloud
4796
5066
  @UserTypes = usertypes
4797
5067
  @SSHConfig = sshconfig
4798
5068
  @VolumeSourceGooseFS = volumesourcegoosefs
5069
+ @SubUinName = subuinname
4799
5070
  end
4800
5071
 
4801
5072
  def deserialize(params)
@@ -4845,6 +5116,7 @@ module TencentCloud
4845
5116
  @VolumeSourceGooseFS = GooseFS.new
4846
5117
  @VolumeSourceGooseFS.deserialize(params['VolumeSourceGooseFS'])
4847
5118
  end
5119
+ @SubUinName = params['SubUinName']
4848
5120
  end
4849
5121
  end
4850
5122
 
@@ -5381,14 +5653,18 @@ module TencentCloud
5381
5653
  # @param LoginCommand: 登录命令
5382
5654
  # 注意:此字段可能返回 null,表示取不到有效值。
5383
5655
  # @type LoginCommand: String
5656
+ # @param IsAddressChanged: 登录地址是否改变
5657
+ # 注意:此字段可能返回 null,表示取不到有效值。
5658
+ # @type IsAddressChanged: Boolean
5384
5659
 
5385
- attr_accessor :Enable, :PublicKey, :Port, :LoginCommand
5660
+ attr_accessor :Enable, :PublicKey, :Port, :LoginCommand, :IsAddressChanged
5386
5661
 
5387
- def initialize(enable=nil, publickey=nil, port=nil, logincommand=nil)
5662
+ def initialize(enable=nil, publickey=nil, port=nil, logincommand=nil, isaddresschanged=nil)
5388
5663
  @Enable = enable
5389
5664
  @PublicKey = publickey
5390
5665
  @Port = port
5391
5666
  @LoginCommand = logincommand
5667
+ @IsAddressChanged = isaddresschanged
5392
5668
  end
5393
5669
 
5394
5670
  def deserialize(params)
@@ -5396,6 +5672,7 @@ module TencentCloud
5396
5672
  @PublicKey = params['PublicKey']
5397
5673
  @Port = params['Port']
5398
5674
  @LoginCommand = params['LoginCommand']
5675
+ @IsAddressChanged = params['IsAddressChanged']
5399
5676
  end
5400
5677
  end
5401
5678
 
@@ -5439,69 +5716,6 @@ module TencentCloud
5439
5716
  end
5440
5717
  end
5441
5718
 
5442
- # SendChatMessage请求参数结构体
5443
- class SendChatMessageRequest < TencentCloud::Common::AbstractModel
5444
- # @param SessionId: 会话id,标识一组对话的唯一id,id变更则重置会话
5445
- # @type SessionId: String
5446
- # @param Question: 问题描述
5447
- # @type Question: String
5448
- # @param ModelVersion: 会话模型版本。
5449
- # 金融大模型:填写sn-finllm-13b-chat-v1。
5450
- # 默认为sn-finllm-13b-chat-v1,即金融大模型。
5451
- # @type ModelVersion: String
5452
- # @param Mode: 使用模式。
5453
- # 通用问答:填写General。
5454
- # 搜索增强问答:填写WithSearchPlugin。
5455
- # 默认为General,即通用问答。
5456
- # 当前可体验模型仅支持General。
5457
- # @type Mode: String
5458
- # @param SearchSource: 搜索来源。仅当Mode为WithSearchPlugin时生效。
5459
- # 预置文稿库:填写Preset。自定义:填写Custom。
5460
- # @type SearchSource: String
5461
-
5462
- attr_accessor :SessionId, :Question, :ModelVersion, :Mode, :SearchSource
5463
-
5464
- def initialize(sessionid=nil, question=nil, modelversion=nil, mode=nil, searchsource=nil)
5465
- @SessionId = sessionid
5466
- @Question = question
5467
- @ModelVersion = modelversion
5468
- @Mode = mode
5469
- @SearchSource = searchsource
5470
- end
5471
-
5472
- def deserialize(params)
5473
- @SessionId = params['SessionId']
5474
- @Question = params['Question']
5475
- @ModelVersion = params['ModelVersion']
5476
- @Mode = params['Mode']
5477
- @SearchSource = params['SearchSource']
5478
- end
5479
- end
5480
-
5481
- # SendChatMessage返回参数结构体
5482
- class SendChatMessageResponse < TencentCloud::Common::AbstractModel
5483
- # @param Answer: 答案
5484
- # @type Answer: String
5485
- # @param SessionId: 会话id,返回请求的会话id
5486
- # @type SessionId: String
5487
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5488
- # @type RequestId: String
5489
-
5490
- attr_accessor :Answer, :SessionId, :RequestId
5491
-
5492
- def initialize(answer=nil, sessionid=nil, requestid=nil)
5493
- @Answer = answer
5494
- @SessionId = sessionid
5495
- @RequestId = requestid
5496
- end
5497
-
5498
- def deserialize(params)
5499
- @Answer = params['Answer']
5500
- @SessionId = params['SessionId']
5501
- @RequestId = params['RequestId']
5502
- end
5503
- end
5504
-
5505
5719
  # 描述在线服务
5506
5720
  class Service < TencentCloud::Common::AbstractModel
5507
5721
  # @param ServiceGroupId: 服务组id
@@ -5601,15 +5815,24 @@ module TencentCloud
5601
5815
  # @param ResourceGroupSWType: 资源组类别 托管 NORMAL,纳管 SW
5602
5816
  # 注意:此字段可能返回 null,表示取不到有效值。
5603
5817
  # @type ResourceGroupSWType: String
5818
+ # @param ArchiveStatus: 服务的归档状态 Waiting 等待归档中,Archived 已归档
5819
+ # 注意:此字段可能返回 null,表示取不到有效值。
5820
+ # @type ArchiveStatus: String
5821
+ # @param DeployType: 服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
5822
+ # 注意:此字段可能返回 null,表示取不到有效值。
5823
+ # @type DeployType: String
5824
+ # @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
5825
+ # 注意:此字段可能返回 null,表示取不到有效值。
5826
+ # @type InstancePerReplicas: String
5604
5827
 
5605
- attr_accessor :ServiceGroupId, :ServiceId, :ServiceGroupName, :ServiceDescription, :ServiceInfo, :ClusterId, :Region, :Namespace, :ChargeType, :ResourceGroupId, :ResourceGroupName, :Tags, :IngressName, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :SubUin, :AppId, :BusinessStatus, :ServiceLimit, :ScheduledAction, :CreateFailedReason, :Status, :BillingInfo, :Weight, :CreateSource, :Version, :LatestVersion, :ResourceGroupSWType
5828
+ attr_accessor :ServiceGroupId, :ServiceId, :ServiceGroupName, :ServiceDescription, :ServiceInfo, :ClusterId, :Region, :Namespace, :ChargeType, :ResourceGroupId, :ResourceGroupName, :Tags, :IngressName, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :SubUin, :AppId, :BusinessStatus, :ServiceLimit, :ScheduledAction, :CreateFailedReason, :Status, :BillingInfo, :Weight, :CreateSource, :Version, :LatestVersion, :ResourceGroupSWType, :ArchiveStatus, :DeployType, :InstancePerReplicas
5606
5829
  extend Gem::Deprecate
5607
- deprecate :ServiceLimit, :none, 2024, 6
5608
- deprecate :ServiceLimit=, :none, 2024, 6
5609
- deprecate :ScheduledAction, :none, 2024, 6
5610
- deprecate :ScheduledAction=, :none, 2024, 6
5830
+ deprecate :ServiceLimit, :none, 2024, 12
5831
+ deprecate :ServiceLimit=, :none, 2024, 12
5832
+ deprecate :ScheduledAction, :none, 2024, 12
5833
+ deprecate :ScheduledAction=, :none, 2024, 12
5611
5834
 
5612
- def initialize(servicegroupid=nil, serviceid=nil, servicegroupname=nil, servicedescription=nil, serviceinfo=nil, clusterid=nil, region=nil, namespace=nil, chargetype=nil, resourcegroupid=nil, resourcegroupname=nil, tags=nil, ingressname=nil, createdby=nil, createtime=nil, updatetime=nil, uin=nil, subuin=nil, appid=nil, businessstatus=nil, servicelimit=nil, scheduledaction=nil, createfailedreason=nil, status=nil, billinginfo=nil, weight=nil, createsource=nil, version=nil, latestversion=nil, resourcegroupswtype=nil)
5835
+ def initialize(servicegroupid=nil, serviceid=nil, servicegroupname=nil, servicedescription=nil, serviceinfo=nil, clusterid=nil, region=nil, namespace=nil, chargetype=nil, resourcegroupid=nil, resourcegroupname=nil, tags=nil, ingressname=nil, createdby=nil, createtime=nil, updatetime=nil, uin=nil, subuin=nil, appid=nil, businessstatus=nil, servicelimit=nil, scheduledaction=nil, createfailedreason=nil, status=nil, billinginfo=nil, weight=nil, createsource=nil, version=nil, latestversion=nil, resourcegroupswtype=nil, archivestatus=nil, deploytype=nil, instanceperreplicas=nil)
5613
5836
  @ServiceGroupId = servicegroupid
5614
5837
  @ServiceId = serviceid
5615
5838
  @ServiceGroupName = servicegroupname
@@ -5640,6 +5863,9 @@ module TencentCloud
5640
5863
  @Version = version
5641
5864
  @LatestVersion = latestversion
5642
5865
  @ResourceGroupSWType = resourcegroupswtype
5866
+ @ArchiveStatus = archivestatus
5867
+ @DeployType = deploytype
5868
+ @InstancePerReplicas = instanceperreplicas
5643
5869
  end
5644
5870
 
5645
5871
  def deserialize(params)
@@ -5689,6 +5915,9 @@ module TencentCloud
5689
5915
  @Version = params['Version']
5690
5916
  @LatestVersion = params['LatestVersion']
5691
5917
  @ResourceGroupSWType = params['ResourceGroupSWType']
5918
+ @ArchiveStatus = params['ArchiveStatus']
5919
+ @DeployType = params['DeployType']
5920
+ @InstancePerReplicas = params['InstancePerReplicas']
5692
5921
  end
5693
5922
  end
5694
5923
 
@@ -6017,6 +6246,8 @@ module TencentCloud
6017
6246
  # @param ModelHotUpdateEnable: 是否开启模型的热更新。默认不开启
6018
6247
  # 注意:此字段可能返回 null,表示取不到有效值。
6019
6248
  # @type ModelHotUpdateEnable: Boolean
6249
+ # @param InstanceAlias: 服务的规格别名
6250
+ # @type InstanceAlias: String
6020
6251
  # @param ScaleMode: 实例数量调节方式,默认为手动
6021
6252
  # 支持:自动 - "AUTO", 手动 - "MANUAL"
6022
6253
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -6061,14 +6292,14 @@ module TencentCloud
6061
6292
  # 注意:此字段可能返回 null,表示取不到有效值。
6062
6293
  # @type ServicePort: Integer
6063
6294
 
6064
- attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :PodList, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable, :VolumeMount, :InferCodeInfo, :Command, :ServiceEIP, :ServicePort
6295
+ attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :InstanceAlias, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :PodList, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable, :VolumeMount, :InferCodeInfo, :Command, :ServiceEIP, :ServicePort
6065
6296
  extend Gem::Deprecate
6066
- deprecate :PodList, :none, 2024, 6
6067
- deprecate :PodList=, :none, 2024, 6
6068
- deprecate :Pods, :none, 2024, 6
6069
- deprecate :Pods=, :none, 2024, 6
6297
+ deprecate :PodList, :none, 2024, 12
6298
+ deprecate :PodList=, :none, 2024, 12
6299
+ deprecate :Pods, :none, 2024, 12
6300
+ deprecate :Pods=, :none, 2024, 12
6070
6301
 
6071
- def initialize(replicas=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, modelinfo=nil, logenable=nil, logconfig=nil, authorizationenable=nil, horizontalpodautoscaler=nil, status=nil, weight=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, scalemode=nil, cronscalejobs=nil, scalestrategy=nil, scheduledaction=nil, podlist=nil, pods=nil, podinfos=nil, servicelimit=nil, modelturboenable=nil, volumemount=nil, infercodeinfo=nil, command=nil, serviceeip=nil, serviceport=nil)
6302
+ def initialize(replicas=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, modelinfo=nil, logenable=nil, logconfig=nil, authorizationenable=nil, horizontalpodautoscaler=nil, status=nil, weight=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, instancealias=nil, scalemode=nil, cronscalejobs=nil, scalestrategy=nil, scheduledaction=nil, podlist=nil, pods=nil, podinfos=nil, servicelimit=nil, modelturboenable=nil, volumemount=nil, infercodeinfo=nil, command=nil, serviceeip=nil, serviceport=nil)
6072
6303
  @Replicas = replicas
6073
6304
  @ImageInfo = imageinfo
6074
6305
  @Env = env
@@ -6086,6 +6317,7 @@ module TencentCloud
6086
6317
  @HybridBillingPrepaidReplicas = hybridbillingprepaidreplicas
6087
6318
  @OldHybridBillingPrepaidReplicas = oldhybridbillingprepaidreplicas
6088
6319
  @ModelHotUpdateEnable = modelhotupdateenable
6320
+ @InstanceAlias = instancealias
6089
6321
  @ScaleMode = scalemode
6090
6322
  @CronScaleJobs = cronscalejobs
6091
6323
  @ScaleStrategy = scalestrategy
@@ -6148,6 +6380,7 @@ module TencentCloud
6148
6380
  @HybridBillingPrepaidReplicas = params['HybridBillingPrepaidReplicas']
6149
6381
  @OldHybridBillingPrepaidReplicas = params['OldHybridBillingPrepaidReplicas']
6150
6382
  @ModelHotUpdateEnable = params['ModelHotUpdateEnable']
6383
+ @InstanceAlias = params['InstanceAlias']
6151
6384
  @ScaleMode = params['ScaleMode']
6152
6385
  unless params['CronScaleJobs'].nil?
6153
6386
  @CronScaleJobs = []
@@ -6222,6 +6455,106 @@ module TencentCloud
6222
6455
  end
6223
6456
  end
6224
6457
 
6458
+ # 计费项内容
6459
+ class Spec < TencentCloud::Common::AbstractModel
6460
+ # @param SpecId: 计费项标签
6461
+ # @type SpecId: String
6462
+ # @param SpecName: 计费项名称
6463
+ # @type SpecName: String
6464
+ # @param SpecAlias: 计费项显示名称
6465
+ # @type SpecAlias: String
6466
+ # @param Available: 是否售罄
6467
+ # @type Available: Boolean
6468
+ # @param AvailableRegion: 当前资源售罄时,可用的区域有哪些
6469
+ # @type AvailableRegion: Array
6470
+ # @param SpecFeatures: 当前计费项支持的特性
6471
+ # 注意:此字段可能返回 null,表示取不到有效值。
6472
+ # @type SpecFeatures: Array
6473
+ # @param SpecType: 计费项类型
6474
+ # 注意:此字段可能返回 null,表示取不到有效值。
6475
+ # @type SpecType: String
6476
+ # @param GpuType: GPU类型
6477
+ # 注意:此字段可能返回 null,表示取不到有效值。
6478
+ # @type GpuType: String
6479
+ # @param CategoryId: 计费项CategoryId
6480
+ # 注意:此字段可能返回 null,表示取不到有效值。
6481
+ # @type CategoryId: String
6482
+
6483
+ attr_accessor :SpecId, :SpecName, :SpecAlias, :Available, :AvailableRegion, :SpecFeatures, :SpecType, :GpuType, :CategoryId
6484
+
6485
+ def initialize(specid=nil, specname=nil, specalias=nil, available=nil, availableregion=nil, specfeatures=nil, spectype=nil, gputype=nil, categoryid=nil)
6486
+ @SpecId = specid
6487
+ @SpecName = specname
6488
+ @SpecAlias = specalias
6489
+ @Available = available
6490
+ @AvailableRegion = availableregion
6491
+ @SpecFeatures = specfeatures
6492
+ @SpecType = spectype
6493
+ @GpuType = gputype
6494
+ @CategoryId = categoryid
6495
+ end
6496
+
6497
+ def deserialize(params)
6498
+ @SpecId = params['SpecId']
6499
+ @SpecName = params['SpecName']
6500
+ @SpecAlias = params['SpecAlias']
6501
+ @Available = params['Available']
6502
+ @AvailableRegion = params['AvailableRegion']
6503
+ @SpecFeatures = params['SpecFeatures']
6504
+ @SpecType = params['SpecType']
6505
+ @GpuType = params['GpuType']
6506
+ @CategoryId = params['CategoryId']
6507
+ end
6508
+ end
6509
+
6510
+ # 计费项询价结果
6511
+ class SpecPrice < TencentCloud::Common::AbstractModel
6512
+ # @param SpecName: 计费项名称
6513
+ # @type SpecName: String
6514
+ # @param TotalCost: 原价,单位:分。最大值42亿,超过则返回0
6515
+ # @type TotalCost: Integer
6516
+ # @param RealTotalCost: 优惠后的价格,单位:分
6517
+ # @type RealTotalCost: Integer
6518
+ # @param SpecCount: 计费项数量
6519
+ # @type SpecCount: Integer
6520
+
6521
+ attr_accessor :SpecName, :TotalCost, :RealTotalCost, :SpecCount
6522
+
6523
+ def initialize(specname=nil, totalcost=nil, realtotalcost=nil, speccount=nil)
6524
+ @SpecName = specname
6525
+ @TotalCost = totalcost
6526
+ @RealTotalCost = realtotalcost
6527
+ @SpecCount = speccount
6528
+ end
6529
+
6530
+ def deserialize(params)
6531
+ @SpecName = params['SpecName']
6532
+ @TotalCost = params['TotalCost']
6533
+ @RealTotalCost = params['RealTotalCost']
6534
+ @SpecCount = params['SpecCount']
6535
+ end
6536
+ end
6537
+
6538
+ # 计费项询价单元
6539
+ class SpecUnit < TencentCloud::Common::AbstractModel
6540
+ # @param SpecName: 计费项名称
6541
+ # @type SpecName: String
6542
+ # @param SpecCount: 计费项数量,建议不超过100万
6543
+ # @type SpecCount: Integer
6544
+
6545
+ attr_accessor :SpecName, :SpecCount
6546
+
6547
+ def initialize(specname=nil, speccount=nil)
6548
+ @SpecName = specname
6549
+ @SpecCount = speccount
6550
+ end
6551
+
6552
+ def deserialize(params)
6553
+ @SpecName = params['SpecName']
6554
+ @SpecCount = params['SpecCount']
6555
+ end
6556
+ end
6557
+
6225
6558
  # 启动命令信息
6226
6559
  class StartCmdInfo < TencentCloud::Common::AbstractModel
6227
6560
  # @param StartCmd: 启动命令
@@ -6634,6 +6967,9 @@ module TencentCloud
6634
6967
  # @type Uin: String
6635
6968
  # @param SubUin: 子账号uin
6636
6969
  # @type SubUin: String
6970
+ # @param SubUinName: 创建者名称
6971
+ # 注意:此字段可能返回 null,表示取不到有效值。
6972
+ # @type SubUinName: String
6637
6973
  # @param Region: 地域
6638
6974
  # @type Region: String
6639
6975
  # @param FrameworkName: 训练框架名称,eg:SPARK、PYSARK、TENSORFLOW、PYTORCH
@@ -6729,13 +7065,14 @@ module TencentCloud
6729
7065
  # 注意:此字段可能返回 null,表示取不到有效值。
6730
7066
  # @type CallbackUrl: String
6731
7067
 
6732
- attr_accessor :Id, :Name, :Uin, :SubUin, :Region, :FrameworkName, :FrameworkVersion, :FrameworkEnvironment, :ChargeType, :ResourceGroupId, :ResourceConfigInfos, :Tags, :TrainingMode, :CodePackagePath, :StartCmdInfo, :DataSource, :DataConfigs, :TuningParameters, :Output, :LogEnable, :LogConfig, :VpcId, :SubnetId, :ImageInfo, :RuntimeInSeconds, :CreateTime, :StartTime, :ChargeStatus, :LatestInstanceId, :TensorBoardId, :Remark, :FailureReason, :UpdateTime, :EndTime, :BillingInfo, :ResourceGroupName, :Message, :Status, :CallbackUrl
7068
+ attr_accessor :Id, :Name, :Uin, :SubUin, :SubUinName, :Region, :FrameworkName, :FrameworkVersion, :FrameworkEnvironment, :ChargeType, :ResourceGroupId, :ResourceConfigInfos, :Tags, :TrainingMode, :CodePackagePath, :StartCmdInfo, :DataSource, :DataConfigs, :TuningParameters, :Output, :LogEnable, :LogConfig, :VpcId, :SubnetId, :ImageInfo, :RuntimeInSeconds, :CreateTime, :StartTime, :ChargeStatus, :LatestInstanceId, :TensorBoardId, :Remark, :FailureReason, :UpdateTime, :EndTime, :BillingInfo, :ResourceGroupName, :Message, :Status, :CallbackUrl
6733
7069
 
6734
- def initialize(id=nil, name=nil, uin=nil, subuin=nil, region=nil, frameworkname=nil, frameworkversion=nil, frameworkenvironment=nil, chargetype=nil, resourcegroupid=nil, resourceconfiginfos=nil, tags=nil, trainingmode=nil, codepackagepath=nil, startcmdinfo=nil, datasource=nil, dataconfigs=nil, tuningparameters=nil, output=nil, logenable=nil, logconfig=nil, vpcid=nil, subnetid=nil, imageinfo=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, chargestatus=nil, latestinstanceid=nil, tensorboardid=nil, remark=nil, failurereason=nil, updatetime=nil, endtime=nil, billinginfo=nil, resourcegroupname=nil, message=nil, status=nil, callbackurl=nil)
7070
+ def initialize(id=nil, name=nil, uin=nil, subuin=nil, subuinname=nil, region=nil, frameworkname=nil, frameworkversion=nil, frameworkenvironment=nil, chargetype=nil, resourcegroupid=nil, resourceconfiginfos=nil, tags=nil, trainingmode=nil, codepackagepath=nil, startcmdinfo=nil, datasource=nil, dataconfigs=nil, tuningparameters=nil, output=nil, logenable=nil, logconfig=nil, vpcid=nil, subnetid=nil, imageinfo=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, chargestatus=nil, latestinstanceid=nil, tensorboardid=nil, remark=nil, failurereason=nil, updatetime=nil, endtime=nil, billinginfo=nil, resourcegroupname=nil, message=nil, status=nil, callbackurl=nil)
6735
7071
  @Id = id
6736
7072
  @Name = name
6737
7073
  @Uin = uin
6738
7074
  @SubUin = subuin
7075
+ @SubUinName = subuinname
6739
7076
  @Region = region
6740
7077
  @FrameworkName = frameworkname
6741
7078
  @FrameworkVersion = frameworkversion
@@ -6778,6 +7115,7 @@ module TencentCloud
6778
7115
  @Name = params['Name']
6779
7116
  @Uin = params['Uin']
6780
7117
  @SubUin = params['SubUin']
7118
+ @SubUinName = params['SubUinName']
6781
7119
  @Region = params['Region']
6782
7120
  @FrameworkName = params['FrameworkName']
6783
7121
  @FrameworkVersion = params['FrameworkVersion']
@@ -6997,13 +7335,10 @@ module TencentCloud
6997
7335
  # 大模型生成Token统计
6998
7336
  class Usage < TencentCloud::Common::AbstractModel
6999
7337
  # @param CompletionTokens: 生成的token数目
7000
- # 注意:此字段可能返回 null,表示取不到有效值。
7001
7338
  # @type CompletionTokens: Integer
7002
7339
  # @param PromptTokens: 输入的token数目
7003
- # 注意:此字段可能返回 null,表示取不到有效值。
7004
7340
  # @type PromptTokens: Integer
7005
7341
  # @param TotalTokens: 总共token数目
7006
- # 注意:此字段可能返回 null,表示取不到有效值。
7007
7342
  # @type TotalTokens: Integer
7008
7343
 
7009
7344
  attr_accessor :CompletionTokens, :PromptTokens, :TotalTokens
@@ -7073,8 +7408,8 @@ module TencentCloud
7073
7408
 
7074
7409
  attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions, :Reason
7075
7410
  extend Gem::Deprecate
7076
- deprecate :StatefulSetCondition, :none, 2024, 6
7077
- deprecate :StatefulSetCondition=, :none, 2024, 6
7411
+ deprecate :StatefulSetCondition, :none, 2024, 12
7412
+ deprecate :StatefulSetCondition=, :none, 2024, 12
7078
7413
 
7079
7414
  def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil, reason=nil)
7080
7415
  @Replicas = replicas
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tione
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.957
4
+ version: 3.0.959
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common