SpinTheMic
Pro

Explain it in 60 seconds

Structuring prompts with delimiters

Machine Learning · Prompt Engineering · Beginner

Why use delimiters like XML tags or headings in prompts?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Separate instructions from data (documents, user input).
  • Reduce confusion and prompt injection risk.
  • Make it easy to reference parts ("in the <contract> above").
  • Tags like <document>, <instructions>, <examples>.
  • Consistent structure improves reliability.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics