tencentcloud-sdk-python-ocr 3.1.93__py2.py3-none-any.whl → 3.1.97__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.93'
17
+ __version__ = '3.1.97'
@@ -30733,20 +30733,22 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30733
30733
 
30734
30734
  def __init__(self):
30735
30735
  r"""
30736
- :param _ImageBase64: 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl
30736
+ :param _ImageBase64: <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
30737
30737
  :type ImageBase64: str
30738
- :param _ImageUrl: 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
30738
+ :param _ImageUrl: <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
30739
30739
  :type ImageUrl: str
30740
- :param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前5页。
30740
+ :param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前5页。</p>
30741
30741
  :type PdfPageNumber: int
30742
- :param _ItemNames: 自定义抽取需要的字段名称、字段类型、字段提示词。
30742
+ :param _ItemNames: <p>自定义抽取需要的字段名称、字段类型、字段提示词。</p>
30743
30743
  :type ItemNames: list of ItemNames
30744
- :param _EnableCoord: 是否需要返回坐标,默认false
30744
+ :param _EnableCoord: <p>是否需要返回坐标,默认false。</p>
30745
30745
  :type EnableCoord: bool
30746
- :param _FileStartPageNumber: 起始页
30746
+ :param _FileStartPageNumber: <p>起始页</p>
30747
30747
  :type FileStartPageNumber: int
30748
- :param _FileEndPageNumber: 结束页
30748
+ :param _FileEndPageNumber: <p>结束页</p>
30749
30749
  :type FileEndPageNumber: int
30750
+ :param _ModelConfig: <p>model_hunyuan:选择混元底座视觉大模型精调抽取任务 model_youtu:选择优图底座多模态大模型精调抽取任务</p>
30751
+ :type ModelConfig: str
30750
30752
  """
30751
30753
  self._ImageBase64 = None
30752
30754
  self._ImageUrl = None
@@ -30755,10 +30757,11 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30755
30757
  self._EnableCoord = None
30756
30758
  self._FileStartPageNumber = None
30757
30759
  self._FileEndPageNumber = None
30760
+ self._ModelConfig = None
30758
30761
 
30759
30762
  @property
30760
30763
  def ImageBase64(self):
30761
- r"""图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl
30764
+ r"""<p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
30762
30765
  :rtype: str
30763
30766
  """
30764
30767
  return self._ImageBase64
@@ -30769,7 +30772,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30769
30772
 
30770
30773
  @property
30771
30774
  def ImageUrl(self):
30772
- r"""图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
30775
+ r"""<p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
30773
30776
  :rtype: str
30774
30777
  """
30775
30778
  return self._ImageUrl
@@ -30782,7 +30785,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30782
30785
  def PdfPageNumber(self):
30783
30786
  warnings.warn("parameter `PdfPageNumber` is deprecated", DeprecationWarning)
30784
30787
 
30785
- r"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前5页。
30788
+ r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前5页。</p>
30786
30789
  :rtype: int
30787
30790
  """
30788
30791
  return self._PdfPageNumber
@@ -30795,7 +30798,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30795
30798
 
30796
30799
  @property
30797
30800
  def ItemNames(self):
30798
- r"""自定义抽取需要的字段名称、字段类型、字段提示词。
30801
+ r"""<p>自定义抽取需要的字段名称、字段类型、字段提示词。</p>
30799
30802
  :rtype: list of ItemNames
30800
30803
  """
30801
30804
  return self._ItemNames
@@ -30806,7 +30809,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30806
30809
 
30807
30810
  @property
30808
30811
  def EnableCoord(self):
30809
- r"""是否需要返回坐标,默认false
30812
+ r"""<p>是否需要返回坐标,默认false。</p>
30810
30813
  :rtype: bool
30811
30814
  """
30812
30815
  return self._EnableCoord
@@ -30817,7 +30820,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30817
30820
 
30818
30821
  @property
30819
30822
  def FileStartPageNumber(self):
30820
- r"""起始页
30823
+ r"""<p>起始页</p>
30821
30824
  :rtype: int
30822
30825
  """
30823
30826
  return self._FileStartPageNumber
@@ -30828,7 +30831,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30828
30831
 
30829
30832
  @property
30830
30833
  def FileEndPageNumber(self):
30831
- r"""结束页
30834
+ r"""<p>结束页</p>
30832
30835
  :rtype: int
