Optimize

Get better results every time

Optimising is turning a lucky prompt into a reliable one. You measure the output against criteria you wrote down, change one thing, measure again — and keep the phrasing that wins. Without measurement, prompt tuning is superstition.

Measure before you tune

Levers, cheapest first

Example

Vague
Classify these support tickets.
Better
Classify each ticket as exactly one of: BILLING, BUG, HOWTO, OTHER.
Output JSON: {"id": "", "label": "", "confidence": 0.0-1.0}. No other text.
If the ticket fits none of the labels, use OTHER with confidence 0.
Examples:
"card declined twice" -> BILLING
"export button spins forever" -> BUG

Related on this site