AI Dictionary › Prompting

Delimiters

Delimitatori (Delimiters)

Delimiters are characters or markers used in a prompt to clearly separate its different parts: instructions, context, data to process, examples. The most common: triple quotes ("""), triple backticks (```), XML tags (<document>...</document>), dashes or uppercase headers.

Definition

They stop the model from confusing your instructions with the content: if you ask it to summarize an email that itself contains instructions ("reply to me by tomorrow"), delimiters make clear what is your command and what is text to analyze. They're also a basic defense against prompt injection.

Practical example: "Summarize the text between the tags. <text> [customer email] </text>. Output: 3 bullet points.", a clean structure, zero ambiguity. Models like Claude are explicitly trained to respect XML tags, making them the most robust choice for professional prompts.

Related terms

More in Prompting

Put it into practice

From our network

Magellano GPS: Fleet Tracking Made Simple

Real-time GPS tracking, remote engine lock, fuel and CO₂ reporting for your fleet.

Visit magellanogps.com →

From the Agora Intelligence blog

More on agora-intelligence.com →

📱 Download the Android app (beta) iOS coming soon

Say what you mean. Get what you need.

Grace Certified, the AI coach that trains and certifies your prompt engineering, by Agora Intelligence.