Skip to content

Glossary: Building with LLMs Basics

Tags for untrusted text

Also written: <email> tags, XML tags

Wrapping pasted material in tags such as `<email>` and `</email>` so the model can see where it starts and ends and treat it as data, not instructions. The tag names are your choice.

Where the book teaches it

Related terms

Prompt injectionUntrusted input