Take the course from the first load to a pipeline you operate.
The course page lists the lessons of all nine chapters.
Mirage Academy · Course · Advanced · Data pipelines
Data Engineering for AI Applications sits at the advanced level, for engineers and technical product people who build AI features. You build an ingestion, transformation and retrieval pipeline, and you learn to keep its data current and traceable instead of loading it once. Lessons and this page are English only.
The pipeline
The course follows a single pipeline from source to retrieval. Watch the intro video, then read the pipeline station by station.

Your AI application is only as good as the data it retrieves. This course is for engineers who must keep that data fresh, clean and traceable, not just load it once. The course follows one pipeline. You ingest files, APIs and change data. You clean, parse and normalise the text. You check quality against contracts. You serve the result to retrieval and models, and the schedule runs it again. A pipeline you can trust differs from a one-off script. Orchestration replaces running it by hand. Lineage and versioning replace guessing which data produced an answer. Checks replace finding bad text in production. In the capstone you build your own ingestion-to-retrieval pipeline. If that is the work in front of you, enroll and start with chapter one.
The schedule runs it again
Files, APIs and change data come in through full and incremental loads.
Text is cleaned, parsed and normalized so that equal content looks equal.
Quality checks and data contracts decide what may move on.
The result is served to retrieval and to models, in a form the application can query.
Chapter 2
Edit, add or delete a row in the example source, run the load, and see which rows move to the target.
Made-up records, shown only to explain the method. They are not data from the course or from any system.
Watermarknone yet
Nothing is loaded yet. Run the load.
Nothing has run yet. All source rows wait for the first run.
The rule: a run loads each source row that changed after the watermark, writes each one by its key so that a row already in the target is replaced, not duplicated, and then moves the watermark to the newest change it loaded. A run that finds nothing new changes nothing. A row deleted at the source does not count as changed, so the target keeps it: deletes need change data or another signal.
Full loads, incremental loads and the watermark that remembers where the last one stopped.
Writing by key so that running a load again gives the same table.
Reading from paginated, rate-limited APIs, page by page and within their limits.
Reading files in their different formats.
Capturing change data, including the deletes that a watermark cannot see.
Chapter 3
Three before and after pairs show what a cleaning step does. The strings are made up for the example.
Raw → CleanedExample strings
"Cafe\u0301""Caf\u00e9"Same letters in one canonical form: two code points become one, so equal words match.<nav>Home | Docs</nav><p>Refunds follow the policy.</p><footer>Imprint</footer>Refunds follow the policy.Navigation and footer text often repeats across pages, so it goes. The content stays.Refunds follow the policy.
Refunds follow the policy.
Refunds follow the policy!Refunds follow the policy.The exact copy is dropped. The near copy is caught by a similarity rule that you choose.Encodings, and Unicode normalization so that equal text is equal.
Turning HTML into text and removing boilerplate.
Finding repeated content, whether it is identical or nearly the same.
Working out how many chunks a document yields at a given size and overlap.
Checks that stop badly parsed text from moving on.
Chapter 4
The retrieval data model is designed, tested and versioned like any other product table.
As-of query: the row as it stood on an earlier dayLatest row per key: the current answer
Separate layers for what was loaded and for what the application reads.
A table design made for retrieval, not copied from the source.
Keeping all versions and asking what was true on an earlier day.
Picking the current row for each key.
Cleaning logic written as functions that carry tests.
Chapter 5
Each example check pairs one query with one severity and one action.
Checks as failing-row queriesExample checks
SELECT id FROM chunks WHERE text = ''ActionStop the run before anything is served.SELECT id FROM chunks WHERE source_id NOT IN (SELECT id FROM sources)ActionRaise an alert and keep loading.SELECT id FROM chunks WHERE updated_at IS NULLActionMove the failing rows aside and load the rest.The rule: a check passes when its query returns no rows. When it returns rows, the severity decides: warn raises an alert, block stops the run, and quarantine moves those rows aside and lets the others through.
The families of checks and what each one can catch.
Data contracts, one lesson in the quality chapter.
Writing each check so that it lists the rows that break it.
Deciding whether a failure warns, blocks or is handled another way.
Quarantine for the rows that fail a check.
Chapter 6
Chapter 6 covers tasks and dependencies, schedules, idempotent runs and backfills, retries, and sensors.
Schedule: one run at a set time each dayExample graph
Tasks, and the dependencies between them.
Running the pipeline at set times.
Idempotent runs, and backfills of past periods.
What a task does when it fails, runs long or needs someone told.
Sensors and triggers for starting a run.
Chapter 7
Derived rows point back to their sources.
Content hash on each nodeExample trace
Sourcea3f971c2e04b9d1871c2e04b9d18Remove the source, and the nodes derived from it are found on the same trail.
Tracing which outputs depend on an input, and what a change would touch.
Using a hash of the content to tell versions apart.
A record of each run, so that a result can be reproduced.
Keeping versions of the vectors, not only of the text.
Removing a source and everything derived from it.
Chapter 8
The pipeline ends where the application starts: a table that retrieval and models read.
A retrieval tableExample table
| chunk | vector | version | team | Reader may see this row |
|---|---|---|---|---|
| Refunds follow the policy. | (vector) | 2 | support | |
| Pay bands by level. | (vector) | 1 | hr | |
| Setup steps for a new device. | (vector) | 3 | support |
The query's own filterWHERE team IN (the reader's teams)
A table shaped for the questions retrieval asks.
Access control inside the query itself.
Serving both search types from one table.
Choosing index settings and keeping the indexes healthy.
Cutting datasets for evaluation and training from the same data.
Chapter 9
The last chapter runs the whole pipeline in five steps.
You write down your sources, how often they refresh and the gates a run must pass.
You build the ingestion and the cleaning.
You model the data and add the checks.
You load the table, serve it to retrieval and evaluate the result.
You run the pipeline and document how it works.
A pipeline built, checked and documented. The full syllabus is on the course page:Open the course: Data Engineering for AI Applications
How you learn here
Where to go next
These three pages sit closest to this course.
Build a searchable, grounded knowledge application that cites its sources and is measured.
A guide to what RAG is, for the search side of what this pipeline serves.
Answer business questions with data and AI, and tell evidence from speculation.
Production RAG course →RAG course guide →AI data analytics course →
An advanced course in which you build an ingestion, transformation and retrieval pipeline that keeps AI applications fed with good data. It has nine chapters and ends with a capstone.
An ingestion-to-retrieval pipeline. You specify sources, refresh and gates, ingest and clean, model and check, load, serve and evaluate, and finally operate and document it.
It is a data engineering course for AI applications. Retrieval is where the data ends up, and chapter eight serves it to retrieval and models, but the subject is the pipeline that feeds it. For the search side, see the Production-Ready RAG Engineering course.
Full and incremental loads with watermarks, upserts and repeatable loads, paginated and rate-limited APIs, files and formats, and change data including deletes.
You write checks as failing-row queries, group them by kind, tie them to data contracts, give each a severity and an action, and quarantine the rows that fail.
Chapter seven covers lineage and impact analysis, content hashes as versions, run manifests, versioning vectors and erasure across derived data.
Yes, the course comes with a certificate. Its check code can be looked up by anyone on the public check page, and, as the Get certified page notes, the certificate is not a state-recognized qualification.
You talk through your design decisions by voice. The coach is an AI that follows up on vague answers, and it has no say over your certificate.
The course page lists the lessons of all nine chapters.