
Pesquisa DuckDuckGo
O componente Pesquisa DuckDuckGo traz capacidades de busca na web para seus fluxos, retornando URLs e conteúdos para qualquer consulta diretamente do DuckDuckGo.
Descrição do componente
Como o componente Pesquisa DuckDuckGo funciona
DuckDuckGoSearch Component Overview
The DuckDuckGoSearch component enables your AI workflow to perform real-time web searches using the DuckDuckGo search engine. It accepts a user-defined search query and returns relevant web results, including URLs and their content, making it a powerful tool for knowledge retrieval, research tasks, or augmenting LLMs with up-to-date information from the internet.
What Does This Component Do?
- Executes a search on DuckDuckGo using the provided keywords (query).
- Retrieves a configurable number of results (default: 3).
- Allows filtering by region, safe search level, and time period.
- Returns results as both structured URL records and plain text, suitable for further automated processing or display.
- Can be used as a standalone tool or integrated into agent-based workflows.
Inputs
| Name | Description | Type | Required | Default | Advanced |
|---|---|---|---|---|---|
| Input Keywords | The keywords or query string to search. | String | Yes | (empty) | No |
| Max Results | The number of results to return. | Integer | Yes | 3 | No |
| Region | Region/language code for localized results (e.g., us-en, uk-en, ru-ru). | String | Yes | us-en | Yes |
| SafeSearch | Sets the safesearch filter: strict, moderate, or off. | String | Yes | moderate | Yes |
| Time Limit | Restricts results by time: d (day), w (week), m (month), y (year). | String | Yes | y | Yes |
| Tool Description | (Optional) Description for agents to understand how to use this tool. | String | No | (empty) | Yes |
| Tool Name | (Optional) Alias for referencing this tool within agent frameworks. | String | No | (empty) | Yes |
| Verbose | Whether to print verbose/debug output during execution. | Boolean | No | false | Yes |
Outputs
The component provides three output formats:
URL Records (
UrlRecord)- A structured list of search results, each containing the URL and its associated content. Useful for programmatic consumption or chaining to other components.
URLs as Text (
Message)- The search results formatted as readable text, suitable for direct display or integration into message-driven workflows.
DuckDuckGo Search as Tool (
Tool)- The entire search operation wrapped as a tool object, enabling its use in agent-based or tool-using AI systems.
Why Use This Component?
- Access Current Information: Lets your AI workflow query up-to-date web information, which is especially valuable when LLMs or AI agents need recent data not present in their training set.
- Flexible Configuration: Supports region, safesearch, and time filtering for tailored results.
- Multi-format Outputs: Choose the output format that best fits your downstream task, whether it’s for further automated processing or for display to end-users.
- Agent Integration: Designed to be easily referenced and described for agent-based frameworks, making it suitable for complex AI orchestration.
Example Use Cases
- Answer Augmentation: Enhance LLM answers with real-time web search results.
- Knowledge Extraction: Gather recent web content for summarization or analysis.
- Research Automation: Automate information gathering for specific topics, areas, or timeframes.
This component is a versatile and essential building block for workflows that require external knowledge and up-to-date web data.
Perguntas frequentes
- O que faz o componente Pesquisa DuckDuckGo?
Ele realiza buscas em tempo real no DuckDuckGo usando as palavras-chave inseridas e retorna URLs relevantes e seus conteúdos, permitindo que seus fluxos de trabalho acessem informações atualizadas da web.
- Que tipo de saída posso obter deste componente?
Ele fornece resultados como registros de URL estruturados, mensagens em texto simples ou como uma ferramenta para fluxos baseados em agentes—oferecendo flexibilidade na forma de usar os resultados da busca.
- Posso controlar o número ou tipo de resultados da busca?
Sim, você pode definir o número máximo de resultados, ajustar configurações de região e busca segura, além de definir limites de tempo para os resultados.
- Este componente é adequado para construir chatbots com conhecimento aumentado?
Com certeza. Ele é ideal para chatbots e fluxos que precisam de informações atualizadas da web, enriquecendo suas respostas com dados de busca em tempo real.
- A Pesquisa DuckDuckGo armazena ou faz cache das minhas buscas?
Não, as buscas são realizadas em tempo real e os resultados não são armazenados fora do seu fluxo atual, a menos que você decida fazê-lo.
Experimente a Pesquisa DuckDuckGo no FlowHunt
Aprimore seus fluxos de trabalho com buscas na web ao vivo. Comece a usar a Pesquisa DuckDuckGo no FlowHunt para automações mais inteligentes e dinâmicas.