Class ThinkingResponse<O>
java.lang.Object
ai.redouble.nucleo.harness.schema.ReasonablePojo<SimpleReasoning>
ai.redouble.nucleo.harness.schema.StringReasonablePojo
ai.redouble.nucleo.tools.thinking.ThinkingResponse<O>
@LLMDescription("Decide whether to call tools for more information or provide a final answer")
public class ThinkingResponse<O>
extends StringReasonablePojo
Response from a Thinker's LLM indicating next action.
Either contains tool calls to execute or a final answer. The LLM decides when it has enough information to provide the final answer.
- Since:
- 0.1 (2025-09-22)
- Author:
- Andrey Santrosyan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidsetFinalAnswer(boolean finalAnswer) voidsetToolCalls(List<ToolCall> toolCalls) Methods inherited from class ReasonablePojo
getReasoning, setReasoning
-
Constructor Details
-
ThinkingResponse
public ThinkingResponse()
-
-
Method Details
-
isFinalAnswer
public boolean isFinalAnswer() -
setFinalAnswer
public void setFinalAnswer(boolean finalAnswer) -
getAnswer
-
setAnswer
-
getToolCalls
-
setToolCalls
-