Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesRAG and working with documents
Get started free

Online course, RAG

RAG and Working with Documents: Build Search over Your Files and See Where It Breaks

4 lessons of 15 minutes, about an hour in total: a ready-made prompt, a task and a quiz in each.

Start: 7 days freePreview the first lesson, no sign-in

No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.

An answer with a footnote to policy_2026.pdf, page 4Lesson 1, 20 minWhat RAG is and when you need it
  • Intermediatelevel
  • 1 h 10 min4 lessons, 2 modules
  • At your own paceupdated Dec 2, 2026
  • Certificatewith a check code
What you will learnLessonsCertificateQuestionsStart the course

What you will learn

  • Decide what a task needs: RAG or the whole document in a long context
  • Build a minimal RAG: chunks, embeddings, a vector database, top-K, an answer with a source reference
  • Pick chunk size and overlap and keep doc_id, page and section metadata
  • Measure retrieval with Recall@K and MRR, and answers on an eval set with LLM-as-judge or human review
  • Add a reranker as a second pass and try HyDE and multi-query on short or ambiguous questions
  • Re-index only changed documents and version your embeddings
  • Filter results by access rights so users see only their own documents
  • Match the store to corpus size: from sqlite-vec and pgvector to managed services

What RAG is and what the course covers

RAG (Retrieval-Augmented Generation) is a setup where the system first finds matching passages in your documents and puts them into the prompt, and the model answers from them with a source reference. The course covers when you need RAG, how to chunk documents, measure retrieval, add a reranker and keep the corpus fresh. 4 lessons of 15 minutes.

Pricing and what's free →
01
Free lesson

What RAG is and when you need it

RAG in one sentence, three signs a task needs RAG and three signs it needs long context, a minimal five-step pipeline and a ready prompt that answers only from the passages and cites the source. In the task you build a simple RAG over 5–10 PDFs and retrieve the top 3 passages for a test question.

Open the lesson →

Lessons

RAG basics: the idea, chunking and retrieval → evaluation and production: metrics, a reranker, index updates. The first two lessons are free.

Module 1 · 2 lessons · 40 min

RAG basics

Why RAG is needed and how it's structured.

1What RAG is and when you need itfree20 minThe core idea: mix relevant documents into the context before answering.2Chunking, embeddings, retrievalfree20 min500–1000-token chunks with overlap, metadata, one embedding model per project, hybrid search, a reranker and the Recall@K metric.
Module 2 · 2 lessons · 30 min

Evaluation and Production

Measuring retrieval and answers, a reranker, hybrid search, HyDE and graph RAG, index updates and access rights.

3RAG eval and reranking15 minHow to measure retrieval and answers and lift quality on a second pass: a reranker, HyDE, multi-query.4RAG in production: security and updates15 minRe-indexing only changed documents, versioned embeddings, access-rights filtering and picking a store by corpus size.

Who it is for

  • Engineers and AI engineers asked to build a chat over company documents
  • Teams whose RAG already runs but answers off target, and who need to find where it breaks
  • Tech leads and architects choosing between RAG and long context
  • Anyone taking RAG to production: index updates, access rights, cost

How the lessons work

  1. A 15-minute lessonShort theory, techniques and step-by-step rules without long introductions.
  2. A ready-made prompt in every lessonFor example, a prompt that answers strictly from passages with citations, one that picks a chunking strategy for your document type, or one that plans a production RAG.
  3. A hands-on taskBuild RAG over 5–10 PDFs, make an eval set of 30 question–reference chunk pairs and measure Recall@10, add a reranker and compare before and after, set up incremental re-indexing.
  4. 2-question quiz and AI tutorThe quiz checks the key points; the AI tutor answers questions on the lesson topic.
  5. CertificateAfter all lessons you get a certificate with a unique verification code.

Certificate of completion

You get it when you finish every lesson. Each certificate has its own code, so an employer can check it on our site. You can add it to LinkedIn.

See how a certificate is checked
Sample

Sources behind the course

The course was published in May 2026.

The numbers in the lessons (500–1000-token chunks, 50–100 overlap, top-K of 5–10, corpus-size bands for picking a store) are practical starting points to check on your own eval set. Context windows have grown since: current Claude models have a 1M-token window.

In its Contextual Retrieval post (Sep 19, 2024) Anthropic says a knowledge base under 200,000 tokens (about 500 pages) can go into the prompt whole, without RAG; in its tests contextual embeddings plus BM25 cut top-20 retrieval failures by 49%, and 67% with reranking.

