Processing lanes
The Knowledge Graph processes a file in steps. Each step keeps its own record for every file: what input it ran on and what it produced. A step runs again only when that input changed, so a restart, a crash or a paused namespace loses nothing, and the same file yields the same result. Your files stay as you uploaded them.
Index writes a file into the graph as soon as Parse is done, so a large upload becomes keyword and outline searchable before entity recognition or embedding finish. Entity recognition and Embed run beside each other after Parse, Resolve follows entity recognition, and Index writes each of their results as it lands.
One file through processing: Parse turns it into markdown and an outline, Index makes it searchable at once, and Embed, entity recognition, Resolve and ontology review add to the graph as they finish.
Ingest and search
Section titled “Ingest and search”Parse turns the file into markdown and an outline. Index splits it into chunks and builds keyword search. Embed writes a vector for each chunk. Entity recognition extracts entities and relations from the prose. Resolve types unknown entities, merges duplicates and adds relations. Ontology review corrects those types. In KG Studio, hover any node in the processing graph to read what that step does and its current counts, and the Edges card under it compares the edges that came from parsing with the edges that came from extraction.
A question follows a separate path: the assistant searches with full text, embeddings and a graph hop, then fuses the results by rank. See Retrieval.
Ingestion on the left runs when a file arrives; search on the right runs when you ask.
Readiness stages
Section titled “Readiness stages”A file moves through readiness stages as the steps finish. KG Studio shows each step’s progress, so you know what is queryable right now.
Parse and Index always run. Embed, entity recognition and Resolve run when you turn them on for the namespace, and Index adds each result to the graph as it lands, so a file is searchable before the later steps finish.
What a file is good for after each step. Parse and Index always run; the later steps run when you turn them on.
| Step | What becomes queryable | Runs after |
|---|---|---|
| Parse | Markdown text and a heading outline | Upload. Document parsing with an OCR fallback for scanned pages, JSON or JSONL, or plain text |
| Index | Chunk full-text search, the outline tree and ontology keyword mentions; later also what entity recognition, Embed and Resolve produced | Parse, then each later step as it finishes. The Index count reports a file as done only once every enabled step before it has landed, so its total means finished |
| Entity recognition | Typed entities and mentions from prose, and sentence co-occurrence | Parse, when the namespace’s entity recognition is on |
| Resolve | Types for unknown entities, merges of duplicate pairs, relations for strong co-occurrences, verdicts on mined candidate types | Entity recognition, when the namespace’s entity resolution is on; metered against the namespace budget |
| Embed | Search by meaning, and entity similarity candidates | Parse, with the embedding profile your administrator set under AI → Embeddings |
The readiness stage a file reports is searchable_partial once Index has written it and searchable_embedded once Embed has too.
Namespace and folder configuration
Section titled “Namespace and folder configuration”You configure each step per namespace, with folder-level overrides for Parse and index and for Embeddings.
| Setting | Values | Meaning |
|---|---|---|
| Parse and index | On / Off | On parses and indexes each file when it arrives. Off leaves the file until you reprocess it |
| Embeddings | On / Off | On embeds after indexing. Off embeds only when you choose Embed now on a file |
| Entity recognition | On / Off | On recognises people, organisations, places and similar entities in each file’s prose. Off skips that step |
| Entity resolution (System One) | On / Off | After entity recognition, hands each file’s open questions to System One for calibrated closed-set decisions; only confident answers are written, the rest waits for the ontology review; charged to the namespace budget |
| Ontology mining | On / Off | On proposes types from table headers, headings and acronyms while files are indexed |
| Ontology agent | Any eligible agent | The agent that reviews and corrects this namespace’s ontology. One choice per namespace |
| Budget cap | Dollar cap | A hard stop on language-model spend for this namespace |
Entities of the same type whose names are nearly identical are merged automatically when Embed writes their vectors, so duplicates do not accumulate as a corpus grows.
You can set up a namespace and publish its ontology before any file exists, or upload data first and let mining and discovery propose a schema afterwards. Neither order is privileged: Index matches keywords from whichever file arrives once a published ontology exists.
Cost and time estimation
Section titled “Cost and time estimation”Fontana shows a forecast before you commit a corpus, and a live ledger while processing runs:
- Pre-parse estimate, at upload time and before any cost: a token forecast per step from file bytes, format and page count, calibrated from your workspace’s own processing history.
- Post-parse refinement, after Parse: once markdown exists, chunk and token counts are exact, so the embedding forecast becomes near-exact.
- Budget cap: the namespace budget cap stops language-model spend when the running ledger crosses it. Files continue to parse, index, recognise entities and embed.
Incremental reprocessing
Section titled “Incremental reprocessing”The Knowledge Graph never rebuilds a whole namespace for one file change:
- Parse runs on the file’s committed content id, so a re-upload of identical bytes is a no-op and an edited file parses again without the engine hashing it.
- Reprocessing one file replaces only that file’s chunks, outline and mentions; shared entities stay in place unless their last evidence disappears.
- If Parse and Index succeed but Embed fails, the file stays searchable by keyword and outline, and Embed retries on its own without re-parsing. A failure that needs you shows on the Status tab with a Retry action.
- Rebuild graph on the namespace menu drops the graph and replays it from the processed files: no parsing, entity recognition or embedding runs again.
- Publishing a new ontology re-runs keyword matching for affected files. Full-text, outline and vector search stay queryable throughout.