Prompt template

Answer only using facts in . Cite each fact as [S1], [S2], etc.
If answer not in sources, say 'not in sources'.






Question: {q}
Advertisement

Verify citations

Post-process: for each [Sn] tag, check quoted claim actually appears in source. Reject or re-prompt on mismatch.

Advertisement

Grounded language

'According to source X…' framing beats free assertion. Reduces confident hallucination.

Refuse on absence

Explicitly train prompt to say 'not in sources' rather than guess. Bigger gain than any single grounding trick.