by sawyer-shi · v0.0.3
Tencent Cloud COS: Supports file upload, file download, batch file upload, batch file download, and public file download
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
A powerful Dify plugin providing seamless integration with Tencent Cloud Object Storage (COS). Enables direct file uploads to Tencent Cloud COS and efficient file retrieval using URLs, with rich configuration options.
Install the required dependencies:
pip install -r requirements.txt
Configure the plugin in Dify with the following parameters:
The plugin provides five powerful tools for interacting with Tencent Cloud COS:
Dedicated tool for uploading files to Tencent Cloud COS.
file: The local file to upload (required)directory: First-level directory under the bucket (required)directory_mode: Optional directory structure mode (default: no_subdirectory)
no_subdirectory: Store directly in specified directoryyyyy_mm_dd_hierarchy: Store in date-based hierarchical structureyyyy_mm_dd_combined: Store in combined date directoryfilename: Optional custom filename for COS storagefilename_mode: Optional filename composition mode (default: filename)
filename: Use original filenamefilename_timestamp: Use original filename plus timestampDedicated tool for uploading multiple files to Tencent Cloud COS.
files: The local files to upload (required, maximum 10 files)directory: First-level directory under the bucket (required)directory_mode: Optional directory structure mode (default: no_subdirectory)
no_subdirectory: Store directly in specified directoryyyyy_mm_dd_hierarchy: Store in date-based hierarchical structureyyyy_mm_dd_combined: Store in combined date directoryfilename_mode: Optional filename composition mode (default: filename)
filename: Use original filenamefilename_timestamp: Use original filename plus timestampDedicated tool for retrieving files from Tencent Cloud COS using URLs.
file_url: The URL of the file in Tencent Cloud COSDedicated tool for batch downloading multiple files from Tencent Cloud COS.
file_urls: Multiple URLs of files in Tencent Cloud COS, separated by semicolon (;)Dedicated tool for downloading public files from any platform without authentication.
file_url: The URL of the public file that can be accessed without authenticationhttps://github.com/sawyer-shihttps://github.com/sawyer-shi/dify-plugins-tencent_cosReady to seamlessly integrate with Tencent Cloud COS?