Skip to main content
Load files and folders from S3 buckets into your Knowledge base. Supports any S3-compatible storage with AWS credentials.
aws.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run Qdrant

5

Add the S3 report

Upload a readable PDF as reports/quarterly-report.pdf in AWS_S3_BUCKET, or update both hard-coded reports/quarterly-report.pdf and reports/ paths in the saved file to match your bucket.
6

Run the example

Save the code above as aws.py, then run:
Full source: cookbook/07_knowledge/05_integrations/cloud/01_aws.py