Why retrieval quality, permissions and evaluation matter as much as generation.
Retrieval is a product decision
Identify the documents users are entitled to see, then design ingestion, metadata and chunking around real questions. Hybrid retrieval and reranking can help when semantic similarity alone is not enough.
Ground answers
Pass selected passages to the model, ask for source references and support an explicit insufficient-evidence response. Keep access filters enforced before generation, not just in the UI.
Evaluate end to end
Test retrieval recall and answer quality on representative questions. Measure freshness, permissions and latency. Use error analysis to distinguish weak retrieval from weak synthesis.