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.

Upload happens once. Search happens on every message.

The actual numbers

Passage size300 words
Overlap between passages50 words — so a sentence split across a boundary still appears whole in one of them
Passages used per answer5, the closest to the question
Embedding modelgemini-embedding-001
IndexHNSW on cosine distance, in Postgres via pgvector
FormatsPDF, Word (.docx), plain text (.txt), Markdown (.md), and tables as CSV or Excel (.xlsx)
Largest single fileYour 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 readAnything outside pdf, docx, md, txt, csv and xlsx. An old .doc is refused — save it as .docx first.
Too largeOver your plan's file size. The message names the limit.
Over your allowanceThe app already holds as many documents as your plan allows, or this file would take the total size past it.
No text in itA PDF made from scans or photographs has no text layer, so the agent would have nothing to answer from.
Damaged or lockedThe file could not be read — password-protected, corrupt, or older than its extension suggests.
Caught by the virus scanThe 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.

harbor-pine-prices.csv
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
Small tables are found like any passage. Every table can also be queried by value.
The descriptionFile 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 rowsEach indexed as its own passage, so “how much is the oak sideboard?” finds its row directly, in any language.
Every rowReachable 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

The first row is read as the column names, and a file with a header and no rows under it is refused. Name columns the way a customer would say them — 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 wrongAn 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 missedThe 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 passagesTwo 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

Removing a document stops it being retrieved from that moment. It does not edit conversations that already happened, and a visitor mid-chat may still be looking at an answer that came from it.

NoteIf the agent keeps saying it does not know

Check the document actually finished indexing — you are notified when one fails. After that, the usual cause is wording: search is by meaning, but meaning is approximate, and a question phrased nothing like anything you uploaded will find nothing close. Finding an answer goes through the fixes.

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

It costs one slot instead of fifty, and its passages carry more context each. Split by subject — delivery, returns, care — rather than by page count.