2024-05-01-preview has "upload file" but URL returns 404 :-(

itsvkn 20 Reputation points
2024-08-26T16:35:43.81+00:00

https://github.com/Azure/azure-rest-api-specs/tree/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-05-01-preview has "upload file" swagger specs! Woohooo. I couldn't find it in the earlier releases

The doc at https://video2.skills-academy.com/en-us/rest/api/azureopenai/files/upload?view=rest-azureopenai-2024-05-01-preview&tabs=HTTP&preserve-view=true says that the file upload link is :

POST {endpoint}/openai/files?api-version=2024-05-01-preview

My "endpoint" works well for listing the assistants, creating, etc.

but the above ALWAYS results in a 404 not found :-(

File upload is not supported in the above version?

How can I upload files that i can use with the Azure OpenAi Service????

Thanks

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

1 answer

Sort by: Most helpful
  1. navba-MSFT 23,625 Reputation points Microsoft Employee
    2024-08-30T04:27:11.3133333+00:00

    @itsvkn Apologies for the delay. See the below screenshot and form your request accordingly in the postman and check if that helps.

    User's image

    Please don't forget to add the api-key with the key within the headers tab.

    .

    Awaiting your reply.


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.