Part 2Retrieval & RAG
Debugging a RAG System That Gives Wrong Answers
A stage-by-stage method for localizing RAG failures: build a replayable failure set, attribute each case to a stage, fix the biggest bucket, and gate on it.
8 articles.
Part 2Retrieval & RAG
A stage-by-stage method for localizing RAG failures: build a replayable failure set, attribute each case to a stage, fix the biggest bucket, and gate on it.
Part 8Cost, Latency & Serving
A layered semantic cache for LLM responses: scoped keys, tuned thresholds, borderline verification, invalidation, and false-hit-aware hit-rate metrics.
Part 11Agents & Tool Use
Classify why an agent loops, add harness guardrails and better tool feedback, and recover with an escalation ladder you can measure.
Part 15Evaluation & Reliability
Build support-bot evals from real failures: layered offline tests, calibrated judges, statistically sound release gates and a production flywheel.
Part 16Evaluation & Reliability
Treat an LLM judge like a measurement instrument: calibrate it against human labels, remove its known biases, and size your eval sets for real error bars.
Part 18Security & Privacy
A layered design for detecting, pseudonymizing and re-identifying PII before it reaches a model, and how to measure the leak rate honestly.
Part 23Production Engineering
Model multi-agent runs as one OpenTelemetry trace: GenAI span conventions, context propagation across queues, private content storage and tail sampling.
Part 24Production Engineering
Make prompt rollback a sub-minute alias flip, catch regressions with canaries and guardrail metrics, and clean up what the bad prompt left behind.