How to train an AI chatbot on your own documents
Updated · 5 min read
A chatbot is only as good as what it knows. The fastest way to make it useful is to give it the documents you already have (your price list, FAQ, policies, menus, brochures) and let it answer from them. Here's how to do that in Chatty4All, and how to check it's answering correctly.
What to give it
Start with the documents that answer the questions customers ask most:
- Prices, packages and what's included
- Opening hours, locations, parking and contact details
- Policies: shipping, returns, refunds, cancellations
- Product or service descriptions, and your FAQ page
File types: PDF, Word (.docx), plain text, Markdown, CSV, JSON and HTML. In the Knowledge section you can also add images (PNG, JPG, WebP), such as a photo of a menu or a price board.
Option 1: Let the AI write the assistant from your documents
At the top of Teach it, Describe your assistant turns your documents into a complete setup:
- Write a few sentences about the job it should do and who it talks to.
- Upload up to five documents.
- It reads them closely (this can take up to a minute) and proposes the job and voice, instructions, business facts, guardrails, and a greeting with quick replies.
- It also lists what's not in your documents yet: questions a customer would likely ask that your files don't answer.
- Tick the parts you want to keep. Ticked parts replace what's set now, and you can put your previous settings back.
The documents are also added to its knowledge, so it can look up details later.
Option 2: Add sources to its Knowledge
Under Teach it → Knowledge you can add three kinds of source:
- Your website. Give it an address and it reads that page and the main pages it links to. You can also list specific page addresses, one per line.
- Files. The documents and images above.
- Notes. Anything that isn't written down anywhere else, like “we close early on public holidays”.
Before answering, the chatbot searches these sources for what's relevant, and it sticks to what it has been told rather than guessing.
Test it like a customer would
Use the test chat in the editor. After Describe your assistant runs, it suggests questions to try; send one to the test chat with a click. Also try:
- A question your documents answer exactly (“How much is the monthly plan?”)
- A question they answer only partly (“Can I bring my dog?”)
- A question they don't cover at all, to check it says so and hands over instead of inventing an answer
When an answer is wrong or missing, fix the source: add the fact as a note, or upload the document that covers it.
Keep it up to date
After you publish, your dashboard shows every conversation, grouped into topics, with the questions it couldn't answer flagged. Check it weekly, add what's missing, and remove documents that are out of date, so old prices don't linger.
New to Chatty4All? Start with how to add an AI chatbot to your website without code.