Skip to main content

Understanding File Types and Sizes for Folios & Assistants

V
Written by Vy-Vy Nguyen
Updated over 3 weeks ago

File uploads are supported across our platform. The types of files you can upload vary depending on the area you’re using.

Folios

When using Folios the following file formats and sizes are supported.

Supported File Types for Folios

.doc, .docx, .pdf, .pptx, .md, .txt .c, .cpp, .cs, .css, .go, .html, .java, .js, .json, .php, .py, .rb, .sh, .tex, .ts

Recommendations for File Quantity and Size

Although there aren't any "soft caps" in place for the number of documents or pages per folio, there are hard limits you should be aware of:

  • File Size Limit: Each file can be up to 1GB.

For optimal retrieval quality and performance, we recommend including relevant files in your folios. This approach helps maintain the accuracy and efficiency of the information retrieval process. For instance, when creating a Folio for HR Policies, aim to include only documents directly pertaining to that subject for best results.

Assistants

When creating and managing Assistants, it’s important to understand which file formats are supported across different capabilities, such as Code Interpreter, File Search, Web Search, Web Summary, and Image Generation:

Each capability has its own requirements and compatible file types. Knowing these details helps ensure your Assistants can process and use files effectively, avoiding errors or unsupported uploads.

Use this guide to explore each aspect in detail and make the most of your Assistants:

Code Interpreter

Used for running code, analyzing data, and working with structured or text-based files. This tool also supports some compressed and image formats for more flexible workflows.

Supported Extensions:

.c, .cs, .cpp, .csv, .doc, .docx, .html, .java, .json, .md, .pdf, .php, .pptx, .py, .rb, .tex, .txt, .css, .js, .sh, .ts, .jpeg, .jpg, .gif, .pkl, .png, .tar, .xlsx, .xml, .zip, .webp

File Search

Lets you find and extract information from text or document files, using formats optimized for smooth and accurate search results.

Supported Extensions:

.c, .cpp, .cs, .css, .doc, .docx, .go, .html, .java, .js, .json, .md, .pdf, .php, .pptx, .py, .rb, .sh, .tex, .ts, .txt, .jpg, .jpeg, .png, .gif, .webp

Image Generation

Use these file types for image-based tasks, such as vision analysis, image understanding, or preview generation.

Please note: The Web Search and Web Summary Capabilities have the same supported file types.

Supported Extensions:

.jpg, .jpeg, .png, .gif, .webp

Summary Table

Capability

File Types Supported

Code Interpreter

.c, .cs, .cpp, .csv, .doc, .docx, .html, .java, .json, .md, .pdf, .php, .pptx, .py, .rb, .tex, .txt, .css, .js, .sh, .ts, .jpeg, .jpg, .gif, .pkl, .png, .tar, .xlsx, .xml, .zip, .webp

File Search

.c, .cpp, .cs, .css, .doc, .docx, .go, .html, .java, .js, .json, .md, .pdf, .php, .pptx, .py, .rb, .sh, .tex, .ts, .txt, .jpg, .jpeg, .png, .gif, .webp

Web Search

Web Summary

Image Generation

.jpg, .jpeg, .png, .gif, .webp

Each tool enforces its own validation to ensure compatibility and reliable processing for the given file types. Using the correct formats helps your Assistants run smoothly and make full use of their capabilities.

Did this answer your question?