Skip to main content

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 and metadata are stored in the chat sessions of users and are retained while the chat session is present in the history.

Supported File Formats

  • PDF
  • DOC
  • DOCX
  • Pages
  • XLS
  • XLSX
  • Numbers
  • PPT
  • PPTX
  • Key
  • CSV
  • JSON
  • XML
  • TXT
  • RTF
  • VTT
  • HTML
  • CSS
  • SCSS
  • SASS
  • Java
  • Python
  • JavaScript
  • TypeScript
  • JSX
  • TSX
  • C++
  • C
  • Jupyter Notebooks
  • SQL
  • Shell Scripts
  • Go
  • YAML
  • Log Files
  • JPG/JPEG
  • PNG
  • WebP

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 and metadata are retained while the chat session is present in history.

API Support

Developer platform customers can utilize our API for file uploads. Refer to 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 for file uploads are not supported beyond your configured chat history retention. You can ask users to disable chat session history or to manually delete chat sessions if you would like to delete files and 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

  • Support for larger file sizes
  • More robust support for PDFs
  • Improved data analysis for spreadsheets and CSV files
  • Support for multimedia files:
    • Video (mp4, mov, avi)
    • Audio (mp3)