tencentcloud-sdk-python 3.0.1392__py2.py3-none-any.whl → 3.0.1393__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.
Files changed (34) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cfs/v20190719/cfs_client.py +2 -6
  3. tencentcloud/cfs/v20190719/models.py +4 -6
  4. tencentcloud/cme/v20191029/cme_client.py +0 -1
  5. tencentcloud/cme/v20191029/models.py +16 -0
  6. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  7. tencentcloud/dlc/v20210125/models.py +85 -0
  8. tencentcloud/domain/v20180808/models.py +2 -2
  9. tencentcloud/emr/v20190103/errorcodes.py +9 -0
  10. tencentcloud/emr/v20190103/models.py +15 -0
  11. tencentcloud/es/v20250101/es_client.py +0 -23
  12. tencentcloud/es/v20250101/models.py +1 -352
  13. tencentcloud/ess/v20201111/models.py +18 -8
  14. tencentcloud/essbasic/v20210526/models.py +4 -4
  15. tencentcloud/gs/v20191118/gs_client.py +46 -0
  16. tencentcloud/gs/v20191118/models.py +269 -0
  17. tencentcloud/hai/v20230812/models.py +8 -14
  18. tencentcloud/lke/v20231130/errorcodes.py +0 -6
  19. tencentcloud/lke/v20231130/lke_client.py +0 -26
  20. tencentcloud/lke/v20231130/models.py +0 -229
  21. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -5
  22. tencentcloud/monitor/v20180724/models.py +96 -2
  23. tencentcloud/monitor/v20180724/monitor_client.py +23 -0
  24. tencentcloud/mrs/v20200910/models.py +8 -0
  25. tencentcloud/mrs/v20200910/mrs_client.py +2 -0
  26. tencentcloud/postgres/v20170312/models.py +0 -405
  27. tencentcloud/postgres/v20170312/postgres_client.py +0 -25
  28. tencentcloud/pts/v20210728/models.py +30 -0
  29. tencentcloud/redis/v20180412/models.py +8 -8
  30. {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/METADATA +1 -1
  31. {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/RECORD +34 -34
  32. {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/LICENSE +0 -0
  33. {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/WHEEL +0 -0
  34. {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/top_level.txt +0 -0
@@ -1037,6 +1037,72 @@ class AndroidInstanceTaskStatus(AbstractModel):
1037
1037
 
1038
1038
 
1039
1039
 
1040
+ class AndroidInstanceUploadFile(AbstractModel):
1041
+ """安卓实例上传文件信息
1042
+
1043
+ """
1044
+
1045
+ def __init__(self):
1046
+ r"""
1047
+ :param _AndroidInstanceId: 安卓实例 ID
1048
+ :type AndroidInstanceId: str
1049
+ :param _FileURL: 文件上传 URL
1050
+ :type FileURL: str
1051
+ :param _DestinationDirectory: 上传目标目录,只能上传到 /sdcard/ 目录或其子目录下
1052
+ :type DestinationDirectory: str
1053
+ """
1054
+ self._AndroidInstanceId = None
1055
+ self._FileURL = None
1056
+ self._DestinationDirectory = None
1057
+
1058
+ @property
1059
+ def AndroidInstanceId(self):
1060
+ """安卓实例 ID
1061
+ :rtype: str
1062
+ """
1063
+ return self._AndroidInstanceId
1064
+
1065
+ @AndroidInstanceId.setter
1066
+ def AndroidInstanceId(self, AndroidInstanceId):
1067
+ self._AndroidInstanceId = AndroidInstanceId
1068
+
1069
+ @property
1070
+ def FileURL(self):
1071
+ """文件上传 URL
1072
+ :rtype: str
1073
+ """
1074
+ return self._FileURL
1075
+
1076
+ @FileURL.setter
1077
+ def FileURL(self, FileURL):
1078
+ self._FileURL = FileURL
1079
+
1080
+ @property
1081
+ def DestinationDirectory(self):
1082
+ """上传目标目录,只能上传到 /sdcard/ 目录或其子目录下
1083
+ :rtype: str
1084
+ """
1085
+ return self._DestinationDirectory
1086
+
1087
+ @DestinationDirectory.setter
1088
+ def DestinationDirectory(self, DestinationDirectory):
1089
+ self._DestinationDirectory = DestinationDirectory
1090
+
1091
+
1092
+ def _deserialize(self, params):
1093
+ self._AndroidInstanceId = params.get("AndroidInstanceId")
1094
+ self._FileURL = params.get("FileURL")
1095
+ self._DestinationDirectory = params.get("DestinationDirectory")
1096
+ memeber_set = set(params.keys())
1097
+ for name, value in vars(self).items():
1098
+ property_name = name[1:]
1099
+ if property_name in memeber_set:
1100
+ memeber_set.remove(property_name)
1101
+ if len(memeber_set) > 0:
1102
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1103
+
1104
+
1105
+
1040
1106
  class BackUpAndroidInstanceToStorageRequest(AbstractModel):
1041
1107
  """BackUpAndroidInstanceToStorage请求参数结构体
1042
1108
 
@@ -4358,6 +4424,120 @@ class DestroyAndroidInstancesResponse(AbstractModel):
4358
4424
  self._RequestId = params.get("RequestId")
4359
4425
 
4360
4426
 
4427
+ class DistributeFileToAndroidInstancesRequest(AbstractModel):
4428
+ """DistributeFileToAndroidInstances请求参数结构体
4429
+
4430
+ """
4431
+
4432
+ def __init__(self):
4433
+ r"""
4434
+ :param _AndroidInstanceIds: 安卓实例 ID 列表
4435
+ :type AndroidInstanceIds: list of str
4436
+ :param _FileURL: 文件下载 URL
4437
+ :type FileURL: str
4438
+ :param _DestinationDirectory: 上传目标目录,只能上传到 /sdcard/ 目录或其子目录下
4439
+ :type DestinationDirectory: str
4440
+ """
4441
+ self._AndroidInstanceIds = None
4442
+ self._FileURL = None
4443
+ self._DestinationDirectory = None
4444
+
4445
+ @property
4446
+ def AndroidInstanceIds(self):
4447
+ """安卓实例 ID 列表
4448
+ :rtype: list of str
4449
+ """
4450
+ return self._AndroidInstanceIds
4451
+
4452
+ @AndroidInstanceIds.setter
4453
+ def AndroidInstanceIds(self, AndroidInstanceIds):
4454
+ self._AndroidInstanceIds = AndroidInstanceIds
4455
+
4456
+ @property
4457
+ def FileURL(self):
4458
+ """文件下载 URL
4459
+ :rtype: str
4460
+ """
4461
+ return self._FileURL
4462
+
4463
+ @FileURL.setter
4464
+ def FileURL(self, FileURL):
4465
+ self._FileURL = FileURL
4466
+
4467
+ @property
4468
+ def DestinationDirectory(self):
4469
+ """上传目标目录,只能上传到 /sdcard/ 目录或其子目录下
4470
+ :rtype: str
4471
+ """
4472
+ return self._DestinationDirectory
4473
+
4474
+ @DestinationDirectory.setter
4475
+ def DestinationDirectory(self, DestinationDirectory):
4476
+ self._DestinationDirectory = DestinationDirectory
4477
+
4478
+
4479
+ def _deserialize(self, params):
4480
+ self._AndroidInstanceIds = params.get("AndroidInstanceIds")
4481
+ self._FileURL = params.get("FileURL")
4482
+ self._DestinationDirectory = params.get("DestinationDirectory")
4483
+ memeber_set = set(params.keys())
4484
+ for name, value in vars(self).items():
4485
+ property_name = name[1:]
4486
+ if property_name in memeber_set:
4487
+ memeber_set.remove(property_name)
4488
+ if len(memeber_set) > 0:
4489
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4490
+
4491
+
4492
+
4493
+ class DistributeFileToAndroidInstancesResponse(AbstractModel):
4494
+ """DistributeFileToAndroidInstances返回参数结构体
4495
+
4496
+ """
4497
+
4498
+ def __init__(self):
4499
+ r"""
4500
+ :param _TaskSet: 实例任务集合
4501
+ :type TaskSet: list of AndroidInstanceTask
4502
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4503
+ :type RequestId: str
4504
+ """
4505
+ self._TaskSet = None
4506
+ self._RequestId = None
4507
+
4508
+ @property
4509
+ def TaskSet(self):
4510
+ """实例任务集合
4511
+ :rtype: list of AndroidInstanceTask
4512
+ """
4513
+ return self._TaskSet
4514
+
4515
+ @TaskSet.setter
4516
+ def TaskSet(self, TaskSet):
4517
+ self._TaskSet = TaskSet
4518
+
4519
+ @property
4520
+ def RequestId(self):
4521
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4522
+ :rtype: str
4523
+ """
4524
+ return self._RequestId
4525
+
4526
+ @RequestId.setter
4527
+ def RequestId(self, RequestId):
4528
+ self._RequestId = RequestId
4529
+
4530
+
4531
+ def _deserialize(self, params):
4532
+ if params.get("TaskSet") is not None:
4533
+ self._TaskSet = []
4534
+ for item in params.get("TaskSet"):
4535
+ obj = AndroidInstanceTask()
4536
+ obj._deserialize(item)
4537
+ self._TaskSet.append(obj)
4538
+ self._RequestId = params.get("RequestId")
4539
+
4540
+
4361
4541
  class ExecuteCommandOnAndroidInstancesRequest(AbstractModel):
4362
4542
  """ExecuteCommandOnAndroidInstances请求参数结构体
4363
4543
 
@@ -7790,6 +7970,95 @@ class UploadFileToAndroidInstancesResponse(AbstractModel):
7790
7970
  self._RequestId = RequestId
7791
7971
 
7792
7972
 
7973
+ def _deserialize(self, params):
7974
+ if params.get("TaskSet") is not None:
7975
+ self._TaskSet = []
7976
+ for item in params.get("TaskSet"):
7977
+ obj = AndroidInstanceTask()
7978
+ obj._deserialize(item)
7979
+ self._TaskSet.append(obj)
7980
+ self._RequestId = params.get("RequestId")
7981
+
7982
+
7983
+ class UploadFilesToAndroidInstancesRequest(AbstractModel):
7984
+ """UploadFilesToAndroidInstances请求参数结构体
7985
+
7986
+ """
7987
+
7988
+ def __init__(self):
7989
+ r"""
7990
+ :param _Files: 上传文件信息列表
7991
+ :type Files: list of AndroidInstanceUploadFile
7992
+ """
7993
+ self._Files = None
7994
+
7995
+ @property
7996
+ def Files(self):
7997
+ """上传文件信息列表
7998
+ :rtype: list of AndroidInstanceUploadFile
7999
+ """
8000
+ return self._Files
8001
+
8002
+ @Files.setter
8003
+ def Files(self, Files):
8004
+ self._Files = Files
8005
+
8006
+
8007
+ def _deserialize(self, params):
8008
+ if params.get("Files") is not None:
8009
+ self._Files = []
8010
+ for item in params.get("Files"):
8011
+ obj = AndroidInstanceUploadFile()
8012
+ obj._deserialize(item)
8013
+ self._Files.append(obj)
8014
+ memeber_set = set(params.keys())
8015
+ for name, value in vars(self).items():
8016
+ property_name = name[1:]
8017
+ if property_name in memeber_set:
8018
+ memeber_set.remove(property_name)
8019
+ if len(memeber_set) > 0:
8020
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8021
+
8022
+
8023
+
8024
+ class UploadFilesToAndroidInstancesResponse(AbstractModel):
8025
+ """UploadFilesToAndroidInstances返回参数结构体
8026
+
8027
+ """
8028
+
8029
+ def __init__(self):
8030
+ r"""
8031
+ :param _TaskSet: 实例任务集合
8032
+ :type TaskSet: list of AndroidInstanceTask
8033
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8034
+ :type RequestId: str
8035
+ """
8036
+ self._TaskSet = None
8037
+ self._RequestId = None
8038
+
8039
+ @property
8040
+ def TaskSet(self):
8041
+ """实例任务集合
8042
+ :rtype: list of AndroidInstanceTask
8043
+ """
8044
+ return self._TaskSet
8045
+
8046
+ @TaskSet.setter
8047
+ def TaskSet(self, TaskSet):
8048
+ self._TaskSet = TaskSet
8049
+
8050
+ @property
8051
+ def RequestId(self):
8052
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8053
+ :rtype: str
8054
+ """
8055
+ return self._RequestId
8056
+
8057
+ @RequestId.setter
8058
+ def RequestId(self, RequestId):
8059
+ self._RequestId = RequestId
8060
+
8061
+
7793
8062
  def _deserialize(self, params):
7794
8063
  if params.get("TaskSet") is not None:
7795
8064
  self._TaskSet = []
@@ -405,7 +405,7 @@ class DescribeApplicationsRequest(AbstractModel):
405
405
 
406
406
  def __init__(self):
407
407
  r"""
408
- :param _ApplicationIds: 应用id列表
408
+ :param _ApplicationIds: 应用id列表。单次请求数量上限为100个。
409
409
  :type ApplicationIds: list of str
410
410
  :param _Filters: 过滤器,跟ApplicationIds不能共用,支持的filter主要有:application-id: 精确匹配;scene-id: 精确匹配,通过调用接口 [DescribeScenes](https://cloud.tencent.com/document/api/1721/101608)获取;application-name: 模糊匹配;application-type: 精确匹配,枚举类型如下:PUBLIC_APPLICATION(公共应用)/ PRIVATE_APPLICATION(自定义应用)/ COMMUNITY_APPLICATION(社区应用);
411
411
  :type Filters: list of Filter
@@ -427,7 +427,7 @@ class DescribeApplicationsRequest(AbstractModel):
427
427
 
428
428
  @property
429
429
  def ApplicationIds(self):
430
- """应用id列表
430
+ """应用id列表。单次请求数量上限为100个。
431
431
  :rtype: list of str
432
432
  """
433
433
  return self._ApplicationIds
@@ -2884,8 +2884,7 @@ class StartInstanceRequest(AbstractModel):
2884
2884
 
2885
2885
  def __init__(self):
2886
2886
  r"""
2887
- :param _InstanceId: 实例ID
2888
- 可通过DescribeInstances获取实例ID
2887
+ :param _InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID。
2889
2888
  :type InstanceId: str
2890
2889
  :param _DryRun: 默认为False,True代表只验证接口连通性
2891
2890
  :type DryRun: bool
@@ -2895,8 +2894,7 @@ class StartInstanceRequest(AbstractModel):
2895
2894
 
2896
2895
  @property
2897
2896
  def InstanceId(self):
2898
- """实例ID
2899
- 可通过DescribeInstances获取实例ID
2897
+ """实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID。
2900
2898
  :rtype: str
2901
2899
  """
2902
2900
  return self._InstanceId
@@ -2980,8 +2978,7 @@ class StopInstanceRequest(AbstractModel):
2980
2978
 
2981
2979
  def __init__(self):
2982
2980
  r"""
2983
- :param _InstanceId: 实例ID
2984
- 可通过DescribeInstances获取实例ID
2981
+ :param _InstanceId: 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID。
2985
2982
  :type InstanceId: str
2986
2983
  :param _StopMode: hai实例关机的模式,目前仅支持关机不收费:
2987
2984
  STOP_CHARGE -- 关闭hai实例,释放计算资源,停止收取计算资源的费用。
@@ -2996,8 +2993,7 @@ STOP_CHARGE -- 关闭hai实例,释放计算资源,停止收取计算资源
2996
2993
 
2997
2994
  @property
2998
2995
  def InstanceId(self):
2999
- """实例ID
3000
- 可通过DescribeInstances获取实例ID
2996
+ """实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID。
3001
2997
  :rtype: str
3002
2998
  """
3003
2999
  return self._InstanceId
@@ -3161,8 +3157,7 @@ class TerminateInstancesRequest(AbstractModel):
3161
3157
 
3162
3158
  def __init__(self):
3163
3159
  r"""
3164
- :param _InstanceIds: 实例ID列表
3165
- 可通过DescribeInstances接口获取ID列表.单次能查询100个InstanceId
3160
+ :param _InstanceIds: 实例ID列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID列表。单次能查询100个InstanceId。
3166
3161
  :type InstanceIds: list of str
3167
3162
  :param _DryRun: 默认为False,True代表只验证接口连通性
3168
3163
  :type DryRun: bool
@@ -3172,8 +3167,7 @@ class TerminateInstancesRequest(AbstractModel):
3172
3167
 
3173
3168
  @property
3174
3169
  def InstanceIds(self):
3175
- """实例ID列表
3176
- 可通过DescribeInstances接口获取ID列表.单次能查询100个InstanceId
3170
+ """实例ID列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1721/101612) API获取实例ID列表。单次能查询100个InstanceId。
3177
3171
  :rtype: list of str
3178
3172
  """
3179
3173
  return self._InstanceIds
@@ -35,9 +35,6 @@ FAILEDOPERATION_OCRFAILED = 'FailedOperation.OcrFailed'
35
35
  # 未知错误。
36
36
  FAILEDOPERATION_UNKNOWERROR = 'FailedOperation.UnKnowError'
37
37
 
38
- # 未知的文件类型
39
- FAILEDOPERATION_UNKNOWFILETYPEERROR = 'FailedOperation.UnKnowFileTypeError'
40
-
41
38
  # 服务未开通。
42
39
  FAILEDOPERATION_UNOPENERROR = 'FailedOperation.UnOpenError'
43
40
 
@@ -47,9 +44,6 @@ INVALIDPARAMETER = 'InvalidParameter'
47
44
  # 参数值错误。
48
45
  INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = 'InvalidParameterValue.InvalidParameterValueLimit'
49
46
 
50
- # 文件内容太大。
51
- LIMITEXCEEDED_TOOLARGEFILEERROR = 'LimitExceeded.TooLargeFileError'
52
-
53
47
  # 缺少参数错误。
54
48
  MISSINGPARAMETER = 'MissingParameter'
55
49
 
@@ -235,32 +235,6 @@ class LkeClient(AbstractClient):
235
235
  raise TencentCloudSDKException(type(e).__name__, str(e))
236
236
 
237
237
 
238
- def CreateReconstructDocumentFlow(self, request):
239
- """本接口为异步接口的发起请求接口,用于发起文档解析任务。
240
- 文档解析支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
241
-
242
- 体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。
243
-
244
- :param request: Request instance for CreateReconstructDocumentFlow.
245
- :type request: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowRequest`
246
- :rtype: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowResponse`
247
-
248
- """
249
- try:
250
- params = request._serialize()
251
- headers = request.headers
252
- body = self.call("CreateReconstructDocumentFlow", params, headers=headers)
253
- response = json.loads(body)
254
- model = models.CreateReconstructDocumentFlowResponse()
255
- model._deserialize(response["Response"])
256
- return model
257
- except Exception as e:
258
- if isinstance(e, TencentCloudSDKException):
259
- raise
260
- else:
261
- raise TencentCloudSDKException(type(e).__name__, str(e))
262
-
263
-
264
238
  def CreateRejectedQuestion(self, request):
265
239
  """创建拒答问题
266
240
 
@@ -4216,235 +4216,6 @@ class CreateQAResponse(AbstractModel):
4216
4216
  self._RequestId = params.get("RequestId")
4217
4217
 
4218
4218
 
4219
- class CreateReconstructDocumentFlowConfig(AbstractModel):
4220
- """创建智能文档解析任务的配置信息
4221
-
4222
- """
4223
-
4224
- def __init__(self):
4225
- r"""
4226
- :param _TableResultType: Markdown文件中表格返回的形式
4227
- 0,表格以MD形式返回
4228
- 1,表格以HTML形式返回
4229
- 默认为1
4230
- :type TableResultType: str
4231
- :param _ResultType: 智能文档解析返回结果的格式
4232
- 0:只返回全文MD;
4233
- 1:只返回每一页的OCR原始Json;
4234
- 2:只返回每一页的MD,
4235
- 3:返回全文MD + 每一页的OCR原始Json;
4236
- 4:返回全文MD + 每一页的MD,
4237
- 默认值为3(返回全文MD + 每一页的OCR原始Json)
4238
-
4239
-
4240
- :type ResultType: str
4241
- """
4242
- self._TableResultType = None
4243
- self._ResultType = None
4244
-
4245
- @property
4246
- def TableResultType(self):
4247
- """Markdown文件中表格返回的形式
4248
- 0,表格以MD形式返回
4249
- 1,表格以HTML形式返回
4250
- 默认为1
4251
- :rtype: str
4252
- """
4253
- return self._TableResultType
4254
-
4255
- @TableResultType.setter
4256
- def TableResultType(self, TableResultType):
4257
- self._TableResultType = TableResultType
4258
-
4259
- @property
4260
- def ResultType(self):
4261
- """智能文档解析返回结果的格式
4262
- 0:只返回全文MD;
4263
- 1:只返回每一页的OCR原始Json;
4264
- 2:只返回每一页的MD,
4265
- 3:返回全文MD + 每一页的OCR原始Json;
4266
- 4:返回全文MD + 每一页的MD,
4267
- 默认值为3(返回全文MD + 每一页的OCR原始Json)
4268
-
4269
-
4270
- :rtype: str
4271
- """
4272
- return self._ResultType
4273
-
4274
- @ResultType.setter
4275
- def ResultType(self, ResultType):
4276
- self._ResultType = ResultType
4277
-
4278
-
4279
- def _deserialize(self, params):
4280
- self._TableResultType = params.get("TableResultType")
4281
- self._ResultType = params.get("ResultType")
4282
- memeber_set = set(params.keys())
4283
- for name, value in vars(self).items():
4284
- property_name = name[1:]
4285
- if property_name in memeber_set:
4286
- memeber_set.remove(property_name)
4287
- if len(memeber_set) > 0:
4288
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4289
-
4290
-
4291
-
4292
- class CreateReconstructDocumentFlowRequest(AbstractModel):
4293
- """CreateReconstructDocumentFlow请求参数结构体
4294
-
4295
- """
4296
-
4297
- def __init__(self):
4298
- r"""
4299
- :param _FileType: 文件类型。支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2。
4300
- :type FileType: str
4301
- :param _FileBase64: 文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
4302
- :type FileBase64: str
4303
- :param _FileUrl: <p>文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:</p><table> <tbody> <tr> <td>文件类型</td> <td>支持的文件大小</td> </tr> <tr> <td>PDF</td> <td>200M</td> </tr> <tr> <td>DOC</td> <td>200M</td> </tr> <tr> <td>DOCX</td> <td>200M</td> </tr> <tr> <td>PPT</td> <td>200M</td> </tr> <tr> <td>PPTX</td> <td>200M</td> </tr> <tr> <td>MD</td> <td>10M</td> </tr> <tr> <td>TXT</td> <td>10M</td> </tr> <tr> <td>XLS</td> <td>20M</td> </tr> <tr> <td>XLSX</td> <td>20M</td> </tr> <tr> <td>CSV</td> <td>20M</td> </tr> <tr> <td>PNG</td> <td>20M</td> </tr> <tr> <td>JPG</td> <td>20M</td> </tr> <tr> <td>JPEG</td> <td>20M</td> </tr> <tr> <td>BMP</td> <td>20M</td> </tr> <tr> <td>GIF</td> <td>20M</td> </tr> <tr> <td>WEBP</td> <td>20M</td> </tr> <tr> <td>HEIC</td> <td>20M</td> </tr> <tr> <td>EPS</td> <td>20M</td> </tr> <tr> <td>ICNS</td> <td>20M</td> </tr> <tr> <td>IM</td> <td>20M</td> </tr> <tr> <td>PCX</td> <td>20M</td> </tr> <tr> <td>PPM</td> <td>20M</td> </tr> <tr> <td>TIFF</td> <td>20M</td> </tr> <tr> <td>XBM</td> <td>20M</td> </tr> <tr> <td>HEIF</td> <td>20M</td> </tr> <tr> <td>JP2</td> <td>20M</td> </tr> </tbody> <colgroup> <col> <col> </colgroup></table>
4304
- :type FileUrl: str
4305
- :param _FileStartPageNumber: 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的起始页码,识别的页码包含当前值。默认为1,表示从文件的第1页开始识别。
4306
- :type FileStartPageNumber: int
4307
- :param _FileEndPageNumber: 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的结束页码,识别的页码包含当前值。默认为100,表示识别到文件的第100页。单次调用最多支持识别1000页内容,即FileEndPageNumber-FileStartPageNumber需要不大于1000。
4308
- :type FileEndPageNumber: int
4309
- :param _Config: 创建文档解析任务配置信息。
4310
- :type Config: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowConfig`
4311
- """
4312
- self._FileType = None
4313
- self._FileBase64 = None
4314
- self._FileUrl = None
4315
- self._FileStartPageNumber = None
4316
- self._FileEndPageNumber = None
4317
- self._Config = None
4318
-
4319
- @property
4320
- def FileType(self):
4321
- """文件类型。支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2。
4322
- :rtype: str
4323
- """
4324
- return self._FileType
4325
-
4326
- @FileType.setter
4327
- def FileType(self, FileType):
4328
- self._FileType = FileType
4329
-
4330
- @property
4331
- def FileBase64(self):
4332
- """文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
4333
- :rtype: str
4334
- """
4335
- return self._FileBase64
4336
-
4337
- @FileBase64.setter
4338
- def FileBase64(self, FileBase64):
4339
- self._FileBase64 = FileBase64
4340
-
4341
- @property
4342
- def FileUrl(self):
4343
- """<p>文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:</p><table> <tbody> <tr> <td>文件类型</td> <td>支持的文件大小</td> </tr> <tr> <td>PDF</td> <td>200M</td> </tr> <tr> <td>DOC</td> <td>200M</td> </tr> <tr> <td>DOCX</td> <td>200M</td> </tr> <tr> <td>PPT</td> <td>200M</td> </tr> <tr> <td>PPTX</td> <td>200M</td> </tr> <tr> <td>MD</td> <td>10M</td> </tr> <tr> <td>TXT</td> <td>10M</td> </tr> <tr> <td>XLS</td> <td>20M</td> </tr> <tr> <td>XLSX</td> <td>20M</td> </tr> <tr> <td>CSV</td> <td>20M</td> </tr> <tr> <td>PNG</td> <td>20M</td> </tr> <tr> <td>JPG</td> <td>20M</td> </tr> <tr> <td>JPEG</td> <td>20M</td> </tr> <tr> <td>BMP</td> <td>20M</td> </tr> <tr> <td>GIF</td> <td>20M</td> </tr> <tr> <td>WEBP</td> <td>20M</td> </tr> <tr> <td>HEIC</td> <td>20M</td> </tr> <tr> <td>EPS</td> <td>20M</td> </tr> <tr> <td>ICNS</td> <td>20M</td> </tr> <tr> <td>IM</td> <td>20M</td> </tr> <tr> <td>PCX</td> <td>20M</td> </tr> <tr> <td>PPM</td> <td>20M</td> </tr> <tr> <td>TIFF</td> <td>20M</td> </tr> <tr> <td>XBM</td> <td>20M</td> </tr> <tr> <td>HEIF</td> <td>20M</td> </tr> <tr> <td>JP2</td> <td>20M</td> </tr> </tbody> <colgroup> <col> <col> </colgroup></table>
4344
- :rtype: str
4345
- """
4346
- return self._FileUrl
4347
-
4348
- @FileUrl.setter
4349
- def FileUrl(self, FileUrl):
4350
- self._FileUrl = FileUrl
4351
-
4352
- @property
4353
- def FileStartPageNumber(self):
4354
- """当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的起始页码,识别的页码包含当前值。默认为1,表示从文件的第1页开始识别。
4355
- :rtype: int
4356
- """
4357
- return self._FileStartPageNumber
4358
-
4359
- @FileStartPageNumber.setter
4360
- def FileStartPageNumber(self, FileStartPageNumber):
4361
- self._FileStartPageNumber = FileStartPageNumber
4362
-
4363
- @property
4364
- def FileEndPageNumber(self):
4365
- """当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的结束页码,识别的页码包含当前值。默认为100,表示识别到文件的第100页。单次调用最多支持识别1000页内容,即FileEndPageNumber-FileStartPageNumber需要不大于1000。
4366
- :rtype: int
4367
- """
4368
- return self._FileEndPageNumber
4369
-
4370
- @FileEndPageNumber.setter
4371
- def FileEndPageNumber(self, FileEndPageNumber):
4372
- self._FileEndPageNumber = FileEndPageNumber
4373
-
4374
- @property
4375
- def Config(self):
4376
- """创建文档解析任务配置信息。
4377
- :rtype: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowConfig`
4378
- """
4379
- return self._Config
4380
-
4381
- @Config.setter
4382
- def Config(self, Config):
4383
- self._Config = Config
4384
-
4385
-
4386
- def _deserialize(self, params):
4387
- self._FileType = params.get("FileType")
4388
- self._FileBase64 = params.get("FileBase64")
4389
- self._FileUrl = params.get("FileUrl")
4390
- self._FileStartPageNumber = params.get("FileStartPageNumber")
4391
- self._FileEndPageNumber = params.get("FileEndPageNumber")
4392
- if params.get("Config") is not None:
4393
- self._Config = CreateReconstructDocumentFlowConfig()
4394
- self._Config._deserialize(params.get("Config"))
4395
- memeber_set = set(params.keys())
4396
- for name, value in vars(self).items():
4397
- property_name = name[1:]
4398
- if property_name in memeber_set:
4399
- memeber_set.remove(property_name)
4400
- if len(memeber_set) > 0:
4401
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4402
-
4403
-
4404
-
4405
- class CreateReconstructDocumentFlowResponse(AbstractModel):
4406
- """CreateReconstructDocumentFlow返回参数结构体
4407
-
4408
- """
4409
-
4410
- def __init__(self):
4411
- r"""
4412
- :param _TaskId: 任务唯一ID。30天内可以通过[GetReconstructDocumentResult](https://cloud.tencent.com/document/product/1759/107505)接口查询TaskId对应的处理结果。
4413
- :type TaskId: str
4414
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4415
- :type RequestId: str
4416
- """
4417
- self._TaskId = None
4418
- self._RequestId = None
4419
-
4420
- @property
4421
- def TaskId(self):
4422
- """任务唯一ID。30天内可以通过[GetReconstructDocumentResult](https://cloud.tencent.com/document/product/1759/107505)接口查询TaskId对应的处理结果。
4423
- :rtype: str
4424
- """
4425
- return self._TaskId
4426
-
4427
- @TaskId.setter
4428
- def TaskId(self, TaskId):
4429
- self._TaskId = TaskId
4430
-
4431
- @property
4432
- def RequestId(self):
4433
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4434
- :rtype: str
4435
- """
4436
- return self._RequestId
4437
-
4438
- @RequestId.setter
4439
- def RequestId(self, RequestId):
4440
- self._RequestId = RequestId
4441
-
4442
-
4443
- def _deserialize(self, params):
4444
- self._TaskId = params.get("TaskId")
4445
- self._RequestId = params.get("RequestId")
4446
-
4447
-
4448
4219
  class CreateRejectedQuestionRequest(AbstractModel):
4449
4220
  """CreateRejectedQuestion请求参数结构体
4450
4221
 
@@ -49,9 +49,7 @@ class LkeapClient(AbstractClient):
49
49
  - DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)
50
50
  - DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。
51
51
  - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。
52
- - DeepSeek-Prover-V2(model 参数值为**deepseek-prover-v2**)
53
- - DeepSeek-Prover-V2 为671B 参数 MoE 模型,在数学定理证明和复杂计算任务中表现出色。
54
- - 支持64K上下文长度,最大输出16k。
52
+
55
53
 
56
54
 
57
55
  ### 计费说明
@@ -66,8 +64,6 @@ class LkeapClient(AbstractClient):
66
64
 
67
65
  - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token
68
66
 
69
- - DeepSeek-Prover-V2 模型 | 暂不计费
70
-
71
67
 
72
68
  ### Openai兼容协议接口
73
69
  知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。