Record Class DecideCapabilities
java.lang.Object
java.lang.Record
ai.redouble.demo.decide.DecideCapabilities
- Record Components:
objective- the objective the model reads on every turntakes- the alias of the input artifact typeanswers- the alias of the artifact type the answer is a list oftools- the palette in order
public record DecideCapabilities(String objective, String takes, String answers, List<DecideCapabilities.ToolView> tools)
extends Record
What the decision agent is, for a page: its objective in words, the artifact type it starts
from and the one it answers with, and its palette, each tool with what it takes and what it
produces. The types are artifact aliases, the words the model's state uses.
- Since:
- 0.1 (2026-09-24)
- Author:
- Andrey Santrosyan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne tool of the palette. -
Constructor Summary
ConstructorsConstructorDescriptionDecideCapabilities(String objective, String takes, String answers, List<DecideCapabilities.ToolView> tools) Creates an instance of aDecideCapabilitiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionanswers()Returns the value of theanswersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theobjectiverecord component.takes()Returns the value of thetakesrecord component.tools()Returns the value of thetoolsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DecideCapabilities
public DecideCapabilities(String objective, String takes, String answers, List<DecideCapabilities.ToolView> tools) Creates an instance of aDecideCapabilitiesrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
objective
-
takes
-
answers
-
tools
-