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

Use the Claude 3 models from Anthropic in VertexAI with langchain #109

Closed
romaintoub opened this issue Apr 1, 2024 · 2 comments
Closed

Comments

@romaintoub
Copy link

Hello!

I'd like to use langchain with the Claude models from Anthropic coming from Vertex AI.

To leverage these models in Python, we have to use a function from anthropic called AnthropicVertex but this cannot be integrated as a langchain model.
AFAIK we cannot bring the Claude models from langchain-anthropic as the auth method is different: https://github.com/langchain-ai/langchain/tree/master/libs/partners/anthropic

Could this be created here with the VertexAI function? Or is there any alternative to bring this model with langchain?

Thank you!

@lkuligin
Copy link
Collaborator

lkuligin commented Apr 6, 2024

Yes, we should add them with requiring an extra dependency.
I've added a first implementation (it doesn't support tools yet), if you'd like to contribute, that would be awesome.

@romaintoub
Copy link
Author

amazing, thank you!

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

No branches or pull requests

2 participants