Delimiter
Special characters or markers that separate different sections of a prompt — user input from instructions, one example from another.
Think of it like
Using <----> to mark where one paragraph ends and the next begins.
Example
Prompt: "Instructions: ...\n\n### INPUT\nUser query here\n\n### OUTPUT\nExpected format" — the ### marks section boundaries.
How it actually works
Delimiters reduce ambiguity. They signal to the model where parsing should change. Common delimiters: newlines, ```, ###, tags (<input>, </input>). They're especially useful when input contains special characters that might confuse the model.
For product teams
Improves reliability when input is noisy or adversarial.
For engineers
Choose a delimiter unlikely to appear in user input. Document it in your prompt template. Use consistently.
Related
- Structured output — Part of structured output design.
Read anything AI without the jargon
Look up any term in plain English, or save terms as you read with the free Chrome extension.
Open DecoderAdd to Chrome