Knowledge
Your agent answers from documents you upload. This is what happens to one, and why the answer can still be wrong.
Why a document has to be cut up
A model cannot be handed your whole handbook for every question — it would be slow, expensive, and worse at finding the relevant line. Instead each document is split into passages, each passage is turned into a list of numbers that captures its meaning, and a question finds its answer by looking for the passages whose numbers are closest.
The actual numbers
| Passage size | 300 words |
|---|---|
| Overlap between passages | 50 words — so a sentence split across a boundary still appears whole in one of them |
| Passages used per answer | 5, the closest to the question |
| Embedding model | gemini-embedding-001 |
| Index | HNSW on cosine distance, in Postgres via pgvector |
| Formats | PDF, Word (.docx), plain text (.txt), Markdown (.md), and tables as CSV or Excel (.xlsx) |
| Largest single file | Your plan's file size, and never more than 20 MB |
Uploading
In the dashboard, open Resources and add a file. A document belongs to the app, not to one agent: the agent that uploads it owns it, and other agents in the same app can be given a read-only share of it without it counting twice — see Shared storage.
What is refused at the door
Every check below runs before the file is stored, so a refused upload leaves nothing behind. The message you see says which one it was:
| A type we do not read | Anything outside pdf, docx, md, txt, csv and xlsx. An old .doc is refused — save it as .docx first. |
|---|---|
| Too large | Over your plan's file size. The message names the limit. |
| Over your allowance | The app already holds as many documents as your plan allows, or this file would take the total size past it. |
| No text in it | A PDF made from scans or photographs has no text layer, so the agent would have nothing to answer from. |
| Damaged or locked | The file could not be read — password-protected, corrupt, or older than its extension suggests. |
| Caught by the virus scan | The message names what the scanner found. |
After it is accepted
The file appears in the list straight away, and is turned into searchable passages in the background. A short file is ready in a moment; a long one takes longer, and your uploads queue behind each other if you add many at once. If indexing fails you get a notification, and the document stays listed so you can delete it and try again.
Tables are read as tables
A spreadsheet is not prose. A row like SB-204 | Oak sideboard | 1290 has nothing in it for meaning search to catch, and the row that answers “how much is the oak sideboard?” is found by matching a value. So a CSV or Excel file is stored as rows, with each column given a type — a column is a number only when every filled-in value in it is one, which is what makes “under £500” a safe comparison.
sku,name,material,price,in_stock
SB-204,Oak sideboard,oak,1290,yes
DT-110,Oak dining table,oak,1850,yes
CH-031,Pine kitchen chair,pine,145,no
BS-012,Walnut bookshelf,walnut,640,yes| The description | File name, columns, row count and two example rows — enough for the agent to know the table exists and what a value looks like. |
|---|---|
| The first 500 rows | Each indexed as its own passage, so “how much is the oak sideboard?” finds its row directly, in any language. |
| Every row | Reachable through a built-in query_table tool that filters by column — equal, not equal, greater or less than — and returns at most 20 rows per call. |
TipA table needs a header line
price, not col_F — because the agent filters by those names.Why an answer can be wrong
Three different failures look identical to a visitor, and only one is the model's fault.
| The document was wrong | An agent repeats an out-of-date price as confidently as a current one. It has no way to know. This is the most common cause by far. |
|---|---|
| Retrieval missed | The answer exists, but the question was worded so differently from the passage that it was not among the five closest. Adding an FAQ phrased the way customers actually ask fixes more of these than any setting. |
| The model blended two passages | Two similar policies retrieved together can be merged into a third that matches neither. Rarer, and the reason a single authoritative document beats five overlapping ones. |
WarningDeleting a document does not un-say it
NoteIf the agent keeps saying it does not know
What your plan limits
Plans cap the number of documents, the size of each file and, where your plan sets one, the total size of everything you hold — all counted across the app, not per agent. None of them caps how many questions those documents can answer.
TipOne thorough handbook beats fifty thin pages