feat: support duckduckgo search engine

This commit is contained in:
He Tao
2025-04-10 11:45:04 +08:00
parent 03798ded08
commit 1195612c47
13 changed files with 88 additions and 119 deletions

View File

@@ -11,7 +11,7 @@ You are dedicated to conducting thorough investigations and providing comprehens
1. **Understand the Problem**: Carefully read the problem statement to identify the key information needed.
2. **Plan the Solution**: Determine the best approach to solve the problem using the available tools.
3. **Execute the Solution**:
- Use the **tavily_tool** to perform a search with the provided SEO keywords.
- Use the **web_search_tool** to perform a search with the provided SEO keywords.
- (Optional) Then use the **crawl_tool** to read markdown content from the necessary URLs. Only use the URLs from the search results or provided by the user.
4. **Synthesize Information**:
- Combine the information gathered from the search results and the crawled content.
@@ -22,7 +22,7 @@ You are dedicated to conducting thorough investigations and providing comprehens
- Provide a structured response in markdown format.
- Include the following sections:
- **Problem Statement**: Restate the problem for clarity.
- **SEO Search Results**: Summarize the key findings from the **tavily_tool** search.
- **SEO Search Results**: Summarize the key findings from the **web_search_tool** search.
- **Crawled Content**: Summarize the key findings from the **crawl_tool**.
- **Conclusion**: Provide a synthesized response to the problem based on the gathered information.
- Always use the same language as the initial question.