tencentcloud-sdk-python-faceid 3.0.960__tar.gz → 3.0.974__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-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/setup.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud/faceid/v20180301/models.py +37 -1
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-faceid-3.0.974/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-faceid-3.0.960/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/README.rst +0 -0
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/setup.cfg +0 -0
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-faceid',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.974"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Faceid SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3267,6 +3267,9 @@ class GetEidResultResponse(AbstractModel):
|
|
|
3267
3267
|
:param _IntentionQuestionResult: 意愿核身问答模式相关信息。若未使用意愿核身问答模式功能,该字段返回值可以不处理。
|
|
3268
3268
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3269
3269
|
:type IntentionQuestionResult: :class:`tencentcloud.faceid.v20180301.models.IntentionQuestionResult`
|
|
3270
|
+
:param _IntentionActionResult: 意愿核身点头确认模式的结果信息,若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
3271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3272
|
+
:type IntentionActionResult: :class:`tencentcloud.faceid.v20180301.models.IntentionActionResult`
|
|
3270
3273
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3271
3274
|
:type RequestId: str
|
|
3272
3275
|
"""
|
|
@@ -3276,6 +3279,7 @@ class GetEidResultResponse(AbstractModel):
|
|
|
3276
3279
|
self._EidInfo = None
|
|
3277
3280
|
self._IntentionVerifyData = None
|
|
3278
3281
|
self._IntentionQuestionResult = None
|
|
3282
|
+
self._IntentionActionResult = None
|
|
3279
3283
|
self._RequestId = None
|
|
3280
3284
|
|
|
3281
3285
|
@property
|
|
@@ -3326,6 +3330,14 @@ class GetEidResultResponse(AbstractModel):
|
|
|
3326
3330
|
def IntentionQuestionResult(self, IntentionQuestionResult):
|
|
3327
3331
|
self._IntentionQuestionResult = IntentionQuestionResult
|
|
3328
3332
|
|
|
3333
|
+
@property
|
|
3334
|
+
def IntentionActionResult(self):
|
|
3335
|
+
return self._IntentionActionResult
|
|
3336
|
+
|
|
3337
|
+
@IntentionActionResult.setter
|
|
3338
|
+
def IntentionActionResult(self, IntentionActionResult):
|
|
3339
|
+
self._IntentionActionResult = IntentionActionResult
|
|
3340
|
+
|
|
3329
3341
|
@property
|
|
3330
3342
|
def RequestId(self):
|
|
3331
3343
|
return self._RequestId
|
|
@@ -3354,6 +3366,9 @@ class GetEidResultResponse(AbstractModel):
|
|
|
3354
3366
|
if params.get("IntentionQuestionResult") is not None:
|
|
3355
3367
|
self._IntentionQuestionResult = IntentionQuestionResult()
|
|
3356
3368
|
self._IntentionQuestionResult._deserialize(params.get("IntentionQuestionResult"))
|
|
3369
|
+
if params.get("IntentionActionResult") is not None:
|
|
3370
|
+
self._IntentionActionResult = IntentionActionResult()
|
|
3371
|
+
self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
|
|
3357
3372
|
self._RequestId = params.get("RequestId")
|
|
3358
3373
|
|
|
3359
3374
|
|
|
@@ -3374,12 +3389,14 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3374
3389
|
:type InputType: str
|
|
3375
3390
|
:param _UseIntentionVerify: 是否使用意愿核身,默认不使用。注意:如开启使用,则计费标签按【意愿核身】计费标签计价;如不开启,则计费标签按【E证通】计费标签计价,价格详见:[价格说明](https://cloud.tencent.com/document/product/1007/56804)。
|
|
3376
3391
|
:type UseIntentionVerify: bool
|
|
3377
|
-
:param _IntentionMode: 意愿核身模式。枚举值:1(
|
|
3392
|
+
:param _IntentionMode: 意愿核身模式。枚举值:1( 语音朗读模式),2(语音问答模式) ,3(点头确认模式)。默认值为1。
|
|
3378
3393
|
:type IntentionMode: str
|
|
3379
3394
|
:param _IntentionVerifyText: 意愿核身朗读模式使用的文案,若未使用意愿核身朗读功能,该字段无需传入。默认为空,最长可接受120的字符串长度。
|
|
3380
3395
|
:type IntentionVerifyText: str
|
|
3381
3396
|
:param _IntentionQuestions: 意愿核身问答模式的配置列表。当前仅支持一个问答。
|
|
3382
3397
|
:type IntentionQuestions: list of IntentionQuestion
|
|
3398
|
+
:param _IntentionActions: 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。默认为空,最长可接受150的字符串长度。
|
|
3399
|
+
:type IntentionActions: list of IntentionActionConfig
|
|
3383
3400
|
:param _IntentionRecognition: 意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。
|
|
3384
3401
|
:type IntentionRecognition: bool
|
|
3385
3402
|
:param _IsSupportHMTResidentPermitOCR: 是否支持港澳台居住证识别
|
|
@@ -3390,6 +3407,7 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3390
3407
|
self._IntentionMode = None
|
|
3391
3408
|
self._IntentionVerifyText = None
|
|
3392
3409
|
self._IntentionQuestions = None
|
|
3410
|
+
self._IntentionActions = None
|
|
3393
3411
|
self._IntentionRecognition = None
|
|
3394
3412
|
self._IsSupportHMTResidentPermitOCR = None
|
|
3395
3413
|
|
|
@@ -3433,6 +3451,14 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3433
3451
|
def IntentionQuestions(self, IntentionQuestions):
|
|
3434
3452
|
self._IntentionQuestions = IntentionQuestions
|
|
3435
3453
|
|
|
3454
|
+
@property
|
|
3455
|
+
def IntentionActions(self):
|
|
3456
|
+
return self._IntentionActions
|
|
3457
|
+
|
|
3458
|
+
@IntentionActions.setter
|
|
3459
|
+
def IntentionActions(self, IntentionActions):
|
|
3460
|
+
self._IntentionActions = IntentionActions
|
|
3461
|
+
|
|
3436
3462
|
@property
|
|
3437
3463
|
def IntentionRecognition(self):
|
|
3438
3464
|
return self._IntentionRecognition
|
|
@@ -3461,6 +3487,12 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3461
3487
|
obj = IntentionQuestion()
|
|
3462
3488
|
obj._deserialize(item)
|
|
3463
3489
|
self._IntentionQuestions.append(obj)
|
|
3490
|
+
if params.get("IntentionActions") is not None:
|
|
3491
|
+
self._IntentionActions = []
|
|
3492
|
+
for item in params.get("IntentionActions"):
|
|
3493
|
+
obj = IntentionActionConfig()
|
|
3494
|
+
obj._deserialize(item)
|
|
3495
|
+
self._IntentionActions.append(obj)
|
|
3464
3496
|
self._IntentionRecognition = params.get("IntentionRecognition")
|
|
3465
3497
|
self._IsSupportHMTResidentPermitOCR = params.get("IsSupportHMTResidentPermitOCR")
|
|
3466
3498
|
memeber_set = set(params.keys())
|
|
@@ -5090,10 +5122,14 @@ class IntentionVerifyData(AbstractModel):
|
|
|
5090
5122
|
|
|
5091
5123
|
@property
|
|
5092
5124
|
def AsrResultSimilarity(self):
|
|
5125
|
+
warnings.warn("parameter `AsrResultSimilarity` is deprecated", DeprecationWarning)
|
|
5126
|
+
|
|
5093
5127
|
return self._AsrResultSimilarity
|
|
5094
5128
|
|
|
5095
5129
|
@AsrResultSimilarity.setter
|
|
5096
5130
|
def AsrResultSimilarity(self, AsrResultSimilarity):
|
|
5131
|
+
warnings.warn("parameter `AsrResultSimilarity` is deprecated", DeprecationWarning)
|
|
5132
|
+
|
|
5097
5133
|
self._AsrResultSimilarity = AsrResultSimilarity
|
|
5098
5134
|
|
|
5099
5135
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.974
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.960
|
{tencentcloud-sdk-python-faceid-3.0.960 → tencentcloud-sdk-python-faceid-3.0.974}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|