pgvector supports HNSW and IVFFlat indexes and hybrid search together with Postgres full-text search. In RAGAS, the answer relevancy metric is now called Response Relevancy.

  • Anthropic — Contextual Retrieval (Sep 19, 2024)
  • Anthropic — context windows by model
  • pgvector on GitHub
  • Cohere — Rerank overview
  • RAGAS — available metrics

What's free and what it costs

  • The first two lessons, what RAG is and how chunking, embeddings and retrieval work, are free after a free sign-up.
  • After sign-up you get 7 days of full access to all 4 lessons and the whole catalog, no card needed.
  • After that, Pro costs $9 a month or $79 a year. Online card payment is not connected yet: write to info@academl.com and we open access manually.
  • Model and embedding API calls in the tasks run on your own key and are billed by the provider.

RAG course: questions

What is RAG in plain words?+

Retrieval plus generation. Documents are split into chunks in advance and turned into vectors. For each question the system finds the closest chunks, puts them into the prompt, and the model answers from them with a reference to the document and page. The answer rests on your data and can be checked.

RAG or long context: which one?+

The lesson gives a simple rule. Use RAG when there are many documents that do not fit the window, when they change often, or when you must show what the answer is based on. Long context works better for a single document that has to be understood as a whole. Anthropic suggests putting a knowledge base under 200,000 tokens, about 500 pages, into the prompt whole.

What chunk size should I use?+

The lesson's starting point is 500–1000 tokens per chunk with a 50–100-token overlap so ideas do not break at the boundary. Split on paragraphs and sections, and keep doc_id, page and section with every chunk. Settle the final size by Recall@K on your own eval set.

How do I know my RAG works well?+

You need two kinds of checks. For retrieval: questions with a known correct chunk, measured with Recall@K and MRR. For answers: reference answers and criteria, graded by an LLM judge or by people. In the lesson task you build 30 question–reference chunk pairs and compare chunking strategies by Recall@10.

Why add a reranker?+

Vector search picks candidates fast but ranks them roughly. A reranker (Cohere Rerank or the open BGE model) re-sorts, say, the top 30 in a second pass and keeps the best 5–10. In Anthropic's tests, contextual embeddings plus BM25 plus reranking cut top-20 retrieval failures by 67%.

How is this different from RAG & Vector Databases?+

This course is a one-hour overview with no code in the lessons: the idea, chunking, evaluation, production. RAG & Vector Databases is 12 lessons, about 6 hours, with Python code: Qdrant and pgvector, hybrid search with RRF, HyDE, RAGAS and an end-to-end pipeline. Start here if you are choosing an architecture.

The course in short

level
Intermediate
For whom
For developers, For work
Task
Search in data, RAG
Format
Lessons, quizzes and tasks checked by AI
Lesson language
English

Is this course right for you?

Check your level in 3 minutes. We will show which course to start with.

Check my level

More courses on this topic

Full catalog
Intermediate

RAG & Vector Databases

12 Python lessons on RAG: embeddings, Qdrant and pgvector, chunking, hybrid BM25 + RRF search, reranking, HyDE, RAGAS evaluation and a production pipeline.

6 h 15 min, 12 lessonsCertificate
Intermediate

OpenAI Embeddings: Complete Guide

8 lessons on OpenAI embeddings: text-embedding-3-small, semantic search, code search, reranking, classification, clustering, Q&A and recommendations.

3 h 20 min, 8 lessonsCertificate
Intermediate

OpenAI RAG & Production Patterns

6 Python lessons: RAG over complex PDFs, search with HyDE, prompt caching, 429 retries, long document summarization and entity extraction. 2026 notes.

2 h 35 min, 6 lessonsCertificate
Advanced

OpenAI Fine-tuning: From Data to DPO

5 Python lessons: JSONL checks and training cost, SFT, DPO, distillation and RFT with a grader. What changed in OpenAI fine-tuning in 2026 is on the page.

3 h 10 min, 5 lessonsCertificate

Keep going

RAG & Vector Databases: a hands-on Python course →OpenAI Embeddings for search →OpenAI RAG & Production Patterns →Local RAG with Ollama →Claude for long-document analysis →Track: Local LLM Stack →OpenAI embeddings: choosing a model for document search →

Build your first RAG over your own PDFs

The first two lessons are open after a free sign-up. Sign up with email or Google to get 7 days of full access to the whole course and catalog.

Sign up
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Certificate
Your name
for the course
RAG and working with documents
ACADEML · VERIFIED · ACADEML · VERIFIED · SAMPLE
How long is the course and what does it cost?+

4 lessons of 15 minutes, about an hour in total, with a certificate with a verification code after all lessons. The first two lessons are always free, sign-up gives 7 days of full access with no card, then Pro is $9 a month or $79 a year.