What file types are *actually* supported?

Hey, I’m confused on what file types are actually supported for the assistant’s file retrieval/search. This is the current official supported file list. I could not find any other list, that might be more accurate.

As you can see, it clearly says .csv and .xlsx are supported. But when I try to upload such files to a vector store, I get this:

Screenshot 2024-09-03 095425
Screenshot 2024-09-03 095437

Uploading it through the API also fails. And regarding the .csv, there’s also a sentence in the docs, saying that .csv isn’t suported, which contradicts this list.

So, does anyone know which files are actually supported? Or is there just something else I’m missing?

Thanks in advance!

1 Like

I have encountered the same issue where the documentation indicates support for xlsx, but when I upload through the API, it prompts that xlsx is not supported

encountering the same issue
image

I found work around, converting the file to PDF seems to fix the issue and AI is able to respond as expected.

Take a look at this topic where the same issue has been resolved previously:

1 Like

maybe I’m an idiot idk but for to me indicate the “file ID” it needs to upload first !

You need to upload / attach the file in question directly to the code interpreter (with the code interpreter enabled) and not the file search/vector store. It should work then. :pray:

it doesn’t matter where I upload it, it gives the same error, it also doesn’t matter if the code interpreter is enabled or not.

Based on your error message it looks like you are still trying to add the file to file search and not the code interpreter. The code interpreter has a different error message for unsupported file types (see below):

image

2 Likes

Yes, that’s confusing and should be clarified in the documentation. Currently, it states that XLSX and CSV files are supported for file searches, but the process is actually different. Although it seems logical that the code interpreter needs to be enabled to work with tabular data, this distinction is not clearly made.

2 Likes

that just started giving output in json, even though I need text output…

Just change the output format to text under response format.

1 Like

You mean like this, right?

image

I don’t exactly see how the code interpreter is relevant. My goal is to have files like CSVs, XLSXs, and such, ready for a proper file search. With code interpreter, it just writes and executes some code, that then reads through the provided files. But once you got a decent amount of files, it’s not really a proper solution, and it’s not comparable to the file-search feature.

With my original question, I was just curious if there was some information that I was missing, or anything like that. Sure, in the end, you can convert the files to another format, but if that extra step is avoidable, I’d appreciate it.

I’ve also seen some other docs regarding the supported file types. In this post from two months ago, the list is different, and also excludes CSVs and XLSXs. https://community.openai.com/t/what-file-types-are-supported-by-gpts-for-uploading-files-and-what-are-the-specific-file-size-limitations/678393/4?u=the_patbey Does anyone know what’s up with that?