We have an assistant that as of last week would let us upload a netCDF file to it like so:
file = client.files.create(
file=open("pr_Amon_GISS-E2-1-G_ssp245_r10i1p1f2_gn_201501-205012.nc", "rb"),
purpose='assistants'
)
We then use code interpreter with xarray to read that file and do some analysis. Now, when we try to run our code this week we get an invalid extension error:
openai.BadRequestError: Error code: 400 - {'error': {'message': 'Invalid extension nc. Supported formats:
I’m wondering what changes were made to the assistants API since last week that would cause this. The only work around I have found so far is to zip the .nc file and instruct the code interpreter to unzip it once it’s uploaded to the storage bucket /mnt. Is there a more appropriate way to handle this “unsupported” file types?