Members-Only
Recent Talks & Demos are for members only
You must be an AI Tinkerers active member to view these talks and demos.
DSPy: Live Prompt Optimization
Live demo transforms a fragile LLM pipeline into an optimized DSPy workflow, comparing baseline and optimized accuracy, latency, and cost with reproducible code.
Prompting by gut feel doesn’t scale. I’ll start with a brittle LLM pipeline and a small eval set, show baseline accuracy, latency, and cost, then “compile” it with DSPy. We’ll define Signatures and Modules, run an optimizer to generate candidates and tune prompts, switch metrics, re-optimize, and compare before and after on held-out cases. I’ll show the code and dataset wiring so people can reuse the pattern in their own agents.
DSPy optimizes GPT-4.1-mini prompts automatically using MIPROv2 for performance.
DSPy is a declarative framework for building and optimizing modular LLM programs.