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.’}}