Interface InputGuardrail


@Experimental("This feature is experimental and the API is subject to change") public interface InputGuardrail
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.

Implementation should be exposed as a CDI bean, and the class name configured in InputGuardrails.value() annotation.

Implementation should throw a InputGuardrail.ValidationException when the validation fails.