I realized that ‘openai.File.create’ unconditionally changes a file name as ‘file’ yesterday (4/13/2022). Here is the line in my app.
fileInfo = openai.File.create(file=open("\gpt3\uploading.json"), purpose=“answers”)
A filename properties in fileInfo structure contains ‘file’ instead of ‘uploading.json’. I am sure that an uploaded file name was a file name without folder name. The last upload was probably 10 days ago. I confirmed the last upload uses an actual file name instead of ‘file’. How can I set an actual file name to an uploaded file name instead of ‘file’.
Does anyone now what’s going on? Any help will be appreciated.