tencentcloud-sdk-python-ocr 3.1.202__tar.gz → 3.1.205__tar.gz
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_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud/ocr/v20181119/models.py +573 -14
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud/ocr/v20181119/ocr_client.py +24 -1
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud/ocr/v20181119/ocr_client_async.py +19 -1
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.205/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.202/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.205}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.205
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ocr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.205,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -4792,14 +4792,14 @@ class DescribeExtractDocAgentJobRequest(AbstractModel):
|
|
|
4792
4792
|
|
|
4793
4793
|
def __init__(self):
|
|
4794
4794
|
r"""
|
|
4795
|
-
:param _JobId:
|
|
4795
|
+
:param _JobId: <p>任务唯一ID。由服务端生成。</p>
|
|
4796
4796
|
:type JobId: str
|
|
4797
4797
|
"""
|
|
4798
4798
|
self._JobId = None
|
|
4799
4799
|
|
|
4800
4800
|
@property
|
|
4801
4801
|
def JobId(self):
|
|
4802
|
-
r"""
|
|
4802
|
+
r"""<p>任务唯一ID。由服务端生成。</p>
|
|
4803
4803
|
:rtype: str
|
|
4804
4804
|
"""
|
|
4805
4805
|
return self._JobId
|
|
@@ -4828,18 +4828,20 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4828
4828
|
|
|
4829
4829
|
def __init__(self):
|
|
4830
4830
|
r"""
|
|
4831
|
-
:param _Angle:
|
|
4831
|
+
:param _Angle: <p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
|
|
4832
4832
|
:type Angle: float
|
|
4833
|
-
:param _StructuralList:
|
|
4833
|
+
:param _StructuralList: <p>配置结构化文本信息。AgentType为0按照这个结构返回</p>
|
|
4834
4834
|
:type StructuralList: list of GroupInfo
|
|
4835
|
-
:param _ErrorCode:
|
|
4835
|
+
:param _ErrorCode: <p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4836
4836
|
:type ErrorCode: str
|
|
4837
|
-
:param _ErrorMessage:
|
|
4837
|
+
:param _ErrorMessage: <p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4838
4838
|
:type ErrorMessage: str
|
|
4839
|
-
:param _JobStatus:
|
|
4839
|
+
:param _JobStatus: <p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
4840
4840
|
:type JobStatus: str
|
|
4841
|
-
:param _ThoughtContent:
|
|
4841
|
+
:param _ThoughtContent: <p>思考过程</p>
|
|
4842
4842
|
:type ThoughtContent: str
|
|
4843
|
+
:param _AgentResultJson: <p>定制的json结构字符串,主要用于快速定制输出的agent输出结构。推荐用于POC场景</p>
|
|
4844
|
+
:type AgentResultJson: str
|
|
4843
4845
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4844
4846
|
:type RequestId: str
|
|
4845
4847
|
"""
|
|
@@ -4849,11 +4851,12 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4849
4851
|
self._ErrorMessage = None
|
|
4850
4852
|
self._JobStatus = None
|
|
4851
4853
|
self._ThoughtContent = None
|
|
4854
|
+
self._AgentResultJson = None
|
|
4852
4855
|
self._RequestId = None
|
|
4853
4856
|
|
|
4854
4857
|
@property
|
|
4855
4858
|
def Angle(self):
|
|
4856
|
-
r"""
|
|
4859
|
+
r"""<p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
|
|
4857
4860
|
:rtype: float
|
|
4858
4861
|
"""
|
|
4859
4862
|
return self._Angle
|
|
@@ -4864,7 +4867,7 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4864
4867
|
|
|
4865
4868
|
@property
|
|
4866
4869
|
def StructuralList(self):
|
|
4867
|
-
r"""
|
|
4870
|
+
r"""<p>配置结构化文本信息。AgentType为0按照这个结构返回</p>
|
|
4868
4871
|
:rtype: list of GroupInfo
|
|
4869
4872
|
"""
|
|
4870
4873
|
return self._StructuralList
|
|
@@ -4875,7 +4878,7 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4875
4878
|
|
|
4876
4879
|
@property
|
|
4877
4880
|
def ErrorCode(self):
|
|
4878
|
-
r"""
|
|
4881
|
+
r"""<p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4879
4882
|
:rtype: str
|
|
4880
4883
|
"""
|
|
4881
4884
|
return self._ErrorCode
|
|
@@ -4886,7 +4889,7 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4886
4889
|
|
|
4887
4890
|
@property
|
|
4888
4891
|
def ErrorMessage(self):
|
|
4889
|
-
r"""
|
|
4892
|
+
r"""<p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4890
4893
|
:rtype: str
|
|
4891
4894
|
"""
|
|
4892
4895
|
return self._ErrorMessage
|
|
@@ -4897,7 +4900,7 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4897
4900
|
|
|
4898
4901
|
@property
|
|
4899
4902
|
def JobStatus(self):
|
|
4900
|
-
r"""
|
|
4903
|
+
r"""<p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
4901
4904
|
:rtype: str
|
|
4902
4905
|
"""
|
|
4903
4906
|
return self._JobStatus
|
|
@@ -4908,7 +4911,7 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4908
4911
|
|
|
4909
4912
|
@property
|
|
4910
4913
|
def ThoughtContent(self):
|
|
4911
|
-
r"""
|
|
4914
|
+
r"""<p>思考过程</p>
|
|
4912
4915
|
:rtype: str
|
|
4913
4916
|
"""
|
|
4914
4917
|
return self._ThoughtContent
|
|
@@ -4917,6 +4920,17 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4917
4920
|
def ThoughtContent(self, ThoughtContent):
|
|
4918
4921
|
self._ThoughtContent = ThoughtContent
|
|
4919
4922
|
|
|
4923
|
+
@property
|
|
4924
|
+
def AgentResultJson(self):
|
|
4925
|
+
r"""<p>定制的json结构字符串,主要用于快速定制输出的agent输出结构。推荐用于POC场景</p>
|
|
4926
|
+
:rtype: str
|
|
4927
|
+
"""
|
|
4928
|
+
return self._AgentResultJson
|
|
4929
|
+
|
|
4930
|
+
@AgentResultJson.setter
|
|
4931
|
+
def AgentResultJson(self, AgentResultJson):
|
|
4932
|
+
self._AgentResultJson = AgentResultJson
|
|
4933
|
+
|
|
4920
4934
|
@property
|
|
4921
4935
|
def RequestId(self):
|
|
4922
4936
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4941,6 +4955,7 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4941
4955
|
self._ErrorMessage = params.get("ErrorMessage")
|
|
4942
4956
|
self._JobStatus = params.get("JobStatus")
|
|
4943
4957
|
self._ThoughtContent = params.get("ThoughtContent")
|
|
4958
|
+
self._AgentResultJson = params.get("AgentResultJson")
|
|
4944
4959
|
self._RequestId = params.get("RequestId")
|
|
4945
4960
|
|
|
4946
4961
|
|
|
@@ -22528,6 +22543,535 @@ DataMatrix:DATA_MATRIX
|
|
|
22528
22543
|
|
|
22529
22544
|
|
|
22530
22545
|
|
|
22546
|
+
class QueryEnterpriseBasicInfoRequest(AbstractModel):
|
|
22547
|
+
r"""QueryEnterpriseBasicInfo请求参数结构体
|
|
22548
|
+
|
|
22549
|
+
"""
|
|
22550
|
+
|
|
22551
|
+
def __init__(self):
|
|
22552
|
+
r"""
|
|
22553
|
+
:param _CreditCode: <p>统一社会信用代码。CreditCode、EntName 必须提供一个,如果都提供,只使用 CreditCode。</p>
|
|
22554
|
+
:type CreditCode: str
|
|
22555
|
+
:param _EntName: <p>企业名称。CreditCode、EntName 必须提供一个,如果都提供,只使用 CreditCode。</p>
|
|
22556
|
+
:type EntName: str
|
|
22557
|
+
"""
|
|
22558
|
+
self._CreditCode = None
|
|
22559
|
+
self._EntName = None
|
|
22560
|
+
|
|
22561
|
+
@property
|
|
22562
|
+
def CreditCode(self):
|
|
22563
|
+
r"""<p>统一社会信用代码。CreditCode、EntName 必须提供一个,如果都提供,只使用 CreditCode。</p>
|
|
22564
|
+
:rtype: str
|
|
22565
|
+
"""
|
|
22566
|
+
return self._CreditCode
|
|
22567
|
+
|
|
22568
|
+
@CreditCode.setter
|
|
22569
|
+
def CreditCode(self, CreditCode):
|
|
22570
|
+
self._CreditCode = CreditCode
|
|
22571
|
+
|
|
22572
|
+
@property
|
|
22573
|
+
def EntName(self):
|
|
22574
|
+
r"""<p>企业名称。CreditCode、EntName 必须提供一个,如果都提供,只使用 CreditCode。</p>
|
|
22575
|
+
:rtype: str
|
|
22576
|
+
"""
|
|
22577
|
+
return self._EntName
|
|
22578
|
+
|
|
22579
|
+
@EntName.setter
|
|
22580
|
+
def EntName(self, EntName):
|
|
22581
|
+
self._EntName = EntName
|
|
22582
|
+
|
|
22583
|
+
|
|
22584
|
+
def _deserialize(self, params):
|
|
22585
|
+
self._CreditCode = params.get("CreditCode")
|
|
22586
|
+
self._EntName = params.get("EntName")
|
|
22587
|
+
memeber_set = set(params.keys())
|
|
22588
|
+
for name, value in vars(self).items():
|
|
22589
|
+
property_name = name[1:]
|
|
22590
|
+
if property_name in memeber_set:
|
|
22591
|
+
memeber_set.remove(property_name)
|
|
22592
|
+
if len(memeber_set) > 0:
|
|
22593
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22594
|
+
|
|
22595
|
+
|
|
22596
|
+
|
|
22597
|
+
class QueryEnterpriseBasicInfoResponse(AbstractModel):
|
|
22598
|
+
r"""QueryEnterpriseBasicInfo返回参数结构体
|
|
22599
|
+
|
|
22600
|
+
"""
|
|
22601
|
+
|
|
22602
|
+
def __init__(self):
|
|
22603
|
+
r"""
|
|
22604
|
+
:param _StatusCode: <p>请求状态。<br>枚举值:<br>0:成功,计费;<br>1:系统异常,不计费;<br>2:查询无结果,不计费。</p>
|
|
22605
|
+
:type StatusCode: int
|
|
22606
|
+
:param _CreditCode: <p>统一社会信用代码。</p>
|
|
22607
|
+
:type CreditCode: str
|
|
22608
|
+
:param _EntName: <p>企业名称。</p>
|
|
22609
|
+
:type EntName: str
|
|
22610
|
+
:param _Type: <p>主体类型。</p>
|
|
22611
|
+
:type Type: str
|
|
22612
|
+
:param _LrName: <p>法人代表。</p>
|
|
22613
|
+
:type LrName: str
|
|
22614
|
+
:param _Capital: <p>注册资本。</p>
|
|
22615
|
+
:type Capital: str
|
|
22616
|
+
:param _Address: <p>企业登记住所或注册地址。</p>
|
|
22617
|
+
:type Address: str
|
|
22618
|
+
:param _Business: <p>经营范围。</p>
|
|
22619
|
+
:type Business: str
|
|
22620
|
+
:param _RegistrationAuthority: <p>登记机关。</p>
|
|
22621
|
+
:type RegistrationAuthority: str
|
|
22622
|
+
:param _OperatingStatus: <p>经营状态(标准化),枚举值:<br>1:开业(在营);<br>2:迁出;<br>3:注销;<br>4:吊销;<br>5:撤销;<br>6:停业;<br>7:撤销登记;<br>0:其他;/:无法查询。</p>
|
|
22623
|
+
:type OperatingStatus: str
|
|
22624
|
+
:param _RawOperatingStatus: <p>经营状态(原始值)。</p>
|
|
22625
|
+
:type RawOperatingStatus: str
|
|
22626
|
+
:param _SetDate: <p>成立日期。</p>
|
|
22627
|
+
:type SetDate: str
|
|
22628
|
+
:param _OperatingPeriod: <p>营业期限:一般包括营业开始时间和结束时间<br>参数格式:yyyy-MM-dd/yyyy-MM-dd<br>无固定期限的格式为:yyyy-MM-dd/<br>部分企业历史数据可能为空,将返回:/<br>无法查询,将返回:/</p>
|
|
22629
|
+
:type OperatingPeriod: str
|
|
22630
|
+
:param _ApprovalDate: <p>核准日期。</p>
|
|
22631
|
+
:type ApprovalDate: str
|
|
22632
|
+
:param _Province: <p>所在省份。</p>
|
|
22633
|
+
:type Province: str
|
|
22634
|
+
:param _ProvinceCode: <p>所在省份的行政区划代码。</p>
|
|
22635
|
+
:type ProvinceCode: str
|
|
22636
|
+
:param _City: <p>所在城市。</p>
|
|
22637
|
+
:type City: str
|
|
22638
|
+
:param _CityCode: <p>所在城市的行政区划代码。</p>
|
|
22639
|
+
:type CityCode: str
|
|
22640
|
+
:param _District: <p>所在区县。</p>
|
|
22641
|
+
:type District: str
|
|
22642
|
+
:param _DistrictCode: <p>所在区县的行政区划代码。</p>
|
|
22643
|
+
:type DistrictCode: str
|
|
22644
|
+
:param _CapitalCurrency: <p>注册资本币种。</p>
|
|
22645
|
+
:type CapitalCurrency: str
|
|
22646
|
+
:param _OrganizationCode: <p>组织机构代码。</p>
|
|
22647
|
+
:type OrganizationCode: str
|
|
22648
|
+
:param _EnglishName: <p>企业英文名称。</p>
|
|
22649
|
+
:type EnglishName: str
|
|
22650
|
+
:param _FormerNames: <p>企业曾用名列表。</p>
|
|
22651
|
+
:type FormerNames: list of str
|
|
22652
|
+
:param _OriginalRegNum: <p>原注册号。</p>
|
|
22653
|
+
:type OriginalRegNum: str
|
|
22654
|
+
:param _PaidInCapital: <p>实收资本。</p>
|
|
22655
|
+
:type PaidInCapital: str
|
|
22656
|
+
:param _RevokeDate: <p>吊销日期。</p>
|
|
22657
|
+
:type RevokeDate: str
|
|
22658
|
+
:param _RevokeReason: <p>吊销原因。</p>
|
|
22659
|
+
:type RevokeReason: str
|
|
22660
|
+
:param _CancellationDate: <p>注销日期。</p>
|
|
22661
|
+
:type CancellationDate: str
|
|
22662
|
+
:param _CancellationReason: <p>注销原因。</p>
|
|
22663
|
+
:type CancellationReason: str
|
|
22664
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22665
|
+
:type RequestId: str
|
|
22666
|
+
"""
|
|
22667
|
+
self._StatusCode = None
|
|
22668
|
+
self._CreditCode = None
|
|
22669
|
+
self._EntName = None
|
|
22670
|
+
self._Type = None
|
|
22671
|
+
self._LrName = None
|
|
22672
|
+
self._Capital = None
|
|
22673
|
+
self._Address = None
|
|
22674
|
+
self._Business = None
|
|
22675
|
+
self._RegistrationAuthority = None
|
|
22676
|
+
self._OperatingStatus = None
|
|
22677
|
+
self._RawOperatingStatus = None
|
|
22678
|
+
self._SetDate = None
|
|
22679
|
+
self._OperatingPeriod = None
|
|
22680
|
+
self._ApprovalDate = None
|
|
22681
|
+
self._Province = None
|
|
22682
|
+
self._ProvinceCode = None
|
|
22683
|
+
self._City = None
|
|
22684
|
+
self._CityCode = None
|
|
22685
|
+
self._District = None
|
|
22686
|
+
self._DistrictCode = None
|
|
22687
|
+
self._CapitalCurrency = None
|
|
22688
|
+
self._OrganizationCode = None
|
|
22689
|
+
self._EnglishName = None
|
|
22690
|
+
self._FormerNames = None
|
|
22691
|
+
self._OriginalRegNum = None
|
|
22692
|
+
self._PaidInCapital = None
|
|
22693
|
+
self._RevokeDate = None
|
|
22694
|
+
self._RevokeReason = None
|
|
22695
|
+
self._CancellationDate = None
|
|
22696
|
+
self._CancellationReason = None
|
|
22697
|
+
self._RequestId = None
|
|
22698
|
+
|
|
22699
|
+
@property
|
|
22700
|
+
def StatusCode(self):
|
|
22701
|
+
r"""<p>请求状态。<br>枚举值:<br>0:成功,计费;<br>1:系统异常,不计费;<br>2:查询无结果,不计费。</p>
|
|
22702
|
+
:rtype: int
|
|
22703
|
+
"""
|
|
22704
|
+
return self._StatusCode
|
|
22705
|
+
|
|
22706
|
+
@StatusCode.setter
|
|
22707
|
+
def StatusCode(self, StatusCode):
|
|
22708
|
+
self._StatusCode = StatusCode
|
|
22709
|
+
|
|
22710
|
+
@property
|
|
22711
|
+
def CreditCode(self):
|
|
22712
|
+
r"""<p>统一社会信用代码。</p>
|
|
22713
|
+
:rtype: str
|
|
22714
|
+
"""
|
|
22715
|
+
return self._CreditCode
|
|
22716
|
+
|
|
22717
|
+
@CreditCode.setter
|
|
22718
|
+
def CreditCode(self, CreditCode):
|
|
22719
|
+
self._CreditCode = CreditCode
|
|
22720
|
+
|
|
22721
|
+
@property
|
|
22722
|
+
def EntName(self):
|
|
22723
|
+
r"""<p>企业名称。</p>
|
|
22724
|
+
:rtype: str
|
|
22725
|
+
"""
|
|
22726
|
+
return self._EntName
|
|
22727
|
+
|
|
22728
|
+
@EntName.setter
|
|
22729
|
+
def EntName(self, EntName):
|
|
22730
|
+
self._EntName = EntName
|
|
22731
|
+
|
|
22732
|
+
@property
|
|
22733
|
+
def Type(self):
|
|
22734
|
+
r"""<p>主体类型。</p>
|
|
22735
|
+
:rtype: str
|
|
22736
|
+
"""
|
|
22737
|
+
return self._Type
|
|
22738
|
+
|
|
22739
|
+
@Type.setter
|
|
22740
|
+
def Type(self, Type):
|
|
22741
|
+
self._Type = Type
|
|
22742
|
+
|
|
22743
|
+
@property
|
|
22744
|
+
def LrName(self):
|
|
22745
|
+
r"""<p>法人代表。</p>
|
|
22746
|
+
:rtype: str
|
|
22747
|
+
"""
|
|
22748
|
+
return self._LrName
|
|
22749
|
+
|
|
22750
|
+
@LrName.setter
|
|
22751
|
+
def LrName(self, LrName):
|
|
22752
|
+
self._LrName = LrName
|
|
22753
|
+
|
|
22754
|
+
@property
|
|
22755
|
+
def Capital(self):
|
|
22756
|
+
r"""<p>注册资本。</p>
|
|
22757
|
+
:rtype: str
|
|
22758
|
+
"""
|
|
22759
|
+
return self._Capital
|
|
22760
|
+
|
|
22761
|
+
@Capital.setter
|
|
22762
|
+
def Capital(self, Capital):
|
|
22763
|
+
self._Capital = Capital
|
|
22764
|
+
|
|
22765
|
+
@property
|
|
22766
|
+
def Address(self):
|
|
22767
|
+
r"""<p>企业登记住所或注册地址。</p>
|
|
22768
|
+
:rtype: str
|
|
22769
|
+
"""
|
|
22770
|
+
return self._Address
|
|
22771
|
+
|
|
22772
|
+
@Address.setter
|
|
22773
|
+
def Address(self, Address):
|
|
22774
|
+
self._Address = Address
|
|
22775
|
+
|
|
22776
|
+
@property
|
|
22777
|
+
def Business(self):
|
|
22778
|
+
r"""<p>经营范围。</p>
|
|
22779
|
+
:rtype: str
|
|
22780
|
+
"""
|
|
22781
|
+
return self._Business
|
|
22782
|
+
|
|
22783
|
+
@Business.setter
|
|
22784
|
+
def Business(self, Business):
|
|
22785
|
+
self._Business = Business
|
|
22786
|
+
|
|
22787
|
+
@property
|
|
22788
|
+
def RegistrationAuthority(self):
|
|
22789
|
+
r"""<p>登记机关。</p>
|
|
22790
|
+
:rtype: str
|
|
22791
|
+
"""
|
|
22792
|
+
return self._RegistrationAuthority
|
|
22793
|
+
|
|
22794
|
+
@RegistrationAuthority.setter
|
|
22795
|
+
def RegistrationAuthority(self, RegistrationAuthority):
|
|
22796
|
+
self._RegistrationAuthority = RegistrationAuthority
|
|
22797
|
+
|
|
22798
|
+
@property
|
|
22799
|
+
def OperatingStatus(self):
|
|
22800
|
+
r"""<p>经营状态(标准化),枚举值:<br>1:开业(在营);<br>2:迁出;<br>3:注销;<br>4:吊销;<br>5:撤销;<br>6:停业;<br>7:撤销登记;<br>0:其他;/:无法查询。</p>
|
|
22801
|
+
:rtype: str
|
|
22802
|
+
"""
|
|
22803
|
+
return self._OperatingStatus
|
|
22804
|
+
|
|
22805
|
+
@OperatingStatus.setter
|
|
22806
|
+
def OperatingStatus(self, OperatingStatus):
|
|
22807
|
+
self._OperatingStatus = OperatingStatus
|
|
22808
|
+
|
|
22809
|
+
@property
|
|
22810
|
+
def RawOperatingStatus(self):
|
|
22811
|
+
r"""<p>经营状态(原始值)。</p>
|
|
22812
|
+
:rtype: str
|
|
22813
|
+
"""
|
|
22814
|
+
return self._RawOperatingStatus
|
|
22815
|
+
|
|
22816
|
+
@RawOperatingStatus.setter
|
|
22817
|
+
def RawOperatingStatus(self, RawOperatingStatus):
|
|
22818
|
+
self._RawOperatingStatus = RawOperatingStatus
|
|
22819
|
+
|
|
22820
|
+
@property
|
|
22821
|
+
def SetDate(self):
|
|
22822
|
+
r"""<p>成立日期。</p>
|
|
22823
|
+
:rtype: str
|
|
22824
|
+
"""
|
|
22825
|
+
return self._SetDate
|
|
22826
|
+
|
|
22827
|
+
@SetDate.setter
|
|
22828
|
+
def SetDate(self, SetDate):
|
|
22829
|
+
self._SetDate = SetDate
|
|
22830
|
+
|
|
22831
|
+
@property
|
|
22832
|
+
def OperatingPeriod(self):
|
|
22833
|
+
r"""<p>营业期限:一般包括营业开始时间和结束时间<br>参数格式:yyyy-MM-dd/yyyy-MM-dd<br>无固定期限的格式为:yyyy-MM-dd/<br>部分企业历史数据可能为空,将返回:/<br>无法查询,将返回:/</p>
|
|
22834
|
+
:rtype: str
|
|
22835
|
+
"""
|
|
22836
|
+
return self._OperatingPeriod
|
|
22837
|
+
|
|
22838
|
+
@OperatingPeriod.setter
|
|
22839
|
+
def OperatingPeriod(self, OperatingPeriod):
|
|
22840
|
+
self._OperatingPeriod = OperatingPeriod
|
|
22841
|
+
|
|
22842
|
+
@property
|
|
22843
|
+
def ApprovalDate(self):
|
|
22844
|
+
r"""<p>核准日期。</p>
|
|
22845
|
+
:rtype: str
|
|
22846
|
+
"""
|
|
22847
|
+
return self._ApprovalDate
|
|
22848
|
+
|
|
22849
|
+
@ApprovalDate.setter
|
|
22850
|
+
def ApprovalDate(self, ApprovalDate):
|
|
22851
|
+
self._ApprovalDate = ApprovalDate
|
|
22852
|
+
|
|
22853
|
+
@property
|
|
22854
|
+
def Province(self):
|
|
22855
|
+
r"""<p>所在省份。</p>
|
|
22856
|
+
:rtype: str
|
|
22857
|
+
"""
|
|
22858
|
+
return self._Province
|
|
22859
|
+
|
|
22860
|
+
@Province.setter
|
|
22861
|
+
def Province(self, Province):
|
|
22862
|
+
self._Province = Province
|
|
22863
|
+
|
|
22864
|
+
@property
|
|
22865
|
+
def ProvinceCode(self):
|
|
22866
|
+
r"""<p>所在省份的行政区划代码。</p>
|
|
22867
|
+
:rtype: str
|
|
22868
|
+
"""
|
|
22869
|
+
return self._ProvinceCode
|
|
22870
|
+
|
|
22871
|
+
@ProvinceCode.setter
|
|
22872
|
+
def ProvinceCode(self, ProvinceCode):
|
|
22873
|
+
self._ProvinceCode = ProvinceCode
|
|
22874
|
+
|
|
22875
|
+
@property
|
|
22876
|
+
def City(self):
|
|
22877
|
+
r"""<p>所在城市。</p>
|
|
22878
|
+
:rtype: str
|
|
22879
|
+
"""
|
|
22880
|
+
return self._City
|
|
22881
|
+
|
|
22882
|
+
@City.setter
|
|
22883
|
+
def City(self, City):
|
|
22884
|
+
self._City = City
|
|
22885
|
+
|
|
22886
|
+
@property
|
|
22887
|
+
def CityCode(self):
|
|
22888
|
+
r"""<p>所在城市的行政区划代码。</p>
|
|
22889
|
+
:rtype: str
|
|
22890
|
+
"""
|
|
22891
|
+
return self._CityCode
|
|
22892
|
+
|
|
22893
|
+
@CityCode.setter
|
|
22894
|
+
def CityCode(self, CityCode):
|
|
22895
|
+
self._CityCode = CityCode
|
|
22896
|
+
|
|
22897
|
+
@property
|
|
22898
|
+
def District(self):
|
|
22899
|
+
r"""<p>所在区县。</p>
|
|
22900
|
+
:rtype: str
|
|
22901
|
+
"""
|
|
22902
|
+
return self._District
|
|
22903
|
+
|
|
22904
|
+
@District.setter
|
|
22905
|
+
def District(self, District):
|
|
22906
|
+
self._District = District
|
|
22907
|
+
|
|
22908
|
+
@property
|
|
22909
|
+
def DistrictCode(self):
|
|
22910
|
+
r"""<p>所在区县的行政区划代码。</p>
|
|
22911
|
+
:rtype: str
|
|
22912
|
+
"""
|
|
22913
|
+
return self._DistrictCode
|
|
22914
|
+
|
|
22915
|
+
@DistrictCode.setter
|
|
22916
|
+
def DistrictCode(self, DistrictCode):
|
|
22917
|
+
self._DistrictCode = DistrictCode
|
|
22918
|
+
|
|
22919
|
+
@property
|
|
22920
|
+
def CapitalCurrency(self):
|
|
22921
|
+
r"""<p>注册资本币种。</p>
|
|
22922
|
+
:rtype: str
|
|
22923
|
+
"""
|
|
22924
|
+
return self._CapitalCurrency
|
|
22925
|
+
|
|
22926
|
+
@CapitalCurrency.setter
|
|
22927
|
+
def CapitalCurrency(self, CapitalCurrency):
|
|
22928
|
+
self._CapitalCurrency = CapitalCurrency
|
|
22929
|
+
|
|
22930
|
+
@property
|
|
22931
|
+
def OrganizationCode(self):
|
|
22932
|
+
r"""<p>组织机构代码。</p>
|
|
22933
|
+
:rtype: str
|
|
22934
|
+
"""
|
|
22935
|
+
return self._OrganizationCode
|
|
22936
|
+
|
|
22937
|
+
@OrganizationCode.setter
|
|
22938
|
+
def OrganizationCode(self, OrganizationCode):
|
|
22939
|
+
self._OrganizationCode = OrganizationCode
|
|
22940
|
+
|
|
22941
|
+
@property
|
|
22942
|
+
def EnglishName(self):
|
|
22943
|
+
r"""<p>企业英文名称。</p>
|
|
22944
|
+
:rtype: str
|
|
22945
|
+
"""
|
|
22946
|
+
return self._EnglishName
|
|
22947
|
+
|
|
22948
|
+
@EnglishName.setter
|
|
22949
|
+
def EnglishName(self, EnglishName):
|
|
22950
|
+
self._EnglishName = EnglishName
|
|
22951
|
+
|
|
22952
|
+
@property
|
|
22953
|
+
def FormerNames(self):
|
|
22954
|
+
r"""<p>企业曾用名列表。</p>
|
|
22955
|
+
:rtype: list of str
|
|
22956
|
+
"""
|
|
22957
|
+
return self._FormerNames
|
|
22958
|
+
|
|
22959
|
+
@FormerNames.setter
|
|
22960
|
+
def FormerNames(self, FormerNames):
|
|
22961
|
+
self._FormerNames = FormerNames
|
|
22962
|
+
|
|
22963
|
+
@property
|
|
22964
|
+
def OriginalRegNum(self):
|
|
22965
|
+
r"""<p>原注册号。</p>
|
|
22966
|
+
:rtype: str
|
|
22967
|
+
"""
|
|
22968
|
+
return self._OriginalRegNum
|
|
22969
|
+
|
|
22970
|
+
@OriginalRegNum.setter
|
|
22971
|
+
def OriginalRegNum(self, OriginalRegNum):
|
|
22972
|
+
self._OriginalRegNum = OriginalRegNum
|
|
22973
|
+
|
|
22974
|
+
@property
|
|
22975
|
+
def PaidInCapital(self):
|
|
22976
|
+
r"""<p>实收资本。</p>
|
|
22977
|
+
:rtype: str
|
|
22978
|
+
"""
|
|
22979
|
+
return self._PaidInCapital
|
|
22980
|
+
|
|
22981
|
+
@PaidInCapital.setter
|
|
22982
|
+
def PaidInCapital(self, PaidInCapital):
|
|
22983
|
+
self._PaidInCapital = PaidInCapital
|
|
22984
|
+
|
|
22985
|
+
@property
|
|
22986
|
+
def RevokeDate(self):
|
|
22987
|
+
r"""<p>吊销日期。</p>
|
|
22988
|
+
:rtype: str
|
|
22989
|
+
"""
|
|
22990
|
+
return self._RevokeDate
|
|
22991
|
+
|
|
22992
|
+
@RevokeDate.setter
|
|
22993
|
+
def RevokeDate(self, RevokeDate):
|
|
22994
|
+
self._RevokeDate = RevokeDate
|
|
22995
|
+
|
|
22996
|
+
@property
|
|
22997
|
+
def RevokeReason(self):
|
|
22998
|
+
r"""<p>吊销原因。</p>
|
|
22999
|
+
:rtype: str
|
|
23000
|
+
"""
|
|
23001
|
+
return self._RevokeReason
|
|
23002
|
+
|
|
23003
|
+
@RevokeReason.setter
|
|
23004
|
+
def RevokeReason(self, RevokeReason):
|
|
23005
|
+
self._RevokeReason = RevokeReason
|
|
23006
|
+
|
|
23007
|
+
@property
|
|
23008
|
+
def CancellationDate(self):
|
|
23009
|
+
r"""<p>注销日期。</p>
|
|
23010
|
+
:rtype: str
|
|
23011
|
+
"""
|
|
23012
|
+
return self._CancellationDate
|
|
23013
|
+
|
|
23014
|
+
@CancellationDate.setter
|
|
23015
|
+
def CancellationDate(self, CancellationDate):
|
|
23016
|
+
self._CancellationDate = CancellationDate
|
|
23017
|
+
|
|
23018
|
+
@property
|
|
23019
|
+
def CancellationReason(self):
|
|
23020
|
+
r"""<p>注销原因。</p>
|
|
23021
|
+
:rtype: str
|
|
23022
|
+
"""
|
|
23023
|
+
return self._CancellationReason
|
|
23024
|
+
|
|
23025
|
+
@CancellationReason.setter
|
|
23026
|
+
def CancellationReason(self, CancellationReason):
|
|
23027
|
+
self._CancellationReason = CancellationReason
|
|
23028
|
+
|
|
23029
|
+
@property
|
|
23030
|
+
def RequestId(self):
|
|
23031
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23032
|
+
:rtype: str
|
|
23033
|
+
"""
|
|
23034
|
+
return self._RequestId
|
|
23035
|
+
|
|
23036
|
+
@RequestId.setter
|
|
23037
|
+
def RequestId(self, RequestId):
|
|
23038
|
+
self._RequestId = RequestId
|
|
23039
|
+
|
|
23040
|
+
|
|
23041
|
+
def _deserialize(self, params):
|
|
23042
|
+
self._StatusCode = params.get("StatusCode")
|
|
23043
|
+
self._CreditCode = params.get("CreditCode")
|
|
23044
|
+
self._EntName = params.get("EntName")
|
|
23045
|
+
self._Type = params.get("Type")
|
|
23046
|
+
self._LrName = params.get("LrName")
|
|
23047
|
+
self._Capital = params.get("Capital")
|
|
23048
|
+
self._Address = params.get("Address")
|
|
23049
|
+
self._Business = params.get("Business")
|
|
23050
|
+
self._RegistrationAuthority = params.get("RegistrationAuthority")
|
|
23051
|
+
self._OperatingStatus = params.get("OperatingStatus")
|
|
23052
|
+
self._RawOperatingStatus = params.get("RawOperatingStatus")
|
|
23053
|
+
self._SetDate = params.get("SetDate")
|
|
23054
|
+
self._OperatingPeriod = params.get("OperatingPeriod")
|
|
23055
|
+
self._ApprovalDate = params.get("ApprovalDate")
|
|
23056
|
+
self._Province = params.get("Province")
|
|
23057
|
+
self._ProvinceCode = params.get("ProvinceCode")
|
|
23058
|
+
self._City = params.get("City")
|
|
23059
|
+
self._CityCode = params.get("CityCode")
|
|
23060
|
+
self._District = params.get("District")
|
|
23061
|
+
self._DistrictCode = params.get("DistrictCode")
|
|
23062
|
+
self._CapitalCurrency = params.get("CapitalCurrency")
|
|
23063
|
+
self._OrganizationCode = params.get("OrganizationCode")
|
|
23064
|
+
self._EnglishName = params.get("EnglishName")
|
|
23065
|
+
self._FormerNames = params.get("FormerNames")
|
|
23066
|
+
self._OriginalRegNum = params.get("OriginalRegNum")
|
|
23067
|
+
self._PaidInCapital = params.get("PaidInCapital")
|
|
23068
|
+
self._RevokeDate = params.get("RevokeDate")
|
|
23069
|
+
self._RevokeReason = params.get("RevokeReason")
|
|
23070
|
+
self._CancellationDate = params.get("CancellationDate")
|
|
23071
|
+
self._CancellationReason = params.get("CancellationReason")
|
|
23072
|
+
self._RequestId = params.get("RequestId")
|
|
23073
|
+
|
|
23074
|
+
|
|
22531
23075
|
class QuestionInfo(AbstractModel):
|
|
22532
23076
|
r"""试题识别结果
|
|
22533
23077
|
|
|
@@ -30521,6 +31065,8 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
|
|
|
30521
31065
|
:type FileEndPageNumber: int
|
|
30522
31066
|
:param _ModelConfig: <p>model_hunyuan:选择混元底座视觉大模型精调抽取任务 model_youtu:选择优图底座多模态大模型精调抽取任务</p>
|
|
30523
31067
|
:type ModelConfig: str
|
|
31068
|
+
:param _AgentType: <p>agent支持的类型枚举,不同类型输出结果不一样,默认为0</p><p>0:表示标准抽取Agent</p><p>1:表示合同协议分类+抽取+审核Agent</p>
|
|
31069
|
+
:type AgentType: int
|
|
30524
31070
|
"""
|
|
30525
31071
|
self._ImageBase64 = None
|
|
30526
31072
|
self._ImageUrl = None
|
|
@@ -30530,6 +31076,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
|
|
|
30530
31076
|
self._FileStartPageNumber = None
|
|
30531
31077
|
self._FileEndPageNumber = None
|
|
30532
31078
|
self._ModelConfig = None
|
|
31079
|
+
self._AgentType = None
|
|
30533
31080
|
|
|
30534
31081
|
@property
|
|
30535
31082
|
def ImageBase64(self):
|
|
@@ -30623,6 +31170,17 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
|
|
|
30623
31170
|
def ModelConfig(self, ModelConfig):
|
|
30624
31171
|
self._ModelConfig = ModelConfig
|
|
30625
31172
|
|
|
31173
|
+
@property
|
|
31174
|
+
def AgentType(self):
|
|
31175
|
+
r"""<p>agent支持的类型枚举,不同类型输出结果不一样,默认为0</p><p>0:表示标准抽取Agent</p><p>1:表示合同协议分类+抽取+审核Agent</p>
|
|
31176
|
+
:rtype: int
|
|
31177
|
+
"""
|
|
31178
|
+
return self._AgentType
|
|
31179
|
+
|
|
31180
|
+
@AgentType.setter
|
|
31181
|
+
def AgentType(self, AgentType):
|
|
31182
|
+
self._AgentType = AgentType
|
|
31183
|
+
|
|
30626
31184
|
|
|
30627
31185
|
def _deserialize(self, params):
|
|
30628
31186
|
self._ImageBase64 = params.get("ImageBase64")
|
|
@@ -30638,6 +31196,7 @@ class SubmitExtractDocAgentJobRequest(AbstractModel):
|
|
|
30638
31196
|
self._FileStartPageNumber = params.get("FileStartPageNumber")
|
|
30639
31197
|
self._FileEndPageNumber = params.get("FileEndPageNumber")
|
|
30640
31198
|
self._ModelConfig = params.get("ModelConfig")
|
|
31199
|
+
self._AgentType = params.get("AgentType")
|
|
30641
31200
|
memeber_set = set(params.keys())
|
|
30642
31201
|
for name, value in vars(self).items():
|
|
30643
31202
|
property_name = name[1:]
|
|
@@ -276,7 +276,7 @@ class OcrClient(AbstractClient):
|
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
def DescribeExtractDocAgentJob(self, request):
|
|
279
|
-
r"""模型参数更大,速度更慢。推荐场景:可以接受异步(超过30s返回),样本输入输出token大于2000,长文本类文档建议用异步模型。需要 SubmitExtractDocAgentJob(提交任务)、DescribeExtractDocAgentJob(查询任务)两个接口配套使用,计费发生在提交任务后。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10
|
|
279
|
+
r"""模型参数更大,速度更慢。推荐场景:可以接受异步(超过30s返回),样本输入输出token大于2000,长文本类文档建议用异步模型。需要 SubmitExtractDocAgentJob(提交任务)、DescribeExtractDocAgentJob(查询任务)两个接口配套使用,计费发生在提交任务后。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】。
|
|
280
280
|
|
|
281
281
|
:param request: Request instance for DescribeExtractDocAgentJob.
|
|
282
282
|
:type request: :class:`tencentcloud.ocr.v20181119.models.DescribeExtractDocAgentJobRequest`
|
|
@@ -1353,6 +1353,29 @@ class OcrClient(AbstractClient):
|
|
|
1353
1353
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1354
1354
|
|
|
1355
1355
|
|
|
1356
|
+
def QueryEnterpriseBasicInfo(self, request):
|
|
1357
|
+
r"""本接口用于查询企业基本信息。输入企业名称或统一社会信用代码,返回企业名称、统一社会信用代码、法定代表人、登记机关、经营期限、经营状态、经营范围、注册地址、主体类型、成立日期、核准日期、行政区划等企业登记信息。部分出参可能无法查得,具体以实际查询结果为准。
|
|
1358
|
+
|
|
1359
|
+
:param request: Request instance for QueryEnterpriseBasicInfo.
|
|
1360
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.QueryEnterpriseBasicInfoRequest`
|
|
1361
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.QueryEnterpriseBasicInfoResponse`
|
|
1362
|
+
|
|
1363
|
+
"""
|
|
1364
|
+
try:
|
|
1365
|
+
params = request._serialize()
|
|
1366
|
+
headers = request.headers
|
|
1367
|
+
body = self.call("QueryEnterpriseBasicInfo", params, headers=headers)
|
|
1368
|
+
response = json.loads(body)
|
|
1369
|
+
model = models.QueryEnterpriseBasicInfoResponse()
|
|
1370
|
+
model._deserialize(response["Response"])
|
|
1371
|
+
return model
|
|
1372
|
+
except Exception as e:
|
|
1373
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1374
|
+
raise
|
|
1375
|
+
else:
|
|
1376
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1377
|
+
|
|
1378
|
+
|
|
1356
1379
|
def QuestionOCR(self, request):
|
|
1357
1380
|
r"""题目识别是教育的基础OCR识别能力。可支持扫描、拍照场景的单题题目识别。接口支持印刷体文本、手写体文本及公式的OCR识别和坐标返回,此外,接口还可对题目中的配图位置进行检测并返回坐标位置。适用于智能批改等场景的题目内容识别作为检索输入。
|
|
1358
1381
|
|
|
@@ -230,7 +230,7 @@ class OcrClient(AbstractClient):
|
|
|
230
230
|
opts: Dict = None,
|
|
231
231
|
) -> models.DescribeExtractDocAgentJobResponse:
|
|
232
232
|
"""
|
|
233
|
-
模型参数更大,速度更慢。推荐场景:可以接受异步(超过30s返回),样本输入输出token大于2000,长文本类文档建议用异步模型。需要 SubmitExtractDocAgentJob(提交任务)、DescribeExtractDocAgentJob(查询任务)两个接口配套使用,计费发生在提交任务后。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10
|
|
233
|
+
模型参数更大,速度更慢。推荐场景:可以接受异步(超过30s返回),样本输入输出token大于2000,长文本类文档建议用异步模型。需要 SubmitExtractDocAgentJob(提交任务)、DescribeExtractDocAgentJob(查询任务)两个接口配套使用,计费发生在提交任务后。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】。
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
kwargs = {}
|
|
@@ -1122,6 +1122,24 @@ class OcrClient(AbstractClient):
|
|
|
1122
1122
|
|
|
1123
1123
|
return await self.call_and_deserialize(**kwargs)
|
|
1124
1124
|
|
|
1125
|
+
async def QueryEnterpriseBasicInfo(
|
|
1126
|
+
self,
|
|
1127
|
+
request: models.QueryEnterpriseBasicInfoRequest,
|
|
1128
|
+
opts: Dict = None,
|
|
1129
|
+
) -> models.QueryEnterpriseBasicInfoResponse:
|
|
1130
|
+
"""
|
|
1131
|
+
本接口用于查询企业基本信息。输入企业名称或统一社会信用代码,返回企业名称、统一社会信用代码、法定代表人、登记机关、经营期限、经营状态、经营范围、注册地址、主体类型、成立日期、核准日期、行政区划等企业登记信息。部分出参可能无法查得,具体以实际查询结果为准。
|
|
1132
|
+
"""
|
|
1133
|
+
|
|
1134
|
+
kwargs = {}
|
|
1135
|
+
kwargs["action"] = "QueryEnterpriseBasicInfo"
|
|
1136
|
+
kwargs["params"] = request._serialize()
|
|
1137
|
+
kwargs["resp_cls"] = models.QueryEnterpriseBasicInfoResponse
|
|
1138
|
+
kwargs["headers"] = request.headers
|
|
1139
|
+
kwargs["opts"] = opts or {}
|
|
1140
|
+
|
|
1141
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1142
|
+
|
|
1125
1143
|
async def QuestionOCR(
|
|
1126
1144
|
self,
|
|
1127
1145
|
request: models.QuestionOCRRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.205
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.202
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|