Skip to content
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 content type should be "document" not "image" #394

Closed
wants to merge 2 commits into from

Conversation

dbuxton
Copy link
Contributor

@dbuxton dbuxton commented Dec 31, 2024

Anthropic have released direct ability to read PDF docs in latest versions of Claude: https://docs.anthropic.com/en/docs/build-with-claude/pdf-support

The type needs to be set to "document" but otherwise it just works out of the box.

Fix #308

@jackmpcollins
Copy link
Owner

@dbuxton Thanks for flagging this! I've just reworked the way images are provided, and deprecated UserImageMessage (more details on PR #387) I will update this to match the new way of doing things and allow documents to be submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it possible to provide a PDF in a prompt?
2 participants