RAG knowledge, meaning the knowledge of an assistant that looks things up in your documents before it answers, stays current when edits, deletions and revoked permissions reliably reach search, answers and caches. A daily import is not enough. It may take in new files while old passages, outdated permissions or previously generated answers stay available and in use.
An example: a property management company in Évora with 30 employees looks after a few hundred flats. Its staff answer calls and emails from tenants and ask an internal knowledge assistant for help. It reads house rules, policies, emergency service lists and maintenance contracts from SharePoint. Tiago from property management is responsible for these documents.
Key takeaways
- Every source needs a responsible person, an agreed maximum delay and a recovery procedure for failed synchronization.
- No single date reliably shows whether a document is current.
- A change must also invalidate saved answers that depend on the old state.
- Deletions need their own test, and you measure the update time up to the moment the user sees the correct behavior.
So plan for keeping information current as a routine you can check. Every source needs a responsible person, a time window for how long a change may take at most to reach the answers, and a recovery procedure for failed synchronization. It is especially important to distinguish an old version that should stay readable from a source that must no longer be returned at all.
01 / 11
Which three timestamps have different meanings?
Three timestamps describe a document in the assistant, and they can be far apart.
| Timestamp | What it records |
|---|---|
| Modification date | When the source file changed |
| Indexing date | When the search system processed it |
| Effective date | When a business rule applies |
At the property management company, a policy on key orders may be published in August and only take effect in October. A maintenance contract imported again in September may not have had a substantive review by anyone for years. And if an external cleaning company lost its read access yesterday, that may need to take effect immediately, even though the text itself has not changed. So do not use any single date as a general sign that a document is current.
For each document, record which source identifier and version it has, from when and, where relevant, until when it applies, what the import status is and when the permissions were last checked. If a field is unclear, a visible "unknown" is better than an invented date.
02 / 11
Which events must the update pipeline recognize?
Not every change affects the text, as the example of the cleaning company shows. The routine that keeps the assistant current must recognize these events and respond correctly to each:
| Event | Required response |
|---|---|
| Text changes | Replace affected passages and validate them |
| Document moves | Preserve identity and update links |
| File is deleted | Remove or block all associated search objects |
| Reading permission is revoked | Prevent access before another answer is delivered |
| New version is not yet effective | Select versions according to the requested date |
| Content owner leaves | Assign an accountable replacement |
How a system reports these changes depends on the source, and the property management company's assistant reads from SharePoint. Microsoft Graph, the interface to SharePoint and OneDrive, offers so-called delta queries for drive items, meaning files and folders. They let you track changes, including deleted items. This is a tool for synchronization and not proof that the assistant has correctly deleted its own copies. The application still has to carry the detected events over into its own search and its saved answers. Microsoft Graph: driveItem delta.
03 / 11
How do you activate a new version deliberately?
Suppose Tiago uploads a new version of the house rules for one building. It then becomes active in these steps:
- The new version is first processed outside the collection the assistant is currently searching.
- Someone checks whether the text was extracted correctly, whether the required details are present and whether it is linked to the right source.
- Only then is it activated for the intended users and the applicable period.
- Depending on the business purpose, the previous version stays available for questions about the past or is blocked.
The assistant splits every document into many small pieces of text. All pieces of a document therefore need a shared identifier that links them to the document. Without this link, a deletion can remove the main record while individual pieces of text can still be found. More on this in the section for your IT team below.
An activation should be either complete or visibly incomplete. If a hundred-page manual was only partly imported, the assistant must not quietly turn it into a complete knowledge source. The missing page may be exactly the one with the exception that changes an answer.
04 / 11
An illustrative timeline for an urgent correction
In this example, the property management company's service policy contains a wrong email address for damage reports. Tenants who want to report water damage are writing to nobody. This is how the correction reaches the assistant:
| Time | Event |
|---|---|
| 09:00 | Tiago, who is responsible for the source, corrects it |
| 09:03 | The importer detects the new version |
| 09:05 | The new version is indexed |
| Until the evening | An old answer cache nevertheless still returns the wrong address |
The answer cache is a temporary store in which the assistant keeps frequent answers. So the change must invalidate dependent saved answers as well as replace the pieces of text in the search. Afterwards, Tiago asks a control question about the address for damage reports and checks the answer a member of staff actually sees. The message "import successful" alone is not enough as sign-off.
If the old file is withdrawn at the same time, also check direct links to the source and exported conversation histories. Information already sent to people cannot simply be recalled by technical means, for example an email a member of staff has already sent to a tenant. So critical corrections need an organizational route as well as the technical one. Someone has to inform the people affected, in this example the team that takes the tenants' calls.
05 / 11
How do you test deletion as a separate capability?
Some systems detect new or changed files on their own, but only recognize permanently removed files with additional configuration. Azure documents separate methods for Blob indexers that detect changes and deletions. How deletion works must be set up to suit the source before deployment, meaning before you rely on it. Azure AI Search: changed and deleted blobs.
Suppose Tiago deletes the outdated emergency service list of one building. Test such a deletion from the original to the answer in these steps:
- remove the file
- run synchronization
- search for an exact passage
- ask a paraphrased question
- open an old citation
Repeat the test in a conversation that was already open. Its history may contain information that should not be reused in a new answer.
Define separate rules for the active search, for operational logs and for backups, including a retention rule for each. A backup is not an active search collection. But it needs a defined retention policy and a restoration process that does not accidentally republish withdrawn content.
Got a workflow like this?
Tell me about it. Honest take and a rough price, usually within a day.
06 / 11
How do you notice that synchronization is stuck?
Expired access credentials (tokens), interface (API) limits or a changed file structure can stop synchronization. So do not only measure when the last run started, but, for each source, when it was last processed successfully and completely. A green schedule can sit next to a collection that has not changed for weeks.
For low-risk information, a clearly labelled older version may be acceptable. Where time-sensitive rules are concerned, such as the emergency service list at the property management company, or revoked access, it may be necessary for the assistant to exclude the affected source. This decision belongs in an agreed operating rule and not in a spontaneous answer from the model.
When the system catches up after an outage, events may arrive more than once. The technical details are in the section for your IT team below.
07 / 11
Who takes care of the content?
A cleanly synchronized file does not show that its content is correct. A page nobody has changed may be long out of date. So agree, depending on the topic, how often a source is reviewed and who resolves reported contradictions. A building map needs different review intervals from a product approval that changes quickly.
Atlassian, for example, documents how someone in Confluence is explicitly responsible for content and how that responsibility is transferred. Such features help with organization but do not replace an actual review of the content. Atlassian: transfer content ownership. If a colleague at the property management company retires, someone has to take over her documents and actually read them.
If a review is overdue, decide whether the content stays usable with a warning or drops out of the collection the assistant answers from. A uniform expiry rule for all documents can create unnecessary gaps, and a rule without consequences can turn into a merely decorative date. The person responsible for the source should make this choice based on the consequences of a wrong answer.
08 / 11
How do you verify that RAG updates and deletions have propagated?
Verify with this checklist that RAG updates and deletions have propagated:
- Include a new document, a correction, a deletion, a revoked permission and a version that only takes effect in the future in your test cases.
- For each case, note when the source changed and from when the behavior the user sees is correct, for example the right answer, a block or an honest "I don't know". This gives you a measurable update time instead of a vague claim such as "near real time".
- Run the same cases again after a backup has been restored.
- Write down who decides when the agreed time window is exceeded, and how a source is blocked.
The RAG architecture should explicitly include these states. The acceptance plan connects them to representative business questions.
09 / 11
For your IT team
For each piece of text, store the parent document identifier and also the processing version. Changing the extraction method is a different change from a change to the source document.
When catching up after an outage, events may arrive more than once. Use stable identities and version comparisons so that repeated processing does not create duplicate search results. If a change cursor has become invalid, plan a complete reconciliation instead of silently carrying on with the next new document.
10 / 11
Take the worksheet
Worksheet
Download the editable CSV table
| Change | Update | Test |
|---|---|---|
| New version | Text and validity | New rule used |
| Deletion | Chunks and relevant copies | Old passage absent |
| Revocation | Filters and caches | Formerly allowed user denied |
| Rename | Title and reference | No duplicate source |
| Conflict | Authority or review state | Conflict visible |
Columns to fill in, in the file: Your value / observation, Owner, Next action.
Download the editable CSV table (CSV). Add your own values, owners and open actions. This worksheet contains no measured client results.
11 / 11
Related decisions
These modernagents guides cover related decisions about AI knowledge assistants:
- AI knowledge assistants: sources, access and answers
- Build an AI knowledge base with owners and current sources
- Preserve SharePoint permissions in RAG answers
- Diagnose wrong RAG answers and useful abstention
For a review of your workflow, start with a description of the task, the systems involved and typical exceptions. Discuss it with modernagents.



