Topic 1 of 5 · 4 min read
What assistants actually read from files
Goal: Predict which parts of an uploaded PDF, spreadsheet or scan an assistant can actually read and what it might miss.
When you upload a file, the assistant does not see the file the way you do. It sees text pulled out of it, sometimes plus pictures of the pages, and anything that does not survive that step is simply not there.
Check yourself · 1 of 3
You upload a scanned PDF of a contract. It is only photos of paper pages. What is the most likely problem?
Why it matters
People upload a 90-page PDF and ask "what does the table on page 41 say?" The answer sounds sure. But the assistant may have only the plain text of that page, where a table has turned into a jumble of numbers in a row. Or it may have nothing at all, if the page was a scan. The assistant rarely says so. It answers anyway.
How files are read
Most tools use one or both of two methods:
- Text extraction. The tool copies out the text layer of the file. This is fast and cheap. It works well for ordinary typed documents. It loses layout, so columns can merge, tables can flatten and footnotes can land in the middle of a sentence.
- Page images. Some tools also turn each page into a picture, so the model can look at charts, diagrams and table layout. This helps with visuals, but it uses more of the model's working space, so tools may do it only for short files or only when asked.
Check the help page of your tool to see which one it uses for which file type. The Claude and ChatGPT upload pages, and the Claude PDF page, describe this.
Parts that are often lost
- Scans and photos of paper. A scanned PDF is just pictures. With no text layer, extraction returns nothing, unless the tool runs text recognition (OCR) or reads the images.
- Charts and diagrams. The numbers behind a bar chart are not in the text. If only the text is read, the chart is invisible.
- Tables. Row and column links break when flattened.
- Headers, footers, comments and tracked changes. These may be dropped or mixed into the body.
- Very long files. Some tools cut the file after a limit and do not tell you.
Before and after
Before: "Here is the annual report. What was the revenue growth shown in the chart on page 12?"
If the chart is an image and only text was read, the assistant may guess from nearby sentences.
After: "Here is the annual report. First, tell me what you can read on page 12: list the headings, any table text and whether you can see the chart. Then give the revenue figures for each year in the chart. If you cannot see the chart, say so."
The second prompt makes the assistant report what it has before it answers.
What goes wrong
- You trust a confident answer about a part the assistant never received.
- You upload a scan and get a summary built only from the file name and a few stray words.
- You assume a file that opened fine for you was read in full.
A simple habit fixes most of this: ask the assistant to describe what it can see in the file before you ask your real question. Models sometimes invent content to fill a gap, so a check up front is cheaper than finding the error later.
Examples
Check the read before the question
Before: "Summarise the lease I attached."
After: "I attached a lease. Before summarising, tell me how many pages you can read, whether any pages look like images with no text, and list the section headings you can see. Then summarise only what you could read, and name anything you could not."
The second version turns a hidden gap into a visible one.
A scanned invoice
A user uploads a phone photo of a paper invoice and asks for the total. The assistant replies with a total that is not on the page. The photo had no text layer and the tool did not read the image, so the number was a guess. Asking "quote the line where you found the total" would have exposed the guess.
Key points
- An assistant reads text extracted from a file, and sometimes page images, not the file as you see it.
- A scanned PDF has no text layer, so without OCR or image reading the assistant may get almost nothing.
- Charts, flattened tables, footnotes and headers are the parts most often lost or scrambled.
- A confident answer does not prove the assistant received the part you asked about.
- Ask the assistant to describe what it can see in the file before you ask the real question.
Common mistakes
- Assuming a file that opens for you was read in full by the assistant.
- Asking about a chart or table without checking the assistant can see it.
- Uploading a scan and expecting the same result as a typed document.
- Not asking the assistant to name what it could not read.
Check yourself · 2 of 3
Which part of an uploaded report is most likely to be lost when only the text is extracted?
Check yourself · 3 of 3
You want to know if the assistant really received page 41 of a long PDF. What is the best first step?
Practice items, not counted towards your mastery.
Start here
- Upload files to Claude (Claude Help Center) (opens in a new tab)DocsFree
Anthropic's page on what file types Claude accepts and how it reads them.
- Uploading files and audio to ChatGPT (OpenAI Help Center) (opens in a new tab)DocsFree
OpenAI's page on file uploads, including limits and how spreadsheets and images are handled.
- Retrieval augmented generation (RAG) for projects (Claude Help Center) (opens in a new tab)DocsFree
Explains how project knowledge switches to retrieval of passages when it grows large.
More for this topic
- PDF support (Claude docs) (opens in a new tab)DocsFree
Shows how a PDF is read as both text and page images, and why scans and charts behave differently.