You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Matryoshka dimension truncation for Ollama embeddings #4
nomic-embed-text (the default model) supports Matryoshka Representation Learning — its embedding vectors can be truncated to fewer dimensions (e.g., 256 instead of 768) with ~95% retrieval quality preserved. Ollama's /api/embed endpoint already accepts a dimensions parameter for this, but mnemon currently always requests full native dimensions.
For large knowledge bases, this means 3× more storage and slower cosine similarity computation than necessary.
Proposal
Add a MNEMON_EMBED_DIMENSIONS env var (following the existing MNEMON_EMBED_ENDPOINT / MNEMON_EMBED_MODEL pattern). When set, pass "dimensions": N in the Ollama embed request. When unset, behavior is identical to today.
Activity
fix(core): stamp Decision.IngestSeq from the triggering event (audit …
fix(core/reconcile): durable cursor seeded from the decision log (no …
fix(core): harden malformed-op rejection + lock the feedback tiebreak…