Building Guardrails for LLM Applications