Uses of Enum Class
dev.langchain4j.agent.tool.ReturnBehavior
Packages that use ReturnBehavior
-
Uses of ReturnBehavior in dev.langchain4j.agent.tool
Subclasses with type arguments of type ReturnBehavior in dev.langchain4j.agent.toolModifier and TypeClassDescriptionenumPer-tool setting controlling what happens with a tool's result after execution.Methods in dev.langchain4j.agent.tool that return ReturnBehaviorModifier and TypeMethodDescriptionstatic ReturnBehaviorReturns the enum constant of this class with the specified name.static ReturnBehavior[]ReturnBehavior.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ReturnBehavior in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return ReturnBehaviorModifier and TypeMethodDescriptionAiServiceTool.returnBehavior()ToolService.returnBehavior(String toolName) Returns the effectiveReturnBehaviorfor the given tool, as configured on this service.ToolServiceContext.returnBehavior(String toolName) Returns the effectiveReturnBehaviorfor the given tool.Methods in dev.langchain4j.service.tool that return types with arguments of type ReturnBehaviorMethods in dev.langchain4j.service.tool with parameters of type ReturnBehaviorModifier and TypeMethodDescriptionToolProviderResult.Builder.add(ToolSpecification tool, ToolExecutor executor, ReturnBehavior returnBehavior) AiServiceTool.Builder.returnBehavior(ReturnBehavior returnBehavior) Method parameters in dev.langchain4j.service.tool with type arguments of type ReturnBehaviorModifier and TypeMethodDescriptionToolServiceContext.Builder.returnBehaviors(Map<String, ReturnBehavior> returnBehaviorByName) static booleanToolService.shouldReturnImmediately(boolean anyToolErrored, List<ReturnBehavior> returnBehaviors)