Skip to content
AgenticAIWiki
  1. Glossary
  2. XML tags

Glossary term

XML tags

Tags such as <document> or <instructions> used in prompts to separate and label different kinds of content.

Also called XML tag.

Open lesson 11.4

Structuring prompts with XML tags · Chapter 11

In plain words

Tags help the model tell instructions from data and make outputs easy to parse. Tag names are not special; consistency is.

Taught in

  1. 11.4Structuring prompts with XML tagsChapter 11, Explicit criteria, roles and XML tags · main lesson