Skip to main content

Module extractor

Module extractor 

Source
Expand description

Memory extractor — heuristic keyword extraction, no LLM required.

Identifies 5 memory types from text:

  1. DECISIONS — choices made, reasoning
  2. PREFERENCES — always/never/prefer patterns
  3. MILESTONES — breakthroughs, things that finally worked
  4. PROBLEMS — what broke, root causes, fixes
  5. EMOTIONAL — feelings, relationships

Includes a narrow multilingual rule set (EN / ZH / CAN / JP) while trying hard to avoid obvious false positives from overly broad keywords.

Structs§

ExtractedMemory

Enums§

MemoryType

Functions§

extract_all
Extract and classify all paragraph-level chunks.
extract_memories
Extract typed memories from a text block.