← Back to Glossary
Citation & Attribution
Phase 03 · RAGtechnique

Attaching exact source document metadata to generated answers so users can verify where claims originated.

Why it exists

Builds user trust and enables compliance by allowing humans to audit source material.

How it works

Retrieved chunks carry source IDs. System prompts instruct the LLM to output inline citations (e.g. [Doc 2, p. 14]) pointing to source files.

Where you'll use this