Merge pull request #201 from charles-shh/docs/cos-storage

docs: Add documentation for Tencent COS storage interface
This commit is contained in:
AllenWriter
2025-06-10 11:37:21 +08:00
committed by GitHub

View File

@@ -197,6 +197,7 @@ Flask 调试模式,开启可在接口输出 trace 信息,方便调试。
* aliyun-oss阿里云 OSS 存储,若选择此项则需要设置下方 ALIYUN_OSS_ 开头的配置。
* huawei-obsHuawei OBS 存储,若选择此项则需要设置下方 HUAWEI_OBS_ 开头的配置。
* volcengine-tosVolcengine TOS 存储,若选择此项则需要设置下方 VOLCENGINE_TOS_ 开头的配置。
* tencent-cos腾讯云 COS 存储,若选择此项则需要设置下方 TENCENT_COS_ 开头的配置。
* STORAGE_LOCAL_PATH
@@ -227,6 +228,11 @@ Flask 调试模式,开启可在接口输出 trace 信息,方便调试。
* VOLCENGINE_TOS_ACCESS_KEY: your-access-key 如 'difyai'。
* VOLCENGINE_TOS_REGION: your-region 如 'cn-guangzhou' # 参考[文档](https://www.volcengine.com/docs/6349/107356)。
* VOLCENGINE_TOS_ENDPOINT: your-endpoint 如 'tos-cn-guangzhou.volces.com' # 参考[文档](https://www.volcengine.com/docs/6349/107356)。
* TENCENT_COS_BUCKET_NAME: your-bucket-name 如 'difyai'
* TENCENT_COS_SECRET_KEY: your-secret-key 如 'difyai'
* TENCENT_COS_SECRET_ID: your-secret-id 如 'difyai'
* TENCENT_COS_REGION: COS 地域信息,参考[文档](https://cloud.tencent.com/document/product/436/6224)。
* TENCENT_COS_SCHEME: 指定使用 http/https 协议来访问 COS。
### 向量数据库配置