mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
87e502c6bc
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
25 lines
646 B
Plaintext
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
|
|
```
|