mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
61c2d918c6
Description: Fixed inaccurate import in integrations:providers:bedrock documentation In the current version of the bedrock documentation, page https://python.langchain.com/docs/integrations/providers/bedrock it states that the import is from langchain import Bedrock This has been changed to from langchain.llms.bedrock import Bedrock as stated in https://python.langchain.com/docs/integrations/llms/bedrock Issue: Not applicable Dependencies No dependencies required Tag maintainer @baskaryan Twitter handle: Not applicable
25 lines
601 B
Plaintext
25 lines
601 B
Plaintext
# Bedrock
|
|
|
|
>[Amazon Bedrock](https://aws.amazon.com/bedrock/) is a fully managed service that makes FMs from leading AI startups and Amazon available via an API, so you can choose from a wide range of FMs to find the model that is best suited for your use case.
|
|
|
|
## Installation and Setup
|
|
|
|
```bash
|
|
pip install boto3
|
|
```
|
|
|
|
## LLM
|
|
|
|
See a [usage example](/docs/integrations/llms/bedrock).
|
|
|
|
```python
|
|
from langchain.llms.bedrock import Bedrock
|
|
```
|
|
|
|
## Text Embedding Models
|
|
|
|
See a [usage example](/docs/integrations/text_embedding/bedrock).
|
|
```python
|
|
from langchain.embeddings import BedrockEmbeddings
|
|
```
|