orka.tools.search_tools module
Search Tools Module
This module implements web search tools for the OrKa framework. These tools provide capabilities to search the web using various search engines.
The search tools in this module include: - GoogleSearchTool: Searches the web using Google Custom Search API - DuckDuckGoTool: Searches the web using DuckDuckGo search engine
These tools can be used within workflows to retrieve real-time information from the web, enabling agents to access up-to-date knowledge that might not be present in their training data.
- class orka.tools.search_tools.DuckDuckGoTool(tool_id, prompt=None, queue=None, **kwargs)[source]
Bases:
BaseTool
A tool that performs web searches using the DuckDuckGo search engine. Returns search result snippets from the top results.
- class orka.tools.search_tools.WebSearchTool(tool_id, prompt=None, queue=None, **kwargs)[source]
Bases:
BaseTool
A more robust web search tool that tries multiple search methods. Falls back through different search engines and methods.