[PR #1003] [CLOSED] add tencent cloud search plugin #1319

Closed
opened 2026-02-22 17:54:41 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugins/pull/1003
Author: @raydez
Created: 8/5/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 4b89c4d add tencent cloud search plugin

📊 Changes

23 files changed (+1908 additions, -0 deletions)

View changed files

raydez/tencent_cloud_search_plugin/.gitignore (+47 -0)
raydez/tencent_cloud_search_plugin/BUILD_GUIDE.md (+100 -0)
raydez/tencent_cloud_search_plugin/DEPLOYMENT.md (+209 -0)
raydez/tencent_cloud_search_plugin/DIFY_CONFIG_GUIDE.md (+225 -0)
raydez/tencent_cloud_search_plugin/FINAL_SUMMARY.md (+153 -0)
raydez/tencent_cloud_search_plugin/INSTALL.md (+72 -0)
raydez/tencent_cloud_search_plugin/README.md (+131 -0)
raydez/tencent_cloud_search_plugin/SIGNATURE_ISSUE.md (+122 -0)
raydez/tencent_cloud_search_plugin/_assets/icon.svg (+11 -0)
raydez/tencent_cloud_search_plugin/build.sh (+51 -0)
raydez/tencent_cloud_search_plugin/dify_plugin_package.yaml (+23 -0)
raydez/tencent_cloud_search_plugin/examples/usage_examples.py (+137 -0)
raydez/tencent_cloud_search_plugin/icon.svg (+11 -0)
raydez/tencent_cloud_search_plugin/manifest.yaml (+38 -0)
raydez/tencent_cloud_search_plugin/provider/__init__.py (+3 -0)
raydez/tencent_cloud_search_plugin/provider/provider.yaml (+42 -0)
raydez/tencent_cloud_search_plugin/provider/tools/__init__.py (+3 -0)
raydez/tencent_cloud_search_plugin/provider/tools/search.py (+286 -0)
raydez/tencent_cloud_search_plugin/provider/tools/search.yaml (+120 -0)
raydez/tencent_cloud_search_plugin/requirements.txt (+2 -0)

...and 3 more files

📄 Description

Plugin Submission Form

1. Metadata

2. Submission Type

  • New plugin submission
  • Version update for existing plugin

3. Description

This is a new plugin that integrates Tencent Cloud's Networked Search API with Dify, powered by Sogou Search engine. The plugin enables users to perform comprehensive internet searches directly within Dify workflows.

Key Features:

  • 🔍 Internet Search: Full web search capabilities using Sogou search engine
  • 🎯 Multiple Search Modes: Support for natural results, VR cards, and hybrid results
  • 🏢 Site Filtering: Search within specific websites (e.g., "github.com")
  • Time Filtering: Filter results by date range using timestamps
  • 🏭 Industry Filtering: Vertical domain search for government and media (Premium version)
  • 📊 Structured Data: Support for weather, stock prices, exchange rates via VR cards
  • 🌐 Internationalization: Complete Chinese and English support
  • 🔐 Secure Authentication: Full implementation of Tencent Cloud API v3 signature

Technical Implementation:

  • Comprehensive parameter validation and error handling
  • User-friendly error messages in both Chinese and English
  • Proper ToolInvokeMessage format following Dify standards
  • Support for both Standard (¥46/1000 calls) and Premium (¥80/1000 calls) versions
  • Secure credential management for Tencent Cloud API keys

Supported Parameters:

  • query (required): Search keywords
  • mode (optional): Search mode (0=Natural, 1=VR Cards, 2=Hybrid)
  • site (optional): Specific site search
  • count (optional): Number of results (Premium feature)
  • from_time/to_time (optional): Time range filtering
  • industry (optional): Industry filter (Premium feature)

4. Checklist

  • I have read and followed the Publish to Dify Marketplace guidelines
  • I have read and comply with the Plugin Developer Agreement
  • I confirm my plugin works properly on both Dify Community Edition and Cloud Version
  • I confirm my plugin has been thoroughly tested for completeness and functionality
  • My plugin brings new value to Dify

5. Documentation Checklist

Please confirm that your plugin README includes all necessary information:

  • Step-by-step setup instructions
  • Detailed usage instructions
  • All required APIs and credentials are clearly listed
  • Connection requirements and configuration details
  • Link to the repository for the plugin source code

Documentation Details:

  • Setup Instructions: Complete guide for obtaining Tencent Cloud API credentials and enabling the search service
  • Usage Instructions: Basic and advanced search examples with JSON parameter formats
  • API Requirements: Tencent Cloud Secret ID and Secret Key configuration
  • Configuration: Detailed explanation of all search parameters and modes
  • Pricing Information: Clear explanation of Standard vs Premium version costs
  • Error Handling: Comprehensive error scenarios and troubleshooting guide

6. Privacy Protection Information

Based on Dify Plugin Privacy Protection Guidelines:

Data Collection

No personal data collection: This plugin does not collect any user personal data. The plugin only processes:

  • Search queries provided by users (which are sent to Tencent Cloud Search API)
  • Tencent Cloud API credentials (stored securely in Dify's credential management system)
  • Search results returned from Tencent Cloud API (which are displayed to users)

All data processing is performed in real-time without storage or logging of user queries or personal information.

Privacy Policy

  • I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines

Privacy Policy Summary:

  • No user personal data is collected or stored
  • Search queries are processed in real-time and not logged
  • API credentials are securely managed through Dify's credential system
  • All data transmission uses HTTPS encryption
  • Compliance with Tencent Cloud's privacy and security standards

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugins/pull/1003 **Author:** [@raydez](https://github.com/raydez) **Created:** 8/5/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`4b89c4d`](https://github.com/langgenius/dify-plugins/commit/4b89c4d03fdb82b87fc7112b547f505570dc6893) add tencent cloud search plugin ### 📊 Changes **23 files changed** (+1908 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `raydez/tencent_cloud_search_plugin/.gitignore` (+47 -0) ➕ `raydez/tencent_cloud_search_plugin/BUILD_GUIDE.md` (+100 -0) ➕ `raydez/tencent_cloud_search_plugin/DEPLOYMENT.md` (+209 -0) ➕ `raydez/tencent_cloud_search_plugin/DIFY_CONFIG_GUIDE.md` (+225 -0) ➕ `raydez/tencent_cloud_search_plugin/FINAL_SUMMARY.md` (+153 -0) ➕ `raydez/tencent_cloud_search_plugin/INSTALL.md` (+72 -0) ➕ `raydez/tencent_cloud_search_plugin/README.md` (+131 -0) ➕ `raydez/tencent_cloud_search_plugin/SIGNATURE_ISSUE.md` (+122 -0) ➕ `raydez/tencent_cloud_search_plugin/_assets/icon.svg` (+11 -0) ➕ `raydez/tencent_cloud_search_plugin/build.sh` (+51 -0) ➕ `raydez/tencent_cloud_search_plugin/dify_plugin_package.yaml` (+23 -0) ➕ `raydez/tencent_cloud_search_plugin/examples/usage_examples.py` (+137 -0) ➕ `raydez/tencent_cloud_search_plugin/icon.svg` (+11 -0) ➕ `raydez/tencent_cloud_search_plugin/manifest.yaml` (+38 -0) ➕ `raydez/tencent_cloud_search_plugin/provider/__init__.py` (+3 -0) ➕ `raydez/tencent_cloud_search_plugin/provider/provider.yaml` (+42 -0) ➕ `raydez/tencent_cloud_search_plugin/provider/tools/__init__.py` (+3 -0) ➕ `raydez/tencent_cloud_search_plugin/provider/tools/search.py` (+286 -0) ➕ `raydez/tencent_cloud_search_plugin/provider/tools/search.yaml` (+120 -0) ➕ `raydez/tencent_cloud_search_plugin/requirements.txt` (+2 -0) _...and 3 more files_ </details> ### 📄 Description # Plugin Submission Form ## 1. Metadata <!-- Please provide the following metadata of your plugin to make it easier for the reviewer to check the changes. - Plugin Author : The author of the plugin which is defined in your manifest.yaml - Plugin Name : The name of the plugin which is defined in your manifest.yaml - Repository URL: The URL of the repository where the source code of your plugin is hosted --> - **Plugin Author**: rayxing - **Plugin Name**: tencent_cloud_search - **Repository URL**: https://github.com/raydez/dify-plugins ## 2. Submission Type - [x] New plugin submission - [ ] Version update for existing plugin ## 3. Description <!-- Please briefly describe the purpose of the new plugin or the updates made to the existing plugin --> This is a new plugin that integrates Tencent Cloud's Networked Search API with Dify, powered by Sogou Search engine. The plugin enables users to perform comprehensive internet searches directly within Dify workflows. ### Key Features: - **🔍 Internet Search**: Full web search capabilities using Sogou search engine - **🎯 Multiple Search Modes**: Support for natural results, VR cards, and hybrid results - **🏢 Site Filtering**: Search within specific websites (e.g., "github.com") - **⏰ Time Filtering**: Filter results by date range using timestamps - **🏭 Industry Filtering**: Vertical domain search for government and media (Premium version) - **📊 Structured Data**: Support for weather, stock prices, exchange rates via VR cards - **🌐 Internationalization**: Complete Chinese and English support - **🔐 Secure Authentication**: Full implementation of Tencent Cloud API v3 signature ### Technical Implementation: - Comprehensive parameter validation and error handling - User-friendly error messages in both Chinese and English - Proper ToolInvokeMessage format following Dify standards - Support for both Standard (¥46/1000 calls) and Premium (¥80/1000 calls) versions - Secure credential management for Tencent Cloud API keys ### Supported Parameters: - `query` (required): Search keywords - `mode` (optional): Search mode (0=Natural, 1=VR Cards, 2=Hybrid) - `site` (optional): Specific site search - `count` (optional): Number of results (Premium feature) - `from_time`/`to_time` (optional): Time range filtering - `industry` (optional): Industry filter (Premium feature) ## 4. Checklist - [x] I have read and followed the Publish to Dify Marketplace guidelines - [x] I have read and comply with the Plugin Developer Agreement - [x] I confirm my plugin works properly on both Dify Community Edition and Cloud Version - [x] I confirm my plugin has been thoroughly tested for completeness and functionality - [x] My plugin brings new value to Dify ## 5. Documentation Checklist Please confirm that your plugin README includes all necessary information: - [x] Step-by-step setup instructions - [x] Detailed usage instructions - [x] All required APIs and credentials are clearly listed - [x] Connection requirements and configuration details - [x] Link to the repository for the plugin source code ### Documentation Details: - **Setup Instructions**: Complete guide for obtaining Tencent Cloud API credentials and enabling the search service - **Usage Instructions**: Basic and advanced search examples with JSON parameter formats - **API Requirements**: Tencent Cloud Secret ID and Secret Key configuration - **Configuration**: Detailed explanation of all search parameters and modes - **Pricing Information**: Clear explanation of Standard vs Premium version costs - **Error Handling**: Comprehensive error scenarios and troubleshooting guide ## 6. Privacy Protection Information Based on Dify Plugin Privacy Protection [Guidelines](https://docs.dify.ai/plugins/publish-plugins/publish-to-dify-marketplace/plugin-privacy-protection-guidelines): ### Data Collection <!-- Does your plugin collect any user personal data? If yes, please list what types of user personal data are being collected according to the Plugin Privacy Protection Guidelines (for example: Email address, IP address, Age, etc) --> **No personal data collection**: This plugin does not collect any user personal data. The plugin only processes: - Search queries provided by users (which are sent to Tencent Cloud Search API) - Tencent Cloud API credentials (stored securely in Dify's credential management system) - Search results returned from Tencent Cloud API (which are displayed to users) All data processing is performed in real-time without storage or logging of user queries or personal information. ### Privacy Policy - [x] I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines **Privacy Policy Summary**: - No user personal data is collected or stored - Search queries are processed in real-time and not logged - API credentials are securely managed through Dify's credential system - All data transmission uses HTTPS encryption - Compliance with Tencent Cloud's privacy and security standards --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 17:54:41 -05:00
yindo closed this issue 2026-02-22 17:54:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#1319