Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support for File Inputs In Azure OpenAI #2300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
gqoew opened this issue Apr 10, 2025 · 4 comments
Open
1 task done

Support for File Inputs In Azure OpenAI #2300

gqoew opened this issue Apr 10, 2025 · 4 comments
Labels
Azure for issues relating to the Azure OpenAI service

Comments

@gqoew
Copy link

gqoew commented Apr 10, 2025

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

  • 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

@ahmedmoorsy
Copy link

any updates on this?

@RobertCraigie RobertCraigie added the Azure for issues relating to the Azure OpenAI service label Apr 23, 2025
@trrwilson
Copy link

Apologies for the slow response here, @ahmedmoorsy, and thanks to @RobertCraigie for the tag!

Azure OpenAI parity support for these embedded PDF input_file content parts isn't yet available. It's in progress now, but no ETA harder than "soon, and as soon as possible."

In the interim, although it's much more cumbersome, the functionality can be approximated by uploading the file (with a purpose of assistants, as the new user_data is also coming soon together with input_file parts) and providing a vector store ID with that file to a file_search tool configuration.

@lgibelli
Copy link

+1 to implement this

@jake-ch
Copy link

jake-ch commented May 2, 2025

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure for issues relating to the Azure OpenAI service
Projects
None yet
Development

No branches or pull requests

6 participants