30833
30836
  """
30834
30837
  return self._FileEndPageNumber
@@ -30837,6 +30840,17 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30837
30840
  def FileEndPageNumber(self, FileEndPageNumber):
30838
30841
  self._FileEndPageNumber = FileEndPageNumber
30839
30842
 
30843
+ @property
30844
+ def ModelConfig(self):
30845
+ r"""<p>model_hunyuan:选择混元底座视觉大模型精调抽取任务 model_youtu:选择优图底座多模态大模型精调抽取任务</p>
30846
+ :rtype: str
30847
+ """
30848
+ return self._ModelConfig
30849
+
30850
+ @ModelConfig.setter
30851
+ def ModelConfig(self, ModelConfig):
30852
+ self._ModelConfig = ModelConfig
30853
+
30840
30854
 
30841
30855
  def _deserialize(self, params):
30842
30856
  self._ImageBase64 = params.get("ImageBase64")
@@ -30851,6 +30865,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
30851
30865
  self._EnableCoord = params.get("EnableCoord")
30852
30866
  self._FileStartPageNumber = params.get("FileStartPageNumber")
30853
30867
  self._FileEndPageNumber = params.get("FileEndPageNumber")
30868
+ self._ModelConfig = params.get("ModelConfig")
30854
30869
  memeber_set = set(params.keys())
30855
30870
  for name, value in vars(self).items():
30856
30871
  property_name = name[1:]
@@ -30868,7 +30883,7 @@ class SubmitExtractDocAgentJobResponse(AbstractModel):
30868
30883
 
30869
30884
  def __init__(self):
30870
30885
  r"""
30871
- :param _JobId: 任务唯一ID。由服务端生成。
30886
+ :param _JobId: <p>任务唯一ID。由服务端生成。</p>
30872
30887
  :type JobId: str
30873
30888
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30874
30889
  :type RequestId: str
@@ -30878,7 +30893,7 @@ class SubmitExtractDocAgentJobResponse(AbstractModel):
30878
30893
 
30879
30894
  @property
30880
30895
  def JobId(self):
30881
- r"""任务唯一ID。由服务端生成。
30896
+ r"""<p>任务唯一ID。由服务端生成。</p>
30882
30897
  :rtype: str
30883
30898
  """
30884
30899
  return self._JobId
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.93
3
+ Version: 3.1.97
4
4
  Summary: Tencent Cloud Ocr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.93
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.97
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=pSS1Ld-R5agcd96u9HPglrFJv3U9iX3xzLdiS8aCLGY,629
1
+ tencentcloud/__init__.py,sha256=8sEMwyH8YxNlbBaPJjgIfhRq1n4Wko30VHbq7n4fHgg,629
2
2
  tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/ocr/v20181119/errorcodes.py,sha256=tEfs2ziF9fJ0EHVGEECkyVBT5OfMy98yBpkI6-Yyiss,7272
5
- tencentcloud/ocr/v20181119/models.py,sha256=rbzwtgh7jKyN23LXGpEdvTPH8AiTr_MT7uadmKdr67E,1406328
5
+ tencentcloud/ocr/v20181119/models.py,sha256=yGSEi4g3R3GFeXin8G8S5BIZSY_pC8vc4O-b5nIiBu8,1407097
6
6
  tencentcloud/ocr/v20181119/ocr_client.py,sha256=okdO9wudb6nnl5vtp4spyHbqS22Igfl4V8ZXr3N5I1Y,122446
7
7
  tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=Zf1iCDmF-rNyrGRAaVvbVZZIZgp5G5UzJbfV6VtQv-M,97243
8
- tencentcloud_sdk_python_ocr-3.1.93.dist-info/METADATA,sha256=Q0Uqoe7zz66zmhGS5w_gRm6CVCU83AG0XGoCLMXRuiM,1495
9
- tencentcloud_sdk_python_ocr-3.1.93.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_ocr-3.1.93.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_ocr-3.1.93.dist-info/RECORD,,
8
+ tencentcloud_sdk_python_ocr-3.1.97.dist-info/METADATA,sha256=rQ_to1D6Bjf-8H4NYeVC7qQgusqb69EmPMOlupr39IM,1495
9
+ tencentcloud_sdk_python_ocr-3.1.97.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_ocr-3.1.97.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_ocr-3.1.97.dist-info/RECORD,,