-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
PDF support for OpenAI vision models #834
Comments
Here's why: Lines 390 to 404 in 1d552ae
That Lines 318 to 342 in 1d552ae
So in the case of a template the |
If the template uses the |
Turns out this works in the older chat completions API too. https://platform.openai.com/docs/guides/pdf-files?api-mode=chat |
It's pretty good - it looks like it finally treats the pages as images in addition to extracting text from them: llm -a 'https://static.simonwillison.net/static/2025/footmat.pdf' 'translate to spanish' Output:
|
Actually this still needs documentation. |
Recent addition to their API: https://platform.openai.com/docs/guides/pdf-files?api-mode=chat
The text was updated successfully, but these errors were encountered: