Uses of Interface
io.quarkiverse.langchain4j.guardrails.GuardrailParams
Packages that use GuardrailParams
-
Uses of GuardrailParams in io.quarkiverse.langchain4j.audit
Classes in io.quarkiverse.langchain4j.audit with type parameters of type GuardrailParamsModifier and TypeInterfaceDescriptioninterface
GuardrailExecutedEvent<P extends GuardrailParams,
R extends GuardrailResult<R>, G extends Guardrail<P, R>> Represents an event that is executed when a guardrail validation occurs. -
Uses of GuardrailParams in io.quarkiverse.langchain4j.guardrails
Classes in io.quarkiverse.langchain4j.guardrails with type parameters of type GuardrailParamsModifier and TypeInterfaceDescriptioninterface
Guardrail<P extends GuardrailParams,
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.Classes in io.quarkiverse.langchain4j.guardrails that implement GuardrailParamsModifier and TypeClassDescriptionfinal record
Represents the parameter passed toInputGuardrail.validate(InputGuardrailParams)
.final record
Represents the parameter passed toOutputGuardrail.validate(OutputGuardrailParams)
.Methods in io.quarkiverse.langchain4j.guardrails that return GuardrailParamsModifier and TypeMethodDescriptionRecreate this guardrail param with the given input or output text.