Expand description
Graph Conflict Detection & Resolution (RML-1217)
Inspired by Mem0’s approach to managing conflicting knowledge in graphs. Provides:
- Detection of four conflict types: direct contradictions, temporal inconsistencies, cyclic dependencies, and orphaned references.
- Resolution strategies: keep newer, keep higher confidence, merge, or manual.
- Persistence of detected conflicts in the
graph_conflictstable.
Structs§
- Conflict
- A detected conflict in the knowledge graph.
- Conflict
Detector - Detects conflicts in the
cross_referencesgraph. - Conflict
Resolver - Resolves conflicts and persists them to the
graph_conflictstable. - Resolution
Result - Outcome of resolving a conflict.
Enums§
- Conflict
Type - The category of graph conflict.
- Resolution
Strategy - Strategy to apply when resolving a conflict.
- Severity
- Severity level of a detected conflict.
Constants§
- CREATE_
CONFLICTS_ TABLE - SQL that creates the
graph_conflictstable.