Skip to content

Repository files navigation

AI Engineering — from Data Platforms to Production LLM Systems

A chapter-by-chapter portfolio documenting a deliberate transition: 9 years of data platform work (churn analytics, data science, BI, data engineering) applied to AI engineering. Every chapter ships working code, reproducible measurements, an architecture decision record, and a published article on Level Up Coding.

One domain, one evolving platform. Instead of 13 disconnected demos, every chapter builds on the same customer-analytics foundation — real public data, a real data platform underneath — and ends in a capstone: a Customer Intelligence Platform.

Principles

  1. Evidence over claims. Every number in every article is reproducible from experiments/ in the corresponding chapter. No hypothetical scenarios, no synthetic anecdotes.
  2. Baselines first. LLM approaches are always measured against the boring classical baseline.
  3. Local-first, privacy-aware. Raw LLM experiments run on local models (Ollama) — the data never leaves the machine. Frontier-model work uses the Claude Agent SDK.
  4. The pipeline is the product. AI features sit on top of data engineering that is incremental, idempotent, and observable.

Data

Real, public datasets only:

Roadmap

#ChapterFocusStatus
0SetupEnvironment, data ingestion, access verification✅ done
1Baseline firstXGBoost churn model — the anchor every LLM result is measured against✅ done
2LLM mechanics, locallyTokenization, sampling, structured output, quantization — measured on consumer hardware✅ done
3Eval harnessGolden sets, LLM-as-judge, LLM vs TF-IDF on real complaints
4Prompt & context engineeringFew-shot / CoT / context-position effects, all measured
5RAG through a data engineer's lensChunking A/B, retrieval metrics, vector store comparison
6Production data engineering for AIIncremental, idempotent embedding pipelines; contracts
7Semantic layer + text-to-SQLLLM-generated SQL scored against a golden query set
8Tool use & the agent loopReAct from scratch, then the Claude Agent SDK
9Subagents & orchestrationOrchestrator–worker, context isolation — measured
10Automation & LLMOpsEval gates in CI, scheduled agents, prompt versioning
11Performance optimizationSemantic caching, model routing, quantization deep-dive
12Observability & guardrailsTracing, token/latency dashboards, injection defenses
13Capstone: Customer Intelligence PlatformEverything integrated, reference architecture

Repository layout

cip/ shared platform core (data, llm, evals, observability) — grows chapter by chapter
chapters/ one directory per chapter: README (results), src, experiments
docs/adr/ architecture decision records
data/ raw data (gitignored) + small committed samples

Why cip/ and not platform/? platform is a Python standard-library module; shadowing it causes subtle import bugs. See ADR-0001.

Running anything

uv sync # create the environment
uv run python -m cip.data.download --dataset telco
uv run pytest # tests

Each chapter's README documents its own uv run experiment commands.

About

AI engineering portfolio: from data platforms to production LLM systems - chapter by chapter, evidence first

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages