Knowledge documents
Upload documents, follow background processing, and search them semantically from chat.
Knowledge documents are files that agents (and the search page) can retrieve by meaning, not just by filename. PDF, Word, PowerPoint, Excel, CSV, Markdown, HTML, and plain text are accepted; legacy .doc, .ppt, and .xls are converted automatically.
How it works
flowchart LR
U[Upload] --> BE[Pinter BE]
BE --> GCS[(File asli + hasil)]
BE --> JOB[Parser job]
JOB --> D[Docling]
JOB --> Q[(Qdrant vektor)]
U -.-> L[List: processing]
Q -.-> S[Search / agent]
- Upload completes instantly. As soon as the file is sent, the dialog closes and the document appears in the list with the status Processing. Parsing runs in the background — you are free to navigate to another page; the list and detail views update the status periodically.
- The parser processes the document. The file is downloaded from storage and converted (Docling) — including OCR for scans and tables — then split into structure-aware chunks: each chunk knows its source page, section heading, and intact table blocks.
- Each chunk is embedded into a 3072-dimension vector and stored in Qdrant. The document is marked Completed once all chunks are indexed.
- Semantic search. Agents and the search page convert the question into the same kind of vector, then look for the most similar chunks — restricted to documents you are allowed to access.
Document status
| Status | Meaning |
|---|---|
| Uploaded / Processing | The file is stored; the parser is working. Visible in the list, but not yet usable. |
| Completed | Chunks are ready to be searched and the document can be attached to an agent. |
| Failed | Parsing failed; the reason is shown in the detail view (e.g. encrypted/corrupt PDF, too many pages, document with no text). A failed document can be deleted or re-uploaded. |
Viewing parsing results
Open a document from the list:
- File Preview shows the PDF with a parsed layout overlay. Hover over a block to see its type (heading, text, table) and content; click a block to highlight the related chunk in the Chunk tab.
- Chunk shows the text pieces that are actually sent to search, complete with their source page numbers.
- Metadata & Tag for description, category, and keywords.
Sharing and permissions
A document is always private to the uploader. The owner can open up access through the Share Access dialog:
- Visibility —
private(owner + grant recipients only) orinternal(the whole organization; only L1 Admins can choose this). - Per-recipient permission —
view(read only),use(read + download + attach to agents), ormanage(edit metadata, manage sharing, and delete). Each person/group can have a different level. - Expiry — access is revoked automatically after 1 hour, 1 day, 1 week, or 1 month.
- Recipients — specific users or role groups.
Access is re-checked when opening a document, searching, and when an agent is built — permission revocation takes effect without re-uploading.
Folders
Only L1 and L2 can upload documents. L3 (Agent Designer) and L4 (Navigator) cannot upload.
Documents are organized in folders like Google Drive. Use Upload files in the sidebar to upload into the currently open folder, and the + button next to FOLDERS (or a folder’s three-dot menu) to create a folder or subfolder. Documents and folders can be dragged into other folders.
- Deleting a folder does not delete its documents: their contents are moved to the parent folder.
- A new folder is private to its creator until it is shared.
Collections
A Collection groups documents that are often used together (e.g. all SOPs), so they only need to be shared or attached to an agent once. Open the Collections view in the sidebar.
- Create a collection from the Collections view, then add documents through a searchable picker. Only documents that you own (or all documents if you are an L1 admin) can be added — this prevents collections from being used to re-share other people’s documents.
- Create a collection from a folder: a folder’s three-dot menu → Create collection from folder. All documents in that folder and its subfolders that you can manage become one collection. A collection is a snapshot of membership at the time it is created; documents uploaded to the folder afterwards are not added automatically.
- Sharing a collection gives recipients view-only access to all documents in it (no download and no attaching to agents), using the same sharing dialog as documents. Collection visibility is only
privateorinternal; there is no anonymous public link. - Only the collection creator or an L1/L2 admin can edit, share, or delete a collection.
Attaching a collection to an agent
In Agent Designer, open the Assets section → Collection (or the Collection tab in the asset picker). All documents in the collection become the agent’s knowledge (retrieval mode) and always follow the collection’s current contents: documents that are added or removed take effect immediately. Only the collection creator or an L1/L2 admin can attach it. Agent search is still restricted to documents that may be used — view-only access through a collection never becomes use permission.
MCP endpoint
L1/L2 admins can open the MCP menu on a document or collection to get a dedicated URL that MCP clients (Claude, Cursor, etc.) can use with a personal Pinter API key:
/mcp/knowledge/document/<document-id>/mcp
/mcp/knowledge/collection/<collection-id>/mcp
Each URL can only access the document or collection it points to. Available tools: get_scope_info, read_document, search_documents, and list_documents. Document contents can be read by anyone who has view access to that document.
Word preview
.docx files are displayed in their original formatting (headings, tables, images, page breaks) in the Preview tab. If the file cannot be rendered, its text is shown instead. Legacy .doc files only show the parsed text.
Tabular documents (CSV / Excel)
Tabular files are processed in two passes: a column statistics summary (type, null, average, min, max) and the data rows. The document detail view shows a table preview (Parsed and Raw tabs, with a separate tab for each Excel sheet), and agents get two dedicated tools: reading the table schema (get_table_schema) and running read-only SQL (query_table) — e.g. “average Sales per Month” is answered from the actual data, not from text.
Tips
- Scanned PDFs are fully supported through OCR, but take longer (can reach several minutes for dozens of pages).
- Documents that are still Processing cannot be selected in the agent knowledge picker — wait for the Completed status.
- Delete documents you no longer use: their chunks, vectors, and original files are deleted too.