Uses of Interface
dev.langchain4j.guardrail.InputGuardrail
Packages that use InputGuardrail
Package
Description
-
Uses of InputGuardrail in dev.langchain4j.guardrail
Constructor parameters in dev.langchain4j.guardrail with type arguments of type InputGuardrailModifierConstructorDescriptionprotected
InputGuardrailExecutor
(InputGuardrailsConfig config, List<InputGuardrail> guardrails) -
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.