Search Engines Configuration
Search Engines Configuration File
To edit your search engines configuration, open this file with your preferred text editor:
{{ search_engines_file_path }}
Edit Raw Configuration
Search Engines Configuration (TOML format)
TOMLStructure Reference
Search engines are defined in TOML format with the following structure:
# Define a search engine named "example_engine"
[example_engine]
module_path = "local_deep_research.web_search_engines.engines.search_engine_example"
class_name = "ExampleSearchEngine"
requires_api_key = false # or true if API key is required
reliability = 0.9 # Value between 0 and 1
strengths = ["strength1", "strength2"] # Array of strengths
weaknesses = ["weakness1", "weakness2"] # Array of weaknesses
supports_full_search = true # Whether this engine supports retrieving full content
# Optional: Define which API key environment variable to use
api_key_env = "EXAMPLE_API_KEY" # Only needed if requires_api_key is true
# Default parameters for this search engine
[example_engine.default_params]
max_results = 20
param1 = "value1"
param2 = true
# Special setting to define the default search engine
DEFAULT_SEARCH_ENGINE = "wikipedia"
Available Search Engines
The following search engines are currently defined:
-
{% for engine_name in engine_names %}
- {{ engine_name }} {% endfor %}
Changes to search engines configuration will take effect after restarting the application.