π The Fusion Formula
When a memory retrieval sweep is triggered, Hiroshi queries the vector similarity indexing and FTS5 keyword indexes concurrently, scoring matching records using reciprocal ranks: Where:- (M) represents the retrieval models (Vector Cosine Similarity & SQLite FTS5).
- (w_m) represents the model weight: 0.70 for Vector and 0.30 for FTS5.
- (r_m(d)) is the 1-based rank index of document (d) within model (m).
- (k) is a smoothing constant set to 60.0.