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`.
This commit is contained in:
Michael Chin 2025-01-23 07:05:57 -08:00 committed by GitHub
parent e4921239a6
commit 2df9daa7f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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