How Rogue judges if an agent’s response complies with a policy.
EvaluatorAgent
needs to determine if a policy was followed, it constructs a detailed prompt for the Judge LLM. This prompt contains all the necessary context for an informed and consistent decision.
The prompt includes the following components:
EvaluatorAgent
and the agent being tested.policy_rule
.