A close-up portrait of a man with a salt-and-pepper beard wearing a white collared shirt against a textured beige background.
A close-up portrait of a man with a salt-and-pepper beard wearing a white collared shirt against a textured beige background.

Turning uploaded files into retrievable context

Jesse James Richard
|
May 19, 2026
|
8 min read
#Signature
#Data
#AI & Agents

The name of the company is a description of the whole product. A large language model is brilliant and knows nothing about your business. Giant Context is the machine that fixes the second half of that sentence, and files are how it does it. A file here is not something to store and hand back. It is the material the platform reads to work out what a business is. Everything Giant Context knows about a customer came from their files, and a customer with no files is a customer the platform cannot do much for.

What happens to a file after it is uploaded is the entire product. The upload is the least interesting part.

Why a file is not a file here

Most platforms treat a file as a thing to store and hand back later. Here a file is a thing to understand. The difference is the whole architecture.

The problem worth solving is duplication. A company should not have to pour its information into a set of documents and then pour the same information into a website and an outbound mail campaign, and it should not have to chase down every place a fact appears when that fact changes. Tie the corporate documents to the marketing surfaces, and the marketing stops being a separate job.

When a customer uploads their brand guidelines, a quarter of sales call recordings, a folder of product photos, and last year's positioning deck, they are not filling a drawer. They are teaching the platform who they are. Everything the AI later writes, every page it builds, every campaign it proposes, is reasoned from that pile. Give it nothing and it writes the same confident generic slop any model writes about any company. Give it the real materials and it writes from your actual truth, in your actual voice, about your actual products.

So the file system's real job is not holding files. It is turning every file, whatever its format, into something Giant Context can think with.

Everything becomes text, then meaning

A pile of files is a pile of formats, and a language model reasons over text alone. So the first job is collapsing all of them into understanding.

A PDF or a document is read for its text. An image is classified for what it shows and read for any text printed on it. An audio file, a sales call or a voice memo, is transcribed. A video is transcribed too. This work runs in background workers, because none of it is instant and a customer should not watch a spinner while a machine listens to an hour of audio.

The output of all of it is the same shape. Text, broken into chunks, each chunk turned into an embedding, a long list of numbers that places that chunk's meaning in a space where similar meanings sit near each other. The embeddings live in the same Postgres the rest of the platform runs on. A quarterly report and a podcast episode and a product photo, formats that share nothing, end up as neighbors in the same searchable space if they are about the same thing.

Four formats, one pipeline. Text pulled from documents, labels and printed text from images, transcripts from audio and video, all of it landing in one place where the platform can find what is relevant by meaning instead of by filename.

Public to the world, private to the platform

Files here are either public or private, and the rule that decides is simple. It comes down to what the file is for.

The public/private rule

// images are public (for website embedding),// documents are private

An image is public because it is going to appear on the customer's website, served to strangers. A document is private because it is the customer's own knowledge, meant for the platform and the customer, never the public. The same upload flow sorts a logo and a confidential strategy memo into two different worlds by what they are for, so a customer can hand over sensitive material without any of it ever leaking onto a public page. The material a platform reasons from has to be able to stay private, or nobody will give it anything real.

The machine reasons, and points at its source

When the platform writes something, a page, a campaign idea, a piece of copy, it does not write from the void. It searches the customer's embedded files for the chunks relevant to what it is doing, and it reasons from those. And it remembers where they came from. Every idea the platform generates carries the id of the source file and the source chunk it was grounded in. The output can point back at the exact paragraph of the exact document that justified it.

A screenshot of a dark-themed software interface showing a data management or content generation dashboard with a detailed task entry.
A generated draft, with the source cited. The exact document that justified it, linked beneath.

That citation is the line between a model that makes things up and a machine you can hand your company to. When Giant Context proposes a campaign, you can ask why, and the answer is not a shrug. It is because your own Q3 report said this, because your own founder interview said that. The context is giant, and it is yours, and it is traceable.

Where this is going, and why files come first

The platform has a cognitive layer, Mind, whose job is to read everything on record about a customer and decide what that customer's marketing needs. Not to wait for a request. To read the current state and act on it. And Mind has exactly one source. The files.

The interaction I am building toward is almost nothing. You sync your documents and you go run your company. Change a product sheet, and what the platform holds about that product changes, and what it decides to say about that product changes with it. Add a case study, and it has new evidence to argue from. Delete something, and it stops drawing on it. The customer's job shrinks to keeping their own truth current, and the platform's job is to read it, work out what follows, and act. There is no giant context without files, and there is no cognition without giant context.

Wiring this up yourself

If you are building anything that reasons over a customer's own material, the shape here transfers.

Treat ingestion as translation, not storage. Every format the customer can give you, document, image, audio, video, has to become text and then embeddings, or the model cannot think with it. Do that work in background workers, because transcription and OCR are slow and the customer should not wait on them.

Put the vectors next to your data, not in a separate system. Ours live in the same Postgres as everything else, which means a semantic search is a query, not a distributed transaction across two databases.

And carry the source through to the output. The single most valuable move a grounded system can make is point at what it used. Store the source file and chunk on everything you generate. It turns the AI said so into your own document said so, and that is the whole difference between a toy and a tool.

A file is not something Giant Context keeps for you. It is something Giant Context uses to know you.

Assume the model call fails

#Architecture
#AI & Agents

Model infrastructure is unreliable, and not only at the edges. Calls time out, come back empty or truncated, or arrive well-formed and wrong. A pipeli...

Jesse James Richard

|

May 20, 2026
Read next

Building something like this

I'm Jesse. I build platforms end to end, and I'm open to work. If this is the kind of engineering you need, get in touch.

Contact Jesse
Home
About
Contact
Sitemap
Privacy Policy
Terms of Service
Cookie Policy

Some posts on this site may be updated on occasion.

Files drive autonomous marketing | Jesse James Richard