Train the AI assistant
Give the AI assistant your FAQs, price lists and policies by pasting text, uploading files or adding a web page.
On this page
The AI assistant only states facts it finds in the material you add under What it knows. The more complete that material is, the fewer chats it hands to your team.
Before you start
- Any team member can add or remove knowledge.
- You can store up to 400,000 characters per workspace. The What it knows card shows how much you have used.
Paste text
- In the sidebar, under Automate, click AI assistant.
- In the What it knows card, click Add knowledge.
- Leave Paste text selected.
- Type a Title, for example
Delivery and returns. If you leave it empty, the first words of the text are used. - Paste or type the content in Text.
- Click Add knowledge.
Upload a file
- Click Add knowledge and choose Upload a file.
- Type a Title, or leave it empty to use the file's name.
- Under File, choose the file.
- Click Add knowledge.
You can upload these file types:
| Type | Ending | Notes |
|---|---|---|
.pdf | The PDF must contain real text. Scanned pages and password-protected PDFs cannot be read. | |
| Word | .docx | Old .doc files cannot be read. Save the document as .docx first. |
| CSV | .csv | The first row is treated as headings. Each later row is read as one record, with every value labelled by its heading. |
| Text | .txt | Plain text. |
| Markdown | .md | Plain text with Markdown marks. |
A file can be up to 5 MB. The limit shown under the File field may be lower if the server Chatilo runs on is set to accept smaller uploads.
Only the text is taken from a file. Pictures are ignored.
Add a web page
- Click Add knowledge and choose Web page.
- Paste the page's full address in Page address, for example
https://example.com/faq. - Type a Title, or leave it empty to use the page's own title.
- Click Add knowledge.
How pages are read:
- Only that one page is read. Links on it are not followed, so add each page you need separately.
- The page's text is copied once. If the page changes later, remove the old entry and add the page again.
- Menus, headers, footers, forms and scripts are left out.
- The page must be public and at most 3 MB. Pages behind a login and addresses on a private network cannot be read.
- Only text that is in the page itself is read. Content that a page loads afterwards with scripts is not seen.
After you add something
You see "Added. The assistant can use it straight away." The new entry appears in the list with its type, size, the number of chunks it was split into, and the date.
Check the result in the Try it box. See Test the AI assistant.
Remove or replace knowledge
Click the bin icon beside an entry, then Remove. The assistant stops using it straight away. Entries cannot be edited; to update one, remove it and add the new version.
Tips for better answers
For each question, the assistant is given the few passages from your knowledge that share the most words with the customer's message.
- Write the way customers ask. If they say "shipping", use "shipping" as well as "delivery".
- Keep each topic in its own short paragraph, with a blank line between paragraphs.
- State facts in full sentences: "We deliver across India in 3 to 5 working days."
- Put rules about behaviour, such as tone or things never to promise, in Instructions, not in the knowledge.
Common problems
"There isn’t enough text to learn from."
The text, file or page held fewer than 20 characters of readable text. For a web page, the content may be loaded by scripts; paste the text instead.
"That would go over the 400,000-character knowledge limit. Remove a document first."
Remove entries you no longer need, or shorten the new one.
"That file is larger than 5 MB. Split it into smaller files, or paste the text instead."
The size named in the message is the largest file your platform accepts. Split the file or paste its text.
"That file type isn’t supported. Upload a PDF, DOCX, CSV, TXT or Markdown file."
Save the file in one of the listed formats. For a spreadsheet, export it as CSV.
"Old .doc files can’t be read. Save it as .docx in Word and upload that."
Open the document in Word, choose to save it as a Word Document (.docx), and upload the new file.
"We couldn’t read the text in that PDF. It may be a scan or use an unusual format."
The PDF holds pictures of pages, not text. Upload the Word or text version instead.
"That PDF is password protected, so it can’t be read."
Upload a version without a password, or a DOCX or text version.
"That file isn’t a real PDF file, whatever its name says."
The file's content does not match its ending (the message names the type). Save it again in the right format and upload that.
"That CSV has no rows under its heading row, so there’s nothing to learn from."
The CSV needs a heading row and at least one row of data.
"That page answered with HTTP 404." (or another number)
The address is wrong, the page needs a login, or it redirects more than once. Open the address in a private browser window to check, and copy the final address.
"That address points to a private network and can’t be used."
The page is not reachable from the public internet. Paste its text instead.