Chapter one
When a document is saved
A single save quietly sets off a chain of small jobs, each handled by a different block.
- 1Authorization Layer
Can this person store it?
Before anything is written, the system checks that the author is allowed to create documents here.
- 2Document Database
The document is stored
The JSON document is saved and gets an id the rest of the system can point to.
- 3Schemas & Ontology Versioning
It is checked for shape
The document is compared against its declared schema, so malformed ones are caught early.
- 4Graph Database
References become edges
If it mentions other documentsEach reference is stored as a link between documents, so relationships can be followed later.
- 5
At the same time
It is made findable
Two copies of its meaning are kept, one for each way of looking.
- Vector DB
Stored for meaning
An embedding is saved so similar documents can be found, even in different words.
- Search Engine
Indexed for keywords
The text is indexed so exact words and phrases can be found quickly.
- 6Federated Auth & User Management
The author is recorded
Who wrote it, and who may edit it later, is remembered with the document.