{"id":28722326,"url":"https://github.com/docling-project/docling-haystack","last_synced_at":"2025-06-15T08:08:58.777Z","repository":{"id":268419975,"uuid":"902822033","full_name":"docling-project/docling-haystack","owner":"docling-project","description":"Docling Haystack integration","archived":false,"fork":false,"pushed_at":"2025-01-13T14:44:26.000Z","size":446,"stargazers_count":14,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T08:37:38.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ds4sd.github.io/docling/integrations/haystack/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docling-project.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-13T10:40:08.000Z","updated_at":"2025-03-13T19:47:59.000Z","dependencies_parsed_at":"2024-12-16T17:27:09.063Z","dependency_job_id":"18326568-9ced-4ab6-af89-6777cdce754f","html_url":"https://github.com/docling-project/docling-haystack","commit_stats":null,"previous_names":["ds4sd/docling-haystack","docling-project/docling-haystack"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/docling-project/docling-haystack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docling-project%2Fdocling-haystack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docling-project%2Fdocling-haystack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docling-project%2Fdocling-haystack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docling-project%2Fdocling-haystack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docling-project","download_url":"https://codeload.github.com/docling-project/docling-haystack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docling-project%2Fdocling-haystack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259942797,"owners_count":22935330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-15T08:08:58.082Z","updated_at":"2025-06-15T08:08:58.755Z","avatar_url":"https://github.com/docling-project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Haystack Docling integration\n\n[![PyPI version](https://img.shields.io/pypi/v/docling-haystack)](https://pypi.org/project/docling-haystack/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/docling-haystack)](https://pypi.org/project/docling-haystack/)\n[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336)](https://pycqa.github.io/isort/)\n[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://pydantic.dev)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![License MIT](https://img.shields.io/github/license/DS4SD/docling)](https://opensource.org/licenses/MIT)\n\nA [Docling](https://github.com/DS4SD/docling) integration for\n[Haystack](https://github.com/deepset-ai/haystack/).\n\n## Installation\n\nSimply install `docling-haystack` from your package manager, e.g. pip:\n```bash\npip install docling-haystack\n```\n\n## Usage\n\n### Basic usage\n\nBasic usage of `DoclingConverter` looks as follows:\n\n```python\nfrom haystack import Pipeline\nfrom docling_haystack.converter import DoclingConverter\n\nidx_pipe = Pipeline()\n# ...\nconverter = DoclingConverter()\nidx_pipe.add_component(\"converter\", converter)\n# ...\n```\n### Advanced usage\n\nWhen initializing a `DoclingConverter`, you can use the following parameters:\n\n- `converter` (optional): any specific Docling `DocumentConverter` instance to use\n- `convert_kwargs` (optional): any specific kwargs for conversion execution\n- `export_type` (optional): export mode to use: `ExportType.DOC_CHUNKS` (default) or\n    `ExportType.MARKDOWN`\n- `md_export_kwargs` (optional): any specific Markdown export kwargs (for Markdown mode)\n- `chunker` (optional): any specific Docling chunker instance to use (for doc-chunk\n    mode)\n- `meta_extractor` (optional): any specific metadata extractor to use\n\n### Example\n\nFor an end-to-end usage example, check out\n[this notebook](https://ds4sd.github.io/docling/examples/rag_haystack/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocling-project%2Fdocling-haystack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocling-project%2Fdocling-haystack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocling-project%2Fdocling-haystack/lists"}