Class DecisionResponse
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
-
Field Summary
Fields inherited from class LLMResponse
attempts, context, endTime, lastError, model, provider, providerHeaders, providerRequestId, rateLimitInfo, reasonForFailure, refusal, refusalCategory, request, requestedMaxTokens, responseMessage, role, servedModelId, startTime, stopReason, successful, usage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe answer to a question asked as aChoice; refuses an id that was asked another way or not at all.The answers by question id, in the order asked; null on a failed call.The request this call answered.The answer to a question asked as aNoul.The answer to a question asked as aScore.voidsetAnswers(Map<String, Answer> answers) Methods inherited from class LLMResponse
getAttempts, getContext, getEndTime, getLastError, getLatency, getLatencyMs, getModel, getProvider, getProviderHeaders, getProviderRequestId, getRateLimitInfo, getReasoned, getReasonForFailure, getRefusal, getRefusalCategory, getRequest, getRequestedMaxTokens, getResponseMessage, getRole, getServedModelId, getStartTime, getStopReason, getUsage, isSuccessful, setAttempts, setEndTime, setLastError, setModel, setProvider, setProviderHeaders, setProviderRequestId, setRateLimitInfo, setReasoned, setReasonForFailure, setRefusal, setRefusalCategory, setRequestedMaxTokens, setRole, setServedModelId, setStartTime, setStopReason, setSuccessful, setUsage, wasTruncated
-
Constructor Details
-
DecisionResponse
-
-
Method Details