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 TypeInterfaceDescriptioninterfaceAn 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 InputGuardrailParamsInputGuardrailParams.from(dev.langchain4j.data.message.UserMessage userMessage) static InputGuardrailParamsInputGuardrailParams.from(dev.langchain4j.data.message.UserMessage userMessage, Map<String, Object> variables) Methods in io.quarkiverse.langchain4j.guardrails with parameters of type InputGuardrailParamsModifier and TypeMethodDescriptiondefault InputGuardrailResultInputGuardrail.validate(InputGuardrailParams params) Validates the input that will be sent to the LLM.