Ethical RAG & Compliance Agent

implementationChallengeNovember 21, 2025

Prompt Content

Build a RAG system that ingests a set of simulated 'Brand Guidelines' and 'Ethical AI Policies' (e.g., markdown files, JSON). Create a 'Content Compliance Agent' using DSPy that, after an ad is generated, retrieves relevant policies and evaluates the ad's compliance. If non-compliant, it should suggest revisions. Demonstrate this agent's interaction with Gemini 2.5 Pro.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations