Record Class MethodAgentInvoker

java.lang.Object
java.lang.Record
dev.langchain4j.agentic.internal.MethodAgentInvoker
All Implemented Interfaces:
AgentInvoker, AgentSpecification

public record MethodAgentInvoker(Method method, AgentSpecification agentSpecification, List<AgentUtil.AgentArgument> arguments) extends Record implements AgentInvoker
  • Constructor Details

    • MethodAgentInvoker

      public MethodAgentInvoker(Method method, AgentSpecification agentSpecification, List<AgentUtil.AgentArgument> arguments)
      Creates an instance of a MethodAgentInvoker record class.
      Parameters:
      method - the value for the method record component
      agentSpecification - the value for the agentSpecification record component
      arguments - the value for the arguments record component
  • Method Details