Turn Docs, Websites & PDFs Into a Zero-Hallucination RAG Chatbot
Combine D1 FTS5 lexical matching, Cloudflare Vectorize semantic embeddings (@cf/baai/bge-m3), a 2-step Durable Object crawler, and clickable citations in every answer.
Pure vector search frequently misses exact error codes, CLI flags, API endpoints, and product names—while naive web scrapers pull navigation boilerplate into your index. Zervice solves both by merging D1 FTS5 BM25 keyword precision with 1024-dimensional Vectorize semantic recall via Reciprocal Rank Fusion (RRF), backed by a human-reviewed 2-step doc crawler and 0-Neuron caching for instant repeat answers.
Four-Layer Retrieval & Caching Architecture
Every question moves through fast, cost-controlled stages designed for technical accuracy rather than guesswork.
Pinned FAQs and auto-promoted recurring questions match cleanly without invoking LLM inference, returning verified answers with clickable follow-up chips.
Executes exact keyword search (great for SKU numbers, error codes, and symbols) in parallel with semantic vector retrieval, fusing rankings cleanly with automatic fallback.
Step 1 discovers pages across your documentation site; Step 2 lets you select exactly which URLs to crawl into clean Markdown chunks before indexing.
Displays source links directly in the widget when verified chunks support an answer, and refuses ungrounded topics cleanly without surfacing unrelated links.
Pure Vector RAG vs. Zervice Hybrid RAG
Technical documentation mixes conceptual prose with exact identifiers. Hybrid retrieval ensures neither breaks.
| Capability | Typical Vector-Only Chatbot | Zervice Documentation RAG |
|---|---|---|
| Exact Error Codes, Flags & APIs | Often missed or blurred by dense embeddings alone | D1 SQLite FTS5 BM25 guarantees exact lexical matching |
| Synonyms & Conceptual Queries | Handled via embeddings | 1024d @cf/baai/bge-m3 Vectorize merged via Reciprocal Rank Fusion |
| Multi-Page Site Crawling | Opaque scrape often indexing nav bars & footers | 2-Step Durable Object crawler: discover -> review URLs -> clean HTML extraction |
| Chunk Inspection & Maintenance | Hidden black-box chunks | Expandable inline chunk viewer, download, replace, rename & 1-click re-crawl |
| Frequent Question Cost & Speed | Every message triggers full embedding + LLM call | 0-Neuron Hot Question shortcut resolves repeat FAQs in <15ms |
| Out-of-Scope Declines | May hallucinate or attach random top-k links | Explicit safe refusal while suppressing unrelated source citations |
From Documentation URL to Verified Answers in 4 Steps
Keep your knowledge base transparent, inspectable, and easy to refresh as your product evolves.
Discover or Upload
Enter your docs root URL to discover subpages via the Durable Object crawler, or upload Markdown, text files, and /llms.txt.
Select & Cleanly Extract
Review the discovered URL tree, deselect changelogs or marketing fluff, and extract structured Markdown with headings preserved.
Index Chunks & Hot FAQs
Inspect generated chunks inline in the Knowledge Base console and promote top recurring questions to the 0-Neuron cache.
Test & Monitor
Ask follow-up questions (condensed with conversation history), inspect cited sources, and track retrieval performance.
Common Questions About Documentation RAG Chatbot
How does follow-up question handling work in multi-turn chats?
Can I refresh documentation after a product release?
What happens if the user asks something not in my docs?
Do I have to manage a separate Pinecone or Qdrant subscription?
Continue Exploring Zervice
See how deployment sovereignty, Hybrid RAG, and guarded workflows fit together.
Cloudflare BYOC Self-Hosting
Keep all indexed docs, chunks, and chat transcripts inside your Cloudflare account.
Visual Dialog Flows & Guarded Actions
Combine RAG answers with deterministic booking, triage, and webhook steps.
Zervice vs. Chatbase
See how Zervice Hybrid RAG and 0-Neuron caching compare against SaaS chatbots.