Why structure matters
A model reads your prompt as one stream of text. Structure gives it landmarks.
Plain text: hard to know what's a rule vs data
Structured: clear boundaries, fewer mistakes
Use consistent delimiters every time so the model learns to expect them.
Avoiding instruction leakage
If user data contains instructions, the model may obey them. Delimiters protect against this:
User text goes inside <data>...</data>
Your real instructions stay outside.
Delimiters don't just organize, they also defend.
This is a basic defense against prompt injection.