Uses of Class
dev.langchain4j.service.tool.AiServiceTool.Builder
Packages that use AiServiceTool.Builder
-
Uses of AiServiceTool.Builder in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return AiServiceTool.BuilderModifier and TypeMethodDescriptionstatic AiServiceTool.BuilderAiServiceTool.builder()AiServiceTool.Builder.immediateReturn(boolean immediateReturn) Deprecated.AiServiceTool.Builder.returnBehavior(ReturnBehavior returnBehavior) AiServiceTool.toBuilder()AiServiceTool.Builder.toolExecutor(ToolExecutor toolExecutor) AiServiceTool.Builder.toolInputGuardrails(ToolInputGuardrail... toolInputGuardrails) Sets theToolInputGuardrails of this tool.AiServiceTool.Builder.toolInputGuardrails(@Nullable List<? extends ToolInputGuardrail> toolInputGuardrails) Sets theToolInputGuardrails of this tool, which run in the order given, after the guardrails set on theAiServicesbuilder, after the ones of the class annotation and after the ones of the method annotation, if any.AiServiceTool.Builder.toolOutputGuardrails(ToolOutputGuardrail... toolOutputGuardrails) Sets theToolOutputGuardrails of this tool.AiServiceTool.Builder.toolOutputGuardrails(@Nullable List<? extends ToolOutputGuardrail> toolOutputGuardrails) Sets theToolOutputGuardrails of this tool, which run in the order given, first: before the ones of the method annotation, of the class annotation and the guardrails set on theAiServicesbuilder, if any.AiServiceTool.Builder.toolSource(@Nullable ToolSource toolSource) Sets where this tool comes from.AiServiceTool.Builder.toolSpecification(ToolSpecification toolSpecification)
AiServiceTool.Builder.returnBehavior(ReturnBehavior)instead