Back to reviews
DSPy

DSPy

Programming — not prompting — LMs

DSPy replaces manual prompt engineering with programmatic optimization of LM pipelines. Compiles high-level programs into optimized prompts. Academic origin from Stanford NLP.

Panel Reviews

The Builder

The Builder

Developer Perspective

Ship

Revolutionary approach to prompt engineering. Optimizers find better prompts than humans can write manually.

The Skeptic

The Skeptic

Reality Check

Skip

Steep learning curve and the abstractions can be confusing. For most apps, good prompt engineering is faster.

The Futurist

The Futurist

Big Picture

Ship

The idea that prompts should be compiled, not handwritten, is correct. DSPy is ahead of its time.