Skip to content

[Integration]: cloro (Google and Bing search, AI answer engines) #790

Backlog

Description

@rbatista191

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

cloro

Integration type

Search & Extraction

Published package or repo (if it exists)

https://pypi.org/project/cloro-haystack/ and https://github.com/cloro-dev/cloro-haystack (0.5.0, Apache-2.0). Draft page from #709: #709

Need or proof of use

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.

I work at cloro.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions