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

Claude 3 support for tool API #384

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Claude 3 support for tool API #384

merged 1 commit into from
Apr 5, 2024

Conversation

gogwilt
Copy link
Contributor

@gogwilt gogwilt commented Apr 5, 2024

Adds support for Claude 3 tool usage.

Screenshot 2024-04-05 at 12 54 26 PM

Also adds a few inputs and outputs, to allow the Anthropic Chat Node to more easily act as a drop-in replacement for the OpenAI Chat Node. Specifically, adds the all-messages output, which makes it easier to do tool usage across calls.

The screenshot below shows how both Chat Nodes can be used in the same way with tool/function usage.

Screenshot 2024-04-05 at 1 14 44 PM

@gogwilt gogwilt requested a review from abrenneke April 5, 2024 20:19
Copy link
Collaborator

@abrenneke abrenneke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@abrenneke abrenneke merged commit f4120e8 into main Apr 5, 2024
2 checks passed
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.

2 participants