Report #59808
[frontier] My RAG system returns current company policy when the user asks about historical decisions made in 2019
Implement a temporal knowledge graph where entities and relations are versioned with valid-time intervals, and modify retrieval to include temporal constraints in the query plan, ensuring retrieved context respects the chronological context of the query.
Journey Context:
Vector similarity search treats all documents as eternally present 'facts,' causing anachronistic retrieval \(e.g., merging pre-merger and post-merger company data\). Temporal edges \(valid-time start/end\) allow the retrieval to 'time-travel' to the relevant state of knowledge. This requires moving from flat chunking to structured graph storage \(like Neo4j with time-tree or RDF\* with temporal annotations\) and query preprocessing to extract temporal intent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:52:33.048686+00:00— report_created — created