A RAG system answers a question in two steps: it retrieves passages from a defined set of documents, then a language model writes a reply from those passages. What it is allowed to retrieve decides what it can say, so the document set matters more than the model.
That set is a copy of your content, held in a separate index. When a page is withdrawn, superseded or embargoed on your website, the copy does not change by itself. This article is for the people who own the content: what a RAG system should read, and how a withdrawal reaches it.
What is a RAG system, in plain terms?
A RAG system is software that looks up relevant passages in your own documents and hands them to a large language model, which writes an answer from them. AWS defines retrieval-augmented generation as making a model reference "an authoritative knowledge base outside of its training data sources before generating a response" (AWS). Microsoft Learn calls it "a pattern that extends LLM capabilities by grounding responses in your proprietary content" (Microsoft Learn).
The term comes from a 2020 paper by Patrick Lewis and 11 co-authors, "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks", accepted at NeurIPS 2020. Their models paired a pre-trained sequence-to-sequence model with a dense vector index of Wikipedia, and retriever and generator were fine-tuned together. AWS now uses the term for retrieval that works "without the need to retrain the model" (AWS).
The authors named two problems the design was meant to address. For large language models, they wrote, "providing provenance for their decisions and updating their world knowledge remain open research problems" (Lewis et al., 2020). Both are content governance problems as much as technical ones.
Is RAG better than fine-tuning for answering from your own content?
For content that changes, RAG and fine-tuning do different jobs, and Microsoft's documentation says fine-tuning does not replace retrieval. Fine-tuning "adjusts the model's weights rather than adding examples to each prompt", and Microsoft adds that it "adds training and hosting costs and doesn't replace retrieval for current information or application-level safety controls" (Microsoft Learn, fine-tuning overview). Aligning style and structure is one of the uses Microsoft lists for it.
Fees, deadlines, opening hours and eligibility rules change on a publishing schedule, and retrieval lets an answer follow the published page without retraining anything. Fine-tuning may still have a role in how answers are worded.
Your index is a copy, and copies fall behind
The original paper measured the effect. Lewis and colleagues built one index from Wikipedia as it stood in December 2016 and another from December 2018, then asked the model who held 82 world leader positions that had changed between those dates (Lewis et al., section on index hot-swapping). With the matching index it answered 70% correctly for 2016 and 68% for 2018. With the mismatched index, accuracy fell to 12% and 4%.
The authors concluded that RAG's knowledge can be updated "by simply replacing its non-parametric memory", with no retraining. For a content owner, the same result means an out-of-date index produces out-of-date answers.
AWS makes the point in its own explainer, advising organisations to "asynchronously update the documents and update embedding representation of the documents" through automated real-time processes or periodic batch processing (AWS). If that batch runs weekly, a withdrawn page can keep answering questions for up to a week.
GOV.UK shows how far a copy can drift from the publisher's intent. Its guidance says withdrawn content leaves GOV.UK's internal site search, document collections and topic pages, but "will still appear in" Google search results, and attachments can still be reached directly from Google (GOV.UK, retire content). On GOV.UK's own account, withdrawing a page does not reach the copy held in Google's index.
Which content should a RAG system be kept from reading?
A RAG system should be kept from reading anything a member of the public should not act on today: withdrawn and superseded pages, embargoed material, drafts, archived content and any document type you have not approved for answering. That decision is best made when content enters the index, because content that never reaches the index cannot be retrieved.
The publishing states already exist. GOV.UK separates withdrawing, where the page stays at its URL with a banner saying it has been withdrawn, from unpublishing, where the page is removed completely (GOV.UK, withdraw and unpublish). Its broad test for withdrawal is "will leaving it as it is get in the way of a non-specialist user?" (GOV.UK, retire content). A withdrawn page stays online, and a RAG system that indexes it can quote it as current advice.
Supersession needs its own rule. One of GOV.UK's template explanations for a withdrawn page reads "This page has been replaced by a newer version", followed by a link to the new content (GOV.UK, withdraw and unpublish). The index should hold that relationship too, so an answer cites the current version and the old one drops out of retrieval.
GDS takes this approach with GOV.UK Chat, which it describes as "a conversational retrieval-augmented generation (RAG) system". Before retrieval, the team filters GOV.UK content using metadata "to prioritise authoritative, up-to-date sources and exclude any content containing personally identifiable information" (Inside GOV.UK, 15 May 2026). A filter like that is only as good as the document type and date recorded underneath it.
When a chatbot contradicts your own policy page
In February 2024 the British Columbia Civil Resolution Tribunal, which decides small claims, issued its decision in Moffatt v. Air Canada, 2024 BCCRT 149. A chatbot on Air Canada's website told Jake Moffatt that a bereavement fare could be applied for retroactively, within 90 days of the ticket being issued. The airline's own "Bereavement travel" page, which the chatbot linked to, said the policy did not apply to requests made after travel was completed. The decision does not say what kind of chatbot it was.
Air Canada argued it could not be held liable for information its chatbot provided. The tribunal called that "a remarkable submission" and found the airline "is responsible for all the information on its website", whether "from a static page or a chatbot". It found Air Canada "did not take reasonable care to ensure its chatbot was accurate", held that Mr Moffatt's reliance on it was reasonable, and ordered the airline to pay CA$812.02 in total, including CA$650.88 in damages against the CA$880 claimed.
The sums are small, but the reasoning is what a content owner should keep. The tribunal saw no reason why a customer "should know that one section of Air Canada's webpage is accurate, and another is not". An assistant that can still read a withdrawn or superseded policy page can put a second version of that policy in front of your customers. Measuring how often generated answers go wrong is a separate discipline, covered in our piece on AI hallucinations in search answers.
Should permissions apply before retrieval or to the answer?
Permissions should apply before retrieval, so that content a user may not see is never passed to the model at all. Filtering the answer afterwards lets restricted material reach the model first, so protection rests on a later check catching it in the output.
OWASP's Top 10 for LLM Applications 2025 covers this under LLM08:2025 Vector and Embedding Weaknesses, which applies to systems using RAG. It warns that inadequate or misaligned access controls can lead to unauthorised access to embeddings containing sensitive information, and its first prevention measure is to "Implement fine-grained access controls and permission-aware vector and embedding stores." Its entry LLM02:2025 Sensitive Information Disclosure adds that restrictions written into the system prompt "may not always be honored and could be bypassed via prompt injection or other methods". On OWASP's reading, a permission rule written as an instruction to the model is something the model may not follow.
Foundry IQ (Azure AI Search) supports document-level access control; since the 2026-10-01 REST API, ingesting SharePoint permissions and filtering answers by them at query time are generally available, while enforcement of Microsoft Purview sensitivity labels is still in preview. Its generally available security filter pattern trims results by user or group identity on every query, which matters most when one index serves both the public and staff.
What to ask a RAG system supplier about your content
Put these questions in the requirement and ask for written answers. A strong answer says where the control is enforced and gives a time you can test; a weak one describes what the model is meant to do.
| Ask | A strong answer | A weak answer |
|---|---|---|
| Which content states are excluded from the index, and where is that enforced? | Each state (withdrawn, superseded, embargoed, draft, archived) mapped to the field that signals it, enforced at indexing | "The model is instructed to ignore outdated content" |
| How long does a withdrawal take to leave results and answers? | A time in minutes and what triggers it, which you can confirm with the withdrawal test below | "At the next scheduled reindex" |
| What happens when a page is superseded? | The old version leaves retrieval and citations point to the replacement | "Both versions stay searchable and the model picks the newer one" |
| Do permissions apply before retrieval? | Restricted documents are filtered out per source before any text reaches the model | "Answers are checked for sensitive content before they are shown" |
| What metadata do you need from us? | Named fields, such as document type, date and audience, and what still works if they are missing | "None, the AI works it out" |
Where the index and the model physically run is a separate requirement, set out in our piece on sovereign AI.
How Axistwelve Semantic Search decides what it may read
Axistwelve Semantic Search decides content eligibility at indexing time: content must be published and current, appropriate to its intended audience and use, within an approved document type, and carry usable metadata such as document type, date and audience. Archived, withdrawn, superseded or embargoed content never reaches the knowledge base. Withdrawal reaches search results, generated answers, facet counts and a staff knowledge base, unpublishing takes effect within minutes rather than at the next reindex, and supersession moves the citation to the current version. Permissions resolve before retrieval, and different sources can carry different access rules, so staff can see material the public cannot. Content gets in by feed, API or crawl, so the CMS that produced it does not matter. The detail is on the Axistwelve Semantic Search product page.
Before you connect a RAG system to your content
Run a withdrawal test on whatever you are evaluating. Pick a page, ask the assistant a question only that page answers, withdraw the page, then record how long the answer takes to change and whether the citation moves to the replacement. Repeat it with a restricted document while signed in as a member of the public.
Then check that your CMS records withdrawn and superseded states consistently, and close the gaps before indexing. The wider organisational groundwork, including ownership and the ability to pause AI features quickly, is set out in what councils need in place before using AI for citizen services.
If you want to see eligibility rules working on your own content, send us a web address. We index a sample and return a searchable link within five working days, with no call required, and delete the sample index within 30 days unless you ask us to keep it.
Frequently asked questions
How is a RAG system different from an LLM?
A large language model generates text from patterns learned in training. A RAG system adds a retrieval step, so each answer is written from passages fetched from a defined document set when the question is asked. Changing what the system knows means changing the index, and the model stays as it is.
What is a RAG workflow?
A RAG workflow has an indexing stage that runs in advance and a retrieval stage that runs each time someone asks a question. At indexing, documents are broken into passages and stored, which is the point to apply eligibility and permission rules. At question time, the system retrieves the most relevant passages and passes them to the language model, and the answer can cite them.
What happens to a withdrawn page that other pages still link to?
On GOV.UK, withdrawing a page does not remove links to it from other pages, and the publishing guidance says so. A crawler that follows links can therefore rediscover withdrawn content. Eligibility should be checked against the page's publishing state at indexing, whatever route led the crawler to it.


