Rodrigo Uroz
fa9420069a
feat(memory): Add MMR re-ranking for search result diversity
Adds Maximal Marginal Relevance (MMR) re-ranking to hybrid search results.
- New mmr.ts with tokenization, Jaccard similarity, and MMR algorithm
- Integrated into mergeHybridResults() with optional mmr config
- 40 comprehensive tests covering edge cases and diversity behavior
- Configurable lambda parameter (default 0.7) to balance relevance vs diversity
- Updated CHANGELOG.md and memory docs
This helps avoid redundant results when multiple chunks contain similar content.
2026-02-16 23:59:19 +01:00
..
2026-02-07 15:40:35 -05:00
2026-02-16 12:04:53 -05:00
2026-02-07 15:40:35 -05:00
2026-02-14 14:57:19 +01:00
2026-02-14 02:10:28 +01:00
2026-02-16 12:04:53 -05:00
2026-02-04 10:37:14 -05:00
2026-01-31 15:04:03 -06:00
2026-02-16 23:59:19 +01:00
2026-02-07 15:40:35 -05:00
2026-01-31 15:04:03 -06:00
2026-02-13 16:18:16 +01:00
2026-02-07 15:40:35 -05:00
2026-02-14 03:05:09 +01:00
2026-01-31 15:04:03 -06:00
2026-01-31 15:04:03 -06:00
2026-01-31 15:04:03 -06:00
2026-01-31 15:04:03 -06:00
2026-02-09 14:20:56 -08:00
2026-02-16 03:47:10 +01:00
2026-02-15 02:41:45 +00:00
2026-01-31 15:04:03 -06:00
2026-02-15 20:32:51 +05:30
2026-02-16 12:04:53 -05:00
2026-01-31 15:04:03 -06:00
2026-02-06 10:08:59 -05:00
2026-01-31 15:04:03 -06:00
2026-01-31 15:04:03 -06:00