· Chunking
Chunk size for RAG: a starting point and one tuning pass
There is no best chunk size for RAG. Start from headings with a cap, count in tokens, and change one setting at a time against real questions.
One question per note, answered with sources you can check and starting values you can test. Each note links up to the guide that covers its pipeline step end to end.
RSS feed· Chunking
There is no best chunk size for RAG. Start from headings with a cap, count in tokens, and change one setting at a time against real questions.
· Retrieval
BM25 finds exact strings such as error codes and versions; embeddings find paraphrases. On docs pages you usually need both, fused into one ranking.
· Freshness
Removed pages keep answering until their vectors go. Delete on a confirmed 404 or 410, never on a timeout, and watch sync modes that delete what is missing.