This question evaluates system-design and machine-learning engineering competencies related to Retrieval-Augmented Generation, including architecture for retrieval and indexing, access control and tenant isolation, freshness and observability, citation and hallucination mitigation, and safety/PII handling.
You need to build a Retrieval-Augmented Generation (RAG) assistant for an enterprise product. It should answer questions using internal documents and return grounded answers with citations.
Design the end-to-end RAG system.