Skip to content
zelo Français

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

What I can do for your team

Three levels depending on where you are.

Learn more: LLM in production → · AI consulting pricing →

FAQ

Build your internal RAG chatbot

Architecture, full deployment or retainer. Describe your knowledge base and use cases in a few lines.

Discuss your project