Class OrderAnswer


public class OrderAnswer extends ThinkerOutput<SimpleReasoning>
What the order agent answers, as the Java object the caller declared. The model is shown these fields - @LLMDescription tells it what belongs in each, @LLMRequired that it must fill it - and a reply that does not fit, or leaves a required field empty, goes back to the model to be corrected before the caller sees anything. So getReply() and getOrdersLookedUp() hold values, never text to pick apart.

An agent's answer extends ThinkerOutput, which adds the model's account of how it reached the answer, in the shape the type parameter names: SimpleReasoning is one thought.

Since:
0.1 (2026-09-27)
Author:
Andrey Santrosyan
  • Constructor Details

    • OrderAnswer

      public OrderAnswer()
  • Method Details

    • getReply

      public String getReply()
    • setReply

      public void setReply(String reply)
    • getOrdersLookedUp

      public List<String> getOrdersLookedUp()
    • setOrdersLookedUp

      public void setOrdersLookedUp(List<String> ordersLookedUp)