Record Class AgentInvocation
java.lang.Object
java.lang.Record
dev.langchain4j.agentic.internal.AgentInvocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentName
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.input()
Returns the value of theinput
record component.output()
Returns the value of theoutput
record component.toString()
Returns a string representation of this record class.
-
Constructor Details
-
AgentInvocation
Creates an instance of aAgentInvocation
record class.- Parameters:
agentName
- the value for theagentName
record componentinput
- the value for theinput
record componentoutput
- the value for theoutput
record component
-
-
Method Details
-
output
Returns the value of theoutput
record component.- Returns:
- the value of the
output
record component
-
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)
. -
agentName
Returns the value of theagentName
record component.- Returns:
- the value of the
agentName
record component
-
input
-