~/talk

DSPy: The End of Prompt Engineering

linkedin:kevinmadura
slides:none on file

Claims that DSPy replaces brittle prompt tinkering by letting developers write typed Python programs with LLM calls as first‑class functions, using Signatures, Modules, Adapters, Optimizers to compose logic. Demonstrations include a file router that classifies SEC filings vs contracts, a PDF boundary detector that segments pages by visual layout, and an attachments-based RAG pipeline; optimizer runs (e.g., JEPA/MIPRO-style) lift a metric from ~86% to ~89% and produce a serializable optimized module that replaces hand‑tuned prompts.

AI-written summary · about

  1. 0:00Introduction & The Enterprise AI Challenge
  2. 7:12The 6 Core Concepts of DSPy (Signatures, Modules, Adapters)
  3. 13:23Deep Dive: Class-based vs. Shorthand Signatures
  4. 19:57Adapters: Controlling the Prompt Format (JSON vs. BAML)
  5. 24:17Optimizers: The "Killer Feature" for Transferability
  6. 31:08Code Walkthrough: Setup & Model Mixing
  7. 36:24Handling Documents: "Poor Man's RAG" with Attachments
  8. 42:10Adapter Comparison: Improving Token Efficiency with BAML
  9. 47:20Optimizers in Practice: Creating Datasets & Metrics
  10. 51:13Complex Pipeline: Routing & Classifying Arbitrary Files
  11. 56:00Advanced Use Case: PDF Boundary Detection via Visuals
  12. 1:01:22Analyzing Optimization Results & The "DSPy Hub" Concept
  13. 1:09:02Q&A: Handling Delayed Feedback & Online Learning
  14. 1:13:00Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.