Robustness

Domain: Prompt Engineering

🎯 Motivation

A robust prompt works well across a wide range of inputs, including unexpected and edge cases, without failing or producing nonsense.

πŸ“‹ Concrete Example

A robust translation prompt handles: short phrases, long documents, idioms (β€˜it is raining cats and dogs’), slang, technical jargon, and mixed languages. A fragile prompt only works on simple sentences.

πŸ”— Analogy

A sturdy umbrella - it works in light rain, heavy rain, wind, and even hail. A fragile one breaks in wind. Robust prompts work across all conditions; fragile ones break on unusual inputs.