Haystack
Integrations › Haystack
Pipeline components
Keenable web search and page-fetch components for Haystack pipelines, keyless by default.
Setup
- 1Installbash
pip install keenable-haystack - 2Use the componentspython
from haystack_integrations.components.websearch.keenable import KeenableWebSearch from haystack_integrations.components.fetchers.keenable import KeenableFetcher hits = KeenableWebSearch(top_k=5).run(query="latest AI agents") pages = KeenableFetcher().run(urls=hits["links"][:2]) # -> {"documents": [...]}
Keyless by default; set KEENABLE_API_KEY or pass api_key=Secret.from_token(…).