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

Implement tool calling for ChatBedrock #22

Closed
eugeneduvenage opened this issue Apr 23, 2024 · 5 comments
Closed

Implement tool calling for ChatBedrock #22

eugeneduvenage opened this issue Apr 23, 2024 · 5 comments
Labels

Comments

@eugeneduvenage
Copy link

Currently ChatBedrock cannot easily be used for tool calling when using langchain agents as it does not implement the bind_tools method. An example would be this langchain example using Anthropic: https://python.langchain.com/docs/use_cases/tool_use/agents/ and the create_tool_calling_agent function.

Are there any plans to support this common use case, at least when using Bedrock Anthropic models?
It might also be nice to add the BedrockChat to the langchain integrations page here: https://python.langchain.com/docs/integrations/chat/ so that the supported features can easily be understood.

@bigbernnn
Copy link
Contributor

This is the PR. Right now, it is only supporting Anthropic models.

@3coins 3coins added the bedrock label May 23, 2024
@3coins
Copy link
Collaborator

3coins commented Oct 10, 2024

@eugeneduvenage
Tool support has been added both in ChatBedrockConverse and ChatBedrock classes, can you try again and let us know if you come across any issue.

@eugeneduvenage
Copy link
Author

Thanks! Confirmed it is working for me using ChatBedrock.

@BradAxl
Copy link

BradAxl commented Nov 29, 2024

Hi @eugeneduvenage
can you provide an example of how you're using ChatBedrock or ChatBedrockConverse with llama 3.2 for tool calling please?
Thanks in advance

@wondamo
Copy link

wondamo commented Jan 9, 2025

Thanks! Confirmed it is working for me using ChatBedrock.

It's not working for me, can you provide an example of how you're usingit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants