Skip to content

Knowledge Graph

The Knowledge Graph allows you to store, version, and govern the operational knowledge your agents need: firm rules, mappings, approval criteria, exception history, and process documentation. You organise documents in namespaces and folders, assign each agent the corpora they may search, and agents pull approved, versioned context on each turn instead of re-stating the same logic in every chat. Namespace boundaries keep regulated corpora segregated, so retrieval stays least-privilege and focused on the domain you intend.

Knowledge Graph

Build a knowledge graph to model your firm's standards, rules, and decisions.

Before each chat or automation turn, Fontana automatically builds context from the Knowledge Graph. It runs vector search over the namespaces you assigned to that agent, ranks documents by similarity to the current message, and injects full text for the best matches above your configured threshold. You do not paste rules or procedures into every prompt; the agent starts each turn with approved, versioned knowledge already in place.

This pre-turn pass is fast, scoped to the corpora you permit, and bounded so only likely-relevant articles enter the thread before the model responds.

Automatic injection covers the strongest matches up front; agentic search lets agents improve results during the work itself. As the task develops, agents can explore the Knowledge Graph again: run semantic searches with vector similarity, inspect ranked summaries and scores, and pull full document text only for hits that support the current step. They can also retrieve exact articles with @slug references when a specific governed document applies.

Exploration stays inside the namespaces and permissions you configured, so agents can deepen context without loading your entire corpus into every conversation.

Knowledge Graph documents are indexed and embedded as 1536-dimensional vectors (text-embedding-3-small). Both automatic pre-turn injection and agentic search rely on this index; injection uses the agent’s kbInjectionScoreThreshold (minimum similarity score; default 0.35).

When you upload or save documents, Fontana parses structured files (CSV, TSV, JSON) and prose (Markdown, text) into governed records, indexes them for search, and builds a relationship graph linking cross-references, semantically similar neighbours, and folder structure within each namespace.

Structured documents use CSV, TSV, or JSON dataTypes. Unstructured prose and Markdown (YAML frontmatter) use text. PSV and other delimited formats are supported on workflow File Input - see Data docs.

Data typeUsage
Text / MarkdownUnstructured prose and Markdown articles with YAML frontmatter. Default text dataType in the Knowledge Graph editor.
CSVComma-delimited tabular sources. Parsed to delimited JSON rows for structured agent retrieval.
TSVTab-delimited tabular sources. Parsed to delimited JSON rows for structured agent retrieval.
JSONStructured JSON document bodies with schema-aware editing and validation in the admin UI.

Knowledge Graph documents are organised in three levels: a namespace (top-level corpus boundary), a dot-path folder within that namespace, and individual documents addressed by slug. Namespaces and folders are managed in the Knowledge Graph admin UI; each document carries version history.

Each agent searches only the namespaces you assign in Admin → Agents. Retrieval and relationship expansion stay inside those boundaries, which keeps regulated corpora segregated and agent answers focused on the domain you intend.