How it works
Documents are reduced to entities and edges, not only to passages. A supplier, a lot and a test can be nodes. "Supplied by" and "failed" can be edges. A question about a path, such as which other lots share a supplier with a lot that failed a check, is then a walk on that graph. A chunk of an SOP may never state the whole path, because the path lives across records. The graph can still point at a passage or a row as evidence on a node, so the model quotes a source rather than an edge id alone.
This is a different index from a vector store of paragraphs, even when both are used. Chunk search answers "where is this sentence". Graph retrieval answers "what is linked to this thing". Extraction is the fragile part. If two suppliers with similar names collapse into one node, every walk through that node is wrong. If a relationship is never extracted, the path is missing and the system falls back to whatever chunk mentioned one of the names. The trace should show the nodes and edges that were traversed, not only the final sentence.
A worked example
A failed lot traced through its supplier
A food manufacturer asks which other ingredient lots share a supplier with lot M-184, after M-184 failed a metal-detection check. No single SOP paragraph lists those cousins. The graph has a supplier node linked to M-184 and to three other lots still in the warehouse, and each lot node points at its goods-in record. The retrieval walk returns the supplier, the three lot ids, and the goods-in lines. The reply names those lots and quotes the goods-in dates. A chunk search on "metal detection" had returned the test procedure and none of the sibling lots. The procedure was the right document for how the test works. It was the wrong object for a question about links between records.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- Two suppliers with similar legal names are merged into one node, and a recall walk pulls lots from the wrong company. Later hops inherit that merge.
- The relationship was never extracted, the walk stops at the failed lot, and the reply falls back to an SOP chunk that does not name the sibling lots.
- The edge is current and the passage stored on the node is an old goods-in note, so the reply quotes a date the graph itself no longer supports.
How to measure it
For path questions, record the nodes and edges traversed and whether a reviewer agrees that path exists in the source records. Keep a chunk-only retrieval beside it when you need to show the paragraph search missed the link.
When the person corrects a supplier or a lot id, check the extraction and the edge before you edit the answer prompt. After a graph rebuild, compare task success for that task and cohort.
Further reading
How Abracadabra helps
A correction that swaps the supplier or the sibling lot is a bad link, not a clumsy sentence. After extraction or the graph rebuild changes, compare task success for that task and cohort.
When context is lost, people restate a fact or repeat the request. Abracadabra pins those corrections and repeated intents to the turn. After a change to what the agent keeps, compare task success for that task and cohort with the previous period.
Request access to read this on your own agent.