Yep, documentation is wrong. Here’s a pin in a reply I’ve been meaning to get to for developing a comprehensive “vision,files:wot?!” guide, and their documentation and their current issues needing correction, across Responses, Chat Completions, and Assistants - which are all different and also involve SDKs.
Thanks for the update.
I expect now SDK doesn’t send what the API Reference indicates:
but what actually works…
{
"type":"file",
"file":{
"file_data":"data:application/pdf;base64,JVBERi0xLjUNJeLjz9MN...",
"filename":"my_knowledge.pdf"
}
}
(this is the case for file inputs that are a different type than vision inputs)
(here’s where my SDK dump goes…)
