Uses of Record Class
dev.langchain4j.agentic.internal.HelperMethod
Packages that use HelperMethod
-
Uses of HelperMethod in dev.langchain4j.agentic.declarative
Methods in dev.langchain4j.agentic.declarative that return types with arguments of type HelperMethodModifier and TypeMethodDescriptionstatic Optional<HelperMethod> DeclarativeUtil.predicateHelper(AgentHelpers helpers, Class<? extends Annotation> annotation) Selects the condition helper method annotated with the given annotation, a static method of the agent type or an instance method of a helper object.static Optional<HelperMethod> DeclarativeUtil.predicateHelper(AgentHelpers helpers, Class<? extends Annotation> annotation, Predicate<Method> filter) Selects the condition helper method annotated with the given annotation and matching the given filter, a static method of the agent type or an instance method of a helper object.Methods in dev.langchain4j.agentic.declarative with parameters of type HelperMethodModifier and TypeMethodDescriptionstatic <T> Function<AgenticScope, T> DeclarativeUtil.agenticScopeFunction(Class<?> agentType, HelperMethod functionMethod, Class<T> targetClass) Creates a function invoking the given helper method of the given agent type, a static method of the type or an instance method of a helper object: its parameters supported by a registeredSupplierParameterResolverare resolved, the others are read from theAgenticScope, and arenullwhen the function is applied without one.static Predicate<AgenticScope> DeclarativeUtil.agenticScopePredicate(Class<?> agentType, HelperMethod predicateMethod) static <T> TDeclarativeUtil.invokeSupplierWithResolvers(Class<?> agentType, HelperMethod helper, Class<T> targetClass) Invokes a supplier method, a static method of the agent type or an instance method of a helper object: all its parameters must be provided by the registeredSupplierParameterResolvers. -
Uses of HelperMethod in dev.langchain4j.agentic.internal
Methods in dev.langchain4j.agentic.internal that return HelperMethodMethods in dev.langchain4j.agentic.internal that return types with arguments of type HelperMethodModifier and TypeMethodDescriptionAgentHelpers.select(Class<? extends Annotation> annotation) Selects the single helper method annotated with the given annotation.AgentHelpers.select(Class<? extends Annotation> annotation, Predicate<Method> filter) Selects the single helper method annotated with the given annotation and matching the given filter.AgentHelpers.selectAll(Class<? extends Annotation> annotation) Selects all the helper methods annotated with the given annotation, for the annotations allowed several times on one agent.Methods in dev.langchain4j.agentic.internal with parameters of type HelperMethodModifier and TypeMethodDescriptionstatic ResolvedParametersResolvedParameters.of(Class<?> agentType, HelperMethod helper) Splits the parameters of the given helper method using theSupplierParameterResolvers registered inDeclarativeUtil.