langchain-ai / langchain-google

MIT License
74 stars 78 forks source link

Request : Support tool-use `bind_tools` in ChatAnthropicVertex (since it is generally available now ) #268

Closed rvndbalaji closed 3 weeks ago

rvndbalaji commented 1 month ago

Anthropic tool-use is now generally available - https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.27.0

https://www.anthropic.com/news/tool-use-ga

Can we get support for tool use via langchain?

Im really in need of this personally for a work related project. Is there anyway to get this Or any workarounds?

My main issue is not being able to use LangGraph since .bind_tools wouldn't work

FYI - @lkuligin

rvndbalaji commented 3 weeks ago

@lkuligin I've made the required changes and opened a PR - https://github.com/langchain-ai/langchain-google/pull/288

This is my first contribution, so please do let me know if i've missed anything