- Posted on
- Featured Image
Practical, shell-first guide to fixing flaky RAG pipelines: use curl, jq, ripgrep, sqlite3 FTS, strace, and GNU parallel to verify corpus coverage, prove retriever outputs, isolate latency, and validate prompt/context assembly; then guard quality with a tiny recall@k harness and gold queries in CI. Covers common pitfalls (stale indexes, embedding mismatch, bad chunking, filters, truncation) and reproducible bash smoke tests.