Paul · zelo · 22 · ex-42 school
Your knowledge base sits unused. A RAG chatbot changes that in 4 weeks.
Confluence, Notion, SharePoint, internal PDFs: your teams ask the same questions to support instead of searching the docs. A RAG chatbot (Retrieval-Augmented Generation) connects an LLM directly to your documents — it answers from your sources, cites its references and says "I don't know" when the information isn't there. I've deployed this architecture on 3 products in production. Here are the 4 pitfalls to avoid and how to get past them.
Four reasons internal chatbots fail
Most RAG projects stall in pilot — not because the technology doesn't work, but for these reasons.
-
Documents aren't prepared for indexing
A scanned PDF, an Excel spreadsheet, a Confluence page with images: the LLM can't read these directly. Without an extraction pipeline (OCR, table parsing, HTML markup cleaning), 40–60% of your knowledge base stays invisible to the chatbot. The result: answers that sound plausible but are based on a fraction of your actual documentation.
-
Vector search alone isn't enough
Cosine similarity on embeddings retrieves semantically similar passages — but not passages that match a precise query (a contract number, a date, a product name). Without hybrid search (BM25 + vectors), the chatbot systematically misses the precise factual questions that are exactly the ones your teams ask.
-
The chatbot hallucinates on gaps
An LLM without guardrails invents an answer when information is missing. In an internal context (HR, legal, technical support), a convincingly invented answer is worse than no answer at all. Without a confidence filter and explicit fallback ("this information isn't in my sources"), the chatbot loses user trust within days.
-
No evaluation loop
In the first weeks, the chatbot handles pilot test cases well. Two months later, documentation has evolved, users ask out-of-scope questions, and no one knows whether quality has dropped. Without automated evaluation (retrieval precision, answer faithfulness, user feedback), problems stay invisible until someone complains.
The RAG architecture that makes it to production
Four essential components — in build order.
-
Document ingestion pipeline
Structured extraction from all formats (PDF, DOCX, Confluence, Notion, HTML): OCR on scans, table parsing, markup cleaning. Chunking into coherent units (by section, paragraph or Q&A depending on format). Enriched metadata on each chunk: source, last updated date, author. This pipeline runs continuously — the index stays in sync with your documents.
-
Hybrid search (BM25 + vectors)
Each query goes through two engines in parallel: BM25 for exact matches (technical terms, proper nouns, references), embeddings for semantic similarity. Results are merged with Reciprocal Rank Fusion. The chatbot retrieves a contract number as well as a fuzzy concept. On Chatmately, this approach cut "no answer found" queries by 60% compared to vector-only search.
-
Guardrails and mandatory citations
The LLM receives only the retrieved passages — not its general memory. Every answer must cite its source (document title + direct link). If retrieval confidence drops below the threshold, the chatbot responds "I couldn't find this information in your documents" rather than inventing an answer. This explicit behaviour is essential for HR, legal and technical support use cases.
-
Automated continuous evaluation
Three metrics measured in real time: retrieval precision (are the retrieved chunks relevant?), answer faithfulness (is the answer grounded in the chunks?), user satisfaction (thumbs up/down). Weekly dashboard with the most-missed questions. When a document is updated, the pipeline reruns and the metric recalculates automatically.
3 products with RAG in production
Not demo code: commercial deployments with real users.
- Quia (quia.app): RAG on 200+ job-profile pages for apprenticeship — answers candidate questions with citations, 126+ indexed SEO pages.
- Chatmately (chatmately.com): RAG on French Labour Code (professional interviews) — strict legal guardrails, "I don't know" when out of scope.
- Unsaid (unsaid.click): RAG on YouTube transcripts — extracts factual claims and their sources in real time during playback.
- Common architecture: pgvector + BM25 + confidence guardrails + evaluation loop across all 3 products.
What I can do for your team
Three levels depending on where you are.
-
Short engagement · 2–4 weeks
RAG architecture
Design and implementation of the full pipeline: document extraction, vector + BM25 index, guardrails, citations, automated evaluation. Integration into your stack (Node, Python, Next.js). Team onboarding. 30-day async support. For teams who want a chatbot in production, not in pilot.
-
Extended engagement · 4–8 weeks
Full deployment
RAG architecture + user interface (web chat, Slack bot or integration in your internal tool) + evaluation dashboard + automated document update pipeline. End-to-end project management. For teams with no available internal resource for this initiative.
-
Ongoing · from €2,000/month
Monthly retainer
Continuous evaluation metric monitoring, guardrail tuning, pipeline updates as your documents evolve, out-of-scope question handling. For teams whose knowledge base evolves regularly and want to maintain chatbot quality.
Learn more: LLM in production → · AI consulting pricing →
FAQ
-
What's the difference between RAG and a standard GPT chatbot?
A standard GPT chatbot answers from the model's general memory — it can hallucinate on your specific context and its knowledge cuts off at a training date. A RAG chatbot retrieves relevant passages from YOUR documents before answering. The LLM only uses those passages and cites its sources. Answers are verifiable, grounded in your real documentation and automatically kept up to date.
-
Can you connect a RAG chatbot to Confluence, Notion or SharePoint?
Yes. All three have documented APIs. Confluence: REST API + space pagination. Notion: official API + webhooks for updates. SharePoint: Microsoft Graph API. The ingestion pipeline connects to each, extracts structured content and syncs the index automatically when documents change.
-
How do you prevent hallucinations in a RAG chatbot?
Two mechanisms: confidence guardrails (if the similarity score of retrieved chunks is below the threshold, the chatbot responds "I don't have this information" rather than inventing) and mandatory citations (every answer must point to a source passage, forcing the model to stay grounded in retrieved documents). Both mechanisms keep hallucinations below 2% on Chatmately and Quia in production.
-
Do you need a proprietary LLM (OpenAI, Anthropic) or can you use open-source?
Both work. For sensitive data (HR, legal, financial), an open-source model hosted internally (Mistral, Llama 3, Qwen) avoids sending your documents to an external API. For teams who want to move fast with less infrastructure, Claude or GPT-4o give better results on citation faithfulness. The choice depends on your data sensitivity requirements.
-
How many documents can you index?
No practical limit. pgvector + BM25 handle millions of chunks without issue. In practice, an average enterprise knowledge base (2,000 to 50,000 documents) indexes in a few hours. Indexing cost (API calls for embeddings) is negligible: around €2–10 per 10,000 documents with current embedding models.
-
How much does a RAG enterprise chatbot project cost?
A complete RAG architecture (ingestion pipeline, hybrid index, guardrails, evaluation) is €5,000–15,000. A full deployment with interface and integration into your internal tools is €15,000–40,000. The maintenance retainer starts at €2,000/month. Full pricing is on the dedicated page.
Build your internal RAG chatbot
Architecture, full deployment or retainer. Describe your knowledge base and use cases in a few lines.