openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

Support for File Inputs In Azure OpenAI

Open gqoew opened this issue 9 months ago • 48 comments

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • [x] This is a feature request for the Python library

Describe the feature or improvement you're requesting

Hi,

I’m trying to make a prompt with an attached file using Azure OpenAI.

I followed the official OpenAI File Inputs tutorial since this part is not clearly documented on Azure docs: https://platform.openai.com/docs/guides/pdf-files?api-mode=responses&lang=python

I didn’t manage to reproduce this with AzureOpenAI client. Is File Inputs prompts supported in Azure OpenAI? If yes, is there an exemple code block somewhere?

Thanks

Additional context

No response

gqoew avatar Apr 10 '25 12:04 gqoew