Hi, I’m trying to upload a file for fine-tuning. But when using api I always get
{
"object": "list",
"data": []
}
I tried using postman, python library , cli but every time i got the same result. What to do?
Hi, I’m trying to upload a file for fine-tuning. But when using api I always get
{
"object": "list",
"data": []
}
I tried using postman, python library , cli but every time i got the same result. What to do?
Hey @juric.brzic22 sorry for the delay here, is the issue still present? Can you share the command you are using to upload and potentially the file as well (if it’s not sensitive)?
Hi, I am still getting the same error. any resolutions?
curl --location --request GET ‘https://api.openai.com/v1/files’
–header ‘Authorization: Bearer sk-*****************’
–form ‘purpose=“fine-tune”’
–form ‘file=@“/home/example/trainingfile1.jsonl”’
file content:
{“prompt”: “”, “completion”: “”}
{“prompt”: “”, “completion”: “”}
{“prompt”: “”, “completion”: “”}
response:
{ “object”: “list”, “data”: }
What is the relative URL of the file that should be sent?