Replies: 4 comments 3 replies
-
+1 this would be a nice feature since more people start using Anthropic models through AWS Bedrock. |
Beta Was this translation helpful? Give feedback.
-
Hey there! We have an experimental wrapper for anthropic models for tool calling in the langchain_anthropic package, and we'll probably wait to add this to bedrock until some bedrock models officially support tool calling and structured output! |
Beta Was this translation helpful? Give feedback.
-
+1 for this feature. |
Beta Was this translation helpful? Give feedback.
-
I was trying to get the langgraph cycles example (https://python.langchain.com/docs/langgraph#cycles) to work with ChatAnthropicTools instead of ChatOpenAI. The model does identify the right tool to call, however, looks like there are format differences that cause failures in the current implementations of the should_continue and tool_executor . It will be great if this can be made to work to support AWS + Claude combo for companies that don't use Azure. |
Beta Was this translation helpful? Give feedback.
-
Checked
Feature request
Add bind_functions to Bedrock Chat to support Langgraph.
Motivation
Currently I cannot use Bedrock with Langgraph since it makes use of OpenAI's bind_functions method. I want a function that does the same thing for Bedrock to make it compatible with Langgraph. Claude 3 Opus will soon be supported on Bedrock and it outperforms all other LLMs, from what I've seen at least, and it would be great to test my use-cases with it.
Proposal (If applicable)
Add support for Anthropic function calling building in Anthropic function calling as seen here https://github.com/anthropics/anthropic-tools to the Bedrock Chat class https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/chat_models/bedrock.py#L48.
Beta Was this translation helpful? Give feedback.
All reactions