Search documentation

Search guides, connectors and tools

Files

Files come up in three ways: files you attach to a message, files that agents create or save while they work, and file storage, where an agent or the whole organization keeps files between chats. Agents can search the files they keep.

Attaching files

Add files to a message from the attach menu next to the message box, by pasting them, or by dragging them onto the chat. In the desktop app you can also drop files from the Finder.

You can attach up to five files per message, each up to 10 MB. Which kinds of file a chat takes depends on its model:

  • Images (PNG, JPEG, GIF, WebP, AVIF, HEIC, HEIF, BMP and TIFF) on models with image input.
  • PDF files on models with PDF input.
  • Spreadsheets (.xlsx, .xls, .csv), Word documents (.docx) and PowerPoint presentations (.pptx) on models with the built-in document skills.

The attach menu only offers what the chat's model can take. A file that cannot be attached is named with the reason, and the other files are still attached.

Files in chats

Files show up in a chat as chips: the files an agent creates, the files a tool saves (for example an email attachment or a downloaded Drive file) and the files you attach. Each chip lets you preview the file or download it.

In the web app, previews open in a panel on the right. Drag its left edge to change the width, maximize it to fill the page, and close it when you are done. These files can be previewed:

KindFile types
PDF.pdf
Word.docx
Spreadsheets.xlsx, .xls, .csv
PowerPoint.pptx

PowerPoint previews are an approximation of the original layout. Other files, and very large ones, can be downloaded.

In the iPhone, iPad, Mac and Android apps, tapping a chip opens the file: in a preview on Apple devices, and on Android in an app on your device that can show it. The chip's download button saves the file where you choose on Apple devices and to your Downloads folder on Android. Files saved by a sub-agent do not show there yet; open the chat in the web app for those. Tapping an image opens it full screen, where you can share it or save it.

File storage

With the File Storage capability, an agent has a place to keep files between chats: reports it writes, attachments it saved from emails, images it generated, and files you give it. It can read, write and organize them in folders, and on a model with image input it can look at the images among them.

The settings button of File Storage in Agent Settings opens a choice of three:

  • Off: the agent has no file tools.
  • Agent's own files: the agent keeps its files in a folder of its own. No other agent and no organization chat can reach them.
  • Organization files: the agent works on the organization's files, together with your organization chats and everyone in the organization. It can read, change and delete everything there, also in runs nobody watches, so choose it for agents you trust with all of those files.

Changing an agent to or from Organization files leaves the files of its earlier chats where they were: their attachments, generated images and saved files show as missing in those chats. The settings ask you to confirm such a change.

The rest of this section is about an agent with its own files. To see them, open the agent and choose Files. Each file can be previewed or downloaded, and files and folders can be deleted. For an agent on Organization files, Files opens the organization's Files page.

To give an agent files, choose Upload files or drop files onto the list. Each file can be up to 25 MB:

  • images and PDF files,
  • spreadsheets, Word and PowerPoint files (.xlsx, .xls, .csv, .docx, .pptx),
  • text and data files (.txt, .md, .json, .xml, .yaml, .tsv).

Everyone in the organization can see and download an agent's files. Uploading and deleting needs the Editor or Admin role.

To point the agent at a particular file, type @ in a chat with the agent or in its instructions and pick the file. The list offers the files of an agent's own folder; for an agent on Organization files, write the file's path in the message.

Which file actions the agent may take, and which of them need your approval, is set below that choice, whichever files the agent works on.

Organization files

Every organization has one file storage that all of it shares. Organization chats work on it: the assistant can write, read and organize files there, and a file saved in one organization chat can be used in another. So do the agents set to Organization files. The own files of other agents are separate from it. On a model with image input the assistant can also look at a stored image, for example a picture it saved from an email.

A file the assistant saves appears under its reply, where you can preview or download it. The assistant asks for your approval before it deletes a file.

To see all of these files in the web app, open Chats and choose Files. The page shows one folder at a time: open a folder to look inside it, and use the path above the list to go back. Each file can be previewed or downloaded, and files and folders can be deleted.

To add files, open the folder they belong in and choose Upload files, or drop them onto the list. The file types and the 25 MB limit are those of an agent's files. New folder creates an empty folder in the one you are looking at. File and folder names can contain letters (accented ones too), digits, spaces and the characters . _ - ( ) + = @ ,.

The chats folder holds what each chat keeps for itself: the files attached to its messages, the images it created and the saved results of its tools, one folder per chat. You can open and download them, but nothing can be uploaded or created there.

Everyone in the organization can see and download these files, on the Files page or through an organization chat. Uploading, creating folders and deleting on the page needs the Editor or Admin role.

Your integrations work with these files too: the assistant can attach a stored file to an email draft or upload it to a connected service, and save an email attachment or a download here.

Searching files

An agent with file storage, and the assistant in an organization chat, can search the files it keeps. Just ask: "find the supplier contract", or "what do our files say about the refund policy?".

Every search looks at the names of files and folders. With file search turned on, it also looks inside the files and brings back the passages that fit the question best, with their page numbers. It finds them by what they mean as well as by their wording, in any language, in:

  • PDF files that contain text (not scanned pages),
  • Word, Excel and PowerPoint files (.docx, .xlsx, .pptx),
  • text and data files (.txt, .md, .csv, .json and similar).

An agent with its own files searches those, and an organization chat and an agent on Organization files search the organization's.

Turning file search on

File search is part of the Pro plan. An organization Admin turns it on: in the web app under Settings, in the File search card, or in the app's settings on iPhone, iPad, Mac and Android. It covers the organization's files and the own files of every agent.

Turning it on prepares every file already stored, and from then on each new or changed file as it is saved. A file can usually be found by its content within a minute of being saved; until then, and always, it can be found by its name.

What file search costs

  • Preparing a PDF, Word, Excel or PowerPoint file costs €0.015 per page, taken from your credit: a PDF page, 3,000 characters of a Word document, a spreadsheet tab or a slide. Saving a file again without changing it costs nothing; a changed file is prepared and charged again.
  • Text and data files are free.
  • Each search is a tool call like any other.

Limits

  • A file with more than 500 pages, a file over 25 MB and a text file over 2.5 MB is not searched by content. Images are not either.
  • An organization can have up to 1 GB of files prepared for search.
  • While there is no credit for a file's pages, the file waits and is prepared once there is.
  • A search by content brings back the most relevant passages, not every place a word appears.

Turning file search off stops searching inside the organization's files; they stay where they are and can still be found by name. Turning it on again prepares every file again and charges its pages again.