Ethical RAG & Compliance Agent

implementationChallenge

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.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

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