Context graph
Context graph: what the term means, and what it means in finance
"Context graph" means different things to different writers: a record of decisions, retrieval context for a model, an agent's memory, a knowledge graph with time and sources. The definitions overlap and none has settled.
In finance the context is already defined: the entries, events, approvals and sources behind each number. RoboSystems holds it in the open-source knowledge graph for finance.
14 days on the SEC repository, no card. Graphs start at $99 a month.
Four definitions of context graph
Each of these is in use today. We don't pick one; they describe different jobs.
- A record of decisions
- The trail of why things were done across a company’s systems: approvals, exceptions and precedents, kept so an agent can learn how the organization actually decides.
- Retrieval context for a model
- A graph built from documents, so a language model is handed related passages and entities with a question rather than one isolated chunk of text.
- An agent’s memory
- What an agent has learned and done across sessions, stored as connected nodes it can recall instead of a flat log.
- A knowledge graph with time and sources
- Entities and facts, plus when each one held and where it came from, so an answer can say what was true at a date and why.
Context graph in finance: what the knowledge graph carries
Accounting has kept context for a long time: a number is only as good as the trail behind it. A knowledge graph for finance holds that trail as part of the graph, so an AI reading it gets the context with the number:
- The entries behind a number
- Every balance opens to the journal lines that make it up, oldest first, each with the balance it leaves.
- The event behind an entry
- A sale, a payment, an asset retired: the ledger records what happened as an event, and the entry is derived from it.
- Who decided, and when
- The AI drafts and your people approve. A classification, a posted entry and a closed period each record who did it and when.
- The source document
- A bank statement, an invoice or a receipt kept as it arrived, beside the entries it supports.
- What the assistant should remember
- A mapping decision, a counterparty you always treat a certain way, a note about a close: kept on the graph across conversations.
- The public record beside it
- The filings of 8,000+ public companies in the same ontology, each number traced to its tagged fact.
Why we say knowledge graph
The context above is one thing a knowledge graph for finance carries, beside the facts, concepts, periods and entities it connects. The broader term is the steadier one, and it's the one we build to.
Read further
- Knowledge graphs and ontology for finance: architecture and use cases
- The event-driven ledger: how events become entries, in the docs
- Documents and memory