AI research, systems, and engineering notes.

Featured

Building a Minimal LLM Pipeline from Scratch

This post builds a minimal LLM extraction pipeline from scratch using ICD code extraction as the running example. The pipeline includes data I/O, a thin LLM wrapper, prompt construction, JSON parsing, schema validation, retry logic, batch execution, and evaluation. The goal is to show the foundational utility layer that makes LLM applications testable, debuggable, provider-agnostic, and production-ready.