What 'purpose' value to use in files.create with AzureOpenAI?

the client.files.create API used to upload files to the assistant takes in the ‘purpose’ value. I’ve been using the ‘assistants’ value just fine. But when switching to AzureOpenAI I’m getting an error:

Error code: 400 - {‘error’: {‘code’: ‘invalidPayload’, ‘message’: ‘purpose contains an invalid purpose.’}}

I have the same issue but with “vision” purpose.

I too am having the same error. When I use vision it says invalid value for purpose and when I use assistants it says purpose contains an invalid purpose, from the library it seems to work but not from the rest api. Any one found the solution to this?