Overview

File Upload enables users to upload and analyze local files directly in Glean Assistant, Public Knowledge, and Apps. This feature allows users to query, summarize, and generate content from uploaded files. The upload limits vary based on the model used in your Glean instance.

File content is stored in users’ chat sessions for 24 hours, while file metadata is retained within the chat session for up to 30 days before deletion. Files are not added to your corpus and remain accessible only to the uploading user.

Supported File Formats

Key Features

File Upload

Users can upload up to 5 files directly from their local computer, with each file having a maximum size of 64 MB.

Real-Time Querying

Query the text content of uploaded files immediately after upload for instant analysis.

Document Metadata

The chat UI displays document metadata including title and file type for easy reference.

File Management

1

File Deletion

Users can delete uploaded files before submitting their first query. After query submission, files can only be removed by deleting the chat session history.

2

Retention Policy

  • File content is retained for 24 hours
  • File metadata persists for 30 days after chat session creation

API Support

Developer platform customers can utilize our API for file uploads. Refer tzo our API documentation for details.

Security and Privacy

Security Features

  • Files are parsed and scanned for malware before storage
  • Malware-infected files trigger upload errors

Privacy Features

  • Uploaded files are only accessible to the uploading user

Upload Limits

The maximum file size and number of files allowed per session depends on your model:

ModelFile LimitSize Limit
128K Models5 files64 MB
32K Models4 files32 MB
8K Models2 files16 MB
Minimum file size for upload is 1 KB

Known Limitations

  • Multi-media support for video and audio files is not available. Files outside of the supported file types above cannot be uploaded.
  • Custom data retention policies are not supported beyond default 24-hour content and 30-day metadata retention. You can ask users to disable chat session history or to manually delete chat sessions if you would like to delete metadata sooner.
  • Optical Character Recognition (OCR) must be enabled for scanned PDFs to work properly - contact Glean support if you experience issues

Enabling File Upload

To enable file upload for all users:

  1. Navigate to the Assistant section in workspace Settings
  2. Locate the File Upload toggle
  3. Enable the feature

File Upload is disabled by default for existing customers (as of GA on 9/24) but enabled by default for new customers.

File Upload Settings 1

File Upload Settings 2

File Upload Settings 3

Future Development

Looking for the original version of this page? You can find the archived version here.