public class ChatBotResponse extends AbstractModel
Constructor and Description |
---|
ChatBotResponse() |
ChatBotResponse(ChatBotResponse 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 |
---|---|
Float |
getConfidence()
Get 对于当前输出回复的自信度
|
String |
getReply()
Get 闲聊回复
|
String |
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
void |
setConfidence(Float Confidence)
Set 对于当前输出回复的自信度
|
void |
setReply(String Reply)
Set 闲聊回复
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
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 ChatBotResponse()
public ChatBotResponse(ChatBotResponse source)
public String getReply()
public void setReply(String Reply)
Reply
- 闲聊回复public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- 对于当前输出回复的自信度public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Copyright © 2021. All rights reserved.