The short version
A RAG knowledge base supplies external information for an AI assistant's answers. Keeping it useful requires more than importing documents: track approved revisions, remove superseded material from current-answer retrieval and measure when changes reach answers. Choose the acceptable delay according to the business decision the assistant supports.
RAG knowledge base architecture includes an update path
AWS describes retrieval-augmented generation as bringing external information into answer generation. For a business assistant, the source might be a procedure library exported from an existing system. The original documents, searchable representation and generated answer are separate stages. Updating one stage does not demonstrate that every later stage now uses the change.
Illustration, not a customer case: a supplier procedure changes its cutoff time for next-day orders. Staff update the approved document, but the assistant still retrieves a passage from the previous revision. A fluent answer with a citation can still direct staff to follow the superseded procedure.
Newer, approved and currently effective are different
We recommend recording a stable source identifier, revision, approval status and effective period for each procedure. Carry that provenance into retrieved passages. A document edited today may be a draft for next month, while an older approved document remains valid today. Ask the source owner which status and date govern operational use.
Microsoft's freshness-aware retrieval documentation, checked on 21 November 2026, labels the capability Public Preview and explicitly describes recency as a ranking bias, not a hard filter. Older relevant material can still appear. That is a useful distinction even if you use another platform: improving ranking is not the same as excluding a retired procedure.
For the illustrative supplier workflow, define current-answer retrieval separately from historical lookup. Staff asking what to do today should receive the effective procedure. Staff investigating an old order may need the version effective at that time. Do not ask the model to guess which business meaning of 'latest' the user intended.
RAG knowledge base management must cover deletion
An upload-only synchronization job leaves a gap when documents disappear. Microsoft's Azure Storage indexer guidance distinguishes automatic change detection from deletion detection, which needs an appropriate strategy. This is connector-specific behavior, not a promise that every document pipeline handles deletion. Check the actual ingestion mode and its limitations.
Our proposed source inventory maps each document revision to the indexed passages derived from it. When a procedure is withdrawn, use that mapping to prevent its passages from contributing to current answers. Verify the result after processing. A successful deletion request is narrower evidence than an actual query no longer returning the retired text.
Include answer caches in the design. An answer generated before the withdrawal should not be reused as a current instruction merely because retrieval is now correct. Decide how source revisions affect cache validity and follow-up questions in an existing conversation. Historical records may still be retained under the organization's policy, but they should be clearly separated from current operational guidance.
Measure source-to-answer freshness with a realistic rehearsal
Microsoft's grounding-data guidance recommends measuring the time from a source change to its appearance in the index. Extend that observation to the answer path for your workflow: record source approval, indexing completion, retrieved revision and the answer's supporting source. A green scheduled job alone does not establish that the changed passage was used.
For the supplier illustration, rehearse the following cases using synthetic documents and a controlled environment. These are proposed acceptance checks, not results from a deployed assistant.
- Change the cutoff in an approved revision and ask the same operational question.
- Add a newer draft with a different cutoff and verify it does not replace the effective procedure.
- Withdraw the procedure and confirm that current answers stop relying on it.
- Repeat the question in a new conversation and an existing one.
- Pause ingestion and verify the agreed behavior when freshness cannot be established.
Make the freshness target a business decision
A slowly changing handbook and a same-day operational notice need different update targets. Agree on the maximum tolerable delay and the fallback when it is exceeded. Depending on the workflow, that might mean checking the authoritative source directly or stating that the current procedure cannot be verified. Avoid presenting stale instructions with an unqualified claim that they are current.
Budget for extraction, indexing, storage, model calls and investigation of failed updates. Start with one procedure collection whose owner can confirm what is authoritative. UVISION provides dedicated developers and managed projects with at least one full-time developer per project, connecting ongoing AI development to the maintenance of critical legacy systems. The lasting capability is a knowledge source the team can update, explain and operate.
Common questions
What is a RAG knowledge base?
A RAG knowledge base is a collection of information made available to an AI assistant through retrieval. For business procedures, it needs source ownership and revision handling as well as search. In the supplier illustration, the assistant should retrieve the approved, effective cutoff procedure rather than an old revision or a newer draft.
How to build a RAG knowledge base?
Begin with an owned collection and define which documents are approved and effective. Preserve source identifiers and revisions through indexing, plan update and withdrawal handling, and test retrieved evidence alongside answers. The proposed supplier rehearsal checks changed procedures, newer drafts, withdrawn sources and interrupted ingestion before treating the knowledge base as operationally dependable.
What is the difference between RAG and a knowledge base?
A knowledge base is the information collection. RAG is the approach that retrieves external information to help generate an answer. Combining them does not automatically keep answers current. The application still needs an update path, source-revision tracking and rules for excluding superseded procedures from current operational guidance, including answers reused from a cache.
Further reading
Want to explore what this means for your systems?
Explore the relevant service