Back to prompt library
DSPy Module Definition for Policy Analysis
Linked challenge: Agent for Real Time Public Policy Analysis
Prompt source
planning1 lines1 sectionsNo variables0 checklist items
Define a DSPy `Signature` for your main policy analysis module. This signature should specify the inputs (EO text, prior regulations) and desired structured outputs (summary, interpretations, impacts). Then, define the `Predictor` and `ChainOfThought` modules to implement the reasoning process.