How a RAG chatbot works
A language model on its own only knows what it learned in training. It does not know your return policy, your product specs or last month's process change. RAG fixes that by adding a search step. Your content is split into passages and indexed. When a user asks a question, the system finds the most relevant passages and gives them to the model along with instructions to answer only from that material.
The result is a chatbot that can say "according to the warranty policy, section 3..." and link to it, and that says it does not know when your content has no answer. Updating its knowledge means updating your documents, not retraining a model.
Where most RAG projects succeed or fail
Building a basic RAG demo takes an afternoon. Getting reliable answers on real questions is where the engineering goes. Most failures trace back to retrieval, not the model: the right passage was never found, so the model answered from a near miss.
| Problem | Symptom | What we do |
|---|---|---|
| Poor chunking | Answers miss conditions stated a paragraph later | Split by document structure, keep headings and context with each chunk |
| Vocabulary mismatch | User says "refund", docs say "return credit" | Hybrid search combining keyword and semantic matching, plus query rewriting |
| Too many near-duplicates | Old and new versions conflict | Metadata for version, date and status; filter out superseded content |
| Tables and PDFs | Numbers come back scrambled | Dedicated parsing for tables, scanned documents and spreadsheets |
| No measurement | Nobody knows if a change helped | A test set of real questions with expected answers, scored on every change |
RAG chatbot pricing
| Focused knowledge chatbot | From $2,000 | One content source such as a help center, website chat widget, cited answers |
|---|---|---|
| Production support or internal assistant | Typically $6,000-$15,000 | Several sources, hybrid search, evaluation set, handoff and analytics |
| Permission-aware enterprise knowledge base | Typically $15,000-$25,000+ | Per-user access control, many connectors, audit logs, self-hosting options |
Fixed price after scoping. Model, vector database and hosting usage are billed separately and depend on volume.
What we build
- Ingestion pipelines for help centers, websites, PDFs, Google Drive, SharePoint, Notion, Confluence, product databases and ticket histories, with scheduled re-syncs
- Retrieval using a vector database such as pgvector, Pinecone, Qdrant or Weaviate, chosen for your scale and hosting needs, plus reranking for precision
- Answer generation with OpenAI, Claude or open models, instructed to cite sources and decline when unsupported
- Access control so an internal chatbot only retrieves documents the signed-in user is allowed to see
- Interfaces on your website, inside your app, in Slack or Teams, or on WhatsApp
- Handoff and analytics: unanswered questions are logged, routed to a person and used to show where your documentation has gaps
RAG versus fine-tuning versus a long prompt
RAG is not the only way to give a model your knowledge. If your content is short, a few pages of policy, it can simply go into the prompt, and modern models with large context windows make that viable for more cases than before. Fine-tuning changes how a model writes or classifies but is a poor way to teach it facts that change, and it does not give you citations.
RAG is the right choice when content is large, changes regularly, must be cited, or must respect per-user permissions. We will recommend the simplest option that meets your accuracy target.
Common RAG chatbot use cases
Customer support is the most common: a chatbot that answers from your help center and policies, resolves routine questions and passes the rest to an agent with context. Internal knowledge assistants are close behind, answering staff questions about HR policies, SOPs, product specs or past project files. Other builds include sales assistants that answer technical questions from datasheets, compliance helpers that find the relevant clause in long regulations, and in-product help that answers from your documentation and the user's own account data.
How we work
- 01
Audit the content
We review your sources for gaps, contradictions and formats that need special parsing.
- 02
Write the test questions
We collect real user questions with correct answers to measure accuracy from the start.
- 03
Build and tune retrieval
We index content and tune chunking, search and reranking until retrieval finds the right passages.
- 04
Launch with monitoring
We release the chatbot, log unanswered and low-confidence questions, and review them with you.
Frequently asked questions
What is a RAG chatbot?
It is a chatbot that searches your own content for relevant passages and gives them to a language model to answer from. This keeps answers specific to your business and lets the bot cite where the answer came from.
Does a RAG chatbot still hallucinate?
Much less than a model answering from memory, but it can still happen, usually when retrieval finds the wrong passage. We reduce it with better retrieval, strict instructions to answer only from sources and a test set that catches regressions.
Can it keep sensitive documents private?
Yes. We filter retrieval by user permissions so people only get answers from documents they can access. For strict requirements we can host the vector database and model within your own cloud account.
How does the chatbot stay up to date?
Ingestion runs on a schedule or whenever content changes, so edits to your help center or documents are reflected without retraining anything.
How long does RAG chatbot development take?
A focused chatbot on one source takes two to three weeks. Production assistants with several sources, evaluation and handoff usually take five to ten weeks.