feat: add DoclingServeConverter integration#3173
Open
SyedShahmeerAli12 wants to merge 2 commits intodeepset-ai:mainfrom
Open
feat: add DoclingServeConverter integration#3173SyedShahmeerAli12 wants to merge 2 commits intodeepset-ai:mainfrom
SyedShahmeerAli12 wants to merge 2 commits intodeepset-ai:mainfrom
Conversation
Adds a new `docling-serve-haystack` integration with a `DoclingServeConverter` component that converts documents via a remote DoclingServe HTTP server instead of loading heavy ML dependencies locally (no PyTorch required). - Supports URLs, local file paths, and ByteStream sources - Export formats: Markdown (default), plain text, JSON - Both sync `run()` and async `arun()` methods - Configurable conversion options, timeout, and optional API key auth - Full unit test suite (mocked httpx) + integration test markers - CI workflow, labeler, coverage comment, and root README table entry Closes deepset-ai#2960
Adds a new DoclingServeConverter component that converts documents by sending them to a running docling-serve HTTP server. Supports local files, URLs, and ByteStreams; markdown, text, and JSON export formats; optional API key authentication; and both sync (run) and async (arun) execution. Closes deepset-ai#2960
Contributor
Author
|
heyy ..... @julian-risch Key design decisions:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
DoclingServeConvertercomponent that converts documents using a running docling-serve HTTP server, without any heavy ML dependencies (no PyTorch required).ByteStreamsourcesMARKDOWN,TEXT, andJSONexport formatsSecretrun) and asynchronous (arun) executionCloses #2960
Test plan
ruff check,ruff format)pytest -m integration)