How learning works

Learning is how an AI reads your notes and turns them into memories, people, places and the links between them.

Learning (in the code and logs, consolidation) is the process that turns raw notes into structured memories. It runs in a background Web Worker with your AI, on its own once enough new notes pile up, or when you press Learn now.

How learning works

  1. Embedding — Each note is vectorized using a local MiniLM model (runs entirely in your browser). This creates a 384-dimensional vector for each note.

  2. Summarizing: long notes get a short summary first. Then notes go to your AI a few at a time.

  3. LLM extraction: each batch is sent to your AI (via your configured provider) with a structured prompt. The LLM extracts:

    • Memories — typed facts, beliefs, preferences, patterns, skills, relationships, intentions, and emotional patterns
    • Entities — people, places, projects, concepts, organizations, topics
    • Relationships — connections between entities with directional labels
  4. Storage — Results are stored in your vault's memory and knowledge graph tables. Existing memories are updated (confidence adjusted) rather than duplicated.

  5. Logging — Each time it learns is logged with a timestamp, note count, and status (Memories → History).

Running it

Open Memories and press Learn now. It reads only the notes it hasn't learned from yet, shows its progress, and you can stop it any time.

Requirements

Learning needs an AI: the on-device model, Ollama, your own key, or your Claude or ChatGPT. Bigger cloud models learn more, and more precisely.

What makes it learn well

The quality of extracted memories depends on:

  • LLM capability — More capable models extract more nuanced memories
  • Note richness — Detailed, coherent notes yield better memories than brief ones
  • Note volume: more related notes give the AI more to go on

Tuning

In Settings → Learning: Learn on its own, How often (after this many new notes, 10 by default), Approve before use, Summarize long notes, and Rebuild search.