Skip to main content
Neural Factory’s AI agents cannot find a new document straight away. It is processed in the background first: its text is read (with OCR for scans and images, see Scanned documents), split into passages and added to the search index. The statuses on the knowledge base pages tell you how far this has come, and whether something went wrong.
Who: anyone who can open the knowledge base · Where: Knowledge bases list, a knowledge base’s page, a data source’s page · Works on: Enterprise and SaaS

Is my document ready?

Open the data source and look at the document’s Status. When it says Processed, agents can find it, and its Processed Date is filled in. The knowledge base page and the data source page refresh on their own every 10 seconds, so you can leave them open while you wait. The Knowledge bases list does not: reload it to see a new status.

Status of a data source

The Status column of the knowledge base’s Data Sources table shows: A warning sign next to the status means the last sync finished with a warning, for example that no files were found, or that files were skipped because of your plan’s page allowance. Hover it to read the warning. The source’s own page shows the same reason in a Sync Error or Sync Warning banner.

Status of a knowledge base

The Status column of the Knowledge bases list, and the badge next to the knowledge base’s name, show: The Indexing Status card on the knowledge base page shows the share of documents processed. It says “All documents indexed” at 100% and “Indexing in progress” below that. Before there are documents, it says “No documents to index”, with “Add a data source to get started” or “Waiting for data sync”.

How long it takes

Most documents take a few seconds to a few minutes. These take longer:
  • large files and long documents;
  • scanned PDFs and images, because their text has to be recognised first;
  • many files at once, since documents are processed in batches;
  • the first sync of a large SharePoint library or Drive folder.

When processing fails

A document that fails is tried again on its own, up to three attempts in all. If every attempt fails, the data source and the knowledge base show Error. The document itself stays in the list as Processing, without a Processed Date.
1

Check the format

Only the types listed in File uploads can be processed.
2

Check the file

Open it on your computer to make sure it is not damaged. Password-protected or heavily formatted PDFs may fail. Try saving the content in a simpler format.
3

Upload it again

Delete the document, then upload it again.

Deletion failures

A document you delete shows Deleting until it is fully removed. If the removal is interrupted, it is tried again on its own, by default after 30 seconds and then after 2 minutes. The document stays in Deleting meanwhile. If the third attempt fails too, the document shows Deletion failed in red. Hover it to read “This document could not be deleted. Delete it again to retry.” Part of its content may already be gone from search. Delete it again to finish the removal: this starts a new set of attempts. When a whole data source or knowledge base is being deleted, the removal of its documents keeps retrying until it succeeds.