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.
I’m getting this as well, could anyone from OpenAI please help?
I updated a file like this: response = openai.File.create(file=open(“train.jsonl”, “rb”), purpose=‘fine-tune’)
and when I list file, the filename always called “file”, this will cause the later uploads overwrite the previous one, and eventually I can only have 1 file uploaded.
@dwang@yamaguchi.hiro if you’re still wondering about this, I found a solution: pass user_provided_filename=‘your-file-name’ when you call openai.File.create()
@lawrencepbr , I can’t remember where I picked it up, but I do remember that I could never find mention of it in any of the official docs. Seems to work just fine though.
I’m getting this as well, could anyone from OpenAI please help?
I updated a file like this: response = openai.File.create(file=open(“train.jsonl”, “rb”), purpose=‘fine-tune’)
and when I list file, the filename always called “file”, this will cause the later uploads overwrite the previous one, and eventually I can only have 1 file uploaded.
I can’t give the name of the uploaded file and it will always be “file”. Earlier I used the OpenAI API CLI and it seems it used the name of my local file as filename in the uploaded list.