Applications of Foundation Models

A developer encloses a document within XML-style tags and tells the model to summarize only the enclosed text. What is the primary purpose of the tags?

Show the answer

Correct answerD. Mark the input boundaries

AWhy not this: Tags do not save or preserve an immutable prompt configuration.

BWhy not this: Enclosing a source document does not provide a demonstration of the expected summary.

CWhy not this: An expert perspective is established through a role instruction, not document boundaries.

DWhy this is right: The tags separate the document to be processed from the surrounding instructions.

Delimiters such as XML-style tags mark where input content begins and ends, helping distinguish it from instructions. They do not demonstrate the desired answer unless an actual example answer is also provided.