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-16 23:58:35 +01:00
2026-02-16 23:58:23 +01:00
2026-02-16 23:52:42 +01:00
2026-02-16 22:55:59 +00:00
2026-02-16 23:54:08 +01:00
2026-02-16 22:55:59 +00:00
2026-02-16 23:57:21 +01:00
2026-02-16 23:58:38 +01:00
2026-02-16 23:53:41 +01:00
2026-02-16 23:59:16 +01:00
2026-02-16 23:58:38 +01:00
2026-02-16 23:49:41 +01:00
2026-02-16 23:53:19 +01:00
2026-02-16 23:56:10 +01:00
2026-02-16 14:59:31 +00:00
2026-02-16 23:52:56 +01:00
2026-02-16 15:16:35 -05:00
2026-02-16 06:16:33 +00:00
2026-02-16 23:50:56 +01:00
2026-02-16 23:53:21 +01:00
2026-02-16 23:59:19 +01:00
2026-02-16 16:14:54 +00:00
2026-02-16 23:53:19 +01:00
2026-02-16 23:58:12 +01:00
2026-02-16 23:49:47 +01:00
2026-02-16 14:59:30 +00:00
2026-02-16 23:59:16 +01:00
2026-02-16 16:14:54 +00:00
2026-02-16 14:59:30 +00:00
2026-02-16 23:53:19 +01:00
2026-02-16 23:55:34 +01:00
2026-02-16 23:54:56 +01:00
2026-02-16 14:59:30 +00:00
2026-02-16 14:59:31 +00:00
2026-02-16 17:06:40 +00:00
2026-02-16 23:57:09 +01:00
2026-02-16 23:52:00 +01:00
2026-02-16 17:06:40 +00:00