Replies: 4 comments
|
@Vasilije1990 , can you please have a look at this use case and suggest? |
|
The star topology and generic ASSOCIATED_WITH edges suggest the LLM extraction is not actually using your ontology as a hard constraint during entity/relationship extraction - it is likely used as a hint at best. Two things that help in practice:
The provenance gap (1% source coverage) is the hardest part. You need to pass chunk-level references through the extraction pipeline so each entity traces back to its source span. |
|
@akhil-dv please write to me at vasilije@cognee.ai and our team can schedule a call and help |
|
Achieving production-quality knowledge graphs for agents hits several fundamental tensions: Ontology enforcement vs. schema flexibility. Strict ontologies give you consistent, queryable graphs but break when agents encounter entity types that don't fit the predefined schema. Loose schemas let agents capture anything but make downstream querying unreliable ("what does this edge type mean again?"). Our pragmatic approach: core ontology for well-understood entity types (Person, Task, Decision, Artifact), with a Temporal linking is hard because agents don't always timestamp correctly. Agents sometimes reason about past events ("what we decided last week") without providing explicit timestamps. To build accurate temporal links, you need to either extract implicit timestamps from conversation context or attach "event ordering" metadata (this event happened before/after X) rather than requiring absolute timestamps. Graph topology drifts over time. Agents keep adding nodes and edges, but they don't clean up outdated relationships. An agent might add "is_working_on: Task X" and never remove it when Task X completes. We solve this with confidence scores + decay: edges that were true at time T but haven't been reinforced get their confidence score decayed. Below a threshold, they're treated as historical (not authoritative) rather than being deleted. The MESI coherency problem for shared graphs. When multiple agents read and write the same graph, you get stale reads. We use a simplified coherency protocol: before writing to a graph node, invalidate other agents' cached views of that node. This adds latency but prevents agents from making decisions on outdated graph state. Memory architecture details: https://blog.kinthai.ai/why-character-ai-forgets-you-persistent-memory-architecture |
Uh oh!
There was an error while loading. Please reload this page.
Discussion: Achieving Production-Quality Knowledge Graphs with Cognee (Resume/CV Use Case)
Context
We have been evaluating Cognee (v0.5.1 through v0.5.3) for building knowledge graphs from professional documents.
Our objective is to understand how to achieve production-quality graph output with:
Below we describe our use case, implementation approach, observed issues, and key questions.
1. Use Case — Resume / CV Knowledge Graph
We aim to ingest professional resumes (PDFs) and build a temporal knowledge graph capable of answering reasoning queries such as:
These are not keyword search problems. They require structured entities, typed relationships, and temporal reasoning over a traversable graph.
2. Ingestion Pipeline
We used Cognee’s standard API with the FalkorDB community adapter:
All reactions