-
Notifications
You must be signed in to change notification settings - Fork 108
Support for Anthropic/Claude Files API #760
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
Conversation
…o handle anthropic file content objects, add tests for provider-anthropic-files, get code working
|
Thanks for working on this! I'm busy with some other projects right now so it might take me a minute to get you a review, but the basic idea looks solid. |
|
No hurry. Thanks for taking the time for this. Please let me know if there are any changes that I should make. |
hadley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First round of comments incoming 😄 Overall, I think it looks solid, but there are lots of small style things that you could improve.
|
@dcomputing I'd like to get this into the upcoming release so I'll carry it over the finish line. Thanks for all your work so far! |
Anthropic Files API beta supports uploading to Claude storage for Claude referencing in chat messages. The API also provides for listing, deleting and getting metadata of files in Claude storage.
An attempt was made to conform to the rest of ellmer design where possible. As Claude handles uploaded files differently from Google, a new Content object was added to reflect Claude's approach and chat-anthropic enabled to process Claude centric content objects. I need to work on a project that uses ellmer and is leaning towards Claude and its storage and I hope that this will be useful to ellmer and enable the project to continue to use ellmer without having to maintain an internal fork.
Fixes #761