Eight interactive labs: text chunking, embeddings, semantic search, vector databases, the RAG pipeline, advanced retrieval, chat with your documents and evaluation, plus an assistant builder for your own documents and experiments that run in the browser.
- Home
- Text Chunking Lab
- Embeddings Lab
- Semantic Search Lab
- Vector Databases Lab
- RAG Pipeline Lab
- Advanced Retrieval Lab
- Chat with Documents Lab
- RAG Evaluation Lab
- GraphRAG Lab
- Multimodal RAG Lab
- RAG vs Fine-Tuning Arena
- Build your document assistant
- RAG engineering roadmap
- Project library
- Datasets library
- Algorithms and concepts
- Scientific references
- Glossary and FAQ
Choosing a chunk size
Level 1: idea and analogy
Idea
Chunk size trades context against precision: a small chunk matches the question closely but loses its surroundings, a large one keeps context but mixes topics and dilutes the signal.
Analogy
Like indexing a book by single sentences or by whole chapters: the first loses meaning, the second drowns you in what you do not need.
Level 2: how it works and when to use it
Steps
1. Start with a medium size (around 300 to 600 characters for short texts).
2. Measure retrieval on real questions.
3. Change the size and measure again.
4. Pick the size that works best on your own data.
When to use
When building any text index, and again when the type of documents changes (regulations, papers, chats).
Strengths
Simple, measurable and directly affects retrieval quality.
Level 3: mathematics, assumptions, limits
Assumptions
The questions you measure with represent real use.
Limits
There is no universally best size; it depends on the document, the question and the model.
Level 4: pitfalls and references for researchers
Common pitfalls
Copying a size from an article or example without measuring on your own data.
