
Retrieval-augmented generation (RAG): a complete guide
How a RAG pipeline works from ingestion to cited answers, when long context or fine-tuning is the better choice, and the order to build things in.
Early-bird price on the GenAI & Agentic AI Engineer Bootcamp batch. Grab a seat →
Plain-English guides to AI agents, RAG, cloud platforms, LLMOps and AI careers, each checked against primary sources.

How a RAG pipeline works from ingestion to cited answers, when long context or fine-tuning is the better choice, and the order to build things in.
What pgvector supports today (HNSW, IVFFlat, limits, filtering) and a decision rule based on scale, filtering and operations.
Recall@k, precision and MRR with a worked calculation, faithfulness checks, building a test set from real questions, and validating an LLM judge.
Combine keyword and vector search with reciprocal rank fusion, then rerank with a cross-encoder. Includes the RRF formula, a worked example and code.
Fixed-size, structure-aware and document-type chunking explained with Python, plus a simple way to test chunk settings on real questions.
A free 15-minute call with an advisor. We'll suggest a program for your role, or tell you honestly if none fits.