AI and LLMs · Middle · Question 58 of 75
What is the main advantage of putting examples in XML-like tags in a prompt?
- 1Models ignore everything outside of tags
- 2The model can tell examples from instructions
- 3Tags make the prompt cheaper than plain text
Show the answer
Correct answer: The model can tell examples from instructions
Explanation
Clear structure (<example>, <document>) reduces confusion in long prompts and makes them easier to maintain.