langchain/docs/extras/integrations/providers/bedrock.mdx
2023-07-23 23:23:16 -07:00

25 lines
646 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/modules/model_io/models/llms/integrations/bedrock.html).
```python
from langchain import Bedrock
```
## Text Embedding Models
See a [usage example](/docs/modules/data_connection/text_embedding/integrations/bedrock.html).
```python
from langchain.embeddings import BedrockEmbeddings
```