AI Engineering

I completed Henry's AI Engineering program with four integrator projects that cover the whole path, from calling an LLM API to a multimodal, observable system: structured outputs, RAG, multi-agent routing and vision.

Every project follows the same approach: treat the prompt and the design as hypotheses, measure them, and leave the evidence in the repository — tests, evaluation sets, traces and a list of known limitations.

Academic projects built on synthetic data. They show how I design, evaluate and validate LLM systems; they are not production deployments.

What this covers

LLM APIs Structured outputs RAG Embeddings LangChain LangGraph Chroma Pydantic Evaluation Observability Langfuse Testing

Foundations

The earlier projects the last two build on.

Architecture diagram: a FAQ document is chunked, embedded and indexed; a question is matched by cosine similarity and answered by GPT-4o-mini with the retrieved chunks cited.

RAG

NimbusHR — FAQ chatbot with RAG

Retrieval-augmented generation over a company FAQ: 150-token chunks with overlap, text-embedding-3-small embeddings, exact cosine similarity with NumPy and GPT-4o-mini for the answer. Each response lists the chunks it used, so it can be audited against the source. A bonus judge agent scores relevance, fidelity and completeness.

Python OpenAI NumPy tiktoken pytest

Small corpus; the judge was evaluated on three examples.

Architecture diagram: a question passes an input guard, is answered by GPT-4o-mini with chain-of-thought, parsed and repaired, validated against a schema and returned as JSON, with metrics logged to CSV.

LLM API

Helpdesk CLI — Structured generation

A support assistant that turns a question into a validated JSON — answer, confidence and recommended actions — using GPT-4o-mini in JSON mode. It parses the response, attempts one repair, validates the schema by hand and falls back safely. Chain-of-thought was chosen through a measured three-round experiment, and regex guardrails block prompt injection before the model is called.

Python OpenAI pytest

Manual schema validation (not native Structured Outputs); guardrails are limited in scope.

Langfuse trace of a real run