We used to think our document problem was a capacity problem. Buy more storage, dump everything in a shared drive, move on. Then a couple of things happened that made that assumption look naive.
The first was the audit. Someone asked for the original record behind a transaction from eighteen months ago, and we realized the "archive" was really a pile — PDFs, screenshots, chat exports, a few stray spreadsheets — with no guarantee any of it was current or even complete. McKinsey puts a number on this kind of waste: close to 19% of the average workweek goes to searching for and gathering information. In a store with five sales channels running, that figure feels low.
The second was the storage bill. We kept paying for the top tier because that's where everything lived, including the six or seven tenths of our data that, as Komprise found across enterprises, sits untouched for more than ninety days. We were renting space for files we'd forgotten we had.
The third, and the one that actually changed how I think, was the catalogs. Our product catalogs are these fat documents — hundreds of pages, a photo on nearly every page. When we tried to feed them into a knowledge base, the images alone blew through the retrieval budget. The text was fine; the embedded images were the silent bloat.
That last point is where I got interested in the preprocessing step most people skip. A good compression pass, done before anything gets indexed, will convert those embedded images to leaner formats so the whole document shrinks first. You don't export images by hand, and the stamps and charts that matter stay legible. One of our supplier catalogs dropped to less than half its original size and became genuinely searchable for the first time.
There's a cost angle too. Image-heavy documents are expensive when they hit a model's token budget. Public testing shows image-related tokens can fall by roughly 85.9% after proper handling, and that compounds across every query your knowledge base serves.
So we stopped asking "where do we put the files" and started asking "what leaves the building." For anything touching customer orders or contracts, the answer is nothing. We kept the data on our own premises, stood up a private retrieval-augmented-generation foundation, and put the compression step in front of it. Focus research puts the human cost of this clearly: after an interruption it takes about 23 minutes to get back into deep focus, and people switch between roughly 35 different apps a day. A slow, scattered knowledge base is basically a focus tax you pay on repeat.
For us, the compression-and-local-retrieval side was handled by a tool we reviewed at SmartSlim, and the deeper mechanics are written up on the technical blog. The order mattered more than the brand: slim first, keep data in-house, only then worry about the model.
Try it now
To see how the compression-and-local-retrieval side works, review SmartSlim for desktop and server editions, or look at the RAG data-engineering foundation for the private deployment option. More mechanics live on our technical blog.
FAQ
Q: Doesn't keeping everything on-prem mean more operations work?
A: It shifts work from "manage a cloud bill and a compliance questionnaire" to "run a local service," but for sensitive data the trade is worth it. The retrieval and generation run locally, which also removes network and quota dependencies that make a knowledge base feel slow.
Q: What about documents that are mostly images, like catalogs?
A: Those are exactly the ones that benefit most. The preprocessing converts embedded images to leaner formats before indexing, so a several-hundred-page catalog becomes a fraction of its size while stamps and charts stay legible.
Q: How do we measure whether it actually worked?
A: Track retrieval latency, the storage footprint before and after, and the token cost per document type. The image-token drop — roughly 85.9% in public testing — is usually the headline number that proves the preprocessing paid off.