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 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
|
Long |
getSpeed()
Get 意愿核身语音播报速度,配置后问答模式和点头模式的语音播报环节都会生效,默认值为0:
0:智能语速(根据播报文案的长度自动调整语音播报速度)
1:固定1倍速
2:固定1.2倍速
3:固定1.5倍速
|
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 |
setSpeed(Long Speed)
Set 意愿核身语音播报速度,配置后问答模式和点头模式的语音播报环节都会生效,默认值为0:
0:智能语速(根据播报文案的长度自动调整语音播报速度)
1:固定1倍速
2:固定1.2倍速
3:固定1.5倍速
|
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
- 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。public Long getSpeed()
public void setSpeed(Long Speed)
Speed
- 意愿核身语音播报速度,配置后问答模式和点头模式的语音播报环节都会生效,默认值为0:
0:智能语速(根据播报文案的长度自动调整语音播报速度)
1:固定1倍速
2:固定1.2倍速
3:固定1.5倍速Copyright © 2024. All rights reserved.