every question returns the same three chunks after i moved to 1500 token chunks chunking
About 4k internal support pages, text-embedding-3-large, pgvector. I was on 400-token chunks with 50 overlap and answers kept missing context, so I moved to 1500 with 200 overlap. Now the top 5 for almost any question includes the same onboarding page, including questions about billing and about our API. All the distances come back bunched between 0.31 and 0.38.
@frosting_fixer · 3h ago · 3 replies
Bigger chunks average the signal away. One 1500-token chunk covers six topics, so its vector sits near the middle of everything, which makes it a decent match for every query and a good match for none. The bunched distance range is the fingerprint of exactly that — your scores have stopped carrying information.
What I would do:
Reply
Report
@frosting_fixer · 3h ago
That is the whole bug. While you are in there, hash the chunk text and drop exact duplicates before indexing — repeated boilerplate blocks tend to be several percent of a support corpus.
Reply
Report
@mise_en_mess · 3h ago
The onboarding page has our full glossary pasted into the bottom of it. Which means it literally contains a definition of every term anyone would search for. That is the whole bug isn't it.
Reply
Report