S
Sonny
Text
Structuring a Prompt with XML Tags — Building with the Claude API
Delimit instructions, context documents, and examples with explicit tags so the model can tell one from another, and reference those sections by name in the instruction. Taught in the course “Buildin…