public class RuleIdConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
RuleIdConfig() |
RuleIdConfig(RuleIdConfig source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getIntentionRecognition()
Get 意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。
|
Long |
getIntentionType()
Get 意愿核身类型,默认为0:
0:问答模式,DetectAuth接口需要传入IntentionQuestions字段;
1:点头模式,DetectAuth接口需要传入IntentionActions字段;
|
Boolean |
getMouthOpenRecognition()
Get 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
|
void |
setIntentionRecognition(Boolean IntentionRecognition)
Set 意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。
|
void |
setIntentionType(Long IntentionType)
Set 意愿核身类型,默认为0:
0:问答模式,DetectAuth接口需要传入IntentionQuestions字段;
1:点头模式,DetectAuth接口需要传入IntentionActions字段;
|
void |
setMouthOpenRecognition(Boolean MouthOpenRecognition)
Set 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RuleIdConfig()
public RuleIdConfig(RuleIdConfig source)
public Boolean getIntentionRecognition()
public void setIntentionRecognition(Boolean IntentionRecognition)
IntentionRecognition
- 意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。public Long getIntentionType()
public void setIntentionType(Long IntentionType)
IntentionType
- 意愿核身类型,默认为0:
0:问答模式,DetectAuth接口需要传入IntentionQuestions字段;
1:点头模式,DetectAuth接口需要传入IntentionActions字段;public Boolean getMouthOpenRecognition()
public void setMouthOpenRecognition(Boolean MouthOpenRecognition)
MouthOpenRecognition
- 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。Copyright © 2024. All rights reserved.