Appearance
Document management
Admin only
Attach design notes, specifications, runbooks or business documentation to a System, and Nomain reads them alongside the code. Once they are read, the chat assistant can search and quote them just as it does the code.
Each System has a Document management tab on its detail page, visible only to administrators.
Uploading a document
- Open a System and select the Document management tab.
- Click Choose file and pick a file, or drag it onto the upload area. The file shows as a chip with its name and size, and the button changes to Replace file.
- Optionally, type a note in Add a description (optional): what the document is and why it matters. Nomain takes it into account when it reads the document, and the chat assistant sees it with the document.
- Click Upload document. You see "Document uploaded. It will be analysed shortly."


A description is context, not a substitute for the document: the summary still describes what the document itself says. You set a description at upload and cannot edit it. To change it, delete the document and upload it again.
Supported files
| Type | Extension | Limit |
|---|---|---|
| Plain text | .txt | 25 MB per file |
| Markdown | .md | 25 MB per file |
.pdf | 25 MB per file | |
| Word | .docx | 25 MB per file |
| Excel workbook | .xlsx | 25 MB per file |
| Excel workbook, macro-enabled | .xlsm | 25 MB per file |
| Excel workbook, legacy | .xls | 25 MB per file |
| Comma-separated values | .csv | 25 MB per file |
| XML | .xml | 25 MB per file |
- Upload one file at a time. Dropping several is declined with "Only one file can be uploaded at a time."
- File names must be unique within a System. A duplicate name fails with "A document with this file name already exists. Delete it first or rename the file."
- Other file types are rejected ("…is not supported. Allowed types: .txt, .md, .pdf, .docx, .xlsx, .xlsm, .xls, .csv, .xml."), and so are files over 25 MB.
.xlsband.odsare not accepted; save those as.xlsxfirst.
When a document becomes searchable
Nomain reads a document shortly after you upload it, without you starting anything. The run appears in the System's Job History, and the assistant can search and quote the document once it finishes. A Full refresh of the System also reads every attached document again.
- Diagrams and screenshots in Word and PDF files are read as well as their text: the first 20 readable images of a Word file, in document order, and the images on the first 20 pages of a PDF. A Word file's images in a format that cannot be read, such as some drawings and charts, are left out and do not count toward the 20. Images that are not read are missing from the document's summary, and a Word file's row says so, but search still covers the whole file.
- Text in a scanned PDF is not recognized, so the assistant cannot search or quote it.
- Spreadsheets, CSV and XML are kept as they are, with no summary. A workbook is searchable sheet by sheet and a CSV by its rows, so an answer can quote the entry you asked about. Macros in a macro-enabled workbook are not run.
- The assistant can search and quote the whole document. For a very long prose document, the summary Nomain writes covers only its opening part, and the document's row says so once it has been read. For a large XML file, search matches on its opening stretch, and a very large one is read only in part. The document row says which applies.
To use a file in one conversation only, attach it in chat instead. A document uploaded here is available in every chat about the System.
Viewing and removing documents
Attached documents are listed newest first. Each row shows the file name, description, size and upload date, and any notice from the last analysis.
- Click the download icon to save a copy of the original file.
- Click the delete icon and confirm with Delete to remove the document from the System. It is no longer included in analysis, and you see "Document removed."
Related
- What to bring to Nomain: which documents are worth attaching, and what each one adds.
- Running system analysis: refreshing a System by hand.
- Chat: the assistant that searches and quotes your documents.
- Business processes: process documents also drive the business-process view.