Skip to content

[Integration]: Webcite (document parsing, source search and claim verification) #794

Backlog

Description

@Devstrategyconnect

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

Webcite

Integration type

Custom Component

Published package or repo (if it exists)

https://pypi.org/project/webcite-haystack/ and https://github.com/strategyconnect/webcite-haystack (0.1.0, MIT)

Need or proof of use

The package is published and installs with pip install webcite-haystack. A clean install in a new Python 3.11 environment resolves haystack-ai 2.31.1 and the webcite 0.1.0 SDK, and all three components import. It requires haystack-ai>=2.9.0,<3.0.0 and Python 3.10 or later.

Tests run against recorded API responses with sockets disabled. The repo has an example pipeline that converts a PDF, searches sources and verifies a claim in one run: https://github.com/strategyconnect/webcite-haystack/blob/main/examples/pipeline.py

Use case: RAG and agent pipelines that need to read PDFs, scans and office files as Markdown, and to check generated claims against sources, with each citation bound to the source passage it rests on.

Short description

webcite-haystack has three components:

  • WebciteDocumentConverter: PDFs, scans, images, spreadsheets and office files (paths, ByteStreams or https:// URLs) to Markdown Documents.
  • WebciteWebSearch: sources for a query as Documents (passage as content; URL, title and stance in meta) and links.
  • WebciteClaimVerifier: a verdict per claim, with the citations it rests on as Documents.

All three support to_dict and from_dict. The API key is read through a Haystack Secret. The Free plan includes 100 credits.

Webcite maintains this package.

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