Skip to content

v0.12.0 — Centroid-based auto-tagging

Choose a tag to compare

@Haakam21 Haakam21 released this 13 Apr 07:13
· 8 commits to main since this release

What's New

Automatic multi-facet tagging — Memories are now automatically tagged based on semantic similarity. When a memory is written, its embedding is compared against the centroid (average embedding) of each existing facet:value. Tags are applied when cosine similarity exceeds a configurable threshold.

For example, if you have 3+ memories tagged topics:cooking, writing a new memory about a recipe anywhere in the filesystem will auto-tag it with topics:cooking — no manual tagging needed.

Configuration

New optional fields in ~/.memfs/settings.json:

Setting Default Description
autotag_threshold 0.5 Cosine similarity threshold for auto-tagging
autotag_min_memories 3 Minimum tagged memories before a centroid is used

Details

  • Centroids stored as unnormalized sums for exact incremental updates
  • memfs reindex rebuilds all centroids from scratch
  • Auto-tagging is non-fatal — errors are logged as warnings, never fail writes
  • Works on both CLI writes and FUSE writes

Full Changelog: v0.11.0...v0.12.0