Skip to content

Conversation

@jharnack2
Copy link
Contributor

Add support for media with mime type application/pdf, which is sent as content with type file in openai completions api.
Relevant openai docs: https://platform.openai.com/docs/guides/pdf-files?api-mode=chat#base64-encoded-files

@ilayaperumalg
Copy link
Member

@jharnack2 Thanks for the PR! Rebased and merged as 1f2bd08. Also, back-ported into 1.0.x via a330458

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants