Manual · Chapter 6 · Part B Knowledge

Documents

Purpose

The collection view is the workbench for your content: here you see what is indexed, start runs, process, deactivate and clean up. Anyone who knows what is listed here can trace every answer of the chat back to its source.

Where

In the collection rail, open Collection. At the top are the data sources as tabs, with the key figures per tab: documents of the source, chunks of the collection, crawl depth, max. pages.

The collection view with tab, key figures, indexing and jobs

Indexing and jobs

The Indexing box starts the run according to the configuration of the data source. Below it, a single URL can be indexed, for a quick test or a straggler. The options in the box apply to this one run only and do not overwrite the data source:

OptionMeaning
Automatic language detectionDetects the language of each page while crawling.
Overwrite dataAlso re-fetches pages that appear unchanged.
Which content to indexAs in the data source, but for this run only.

Every run appears in the Jobs list with type, status, progress and last message. A failed job shows the errors per address, for instance a page that could not be reached. Completed jobs can be removed from the list.

The document list

The document list with search, selection and actions
ColumnMeaning
Proc.Selection for “Process” and “Delete”.
ActiveToggle: a deactivated document is kept, but is used neither in the chat nor in the search.
Title, URLThe title from the page, below it description and address.
Statuscrawled: fetched, not yet in the index. indexed: in the index. failed: error, reason in the column next to it.

Above the list: Search by title or address, Extended search with filters by status and language, Intelligent search by meaning across the content. Select all selects across all pages of the list.

Process

Process extracts the selected documents, splits them into chunks and computes the index. Necessary after every crawl and after every change to the indexing prompt. While a run is in progress, the list shows the progress per document without reloading.

More actions

The box “More actions”
ActionMeaning
Clean upRemoves documents that no longer exist in the source, and orphaned leftovers.
Check for changesRe-fetches the pages and indexes only those that have changed. The freshness guard does this regularly by itself (Chapter 15).
TranslateCreates missing language versions and translates them, for files that are linked from several languages.
Run OCRRe-reads documents with text recognition that were processed without OCR in the first run.

Deactivate instead of delete

A deleted document comes back with the next crawl. A deactivated one stays in the list but is invisible to chat and search, and the next crawl respects that. Deactivating is therefore the right way for pages that do exist but should not appear in the answers.

Copy

The page “Copy” with selection and target collection

Copy in the rail transfers documents to another collection: title, text and file, not the index. In the target collection the documents then have to be processed. Only documents in languages that the target collection carries are copied; if a data source of the same type is missing there, it is created with the same settings. Figures travel along with their document, including the description already generated.

Frequently asked questions

A document shows “failed”. The “Reason” column names the cause, usually an address that cannot be reached or a file without readable text. Fix it, then select the document and process it.

The number of chunks is much higher than the number of documents. That is normal: long pages and PDFs produce many chunks. Each one is found individually.

The chat doesn’t know about a change although the document has been re-indexed. Clear the chat cache in the rail. dAI Pro remembers answers to identical questions.

See also