11 min read
Where did the fact die? Root-causing a wrong RAG answer
Aggregate RAG scores tell you something is wrong, not where. How to trace each expected fact through parsing, chunking, retrieval, ranking, assembly and generation, and name the stage that lost it.
- RAG
- Evaluation
7 min read
Prompt injection is a data problem
Retrieved documents, tool results and emails are untrusted input. A security layer for RAG and agents: a trust boundary, least privilege for tools, and an attack set in CI.
- Security
- Agents
- RAG
6 min read
Parsing and chunking are the first model you ship
Before embeddings and prompts, a RAG system is a document pipeline. How to parse real PDFs, chunk by structure instead of by token count, and measure the result with retrieval recall.
- RAG
- Data
- Evaluation
4 min read
Hybrid RAG in production: what the tutorials leave out
Dense retrieval alone is not enough. A practical walk through hybrid search, reranking, and the evaluation loop that keeps a RAG system honest once real users arrive.
- RAG
- Retrieval
- Evaluation