Annotation Interface ConditionalAgent


@Retention(RUNTIME) @Target(METHOD) public @interface ConditionalAgent
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Description of the agent.
    Name of the agent.
     
  • Element Details

    • name

      String name
      Name of the agent. If not provided, method name will be used.
      Returns:
      name of the agent.
      Default:
      ""
    • description

      String description
      Description of the agent. It should be clear and descriptive to allow language model to understand the agent's purpose and its intended use.
      Returns:
      description of the agent.
      Default:
      ""
    • outputName

      String outputName
      Default:
      ""
    • subAgents

      SubAgent[] subAgents