Uses of Record Class
io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
Packages that use InputGuardrailParams
-
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.