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.