Uses of Interface
dev.langchain4j.guardrail.ToolOutputGuardrail
Packages that use ToolOutputGuardrail
Package
Description
-
Uses of ToolOutputGuardrail in dev.langchain4j.agentic.agent
Methods in dev.langchain4j.agentic.agent with type parameters of type ToolOutputGuardrailModifier and TypeMethodDescription<O extends ToolOutputGuardrail>
BAgentBuilder.toolOutputGuardrailClasses(Class<? extends O>... toolOutputGuardrailClasses) Sets theToolOutputGuardrailclasses to be instantiated and applied to every tool of the agent.<O extends ToolOutputGuardrail>
BAgentBuilder.toolOutputGuardrails(O... toolOutputGuardrails) Sets theToolOutputGuardrailinstances applied to every tool of the agent.Methods in dev.langchain4j.agentic.agent with parameters of type ToolOutputGuardrailModifier and TypeMethodDescription<O extends ToolOutputGuardrail>
BAgentBuilder.toolOutputGuardrails(O... toolOutputGuardrails) Sets theToolOutputGuardrailinstances applied to every tool of the agent. -
Uses of ToolOutputGuardrail in dev.langchain4j.guardrail
Subclasses with type arguments of type ToolOutputGuardrail in dev.langchain4j.guardrailModifier and TypeClassDescriptionclassTheGuardrailExecutorforToolOutputGuardrails.static classBuilder class for constructing instances ofToolOutputGuardrailExecutor.Constructor parameters in dev.langchain4j.guardrail with type arguments of type ToolOutputGuardrailModifierConstructorDescriptionprotectedToolOutputGuardrailExecutor(ToolOutputGuardrailsConfig config, List<ToolOutputGuardrail> guardrails) -
Uses of ToolOutputGuardrail in dev.langchain4j.observability.api.event
Subclasses with type arguments of type ToolOutputGuardrail in dev.langchain4j.observability.api.eventModifier and TypeClassDescriptionstatic classBuilder forToolOutputGuardrailExecutedEventinstances.Subinterfaces with type arguments of type ToolOutputGuardrail in dev.langchain4j.observability.api.eventModifier and TypeInterfaceDescriptioninterfaceRepresents an event triggered upon the execution of a tool output guardrail. -
Uses of ToolOutputGuardrail in dev.langchain4j.observability.api.listener
Subinterfaces with type arguments of type ToolOutputGuardrail in dev.langchain4j.observability.api.listenerModifier and TypeInterfaceDescriptioninterfaceA listener forToolOutputGuardrailExecutedEvents, triggered upon the execution of tool output guardrails. -
Uses of ToolOutputGuardrail in dev.langchain4j.observability.event
Subclasses with type arguments of type ToolOutputGuardrail in dev.langchain4j.observability.eventModifier and TypeClassDescriptionclassDefault implementation ofToolOutputGuardrailExecutedEvent. -
Uses of ToolOutputGuardrail in dev.langchain4j.service
Methods in dev.langchain4j.service with type parameters of type ToolOutputGuardrailModifier and TypeMethodDescription<O extends ToolOutputGuardrail>
AiServices<T> AiServices.toolOutputGuardrailClasses(Class<? extends O>... guardrailClasses) Sets the classes of theToolOutputGuardrails that apply to every tool.<O extends ToolOutputGuardrail>
AiServices<T> AiServices.toolOutputGuardrailClasses(@Nullable List<Class<? extends O>> guardrailClasses) Sets the classes of theToolOutputGuardrails that apply to every tool.<O extends ToolOutputGuardrail>
AiServices<T> AiServices.toolOutputGuardrails(@Nullable List<O> guardrails) Sets theToolOutputGuardrailinstances that apply to every tool.<O extends ToolOutputGuardrail>
AiServices<T> AiServices.toolOutputGuardrails(O... guardrails) Sets theToolOutputGuardrailinstances that apply to every tool.Methods in dev.langchain4j.service with parameters of type ToolOutputGuardrailModifier and TypeMethodDescription<O extends ToolOutputGuardrail>
AiServices<T> AiServices.toolOutputGuardrails(O... guardrails) Sets theToolOutputGuardrailinstances that apply to every tool. -
Uses of ToolOutputGuardrail in dev.langchain4j.service.guardrail
Methods in dev.langchain4j.service.guardrail with type parameters of type ToolOutputGuardrailModifier and TypeMethodDescriptiondefault <O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrailClasses(Class<? extends O>... guardrailClasses) Sets the classes of the output guardrails that apply to every tool, replacing the ones set before.<O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrailClasses(@Nullable List<Class<? extends O>> guardrailClasses) Sets the classes of the output guardrails that apply to every tool, replacing the ones set before.<O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrails(@Nullable List<O> guardrails) Sets the output guardrails that apply to every tool, replacing the ones set before.default <O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrails(O... guardrails) Sets the output guardrails that apply to every tool, replacing the ones set before.Methods in dev.langchain4j.service.guardrail with parameters of type ToolOutputGuardrailModifier and TypeMethodDescriptiondefault <O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrails(O... guardrails) Sets the output guardrails that apply to every tool, replacing the ones set before. -
Uses of ToolOutputGuardrail in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return types with arguments of type ToolOutputGuardrailModifier and TypeMethodDescriptionAiServiceTool.toolOutputGuardrails()Returns theToolOutputGuardrails of this tool.Methods in dev.langchain4j.service.tool with parameters of type ToolOutputGuardrailModifier and TypeMethodDescriptionAiServiceTool.Builder.toolOutputGuardrails(ToolOutputGuardrail... toolOutputGuardrails) Sets theToolOutputGuardrails of this tool.Method parameters in dev.langchain4j.service.tool with type arguments of type ToolOutputGuardrailModifier and TypeMethodDescriptionAiServiceTool.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. -
Uses of ToolOutputGuardrail in dev.langchain4j.spi.guardrail
Subinterfaces with type arguments of type ToolOutputGuardrail in dev.langchain4j.spi.guardrailModifier and TypeInterfaceDescriptioninterfaceRepresents a factory for creating instances ofToolOutputGuardrailExecutor.ToolOutputGuardrailExecutorBuilder.