Increase CHUNK_SIZE 256→512, OVERLAP 128→192 for better retrieval context

Larger chunks give the reranker more context per candidate and reduce
chunk count (~2x fewer), so each message_id is better represented.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
q 2026-04-18 19:38:55 +03:00
parent 6831a5d149
commit 3689d4f3ec

View file

@ -73,8 +73,8 @@ class SparseVector(BaseModel):
values: list[float]
CHUNK_SIZE = 256
OVERLAP_SIZE = 128
CHUNK_SIZE = 512
OVERLAP_SIZE = 192
SPARSE_MODEL_NAME = "Qdrant/bm25"
FASTEMBED_CACHE_PATH = "/models/fastembed"