Back to Prompt Library
planning
Design a DSPy Pipeline for ESG Information Extraction
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Real-time ESG Risk Monitoring for Infrastructure Projects
Format
Text-first
Lines
1
Sections
1
Linked challenge
Real-time ESG Risk Monitoring for Infrastructure Projects
Prompt source
Original prompt text with formatting preserved for inspection.
1 lines
1 sections
No variables
0 checklist items
Outline the architecture for a DSPy pipeline designed to extract ESG-related information from unstructured text. Define at least three DSPy modules (e.g., `ClassifySentiment`, `ExtractEntities`, `SummarizeEvent`), their inputs/outputs, and how they will be chained together. Specify how Claude Sonnet 4 will be leveraged within these modules.
Adaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.
Tune next
Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.
Verify after
Check whether the prompt asks for the right evidence, confidence signal, and escalation path.