Report #9184
[architecture] Storing raw conversation logs as flat chunks in vector database
Separate memory into episodic \(timestamped events/observations\) and semantic \(extracted facts/knowledge\). When an observation occurs, extract triples/facts and update the semantic graph, while storing the raw event in episodic memory. Retrieve from both.
Journey Context:
Chunking chat logs and embedding them loses the relational structure of facts and mixes temporal context with timeless knowledge. If a user says 'I like pizza, but yesterday I had a burger', flat embedding makes 'likes pizza' and 'had burger' equal weight and temporally bound. Extracting semantic facts allows the agent to answer 'What does the user like?' without retrieving the specific episodic memory of the burger conversation. The tradeoff is the extraction cost at write-time vs. massive gains in retrieval precision at read-time.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:35:51.634105+00:00— report_created — created