Skip to main content

The bot's knowledge: pages, files and questions with answers

What the bot answers from — pages of your site, files and your own questions and answers — how to add, check, refresh and remove them, how missed questions become answers, and what the bot does not see.

M
Monfri Team
Updated ·5 min read

For each question the bot looks through what you gave it and answers from the closest passages. You give it three kinds of knowledge: pages of your site, files, and questions with answers.

Open the bot → Knowledge. This bot’s knowledge lists every source with its kind, how many parts it was cut into (Parts), when it was last read (Updated) and its status. Admins add and change sources; other roles only see them.

  • While a source is read, its status says how far it got — Reading the site 12/25, Reading, Learning 40 parts — and Waiting before it starts. When reading failed, the reason is under the source.
  • Parts next to a source shows the parts the bot learnt from it — the text it searches when it answers; for a large source, the newest 200.

Prices, stock and orders are not knowledge — a store bot reads them live: Store data, orders and products.

Add a page or your whole site

Type an address in the https://… field and press Add a page.

  • The address of one page — for example https://shop.bg/dostavka — teaches that page.
  • Your site's address — https://shop.bg — teaches up to 25 of its pages. The bot takes them from the site's sitemap, content pages before product lists; without a sitemap it follows the links from the home page.
  • A sitemap's address (ending in .xml) — up to 25 pages from it.

The store template finds the policy pages itself — delivery, returns, payment, FAQ, contacts, terms, warranty, sizes — and adds each one.

Upload a file

Upload file takes PDF, DOCX, TXT, CSV and MD files of up to 24 MB. Every file is checked for viruses before it is read. The bot learns the text: a scanned PDF without a text layer has nothing to read. A file cannot be refreshed — remove it and upload the new version.

Follow the learning

Each source shows a status:

Status Meaning
Waiting queued, or its text is being extracted
Reading the site reading the site's pages, with how many are done
Learning storing the text for search
Ready the bot answers from it
Failed nothing was learned — see below

The list refreshes by itself while a source is being read.

  • Resync (on a page or a site) — reads it again. Do it after you change your site; the bot does not notice changes by itself.
  • The bin — removes the source and everything learned from it.

Questions and answers

Questions and answers are ready answers. The bot learns from them as from your pages. When it runs without AI — a trial that ended, a limit passed — it gives such an answer word for word when a question clearly matches; these answers and the menu are then all it has.

  1. Add Q&A starts a new list; Edit opens an existing one.
  2. Change a Question or Answer, delete one with the bin, or add one with Add a question.
  3. Save — Saved — the bot learns it within a minute.

A question can be up to 500 characters and an answer up to 4,000, up to 200 pairs in a list. Keep at least one; to remove them all, remove the list with the bin.

The store template comes with 18 answers about orders, delivery, returns and payment. Text such as {{shop.return_days}} in them is filled from Shop data — do not replace it with a number.

Fill the gaps

The questions the bot could not answer are collected in Analytics → Knowledge gaps; Add answer puts your answer into one of the bot's lists. In Chats, a conversation the bot closed has Add the missing answer in its Review tab; those answers go to a list called Answers added from chats.

Strict or flexible

Behaviour → How it answers:

  • Flexible — its knowledge first, general knowledge for the rest.
  • Strict — only from its knowledge; otherwise it says it does not know and offers to connect the visitor with someone from the team.

What the bot does not see

  • pages behind a login, and text that appears only after the page runs scripts;
  • text inside images;
  • changes to your site since the last Resync;
  • more than 25 pages from one site address — add the other pages one by one.

If something doesn't work

The source says Failed

The site did not answer or refused the reader, or the page has no readable text. Open the address in a browser, fix it if needed and press Resync.

The file is not accepted

The file is not PDF, DOCX, TXT, CSV or MD, or it is over 24 MB — save it as one of these types or split it.

The file has no readable text

For example a scanned PDF without text. Export the document with its text, or upload a Word version.

The file was blocked

The virus check found a threat. Check the file on your computer.

The bot gives an old answer

Press Resync on the page that changed, and check that your questions and answers do not still say the old thing.

More in Knowledge and store data

Help

Store data, orders and products: what a store bot reads

The store facts the bot states and how to change them, how it finds an order and searches products, the tools it may use, the demo store, and updating a bot from the template.

Read →
Help

What Assistant does: the chatbot, its pages, roles and limits

Assistant is the chatbot for your website and Telegram — what it answers, where your team takes over, the Dashboard, who can do what, what the plan allows and what the bot does without AI.

Read →
Help

Your first chatbot: create it, test it, switch it on

Create a bot from the online shop template, the company website template or blank, test it in the Test panel and on your real site where only you see it, then switch it on for every visitor.

Read →
Help

Bot settings: the bot's tabs, behaviour, handover and the Test panel

The bot's page tab by tab — the settings that decide how it answers (name, language, instructions, strict or flexible, AI or menu), when it hands over, the Test panel, the history of changes and deleting a bot.

Read →
Help

Skills: support, advisor, invitations to chat and loyalty

The four skills of a store bot — what each does, which are on from the start, the invitations and when they appear, and the loyalty settings with the VIP coupon.

Read →
Help

Menus and procedures: the flow editor

Build a scripted conversation — messages, questions, buttons, branches, a lookup, another procedure, a hand-over — test it, publish it, and how the store template's seven flows work.

Read →

Didn't find your answer?

Write to us and tell us what you were trying to do.