-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Anthropic Tool Support #1594
Open
evalstate
wants to merge
23
commits into
huggingface:main
Choose a base branch
from
barrensconsulting:feature/anthropic-tool-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Anthropic Tool Support #1594
evalstate
wants to merge
23
commits into
huggingface:main
from
barrensconsulting:feature/anthropic-tool-support
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the anthropic API does not yet include a "DocumentBlock" for support PDFs, so an extended type has been added to the endpoint.
…ature/anthropic-tool-support
…nsconsulting/llmindset-hug-ui into feature/anthropic-pdf-beta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tool Calling support for the Anthropic Endpoint.
Implementation Notes
This brings the AnthropicEndpoint to a similar level of capability as the other tool calling endpoints.
Before continuing @nsarrazin I was really hoping to get some feedback on the following - especially as they relate to such sensitive areas of chat-ui:
Current Limitations
calculate 15 * 33 * sqrt(4044) and create an image of a cat in space.
reliably causes the below error for Llama 3.1 in https://huggingface.co/chat/. I haven't reproduced locally, but will raise a separate issue but including here as related to this discussion on tool handling.Prompting Notes
If you need to use more than one tool, prefer to call them in parallel if the output from one does not depend on the other.
seems to help with that a lot.