Uses of Interface
dev.langchain4j.guardrail.GuardrailResult
Packages that use GuardrailResult
-
Uses of GuardrailResult in dev.langchain4j.guardrail
Classes in dev.langchain4j.guardrail with type parameters of type GuardrailResultModifier and TypeClassDescriptionclassAbstractGuardrailExecutor<C extends GuardrailsConfig,P extends GuardrailRequest<P>, R extends GuardrailResult<R>, G extends Guardrail<P, R>, F extends GuardrailResult.Failure> Abstract base class forGuardrailExecutors.static classAbstractGuardrailExecutor.GuardrailExecutorBuilder<C extends GuardrailsConfig,R extends GuardrailResult<R>, P extends GuardrailRequest<P>, G extends Guardrail<P, R>, B extends AbstractGuardrailExecutor.GuardrailExecutorBuilder<C, R, P, G, B>> A generic abstract builder class for creating instances ofGuardrailExecutor.interfaceGuardrail<P extends GuardrailRequest,R extends GuardrailResult<R>> A guardrail is a rule that is applied when interacting with an LLM either to the input (the user message) or to the output of the model to ensure that they are safe and meet the expectations of the model.interfaceGuardrailExecutor<C extends GuardrailsConfig,P extends GuardrailRequest, R extends GuardrailResult<R>, G extends Guardrail<P, R>> Represents a mechanism to execute a set of guardrails on given parameters.interfaceGuardrailResult<GR extends GuardrailResult<GR>>The result of the validation of an interaction between a user and the LLM.Classes in dev.langchain4j.guardrail that implement GuardrailResultModifier and TypeClassDescriptionfinal classThe result of the validation of anInputGuardrailfinal classThe result of the validation of anOutputGuardrail