Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
MIT License
163.52k stars 43.38k forks source link

Allow for Azure Blob Storage file storage backend #7092

Open tylerwinn opened 2 months ago

tylerwinn commented 2 months ago

Duplicates

Summary 💡

In the .env file you will be able to set

FILE_STORAGE_BACKEND=azure STORAGE_BUCKET=your_blob_container_name

and a new field will need to be created for the account name, and access key. AZURE_STORAGE_ACCOUNT=storage_account_name.blob.core.windows.net AZURE_STORAGE_ACCESS_KEY=your_access_key_here

Examples 🌈

It would work just the same as S3 or GCS, except be based on Azure Blob storage.

Motivation 🔦

I work at a software company that wants to start using AutoGPT. I believe I can add this functionality to the project for our use and the open source community.

ntindle commented 2 months ago

Go for it! Let us know in the discord if you have trouble

github-actions[bot] commented 3 weeks ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

ntindle commented 3 weeks ago

/boosterbot

boosterbot-ai[bot] commented 3 weeks ago

To implement Azure Blob Storage as a file storage backend, we will update the .env file with new environment variables, modify the configuration management code to read these variables, create or extend a class to handle Azure Blob Storage operations, integrate this class into the existing file storage system, and update the documentation with the new configuration instructions.