OpenAI api batches and file attachments

Hello,

I am used to upload jsonl files into batches via the GUI (not the api) to process multiple requests. However, I did not find a way to upload file attachments to be processed by the jsonl request. Is it possible? For instance, I upload a pdf file and set the actions such as summarizing in the jsonl file. I am sure it is possible by providing an external link to the files, but is there a way to upload it directly?

1 Like