Policy-as-code for LLM apps means:
Select an answer to reveal the explanation.
Short Explanation and Infographic
If the policy isn't testable in CI, it's a wish. Encode tool/data/content rules as code.
Full explanation below image
Full Explanation
Policy-as-code enables enforcement and testing.