prompt delimiter

A marker, such as an XML-style tag or a fenced block, that separates the parts of a prompt so the model can tell instructions from data.

In more detail

Delimiters make prompts clearer and easier to test. They are structure, not security: a malicious document can imitate or close a tag, so escape inserted text and never rely on delimiters to stop prompt injection.

Related terms

Taught in

References

Certification courses