Company documents
Chatting with company documents in aimo: collections and who sees which, how the pipeline works, the two rules that keep them safe, and your own uploads.
Checked against the running product on 25 November 2026
aimo can answer questions from your organisation’s documents: Office files, PDFs and scanned paper. Documents are kept in collections, and each collection is readable only by the people it is granted to. This page explains how to use a collection, what happens to a document on its way in, and the rules that keep it safe.
Using a collection in a chat
Type # in the message box and pick the collection, or use + → Attach Knowledge. Then
ask your question. The passages of the collection that best match it are given to the model,
and the answer cites the documents they came from.
- You see only the collections granted to you, through your groups — see Users, groups and access. A collection you cannot see cannot be attached.
- Ask in the words the documents use. In aimo’s standard configuration, search combines meaning with exact words, so a part number, an error code or a proper name finds the passage that contains it.
- Pick a model on your own hardware — see the rules below.
How the pipeline works
- The document is read. Its text is extracted, with OCR for scanned pages; aimo’s standard configuration reads Turkish and English.
- It is split into passages.
- Each passage is turned into a vector by an embedding model, through the same governed gateway as chat. Which model that is, is your installation’s choice.
- The vectors are stored in the workspace’s own database.
- When you ask, the passages closest to your question are found and put in front of the model, stamped as document context.
Where the embedding model runs matters. On an installation with its own GPU servers it is normally a model on those servers, so document text does not leave your premises to be processed. An installation without them uses a hosted embedding model, and the text of every document is then sent to that provider. Ask your administrator which applies before you load sensitive material.
The two rules that keep documents safe
- Retrieved passages stay on your own hardware. Every passage carries a stamp the policy
engine recognises. Where your administrator has policy checks switched on for aimo, a
request that carries stamped passages may be answered only by models on your own hardware:
your organisation’s pool models, whose ids have no prefix and are not
claude-…, andOP/models where your installation treats them as internal. Sent to an external model, it is refused with a ⛔ answer; switch to one of those models. The same applies to a web page the model opened, and to results from internal systems your administrator has marked as sensitive. - Access is by group. Each collection is granted to groups, and you belong to a group either through a role your identity provider gives you, refreshed at every sign-in, or because a document curator added you by name.
The knowledge base explains the stamp and the rule behind it in policy guardrails.
Uploading your own files
A file you attach to a chat with + → Upload Files belongs to you and to that chat; it is not added to any collection.
- A small file is sent whole. If its text is up to 60,000 characters, the whole text goes to the model with every turn, so questions about the whole file — totals, charts, every row — work.
- A larger file is searched like a collection, and the matching passages are sent.
- Every turn costs tokens. A whole file is sent again with each message, about 15,000 tokens for one at the limit — see Limits and usage.
When a spreadsheet uploads but the assistant cannot see it
The model receives a file’s text, never the file: the code interpreter runs elsewhere and cannot open your upload. If the text comes out empty, the model is left with a file name. The symptom is an assistant that writes code to open the file, fails, and apologises about file access.
| Format | What happens |
|---|---|
An ordinary .xlsx |
Read normally |
Strict Open XML Spreadsheet .xlsx (Excel offers it just below the normal format when you save) |
The standard reader finds no sheets; aimo’s fallback recovers the text in a chat |
A legacy .xls |
The document reader has no support for it; aimo’s fallback recovers it in a chat |
A legacy .xls, .doc or .ppt in a collection |
Not read. Save it in the modern format before it is loaded |
Save spreadsheets as an ordinary .xlsx, or export them to .csv, and the problem does not
arise. If a file still cannot be read, the assistant says so and asks for another format.
Limits to plan for
- A document that takes too long to read cannot be used. A very large scanned PDF is the usual case; the document administration dashboard marks it failed and says so. Split it, then load the parts.
- Changing the embedding model means re-embedding every collection.
- Document chat costs tokens. The passages retrieved for each question are added to the request, typically one to a few thousand tokens.
For administrators: collections and curators
Collections are created, filled and granted on the platform’s document administration dashboard, where your installation runs it. A curator creates a collection, uploads and deletes its documents, and chooses from the directory who may read it. The dashboard then makes aimo match: the collection, its group, the group’s members and the read grant.
- A collection with nobody mapped is visible to aimo administrators only. That is the default for a new one, and archiving a collection returns it to that state.
- A person who has never signed in stays pending, and gains access after their first sign-in.
- Uploads are processed in the background. A file is stored first and read afterwards, so it shows as pending for a while.
- Do not edit the dashboard’s groups in aimo. Their names start with
rag-, they are exempt from the sign-in group sync, and the dashboard overwrites any change made in aimo. - Do not press Save on the Documents settings page — see Administration.