tencentcloud-sdk-python 3.0.1278__py2.py3-none-any.whl → 3.0.1280__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/aiart_client.py +24 -0
- tencentcloud/aiart/v20221229/models.py +201 -0
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/cam/v20190116/cam_client.py +23 -0
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +111 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/cloudaudit/v20190319/models.py +8 -8
- tencentcloud/cvm/v20170312/models.py +20 -20
- tencentcloud/es/v20180416/models.py +171 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/faceid/v20180301/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +17 -0
- tencentcloud/mqtt/v20240516/models.py +530 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +92 -0
- tencentcloud/mrs/v20200910/models.py +2 -2
- tencentcloud/ocr/v20181119/models.py +253 -0
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +17 -0
- tencentcloud/tione/v20211111/errorcodes.py +42 -0
- tencentcloud/tione/v20211111/models.py +1321 -347
- tencentcloud/tione/v20211111/tione_client.py +46 -23
- tencentcloud/tse/v20201207/errorcodes.py +3 -0
- tencentcloud/tse/v20201207/models.py +923 -37
- tencentcloud/tse/v20201207/tse_client.py +92 -0
- tencentcloud/vclm/v20240523/models.py +4 -2
- tencentcloud/vdb/v20230616/models.py +12 -0
- tencentcloud/vod/v20180717/vod_client.py +8 -2
- tencentcloud/vpc/v20170312/models.py +20 -0
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1280.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1280.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1280.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1280.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1280.dist-info}/top_level.txt +0 -0
@@ -204,15 +204,15 @@ class ChatCompletionRequest(AbstractModel):
|
|
204
204
|
def __init__(self):
|
205
205
|
r"""
|
206
206
|
:param _Model: 对话的目标模型ID。
|
207
|
-
自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-
|
207
|
+
自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-q7pfr29p。
|
208
208
|
:type Model: str
|
209
209
|
:param _Messages: 输入对话历史。旧的对话在前,数组中最后一项应该为这次的问题。
|
210
210
|
:type Messages: list of Message
|
211
|
-
:param _Temperature: 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为
|
211
|
+
:param _Temperature: 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为0.7,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。
|
212
212
|
:type Temperature: float
|
213
213
|
:param _TopP: 仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。
|
214
214
|
:type TopP: float
|
215
|
-
:param _MaxTokens:
|
215
|
+
:param _MaxTokens: 仅当模型为自行部署的开源大模型时生效。默认 512,模型可生成内容的最长 token 数量,最大不能超过模型支持的上下文长度。
|
216
216
|
:type MaxTokens: int
|
217
217
|
"""
|
218
218
|
self._Model = None
|
@@ -224,7 +224,7 @@ class ChatCompletionRequest(AbstractModel):
|
|
224
224
|
@property
|
225
225
|
def Model(self):
|
226
226
|
"""对话的目标模型ID。
|
227
|
-
自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-
|
227
|
+
自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-q7pfr29p。
|
228
228
|
:rtype: str
|
229
229
|
"""
|
230
230
|
return self._Model
|
@@ -246,7 +246,7 @@ class ChatCompletionRequest(AbstractModel):
|
|
246
246
|
|
247
247
|
@property
|
248
248
|
def Temperature(self):
|
249
|
-
"""仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为
|
249
|
+
"""仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为0.7,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。
|
250
250
|
:rtype: float
|
251
251
|
"""
|
252
252
|
return self._Temperature
|
@@ -268,7 +268,7 @@ class ChatCompletionRequest(AbstractModel):
|
|
268
268
|
|
269
269
|
@property
|
270
270
|
def MaxTokens(self):
|
271
|
-
"""
|
271
|
+
"""仅当模型为自行部署的开源大模型时生效。默认 512,模型可生成内容的最长 token 数量,最大不能超过模型支持的上下文长度。
|
272
272
|
:rtype: int
|
273
273
|
"""
|
274
274
|
return self._MaxTokens
|
@@ -306,15 +306,13 @@ class ChatCompletionResponse(AbstractModel):
|
|
306
306
|
|
307
307
|
def __init__(self):
|
308
308
|
r"""
|
309
|
-
:param _Model:
|
309
|
+
:param _Model: 对话的模型服务组ID
|
310
310
|
:type Model: str
|
311
311
|
:param _Choices: 本次问答的答案。
|
312
312
|
:type Choices: list of Choice
|
313
313
|
:param _Id: 会话Id。
|
314
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
315
314
|
:type Id: str
|
316
315
|
:param _Usage: token统计
|
317
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
318
316
|
:type Usage: :class:`tencentcloud.tione.v20211111.models.Usage`
|
319
317
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
320
318
|
:type RequestId: str
|
@@ -327,7 +325,7 @@ class ChatCompletionResponse(AbstractModel):
|
|
327
325
|
|
328
326
|
@property
|
329
327
|
def Model(self):
|
330
|
-
"""
|
328
|
+
"""对话的模型服务组ID
|
331
329
|
:rtype: str
|
332
330
|
"""
|
333
331
|
return self._Model
|
@@ -350,7 +348,6 @@ class ChatCompletionResponse(AbstractModel):
|
|
350
348
|
@property
|
351
349
|
def Id(self):
|
352
350
|
"""会话Id。
|
353
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
354
351
|
:rtype: str
|
355
352
|
"""
|
356
353
|
return self._Id
|
@@ -362,7 +359,6 @@ class ChatCompletionResponse(AbstractModel):
|
|
362
359
|
@property
|
363
360
|
def Usage(self):
|
364
361
|
"""token统计
|
365
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
366
362
|
:rtype: :class:`tencentcloud.tione.v20211111.models.Usage`
|
367
363
|
"""
|
368
364
|
return self._Usage
|
@@ -406,7 +402,6 @@ class Choice(AbstractModel):
|
|
406
402
|
def __init__(self):
|
407
403
|
r"""
|
408
404
|
:param _Message: 对话结果
|
409
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
410
405
|
:type Message: :class:`tencentcloud.tione.v20211111.models.Message`
|
411
406
|
:param _FinishReason: 结束理由: stop, length, content_filter, null
|
412
407
|
:type FinishReason: str
|
@@ -420,7 +415,6 @@ class Choice(AbstractModel):
|
|
420
415
|
@property
|
421
416
|
def Message(self):
|
422
417
|
"""对话结果
|
423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
424
418
|
:rtype: :class:`tencentcloud.tione.v20211111.models.Message`
|
425
419
|
"""
|
426
420
|
return self._Message
|
@@ -767,19 +761,33 @@ ANNOTATION_TYPE_CLASSIFICATION,图片分类
|
|
767
761
|
ANNOTATION_TYPE_DETECTION,目标检测
|
768
762
|
ANNOTATION_TYPE_SEGMENTATION,图片分割
|
769
763
|
ANNOTATION_TYPE_TRACKING,目标跟踪
|
764
|
+
ANNOTATION_TYPE_OCR,OCR
|
765
|
+
ANNOTATION_TYPE_TEXT_CLASSIFICATION,文本分类
|
770
766
|
:type AnnotationType: str
|
771
767
|
:param _AnnotationFormat: 标注格式:
|
772
768
|
ANNOTATION_FORMAT_TI,TI平台格式
|
773
769
|
ANNOTATION_FORMAT_PASCAL,Pascal Voc
|
774
770
|
ANNOTATION_FORMAT_COCO,COCO
|
775
771
|
ANNOTATION_FORMAT_FILE,文件目录结构
|
772
|
+
ANNOTATION_FORMAT_TEXT_TI,文本类型TI平台格式
|
773
|
+
ANNOTATION_FORMAT_TXT,文本类型TXT格式
|
774
|
+
ANNOTATION_FORMAT_CSV,文本类型CSV格式
|
775
|
+
ANNOTATION_FORMAT_JSON,文本类型JSON格式
|
776
776
|
:type AnnotationFormat: str
|
777
777
|
:param _SchemaInfos: 表头信息
|
778
778
|
:type SchemaInfos: list of SchemaInfo
|
779
779
|
:param _IsSchemaExisted: 数据是否存在表头
|
780
780
|
:type IsSchemaExisted: bool
|
781
|
-
:param _ContentType:
|
781
|
+
:param _ContentType: 导入文件粒度
|
782
|
+
TYPE_TEXT_LINE,按行
|
783
|
+
TYPE_TEXT_FILE,按文件
|
782
784
|
:type ContentType: str
|
785
|
+
:param _DatasetScene: 数据集建模一级类别。LLM,CV,STRUCTURE,OTHER
|
786
|
+
:type DatasetScene: str
|
787
|
+
:param _SceneTags: 数据集标签。
|
788
|
+
:type SceneTags: list of str
|
789
|
+
:param _CFSConfig: 数据集CFS配置。仅支持LLM场景
|
790
|
+
:type CFSConfig: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
|
783
791
|
"""
|
784
792
|
self._DatasetName = None
|
785
793
|
self._DatasetType = None
|
@@ -792,6 +800,9 @@ ANNOTATION_FORMAT_FILE,文件目录结构
|
|
792
800
|
self._SchemaInfos = None
|
793
801
|
self._IsSchemaExisted = None
|
794
802
|
self._ContentType = None
|
803
|
+
self._DatasetScene = None
|
804
|
+
self._SceneTags = None
|
805
|
+
self._CFSConfig = None
|
795
806
|
|
796
807
|
@property
|
797
808
|
def DatasetName(self):
|
@@ -872,6 +883,8 @@ ANNOTATION_TYPE_CLASSIFICATION,图片分类
|
|
872
883
|
ANNOTATION_TYPE_DETECTION,目标检测
|
873
884
|
ANNOTATION_TYPE_SEGMENTATION,图片分割
|
874
885
|
ANNOTATION_TYPE_TRACKING,目标跟踪
|
886
|
+
ANNOTATION_TYPE_OCR,OCR
|
887
|
+
ANNOTATION_TYPE_TEXT_CLASSIFICATION,文本分类
|
875
888
|
:rtype: str
|
876
889
|
"""
|
877
890
|
return self._AnnotationType
|
@@ -887,6 +900,10 @@ ANNOTATION_FORMAT_TI,TI平台格式
|
|
887
900
|
ANNOTATION_FORMAT_PASCAL,Pascal Voc
|
888
901
|
ANNOTATION_FORMAT_COCO,COCO
|
889
902
|
ANNOTATION_FORMAT_FILE,文件目录结构
|
903
|
+
ANNOTATION_FORMAT_TEXT_TI,文本类型TI平台格式
|
904
|
+
ANNOTATION_FORMAT_TXT,文本类型TXT格式
|
905
|
+
ANNOTATION_FORMAT_CSV,文本类型CSV格式
|
906
|
+
ANNOTATION_FORMAT_JSON,文本类型JSON格式
|
890
907
|
:rtype: str
|
891
908
|
"""
|
892
909
|
return self._AnnotationFormat
|
@@ -919,7 +936,9 @@ ANNOTATION_FORMAT_FILE,文件目录结构
|
|
919
936
|
|
920
937
|
@property
|
921
938
|
def ContentType(self):
|
922
|
-
"""
|
939
|
+
"""导入文件粒度
|
940
|
+
TYPE_TEXT_LINE,按行
|
941
|
+
TYPE_TEXT_FILE,按文件
|
923
942
|
:rtype: str
|
924
943
|
"""
|
925
944
|
return self._ContentType
|
@@ -928,6 +947,39 @@ ANNOTATION_FORMAT_FILE,文件目录结构
|
|
928
947
|
def ContentType(self, ContentType):
|
929
948
|
self._ContentType = ContentType
|
930
949
|
|
950
|
+
@property
|
951
|
+
def DatasetScene(self):
|
952
|
+
"""数据集建模一级类别。LLM,CV,STRUCTURE,OTHER
|
953
|
+
:rtype: str
|
954
|
+
"""
|
955
|
+
return self._DatasetScene
|
956
|
+
|
957
|
+
@DatasetScene.setter
|
958
|
+
def DatasetScene(self, DatasetScene):
|
959
|
+
self._DatasetScene = DatasetScene
|
960
|
+
|
961
|
+
@property
|
962
|
+
def SceneTags(self):
|
963
|
+
"""数据集标签。
|
964
|
+
:rtype: list of str
|
965
|
+
"""
|
966
|
+
return self._SceneTags
|
967
|
+
|
968
|
+
@SceneTags.setter
|
969
|
+
def SceneTags(self, SceneTags):
|
970
|
+
self._SceneTags = SceneTags
|
971
|
+
|
972
|
+
@property
|
973
|
+
def CFSConfig(self):
|
974
|
+
"""数据集CFS配置。仅支持LLM场景
|
975
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
|
976
|
+
"""
|
977
|
+
return self._CFSConfig
|
978
|
+
|
979
|
+
@CFSConfig.setter
|
980
|
+
def CFSConfig(self, CFSConfig):
|
981
|
+
self._CFSConfig = CFSConfig
|
982
|
+
|
931
983
|
|
932
984
|
def _deserialize(self, params):
|
933
985
|
self._DatasetName = params.get("DatasetName")
|
@@ -955,6 +1007,11 @@ ANNOTATION_FORMAT_FILE,文件目录结构
|
|
955
1007
|
self._SchemaInfos.append(obj)
|
956
1008
|
self._IsSchemaExisted = params.get("IsSchemaExisted")
|
957
1009
|
self._ContentType = params.get("ContentType")
|
1010
|
+
self._DatasetScene = params.get("DatasetScene")
|
1011
|
+
self._SceneTags = params.get("SceneTags")
|
1012
|
+
if params.get("CFSConfig") is not None:
|
1013
|
+
self._CFSConfig = CFSConfig()
|
1014
|
+
self._CFSConfig._deserialize(params.get("CFSConfig"))
|
958
1015
|
memeber_set = set(params.keys())
|
959
1016
|
for name, value in vars(self).items():
|
960
1017
|
property_name = name[1:]
|
@@ -1106,6 +1163,10 @@ HYBRID_PAID:
|
|
1106
1163
|
:type CommandBase64: str
|
1107
1164
|
:param _ServicePort: 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092
|
1108
1165
|
:type ServicePort: int
|
1166
|
+
:param _DeployType: 服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
|
1167
|
+
:type DeployType: str
|
1168
|
+
:param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
1169
|
+
:type InstancePerReplicas: int
|
1109
1170
|
"""
|
1110
1171
|
self._ServiceGroupId = None
|
1111
1172
|
self._ServiceGroupName = None
|
@@ -1140,6 +1201,8 @@ HYBRID_PAID:
|
|
1140
1201
|
self._ServiceEIP = None
|
1141
1202
|
self._CommandBase64 = None
|
1142
1203
|
self._ServicePort = None
|
1204
|
+
self._DeployType = None
|
1205
|
+
self._InstancePerReplicas = None
|
1143
1206
|
|
1144
1207
|
@property
|
1145
1208
|
def ServiceGroupId(self):
|
@@ -1527,6 +1590,28 @@ HYBRID_PAID:
|
|
1527
1590
|
def ServicePort(self, ServicePort):
|
1528
1591
|
self._ServicePort = ServicePort
|
1529
1592
|
|
1593
|
+
@property
|
1594
|
+
def DeployType(self):
|
1595
|
+
"""服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
|
1596
|
+
:rtype: str
|
1597
|
+
"""
|
1598
|
+
return self._DeployType
|
1599
|
+
|
1600
|
+
@DeployType.setter
|
1601
|
+
def DeployType(self, DeployType):
|
1602
|
+
self._DeployType = DeployType
|
1603
|
+
|
1604
|
+
@property
|
1605
|
+
def InstancePerReplicas(self):
|
1606
|
+
"""单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
1607
|
+
:rtype: int
|
1608
|
+
"""
|
1609
|
+
return self._InstancePerReplicas
|
1610
|
+
|
1611
|
+
@InstancePerReplicas.setter
|
1612
|
+
def InstancePerReplicas(self, InstancePerReplicas):
|
1613
|
+
self._InstancePerReplicas = InstancePerReplicas
|
1614
|
+
|
1530
1615
|
|
1531
1616
|
def _deserialize(self, params):
|
1532
1617
|
self._ServiceGroupId = params.get("ServiceGroupId")
|
@@ -1595,6 +1680,8 @@ HYBRID_PAID:
|
|
1595
1680
|
self._ServiceEIP._deserialize(params.get("ServiceEIP"))
|
1596
1681
|
self._CommandBase64 = params.get("CommandBase64")
|
1597
1682
|
self._ServicePort = params.get("ServicePort")
|
1683
|
+
self._DeployType = params.get("DeployType")
|
1684
|
+
self._InstancePerReplicas = params.get("InstancePerReplicas")
|
1598
1685
|
memeber_set = set(params.keys())
|
1599
1686
|
for name, value in vars(self).items():
|
1600
1687
|
property_name = name[1:]
|
@@ -1613,7 +1700,6 @@ class CreateModelServiceResponse(AbstractModel):
|
|
1613
1700
|
def __init__(self):
|
1614
1701
|
r"""
|
1615
1702
|
:param _Service: 生成的模型服务
|
1616
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1617
1703
|
:type Service: :class:`tencentcloud.tione.v20211111.models.Service`
|
1618
1704
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1619
1705
|
:type RequestId: str
|
@@ -1624,7 +1710,6 @@ class CreateModelServiceResponse(AbstractModel):
|
|
1624
1710
|
@property
|
1625
1711
|
def Service(self):
|
1626
1712
|
"""生成的模型服务
|
1627
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1628
1713
|
:rtype: :class:`tencentcloud.tione.v20211111.models.Service`
|
1629
1714
|
"""
|
1630
1715
|
return self._Service
|
@@ -2868,6 +2953,10 @@ class DataConfig(AbstractModel):
|
|
2868
2953
|
r"""
|
2869
2954
|
:param _MappingPath: 映射路径
|
2870
2955
|
:type MappingPath: str
|
2956
|
+
:param _DataSourceUsage: 存储用途
|
2957
|
+
可选值为 BUILTIN_CODE, BUILTIN_DATA, BUILTIN_MODEL, USER_DATA, USER_CODE, USER_MODEL, OUTPUT, OTHER
|
2958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2959
|
+
:type DataSourceUsage: str
|
2871
2960
|
:param _DataSourceType: DATASET、COS、CFS、CFSTurbo、GooseFSx、HDFS、WEDATA_HDFS
|
2872
2961
|
注意:此字段可能返回 null,表示取不到有效值。
|
2873
2962
|
:type DataSourceType: str
|
@@ -2897,6 +2986,7 @@ class DataConfig(AbstractModel):
|
|
2897
2986
|
:type CBSSource: :class:`tencentcloud.tione.v20211111.models.CBSConfig`
|
2898
2987
|
"""
|
2899
2988
|
self._MappingPath = None
|
2989
|
+
self._DataSourceUsage = None
|
2900
2990
|
self._DataSourceType = None
|
2901
2991
|
self._DataSetSource = None
|
2902
2992
|
self._COSSource = None
|
@@ -2918,6 +3008,19 @@ class DataConfig(AbstractModel):
|
|
2918
3008
|
def MappingPath(self, MappingPath):
|
2919
3009
|
self._MappingPath = MappingPath
|
2920
3010
|
|
3011
|
+
@property
|
3012
|
+
def DataSourceUsage(self):
|
3013
|
+
"""存储用途
|
3014
|
+
可选值为 BUILTIN_CODE, BUILTIN_DATA, BUILTIN_MODEL, USER_DATA, USER_CODE, USER_MODEL, OUTPUT, OTHER
|
3015
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3016
|
+
:rtype: str
|
3017
|
+
"""
|
3018
|
+
return self._DataSourceUsage
|
3019
|
+
|
3020
|
+
@DataSourceUsage.setter
|
3021
|
+
def DataSourceUsage(self, DataSourceUsage):
|
3022
|
+
self._DataSourceUsage = DataSourceUsage
|
3023
|
+
|
2921
3024
|
@property
|
2922
3025
|
def DataSourceType(self):
|
2923
3026
|
"""DATASET、COS、CFS、CFSTurbo、GooseFSx、HDFS、WEDATA_HDFS
|
@@ -3029,6 +3132,7 @@ class DataConfig(AbstractModel):
|
|
3029
3132
|
|
3030
3133
|
def _deserialize(self, params):
|
3031
3134
|
self._MappingPath = params.get("MappingPath")
|
3135
|
+
self._DataSourceUsage = params.get("DataSourceUsage")
|
3032
3136
|
self._DataSourceType = params.get("DataSourceType")
|
3033
3137
|
if params.get("DataSetSource") is not None:
|
3034
3138
|
self._DataSetSource = DataSetConfig()
|
@@ -3236,6 +3340,24 @@ class DatasetGroup(AbstractModel):
|
|
3236
3340
|
:param _ContentType: 文本数据集导入方式
|
3237
3341
|
注意:此字段可能返回 null,表示取不到有效值。
|
3238
3342
|
:type ContentType: str
|
3343
|
+
:param _DatasetScene: 数据集建模类别。
|
3344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3345
|
+
:type DatasetScene: str
|
3346
|
+
:param _CFSConfig: CFS配置
|
3347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3348
|
+
:type CFSConfig: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
|
3349
|
+
:param _SceneTags: 数据集标签
|
3350
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3351
|
+
:type SceneTags: list of str
|
3352
|
+
:param _NumAnnotated: 已标注数量
|
3353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3354
|
+
:type NumAnnotated: int
|
3355
|
+
:param _AnnotationSpecification: 标注规范
|
3356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3357
|
+
:type AnnotationSpecification: str
|
3358
|
+
:param _AnnotationSchemaConfigured: 标注Schema是否配置
|
3359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3360
|
+
:type AnnotationSchemaConfigured: bool
|
3239
3361
|
"""
|
3240
3362
|
self._DatasetId = None
|
3241
3363
|
self._DatasetName = None
|
@@ -3263,6 +3385,12 @@ class DatasetGroup(AbstractModel):
|
|
3263
3385
|
self._OcrScene = None
|
3264
3386
|
self._AnnotationKeyStatus = None
|
3265
3387
|
self._ContentType = None
|
3388
|
+
self._DatasetScene = None
|
3389
|
+
self._CFSConfig = None
|
3390
|
+
self._SceneTags = None
|
3391
|
+
self._NumAnnotated = None
|
3392
|
+
self._AnnotationSpecification = None
|
3393
|
+
self._AnnotationSchemaConfigured = None
|
3266
3394
|
|
3267
3395
|
@property
|
3268
3396
|
def DatasetId(self):
|
@@ -3576,6 +3704,78 @@ class DatasetGroup(AbstractModel):
|
|
3576
3704
|
def ContentType(self, ContentType):
|
3577
3705
|
self._ContentType = ContentType
|
3578
3706
|
|
3707
|
+
@property
|
3708
|
+
def DatasetScene(self):
|
3709
|
+
"""数据集建模类别。
|
3710
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3711
|
+
:rtype: str
|
3712
|
+
"""
|
3713
|
+
return self._DatasetScene
|
3714
|
+
|
3715
|
+
@DatasetScene.setter
|
3716
|
+
def DatasetScene(self, DatasetScene):
|
3717
|
+
self._DatasetScene = DatasetScene
|
3718
|
+
|
3719
|
+
@property
|
3720
|
+
def CFSConfig(self):
|
3721
|
+
"""CFS配置
|
3722
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3723
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
|
3724
|
+
"""
|
3725
|
+
return self._CFSConfig
|
3726
|
+
|
3727
|
+
@CFSConfig.setter
|
3728
|
+
def CFSConfig(self, CFSConfig):
|
3729
|
+
self._CFSConfig = CFSConfig
|
3730
|
+
|
3731
|
+
@property
|
3732
|
+
def SceneTags(self):
|
3733
|
+
"""数据集标签
|
3734
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3735
|
+
:rtype: list of str
|
3736
|
+
"""
|
3737
|
+
return self._SceneTags
|
3738
|
+
|
3739
|
+
@SceneTags.setter
|
3740
|
+
def SceneTags(self, SceneTags):
|
3741
|
+
self._SceneTags = SceneTags
|
3742
|
+
|
3743
|
+
@property
|
3744
|
+
def NumAnnotated(self):
|
3745
|
+
"""已标注数量
|
3746
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3747
|
+
:rtype: int
|
3748
|
+
"""
|
3749
|
+
return self._NumAnnotated
|
3750
|
+
|
3751
|
+
@NumAnnotated.setter
|
3752
|
+
def NumAnnotated(self, NumAnnotated):
|
3753
|
+
self._NumAnnotated = NumAnnotated
|
3754
|
+
|
3755
|
+
@property
|
3756
|
+
def AnnotationSpecification(self):
|
3757
|
+
"""标注规范
|
3758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3759
|
+
:rtype: str
|
3760
|
+
"""
|
3761
|
+
return self._AnnotationSpecification
|
3762
|
+
|
3763
|
+
@AnnotationSpecification.setter
|
3764
|
+
def AnnotationSpecification(self, AnnotationSpecification):
|
3765
|
+
self._AnnotationSpecification = AnnotationSpecification
|
3766
|
+
|
3767
|
+
@property
|
3768
|
+
def AnnotationSchemaConfigured(self):
|
3769
|
+
"""标注Schema是否配置
|
3770
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3771
|
+
:rtype: bool
|
3772
|
+
"""
|
3773
|
+
return self._AnnotationSchemaConfigured
|
3774
|
+
|
3775
|
+
@AnnotationSchemaConfigured.setter
|
3776
|
+
def AnnotationSchemaConfigured(self, AnnotationSchemaConfigured):
|
3777
|
+
self._AnnotationSchemaConfigured = AnnotationSchemaConfigured
|
3778
|
+
|
3579
3779
|
|
3580
3780
|
def _deserialize(self, params):
|
3581
3781
|
self._DatasetId = params.get("DatasetId")
|
@@ -3618,6 +3818,14 @@ class DatasetGroup(AbstractModel):
|
|
3618
3818
|
self._OcrScene = params.get("OcrScene")
|
3619
3819
|
self._AnnotationKeyStatus = params.get("AnnotationKeyStatus")
|
3620
3820
|
self._ContentType = params.get("ContentType")
|
3821
|
+
self._DatasetScene = params.get("DatasetScene")
|
3822
|
+
if params.get("CFSConfig") is not None:
|
3823
|
+
self._CFSConfig = CFSConfig()
|
3824
|
+
self._CFSConfig._deserialize(params.get("CFSConfig"))
|
3825
|
+
self._SceneTags = params.get("SceneTags")
|
3826
|
+
self._NumAnnotated = params.get("NumAnnotated")
|
3827
|
+
self._AnnotationSpecification = params.get("AnnotationSpecification")
|
3828
|
+
self._AnnotationSchemaConfigured = params.get("AnnotationSchemaConfigured")
|
3621
3829
|
memeber_set = set(params.keys())
|
3622
3830
|
for name, value in vars(self).items():
|
3623
3831
|
property_name = name[1:]
|
@@ -3707,6 +3915,27 @@ class DatasetInfo(AbstractModel):
|
|
3707
3915
|
:param _AnnotationKeyStatus: 数据集字典修改状态
|
3708
3916
|
注意:此字段可能返回 null,表示取不到有效值。
|
3709
3917
|
:type AnnotationKeyStatus: str
|
3918
|
+
:param _ContentType: 内容类型
|
3919
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3920
|
+
:type ContentType: str
|
3921
|
+
:param _DatasetScene: 数据集建模类别。
|
3922
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3923
|
+
:type DatasetScene: str
|
3924
|
+
:param _CFSConfig: CFS配置
|
3925
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3926
|
+
:type CFSConfig: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
|
3927
|
+
:param _SceneTags: 数据集标签
|
3928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3929
|
+
:type SceneTags: list of str
|
3930
|
+
:param _NumAnnotated: 已标注数量
|
3931
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3932
|
+
:type NumAnnotated: int
|
3933
|
+
:param _AnnotationSpecification: 标注规范
|
3934
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3935
|
+
:type AnnotationSpecification: str
|
3936
|
+
:param _AnnotationSchemaConfigured: 标注Schema是否配置
|
3937
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3938
|
+
:type AnnotationSchemaConfigured: bool
|
3710
3939
|
"""
|
3711
3940
|
self._DatasetId = None
|
3712
3941
|
self._DatasetName = None
|
@@ -3732,6 +3961,13 @@ class DatasetInfo(AbstractModel):
|
|
3732
3961
|
self._DatasetScope = None
|
3733
3962
|
self._OcrScene = None
|
3734
3963
|
self._AnnotationKeyStatus = None
|
3964
|
+
self._ContentType = None
|
3965
|
+
self._DatasetScene = None
|
3966
|
+
self._CFSConfig = None
|
3967
|
+
self._SceneTags = None
|
3968
|
+
self._NumAnnotated = None
|
3969
|
+
self._AnnotationSpecification = None
|
3970
|
+
self._AnnotationSchemaConfigured = None
|
3735
3971
|
|
3736
3972
|
@property
|
3737
3973
|
def DatasetId(self):
|
@@ -4021,6 +4257,90 @@ class DatasetInfo(AbstractModel):
|
|
4021
4257
|
def AnnotationKeyStatus(self, AnnotationKeyStatus):
|
4022
4258
|
self._AnnotationKeyStatus = AnnotationKeyStatus
|
4023
4259
|
|
4260
|
+
@property
|
4261
|
+
def ContentType(self):
|
4262
|
+
"""内容类型
|
4263
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4264
|
+
:rtype: str
|
4265
|
+
"""
|
4266
|
+
return self._ContentType
|
4267
|
+
|
4268
|
+
@ContentType.setter
|
4269
|
+
def ContentType(self, ContentType):
|
4270
|
+
self._ContentType = ContentType
|
4271
|
+
|
4272
|
+
@property
|
4273
|
+
def DatasetScene(self):
|
4274
|
+
"""数据集建模类别。
|
4275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4276
|
+
:rtype: str
|
4277
|
+
"""
|
4278
|
+
return self._DatasetScene
|
4279
|
+
|
4280
|
+
@DatasetScene.setter
|
4281
|
+
def DatasetScene(self, DatasetScene):
|
4282
|
+
self._DatasetScene = DatasetScene
|
4283
|
+
|
4284
|
+
@property
|
4285
|
+
def CFSConfig(self):
|
4286
|
+
"""CFS配置
|
4287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4288
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
|
4289
|
+
"""
|
4290
|
+
return self._CFSConfig
|
4291
|
+
|
4292
|
+
@CFSConfig.setter
|
4293
|
+
def CFSConfig(self, CFSConfig):
|
4294
|
+
self._CFSConfig = CFSConfig
|
4295
|
+
|
4296
|
+
@property
|
4297
|
+
def SceneTags(self):
|
4298
|
+
"""数据集标签
|
4299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4300
|
+
:rtype: list of str
|
4301
|
+
"""
|
4302
|
+
return self._SceneTags
|
4303
|
+
|
4304
|
+
@SceneTags.setter
|
4305
|
+
def SceneTags(self, SceneTags):
|
4306
|
+
self._SceneTags = SceneTags
|
4307
|
+
|
4308
|
+
@property
|
4309
|
+
def NumAnnotated(self):
|
4310
|
+
"""已标注数量
|
4311
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4312
|
+
:rtype: int
|
4313
|
+
"""
|
4314
|
+
return self._NumAnnotated
|
4315
|
+
|
4316
|
+
@NumAnnotated.setter
|
4317
|
+
def NumAnnotated(self, NumAnnotated):
|
4318
|
+
self._NumAnnotated = NumAnnotated
|
4319
|
+
|
4320
|
+
@property
|
4321
|
+
def AnnotationSpecification(self):
|
4322
|
+
"""标注规范
|
4323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4324
|
+
:rtype: str
|
4325
|
+
"""
|
4326
|
+
return self._AnnotationSpecification
|
4327
|
+
|
4328
|
+
@AnnotationSpecification.setter
|
4329
|
+
def AnnotationSpecification(self, AnnotationSpecification):
|
4330
|
+
self._AnnotationSpecification = AnnotationSpecification
|
4331
|
+
|
4332
|
+
@property
|
4333
|
+
def AnnotationSchemaConfigured(self):
|
4334
|
+
"""标注Schema是否配置
|
4335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4336
|
+
:rtype: bool
|
4337
|
+
"""
|
4338
|
+
return self._AnnotationSchemaConfigured
|
4339
|
+
|
4340
|
+
@AnnotationSchemaConfigured.setter
|
4341
|
+
def AnnotationSchemaConfigured(self, AnnotationSchemaConfigured):
|
4342
|
+
self._AnnotationSchemaConfigured = AnnotationSchemaConfigured
|
4343
|
+
|
4024
4344
|
|
4025
4345
|
def _deserialize(self, params):
|
4026
4346
|
self._DatasetId = params.get("DatasetId")
|
@@ -4056,6 +4376,15 @@ class DatasetInfo(AbstractModel):
|
|
4056
4376
|
self._DatasetScope = params.get("DatasetScope")
|
4057
4377
|
self._OcrScene = params.get("OcrScene")
|
4058
4378
|
self._AnnotationKeyStatus = params.get("AnnotationKeyStatus")
|
4379
|
+
self._ContentType = params.get("ContentType")
|
4380
|
+
self._DatasetScene = params.get("DatasetScene")
|
4381
|
+
if params.get("CFSConfig") is not None:
|
4382
|
+
self._CFSConfig = CFSConfig()
|
4383
|
+
self._CFSConfig._deserialize(params.get("CFSConfig"))
|
4384
|
+
self._SceneTags = params.get("SceneTags")
|
4385
|
+
self._NumAnnotated = params.get("NumAnnotated")
|
4386
|
+
self._AnnotationSpecification = params.get("AnnotationSpecification")
|
4387
|
+
self._AnnotationSchemaConfigured = params.get("AnnotationSchemaConfigured")
|
4059
4388
|
memeber_set = set(params.keys())
|
4060
4389
|
for name, value in vars(self).items():
|
4061
4390
|
property_name = name[1:]
|
@@ -4854,10 +5183,7 @@ class DescribeBillingResourceGroupsRequest(AbstractModel):
|
|
4854
5183
|
枚举值:
|
4855
5184
|
空: 通用, TRAIN: 训练, INFERENCE: 推理
|
4856
5185
|
:type Type: str
|
4857
|
-
:param _Filters: Filter.Name: 枚举值: ResourceGroupId (资源组id列表)
|
4858
|
-
ResourceGroupName (资源组名称列表)
|
4859
|
-
Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询
|
4860
|
-
每次请求的Filters的上限为5,Filter.Values的上限为100
|
5186
|
+
:param _Filters: Filter.Name: 枚举值: ResourceGroupId (资源组id列表) ResourceGroupName (资源组名称列表) AvailableNodeCount(资源组中可用节点数量)Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询每次请求的Filters的上限为5,Filter.Values的上限为100
|
4861
5187
|
:type Filters: list of Filter
|
4862
5188
|
:param _TagFilters: 标签过滤
|
4863
5189
|
:type TagFilters: list of TagFilter
|
@@ -4895,10 +5221,7 @@ true: 不展示,false 展示;
|
|
4895
5221
|
|
4896
5222
|
@property
|
4897
5223
|
def Filters(self):
|
4898
|
-
"""Filter.Name: 枚举值: ResourceGroupId (资源组id列表)
|
4899
|
-
ResourceGroupName (资源组名称列表)
|
4900
|
-
Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询
|
4901
|
-
每次请求的Filters的上限为5,Filter.Values的上限为100
|
5224
|
+
"""Filter.Name: 枚举值: ResourceGroupId (资源组id列表) ResourceGroupName (资源组名称列表) AvailableNodeCount(资源组中可用节点数量)Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询每次请求的Filters的上限为5,Filter.Values的上限为100
|
4902
5225
|
:rtype: list of Filter
|
4903
5226
|
"""
|
4904
5227
|
return self._Filters
|
@@ -5159,37 +5482,37 @@ class DescribeBillingResourceInstanceRunningJobsResponse(AbstractModel):
|
|
5159
5482
|
self._RequestId = params.get("RequestId")
|
5160
5483
|
|
5161
5484
|
|
5162
|
-
class
|
5163
|
-
"""
|
5485
|
+
class DescribeBillingSpecsPriceRequest(AbstractModel):
|
5486
|
+
"""DescribeBillingSpecsPrice请求参数结构体
|
5164
5487
|
|
5165
5488
|
"""
|
5166
5489
|
|
5167
5490
|
def __init__(self):
|
5168
5491
|
r"""
|
5169
|
-
:param
|
5170
|
-
:type
|
5492
|
+
:param _SpecsParam: 询价参数,支持批量询价
|
5493
|
+
:type SpecsParam: list of SpecUnit
|
5171
5494
|
"""
|
5172
|
-
self.
|
5495
|
+
self._SpecsParam = None
|
5173
5496
|
|
5174
5497
|
@property
|
5175
|
-
def
|
5176
|
-
"""
|
5177
|
-
:rtype: list of
|
5498
|
+
def SpecsParam(self):
|
5499
|
+
"""询价参数,支持批量询价
|
5500
|
+
:rtype: list of SpecUnit
|
5178
5501
|
"""
|
5179
|
-
return self.
|
5502
|
+
return self._SpecsParam
|
5180
5503
|
|
5181
|
-
@
|
5182
|
-
def
|
5183
|
-
self.
|
5504
|
+
@SpecsParam.setter
|
5505
|
+
def SpecsParam(self, SpecsParam):
|
5506
|
+
self._SpecsParam = SpecsParam
|
5184
5507
|
|
5185
5508
|
|
5186
5509
|
def _deserialize(self, params):
|
5187
|
-
if params.get("
|
5188
|
-
self.
|
5189
|
-
for item in params.get("
|
5190
|
-
obj =
|
5510
|
+
if params.get("SpecsParam") is not None:
|
5511
|
+
self._SpecsParam = []
|
5512
|
+
for item in params.get("SpecsParam"):
|
5513
|
+
obj = SpecUnit()
|
5191
5514
|
obj._deserialize(item)
|
5192
|
-
self.
|
5515
|
+
self._SpecsParam.append(obj)
|
5193
5516
|
memeber_set = set(params.keys())
|
5194
5517
|
for name, value in vars(self).items():
|
5195
5518
|
property_name = name[1:]
|
@@ -5200,31 +5523,31 @@ class DescribeBuildInImagesRequest(AbstractModel):
|
|
5200
5523
|
|
5201
5524
|
|
5202
5525
|
|
5203
|
-
class
|
5204
|
-
"""
|
5526
|
+
class DescribeBillingSpecsPriceResponse(AbstractModel):
|
5527
|
+
"""DescribeBillingSpecsPrice返回参数结构体
|
5205
5528
|
|
5206
5529
|
"""
|
5207
5530
|
|
5208
5531
|
def __init__(self):
|
5209
5532
|
r"""
|
5210
|
-
:param
|
5211
|
-
:type
|
5533
|
+
:param _SpecsPrice: 计费项价格,支持批量返回
|
5534
|
+
:type SpecsPrice: list of SpecPrice
|
5212
5535
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5213
5536
|
:type RequestId: str
|
5214
5537
|
"""
|
5215
|
-
self.
|
5538
|
+
self._SpecsPrice = None
|
5216
5539
|
self._RequestId = None
|
5217
5540
|
|
5218
5541
|
@property
|
5219
|
-
def
|
5220
|
-
"""
|
5221
|
-
:rtype: list of
|
5542
|
+
def SpecsPrice(self):
|
5543
|
+
"""计费项价格,支持批量返回
|
5544
|
+
:rtype: list of SpecPrice
|
5222
5545
|
"""
|
5223
|
-
return self.
|
5546
|
+
return self._SpecsPrice
|
5224
5547
|
|
5225
|
-
@
|
5226
|
-
def
|
5227
|
-
self.
|
5548
|
+
@SpecsPrice.setter
|
5549
|
+
def SpecsPrice(self, SpecsPrice):
|
5550
|
+
self._SpecsPrice = SpecsPrice
|
5228
5551
|
|
5229
5552
|
@property
|
5230
5553
|
def RequestId(self):
|
@@ -5239,66 +5562,275 @@ class DescribeBuildInImagesResponse(AbstractModel):
|
|
5239
5562
|
|
5240
5563
|
|
5241
5564
|
def _deserialize(self, params):
|
5242
|
-
if params.get("
|
5243
|
-
self.
|
5244
|
-
for item in params.get("
|
5245
|
-
obj =
|
5565
|
+
if params.get("SpecsPrice") is not None:
|
5566
|
+
self._SpecsPrice = []
|
5567
|
+
for item in params.get("SpecsPrice"):
|
5568
|
+
obj = SpecPrice()
|
5246
5569
|
obj._deserialize(item)
|
5247
|
-
self.
|
5570
|
+
self._SpecsPrice.append(obj)
|
5248
5571
|
self._RequestId = params.get("RequestId")
|
5249
5572
|
|
5250
5573
|
|
5251
|
-
class
|
5252
|
-
"""
|
5574
|
+
class DescribeBillingSpecsRequest(AbstractModel):
|
5575
|
+
"""DescribeBillingSpecs请求参数结构体
|
5253
5576
|
|
5254
5577
|
"""
|
5255
5578
|
|
5256
5579
|
def __init__(self):
|
5257
5580
|
r"""
|
5258
|
-
:param
|
5259
|
-
:type
|
5260
|
-
:param
|
5261
|
-
|
5262
|
-
|
5263
|
-
:type
|
5264
|
-
:param _TagFilters: 标签过滤条件
|
5265
|
-
:type TagFilters: list of TagFilter
|
5266
|
-
:param _Order: 排序值,支持Asc或Desc,默认Desc
|
5267
|
-
:type Order: str
|
5268
|
-
:param _OrderField: 排序字段,支持CreateTime或UpdateTime,默认CreateTime
|
5269
|
-
:type OrderField: str
|
5270
|
-
:param _Offset: 偏移值
|
5271
|
-
:type Offset: int
|
5272
|
-
:param _Limit: 返回数据个数,默认20,最大支持200
|
5273
|
-
:type Limit: int
|
5581
|
+
:param _ChargeType: 付费模式:POSTPAID_BY_HOUR按量计费、PREPAID包年包月
|
5582
|
+
:type ChargeType: str
|
5583
|
+
:param _TaskType: 枚举值:空、TRAIN、NOTEBOOK、INFERENCE或EMS
|
5584
|
+
:type TaskType: str
|
5585
|
+
:param _ResourceType: 资源类型:["", "CALC", "CPU", "GPU", "GPU-SW"]
|
5586
|
+
:type ResourceType: str
|
5274
5587
|
"""
|
5275
|
-
self.
|
5276
|
-
self.
|
5277
|
-
self.
|
5278
|
-
self._Order = None
|
5279
|
-
self._OrderField = None
|
5280
|
-
self._Offset = None
|
5281
|
-
self._Limit = None
|
5588
|
+
self._ChargeType = None
|
5589
|
+
self._TaskType = None
|
5590
|
+
self._ResourceType = None
|
5282
5591
|
|
5283
5592
|
@property
|
5284
|
-
def
|
5285
|
-
"""
|
5286
|
-
:rtype:
|
5593
|
+
def ChargeType(self):
|
5594
|
+
"""付费模式:POSTPAID_BY_HOUR按量计费、PREPAID包年包月
|
5595
|
+
:rtype: str
|
5287
5596
|
"""
|
5288
|
-
return self.
|
5597
|
+
return self._ChargeType
|
5289
5598
|
|
5290
|
-
@
|
5291
|
-
def
|
5292
|
-
self.
|
5599
|
+
@ChargeType.setter
|
5600
|
+
def ChargeType(self, ChargeType):
|
5601
|
+
self._ChargeType = ChargeType
|
5293
5602
|
|
5294
5603
|
@property
|
5295
|
-
def
|
5296
|
-
"""
|
5297
|
-
|
5298
|
-
DatasetScope,数据集范围,SCOPE_DATASET_PRIVATE或SCOPE_DATASET_PUBLIC
|
5299
|
-
:rtype: list of Filter
|
5604
|
+
def TaskType(self):
|
5605
|
+
"""枚举值:空、TRAIN、NOTEBOOK、INFERENCE或EMS
|
5606
|
+
:rtype: str
|
5300
5607
|
"""
|
5301
|
-
return self.
|
5608
|
+
return self._TaskType
|
5609
|
+
|
5610
|
+
@TaskType.setter
|
5611
|
+
def TaskType(self, TaskType):
|
5612
|
+
self._TaskType = TaskType
|
5613
|
+
|
5614
|
+
@property
|
5615
|
+
def ResourceType(self):
|
5616
|
+
"""资源类型:["", "CALC", "CPU", "GPU", "GPU-SW"]
|
5617
|
+
:rtype: str
|
5618
|
+
"""
|
5619
|
+
return self._ResourceType
|
5620
|
+
|
5621
|
+
@ResourceType.setter
|
5622
|
+
def ResourceType(self, ResourceType):
|
5623
|
+
self._ResourceType = ResourceType
|
5624
|
+
|
5625
|
+
|
5626
|
+
def _deserialize(self, params):
|
5627
|
+
self._ChargeType = params.get("ChargeType")
|
5628
|
+
self._TaskType = params.get("TaskType")
|
5629
|
+
self._ResourceType = params.get("ResourceType")
|
5630
|
+
memeber_set = set(params.keys())
|
5631
|
+
for name, value in vars(self).items():
|
5632
|
+
property_name = name[1:]
|
5633
|
+
if property_name in memeber_set:
|
5634
|
+
memeber_set.remove(property_name)
|
5635
|
+
if len(memeber_set) > 0:
|
5636
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5637
|
+
|
5638
|
+
|
5639
|
+
|
5640
|
+
class DescribeBillingSpecsResponse(AbstractModel):
|
5641
|
+
"""DescribeBillingSpecs返回参数结构体
|
5642
|
+
|
5643
|
+
"""
|
5644
|
+
|
5645
|
+
def __init__(self):
|
5646
|
+
r"""
|
5647
|
+
:param _Specs: 计费项列表
|
5648
|
+
:type Specs: list of Spec
|
5649
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5650
|
+
:type RequestId: str
|
5651
|
+
"""
|
5652
|
+
self._Specs = None
|
5653
|
+
self._RequestId = None
|
5654
|
+
|
5655
|
+
@property
|
5656
|
+
def Specs(self):
|
5657
|
+
"""计费项列表
|
5658
|
+
:rtype: list of Spec
|
5659
|
+
"""
|
5660
|
+
return self._Specs
|
5661
|
+
|
5662
|
+
@Specs.setter
|
5663
|
+
def Specs(self, Specs):
|
5664
|
+
self._Specs = Specs
|
5665
|
+
|
5666
|
+
@property
|
5667
|
+
def RequestId(self):
|
5668
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5669
|
+
:rtype: str
|
5670
|
+
"""
|
5671
|
+
return self._RequestId
|
5672
|
+
|
5673
|
+
@RequestId.setter
|
5674
|
+
def RequestId(self, RequestId):
|
5675
|
+
self._RequestId = RequestId
|
5676
|
+
|
5677
|
+
|
5678
|
+
def _deserialize(self, params):
|
5679
|
+
if params.get("Specs") is not None:
|
5680
|
+
self._Specs = []
|
5681
|
+
for item in params.get("Specs"):
|
5682
|
+
obj = Spec()
|
5683
|
+
obj._deserialize(item)
|
5684
|
+
self._Specs.append(obj)
|
5685
|
+
self._RequestId = params.get("RequestId")
|
5686
|
+
|
5687
|
+
|
5688
|
+
class DescribeBuildInImagesRequest(AbstractModel):
|
5689
|
+
"""DescribeBuildInImages请求参数结构体
|
5690
|
+
|
5691
|
+
"""
|
5692
|
+
|
5693
|
+
def __init__(self):
|
5694
|
+
r"""
|
5695
|
+
:param _ImageFilters: 镜像过滤器
|
5696
|
+
:type ImageFilters: list of ImageFIlter
|
5697
|
+
"""
|
5698
|
+
self._ImageFilters = None
|
5699
|
+
|
5700
|
+
@property
|
5701
|
+
def ImageFilters(self):
|
5702
|
+
"""镜像过滤器
|
5703
|
+
:rtype: list of ImageFIlter
|
5704
|
+
"""
|
5705
|
+
return self._ImageFilters
|
5706
|
+
|
5707
|
+
@ImageFilters.setter
|
5708
|
+
def ImageFilters(self, ImageFilters):
|
5709
|
+
self._ImageFilters = ImageFilters
|
5710
|
+
|
5711
|
+
|
5712
|
+
def _deserialize(self, params):
|
5713
|
+
if params.get("ImageFilters") is not None:
|
5714
|
+
self._ImageFilters = []
|
5715
|
+
for item in params.get("ImageFilters"):
|
5716
|
+
obj = ImageFIlter()
|
5717
|
+
obj._deserialize(item)
|
5718
|
+
self._ImageFilters.append(obj)
|
5719
|
+
memeber_set = set(params.keys())
|
5720
|
+
for name, value in vars(self).items():
|
5721
|
+
property_name = name[1:]
|
5722
|
+
if property_name in memeber_set:
|
5723
|
+
memeber_set.remove(property_name)
|
5724
|
+
if len(memeber_set) > 0:
|
5725
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5726
|
+
|
5727
|
+
|
5728
|
+
|
5729
|
+
class DescribeBuildInImagesResponse(AbstractModel):
|
5730
|
+
"""DescribeBuildInImages返回参数结构体
|
5731
|
+
|
5732
|
+
"""
|
5733
|
+
|
5734
|
+
def __init__(self):
|
5735
|
+
r"""
|
5736
|
+
:param _BuildInImageInfos: 内置镜像详情列表
|
5737
|
+
:type BuildInImageInfos: list of ImageInfo
|
5738
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5739
|
+
:type RequestId: str
|
5740
|
+
"""
|
5741
|
+
self._BuildInImageInfos = None
|
5742
|
+
self._RequestId = None
|
5743
|
+
|
5744
|
+
@property
|
5745
|
+
def BuildInImageInfos(self):
|
5746
|
+
"""内置镜像详情列表
|
5747
|
+
:rtype: list of ImageInfo
|
5748
|
+
"""
|
5749
|
+
return self._BuildInImageInfos
|
5750
|
+
|
5751
|
+
@BuildInImageInfos.setter
|
5752
|
+
def BuildInImageInfos(self, BuildInImageInfos):
|
5753
|
+
self._BuildInImageInfos = BuildInImageInfos
|
5754
|
+
|
5755
|
+
@property
|
5756
|
+
def RequestId(self):
|
5757
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5758
|
+
:rtype: str
|
5759
|
+
"""
|
5760
|
+
return self._RequestId
|
5761
|
+
|
5762
|
+
@RequestId.setter
|
5763
|
+
def RequestId(self, RequestId):
|
5764
|
+
self._RequestId = RequestId
|
5765
|
+
|
5766
|
+
|
5767
|
+
def _deserialize(self, params):
|
5768
|
+
if params.get("BuildInImageInfos") is not None:
|
5769
|
+
self._BuildInImageInfos = []
|
5770
|
+
for item in params.get("BuildInImageInfos"):
|
5771
|
+
obj = ImageInfo()
|
5772
|
+
obj._deserialize(item)
|
5773
|
+
self._BuildInImageInfos.append(obj)
|
5774
|
+
self._RequestId = params.get("RequestId")
|
5775
|
+
|
5776
|
+
|
5777
|
+
class DescribeDatasetsRequest(AbstractModel):
|
5778
|
+
"""DescribeDatasets请求参数结构体
|
5779
|
+
|
5780
|
+
"""
|
5781
|
+
|
5782
|
+
def __init__(self):
|
5783
|
+
r"""
|
5784
|
+
:param _DatasetIds: 数据集id列表
|
5785
|
+
:type DatasetIds: list of str
|
5786
|
+
:param _Filters: 数据集查询过滤条件,多个Filter之间的关系为逻辑与(AND)关系,过滤字段Filter.Name,类型为String
|
5787
|
+
DatasetName,数据集名称
|
5788
|
+
DatasetScope,数据集范围,SCOPE_DATASET_PRIVATE或SCOPE_DATASET_PUBLIC
|
5789
|
+
:type Filters: list of Filter
|
5790
|
+
:param _TagFilters: 标签过滤条件
|
5791
|
+
:type TagFilters: list of TagFilter
|
5792
|
+
:param _Order: 排序值,支持Asc或Desc,默认Desc
|
5793
|
+
:type Order: str
|
5794
|
+
:param _OrderField: 排序字段,支持CreateTime或UpdateTime,默认CreateTime
|
5795
|
+
:type OrderField: str
|
5796
|
+
:param _Offset: 偏移值
|
5797
|
+
:type Offset: int
|
5798
|
+
:param _Limit: 返回数据个数,默认20,最大支持200
|
5799
|
+
:type Limit: int
|
5800
|
+
:param _CFSChecking: 是否检查CFS。若开启,则在CFS挂载好之前,不会返回数据集列表。
|
5801
|
+
:type CFSChecking: bool
|
5802
|
+
:param _CFSDetail: 是否返回CFS详情。
|
5803
|
+
:type CFSDetail: bool
|
5804
|
+
"""
|
5805
|
+
self._DatasetIds = None
|
5806
|
+
self._Filters = None
|
5807
|
+
self._TagFilters = None
|
5808
|
+
self._Order = None
|
5809
|
+
self._OrderField = None
|
5810
|
+
self._Offset = None
|
5811
|
+
self._Limit = None
|
5812
|
+
self._CFSChecking = None
|
5813
|
+
self._CFSDetail = None
|
5814
|
+
|
5815
|
+
@property
|
5816
|
+
def DatasetIds(self):
|
5817
|
+
"""数据集id列表
|
5818
|
+
:rtype: list of str
|
5819
|
+
"""
|
5820
|
+
return self._DatasetIds
|
5821
|
+
|
5822
|
+
@DatasetIds.setter
|
5823
|
+
def DatasetIds(self, DatasetIds):
|
5824
|
+
self._DatasetIds = DatasetIds
|
5825
|
+
|
5826
|
+
@property
|
5827
|
+
def Filters(self):
|
5828
|
+
"""数据集查询过滤条件,多个Filter之间的关系为逻辑与(AND)关系,过滤字段Filter.Name,类型为String
|
5829
|
+
DatasetName,数据集名称
|
5830
|
+
DatasetScope,数据集范围,SCOPE_DATASET_PRIVATE或SCOPE_DATASET_PUBLIC
|
5831
|
+
:rtype: list of Filter
|
5832
|
+
"""
|
5833
|
+
return self._Filters
|
5302
5834
|
|
5303
5835
|
@Filters.setter
|
5304
5836
|
def Filters(self, Filters):
|
@@ -5359,6 +5891,28 @@ DatasetScope,数据集范围,SCOPE_DATASET_PRIVATE或SCOPE_DATASET_PUBLIC
|
|
5359
5891
|
def Limit(self, Limit):
|
5360
5892
|
self._Limit = Limit
|
5361
5893
|
|
5894
|
+
@property
|
5895
|
+
def CFSChecking(self):
|
5896
|
+
"""是否检查CFS。若开启,则在CFS挂载好之前,不会返回数据集列表。
|
5897
|
+
:rtype: bool
|
5898
|
+
"""
|
5899
|
+
return self._CFSChecking
|
5900
|
+
|
5901
|
+
@CFSChecking.setter
|
5902
|
+
def CFSChecking(self, CFSChecking):
|
5903
|
+
self._CFSChecking = CFSChecking
|
5904
|
+
|
5905
|
+
@property
|
5906
|
+
def CFSDetail(self):
|
5907
|
+
"""是否返回CFS详情。
|
5908
|
+
:rtype: bool
|
5909
|
+
"""
|
5910
|
+
return self._CFSDetail
|
5911
|
+
|
5912
|
+
@CFSDetail.setter
|
5913
|
+
def CFSDetail(self, CFSDetail):
|
5914
|
+
self._CFSDetail = CFSDetail
|
5915
|
+
|
5362
5916
|
|
5363
5917
|
def _deserialize(self, params):
|
5364
5918
|
self._DatasetIds = params.get("DatasetIds")
|
@@ -5378,6 +5932,8 @@ DatasetScope,数据集范围,SCOPE_DATASET_PRIVATE或SCOPE_DATASET_PUBLIC
|
|
5378
5932
|
self._OrderField = params.get("OrderField")
|
5379
5933
|
self._Offset = params.get("Offset")
|
5380
5934
|
self._Limit = params.get("Limit")
|
5935
|
+
self._CFSChecking = params.get("CFSChecking")
|
5936
|
+
self._CFSDetail = params.get("CFSDetail")
|
5381
5937
|
memeber_set = set(params.keys())
|
5382
5938
|
for name, value in vars(self).items():
|
5383
5939
|
property_name = name[1:]
|
@@ -5404,12 +5960,15 @@ class DescribeDatasetsResponse(AbstractModel):
|
|
5404
5960
|
:param _DatasetIdNums: 数据集ID总量
|
5405
5961
|
注意:此字段可能返回 null,表示取不到有效值。
|
5406
5962
|
:type DatasetIdNums: int
|
5963
|
+
:param _CFSNotReady: 若开启了CFSChecking,则检查CFS是否准备完毕。若CFS未准备完毕,则返回true,并且TotalCount为0,DatasetGroups为空。
|
5964
|
+
:type CFSNotReady: bool
|
5407
5965
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5408
5966
|
:type RequestId: str
|
5409
5967
|
"""
|
5410
5968
|
self._TotalCount = None
|
5411
5969
|
self._DatasetGroups = None
|
5412
5970
|
self._DatasetIdNums = None
|
5971
|
+
self._CFSNotReady = None
|
5413
5972
|
self._RequestId = None
|
5414
5973
|
|
5415
5974
|
@property
|
@@ -5448,6 +6007,17 @@ class DescribeDatasetsResponse(AbstractModel):
|
|
5448
6007
|
def DatasetIdNums(self, DatasetIdNums):
|
5449
6008
|
self._DatasetIdNums = DatasetIdNums
|
5450
6009
|
|
6010
|
+
@property
|
6011
|
+
def CFSNotReady(self):
|
6012
|
+
"""若开启了CFSChecking,则检查CFS是否准备完毕。若CFS未准备完毕,则返回true,并且TotalCount为0,DatasetGroups为空。
|
6013
|
+
:rtype: bool
|
6014
|
+
"""
|
6015
|
+
return self._CFSNotReady
|
6016
|
+
|
6017
|
+
@CFSNotReady.setter
|
6018
|
+
def CFSNotReady(self, CFSNotReady):
|
6019
|
+
self._CFSNotReady = CFSNotReady
|
6020
|
+
|
5451
6021
|
@property
|
5452
6022
|
def RequestId(self):
|
5453
6023
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -5469,6 +6039,7 @@ class DescribeDatasetsResponse(AbstractModel):
|
|
5469
6039
|
obj._deserialize(item)
|
5470
6040
|
self._DatasetGroups.append(obj)
|
5471
6041
|
self._DatasetIdNums = params.get("DatasetIdNums")
|
6042
|
+
self._CFSNotReady = params.get("CFSNotReady")
|
5472
6043
|
self._RequestId = params.get("RequestId")
|
5473
6044
|
|
5474
6045
|
|
@@ -6792,10 +7363,8 @@ class DescribeNotebooksResponse(AbstractModel):
|
|
6792
7363
|
def __init__(self):
|
6793
7364
|
r"""
|
6794
7365
|
:param _NotebookSet: 详情
|
6795
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6796
7366
|
:type NotebookSet: list of NotebookSetItem
|
6797
7367
|
:param _TotalCount: 总条数
|
6798
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6799
7368
|
:type TotalCount: int
|
6800
7369
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6801
7370
|
:type RequestId: str
|
@@ -6807,7 +7376,6 @@ class DescribeNotebooksResponse(AbstractModel):
|
|
6807
7376
|
@property
|
6808
7377
|
def NotebookSet(self):
|
6809
7378
|
"""详情
|
6810
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6811
7379
|
:rtype: list of NotebookSetItem
|
6812
7380
|
"""
|
6813
7381
|
return self._NotebookSet
|
@@ -6819,7 +7387,6 @@ class DescribeNotebooksResponse(AbstractModel):
|
|
6819
7387
|
@property
|
6820
7388
|
def TotalCount(self):
|
6821
7389
|
"""总条数
|
6822
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6823
7390
|
:rtype: int
|
6824
7391
|
"""
|
6825
7392
|
return self._TotalCount
|
@@ -8217,9 +8784,6 @@ class ImageInfo(AbstractModel):
|
|
8217
8784
|
:param _SupportDataPipeline: 是否支持数据构建
|
8218
8785
|
注意:此字段可能返回 null,表示取不到有效值。
|
8219
8786
|
:type SupportDataPipeline: bool
|
8220
|
-
:param _ImageSecret: 镜像仓库用户名密码信息(仅当ImageType为CUSTOM第三方镜像的时候需要)
|
8221
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8222
|
-
:type ImageSecret: :class:`tencentcloud.tione.v20211111.models.ImageSecret`
|
8223
8787
|
"""
|
8224
8788
|
self._ImageType = None
|
8225
8789
|
self._ImageUrl = None
|
@@ -8228,7 +8792,6 @@ class ImageInfo(AbstractModel):
|
|
8228
8792
|
self._AllowSaveAllContent = None
|
8229
8793
|
self._ImageName = None
|
8230
8794
|
self._SupportDataPipeline = None
|
8231
|
-
self._ImageSecret = None
|
8232
8795
|
|
8233
8796
|
@property
|
8234
8797
|
def ImageType(self):
|
@@ -8312,18 +8875,6 @@ class ImageInfo(AbstractModel):
|
|
8312
8875
|
def SupportDataPipeline(self, SupportDataPipeline):
|
8313
8876
|
self._SupportDataPipeline = SupportDataPipeline
|
8314
8877
|
|
8315
|
-
@property
|
8316
|
-
def ImageSecret(self):
|
8317
|
-
"""镜像仓库用户名密码信息(仅当ImageType为CUSTOM第三方镜像的时候需要)
|
8318
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8319
|
-
:rtype: :class:`tencentcloud.tione.v20211111.models.ImageSecret`
|
8320
|
-
"""
|
8321
|
-
return self._ImageSecret
|
8322
|
-
|
8323
|
-
@ImageSecret.setter
|
8324
|
-
def ImageSecret(self, ImageSecret):
|
8325
|
-
self._ImageSecret = ImageSecret
|
8326
|
-
|
8327
8878
|
|
8328
8879
|
def _deserialize(self, params):
|
8329
8880
|
self._ImageType = params.get("ImageType")
|
@@ -8333,9 +8884,6 @@ class ImageInfo(AbstractModel):
|
|
8333
8884
|
self._AllowSaveAllContent = params.get("AllowSaveAllContent")
|
8334
8885
|
self._ImageName = params.get("ImageName")
|
8335
8886
|
self._SupportDataPipeline = params.get("SupportDataPipeline")
|
8336
|
-
if params.get("ImageSecret") is not None:
|
8337
|
-
self._ImageSecret = ImageSecret()
|
8338
|
-
self._ImageSecret._deserialize(params.get("ImageSecret"))
|
8339
8887
|
memeber_set = set(params.keys())
|
8340
8888
|
for name, value in vars(self).items():
|
8341
8889
|
property_name = name[1:]
|
@@ -8346,68 +8894,32 @@ class ImageInfo(AbstractModel):
|
|
8346
8894
|
|
8347
8895
|
|
8348
8896
|
|
8349
|
-
class
|
8350
|
-
"""
|
8897
|
+
class ImageUrl(AbstractModel):
|
8898
|
+
"""多模态对话图片信息
|
8351
8899
|
|
8352
8900
|
"""
|
8353
8901
|
|
8354
8902
|
def __init__(self):
|
8355
8903
|
r"""
|
8356
|
-
:param
|
8357
|
-
|
8358
|
-
:type KeyId: str
|
8359
|
-
:param _Username: 用户名
|
8360
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8361
|
-
:type Username: str
|
8362
|
-
:param _Password: 密码,base64编码; 当keyId不为空时,密码是加密后的
|
8363
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8364
|
-
:type Password: str
|
8365
|
-
"""
|
8366
|
-
self._KeyId = None
|
8367
|
-
self._Username = None
|
8368
|
-
self._Password = None
|
8369
|
-
|
8370
|
-
@property
|
8371
|
-
def KeyId(self):
|
8372
|
-
"""用于加密密码的KMS公钥ID
|
8373
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8374
|
-
:rtype: str
|
8375
|
-
"""
|
8376
|
-
return self._KeyId
|
8377
|
-
|
8378
|
-
@KeyId.setter
|
8379
|
-
def KeyId(self, KeyId):
|
8380
|
-
self._KeyId = KeyId
|
8381
|
-
|
8382
|
-
@property
|
8383
|
-
def Username(self):
|
8384
|
-
"""用户名
|
8385
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8386
|
-
:rtype: str
|
8904
|
+
:param _Url: 图片url
|
8905
|
+
:type Url: str
|
8387
8906
|
"""
|
8388
|
-
|
8389
|
-
|
8390
|
-
@Username.setter
|
8391
|
-
def Username(self, Username):
|
8392
|
-
self._Username = Username
|
8907
|
+
self._Url = None
|
8393
8908
|
|
8394
8909
|
@property
|
8395
|
-
def
|
8396
|
-
"""
|
8397
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8910
|
+
def Url(self):
|
8911
|
+
"""图片url
|
8398
8912
|
:rtype: str
|
8399
8913
|
"""
|
8400
|
-
return self.
|
8914
|
+
return self._Url
|
8401
8915
|
|
8402
|
-
@
|
8403
|
-
def
|
8404
|
-
self.
|
8916
|
+
@Url.setter
|
8917
|
+
def Url(self, Url):
|
8918
|
+
self._Url = Url
|
8405
8919
|
|
8406
8920
|
|
8407
8921
|
def _deserialize(self, params):
|
8408
|
-
self.
|
8409
|
-
self._Username = params.get("Username")
|
8410
|
-
self._Password = params.get("Password")
|
8922
|
+
self._Url = params.get("Url")
|
8411
8923
|
memeber_set = set(params.keys())
|
8412
8924
|
for name, value in vars(self).items():
|
8413
8925
|
property_name = name[1:]
|
@@ -9344,19 +9856,19 @@ class Message(AbstractModel):
|
|
9344
9856
|
def __init__(self):
|
9345
9857
|
r"""
|
9346
9858
|
:param _Role: 角色名。支持三个角色:system、user、assistant,其中system仅开头可出现一次,也可忽略。
|
9347
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9348
9859
|
:type Role: str
|
9349
9860
|
:param _Content: 对话输入内容。
|
9350
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9351
9861
|
:type Content: str
|
9862
|
+
:param _MultiModalContents: 多模态对话输入内容,Content与MultiModalContents两者只需要填写其中一个即可,当对话中包含多模态对话信息时,则填写本参数
|
9863
|
+
:type MultiModalContents: list of MultiModalContent
|
9352
9864
|
"""
|
9353
9865
|
self._Role = None
|
9354
9866
|
self._Content = None
|
9867
|
+
self._MultiModalContents = None
|
9355
9868
|
|
9356
9869
|
@property
|
9357
9870
|
def Role(self):
|
9358
9871
|
"""角色名。支持三个角色:system、user、assistant,其中system仅开头可出现一次,也可忽略。
|
9359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9360
9872
|
:rtype: str
|
9361
9873
|
"""
|
9362
9874
|
return self._Role
|
@@ -9368,7 +9880,6 @@ class Message(AbstractModel):
|
|
9368
9880
|
@property
|
9369
9881
|
def Content(self):
|
9370
9882
|
"""对话输入内容。
|
9371
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9372
9883
|
:rtype: str
|
9373
9884
|
"""
|
9374
9885
|
return self._Content
|
@@ -9377,10 +9888,27 @@ class Message(AbstractModel):
|
|
9377
9888
|
def Content(self, Content):
|
9378
9889
|
self._Content = Content
|
9379
9890
|
|
9891
|
+
@property
|
9892
|
+
def MultiModalContents(self):
|
9893
|
+
"""多模态对话输入内容,Content与MultiModalContents两者只需要填写其中一个即可,当对话中包含多模态对话信息时,则填写本参数
|
9894
|
+
:rtype: list of MultiModalContent
|
9895
|
+
"""
|
9896
|
+
return self._MultiModalContents
|
9897
|
+
|
9898
|
+
@MultiModalContents.setter
|
9899
|
+
def MultiModalContents(self, MultiModalContents):
|
9900
|
+
self._MultiModalContents = MultiModalContents
|
9901
|
+
|
9380
9902
|
|
9381
9903
|
def _deserialize(self, params):
|
9382
9904
|
self._Role = params.get("Role")
|
9383
9905
|
self._Content = params.get("Content")
|
9906
|
+
if params.get("MultiModalContents") is not None:
|
9907
|
+
self._MultiModalContents = []
|
9908
|
+
for item in params.get("MultiModalContents"):
|
9909
|
+
obj = MultiModalContent()
|
9910
|
+
obj._deserialize(item)
|
9911
|
+
self._MultiModalContents.append(obj)
|
9384
9912
|
memeber_set = set(params.keys())
|
9385
9913
|
for name, value in vars(self).items():
|
9386
9914
|
property_name = name[1:]
|
@@ -9628,6 +10156,15 @@ class ModelAccelerateTask(AbstractModel):
|
|
9628
10156
|
:param _FrameworkVersion: 加速引擎对应的框架版本
|
9629
10157
|
注意:此字段可能返回 null,表示取不到有效值。
|
9630
10158
|
:type FrameworkVersion: str
|
10159
|
+
:param _ModelVersionId: 模型版本ID
|
10160
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10161
|
+
:type ModelVersionId: str
|
10162
|
+
:param _ResourceGroupId: 资源组id
|
10163
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10164
|
+
:type ResourceGroupId: str
|
10165
|
+
:param _ResourceGroupName: 资源组名称
|
10166
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10167
|
+
:type ResourceGroupName: str
|
9631
10168
|
"""
|
9632
10169
|
self._ModelAccTaskId = None
|
9633
10170
|
self._ModelAccTaskName = None
|
@@ -9658,6 +10195,9 @@ class ModelAccelerateTask(AbstractModel):
|
|
9658
10195
|
self._ModelSignature = None
|
9659
10196
|
self._QATModel = None
|
9660
10197
|
self._FrameworkVersion = None
|
10198
|
+
self._ModelVersionId = None
|
10199
|
+
self._ResourceGroupId = None
|
10200
|
+
self._ResourceGroupName = None
|
9661
10201
|
|
9662
10202
|
@property
|
9663
10203
|
def ModelAccTaskId(self):
|
@@ -10007,6 +10547,42 @@ class ModelAccelerateTask(AbstractModel):
|
|
10007
10547
|
def FrameworkVersion(self, FrameworkVersion):
|
10008
10548
|
self._FrameworkVersion = FrameworkVersion
|
10009
10549
|
|
10550
|
+
@property
|
10551
|
+
def ModelVersionId(self):
|
10552
|
+
"""模型版本ID
|
10553
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10554
|
+
:rtype: str
|
10555
|
+
"""
|
10556
|
+
return self._ModelVersionId
|
10557
|
+
|
10558
|
+
@ModelVersionId.setter
|
10559
|
+
def ModelVersionId(self, ModelVersionId):
|
10560
|
+
self._ModelVersionId = ModelVersionId
|
10561
|
+
|
10562
|
+
@property
|
10563
|
+
def ResourceGroupId(self):
|
10564
|
+
"""资源组id
|
10565
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10566
|
+
:rtype: str
|
10567
|
+
"""
|
10568
|
+
return self._ResourceGroupId
|
10569
|
+
|
10570
|
+
@ResourceGroupId.setter
|
10571
|
+
def ResourceGroupId(self, ResourceGroupId):
|
10572
|
+
self._ResourceGroupId = ResourceGroupId
|
10573
|
+
|
10574
|
+
@property
|
10575
|
+
def ResourceGroupName(self):
|
10576
|
+
"""资源组名称
|
10577
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10578
|
+
:rtype: str
|
10579
|
+
"""
|
10580
|
+
return self._ResourceGroupName
|
10581
|
+
|
10582
|
+
@ResourceGroupName.setter
|
10583
|
+
def ResourceGroupName(self, ResourceGroupName):
|
10584
|
+
self._ResourceGroupName = ResourceGroupName
|
10585
|
+
|
10010
10586
|
|
10011
10587
|
def _deserialize(self, params):
|
10012
10588
|
self._ModelAccTaskId = params.get("ModelAccTaskId")
|
@@ -10054,6 +10630,9 @@ class ModelAccelerateTask(AbstractModel):
|
|
10054
10630
|
self._ModelSignature = params.get("ModelSignature")
|
10055
10631
|
self._QATModel = params.get("QATModel")
|
10056
10632
|
self._FrameworkVersion = params.get("FrameworkVersion")
|
10633
|
+
self._ModelVersionId = params.get("ModelVersionId")
|
10634
|
+
self._ResourceGroupId = params.get("ResourceGroupId")
|
10635
|
+
self._ResourceGroupName = params.get("ResourceGroupName")
|
10057
10636
|
memeber_set = set(params.keys())
|
10058
10637
|
for name, value in vars(self).items():
|
10059
10638
|
property_name = name[1:]
|
@@ -10378,6 +10957,8 @@ class ModelInfo(AbstractModel):
|
|
10378
10957
|
:param _IsPrivateModel: 是否为私有化大模型
|
10379
10958
|
注意:此字段可能返回 null,表示取不到有效值。
|
10380
10959
|
:type IsPrivateModel: bool
|
10960
|
+
:param _ModelCategory: 模型的类别 多模态MultiModal, 文本大模型 LLM
|
10961
|
+
:type ModelCategory: str
|
10381
10962
|
"""
|
10382
10963
|
self._ModelVersionId = None
|
10383
10964
|
self._ModelId = None
|
@@ -10389,6 +10970,7 @@ class ModelInfo(AbstractModel):
|
|
10389
10970
|
self._ModelType = None
|
10390
10971
|
self._ModelFormat = None
|
10391
10972
|
self._IsPrivateModel = None
|
10973
|
+
self._ModelCategory = None
|
10392
10974
|
|
10393
10975
|
@property
|
10394
10976
|
def ModelVersionId(self):
|
@@ -10505,6 +11087,17 @@ class ModelInfo(AbstractModel):
|
|
10505
11087
|
def IsPrivateModel(self, IsPrivateModel):
|
10506
11088
|
self._IsPrivateModel = IsPrivateModel
|
10507
11089
|
|
11090
|
+
@property
|
11091
|
+
def ModelCategory(self):
|
11092
|
+
"""模型的类别 多模态MultiModal, 文本大模型 LLM
|
11093
|
+
:rtype: str
|
11094
|
+
"""
|
11095
|
+
return self._ModelCategory
|
11096
|
+
|
11097
|
+
@ModelCategory.setter
|
11098
|
+
def ModelCategory(self, ModelCategory):
|
11099
|
+
self._ModelCategory = ModelCategory
|
11100
|
+
|
10508
11101
|
|
10509
11102
|
def _deserialize(self, params):
|
10510
11103
|
self._ModelVersionId = params.get("ModelVersionId")
|
@@ -10519,6 +11112,7 @@ class ModelInfo(AbstractModel):
|
|
10519
11112
|
self._ModelType = params.get("ModelType")
|
10520
11113
|
self._ModelFormat = params.get("ModelFormat")
|
10521
11114
|
self._IsPrivateModel = params.get("IsPrivateModel")
|
11115
|
+
self._ModelCategory = params.get("ModelCategory")
|
10522
11116
|
memeber_set = set(params.keys())
|
10523
11117
|
for name, value in vars(self).items():
|
10524
11118
|
property_name = name[1:]
|
@@ -10878,6 +11472,8 @@ HYBRID_PAID:
|
|
10878
11472
|
:type CommandBase64: str
|
10879
11473
|
:param _ServicePort: 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092
|
10880
11474
|
:type ServicePort: int
|
11475
|
+
:param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
11476
|
+
:type InstancePerReplicas: int
|
10881
11477
|
"""
|
10882
11478
|
self._ServiceId = None
|
10883
11479
|
self._ModelInfo = None
|
@@ -10904,6 +11500,7 @@ HYBRID_PAID:
|
|
10904
11500
|
self._ServiceEIP = None
|
10905
11501
|
self._CommandBase64 = None
|
10906
11502
|
self._ServicePort = None
|
11503
|
+
self._InstancePerReplicas = None
|
10907
11504
|
|
10908
11505
|
@property
|
10909
11506
|
def ServiceId(self):
|
@@ -11203,6 +11800,17 @@ HYBRID_PAID:
|
|
11203
11800
|
def ServicePort(self, ServicePort):
|
11204
11801
|
self._ServicePort = ServicePort
|
11205
11802
|
|
11803
|
+
@property
|
11804
|
+
def InstancePerReplicas(self):
|
11805
|
+
"""单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
11806
|
+
:rtype: int
|
11807
|
+
"""
|
11808
|
+
return self._InstancePerReplicas
|
11809
|
+
|
11810
|
+
@InstancePerReplicas.setter
|
11811
|
+
def InstancePerReplicas(self, InstancePerReplicas):
|
11812
|
+
self._InstancePerReplicas = InstancePerReplicas
|
11813
|
+
|
11206
11814
|
|
11207
11815
|
def _deserialize(self, params):
|
11208
11816
|
self._ServiceId = params.get("ServiceId")
|
@@ -11258,6 +11866,7 @@ HYBRID_PAID:
|
|
11258
11866
|
self._ServiceEIP._deserialize(params.get("ServiceEIP"))
|
11259
11867
|
self._CommandBase64 = params.get("CommandBase64")
|
11260
11868
|
self._ServicePort = params.get("ServicePort")
|
11869
|
+
self._InstancePerReplicas = params.get("InstancePerReplicas")
|
11261
11870
|
memeber_set = set(params.keys())
|
11262
11871
|
for name, value in vars(self).items():
|
11263
11872
|
property_name = name[1:]
|
@@ -11315,6 +11924,74 @@ class ModifyModelServiceResponse(AbstractModel):
|
|
11315
11924
|
self._RequestId = params.get("RequestId")
|
11316
11925
|
|
11317
11926
|
|
11927
|
+
class MultiModalContent(AbstractModel):
|
11928
|
+
"""多模态对话内容,支持图片与文字信息
|
11929
|
+
|
11930
|
+
"""
|
11931
|
+
|
11932
|
+
def __init__(self):
|
11933
|
+
r"""
|
11934
|
+
:param _Type: 对话类型,text表示文本对话内容,image_url表示图片对话内容
|
11935
|
+
:type Type: str
|
11936
|
+
:param _Text: 文本对话内容,当Type为text时需要填写该值
|
11937
|
+
:type Text: str
|
11938
|
+
:param _ImageUrl: 图片对话内容,当Type为image_url时需要填写该值
|
11939
|
+
:type ImageUrl: :class:`tencentcloud.tione.v20211111.models.ImageUrl`
|
11940
|
+
"""
|
11941
|
+
self._Type = None
|
11942
|
+
self._Text = None
|
11943
|
+
self._ImageUrl = None
|
11944
|
+
|
11945
|
+
@property
|
11946
|
+
def Type(self):
|
11947
|
+
"""对话类型,text表示文本对话内容,image_url表示图片对话内容
|
11948
|
+
:rtype: str
|
11949
|
+
"""
|
11950
|
+
return self._Type
|
11951
|
+
|
11952
|
+
@Type.setter
|
11953
|
+
def Type(self, Type):
|
11954
|
+
self._Type = Type
|
11955
|
+
|
11956
|
+
@property
|
11957
|
+
def Text(self):
|
11958
|
+
"""文本对话内容,当Type为text时需要填写该值
|
11959
|
+
:rtype: str
|
11960
|
+
"""
|
11961
|
+
return self._Text
|
11962
|
+
|
11963
|
+
@Text.setter
|
11964
|
+
def Text(self, Text):
|
11965
|
+
self._Text = Text
|
11966
|
+
|
11967
|
+
@property
|
11968
|
+
def ImageUrl(self):
|
11969
|
+
"""图片对话内容,当Type为image_url时需要填写该值
|
11970
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ImageUrl`
|
11971
|
+
"""
|
11972
|
+
return self._ImageUrl
|
11973
|
+
|
11974
|
+
@ImageUrl.setter
|
11975
|
+
def ImageUrl(self, ImageUrl):
|
11976
|
+
self._ImageUrl = ImageUrl
|
11977
|
+
|
11978
|
+
|
11979
|
+
def _deserialize(self, params):
|
11980
|
+
self._Type = params.get("Type")
|
11981
|
+
self._Text = params.get("Text")
|
11982
|
+
if params.get("ImageUrl") is not None:
|
11983
|
+
self._ImageUrl = ImageUrl()
|
11984
|
+
self._ImageUrl._deserialize(params.get("ImageUrl"))
|
11985
|
+
memeber_set = set(params.keys())
|
11986
|
+
for name, value in vars(self).items():
|
11987
|
+
property_name = name[1:]
|
11988
|
+
if property_name in memeber_set:
|
11989
|
+
memeber_set.remove(property_name)
|
11990
|
+
if len(memeber_set) > 0:
|
11991
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11992
|
+
|
11993
|
+
|
11994
|
+
|
11318
11995
|
class NotebookDetail(AbstractModel):
|
11319
11996
|
"""类型NotebookDetail
|
11320
11997
|
|
@@ -11431,6 +12108,14 @@ class NotebookDetail(AbstractModel):
|
|
11431
12108
|
:param _VolumeSourceGooseFS: GooseFS存储配置
|
11432
12109
|
注意:此字段可能返回 null,表示取不到有效值。
|
11433
12110
|
:type VolumeSourceGooseFS: :class:`tencentcloud.tione.v20211111.models.GooseFS`
|
12111
|
+
:param _SubUin: 子用户ID
|
12112
|
+
:type SubUin: str
|
12113
|
+
:param _ResourceGroupInstanceId: 调度节点ID
|
12114
|
+
:type ResourceGroupInstanceId: str
|
12115
|
+
:param _SubUinName: 子用户名称
|
12116
|
+
:type SubUinName: str
|
12117
|
+
:param _JobCreateTime: 任务实例创建时间
|
12118
|
+
:type JobCreateTime: str
|
11434
12119
|
"""
|
11435
12120
|
self._Id = None
|
11436
12121
|
self._Name = None
|
@@ -11471,6 +12156,10 @@ class NotebookDetail(AbstractModel):
|
|
11471
12156
|
self._ImageType = None
|
11472
12157
|
self._SSHConfig = None
|
11473
12158
|
self._VolumeSourceGooseFS = None
|
12159
|
+
self._SubUin = None
|
12160
|
+
self._ResourceGroupInstanceId = None
|
12161
|
+
self._SubUinName = None
|
12162
|
+
self._JobCreateTime = None
|
11474
12163
|
|
11475
12164
|
@property
|
11476
12165
|
def Id(self):
|
@@ -11932,6 +12621,50 @@ class NotebookDetail(AbstractModel):
|
|
11932
12621
|
def VolumeSourceGooseFS(self, VolumeSourceGooseFS):
|
11933
12622
|
self._VolumeSourceGooseFS = VolumeSourceGooseFS
|
11934
12623
|
|
12624
|
+
@property
|
12625
|
+
def SubUin(self):
|
12626
|
+
"""子用户ID
|
12627
|
+
:rtype: str
|
12628
|
+
"""
|
12629
|
+
return self._SubUin
|
12630
|
+
|
12631
|
+
@SubUin.setter
|
12632
|
+
def SubUin(self, SubUin):
|
12633
|
+
self._SubUin = SubUin
|
12634
|
+
|
12635
|
+
@property
|
12636
|
+
def ResourceGroupInstanceId(self):
|
12637
|
+
"""调度节点ID
|
12638
|
+
:rtype: str
|
12639
|
+
"""
|
12640
|
+
return self._ResourceGroupInstanceId
|
12641
|
+
|
12642
|
+
@ResourceGroupInstanceId.setter
|
12643
|
+
def ResourceGroupInstanceId(self, ResourceGroupInstanceId):
|
12644
|
+
self._ResourceGroupInstanceId = ResourceGroupInstanceId
|
12645
|
+
|
12646
|
+
@property
|
12647
|
+
def SubUinName(self):
|
12648
|
+
"""子用户名称
|
12649
|
+
:rtype: str
|
12650
|
+
"""
|
12651
|
+
return self._SubUinName
|
12652
|
+
|
12653
|
+
@SubUinName.setter
|
12654
|
+
def SubUinName(self, SubUinName):
|
12655
|
+
self._SubUinName = SubUinName
|
12656
|
+
|
12657
|
+
@property
|
12658
|
+
def JobCreateTime(self):
|
12659
|
+
"""任务实例创建时间
|
12660
|
+
:rtype: str
|
12661
|
+
"""
|
12662
|
+
return self._JobCreateTime
|
12663
|
+
|
12664
|
+
@JobCreateTime.setter
|
12665
|
+
def JobCreateTime(self, JobCreateTime):
|
12666
|
+
self._JobCreateTime = JobCreateTime
|
12667
|
+
|
11935
12668
|
|
11936
12669
|
def _deserialize(self, params):
|
11937
12670
|
self._Id = params.get("Id")
|
@@ -11995,6 +12728,10 @@ class NotebookDetail(AbstractModel):
|
|
11995
12728
|
if params.get("VolumeSourceGooseFS") is not None:
|
11996
12729
|
self._VolumeSourceGooseFS = GooseFS()
|
11997
12730
|
self._VolumeSourceGooseFS._deserialize(params.get("VolumeSourceGooseFS"))
|
12731
|
+
self._SubUin = params.get("SubUin")
|
12732
|
+
self._ResourceGroupInstanceId = params.get("ResourceGroupInstanceId")
|
12733
|
+
self._SubUinName = params.get("SubUinName")
|
12734
|
+
self._JobCreateTime = params.get("JobCreateTime")
|
11998
12735
|
memeber_set = set(params.keys())
|
11999
12736
|
for name, value in vars(self).items():
|
12000
12737
|
property_name = name[1:]
|
@@ -12089,6 +12826,8 @@ class NotebookSetItem(AbstractModel):
|
|
12089
12826
|
:param _VolumeSourceGooseFS: GooseFS存储配置
|
12090
12827
|
注意:此字段可能返回 null,表示取不到有效值。
|
12091
12828
|
:type VolumeSourceGooseFS: :class:`tencentcloud.tione.v20211111.models.GooseFS`
|
12829
|
+
:param _SubUinName: 子用户名称
|
12830
|
+
:type SubUinName: str
|
12092
12831
|
"""
|
12093
12832
|
self._Id = None
|
12094
12833
|
self._Name = None
|
@@ -12117,6 +12856,7 @@ class NotebookSetItem(AbstractModel):
|
|
12117
12856
|
self._UserTypes = None
|
12118
12857
|
self._SSHConfig = None
|
12119
12858
|
self._VolumeSourceGooseFS = None
|
12859
|
+
self._SubUinName = None
|
12120
12860
|
|
12121
12861
|
@property
|
12122
12862
|
def Id(self):
|
@@ -12438,6 +13178,17 @@ class NotebookSetItem(AbstractModel):
|
|
12438
13178
|
def VolumeSourceGooseFS(self, VolumeSourceGooseFS):
|
12439
13179
|
self._VolumeSourceGooseFS = VolumeSourceGooseFS
|
12440
13180
|
|
13181
|
+
@property
|
13182
|
+
def SubUinName(self):
|
13183
|
+
"""子用户名称
|
13184
|
+
:rtype: str
|
13185
|
+
"""
|
13186
|
+
return self._SubUinName
|
13187
|
+
|
13188
|
+
@SubUinName.setter
|
13189
|
+
def SubUinName(self, SubUinName):
|
13190
|
+
self._SubUinName = SubUinName
|
13191
|
+
|
12441
13192
|
|
12442
13193
|
def _deserialize(self, params):
|
12443
13194
|
self._Id = params.get("Id")
|
@@ -12480,6 +13231,7 @@ class NotebookSetItem(AbstractModel):
|
|
12480
13231
|
if params.get("VolumeSourceGooseFS") is not None:
|
12481
13232
|
self._VolumeSourceGooseFS = GooseFS()
|
12482
13233
|
self._VolumeSourceGooseFS._deserialize(params.get("VolumeSourceGooseFS"))
|
13234
|
+
self._SubUinName = params.get("SubUinName")
|
12483
13235
|
memeber_set = set(params.keys())
|
12484
13236
|
for name, value in vars(self).items():
|
12485
13237
|
property_name = name[1:]
|
@@ -13833,11 +14585,15 @@ class SSHConfig(AbstractModel):
|
|
13833
14585
|
:param _LoginCommand: 登录命令
|
13834
14586
|
注意:此字段可能返回 null,表示取不到有效值。
|
13835
14587
|
:type LoginCommand: str
|
14588
|
+
:param _IsAddressChanged: 登录地址是否改变
|
14589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14590
|
+
:type IsAddressChanged: bool
|
13836
14591
|
"""
|
13837
14592
|
self._Enable = None
|
13838
14593
|
self._PublicKey = None
|
13839
14594
|
self._Port = None
|
13840
14595
|
self._LoginCommand = None
|
14596
|
+
self._IsAddressChanged = None
|
13841
14597
|
|
13842
14598
|
@property
|
13843
14599
|
def Enable(self):
|
@@ -13887,12 +14643,25 @@ class SSHConfig(AbstractModel):
|
|
13887
14643
|
def LoginCommand(self, LoginCommand):
|
13888
14644
|
self._LoginCommand = LoginCommand
|
13889
14645
|
|
14646
|
+
@property
|
14647
|
+
def IsAddressChanged(self):
|
14648
|
+
"""登录地址是否改变
|
14649
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14650
|
+
:rtype: bool
|
14651
|
+
"""
|
14652
|
+
return self._IsAddressChanged
|
14653
|
+
|
14654
|
+
@IsAddressChanged.setter
|
14655
|
+
def IsAddressChanged(self, IsAddressChanged):
|
14656
|
+
self._IsAddressChanged = IsAddressChanged
|
14657
|
+
|
13890
14658
|
|
13891
14659
|
def _deserialize(self, params):
|
13892
14660
|
self._Enable = params.get("Enable")
|
13893
14661
|
self._PublicKey = params.get("PublicKey")
|
13894
14662
|
self._Port = params.get("Port")
|
13895
14663
|
self._LoginCommand = params.get("LoginCommand")
|
14664
|
+
self._IsAddressChanged = params.get("IsAddressChanged")
|
13896
14665
|
memeber_set = set(params.keys())
|
13897
14666
|
for name, value in vars(self).items():
|
13898
14667
|
property_name = name[1:]
|
@@ -14005,174 +14774,6 @@ class SchemaInfo(AbstractModel):
|
|
14005
14774
|
|
14006
14775
|
|
14007
14776
|
|
14008
|
-
class SendChatMessageRequest(AbstractModel):
|
14009
|
-
"""SendChatMessage请求参数结构体
|
14010
|
-
|
14011
|
-
"""
|
14012
|
-
|
14013
|
-
def __init__(self):
|
14014
|
-
r"""
|
14015
|
-
:param _SessionId: 会话id,标识一组对话的唯一id,id变更则重置会话
|
14016
|
-
:type SessionId: str
|
14017
|
-
:param _Question: 问题描述
|
14018
|
-
:type Question: str
|
14019
|
-
:param _ModelVersion: 会话模型版本。
|
14020
|
-
金融大模型:填写sn-finllm-13b-chat-v1。
|
14021
|
-
默认为sn-finllm-13b-chat-v1,即金融大模型。
|
14022
|
-
:type ModelVersion: str
|
14023
|
-
:param _Mode: 使用模式。
|
14024
|
-
通用问答:填写General。
|
14025
|
-
搜索增强问答:填写WithSearchPlugin。
|
14026
|
-
默认为General,即通用问答。
|
14027
|
-
当前可体验模型仅支持General。
|
14028
|
-
:type Mode: str
|
14029
|
-
:param _SearchSource: 搜索来源。仅当Mode为WithSearchPlugin时生效。
|
14030
|
-
预置文稿库:填写Preset。自定义:填写Custom。
|
14031
|
-
:type SearchSource: str
|
14032
|
-
"""
|
14033
|
-
self._SessionId = None
|
14034
|
-
self._Question = None
|
14035
|
-
self._ModelVersion = None
|
14036
|
-
self._Mode = None
|
14037
|
-
self._SearchSource = None
|
14038
|
-
|
14039
|
-
@property
|
14040
|
-
def SessionId(self):
|
14041
|
-
"""会话id,标识一组对话的唯一id,id变更则重置会话
|
14042
|
-
:rtype: str
|
14043
|
-
"""
|
14044
|
-
return self._SessionId
|
14045
|
-
|
14046
|
-
@SessionId.setter
|
14047
|
-
def SessionId(self, SessionId):
|
14048
|
-
self._SessionId = SessionId
|
14049
|
-
|
14050
|
-
@property
|
14051
|
-
def Question(self):
|
14052
|
-
"""问题描述
|
14053
|
-
:rtype: str
|
14054
|
-
"""
|
14055
|
-
return self._Question
|
14056
|
-
|
14057
|
-
@Question.setter
|
14058
|
-
def Question(self, Question):
|
14059
|
-
self._Question = Question
|
14060
|
-
|
14061
|
-
@property
|
14062
|
-
def ModelVersion(self):
|
14063
|
-
"""会话模型版本。
|
14064
|
-
金融大模型:填写sn-finllm-13b-chat-v1。
|
14065
|
-
默认为sn-finllm-13b-chat-v1,即金融大模型。
|
14066
|
-
:rtype: str
|
14067
|
-
"""
|
14068
|
-
return self._ModelVersion
|
14069
|
-
|
14070
|
-
@ModelVersion.setter
|
14071
|
-
def ModelVersion(self, ModelVersion):
|
14072
|
-
self._ModelVersion = ModelVersion
|
14073
|
-
|
14074
|
-
@property
|
14075
|
-
def Mode(self):
|
14076
|
-
"""使用模式。
|
14077
|
-
通用问答:填写General。
|
14078
|
-
搜索增强问答:填写WithSearchPlugin。
|
14079
|
-
默认为General,即通用问答。
|
14080
|
-
当前可体验模型仅支持General。
|
14081
|
-
:rtype: str
|
14082
|
-
"""
|
14083
|
-
return self._Mode
|
14084
|
-
|
14085
|
-
@Mode.setter
|
14086
|
-
def Mode(self, Mode):
|
14087
|
-
self._Mode = Mode
|
14088
|
-
|
14089
|
-
@property
|
14090
|
-
def SearchSource(self):
|
14091
|
-
"""搜索来源。仅当Mode为WithSearchPlugin时生效。
|
14092
|
-
预置文稿库:填写Preset。自定义:填写Custom。
|
14093
|
-
:rtype: str
|
14094
|
-
"""
|
14095
|
-
return self._SearchSource
|
14096
|
-
|
14097
|
-
@SearchSource.setter
|
14098
|
-
def SearchSource(self, SearchSource):
|
14099
|
-
self._SearchSource = SearchSource
|
14100
|
-
|
14101
|
-
|
14102
|
-
def _deserialize(self, params):
|
14103
|
-
self._SessionId = params.get("SessionId")
|
14104
|
-
self._Question = params.get("Question")
|
14105
|
-
self._ModelVersion = params.get("ModelVersion")
|
14106
|
-
self._Mode = params.get("Mode")
|
14107
|
-
self._SearchSource = params.get("SearchSource")
|
14108
|
-
memeber_set = set(params.keys())
|
14109
|
-
for name, value in vars(self).items():
|
14110
|
-
property_name = name[1:]
|
14111
|
-
if property_name in memeber_set:
|
14112
|
-
memeber_set.remove(property_name)
|
14113
|
-
if len(memeber_set) > 0:
|
14114
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14115
|
-
|
14116
|
-
|
14117
|
-
|
14118
|
-
class SendChatMessageResponse(AbstractModel):
|
14119
|
-
"""SendChatMessage返回参数结构体
|
14120
|
-
|
14121
|
-
"""
|
14122
|
-
|
14123
|
-
def __init__(self):
|
14124
|
-
r"""
|
14125
|
-
:param _Answer: 答案
|
14126
|
-
:type Answer: str
|
14127
|
-
:param _SessionId: 会话id,返回请求的会话id
|
14128
|
-
:type SessionId: str
|
14129
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14130
|
-
:type RequestId: str
|
14131
|
-
"""
|
14132
|
-
self._Answer = None
|
14133
|
-
self._SessionId = None
|
14134
|
-
self._RequestId = None
|
14135
|
-
|
14136
|
-
@property
|
14137
|
-
def Answer(self):
|
14138
|
-
"""答案
|
14139
|
-
:rtype: str
|
14140
|
-
"""
|
14141
|
-
return self._Answer
|
14142
|
-
|
14143
|
-
@Answer.setter
|
14144
|
-
def Answer(self, Answer):
|
14145
|
-
self._Answer = Answer
|
14146
|
-
|
14147
|
-
@property
|
14148
|
-
def SessionId(self):
|
14149
|
-
"""会话id,返回请求的会话id
|
14150
|
-
:rtype: str
|
14151
|
-
"""
|
14152
|
-
return self._SessionId
|
14153
|
-
|
14154
|
-
@SessionId.setter
|
14155
|
-
def SessionId(self, SessionId):
|
14156
|
-
self._SessionId = SessionId
|
14157
|
-
|
14158
|
-
@property
|
14159
|
-
def RequestId(self):
|
14160
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14161
|
-
:rtype: str
|
14162
|
-
"""
|
14163
|
-
return self._RequestId
|
14164
|
-
|
14165
|
-
@RequestId.setter
|
14166
|
-
def RequestId(self, RequestId):
|
14167
|
-
self._RequestId = RequestId
|
14168
|
-
|
14169
|
-
|
14170
|
-
def _deserialize(self, params):
|
14171
|
-
self._Answer = params.get("Answer")
|
14172
|
-
self._SessionId = params.get("SessionId")
|
14173
|
-
self._RequestId = params.get("RequestId")
|
14174
|
-
|
14175
|
-
|
14176
14777
|
class Service(AbstractModel):
|
14177
14778
|
"""描述在线服务
|
14178
14779
|
|
@@ -14277,6 +14878,15 @@ DEFAULT: 其他来源
|
|
14277
14878
|
:param _ResourceGroupSWType: 资源组类别 托管 NORMAL,纳管 SW
|
14278
14879
|
注意:此字段可能返回 null,表示取不到有效值。
|
14279
14880
|
:type ResourceGroupSWType: str
|
14881
|
+
:param _ArchiveStatus: 服务的归档状态 Waiting 等待归档中,Archived 已归档
|
14882
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14883
|
+
:type ArchiveStatus: str
|
14884
|
+
:param _DeployType: 服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
|
14885
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14886
|
+
:type DeployType: str
|
14887
|
+
:param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
14888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14889
|
+
:type InstancePerReplicas: str
|
14280
14890
|
"""
|
14281
14891
|
self._ServiceGroupId = None
|
14282
14892
|
self._ServiceId = None
|
@@ -14308,6 +14918,9 @@ DEFAULT: 其他来源
|
|
14308
14918
|
self._Version = None
|
14309
14919
|
self._LatestVersion = None
|
14310
14920
|
self._ResourceGroupSWType = None
|
14921
|
+
self._ArchiveStatus = None
|
14922
|
+
self._DeployType = None
|
14923
|
+
self._InstancePerReplicas = None
|
14311
14924
|
|
14312
14925
|
@property
|
14313
14926
|
def ServiceGroupId(self):
|
@@ -14684,6 +15297,42 @@ DEFAULT: 其他来源
|
|
14684
15297
|
def ResourceGroupSWType(self, ResourceGroupSWType):
|
14685
15298
|
self._ResourceGroupSWType = ResourceGroupSWType
|
14686
15299
|
|
15300
|
+
@property
|
15301
|
+
def ArchiveStatus(self):
|
15302
|
+
"""服务的归档状态 Waiting 等待归档中,Archived 已归档
|
15303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15304
|
+
:rtype: str
|
15305
|
+
"""
|
15306
|
+
return self._ArchiveStatus
|
15307
|
+
|
15308
|
+
@ArchiveStatus.setter
|
15309
|
+
def ArchiveStatus(self, ArchiveStatus):
|
15310
|
+
self._ArchiveStatus = ArchiveStatus
|
15311
|
+
|
15312
|
+
@property
|
15313
|
+
def DeployType(self):
|
15314
|
+
"""服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
|
15315
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15316
|
+
:rtype: str
|
15317
|
+
"""
|
15318
|
+
return self._DeployType
|
15319
|
+
|
15320
|
+
@DeployType.setter
|
15321
|
+
def DeployType(self, DeployType):
|
15322
|
+
self._DeployType = DeployType
|
15323
|
+
|
15324
|
+
@property
|
15325
|
+
def InstancePerReplicas(self):
|
15326
|
+
"""单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
15327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15328
|
+
:rtype: str
|
15329
|
+
"""
|
15330
|
+
return self._InstancePerReplicas
|
15331
|
+
|
15332
|
+
@InstancePerReplicas.setter
|
15333
|
+
def InstancePerReplicas(self, InstancePerReplicas):
|
15334
|
+
self._InstancePerReplicas = InstancePerReplicas
|
15335
|
+
|
14687
15336
|
|
14688
15337
|
def _deserialize(self, params):
|
14689
15338
|
self._ServiceGroupId = params.get("ServiceGroupId")
|
@@ -14727,6 +15376,9 @@ DEFAULT: 其他来源
|
|
14727
15376
|
self._Version = params.get("Version")
|
14728
15377
|
self._LatestVersion = params.get("LatestVersion")
|
14729
15378
|
self._ResourceGroupSWType = params.get("ResourceGroupSWType")
|
15379
|
+
self._ArchiveStatus = params.get("ArchiveStatus")
|
15380
|
+
self._DeployType = params.get("DeployType")
|
15381
|
+
self._InstancePerReplicas = params.get("InstancePerReplicas")
|
14730
15382
|
memeber_set = set(params.keys())
|
14731
15383
|
for name, value in vars(self).items():
|
14732
15384
|
property_name = name[1:]
|
@@ -15551,6 +16203,8 @@ HYBRID_PAID:
|
|
15551
16203
|
:param _ModelHotUpdateEnable: 是否开启模型的热更新。默认不开启
|
15552
16204
|
注意:此字段可能返回 null,表示取不到有效值。
|
15553
16205
|
:type ModelHotUpdateEnable: bool
|
16206
|
+
:param _InstanceAlias: 服务的规格别名
|
16207
|
+
:type InstanceAlias: str
|
15554
16208
|
:param _ScaleMode: 实例数量调节方式,默认为手动
|
15555
16209
|
支持:自动 - "AUTO", 手动 - "MANUAL"
|
15556
16210
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -15612,6 +16266,7 @@ HYBRID_PAID:
|
|
15612
16266
|
self._HybridBillingPrepaidReplicas = None
|
15613
16267
|
self._OldHybridBillingPrepaidReplicas = None
|
15614
16268
|
self._ModelHotUpdateEnable = None
|
16269
|
+
self._InstanceAlias = None
|
15615
16270
|
self._ScaleMode = None
|
15616
16271
|
self._CronScaleJobs = None
|
15617
16272
|
self._ScaleStrategy = None
|
@@ -15838,6 +16493,17 @@ HYBRID_PAID:
|
|
15838
16493
|
def ModelHotUpdateEnable(self, ModelHotUpdateEnable):
|
15839
16494
|
self._ModelHotUpdateEnable = ModelHotUpdateEnable
|
15840
16495
|
|
16496
|
+
@property
|
16497
|
+
def InstanceAlias(self):
|
16498
|
+
"""服务的规格别名
|
16499
|
+
:rtype: str
|
16500
|
+
"""
|
16501
|
+
return self._InstanceAlias
|
16502
|
+
|
16503
|
+
@InstanceAlias.setter
|
16504
|
+
def InstanceAlias(self, InstanceAlias):
|
16505
|
+
self._InstanceAlias = InstanceAlias
|
16506
|
+
|
15841
16507
|
@property
|
15842
16508
|
def ScaleMode(self):
|
15843
16509
|
"""实例数量调节方式,默认为手动
|
@@ -16053,6 +16719,7 @@ HYBRID_PAID:
|
|
16053
16719
|
self._HybridBillingPrepaidReplicas = params.get("HybridBillingPrepaidReplicas")
|
16054
16720
|
self._OldHybridBillingPrepaidReplicas = params.get("OldHybridBillingPrepaidReplicas")
|
16055
16721
|
self._ModelHotUpdateEnable = params.get("ModelHotUpdateEnable")
|
16722
|
+
self._InstanceAlias = params.get("InstanceAlias")
|
16056
16723
|
self._ScaleMode = params.get("ScaleMode")
|
16057
16724
|
if params.get("CronScaleJobs") is not None:
|
16058
16725
|
self._CronScaleJobs = []
|
@@ -16178,6 +16845,302 @@ class ServiceLimit(AbstractModel):
|
|
16178
16845
|
|
16179
16846
|
|
16180
16847
|
|
16848
|
+
class Spec(AbstractModel):
|
16849
|
+
"""计费项内容
|
16850
|
+
|
16851
|
+
"""
|
16852
|
+
|
16853
|
+
def __init__(self):
|
16854
|
+
r"""
|
16855
|
+
:param _SpecId: 计费项标签
|
16856
|
+
:type SpecId: str
|
16857
|
+
:param _SpecName: 计费项名称
|
16858
|
+
:type SpecName: str
|
16859
|
+
:param _SpecAlias: 计费项显示名称
|
16860
|
+
:type SpecAlias: str
|
16861
|
+
:param _Available: 是否售罄
|
16862
|
+
:type Available: bool
|
16863
|
+
:param _AvailableRegion: 当前资源售罄时,可用的区域有哪些
|
16864
|
+
:type AvailableRegion: list of str
|
16865
|
+
:param _SpecFeatures: 当前计费项支持的特性
|
16866
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16867
|
+
:type SpecFeatures: list of str
|
16868
|
+
:param _SpecType: 计费项类型
|
16869
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16870
|
+
:type SpecType: str
|
16871
|
+
:param _GpuType: GPU类型
|
16872
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16873
|
+
:type GpuType: str
|
16874
|
+
:param _CategoryId: 计费项CategoryId
|
16875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16876
|
+
:type CategoryId: str
|
16877
|
+
"""
|
16878
|
+
self._SpecId = None
|
16879
|
+
self._SpecName = None
|
16880
|
+
self._SpecAlias = None
|
16881
|
+
self._Available = None
|
16882
|
+
self._AvailableRegion = None
|
16883
|
+
self._SpecFeatures = None
|
16884
|
+
self._SpecType = None
|
16885
|
+
self._GpuType = None
|
16886
|
+
self._CategoryId = None
|
16887
|
+
|
16888
|
+
@property
|
16889
|
+
def SpecId(self):
|
16890
|
+
"""计费项标签
|
16891
|
+
:rtype: str
|
16892
|
+
"""
|
16893
|
+
return self._SpecId
|
16894
|
+
|
16895
|
+
@SpecId.setter
|
16896
|
+
def SpecId(self, SpecId):
|
16897
|
+
self._SpecId = SpecId
|
16898
|
+
|
16899
|
+
@property
|
16900
|
+
def SpecName(self):
|
16901
|
+
"""计费项名称
|
16902
|
+
:rtype: str
|
16903
|
+
"""
|
16904
|
+
return self._SpecName
|
16905
|
+
|
16906
|
+
@SpecName.setter
|
16907
|
+
def SpecName(self, SpecName):
|
16908
|
+
self._SpecName = SpecName
|
16909
|
+
|
16910
|
+
@property
|
16911
|
+
def SpecAlias(self):
|
16912
|
+
"""计费项显示名称
|
16913
|
+
:rtype: str
|
16914
|
+
"""
|
16915
|
+
return self._SpecAlias
|
16916
|
+
|
16917
|
+
@SpecAlias.setter
|
16918
|
+
def SpecAlias(self, SpecAlias):
|
16919
|
+
self._SpecAlias = SpecAlias
|
16920
|
+
|
16921
|
+
@property
|
16922
|
+
def Available(self):
|
16923
|
+
"""是否售罄
|
16924
|
+
:rtype: bool
|
16925
|
+
"""
|
16926
|
+
return self._Available
|
16927
|
+
|
16928
|
+
@Available.setter
|
16929
|
+
def Available(self, Available):
|
16930
|
+
self._Available = Available
|
16931
|
+
|
16932
|
+
@property
|
16933
|
+
def AvailableRegion(self):
|
16934
|
+
"""当前资源售罄时,可用的区域有哪些
|
16935
|
+
:rtype: list of str
|
16936
|
+
"""
|
16937
|
+
return self._AvailableRegion
|
16938
|
+
|
16939
|
+
@AvailableRegion.setter
|
16940
|
+
def AvailableRegion(self, AvailableRegion):
|
16941
|
+
self._AvailableRegion = AvailableRegion
|
16942
|
+
|
16943
|
+
@property
|
16944
|
+
def SpecFeatures(self):
|
16945
|
+
"""当前计费项支持的特性
|
16946
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16947
|
+
:rtype: list of str
|
16948
|
+
"""
|
16949
|
+
return self._SpecFeatures
|
16950
|
+
|
16951
|
+
@SpecFeatures.setter
|
16952
|
+
def SpecFeatures(self, SpecFeatures):
|
16953
|
+
self._SpecFeatures = SpecFeatures
|
16954
|
+
|
16955
|
+
@property
|
16956
|
+
def SpecType(self):
|
16957
|
+
"""计费项类型
|
16958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16959
|
+
:rtype: str
|
16960
|
+
"""
|
16961
|
+
return self._SpecType
|
16962
|
+
|
16963
|
+
@SpecType.setter
|
16964
|
+
def SpecType(self, SpecType):
|
16965
|
+
self._SpecType = SpecType
|
16966
|
+
|
16967
|
+
@property
|
16968
|
+
def GpuType(self):
|
16969
|
+
"""GPU类型
|
16970
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16971
|
+
:rtype: str
|
16972
|
+
"""
|
16973
|
+
return self._GpuType
|
16974
|
+
|
16975
|
+
@GpuType.setter
|
16976
|
+
def GpuType(self, GpuType):
|
16977
|
+
self._GpuType = GpuType
|
16978
|
+
|
16979
|
+
@property
|
16980
|
+
def CategoryId(self):
|
16981
|
+
"""计费项CategoryId
|
16982
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16983
|
+
:rtype: str
|
16984
|
+
"""
|
16985
|
+
return self._CategoryId
|
16986
|
+
|
16987
|
+
@CategoryId.setter
|
16988
|
+
def CategoryId(self, CategoryId):
|
16989
|
+
self._CategoryId = CategoryId
|
16990
|
+
|
16991
|
+
|
16992
|
+
def _deserialize(self, params):
|
16993
|
+
self._SpecId = params.get("SpecId")
|
16994
|
+
self._SpecName = params.get("SpecName")
|
16995
|
+
self._SpecAlias = params.get("SpecAlias")
|
16996
|
+
self._Available = params.get("Available")
|
16997
|
+
self._AvailableRegion = params.get("AvailableRegion")
|
16998
|
+
self._SpecFeatures = params.get("SpecFeatures")
|
16999
|
+
self._SpecType = params.get("SpecType")
|
17000
|
+
self._GpuType = params.get("GpuType")
|
17001
|
+
self._CategoryId = params.get("CategoryId")
|
17002
|
+
memeber_set = set(params.keys())
|
17003
|
+
for name, value in vars(self).items():
|
17004
|
+
property_name = name[1:]
|
17005
|
+
if property_name in memeber_set:
|
17006
|
+
memeber_set.remove(property_name)
|
17007
|
+
if len(memeber_set) > 0:
|
17008
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17009
|
+
|
17010
|
+
|
17011
|
+
|
17012
|
+
class SpecPrice(AbstractModel):
|
17013
|
+
"""计费项询价结果
|
17014
|
+
|
17015
|
+
"""
|
17016
|
+
|
17017
|
+
def __init__(self):
|
17018
|
+
r"""
|
17019
|
+
:param _SpecName: 计费项名称
|
17020
|
+
:type SpecName: str
|
17021
|
+
:param _TotalCost: 原价,单位:分。最大值42亿,超过则返回0
|
17022
|
+
:type TotalCost: int
|
17023
|
+
:param _RealTotalCost: 优惠后的价格,单位:分
|
17024
|
+
:type RealTotalCost: int
|
17025
|
+
:param _SpecCount: 计费项数量
|
17026
|
+
:type SpecCount: int
|
17027
|
+
"""
|
17028
|
+
self._SpecName = None
|
17029
|
+
self._TotalCost = None
|
17030
|
+
self._RealTotalCost = None
|
17031
|
+
self._SpecCount = None
|
17032
|
+
|
17033
|
+
@property
|
17034
|
+
def SpecName(self):
|
17035
|
+
"""计费项名称
|
17036
|
+
:rtype: str
|
17037
|
+
"""
|
17038
|
+
return self._SpecName
|
17039
|
+
|
17040
|
+
@SpecName.setter
|
17041
|
+
def SpecName(self, SpecName):
|
17042
|
+
self._SpecName = SpecName
|
17043
|
+
|
17044
|
+
@property
|
17045
|
+
def TotalCost(self):
|
17046
|
+
"""原价,单位:分。最大值42亿,超过则返回0
|
17047
|
+
:rtype: int
|
17048
|
+
"""
|
17049
|
+
return self._TotalCost
|
17050
|
+
|
17051
|
+
@TotalCost.setter
|
17052
|
+
def TotalCost(self, TotalCost):
|
17053
|
+
self._TotalCost = TotalCost
|
17054
|
+
|
17055
|
+
@property
|
17056
|
+
def RealTotalCost(self):
|
17057
|
+
"""优惠后的价格,单位:分
|
17058
|
+
:rtype: int
|
17059
|
+
"""
|
17060
|
+
return self._RealTotalCost
|
17061
|
+
|
17062
|
+
@RealTotalCost.setter
|
17063
|
+
def RealTotalCost(self, RealTotalCost):
|
17064
|
+
self._RealTotalCost = RealTotalCost
|
17065
|
+
|
17066
|
+
@property
|
17067
|
+
def SpecCount(self):
|
17068
|
+
"""计费项数量
|
17069
|
+
:rtype: int
|
17070
|
+
"""
|
17071
|
+
return self._SpecCount
|
17072
|
+
|
17073
|
+
@SpecCount.setter
|
17074
|
+
def SpecCount(self, SpecCount):
|
17075
|
+
self._SpecCount = SpecCount
|
17076
|
+
|
17077
|
+
|
17078
|
+
def _deserialize(self, params):
|
17079
|
+
self._SpecName = params.get("SpecName")
|
17080
|
+
self._TotalCost = params.get("TotalCost")
|
17081
|
+
self._RealTotalCost = params.get("RealTotalCost")
|
17082
|
+
self._SpecCount = params.get("SpecCount")
|
17083
|
+
memeber_set = set(params.keys())
|
17084
|
+
for name, value in vars(self).items():
|
17085
|
+
property_name = name[1:]
|
17086
|
+
if property_name in memeber_set:
|
17087
|
+
memeber_set.remove(property_name)
|
17088
|
+
if len(memeber_set) > 0:
|
17089
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17090
|
+
|
17091
|
+
|
17092
|
+
|
17093
|
+
class SpecUnit(AbstractModel):
|
17094
|
+
"""计费项询价单元
|
17095
|
+
|
17096
|
+
"""
|
17097
|
+
|
17098
|
+
def __init__(self):
|
17099
|
+
r"""
|
17100
|
+
:param _SpecName: 计费项名称
|
17101
|
+
:type SpecName: str
|
17102
|
+
:param _SpecCount: 计费项数量,建议不超过100万
|
17103
|
+
:type SpecCount: int
|
17104
|
+
"""
|
17105
|
+
self._SpecName = None
|
17106
|
+
self._SpecCount = None
|
17107
|
+
|
17108
|
+
@property
|
17109
|
+
def SpecName(self):
|
17110
|
+
"""计费项名称
|
17111
|
+
:rtype: str
|
17112
|
+
"""
|
17113
|
+
return self._SpecName
|
17114
|
+
|
17115
|
+
@SpecName.setter
|
17116
|
+
def SpecName(self, SpecName):
|
17117
|
+
self._SpecName = SpecName
|
17118
|
+
|
17119
|
+
@property
|
17120
|
+
def SpecCount(self):
|
17121
|
+
"""计费项数量,建议不超过100万
|
17122
|
+
:rtype: int
|
17123
|
+
"""
|
17124
|
+
return self._SpecCount
|
17125
|
+
|
17126
|
+
@SpecCount.setter
|
17127
|
+
def SpecCount(self, SpecCount):
|
17128
|
+
self._SpecCount = SpecCount
|
17129
|
+
|
17130
|
+
|
17131
|
+
def _deserialize(self, params):
|
17132
|
+
self._SpecName = params.get("SpecName")
|
17133
|
+
self._SpecCount = params.get("SpecCount")
|
17134
|
+
memeber_set = set(params.keys())
|
17135
|
+
for name, value in vars(self).items():
|
17136
|
+
property_name = name[1:]
|
17137
|
+
if property_name in memeber_set:
|
17138
|
+
memeber_set.remove(property_name)
|
17139
|
+
if len(memeber_set) > 0:
|
17140
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17141
|
+
|
17142
|
+
|
17143
|
+
|
16181
17144
|
class StartCmdInfo(AbstractModel):
|
16182
17145
|
"""启动命令信息
|
16183
17146
|
|
@@ -17310,6 +18273,9 @@ class TrainingTaskDetail(AbstractModel):
|
|
17310
18273
|
:type Uin: str
|
17311
18274
|
:param _SubUin: 子账号uin
|
17312
18275
|
:type SubUin: str
|
18276
|
+
:param _SubUinName: 创建者名称
|
18277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18278
|
+
:type SubUinName: str
|
17313
18279
|
:param _Region: 地域
|
17314
18280
|
:type Region: str
|
17315
18281
|
:param _FrameworkName: 训练框架名称,eg:SPARK、PYSARK、TENSORFLOW、PYTORCH
|
@@ -17409,6 +18375,7 @@ class TrainingTaskDetail(AbstractModel):
|
|
17409
18375
|
self._Name = None
|
17410
18376
|
self._Uin = None
|
17411
18377
|
self._SubUin = None
|
18378
|
+
self._SubUinName = None
|
17412
18379
|
self._Region = None
|
17413
18380
|
self._FrameworkName = None
|
17414
18381
|
self._FrameworkVersion = None
|
@@ -17489,6 +18456,18 @@ class TrainingTaskDetail(AbstractModel):
|
|
17489
18456
|
def SubUin(self, SubUin):
|
17490
18457
|
self._SubUin = SubUin
|
17491
18458
|
|
18459
|
+
@property
|
18460
|
+
def SubUinName(self):
|
18461
|
+
"""创建者名称
|
18462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18463
|
+
:rtype: str
|
18464
|
+
"""
|
18465
|
+
return self._SubUinName
|
18466
|
+
|
18467
|
+
@SubUinName.setter
|
18468
|
+
def SubUinName(self, SubUinName):
|
18469
|
+
self._SubUinName = SubUinName
|
18470
|
+
|
17492
18471
|
@property
|
17493
18472
|
def Region(self):
|
17494
18473
|
"""地域
|
@@ -17904,6 +18883,7 @@ class TrainingTaskDetail(AbstractModel):
|
|
17904
18883
|
self._Name = params.get("Name")
|
17905
18884
|
self._Uin = params.get("Uin")
|
17906
18885
|
self._SubUin = params.get("SubUin")
|
18886
|
+
self._SubUinName = params.get("SubUinName")
|
17907
18887
|
self._Region = params.get("Region")
|
17908
18888
|
self._FrameworkName = params.get("FrameworkName")
|
17909
18889
|
self._FrameworkVersion = params.get("FrameworkVersion")
|
@@ -18405,13 +19385,10 @@ class Usage(AbstractModel):
|
|
18405
19385
|
def __init__(self):
|
18406
19386
|
r"""
|
18407
19387
|
:param _CompletionTokens: 生成的token数目
|
18408
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18409
19388
|
:type CompletionTokens: int
|
18410
19389
|
:param _PromptTokens: 输入的token数目
|
18411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18412
19390
|
:type PromptTokens: int
|
18413
19391
|
:param _TotalTokens: 总共token数目
|
18414
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18415
19392
|
:type TotalTokens: int
|
18416
19393
|
"""
|
18417
19394
|
self._CompletionTokens = None
|
@@ -18421,7 +19398,6 @@ class Usage(AbstractModel):
|
|
18421
19398
|
@property
|
18422
19399
|
def CompletionTokens(self):
|
18423
19400
|
"""生成的token数目
|
18424
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18425
19401
|
:rtype: int
|
18426
19402
|
"""
|
18427
19403
|
return self._CompletionTokens
|
@@ -18433,7 +19409,6 @@ class Usage(AbstractModel):
|
|
18433
19409
|
@property
|
18434
19410
|
def PromptTokens(self):
|
18435
19411
|
"""输入的token数目
|
18436
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18437
19412
|
:rtype: int
|
18438
19413
|
"""
|
18439
19414
|
return self._PromptTokens
|
@@ -18445,7 +19420,6 @@ class Usage(AbstractModel):
|
|
18445
19420
|
@property
|
18446
19421
|
def TotalTokens(self):
|
18447
19422
|
"""总共token数目
|
18448
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
18449
19423
|
:rtype: int
|
18450
19424
|
"""
|
18451
19425
|
return self._TotalTokens
|