Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesRAG and working with documentsChunking, embeddings, retrieval
An answer with a footnote to policy_2026.pdf, page 4The ollama run command and a VRAM gauge the model fits intoA shelf of open-weight models: DeepSeek, Qwen, Mistral, Llama
Course

RAG and working with documents

Module 1 · RAG basics
01What RAG is and when you need it02Chunking, embeddings, retrieval
Module 2 · Advanced
03RAG eval and reranking04RAG in production: security and updates
RAG and working with documents · Lesson 2

Chunking, embeddings, retrieval

Where the typical RAG errors live and how to avoid them.

20 min readUpdated Dec 2, 20262 questions in quizReady prompt included

Chunking

  • 500-1000 tokens per chunk — a starting point. For reference, OpenAI file search splits files into 800-token chunks with a 400-token overlap by default.
  • An overlap of 50-100 tokens reduces "meaning breaks."
  • Logical boundaries (paragraph, section) are better than arbitrary ones.
  • Save metadata: doc_id, page, section.

The rest of this lesson opens after a free sign-up

Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.

Sign up freeOr a trial lesson, no sign-up →
In this lesson
ChunkingContext for every chunkEmbeddingsPDFs with images and tablesRetrievalWhat we measurePracticeReady promptQuiz
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Get started free