About this course

Retrieval-augmented generation is the most widely used way to make a language model work with internal documents, policies and knowledge bases. This course explains how chunking, embeddings, vector search and prompting come together, and you will build your first working RAG chatbot. You will also understand why answers sometimes fall short, and which levers you can pull to improve them.

What you will learn

  • 01Explain the RAG architecture and judge when RAG is the right approach.
  • 02Process documents into chunks and embeddings in a vector database.
  • 03Build a working RAG chatbot with source citations.
  • 04Recognise typical failure patterns and take the first steps towards improvement.
  • 05Choose a chunk size and chunking strategy that suit the document type.
  • 06Combine vector search with keyword search and metadata filters for better results.
  • 07Create a small test set of questions and expected sources to measure retrieval.
  • 08Account for access rights and privacy when making internal documents searchable.

Programme

  1. Module 1

    Why RAG

    RAG versus fine-tuning versus long context, the trade-offs, and an overview of the architecture from ingestion to answer.

  2. Module 2

    Preparing documents

    Parsing PDF, Word and HTML files, tables and scans, chunking strategies and adding metadata. Hands-on: chunk the same documents in different ways and compare the results.

  3. Module 3

    Embeddings and vector search

    Embedding models, cosine similarity and vector databases such as pgvector and Qdrant. You will index your own document set.

  4. Module 4

    Better retrieval

    Hybrid search with BM25 and vectors, metadata filters and reranking. See how each step improves the sources retrieved.

  5. Module 5

    Your first RAG application

    Retrieval, prompt assembly, answers with citations, and prompting the model to say when the sources do not contain an answer. Hands-on: a working chatbot in Python.

  6. Module 6

    Measuring and improving

    Building a test set, measuring retrieval with recall, and assessing answer quality for correctness and faithfulness to the source. You will analyse missed context and incorrect sources.

  7. Module 7

    Towards production

    Per-document access rights, privacy, keeping the index up to date, and cost. Includes a checklist for moving from prototype to a reliable knowledge assistant.

Audience and prerequisites

Who it is for

Developers, data engineers and technical product owners who want to build or evaluate a knowledge assistant.

Prerequisites

Basic Python and some initial experience with an LLM API.

Software engineeringData & analytics

Ready to make your team AI fluent?

Book a no-obligation call and we will help you shape the right programme for your organisation.