Class DecisionResult

java.lang.Object
com.alibaba.dashscope.types.common.ResponseBase
com.alibaba.dashscope.types.decision.DecisionResult

public class DecisionResult extends ResponseBase
One System One decision round (design §3). The compatible-mode endpoint answers flat (no output envelope); answers keys mirror the request's question ids. Envelope fields live on ResponseBase.
  • Constructor Details

    • DecisionResult

      public DecisionResult()
  • Method Details

    • getModel

      public String getModel()
    • getAnswers

      public Map<String,DecisionAnswer> getAnswers()
      Answers keyed by the request's question ids; empty when the body omits the table.
    • getUsage

      public Usage getUsage()
    • getLatencyMs

      public Double getLatencyMs()
      Server-side latency in milliseconds.