~/talk

Optimizing a Prompt for Production

slides:none on file

Five practical steps convert a naive prompt into a production pipeline: give direction, specify format, provide examples, evaluate quality, and divide labor. The workflow uses Jupyter + API calls, outputs strict JSON, scores with ROUGE and an LLM judge, and fact-checks via a web-search agent (Tavali). A/B tests run 10–30 samples each; fine-tuning needs ~2,000 passing examples; DSPyOptimizers can auto-tune prompts and reduce cost by switching to cheaper models like GP4 mini.

AI-written summary · about

  1. 0:00Intro
  2. 2:27Agenda
  3. 4:25What is prompt engineering?
  4. 11:145 principles of prompting
  5. 11:361. Give direction
  6. 13:422. Specify format
  7. 16:543. Provide examples
  8. 20:294. Evaluate quality
  9. 25:145. Divide labor
  10. 28:22Optimization in production
  11. 31:45A/B testing
  12. 33:09DSPy optimizers
  13. 34:20Fine-tuning
  14. 38:07The business case for prompting
  15. 38:29Outro
~/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.