mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 17:08:47 +00:00
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:
parent
e4921239a6
commit
2df9daa7f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user