2023-05-29 14:19:43 +00:00
|
|
|
# AWS S3 Directory
|
|
|
|
|
|
|
|
>[Amazon Simple Storage Service (Amazon S3)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html) is an object storage service.
|
|
|
|
|
|
|
|
>[AWS S3 Directory](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html)
|
|
|
|
|
|
|
|
>[AWS S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingBucket.html)
|
|
|
|
|
|
|
|
|
|
|
|
## Installation and Setup
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install boto3
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Document Loader
|
|
|
|
|
2023-07-25 04:20:32 +00:00
|
|
|
See a [usage example for S3DirectoryLoader](/docs/integrations/document_loaders/aws_s3_directory.html).
|
2023-05-29 14:19:43 +00:00
|
|
|
|
2023-07-25 04:20:32 +00:00
|
|
|
See a [usage example for S3FileLoader](/docs/integrations/document_loaders/aws_s3_file.html).
|
2023-05-29 14:19:43 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain.document_loaders import S3DirectoryLoader, S3FileLoader
|
|
|
|
```
|