Programmer.ie
Technical library for the AI era
Menu
Home
Books
Examples
Solutions
Learn
Prompts
Articles
Search
About
English
简体中文
DSPy
Why Are We Still Hand-Writing Prompts?
A Prompt Is Not Yet a Program
Define the Contract
Separate What From How
Build Programs From Programs
Your Model Is a Dependency
Examples Are Experimental Data
You Cannot Optimize What You Cannot Measure
When the Metric Becomes the Target
Compile the Program
Few-Shot Optimization
Optimize the Instructions
Let the Program Reflect
Change One Thing
Agents Are Programs Too
Search, Memory and Long Context
Search the Reasoning Space
Don't Let the Optimizer Cheat
From Experiment to Production
Build a Self-Improving Engineering Program
Beyond the Book: Production DSPy Systems (Appendix)