Adding many examples improved a demo but slowed production. What next?
Practice this question- I measure which examples actually help and remove redundancy.
- I test a smaller prompt, provider-supported schemas, deterministic preprocessing, or a better model.
- I optimize latency and cost while preserving held-out quality.
Adapted from 13_AI.MD · “29.2 Prompt engineering”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.