File
variables and array[file]
variables support the following file types and formats:
File Type | Supported Formats |
---|---|
Documents | TXT, MARKDOWN, PDF, HTML, XLSX, XLS, DOCX, CSV, EML, MSG, PPTX, PPT, XML, EPUB. |
Images | JPG, JPEG, PNG, GIF, WEBP, SVG. |
Audio | MP3, M4A, WAV, WEBM, AMR. |
Video | MP4, MOV, MPEG, MPGA. |
Others | Custom file extension support |
To prevent potential issues, application developers should verify the supported file types on the LLM’s official website before utilizing the file variable.
gpt-4o-audio-preview
that support multimodal input can process audio directly without additional extractors.sys.files
variable in the input variables.For ease of operation, we will use a single file variable as an example.File Parsing There are two main ways to use file variables:
sys.files
variable.