Online course, Engineering
12 lessons of 25–35 minutes, about 6 hours in total: Python code, a task and a quiz in each.
No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.
Lesson 1, 25 minEmbeddings and Similarity MetricsThe course walks through a whole RAG system in Python: embeddings and similarity metrics, vector stores (Pinecone, Qdrant, pgvector, Chroma, FAISS), document loading and chunking, hybrid BM25 + vector search with RRF, reranking, query expansion, RAGAS evaluation and production with citations and caching. 12 lessons, about 6 hours in total.
Managed and self-hosted stores side by side: Pinecone, Qdrant, pgvector, Chroma and FAISS, HNSW and IVF indexes, running Qdrant in Docker and pgvector in Postgres. In the task you load 1000 vectors into Qdrant and pgvector, compare top-5 latency and build an HNSW index in pgvector.
Embeddings and vector search → chunking and preprocessing → advanced retrieval → end-to-end pipeline and evaluation. The first two lessons are free.
What embeddings are, how similarity is computed, which models to choose, and where to store vectors.
1Embeddings and Similarity Metricsfree25 minWhat an embedding is, cosine vs dot product vs Euclidean, comparing text-embedding-3-large, ada-002, Cohere Embed v3 and all-MiniLM, choosing dimensions.2Vector Stores: Pinecone, Qdrant, pgvector, Chroma, FAISSfree30 minComparing managed and self-hosted stores, HNSW and IVF index types, running Qdrant in Docker and pgvector in Postgres, when to choose what.3Full Semantic Search: embed → upsert → query30 minEnd-to-end search pipeline: embedding, upsert with metadata, top-k query, metadata filtering, and namespace partitioning.How to split documents, load different formats, and clean data before indexing.
4Chunking Strategies35 minFixed-size, sentence, semantic chunking, overlap, the impact of chunk size on recall vs precision, and the small-to-big retrieval pattern.5Document Loaders: PDF, DOCX, HTML, Markdown, code35 minExtracting clean text from PDF (PyMuPDF, pdfplumber), DOCX, HTML (BeautifulSoup), Markdown and code while preserving structure.6You 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 checkedThe course was published in May 2026.
pgvector supports HNSW and IVFFlat indexes; the vector type indexes up to 2,000 dimensions, and for hybrid search it is used with Postgres full-text search, combining results with RRF or a cross-encoder.
The RRF formula with k = 60 comes from Cormack, Clarke and Büttcher (SIGIR 2009); Qdrant's built-in RRF defaults to k = 2, so its results can differ from the lesson code. Current RAGAS docs call the answer relevancy metric Response Relevancy.
Models in the examples (text-embedding-3-large, gpt-4o, gpt-4o-mini, Cohere rerank-english-v3.0) are as of publication. OpenAI shuts down gpt-4o and gpt-4o-mini on January 14, 2027, with gpt-6-luna as the replacement. rerank-english-v3.0 is English-only; for other languages Cohere offers the multilingual rerank-v5.0-pro and rerank-v5.0-fast.
For comparing approaches, Anthropic's Contextual Retrieval post is useful: in its tests contextual embeddings, BM25 and reranking together cut top-20 retrieval failures by 67%.
The lesson compares managed and self-hosted options. If your data already lives in Postgres, pgvector adds vector search to the same database with HNSW and IVFFlat indexes. Qdrant runs in Docker and handles filters and hybrid queries. A managed service such as Pinecone takes operations off your hands. In the task you measure latency yourself on 1000 vectors.
Hybrid search combines lexical BM25 with vector search. BM25 catches exact matches such as error code E1042, vectors catch matches by meaning. Their scores sit on different scales, so Reciprocal Rank Fusion adds up ranks instead: 1 / (k + rank) for each list, with k = 60 per the 2009 paper.
The lesson compares fixed size with overlap (for example 800 tokens with 120 overlap), sentence-based splitting and semantic chunking, and shows the small-to-big pattern: search over small chunks and pass the parent passage to the prompt. You pick the winner by measuring on your own questions, which is the lesson task.
With RAGAS on a golden set with reference answers. Context precision and context recall show how well retrieval works, faithfulness shows whether the answer sticks to the retrieved context. In the lesson task you run 30 questions before and after adding a reranker and use the metric changes to explain what exactly improved.
The end-to-end lesson builds the RAG twice: on LlamaIndex and on a plain SDK. Its advice: prototype on LlamaIndex or LangChain, then rewrite production bottlenecks on the SDK where latency and predictability matter.
Solid Python, calling APIs with a key, Docker to run Qdrant and basic SQL for pgvector. If RAG is new to you, start with the one-hour RAG and working with documents course; embedding basics are covered in OpenAI Embeddings.
Intermediate8 lessons on OpenAI embeddings: text-embedding-3-small, semantic search, code search, reranking, classification, clustering, Q&A and recommendations.
Certificate
Intermediate6 Python lessons: RAG over complex PDFs, search with HyDE, prompt caching, 429 retries, long document summarization and entity extraction. 2026 notes.
Certificate
IntermediateA short RAG course: when RAG beats long context, how to chunk documents, measure Recall@K, add a reranker and keep the index fresh.
Certificate
Advanced5 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.
CertificateThe 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 upHybrid search, reranking, and query expansion for complex questions.
7Hybrid Search: BM25 + dense, RRF30 minCombining lexical BM25 and dense vectors, reciprocal rank fusion (RRF), Weaviate hybrid, why hybrid beats pure semantic on keyword-heavy queries.8Reranking: cross-encoder and two-stage retrieval30 minCross-encoder rerankers (Cohere Rerank, BGE reranker), the recall→precision two-stage scheme, latency and cost trade-off.9Query Expansion: HyDE, multi-query, step-back35 minHyDE (hypothetical document embedding), multi-query generation, step-back prompting and query decomposition for complex questions.An end-to-end pipeline, automated evaluation via RAGAS, and production patterns.
10End-to-End RAG Pipeline35 minIngest pipeline (embed + store) and query pipeline (retrieve → rerank → prompt → generate), comparing LangChain, LlamaIndex and the raw SDK.11RAG Evaluation: RAGAS30 minThe RAGAS framework: context precision, context recall, faithfulness, answer relevancy — automated evals and a regression test suite.12Production RAG: streaming, citations, cache, monitoring35 minStreaming responses, citation generation tied to chunks, caching embeddings, monitoring retrieval quality, and cost optimization.12 lessons of 25–35 minutes, about 6 hours 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.