Skip to content

Commit

Permalink
docs: Update BedrockEmbeddings import example in aws.mdx (#29364)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
michaelnchin authored Jan 23, 2025
1 parent e492123 commit 2df9daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/integrations/providers/aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2df9daa

Please sign in to comment.