public class IntentionQuestion extends AbstractModel
Constructor and Description |
---|
IntentionQuestion() |
IntentionQuestion(IntentionQuestion 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 |
---|---|
String[] |
getAnswers()
Get 用户答案的标准文本列表,用于识别用户回答的语音与标准文本是否一致。列表长度最大为50,单个答案长度限制10个字符。
|
String |
getQuestion()
Get 系统播报的问题文本,问题最大长度为150个字符。
|
void |
setAnswers(String[] Answers)
Set 用户答案的标准文本列表,用于识别用户回答的语音与标准文本是否一致。列表长度最大为50,单个答案长度限制10个字符。
|
void |
setQuestion(String Question)
Set 系统播报的问题文本,问题最大长度为150个字符。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public IntentionQuestion()
public IntentionQuestion(IntentionQuestion source)
public String getQuestion()
public void setQuestion(String Question)
Question
- 系统播报的问题文本,问题最大长度为150个字符。public String[] getAnswers()
public void setAnswers(String[] Answers)
Answers
- 用户答案的标准文本列表,用于识别用户回答的语音与标准文本是否一致。列表长度最大为50,单个答案长度限制10个字符。Copyright © 2022. All rights reserved.