Class DecisionResponse

java.lang.Object
ai.redouble.nucleo.harness.llm.LLMResponse<Void>
ai.redouble.nucleo.harness.llm.DecisionResponse

public class DecisionResponse extends LLMResponse<Void>
One decision call, recorded on the job like every other model call: the catalog id it was issued against, the input tokens the endpoint billed, the latency, the verdict, and the answers by question id. A decision call is no conversation exchange, so the message-shaped parts of LLMResponse are null on it and its output token count is zero: a cost ledger, a meter, a span or a usage table reads the same fields off it as off a chat call, which is what puts decision spend under the same cap as everything else. What a decision leaves behind that a chat call does not is the distributions themselves: with no reasoning to read, the answers are the record of what the model thought.
Since:
0.1 (2026-09-24)
Author:
Andrey Santrosyan
  • Constructor Details

  • Method Details

    • getDecisionRequest

      public DecisionRequest getDecisionRequest()
      The request this call answered.
    • getAnswers

      public Map<String,Answer> getAnswers()
      The answers by question id, in the order asked; null on a failed call.
    • setAnswers

      public void setAnswers(Map<String,Answer> answers)
    • choice

      public ChoiceAnswer choice(String id)
      The answer to a question asked as a Choice; refuses an id that was asked another way or not at all.
    • noul

      public NoulAnswer noul(String id)
      The answer to a question asked as a Noul.
    • score

      public ScoreAnswer score(String id)
      The answer to a question asked as a Score.