Summary
Build a storage service that uploads files to the chosen S3-compatible provider.
Blocked by
Blocks
Steps
- Install the SDK for the chosen provider (e.g.,
supabase Python client, boto3 for S3-compatible)
- Create
backend/app/services/storage.py with functions: upload_file(file_path, bucket, key) -> url and download_file(bucket, key) -> bytes
- Add storage env vars to
cognee_config.py and .env.example
- Write tests: upload a file → get URL back, download by key → get same content
Acceptance Criteria
Summary
Build a storage service that uploads files to the chosen S3-compatible provider.
Blocked by
Blocks
Steps
supabasePython client,boto3for S3-compatible)backend/app/services/storage.pywith functions:upload_file(file_path, bucket, key) -> urlanddownload_file(bucket, key) -> bytescognee_config.pyand.env.exampleAcceptance Criteria
storage.pywithupload_fileanddownload_filefunctionsCloses #72