Building a grounded document QA agent with traceable citations

shao__meng described a grounded RAG agent that ensures every answer is traceable to page numbers and original text. The pipeline uses LlamaParse for parsing, local embedding and LLM, and CitationQueryEngine for inline citations. Key insights: parsing quality is the ceiling, citation granularity is a trade-off, and traceability does not guarantee correctness.