Package com.axelor.ai.tool.builder
Record Class SaveAgentTool.Input
java.lang.Object
java.lang.Record
com.axelor.ai.tool.builder.SaveAgentTool.Input
- Enclosing class:
SaveAgentTool
public static record SaveAgentTool.Input(String code, String name, String prompt, String audience, Integer maxSteps, Double temperature, String model, String utilityModel, List<String> permissions, List<String> tools, List<String> skills, List<String> knowledgeBases, List<String> subAgents)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionInput(String code, String name, String prompt, String audience, Integer maxSteps, Double temperature, String model, String utilityModel, List<String> permissions, List<String> tools, List<String> skills, List<String> knowledgeBases, List<String> subAgents) Creates an instance of aInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaudience()Returns the value of theaudiencerecord component.code()Returns the value of thecoderecord 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 theknowledgeBasesrecord component.maxSteps()Returns the value of themaxStepsrecord component.model()Returns the value of themodelrecord component.name()Returns the value of thenamerecord component.Returns the value of thepermissionsrecord component.prompt()Returns the value of thepromptrecord component.skills()Returns the value of theskillsrecord component.Returns the value of thesubAgentsrecord component.Returns the value of thetemperaturerecord component.tools()Returns the value of thetoolsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theutilityModelrecord component.
-
Constructor Details
-
Input
public Input(String code, String name, String prompt, String audience, Integer maxSteps, Double temperature, String model, String utilityModel, List<String> permissions, List<String> tools, List<String> skills, List<String> knowledgeBases, List<String> subAgents) Creates an instance of aInputrecord class.- Parameters:
code- the value for thecoderecord componentname- the value for thenamerecord componentprompt- the value for thepromptrecord componentaudience- the value for theaudiencerecord componentmaxSteps- the value for themaxStepsrecord componenttemperature- the value for thetemperaturerecord componentmodel- the value for themodelrecord componentutilityModel- the value for theutilityModelrecord componentpermissions- the value for thepermissionsrecord componenttools- the value for thetoolsrecord componentskills- the value for theskillsrecord componentknowledgeBases- the value for theknowledgeBasesrecord componentsubAgents- the value for thesubAgentsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
code
Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
prompt
Returns the value of thepromptrecord component.- Returns:
- the value of the
promptrecord component
-
audience
Returns the value of theaudiencerecord component.- Returns:
- the value of the
audiencerecord component
-
maxSteps
Returns the value of themaxStepsrecord component.- Returns:
- the value of the
maxStepsrecord component
-
temperature
Returns the value of thetemperaturerecord component.- Returns:
- the value of the
temperaturerecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
utilityModel
Returns the value of theutilityModelrecord component.- Returns:
- the value of the
utilityModelrecord component
-
permissions
Returns the value of thepermissionsrecord component.- Returns:
- the value of the
permissionsrecord component
-
tools
Returns the value of thetoolsrecord component.- Returns:
- the value of the
toolsrecord component
-
skills
Returns the value of theskillsrecord component.- Returns:
- the value of the
skillsrecord component
-
knowledgeBases
Returns the value of theknowledgeBasesrecord component.- Returns:
- the value of the
knowledgeBasesrecord component
-
subAgents
Returns the value of thesubAgentsrecord component.- Returns:
- the value of the
subAgentsrecord component
-