Skip to content

Commit 31b3b47

Browse files
docs: sync Haystack API reference on Docusaurus (#11640)
Co-authored-by: julian-risch <4181769+julian-risch@users.noreply.github.com>
1 parent b7f75b0 commit 31b3b47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs-website/reference/haystack-api/websearch_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Usage example:
2020
from haystack.components.websearch import SearchApiWebSearch
2121
from haystack.utils import Secret
2222

23-
websearch = SearchApiWebSearch(top_k=10, api_key=Secret.from_env_var("SERPERDEV_API_KEY"))
23+
websearch = SearchApiWebSearch(top_k=10, api_key=Secret.from_env_var("SEARCHAPI_API_KEY"))
2424
results = websearch.run(query="Who is the boyfriend of Olivia Wilde?")
2525

2626
assert results["documents"]

0 commit comments

Comments
 (0)