Uses of Record Class
io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
Packages that use InputGuardrailParams
Package
Description
-
Uses of InputGuardrailParams in io.quarkiverse.langchain4j.audit
Subinterfaces with type arguments of type InputGuardrailParams in io.quarkiverse.langchain4j.audit -
Uses of InputGuardrailParams in io.quarkiverse.langchain4j.audit.internal
Methods in io.quarkiverse.langchain4j.audit.internal that return InputGuardrailParamsModifier and TypeMethodDescriptionDefaultInputGuardrailExecutedEvent.params()
Returns the value of theparams
record component.Constructors in io.quarkiverse.langchain4j.audit.internal with parameters of type InputGuardrailParamsModifierConstructorDescriptionDefaultInputGuardrailExecutedEvent
(AuditSourceInfo sourceInfo, InputGuardrailParams params, InputGuardrailResult result, Class<InputGuardrail> guardrailClass) Creates an instance of aDefaultInputGuardrailExecutedEvent
record class. -
Uses of InputGuardrailParams in io.quarkiverse.langchain4j.guardrails
Subinterfaces with type arguments of type InputGuardrailParams in io.quarkiverse.langchain4j.guardrailsModifier and TypeInterfaceDescriptioninterface
An input guardrail is a rule that is applied to the input of the model to ensure that the input (the user message) is safe and meets the expectations of the model.Methods in io.quarkiverse.langchain4j.guardrails that return InputGuardrailParamsModifier and TypeMethodDescriptionstatic InputGuardrailParams
InputGuardrailParams.from
(dev.langchain4j.data.message.UserMessage userMessage) static InputGuardrailParams
InputGuardrailParams.from
(dev.langchain4j.data.message.UserMessage userMessage, Map<String, Object> variables) Methods in io.quarkiverse.langchain4j.guardrails with parameters of type InputGuardrailParamsModifier and TypeMethodDescriptiondefault InputGuardrailResult
InputGuardrail.validate
(InputGuardrailParams params) Validates the input that will be sent to the LLM.