Report #35763
[architecture] Storing only raw conversation history limits reasoning and causes context blowup
Extract semantic insights \(facts, preferences\) from episodic interactions and store them separately. Use episodic memory for recent context and semantic memory for long-term facts.
Journey Context:
Beginners often store the entire chat log as memory. This is expensive to retrieve and search, and the LLM has to re-derive facts every time. Conversely, storing only extracted facts loses the nuance of how and when a fact was established. The correct architecture mirrors human cognition: Episodic memory \(raw events, recent turns\) decays quickly, while Semantic memory \(extracted triples or facts\) persists. When a conversation ends, run an extraction step to convert episodic context into semantic memory nodes/edges. This keeps the active context window small while ensuring long-term knowledge is efficiently queryable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:30:10.892130+00:00— report_created — created