Skip to content

Adding sources

A knowledge source is a set of documents Baseerah answers from. There are two types: uploaded files and a website. A source keeps its type; to use the other type, create another source.

Owners, admins and knowledge managers can add and change sources. Auditors can see them but not change them.

  1. In Admin, open Sources and choose New source.
  2. Enter a Name and, if you like, a Description.
  3. Choose the Type.
  4. Choose Who can read it: everyone, chosen groups, chosen people, or No one yet. See Groups and who can see which source.
  5. Choose Create source.

On the source’s page, choose Upload files and pick one or more files. Each upload is ingested straight away. If a file has the same name as one already in the source, it is added with a number, such as notes (1).txt.

To take a file out, choose Remove beside it. Its document stops appearing in answers once the source is ingested again, which starts by itself.

See Supported files and scanned documents for formats and limits.

Choose how Baseerah finds the pages:

  • From its sitemap: every page the sitemap lists on its host. Enter the Sitemap address, such as https://help.example.com/sitemap.xml.
  • By following links from start pages: enter up to 10 Start pages, one per line, and how many Links deep to follow (0 to 5; 0 reads only the start pages). Baseerah follows links on the same host, under each start page’s folder. A home page reads the whole site.

Only public https:// pages are read, and the site’s robots.txt is obeyed. Each plan sets how many pages a website source reads; the form shows your plan’s limit. The Free plan has no website sources.

A website source is read again every day by itself. In answers, citations from it link to the page they came from.

Ingestion is how Baseerah reads a source’s documents and makes them searchable. It runs in the background, so you can leave the page and come back.

The source’s page shows the last ingestion: Waiting to start, Ingesting, Finished or Failed, with its progress. When it finishes, it shows how many documents were added, updated, removed, unchanged and skipped. The document list shows each document as Waiting, Ingested or Failed, with the reason for a failure.

How long it takes depends on how many documents there are and how long they are. Unchanged documents are not read again. While a document is being updated, its previous version stays searchable.

Ingestion starts by itself when you add or remove a file. To read a source again yourself, choose Ingest now on its page. New and changed documents are added, and removed ones are removed.

If some documents failed, fix the cause (for example, upload a copy without a password) and choose Retry failed. It ingests every document that isn’t ingested yet.

  • Under Searchable, switch a source to Disabled to stop using it in answers. It keeps its documents, and you can enable it again.
  • Delete removes the source. Its documents stop appearing in answers straight away. This can’t be undone in the app.