dimagi / open-chat-studio

A web based platform for building Chatbots backed by Large Language Models
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

Upgrade langchain #362

Closed snopoke closed 4 months ago

snopoke commented 5 months ago

Why?

and more

SmittieC commented 4 months ago

Langchain is already updated and here's the anthropic tool support changes

bderenzi commented 4 months ago

Great! Do we need to make a separate issue for the anthropic messaging API? I think that's still not working (so no claude-3 on OCS at the moment)

SmittieC commented 4 months ago

The messaging API issue is fixed (in the tools PR) by us using the ChatAnthoripic model from langchain_anthropic instead of the one from langchain_community. This reminds me, only the claude3 models supports tool usage