Azure OpenAI File API not working

jacobvduncan 0 Reputation points
2024-08-14T18:12:20.84+00:00

Where could I report a feature missing as I do not believe I am missing anything.

https://learn.microsoft.com/en-us/rest/api/azureopenai/files/import?view=rest-azureopenai-2024-05-01-preview&tabs=HTTP

As you can see here when using this endpoint, it is impossible to upload files to the assistant API by URL natively without having to make some in house system. It recognizes that the purpose is assistants however will say it's an invalid purpose anyway (if you give it a real invalid purpose the error will ask for a fileImport field.)

"message": "The fileImport field is required."

User's image

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,943 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.