Record Class QuarkusToolExecutor.Context
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
- Enclosing class:
QuarkusToolExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentMapperClassNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionModelrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themethodNamerecord component.tool()Returns the value of thetoolrecord component.Returns the value of thetoolInvokerNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Context
public Context(Object tool, String toolInvokerName, String methodName, String argumentMapperClassName, ToolMethodCreateInfo.ExecutionModel executionModel) Creates an instance of aContextrecord class.- Parameters:
tool- the value for thetoolrecord componenttoolInvokerName- the value for thetoolInvokerNamerecord componentmethodName- the value for themethodNamerecord componentargumentMapperClassName- the value for theargumentMapperClassNamerecord componentexecutionModel- the value for theexecutionModelrecord component
-
-
Method Details
-
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). -
tool
Returns the value of thetoolrecord component.- Returns:
- the value of the
toolrecord component
-
toolInvokerName
Returns the value of thetoolInvokerNamerecord component.- Returns:
- the value of the
toolInvokerNamerecord component
-
methodName
Returns the value of themethodNamerecord component.- Returns:
- the value of the
methodNamerecord component
-
argumentMapperClassName
Returns the value of theargumentMapperClassNamerecord component.- Returns:
- the value of the
argumentMapperClassNamerecord component
-
executionModel
Returns the value of theexecutionModelrecord component.- Returns:
- the value of the
executionModelrecord component
-