DSPy
A Python framework that replaces hand-written prompt strings with declarative modules and signatures, then compiles them against your data. Optimizers search for the wording and few-shot examples that score best on a metric you define.
Services
- Declarative prompt modules
- Automatic prompt optimization
- Few-shot example search
- Metric-driven compilation
Highlights
Source: Official GitHub repository. Last checked 2026-09-18. Spot an error? Tell us.