Chapter one
When a file is uploaded
One upload, or many at once, sets off a chain of small jobs, each handled by a different block.
- 1File Server
The file is stored
The bytes go to the File engine. Everything else in the system points back to them.
- 2Document Database
Its location and details are kept
A JSON document records where the file lives, along with its name, type, size, and any other metadata.
- 3Authorization Layer
Who can touch it is decided
Rules declare who may read, edit, or delete the file, so access is settled from the first minute.
- 4LLM Plane
It is summarized
A language model reads the file and writes a short summary, which is saved with the rest of its metadata.
- 5
At the same time
It is made findable
Three views of the file are prepared, so it can be reached in different ways.
- Search Engine
Indexed for contents
Metadata and summary are indexed, so people can search for what is inside the file.
- Vector DB
Stored for similarity
An embedding is saved, so files that resemble each other turn up together.
- Graph Database
Linked to its surroundings
Edges connect the file to other files, documents, and related data.