mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
25 lines
588 B
Plaintext
25 lines
588 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 import Bedrock
|
|
```
|
|
|
|
## Text Embedding Models
|
|
|
|
See a [usage example](/docs/integrations/text_embedding/bedrock).
|
|
```python
|
|
from langchain.embeddings import BedrockEmbeddings
|
|
```
|