Class DecisionAnswer
java.lang.Object
com.alibaba.dashscope.types.decision.DecisionAnswer
The answer to one question; the filled field follows
getType():
choice:getChoice(),getConfidence(),getProbabilities()keyed by option name.noul:getNoul()only (P(yes), 0 = no and 1 = yes).score:getScore()(probability-weighted level index, may fall between two levels, e.g.1.43),getConfidence(),getLegend(),getProbabilities()keyed by stringified level index.
-
Constructor Details
-
DecisionAnswer
public DecisionAnswer()
-
-
Method Details
-
getType
-
getChoice
-
getNoul
-
getScore
-
getProbabilities
-
getConfidence
-
getLegend
-
getExtra
Fields this SDK version does not model yet (forward compatibility, design §4). -
putExtra
-