
Explore three learning paths to the same data capstone in the AI-ready data engineering course, with preconfigured resources, labs by lesson, runnable code, war-story checkpoints, and practical guardrails.
Maya discovers that AI readiness is a data pipeline problem—80% of the fix is data work—not a model issue—with ingestion, parsing, embeddings, and retrieval ensuring fresh, traceable, and trusted answers.
AI engineering is 80% data engineering, combining classic concerns with embeddings, vector indexes, retrieval, and eval sets. Durable skills like data quality, idempotency, and testing anchor the practice.
Explore when to use rag, fine-tuning, and agents with a practical decision tree that balances knowledge volatility, output format, and multi-step actions for production systems.
Present a reference AI data stack architecture, tracing ingestion, parsing, chunking, embedding into a vector store, hybrid search, and serving to SQL, agents, memory, with governance and observability.
Validate data before embedding, apply freshness and parse checks, and clean data with a hashing-based dedupe and quarantine stage to prevent duplicates and stale sources from causing hallucinations in retrieval.
Learn to build a single, trusted ai data pipeline from embeddings to agents, with an eval gate, grounded, cited answers, and scalable guardrails.
Understand how embeddings convert text into fixed-length vectors that act as GPS coordinates for meaning, enabling near-neighbor retrieval and semantic search in RAG pipelines.
Cosine similarity measures the angle between embedding vectors, enabling fair text comparison after normalizing to unit length; normalize first, then dot product equals cosine.
Learn to tune four embedding model dials—language, scale and budget, privacy, hosting—using a decision tree and a storage estimator to pick a model that fits your data and costs.
Explore how to correctly compute embeddings and rank results using cosine ranking, by normalizing vectors and comparing a query to candidate sentences in a hands-on four-step lab.
Discover embedding gotchas in RAG pipelines, like token truncation. Use one model per index, version stamps, normalization, and correct query and passage prefixes.
Measure freshness across ingestion, embedding, and index lags to prevent stale answers in RAG systems. Align updates with freshness using p95 thresholds and refresh for hot, warm, and cold sources.
Navigate ingestion patterns for retrieval by comparing batch, incremental, and change data capture, match lanes to freshness, persist watermarks in a control table, and handle deletes for real-time indexing.
Define a versioned data contract for embeddings that captures identity, security, freshness, and provenance, validated at the gate to prevent cross-tenant leakage and costly re-embeddings.
Learn a zero-downtime schema evolution strategy for vector indexes with blue-green swaps, additive changes, and explicit model version tagging to safely migrate embeddings.
Build a contract-validated ingestion job with a gate and watermark-driven pull, embedding valid docs to the vector store and routing bad docs to a dead letter table.
Explore how a green pipeline hid stale policy data due to a lying timestamp, and how content hash reconciliation plus guardrails restore freshness for RAG and agents.
Focus on parsing first to improve RAG quality, as layout aware parsing across PDFs, scanned PDFs, HTML, and tables dramatically boosts accuracy even with small models.
Learn layout-aware extraction for PDFs, HTML, and tables to preserve reading order and provenance. Build robust pipelines that strip boilerplate, keep structure, and correctly serialize tables with headers.
Detect the scanned-document trap by flagging pages with near-zero extractable text and applying OCR at 300 dpi before embedding, using OCR confidence to protect retrieval.
Build a unified parser that ingests PDFs, HTML, and scans, auto-detects formats, routes to the right extractor, and outputs a single parsed doc as JSONL with provenance for gating.
Normalize gently to preserve meaning: apply NFKC, de-hyphenate, collapse whitespace, and strip boilerplate, while not lowering case, not killing punctuation, and preserving numbers and IDs; recompute the content hash.
Chunk data into retrievable, coherent clips with source metadata to optimize recall and embedding quality. Avoid too-long or too-short chunks to hit the Goldilocks sweet spot and prevent garbage embeddings.
Explore four chunking strategies—fixed, recursive, semantic, and structural—highlighting their rules, best use cases, and how to match strategy to document shape for coherent, scalable processing.
Balance chunk size and overlap in data retrieval by tuning two knobs, measure recall and cost, and apply token-based sizing with 256–1024 tokens and 0–30% overlap.
Attach a metadata envelope to each chunk to enable access aware retrieval, filtering, citations, and security per the governance data contract, using parent-child chunking for precise search and context.
Define and run a configurable, token-aware chunker that outputs metadata-rich chunks for an embedding pipeline, using a registry-driven, swappable strategy system with token-budget guardrails.
Dissect how a finance assistant's miscalculation arose from a chunk boundary cutting a formula, and present a three-move fix: structural chunking, 15% overlap, and CI coherence tests.
Transform notebooks into a production pipeline for embeddings by implementing an incremental, idempotent, cost-aware, batched, deduplicated, and observable ETL flow of extract, chunk, embed, load with a state table.
Adopt delta-based incremental embedding with hash-based change detection to update only changed, new, or deleted chunks, while batching 96 chunks per request and backoff on rate limits to reduce cost.
Learn how idempotency ensures safe retries by using deterministic chunk IDs hashed from doc id, position, and content, with absurd insert-or-replace semantics and per-batch checkpoints.
Learn to perform re-embedding on a model change, using a blue-green zero-downtime swap with versioned embeddings and resumable backfills.
Shrink embedding costs by using a content hash cache and dedupe across documents, caching by model version and text hash, and batching with async backfills.
Reconcile counts at every stage to detect silent drops, debug three killers—duplicate chunk IDs, swallowed batch exceptions, and null chunks—and fix with robust hashing, loud error checks, and guarded embedding.
Explore how a vector store replaces brute-force search by storing embeddings with metadata and doc ids, building a fast index, and delivering nearest-neighbor results with approximate search.
Map the vector database landscape into bolt-on vs purpose-built options, comparing PG vector, Snowflake, and Databricks with Pinecone and Qdrant, highlighting scale, latency, and governance tradeoffs.
Compare hnsw and ivf indexing for vectors, showing how hnsw's hub-and-dense layers yield fast recall with higher memory and build time, while ivf relies on probes.
Use a five-question decision tree to select the right vector store for your data pipeline, balancing vectors, data gravity, latency, budget, and ops appetite.
Enforce tenant isolation in vector stores using three patterns—shared plus row filter, namespace or partition, and physical per tenant—via pre-filtering and row level security to prevent leakage.
Choose a store with per-tenant isolation enforced by the database, benchmark recall using HNSW or IVF indices, and secure with token-based tenant IDs and pre-filtering.
Explore why vector search excels at meaning but misses exact invoice IDs, and how a hybrid retriever blending BM25 and vectors delivers precise results.
Compare bm25 and vector retrieval in a hybrid pipeline, highlighting idf-based term scoring, length penalties, and rank-based fusion using reciprocal rank fusion (rrf) to merge lexical and dense results.
Combine multiple ranked lists using reciprocal rank fusion (rrf) by summing 1/(k + rank) contributions, with k commonly 60, so top positions earn more points across bm25 and vector lists.
Implement a two-stage retrieval pipeline using hybrid retrieve and a cross-encoder re-ranker. Apply metadata filtering—tenant ID, doc type, and date—to cut candidates before re-ranking.
Explore the retrieval quality stack from lexical BM25 to vector AN, RRF fusion, metadata and entitlement filtering, and a cross encoder re-ranker, delivering the top-5 citable context.
Learn how plain English questions translate into SQL, the risk of missing metric definitions and joins, and why syntactically correct queries can yield the wrong revenue results.
Understand the semantic gap between sql execution and business meaning, and fix wrong answers by aligning metric, grain, filter, and join definitions; use aggregate before you join and with clauses.
A retailer's self-serve dashboards reveal a 2.3 million gap between gross and net revenue caused by the model treating revenue as gross; the fix enforces a governed net revenue definition.
Seed a DuckDB schema with orders and refunds, build a naive text-to-sql loop to compute q3 revenue, then diagnose a red-mismatch failure caused by missing refunds rule.
Governance comes next by defining meaning to trust text-to-SQL conversions. Spot traps like undefined metrics, wrong grain, and join fan-out that cause miscounts.
A semantic layer acts as the translator, encoding your company's slang to define net revenue and active users once, enabling a single source of truth across tools.
Master how metrics and dimensions drive dashboards, using net revenue to define a complete metric with base grain, expression, aggregation, filters, and synonyms, avoiding anti-patterns.
Explore how semantic models become code in YAML, versioned in git with a pull request, diff, and a CI pipeline, defining metrics and dimensions for the DBT semantic layer.
Define a semantic model to ground net revenue from gross and refunds, map synonyms like revenue and top line, and constrain metrics and dimensions for accurate reconciliation.
Ground the llm in a semantic layer that resolves synonyms and enforces declared metrics. It generates sql constrained to those metrics and reconciles results with the books for production.
Everyone is building AI features. Almost no one is building the data systems that make them actually work. That gap is the data engineer's to own — and this course teaches you exactly how.
Across 25 modules and 138 lessons you build the pipelines behind real AI: retrieval, RAG, agents, and governed text-to-SQL — not toy demos, but the incremental, evaluated, secured, cost-controlled systems that survive production. You follow one engineer, Maya, whose mandate is "make our data AI-ready," and you finish by shipping the capstone — AskTheData, an end-to-end AI data platform — yourself.
What makes this course different:
What you'll build, module by module: embeddings demystified, ingestion + freshness + data contracts for AI, document parsing of the messy real world, chunking strategies that actually work, the embedding ETL pipeline (incremental, idempotent, model-swap-safe), vector stores with row-level security, hybrid search + reranking, text-to-SQL and its traps, semantic layers, Cortex Analyst and Databricks Genie in production, text-to-SQL evaluation + hardening, the RAG-to-agents mental model, context engineering for data agents, tools + MCP, agent memory and state, multi-source agentic retrieval, evaluation harnesses, observability + tracing, guardrails + hallucination control, cost engineering with real benchmarks, governance + lineage + access-aware retrieval, orchestration + testing + productionizing — and the AskTheData capstone that ties it all together.
The capstone — AskTheData: you architect and build an end-to-end AI data platform: ingestion → embedding ETL → governed retrieval → agentic text-to-SQL → evaluation → observability — then run a production failure drill and self-score against a rubric. It's the portfolio piece that proves you can build AI data systems, not just call an API.
Who this is for:
By the end of this course, you will be able to architect, evaluate, secure, and cost-control an end-to-end AI data platform — retrieval, RAG, agents, and governed text-to-SQL — and prove it works before it ships.
Enrol now. The AI features are easy. The data systems behind them are the moat — and they're yours to build.