Uses of Interface
dev.langchain4j.guardrail.InputGuardrail
Packages that use InputGuardrail
Package
Description
-
Uses of InputGuardrail in dev.langchain4j.agentic.agent
Methods in dev.langchain4j.agentic.agent with type parameters of type InputGuardrailModifier and TypeMethodDescription<I extends InputGuardrail>
AgentBuilder<T> AgentBuilder.inputGuardrailClasses
(Class<? extends I>... inputGuardrailClasses) <I extends InputGuardrail>
AgentBuilder<T> AgentBuilder.inputGuardrails
(I... inputGuardrails) Methods in dev.langchain4j.agentic.agent with parameters of type InputGuardrailModifier and TypeMethodDescription<I extends InputGuardrail>
AgentBuilder<T> AgentBuilder.inputGuardrails
(I... inputGuardrails) -
Uses of InputGuardrail in dev.langchain4j.guardrail
Subclasses with type arguments of type InputGuardrail in dev.langchain4j.guardrailModifier and TypeClassDescriptionclass
TheGuardrailExecutor
forInputGuardrail
s.static class
Builder class for constructing instances ofInputGuardrailExecutor
.Constructor parameters in dev.langchain4j.guardrail with type arguments of type InputGuardrailModifierConstructorDescriptionprotected
InputGuardrailExecutor
(InputGuardrailsConfig config, List<InputGuardrail> guardrails) -
Uses of InputGuardrail in dev.langchain4j.observability.api.event
Subclasses with type arguments of type InputGuardrail in dev.langchain4j.observability.api.eventSubinterfaces with type arguments of type InputGuardrail in dev.langchain4j.observability.api.eventModifier and TypeInterfaceDescriptioninterface
Represents an event that is triggered upon the execution of an input guardrail validation. -
Uses of InputGuardrail in dev.langchain4j.observability.api.listener
Subinterfaces with type arguments of type InputGuardrail in dev.langchain4j.observability.api.listenerModifier and TypeInterfaceDescriptioninterface
A specialized listener interface for handling events of typeInputGuardrailExecutedEvent
, which are triggered upon the execution of input guardrail validations. -
Uses of InputGuardrail in dev.langchain4j.observability.event
Subclasses with type arguments of type InputGuardrail in dev.langchain4j.observability.event -
Uses of InputGuardrail in dev.langchain4j.service
Methods in dev.langchain4j.service with type parameters of type InputGuardrailModifier and TypeMethodDescription<I extends InputGuardrail>
AiServices<T> AiServices.inputGuardrailClasses
(Class<? extends I>... guardrailClasses) Configures input guardrail classes for the AI service.<I extends InputGuardrail>
AiServices<T> AiServices.inputGuardrailClasses
(List<Class<? extends I>> guardrailClasses) Configures the input guardrail classes for the AI services.<I extends InputGuardrail>
AiServices<T> AiServices.inputGuardrails
(I... guardrails) Adds the specified input guardrails to the context's guardrail service builder.<I extends InputGuardrail>
AiServices<T> AiServices.inputGuardrails
(List<I> guardrails) Sets the input guardrails to be used by the guardrail service builder in the current context.Methods in dev.langchain4j.service with parameters of type InputGuardrailModifier and TypeMethodDescription<I extends InputGuardrail>
AiServices<T> AiServices.inputGuardrails
(I... guardrails) Adds the specified input guardrails to the context's guardrail service builder. -
Uses of InputGuardrail in dev.langchain4j.service.guardrail
Methods in dev.langchain4j.service.guardrail with type parameters of type InputGuardrailModifier and TypeMethodDescriptiondefault <I extends InputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.inputGuardrailClasses
(Class<? extends I>... guardrailClasses) Configures the classes of input guardrails for the Builder.<I extends InputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.inputGuardrailClasses
(List<Class<? extends I>> guardrailClasses) Configures the classes of input guardrails for the Builder.default <I extends InputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.inputGuardrails
(I... guardrails) Configures the input guardrails for the Builder.<I extends InputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.inputGuardrails
(List<I> guardrails) Sets the input guardrails for the Builder.Methods in dev.langchain4j.service.guardrail with parameters of type InputGuardrailModifier and TypeMethodDescriptiondefault <I extends InputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.inputGuardrails
(I... guardrails) Configures the input guardrails for the Builder. -
Uses of InputGuardrail in dev.langchain4j.spi.guardrail
Subinterfaces with type arguments of type InputGuardrail in dev.langchain4j.spi.guardrailModifier and TypeInterfaceDescriptioninterface
Represents a factory for creating instances ofInputGuardrailExecutor.InputGuardrailExecutorBuilder
.