Optimizing and releasing a prompt program
medium 6 minA prompt program can contain multiple model calls, retrieval and typed intermediate values.
Where it shows up
The same pattern appears across everyday software.
A prompt wins on development tickets and fails on new customers
Define what counts as correct for both dated and undated documents before optimizing. Score training or development fixtures only. Record selected demonstrations and prompt revision. Inspect how often the winning prompt invents dates on unseen documents and compare it with the baseline.