Retrieval-augmented generation (RAG)
Retrieval-augmented generation is a technique in which a language model is given relevant passages retrieved from an organisation's own documents before it answers, so its responses are grounded in that content rather than in its training data alone.
RAG is how most trustworthy assistants over company knowledge are built. The quality depends on the retrieval as much as the model: how documents are chunked, indexed and filtered, and whether the answer cites what it used. An evaluation harness, a set of real questions with known good answers, is how you know it's working.