01 — Corpus
Contracts, amendments, policies, precedent. Searchable only by someone who already knows where to look — which is the whole problem.
02 — Ingest
Ingestion normalises the formats, then splits each document into overlapping chunks — small enough to reason about, large enough to keep the clause they came from intact.
03 — Embed
An open-source embedding model maps text into a space where distance means similarity. It runs locally: no clause in this archive is ever sent to an API.
Model open-sourceRuntime local
04 — Index
The corpus organises itself. Indemnity settles beside indemnity, termination beside termination, without anyone having labelled a single document.
05 — Query
The question is embedded with the identical model, so it can be compared against every passage on exactly the same terms.
06 — Retrieve
Top-k by cosine distance. Retrieval was tuned with the legal team directly, because "close enough" is not a standard that survives a contract review.
Rank cosineReturned top-k
07 — Ground
The model sees only what was retrieved. Every claim traces back to a document, and nothing is invented to cover a gap in the archive.