Documents

Open in CMS

The Documents screen lists the files your agent uses as references when it answers, and is where you upload new ones. Found in the agent sidebar under Knowledge → Documents. Clicking a document opens its detail page.

Documents list

Search documentsFinds documents by title as you type.
FiltersOpens the panel with the sort order and the filters. Clear all resets them.
List and grid toggleSwitches between a compact list and thumbnail cards. Your choice is remembered.
Add documentOpens the side sheet to add one or several documents.
Document card or rowShows the thumbnail, the title, the code and author, how many chunks are active (for example "12 of 12 active chunks") and a status badge. Click it to open the detail page.
Status badgeInitial, Processing, Pending, Active, Inactive, Activating, Deactivating, Reactivating, Cancelled, Failed or Deleted.
Load moreLoads the next page of documents. A line under the list says how many are shown.

Filters

Sort bySorts the list by Title, Code or Status, ascending or descending.
StatusLimits the list to one status (for example Active or Failed).
AuthorLimits the list to one registered author.
CodeFinds documents by code.

Add document: File and How it's processed

The Add document side sheet has three cards: File, Details and How it's processed. The Details card appears once a file is chosen.

FileThe file to upload (required). Click Choose files or drop it on the card. It is stored temporarily and deleted after training finishes. Choose several files to add them in one go.
Before you uploadTips for a good source file: plain text is preferred, the allowed file types are listed, remove page headers, footers and page numbers, and repeat table headers on each page.
How it's processedHow the document is split into chunks (required). Options: Automatic, Legal documents, Short fact sheets, Long structured content and Fast and basic.
Processing settingsA fold under the cards with the settings of the chosen mode. If a setting is invalid, an error appears under the field until you fix it.
FooterShows what is still missing, for example "Still needed: an author". Add document turns on when everything is filled in.

Add several documents

Choose or drop several files in the File card. We recommend up to 5 at a time.

File listOne row per file, each with its own Title and Author. Author for all sets the same author on every row.
Details for allThe permissions and the processing mode apply to every file. A code is made for each document, and the cover stays the default.
SkippedA file with a type that is not allowed is skipped, with the reason. The others go on.
RetryShown on a row that failed.
Summary and DoneWhen the batch ends, a summary shows how many were uploaded, failed or skipped. Done takes you to the list.

Processing modes

AutomaticAI-powered, and recommended. Analyzes the document structure and picks the best approach. Use it when you are not sure of the document type.
Fast and basicSplits the document into balanced sections while keeping the flow connected. Fast and low cost, but simple.
Long structured contentFor long, hierarchical documents such as books, manuals or multi-chapter reports. Keeps chapters and sections, and can summarize sections that contain sub-sections.
Legal documentsFor legal and compliance documents. Follows the legal structure (for example one article per section) and keeps related provisions together.
Short fact sheetsFor short documents of about 1 to 3 pages. Keeps the original layout and captures charts with their explanations.

Processing settings

The settings depend on the selected mode. In Add document you can change them; on a processed document they are read-only.

AI modelThe AI that reads your content (Automatic, Long structured content, Legal documents, Short fact sheets). For Legal documents, only AI models that accept PDF and TXT files are listed.
Section sizeFast and basic only. How much text goes into each chunk. Measured in tokens: 100 tokens is about 75 words. Smaller chunks (200 to 400 tokens) find precise answers, larger ones (600 to 1000) keep more context.
Repeated content (%)Fast and basic only. How much content each chunk shares with the next one. Higher values give smoother flow but more chunks and cost.
Start page / Finish pageThe page to start from and the last page to include. Leave Finish page empty to process until the end.
Excluded pagesAutomatic only. Types of content the AI should leave out when structuring the document. Type a custom entry and press Enter.
Use summarizationLong structured content only. Adds short summaries to higher-level sections. May add credits.
Keep small sections separateLong structured content only. When on, small sections are not merged into larger ones.
Minimum / Maximum section sizeLong structured content, and Automatic under Advanced settings. When small sections are merged, and how large a section can get. 100 tokens is about 75 words.
Use full AI enrichmentAutomatic only (Advanced settings). On: every section goes through AI enrichment, which may improve retrieval but costs more and takes longer. Off: only sections that reference others are sent.
Maximum sections for AI enrichmentAutomatic only. The most sections sent to AI enrichment. Leave empty for no cap.
Repeated pagesAutomatic and Long structured content. Pages repeated when a long document is split, to keep context.
Document type hintAutomatic only. Optional hint such as "product manual". Leave empty for auto-detection.
Table as plain textFast and basic and Long structured content. Treats tables as plain text. Turn it off only for documents with many complex tables.
Skip image analysisFast and basic and Long structured content. When on, images are ignored, which saves time and cost. When off, images are described by AI.
AI model for imagesThe AI that describes images. Always shown for Automatic; for Fast and basic and Long structured content only when Skip image analysis is off.

Details

TitleThe main name of the document (required). Filled in from the file name at first.
AuthorA registered author, shown as code and name (required). Authors are managed under Citations → Authors.
CodeYour own unique identifier for the document (required), for example P02. The CMS suggests one.
Cover, source and permissionsA fold with the optional fields below.
Thumbnail SourceChoose URL (paste an HTTPS image link and click Preview) or Upload (pick an image file).
Document sourceA link to the original source or reference location.
PermissionsPermission codes that restrict this document to authorized users only.
Add documentCreates the document and starts processing. If references are turned off for the agent, you are asked whether to enable them.

Document detail

Current statusThe status of the document and the number of active chunks.
View chunksOpens Chunks filtered to this document.
Chunking processThe chunking state, with a View log button.
View logOpens the Chunking Log with a refresh button and an Auto Refresh option while processing runs.
Document previewShows the uploaded file for PDF, TXT and Markdown documents.
EditingTitle, Author, Code, thumbnail, source and Permissions can only be edited while the document is Inactive.

Detail actions

The buttons in the page header depend on the document's status.

DeactivateShown when the document is Active. Stops the agent from using it.
ActivateShown when the document is Inactive. Puts it back into use.
RetrainShown when Inactive. Lets you choose a new processing mode and settings, then Retrain replaces all existing chunks.
Retrain as newAvailable in retrain mode. Copies the document and processes the copy as a new document. The Code must differ from the original.
DeleteShown when Inactive. Deletes the document after confirmation.
Cancel chunkingShown while the document is processing. Stops the processing.
Retry chunkingShown when processing was Cancelled or Failed. You confirm by typing the document title.
Purge documentShown for Deleted, Failed or Cancelled documents. Removes it permanently after you type the document title.

Related guide: Documents