Report #85328
[architecture] Storing raw conversation logs as long-term memory
Extract semantic triples or structured facts from episodic interactions before persisting to long-term memory, keeping raw logs in a separate short-term/episodic store.
Journey Context:
Saving raw chat history as chunks in a vector DB seems easy but fails on multi-hop reasoning. The agent gets 'I like pizza' and 'The user said they like pizza' as separate chunks, splitting the retrieval vote. Extracting structured facts deduplicates and allows graph-based multi-hop traversal. Tradeoff: extraction adds latency and potential information loss, but drastically improves recall precision.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:48:50.166927+00:00— report_created — created