File Upload
Upload and analyze local files in Glean Chat with support for documents, spreadsheets, presentations, and code files
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
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.
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:
Model | File Limit | Size Limit |
---|---|---|
128K Models | 5 files | 64 MB |
32K Models | 4 files | 32 MB |
8K Models | 2 files | 16 MB |
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:
- Navigate to the Assistant section in workspace Settings
- Locate the File Upload toggle
- 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.
Related Features
- Data Analysis for Spreadsheets
- File Creation and Export to cloud storage services (GDrive, OneDrive)
Future Development
Was this page helpful?