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 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 a Input record class.
      Parameters:
      code - the value for the code record component
      name - the value for the name record component
      prompt - the value for the prompt record component
      audience - the value for the audience record component
      maxSteps - the value for the maxSteps record component
      temperature - the value for the temperature record component
      model - the value for the model record component
      utilityModel - the value for the utilityModel record component
      permissions - the value for the permissions record component
      tools - the value for the tools record component
      skills - the value for the skills record component
      knowledgeBases - the value for the knowledgeBases record component
      subAgents - the value for the subAgents record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • code

      public String code()
      Returns the value of the code record component.
      Returns:
      the value of the code record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • prompt

      public String prompt()
      Returns the value of the prompt record component.
      Returns:
      the value of the prompt record component
    • audience

      public String audience()
      Returns the value of the audience record component.
      Returns:
      the value of the audience record component
    • maxSteps

      public Integer maxSteps()
      Returns the value of the maxSteps record component.
      Returns:
      the value of the maxSteps record component
    • temperature

      public Double temperature()
      Returns the value of the temperature record component.
      Returns:
      the value of the temperature record component
    • model

      public String model()
      Returns the value of the model record component.
      Returns:
      the value of the model record component
    • utilityModel

      public String utilityModel()
      Returns the value of the utilityModel record component.
      Returns:
      the value of the utilityModel record component
    • permissions

      public List<String> permissions()
      Returns the value of the permissions record component.
      Returns:
      the value of the permissions record component
    • tools

      public List<String> tools()
      Returns the value of the tools record component.
      Returns:
      the value of the tools record component
    • skills

      public List<String> skills()
      Returns the value of the skills record component.
      Returns:
      the value of the skills record component
    • knowledgeBases

      public List<String> knowledgeBases()
      Returns the value of the knowledgeBases record component.
      Returns:
      the value of the knowledgeBases record component
    • subAgents

      public List<String> subAgents()
      Returns the value of the subAgents record component.
      Returns:
      the value of the subAgents record component