Record Class AgenticServiceInfo<T>
java.lang.Object
java.lang.Record
io.micronaut.langchain4j.agentic.AgenticServiceInfo<T>
- Type Parameters:
T- The agent service type- Record Components:
beanDefinition- The Micronaut bean definition for the declaring interfacetype- The typed agent interfacename- The optional service/bean name (qualifier)tools- The optional tool classes to includeoutputKey- The optional agent output key
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.inject.BeanDefinition<T> Returns the value of thebeanDefinitionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Stringname()Returns the value of thenamerecord component.@Nullable StringReturns the value of theoutputKeyrecord component.tools()Returns the value of thetoolsrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
AgenticServiceInfo
public AgenticServiceInfo(io.micronaut.inject.BeanDefinition<T> beanDefinition, Class<T> type, @Nullable @Nullable String name, @Nullable @Nullable Set<Class<?>> tools, @Nullable @Nullable String outputKey) Creates an instance of aAgenticServiceInforecord class.- Parameters:
beanDefinition- the value for thebeanDefinitionrecord componenttype- the value for thetyperecord componentname- the value for thenamerecord componenttools- the value for thetoolsrecord componentoutputKey- the value for theoutputKeyrecord 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). -
beanDefinition
Returns the value of thebeanDefinitionrecord component.- Returns:
- the value of the
beanDefinitionrecord component
-
type
-
name
-
tools
-
outputKey
-