Why most RAG implementations fall short
You can put together a basic RAG pipeline in an afternoon: split the documents into chunks, embed them, retrieve the top matches and paste them into a prompt. It demos well. Then real users ask real questions against real document sets, and retrieval quality falls apart. We cover the fixes in detail in how we build production RAG systems.
The failures are predictable and fixable. Chunks get split mid-argument, so retrieved passages lack context. Pure vector search misses exact terms like part numbers and clause references. The top result is relevant, but the correct passage sits at rank eleven. And nobody built an evaluation set, so quality is judged by whether the last demo went well.
- Chunking matched to how your documents are structured, not a fixed token count
- Hybrid retrieval that combines semantic search, keyword search and metadata filters
- Cross-encoder re-ranking that moves the correct passage to the top
- Citations linked to source documents so every answer can be checked
- Evaluation pipelines that catch regressions before users do
The parts that decide whether it works
Whether a RAG system is useful depends on retrieval quality more than model quality. A strong model given the wrong passage writes a confident, well-phrased, wrong answer. That is worse than no answer, because it is harder to spot.
We tune retrieval against a golden set of questions taken from your real users. Every configuration change is scored against that set, so we can measure each improvement and see regressions straight away.
The same retrieval layer powers the AI agents we build for document-heavy workflows, and it is the core of most custom AI solutions we deliver.
Grounding, citations and refusal
A production RAG system has to be able to say "I don’t know." A system built to always answer will answer even when the retrieved context has nothing relevant in it. We build in explicit refusal and set the threshold to match your risk tolerance.
Every answer cites the source passages it used, so a user can check a claim in one click. In regulated industries this is a requirement. Without citations, legal teams usually won’t approve the system for deployment.
What you receive
- Production RAG pipeline deployed to your infrastructure
- Golden question set and automated evaluation harness
- Hybrid retrieval with re-ranking, tuned to your documents
- Citation UI linking every answer to source documents
- Ingestion pipeline for ongoing document updates
Technologies we use
Who builds your project
Zeebrix was founded in 2017 by Emad Rashid, our Founder and CEO, and has delivered 200+ projects for 150+ clients. US clients work with our San Jose, California office (+1 650 713 6601) and Australian clients with our Perth, Western Australia office (+61 402 606 978). We are available 24/7 at info@zeebrix.com.
RAG Development Services: frequently asked questions
What does a RAG system cost to build?
A focused RAG assistant over a single document collection usually costs $18K to $35K. Enterprise systems that span multiple sources with access control and compliance review run $45K to $110K. The main cost drivers are the number of sources, how complex the access control is, and the accuracy you need.
How do you stop a RAG system hallucinating?
By combining grounding, refusal and evaluation. Answers are limited to the retrieved context, every claim carries a citation, and the system is tuned to decline when retrieval finds nothing relevant. The evaluation harness then scores grounding on every change, so we catch regressions before release instead of hearing about them from users.
RAG or fine-tuning: which do we need?
Use RAG for knowledge that changes or has to be cited. Use fine-tuning for behaviour, format and tone. If the system must answer from documents that get updated, you need RAG, because retraining every time a document changes isn’t practical. Many production systems use both: fine-tuning shapes how it responds, and retrieval supplies what it knows. Our RAG vs fine-tuning guide walks through the decision.
How much data do we need?
RAG works with whatever you have. Nothing is being trained, so there is no minimum amount of training data. It works over a hundred documents or a hundred thousand. Volume matters less than whether your documents actually contain the answers users will ask for.
Can RAG respect our existing permissions?
Yes, and it has to. Access control is enforced at the retrieval layer, so a user cannot pull a passage from any document they aren’t allowed to read. Filtering at the answer layer instead is a data leak waiting to happen.
Talk through your RAG project
A free 30-minute discovery call with one of our engineers in San Jose or Perth. You will leave with a clear scope and an honest view of the risks, followed by a fixed-price quote.
Book a free discovery call