feat: add BM25 hybrid search with RRF, update chunking for Notion ing…#31
Merged
emmanuelkb merged 2 commits intomainfrom Mar 28, 2026
Merged
feat: add BM25 hybrid search with RRF, update chunking for Notion ing…#31emmanuelkb merged 2 commits intomainfrom
emmanuelkb merged 2 commits intomainfrom
Conversation
Owner
RubyRyn
commented
Mar 23, 2026
- Add bm25s dependency and BM25Manager (build/search/save/load with page title indexing)
- Add HybridRetriever with RRF merge (k=60): vector(15) + BM25(15) -> top 15
- Replace direct ChromaDB query with HybridRetriever in both conversation endpoints
- Bump reranker top_k from 3 to 10, context cap from 4000 to 5000 chars
- Remove MarkdownHeaderTextSplitter from Notion ingestion; use RecursiveCharacterTextSplitter only
- Increase Notion chunk_size from 500 to 1000, overlap from 100 to 200
- Build and save BM25 index after every Notion ingestion run
…estion - Add bm25s dependency and BM25Manager (build/search/save/load with page title indexing) - Add HybridRetriever with RRF merge (k=60): vector(15) + BM25(15) -> top 15 - Replace direct ChromaDB query with HybridRetriever in both conversation endpoints - Bump reranker top_k from 3 to 10, context cap from 4000 to 5000 chars - Remove MarkdownHeaderTextSplitter from Notion ingestion; use RecursiveCharacterTextSplitter only - Increase Notion chunk_size from 500 to 1000, overlap from 100 to 200 - Build and save BM25 index after every Notion ingestion run Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
|
@RubyRyn Conversation history removed — Both send_message and stream_message no longer pass conversation_history to gemini.ask_workmate(). This means the LLM loses multi-turn |
Collaborator
|
New env var VOYAGE_API_KEY required — No .env.example update, no documentation, and the app will crash at startup if the reranker is initialized without it. Should be |
Owner
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.