Preparing your content
Most of the quality of a retrieval-based assistant is decided before anyone asks it a question. CustomerBot can be trained on four kinds of source:
- Website pages. Paste a URL, fetch its links and tick the pages worth training on. Re-crawl whenever the content changes.
- PDFs. Manuals, policies, price lists and spec sheets. The uploader accepts PDF only, so convert Word files first or paste their text.
- Pasted text. For anything unpublished, such as delivery areas or a policy that lives in an email.
- Q&A pairs. Your most common questions, answered in your own words.
The knowledge base holds 5 MB on the Free plan and 40 MB on paid plans. You will run into the quality of your content long before its size.
Six things to do before you train
- 1Start with the help centre, not the marketing site. Marketing copy is written to persuade and retrieves badly. Documentation is written to inform, which is what retrieval needs. Add policies, pricing, delivery and returns pages next.
- 2Give every procedure and policy its own heading. Retrieval returns passages, not pages, and a passage split mid-procedure or stripped of its conditions cannot produce a correct answer. Chunking: why your bot answers the wrong section explains why, with a rule of thumb: a passage should be the smallest span of text that answers a real question without needing its neighbours.
- 3Keep conditions next to the rule they qualify. “Refunds are processed within five days” and “annual plans only” belong in the same paragraph, or the assistant will quote the first without the second.
- 4Remove contradictions. Two pages with two different refund windows means the assistant picks one, more or less at random. Update or delete the stale page.
- 5Write Q&A pairs for your twenty most common questions, in the words customers actually use. In CustomerBot these take priority over crawled pages when both answer the same question.
- 6Check what could not be read. Some pages block crawlers or render everything with JavaScript. CustomerBot labels those “AI summary” in the training list; replace them with pasted text or a PDF so the assistant has the real content.
You only need to write in one language. The assistant detects the language of each question and replies in it, drawing on the content you already have; multilingual chatbot explains how that works and where quality tails off. For the full walkthrough, read how to train a chatbot on your website and, if your answers live in documents, the PDF chatbot guide.