Skip to content

AI assistant

Knowledge base

Add text, FAQs, websites and files to your AI assistant. How content is processed, how to test it and how to add new information later.

The AI assistant answers only from what you teach it here. The more complete your knowledge base, the more questions the AI assistant resolves on its own.

Source types

TypeWhen to use itLimits
TextA single topic, such as your return policy or shipping terms.At least 20 characters.
FAQQuestion-and-answer pairs. Each pair becomes its own section; this is the most accurate method.Up to 2,000 questions.
WebsiteYour help center or pages on your site.Up to 25 pages, including subpages.
FileProduct manuals, price lists, catalogs.PDF, DOCX, TXT, MD, CSV or HTML; up to 20 MB.
APIData that changes often: product catalog, stock, prices, branches, promotions. Pulled from your own system on a schedule.JSON response; up to 5,000 records, 10 MB.

Adding a source

  1. Step 1:
    In AI Studio › Knowledge base, click Add source.
  2. Step 2:
    Choose the Text, FAQ, Website or File tab.
  3. Step 3:
    Fill in the fields and click Add source (Add site for a website, Upload for a file).
  4. Step 4:
    The source first shows as Pending, then Processing, and becomes Ready within a few seconds.

Website

  • Enter a Web address (e.g. https://www.yoursite.com/help). If you leave out https://, we add it.
  • When Crawl all subpages is checked, the pages under the address you entered are read too (e.g. /help → /help/…, up to 25 pages). For the whole site, enter your home page address; for just that one page, uncheck it.
  • Blocks that repeat on every page (a promo bar, a slogan, a “try it free” box) are filtered out, so the same text never becomes two sections.
  • Menus, headers, footers and cookie banners are filtered out; only the content is kept.
  • If Title is empty, the page title is used.

API

  • API address: enter a GET address that returns JSON (e.g. https://api.yoursite.com/products). If authorization is required, add Authorization under Headers; values are stored encrypted and never shown in full again.
  • Path to the record list: if the records sit inside a field of the response, enter its path (e.g. data.products). If empty, the largest list is found automatically.
  • Title field: the field that holds each record's name (e.g. name). If empty, fields like name, title and ad are tried.
  • Each record becomes its own section and is read as “Field: value” lines; nested fields and lists are included too.
  • Use Preview before saving to see how many records were found and how the AI will read the first ones.
  • With Auto refresh, the data is pulled again every hour, every day (the default) or every week.
  • Only the Owner and Admin roles can add and edit API sources.

File

  • Drag in a file or choose one. If Title is empty, the file name is used.
  • In CSV files, each row is read as “Column: value”, which works well for product and price lists.
  • In Word documents (DOCX), the text is read; images and formatting are not.
  • Files are stored privately and can't be reached from a public address.

How is content processed?

Each source is split by its headings into sections of about 1,000 characters. When a customer asks a question, the AI assistant searches these sections and writes its reply based on the most relevant ones. If the direct match is weak, the question is turned into keywords and searched again. To see exactly what was read, choose View content from the source's ⋯ menu.

Testing the knowledge base

  1. Step 1:
    On the Knowledge base tab, type a customer question in the Test the knowledge base box (e.g. “How many days do I have to return an item?”).
  2. Step 2:
    Click Search. The most relevant sections the AI would find are listed with a similarity score.
  3. Step 3:
    If there are no results or the scores are low, add a source that covers the topic.

Adding and updating information

  • New information: just add a new source. The AI assistant starts using it as soon as it's Ready. If specific sources are selected in the AI assistant's Knowledge sources section, remember to tick the new one too.
  • Your website changed: website sources are re-read automatically at the frequency you chose (Hourly, Daily — the default — or Weekly). Click the source to change the frequency under Auto refresh, or choose Off. If the content hasn't changed, nothing is processed again; if the site is unreachable at that moment, the previous content stays in use. If you don't want to wait, choose Resync from the ⋯ menu.
  • API source: like website sources, it's pulled again automatically at the frequency you chose. If the address, headers or fields change, choose Edit from the ⋯ menu.
  • A file changed: delete the old source and upload the new file.
  • Text or FAQ changed: choose Edit from the source's ⋯ menu, make your changes and click Save. The content is processed again. (You can also use PATCH /ai/knowledge/:id through the API.)

Statuses and errors

StatusMeaning
PendingWaiting in line.
ProcessingBeing read and split into sections.
ReadyThe AI assistant can use it.
Couldn't readIt couldn't be processed. Hover over it to see why (e.g. no content could be extracted from the page). Try again with Resync.

When you delete a source, all its sections are deleted too, and no AI assistant can use that information any more.

Last updated: