feat: Add google storage support (#3887)

Co-authored-by: miendinh <miendinh@users.noreply.github.com>
This commit is contained in:
miendinh
2024-04-27 17:26:52 +07:00
committed by GitHub
parent 661b30784e
commit 9ad489d133
5 changed files with 43 additions and 1 deletions

View File

@@ -213,6 +213,8 @@ class Config:
self.ALIYUN_OSS_ACCESS_KEY=get_env('ALIYUN_OSS_ACCESS_KEY')
self.ALIYUN_OSS_SECRET_KEY=get_env('ALIYUN_OSS_SECRET_KEY')
self.ALIYUN_OSS_ENDPOINT=get_env('ALIYUN_OSS_ENDPOINT')
self.GOOGLE_STORAGE_BUCKET_NAME = get_env('GOOGLE_STORAGE_BUCKET_NAME')
self.GOOGLE_STORAGE_SERVICE_ACCOUNT_JSON_BASE64 = get_env('GOOGLE_STORAGE_SERVICE_ACCOUNT_JSON_BASE64')
# ------------------------
# Vector Store Configurations.