When you delete a file, does your AI assistant really forget it?
Usually not on its own. An AI assistant keeps its own copies of what it reads: a search catalog entry, coded versions of the text, saved answers, chat histories, logs and backups. Removing the original from the shared drive leaves those behind unless deletion is designed to reach each one, on a deadline you know. Before approving a system, get a written list of every place a copy can sit and how each is cleared.
The short version
Deleting a document at the source and deleting it from the AI system are two separate events. The assistant builds up copies as it works, and each copy lives in a different piece of software with its own rules for removal.
So the useful definition of "deleted" is: gone from every one of those places, within a stated time, and checkable. Anything less is a promise nobody can keep.
A picture: pulling a book from a library
Imagine a library withdraws a book. It comes off the shelf, but the card for it still sits in the catalog drawer. Photocopies a librarian made are in a back room. Another copy is waiting on the returns trolley. And the staff who read it still remember what it said.
The shelf is empty, yet the book has not really left the building.
The comparison has a limit. In a library you could walk around and find the stray copies. In an AI system they are scattered across several programs, and some of them, the coded copies in particular, look nothing like the original document.
Following one file through the system
Take a single contract stored on your shared drive and trace what happens to it.
- It gets cataloged. So the assistant can find the contract, it adds an entry to its search catalog and stores a coded version of every passage. These coded versions turn the text into numbers that capture its meaning.
- It gets used. Each time someone asks about the contract, the answer, often quoting it, is saved in chat histories and logs that record who asked and what they saw.
- It gets backed up. All of the above is copied into backups.
- Someone deletes the original. If that deletion does not travel onward, every copy the assistant made is still in place, and the contract can keep showing up in answers.
In a system built properly, the catalog entry and the coded copies disappear within a known time after the original is deleted. Chats, logs and backups are cleared on a schedule someone has written down, and someone can confirm it happened.
Why deletion so often falls short
The catalog may never be told
Search catalogs do not always notice that a file was removed. Microsoft's documentation for its own AI search service states that the component which fills the catalog does not keep track of files deleted at the source. And if deletion tracking was not switched on before the catalog was first built, anything removed before that point stays in the catalog.
Marked for deletion is not the same as removed
Many of the databases that hold these copies delete in two stages. One vendor, Qdrant, explains that a deleted item is at first only flagged, and a separate cleanup job clears it out afterwards. Until that runs, the data is still physically there.
Chats are kept out of sight
In Microsoft 365 Copilot, chat histories are stored in a hidden folder inside each user's mailbox. When a chat is deleted, it first moves into another hidden folder before it is permanently removed.
A model trained on your data is a harder case
Most assistants that work on company documents look information up at the moment they answer rather than absorbing it into the model. That keeps deletion manageable. But if a model has actually been trained on your files, getting that knowledge back out without retraining from the beginning remains an unsolved research problem, according to a 2024 survey by Liu and colleagues.
Coded copies are not harmless: researchers reconstructed 92% of short passages (about 24 words each) exactly from them, including full names in clinical notes.
That result, from Morris and colleagues in 2023, matters because people sometimes assume the coded versions are meaningless numbers. They can give the text back.
What "deleted" should mean in practice
NIST, the US standards body, sets the bar for properly erasing stored data: recovering it must be “infeasible” for a given amount of effort. Hiding it is not enough. Applied to an AI assistant, that standard translates into five things we look for when reviewing a system:
- A written inventory of copies. The vendor or IT team can name every location: catalog, coded copies, saved answers, chats, logs and backups.
- Automatic follow-through. When a file is removed at the source, the assistant's copies go too, without relying on someone to remember.
- A deadline for each location. "Removed from the catalog within 24 hours and from backups within 30 days" is an answer. "In due course" is not.
- A way to verify. Remove a test file, then question the assistant about it and look it up in the catalog itself.
- Visible holds. Sometimes deletion is rightly paused, for instance during a legal case. Someone should know when a hold is active and what it covers.
Deciding when you must delete and when you must keep is a legal matter, covered on our sister site EnterpriseLLM.ai. This guide is about the mechanics.
Where it goes wrong
Even the vendor that sells the management tool is candid about the gap. Microsoft's guidance on Copilot chats cautions that what users see in their AI apps does not reliably show whether a message has been kept or permanently erased. The same page notes that a rule set to delete after one day “could take 16 days” to complete.
The most common symptom is simple: the file is gone, but the answers are not. A removed document keeps surfacing because a saved answer or the catalog still contains it.
Deleted chats that were kept anyway
| When | What happened |
|---|---|
| 13 May 2025 | A US court hearing The New York Times' copyright suit told OpenAI to keep, and set aside, output logs it would otherwise have deleted. |
| Mid-May 2025 | ChatGPT conversations that users had deleted, and temporary ones, started being retained. |
| June 2025 | OpenAI confirmed it. Customers on ChatGPT Enterprise or Edu, and API customers using its zero-data-retention option, were exempt. |
Without a full list of where copies sit, nobody can truthfully assure an auditor, a customer or an employee that something is gone.
Questions to put to your IT team or vendor
- Where does the assistant keep copies of our documents, in whole or in part? Please list every location.
- Once a file is removed at the source, what clears it out of each of those locations, and how quickly?
- Are deleted items removed immediately, or flagged and cleaned up later?
- Has any AI model been trained on our files, or does the system only look information up at answer time?
- What are the retention periods for chats, saved answers, logs and backups, and who is able to change them?
- Will you demonstrate it: remove a test file, then show that the assistant can't locate or quote it any more?
Terms you may hear
- Erasure, right to be forgotten: wiping a person's data at their request. EnterpriseLLM.ai covers the legal side.
- Retention policy: how long a given kind of record is held before it is deleted.
- Index, vector database: the catalog the assistant searches.
- Embeddings, vectors: the number-coded versions of your text held in that catalog.
- Soft delete, tombstone: flagged for removal but still physically present.
- Legal hold, litigation hold: deletion suspended for as long as a legal matter is open.
- Machine unlearning: efforts to strip particular data's influence out of a trained model.
- Sanitization: deleting data so that it cannot practically be recovered.
Deletion is one half of being able to account for your data; the other is keeping a record of who asked what and what they were shown.
How we help
We map every place a copy of your documents can live in the AI system you are planning or already running: catalog, coded copies, saved answers, chats, logs and backups, and write down how and when each one is cleared.
We check that deletions at the source flow through automatically, set a stated time limit for each location, and run the test that matters: delete a file, then confirm the assistant can no longer find or quote it.
Where we build the system ourselves, including assistants on Arro, we design deletion and retention in from the start, with legal holds visible to the people who need to know.
Talk to us about your projectSources
- Microsoft Learn, Change and delete detection for Azure blob indexing
- Qdrant documentation, Optimizer
- Microsoft Learn, Retention policies for Copilot
- Liu et al., machine unlearning research (2024)
- Morris et al., reconstructing text from embeddings (2023)
- NIST SP 800-88, Guidelines for Media Sanitization
- VentureBeat, OpenAI clarifies court order to retain temporary and deleted ChatGPT sessions (2025)