From 2df9daa7f2210cf67f07f5242f1b64f3860b9e20 Mon Sep 17 00:00:00 2001 From: Michael Chin Date: Thu, 23 Jan 2025 07:05:57 -0800 Subject: [PATCH] docs: Update BedrockEmbeddings import example in aws.mdx (#29364) The `BedrockEmbeddings` class in `langchain-community` has been deprecated since v0.2.11: https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/embeddings/bedrock.py#L14-L19 Updated the AWS docs for `BedRockEmbeddings` to use the new class in `langchain-aws`. --- docs/docs/integrations/providers/aws.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/integrations/providers/aws.mdx b/docs/docs/integrations/providers/aws.mdx index b29f8021054..e30cbfd81f8 100755 --- a/docs/docs/integrations/providers/aws.mdx +++ b/docs/docs/integrations/providers/aws.mdx @@ -92,7 +92,7 @@ from langchain_aws import SagemakerEndpoint See a [usage example](/docs/integrations/text_embedding/bedrock). ```python -from langchain_community.embeddings import BedrockEmbeddings +from langchain_aws import BedrockEmbeddings ``` ### SageMaker Endpoint