Skip to content

Commit f47f8a0

Browse files
authored
Update duckduckgo-api-websearch.md (#319)
to be merged after this PR and a new version of the package: GivAlz/duckduckgo-api-haystack#7
1 parent 1e4649a commit f47f8a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

integrations/duckduckgo-api-websearch.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ logo: /logos/duckduckgo.png
1313
version: Haystack 2.0
1414
toc: true
1515
---
16-
# DuckDuckGo API Websearch
1716

1817
Implements a component of the kind *WebSearch*, but through the freely available DuckDuckGo API.
1918

@@ -78,7 +77,7 @@ websearch = DuckduckgoApiWebSearch(
7877
region="wt-wt", # Region for search results (default: no region)
7978
safesearch="moderate", # SafeSearch setting ("on", "moderate", or "off")
8079
timelimit=None, # Time limit for results (e.g., "d" for day, "w" for week, "m" for month)
81-
backend="api", # Search backend ("api", "html", or "lite")
80+
backend="auto", # Search backend ("auto", "html", or "lite")
8281
allowed_domain="", # Restrict search to a specific domain
8382
timeout=10, # Timeout for each search request (in seconds)
8483
use_answers=False, # Include DuckDuckGo's answer box in results

0 commit comments

Comments
 (0)