Skip to main content
Large Language Models have a context window, which is the maximum amount of text they can process at once. This includes the prompt you send to the model, the previous chat history, as well as attached files (this is explained in this guide). To work efficiently with files, reduce the number of documents to the lowest number of files possible.

Chat attachment limits

In the web app, you can attach up to 50 files to one message. On mobile, you can attach up to 5 files to one message. Attachments share the model’s context window with your prompt and chat history, so include only the files you need.

Agents: 50 files

You can attach up to 50 files to an Agent’s Knowledge section. When the Agent has up to 20 documents, all are previewed directly in the model’s context. With more than 20 Agent knowledge documents, text documents remain available through file lists and file tools, while spreadsheets remain available for direct reading. Synced folder text can also use semantic search. To work with larger document collections, use a Knowledge base and add it to an Agent. In the Agent editor, select Add folders in the Folders row, then choose the Knowledge base. Cloud workspaces support up to 1,000 files. Dedicated deployments use their configured limit. Knowledge bases are fully searchable.