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

Bedrock models are no longer available (version 2.20.0) #921

Closed
DzmitrySudnik opened this issue Jul 30, 2024 · 3 comments
Closed

Bedrock models are no longer available (version 2.20.0) #921

DzmitrySudnik opened this issue Jul 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@DzmitrySudnik
Copy link

Description

Bedrock modules are not available in UI, if I try to start jupyterlab with my old config where I have "default_language_model": "bedrock-chat:anthropic.claude-3-5-sonnet-20240620-v1:0", I'm getting an error on startup:

ValueError: No language model is associated with 'bedrock-chat:anthropic.claude-3-5-sonnet-20240620-v1:0'.

On version 2.19.1 Bedrock models are there.

Reproduce

  1. Open settings on UI for the latest jupyter-ai and Bedrock models are not there

Expected behavior

Context

  • JupyterLab version: 2.20.0
@DzmitrySudnik DzmitrySudnik added the bug Something isn't working label Jul 30, 2024
@dlqqq
Copy link
Member

dlqqq commented Jul 30, 2024

@DzmitrySudnik Hey Dzmitry! This is due to the recent migration to langchain-aws from langchain-community, as the AWS code in langchain-community is no longer maintained. To access Bedrock & SageMaker Endpoint models, you now have to install langchain-aws via:

pip install langchain-aws

in your Jupyter AI environment.

@DzmitrySudnik
Copy link
Author

@dlqqq Ah.. Let me try that. I'll close the issue if it's resolved. Thanks for a quick response!

@DzmitrySudnik
Copy link
Author

Yep, that was it. Closing the issue. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants