Why it matters

Extraction shapes long-term memory. Understanding shapes design.

Advertisement

The architecture

LLM extracts entities + facts + preferences.

Structured schema.

Store in DB + vector.

Memory extraction flowConversation turninputLLM extractfacts + entitiesStoreDB + vectorCareful schema + validation; extract selectively to avoid noise
Memory extraction.
Advertisement

How it works end to end

Prompt: extract facts JSON.

Validate against schema.

Store with source + timestamp.

User-scoped isolation.