User guide

Knowledge base

What the agent answers from: how to add files, websites and text, how to follow their status and keep them up to date, and what to do when the agent does not know something that is there.

Where to find it and how the agent uses it

Open Knowledge Base from the menu, which takes you to AI Agent, on the Knowledge base and memory tab.

The agent searches your knowledge on every reply by itself, with nothing to turn on. It is designed not to state a fact about your business (a price, a policy, a time) that has no source in your knowledge or in the result of one of its actions, such as product data from your store. When it cannot find the answer, it tells the customer honestly or hands the conversation to a person, and it does not guess.

Three ways to add knowledge

Press Add Source and choose:

  • Upload Documents: PDF, DOCX, TXT, CSV or XLSX, up to 25 MB per file.
  • Add Website URL: one page or the whole website.
  • Write Knowledge: write your business information and policies directly.

Uploading files

Choose the file and press upload. Indexing goes through three stages shown on screen: transferring the data, then extracting the text and splitting it into small chunks, then preparing it for search and saving it into the agent's memory. When it finishes, you see Indexing completed successfully.

A PDF that is made of pictures (scanned) is read with text recognition. Clear text and tables are easier to read than pictures.

One page or the whole website

  • Single Page: write the page address and its content is read.
  • Whole website: write the site address or its sitemap (sitemap.xml) and press Add website. Its pages are read and refreshed once a day. New pages are added and deleted pages are removed without any action from you.
  • Website Crawl / Sitemap: press Discover to see the pages the system found, then Select All or Deselect All or pick particular pages, and press Index Selected Pages.

The language of website pages

Some websites show a version in the visitor's own language. The platform asks for the Arabic version first and then the English one. If you want a page in a particular language, add its explicit address, such as the one starting with /en/ for the English version.

The agent searches in the customer's language and in your knowledge's language together, so it finds the answer even when the customer writes in a language other than your knowledge's. Still, having your main information in your customers' most important languages gives clearer answers.

Writing text

Pick one of the Quick knowledge templates: Business hours, Shipping rates and areas, Return and warranty terms, or Frequently asked questions (FAQ). Each template has blanks between square brackets. Fill each bracket with your real information before saving, because the agent repeats what is saved.

Format with AI organises your text (it needs at least 10 characters), and Clean Symbols removes stars and technical symbols. You can switch between Edit and Preview. Read the result before saving.

Write only the facts of your business in knowledge: prices, policies and products. The agent's style and behaviour belong on the Identity and instructions tab.

Managing sources

The list shows all your sources. You can search it, or filter by All, Files, URLs or Text.

  • Edit: change a source's name or content, and it is indexed again when you save. A clear name helps you recognise it later.
  • Refresh now on a website source: reads it again at once. A website card shows how many pages it has, how many pages could not be read, and the last update.
  • Delete: asks you to confirm, and removes the source from the agent's memory permanently.

Source status

Each source shows a status: Indexed and ready, In processing and still being read, or Failed. If a source fails, press retry indexing, and if it keeps failing check the file or the link. Above the list are counters: Indexed Sources, Chunks (the small pieces your knowledge was split into), In Processing and Health Rate.

What updates by itself and what does not

Website sources are read again every night, and pages that changed are updated.

Files and written text are not read again automatically. When a file changes, upload the new version and delete the old one, otherwise the agent may find two conflicting facts.

The agent does not know something that is there?

Check these in order:

  • The source status is Indexed. If it is In processing, wait a minute. If it is Failed, try indexing again.
  • The information is written as text. Information inside a picture in a file, or on a page that needs a login, may not be read.
  • The website page really appears among the sources. If it does not, add it as a single page or use Discover.
  • You have not changed the text on your side without refreshing: refresh the website source, or upload the new version of the file.
  • There are not two conflicting copies of the same fact. Delete the old one.
  • Write it the way your customers ask, for example: How much is shipping to Jeddah? with the answer in the same sentence.
  • Try the question in the Playground and check the sources used in the session report.

Tips for good knowledge

  • Give each topic its own source with a clear title: prices, shipping, returns, working hours.
  • Write numbers and conditions in full: Delivery is free for orders over 200 riyals, and takes 24 hours inside Riyadh.
  • Write frequently asked questions as a question and its answer.
  • Add only current services, products and prices, and review your knowledge whenever your prices or policies change.
  • Never put passwords, card details or any secret in it.