←back to buildingStop writing prompts by hand Let the optimizer find better prompts automatically Two training examples is often enough Systematic evaluation beats gut feeling
03talkAug 2025
DSPy Prompt Optimization
Stop writing prompts by hand. I gave a talk at AI Tinkerers showing how DSPy's MIPROv2 optimizer can automatically improve your prompts. Two training examples, zero manual tuning, better results.
View on GitHub →The Talk
Gave a presentation at AI Tinkerers Berlin about DSPy - a framework for programming language models instead of just prompting them.
Key Ideas
Demo
Showed MIPROv2 optimizer improving prompts for GPT-4.1-mini in real-time. Started with a basic prompt, ended with something significantly better.
Resources
Check the repo for the full notebook and slides.
dspy prompt optimization03