Package dev.agenor.core.guardrail
package dev.agenor.core.guardrail
-
ClassDescriptionImmutable contextual metadata passed to every guardrail during chain execution.Result produced by a guardrail evaluation.The guardrail rejected the content.The guardrail transformed the content.The content passed validation without modification.Thrown when a guardrail in the chain returns
GuardrailResult.Blocked, indicating that the content must not proceed through the pipeline.Validates or transforms user input before it reaches the LLM.Validates or transforms LLM output before it reaches the consumer.Declaratively attaches guardrails to anLLMAgentsubclass.