Haystack

Integrations › Haystack

Pipeline components

Keenable web search and page-fetch components for Haystack pipelines, keyless by default.

Setup

  1. 1Install
    bash
    pip install keenable-haystack
  2. 2Use the components
    python
    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(…).

keenable-haystack on PyPI →