
Ricerca DuckDuckGo
Il componente Ricerca DuckDuckGo porta le capacità di ricerca web nei tuoi flussi, restituendo URL e contenuti per qualsiasi query direttamente da DuckDuckGo.
Descrizione del componente
Come funziona il componente Ricerca DuckDuckGo
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.
Domande frequenti
- Cosa fa il componente Ricerca DuckDuckGo?
Esegue ricerche in tempo reale su DuckDuckGo utilizzando le parole chiave inserite e restituisce URL pertinenti e i relativi contenuti, permettendo ai tuoi workflow di accedere a informazioni web aggiornate.
- Che tipo di output posso ottenere da questo componente?
Fornisce risultati come record URL strutturati, messaggi di testo semplice, o come strumento per flussi basati su agent—offrendo flessibilità su come utilizzare i risultati di ricerca.
- Posso controllare il numero o il tipo di risultati di ricerca?
Sì, puoi impostare il numero massimo di risultati, regolare impostazioni di regione e safesearch, e definire limiti di tempo per i risultati.
- Questo componente è adatto per creare chatbot aumentati dalla conoscenza?
Assolutamente. È ideale per chatbot e flussi che necessitano di informazioni aggiornate dal web, migliorando le loro risposte con dati di ricerca in tempo reale.
- DuckDuckGo Search memorizza o mette in cache le mie ricerche?
No, le ricerche vengono eseguite in tempo reale e i risultati non vengono memorizzati al di fuori del flusso corrente a meno che tu non scelga di farlo.
Prova la Ricerca DuckDuckGo in FlowHunt
Potenzia i tuoi workflow con la ricerca web in tempo reale. Inizia a utilizzare la Ricerca DuckDuckGo in FlowHunt per automazioni più intelligenti e dinamiche.