A GenAI Project That Delivered Measurable Business Impact
A GenAI project succeeds or fails on whether you can name the business metric it moved — and prove it. The architecture is the price of entry, not the win.
· 7 min read
Notes on building practical AI systems: experiments with their data, explainers, build logs and essays, plus tech opinions and a clearly separated personal stream.
A GenAI project succeeds or fails on whether you can name the business metric it moved — and prove it. The architecture is the price of entry, not the win.
· 7 min read
Dense retrieval hits a proven geometric ceiling on multi-hop questions and fails silently — similarity scores stay confident even when the evidence is missing.
Code is many languages plus an identifier dialect tokenizers shred. Use code-specialized embeddings, identifier-aware retrieval, and structure-aware chunking.
Every vector DB benchmark was run on someone else's data. Benchmark your own vector count, dimensions, and — above all — your real filtering pattern.
A RAG demo proves the happy path exists. Production is everything else — tracing, drift, evals, and learning to say 'I don't have that part.'
Most LLM hallucination is a retrieval failure in disguise. Fix the context first, force citations, and give the model a sanctioned way to say 'I don't know.'
Episodic, bi-temporal memory with Graphiti lets an AI agent answer not just what's true now, but what was true when, without re-indexing the whole world.
Vector-only RAG returns flat, context-poor chunks ranked by similarity. Knowledge graphs model entities and relationships to traverse why things connect.
15 of 19 escaped · 79% escape rate on the sample run
A green eval suite isn't evidence your agent works — it's the absence of evidence. Mutation testing shows you exactly how blind your evals really are.
Ground the model in retrieved evidence, constrain its output, verify its claims, and measure everything. A layered defense against LLM hallucination.
RAG quality by vibes doesn't survive a second engineer. Decompose by stage, build the eval set from real failures, calibrate the LLM judge, and gate CI.
A hands-on guide to Google's Open Knowledge Format on a JS/TS monorepo: bundle layout, a scaffold script, CI wiring, and outcomes after three months.
A self-healing feedback loop: tail the logs, feed errors to Claude Code, let it fix, build, and restart — unattended. Here's what it actually fixed.
A research-backed breakdown of the prompting methods — from zero-shot to ReAct — that reliably produce better, smarter, more useful AI output.
Five layers — context file, plan gate, atomic tasks, git checkpoints, verification loop — that make AI agents fast and trustworthy instead of chaotic.
Reliable agents come from control, not capability. Cap turns and time, push predictable steps into a state machine, and keep a human on the irreversible ones.
In regulated, multi-tenant GenAI, governance isn't a constraint on the build — it's what decides whether you can ship. Design it into the first diagram.
~40% lower cost · NDCG@10 held at or above 0.75
Inference cost optimization is a measurement problem in disguise. Fix the quality metric first, then trim context, route models, and cache the stable prefix.
'Should we fine-tune?' is usually the wrong first question. Ask instead: is the gap knowledge or behavior, and how often does the answer change?
Shipping production AI isn't about model benchmarks; it's the reliability, retries, fallbacks, observability, and cost discipline that keep LLM systems alive.
What distance running taught me about debugging: both reward patience, a steady pace, and trusting the process long before you can see the finish line.
I'm no CR7, but football taught me resilience, consistency, and how to rewrite my own story: ten lessons from the pitch that carry far beyond the game.
Over-engineering my coffee with scales, brew ratios, and spreadsheets taught me the real optimum was just paying attention: a lesson in optimization's limits.
How owning less gave me more: minimalism cleared my mental bandwidth, cut the clutter and stress, and made room for the experiences that actually matter.
Lessons from 24 years of trying everything (design, startups, sports, travel, and failure) and why curiosity and the journey beat the destination.
No posts of this type yet.