Documents
Open in CMSThe 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 documents | Finds documents by title as you type. |
| Filters | Opens the panel with the sort order and the filters. Clear all resets them. |
| List and grid toggle | Switches between a compact list and thumbnail cards. Your choice is remembered. |
| Add document | Opens the side sheet to add one or several documents. |
| Document card or row | Shows 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 badge | Initial, Processing, Pending, Active, Inactive, Activating, Deactivating, Reactivating, Cancelled, Failed or Deleted. |
| Load more | Loads the next page of documents. A line under the list says how many are shown. |
Filters
| Sort by | Sorts the list by Title, Code or Status, ascending or descending. |
| Status | Limits the list to one status (for example Active or Failed). |
| Author | Limits the list to one registered author. |
| Code | Finds 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.
| File | The 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 upload | Tips 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 processed | How the document is split into chunks (required). Options: Automatic, Legal documents, Short fact sheets, Long structured content and Fast and basic. |
| Processing settings | A 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. |
| Footer | Shows 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 list | One row per file, each with its own Title and Author. Author for all sets the same author on every row. |
| Details for all | The permissions and the processing mode apply to every file. A code is made for each document, and the cover stays the default. |
| Skipped | A file with a type that is not allowed is skipped, with the reason. The others go on. |
| Retry | Shown on a row that failed. |
| Summary and Done | When the batch ends, a summary shows how many were uploaded, failed or skipped. Done takes you to the list. |
Processing modes
| Automatic | AI-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 basic | Splits the document into balanced sections while keeping the flow connected. Fast and low cost, but simple. |
| Long structured content | For long, hierarchical documents such as books, manuals or multi-chapter reports. Keeps chapters and sections, and can summarize sections that contain sub-sections. |
| Legal documents | For legal and compliance documents. Follows the legal structure (for example one article per section) and keeps related provisions together. |
| Short fact sheets | For 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 model | The 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 size | Fast 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 page | The page to start from and the last page to include. Leave Finish page empty to process until the end. |
| Excluded pages | Automatic only. Types of content the AI should leave out when structuring the document. Type a custom entry and press Enter. |
| Use summarization | Long structured content only. Adds short summaries to higher-level sections. May add credits. |
| Keep small sections separate | Long structured content only. When on, small sections are not merged into larger ones. |
| Minimum / Maximum section size | Long 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 enrichment | Automatic 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 enrichment | Automatic only. The most sections sent to AI enrichment. Leave empty for no cap. |
| Repeated pages | Automatic and Long structured content. Pages repeated when a long document is split, to keep context. |
| Document type hint | Automatic only. Optional hint such as "product manual". Leave empty for auto-detection. |
| Table as plain text | Fast and basic and Long structured content. Treats tables as plain text. Turn it off only for documents with many complex tables. |
| Skip image analysis | Fast 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 images | The AI that describes images. Always shown for Automatic; for Fast and basic and Long structured content only when Skip image analysis is off. |
Details
| Title | The main name of the document (required). Filled in from the file name at first. |
| Author | A registered author, shown as code and name (required). Authors are managed under Citations → Authors. |
| Code | Your own unique identifier for the document (required), for example P02. The CMS suggests one. |
| Cover, source and permissions | A fold with the optional fields below. |
| Thumbnail Source | Choose URL (paste an HTTPS image link and click Preview) or Upload (pick an image file). |
| Document source | A link to the original source or reference location. |
| Permissions | Permission codes that restrict this document to authorized users only. |
| Add document | Creates the document and starts processing. If references are turned off for the agent, you are asked whether to enable them. |
Document detail
| Current status | The status of the document and the number of active chunks. |
| View chunks | Opens Chunks filtered to this document. |
| Chunking process | The chunking state, with a View log button. |
| View log | Opens the Chunking Log with a refresh button and an Auto Refresh option while processing runs. |
| Document preview | Shows the uploaded file for PDF, TXT and Markdown documents. |
| Editing | Title, 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.
| Deactivate | Shown when the document is Active. Stops the agent from using it. |
| Activate | Shown when the document is Inactive. Puts it back into use. |
| Retrain | Shown when Inactive. Lets you choose a new processing mode and settings, then Retrain replaces all existing chunks. |
| Retrain as new | Available in retrain mode. Copies the document and processes the copy as a new document. The Code must differ from the original. |
| Delete | Shown when Inactive. Deletes the document after confirmation. |
| Cancel chunking | Shown while the document is processing. Stops the processing. |
| Retry chunking | Shown when processing was Cancelled or Failed. You confirm by typing the document title. |
| Purge document | Shown for Deleted, Failed or Cancelled documents. Removes it permanently after you type the document title. |
Related guide: Documents