Interview Prep/Agentic AI/Prompting & structured outputs

What are delimiters and why use them?

BeginnerConceptPrompting & structured outputs
Answer

Delimiters such as XML-style tags or triple backticks separate instructions from data, for example wrapping a log file in <logs>...</logs>. They help the model understand what is content to analyse versus instructions to follow, and they reduce prompt-injection risk from pasted text.

All Agentic AI questions Roadmap: LLM fundamentals & RAG

More on Prompting & structured outputs