Delimiter

Domain: Prompt Engineering

🎯 Motivation

Using clear separators (#, ---, ) in prompts helps the model distinguish between instructions, examples, and input data.

📋 Concrete Example

Prompt: ‘Summarize the text between

and
.\n
\n[long text]\n
’ The delimiters clearly mark where the text to summarize begins and ends.

🔗 Analogy

Using quotation marks in writing - the quotes tell the reader ‘this is a quote, not my words’. Delimiters tell the model ‘this is data, not instructions’. Clear boundaries prevent confusion.