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

Enhancement: Claude Enhanced PDF suport #4616

Open
kvn8888 opened this issue Nov 2, 2024 · 3 comments
Open

Enhancement: Claude Enhanced PDF suport #4616

kvn8888 opened this issue Nov 2, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@kvn8888
Copy link

kvn8888 commented Nov 2, 2024

What features would you like to see added?

Antropic released new APIs that allow Claude to handle visual content inside of PDFs

More details

The new PDF support where Claude can understand any text (including LaTeX), images, charts, and tables in PDFs allows the model to respond more accurately with visual context

https://docs.anthropic.com/en/docs/build-with-claude/pdf-support#pdf-support-with-prompt-caching

Antropic provided code examples for the API

Which components are impacted by your request?

Endpoints

@kvn8888 kvn8888 added the enhancement New feature or request label Nov 2, 2024
@kvn8888 kvn8888 changed the title Enhancement: Claude Enhanded PDF suport Nov 2, 2024
@ArcCal
Copy link

ArcCal commented Nov 11, 2024

When try to use haiku-20241022 through librechat, I get this error: Something went wrong. Here's the specific error message we encountered: Operation failed after 3 attempts: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt: Input should be a valid string"}}.

With the same API key and other settings remaining default, everything works fine when using sonnet-20241022 through librechat.

With the same API key, using haiku-20241022 through chatbox also works normally.

@ArcCal
Copy link

ArcCal commented Nov 11, 2024

Logs Recorded by Cloudflare AI Gateway
image
image

@ArcCal
Copy link

ArcCal commented Nov 11, 2024

Does anyone know why this is happening? Has anyone encountered the same situation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants