Class DecisionAnswer

java.lang.Object
com.alibaba.dashscope.types.decision.DecisionAnswer

public final class DecisionAnswer extends Object
The answer to one question; the filled field follows getType():
  • Constructor Details

    • DecisionAnswer

      public DecisionAnswer()
  • Method Details

    • getType

      public String getType()
    • getChoice

      public String getChoice()
    • getNoul

      public Double getNoul()
    • getScore

      public Double getScore()
    • getProbabilities

      public Map<String,Double> getProbabilities()
    • getConfidence

      public Double getConfidence()
    • getLegend

      public Map<String,String> getLegend()
    • getExtra

      public Map<String,Object> getExtra()
      Fields this SDK version does not model yet (forward compatibility, design §4).
    • putExtra

      public void putExtra(String key, Object value)