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-06-16 18:52:56 +00:00
|
|
|
See a [usage example for S3DirectoryLoader](/docs/modules/data_connection/document_loaders/integrations/aws_s3_directory.html).
|
2023-05-29 14:19:43 +00:00
|
|
|
|
2023-06-16 18:52:56 +00:00
|
|
|
See a [usage example for S3FileLoader](/docs/modules/data_connection/document_loaders/integrations/aws_s3_file.html).
|
2023-05-29 14:19:43 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain.document_loaders import S3DirectoryLoader, S3FileLoader
|
|
|
|
```
|