Class PriceChangeFinder
java.lang.Object
ai.redouble.nucleo.harness.AbstractJob<ListArtifact<Statement>>
ai.redouble.nucleo.tools.AbstractTool<Folder, ListArtifact<Statement>>
ai.redouble.nucleo.tools.AbstractOrchestrator<Folder, ListArtifact<Statement>>
ai.redouble.nucleo.tools.deciding.DecisionThinker<Folder, Statement>
ai.redouble.demo.decide.PriceChangeFinder
- All Implemented Interfaces:
GuardedExecution, ScopeAuthority, Identifiable, Job<ListArtifact<Statement>>, Orchestrator<Folder, ListArtifact<Statement>>, Tool<Folder, ListArtifact<Statement>>
The demo's decision agent: a
DecisionThinker over a folder of documents whose
objective is to find the statements that decide a change of a price. Its palette is three
tools that call no model: list the folder, read a file, split a document into statements.
Everything the run decides, the decision model decides: which of the files to open, which
documents to split, when to stop, and which statements answer the objective. The run costs
no model call but the decisions, so on a decision model served from this machine it costs
nothing at all.- Since:
- 0.1 (2026-09-24)
- Author:
- Andrey Santrosyan
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Class<SplitStatementsTool> The key tool: the one that produces the statements the answer is a list of.static final Stringstatic final List<Class<? extends DecisionTool<?, ?>>> The rest of the palette, in the order the model is offered them; the key tool follows.static final List<Class<? extends DecisionTool<?, ?>>> The whole palette as the model is offered it, for a page.Fields inherited from class DecisionThinker
DEFAULT_MAX_TURNS, DEFAULT_SELECTION_THRESHOLD, OBS_TURNSFields inherited from class AbstractOrchestrator
META_ITERATIONFields inherited from class AbstractTool
inputFields inherited from class AbstractJob
timeout, upstreamRetriesFields inherited from interface Job
DEFAULT_UPSTREAM_RETRIESFields inherited from interface Tool
OBS_INPUT, OBS_OUTPUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DecideCapabilitiesThe objective and the palette as a page shows them: each tool's name, what it does, what it takes and what it produces.Methods inherited from class DecisionThinker
execute, paletteNames, setMaxTurns, setSelectionThreshold, turnsMethods inherited from class AbstractOrchestrator
execute, getJobType, getRequirements, getScopeGuard, getTimeout, sealScopeGuard, setScopeGuard, setTimeout, submitInIteration, submitInIteration, submitInIterationMethods inherited from class AbstractTool
getInput, postExecute, preExecute, setInputMethods inherited from class AbstractJob
getId, getName, getParentJobId, getPriority, getUpstreamRetries, getUserId, getWorkflowId, randomIdSuffix, setUpstreamRetries, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GuardedExecution
declareAdmissionGuardrails, declareAuthGuardrails, declareContentGuardrailsMethods inherited from interface Identifiable
getParentJobId, getUserId, getWorkflowIdMethods inherited from interface Job
getDisplayName, getId, getJobId, getName, getPriority, getUpstreamRetries, postExecute, preExecuteMethods inherited from interface Tool
getInput, guardedInputTarget, setInput
-
Field Details
-
OBJECTIVE
- See Also:
-
KEY_TOOL
The key tool: the one that produces the statements the answer is a list of. -
PALETTE
The rest of the palette, in the order the model is offered them; the key tool follows. -
TOOLS
The whole palette as the model is offered it, for a page.
-
-
Constructor Details
-
PriceChangeFinder
-
-
Method Details
-
capabilities
The objective and the palette as a page shows them: each tool's name, what it does, what it takes and what it produces.
-