Building inspectors query an AI assistant about code sections. Which model-control pattern best keeps answers grounded in citations?
Select an answer to reveal the explanation.
Short Explanation
Same checklist, every inspector — that is the point of a sanctioned prompt template. Baking citation instructions into the template keeps code answers pinned to sources. Enforcing a consistent inspector persona just polishes tone and ignores citation requirements, retrieval grounding with model-chosen citation format skips the structured source pinning you need, and logging questions for later audit doesn't stop the model from giving you ungrounded answers right now.
Full Explanation
Prompt templates are enforceable model-control patterns that standardize how municipal users invoke AI. Building inspectors querying code sections need answers grounded in citations; a sanctioned prompt template that injects code-section citation instructions into every query consistently steers the model toward quoting or linking authoritative sections rather than merely enforcing a consistent inspector persona that standardizes tone but leaves citation format to chance. Central templates also simplify updates when code editions change and support audit of how inspectors interact with the assistant.
Enforcing a consistent inspector persona in the system prompt standardizes tone across accounts but does not require code-section citations, so grounding remains inconsistent. Providing the code manual through retrieval grounding while leaving citation format to model discretion means the model can access the manual but still may not quote or link specific sections, so answers are not reliably grounded in citations. Logging inspector questions and answer pairs for later audit review of citation accuracy is a retrospective check that does not keep answers grounded in citations during the interaction, leaving inspectors with unverified guidance on the spot.
Exam caveat: sanctioned templates that embed citation requirements are preferred over merely enforcing a consistent inspector persona, because tone standardization alone does not ensure grounded code answers. Operational check: deploy the citation-injecting template as the only supported inspector entry point, evaluate citation presence on held-out code questions, and revise the template when inspectors report missing section references.
Prefer to study offline? Printable PDF study book + test engine ($7.50, unofficial). These questions stay free here.