You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Integration]: cloro (Google and Bing search, AI answer engines) #790
The package is published and installs with pip install cloro-haystack. It requires haystack-ai>=2.24.1 and Python 3.11 or later.
Tests:
The 41 unit tests (mocked HTTP transport) pass on haystack-ai 3.5.0 with Python 3.12, and on 2.24.1 with Python 3.11.
The examples on the draft page were run once against the live API.
Use case: teams that track how AI answer engines answer a query, and which sources they cite. CloroAIAnswer puts that answer and its sources into a Haystack pipeline, for example to compare the cited sources with a team's own documents, or to pass the answer to AnswerBuilder. CloroWebSearch is a web search component like SerpexWebSearch, with Google or Bing as the engine.
Short description
cloro-haystack has two components:
CloroWebSearch: Google or Bing organic results as documents and links (engine="google" or engine="bing"). Optionally, the AI Overview is the first Document, and the ads on the page are the last Documents.
CloroAIAnswer: the answer that ChatGPT, Google AI Mode, Gemini, Bing AI Mode or Meta AI gives to a query, as replies, with one Document for each cited source. The output names match AnswerBuilder.
Both components have run_async. The package uses the haystack_integrations.components.websearch namespace and the same layout as the web search packages in haystack-core-integrations. The free plan includes 500 credits each month.
Activity