Docling LangChain integration
Project description
Docling LangChain integration
A Docling integration for LangChain.
Installation
Simply install langchain-docling from your package manager, e.g. pip:
pip install langchain-docling
Development setup
To develop for Docling LangChain, you need Python 3.10 through 3.14 and uv. You can then install from your local clone's root directory:
uv sync
Usage
Basic usage
Basic usage of DoclingLoader looks as follows:
from langchain_docling import DoclingLoader
FILE_PATH = ["https://arxiv.org/pdf/2408.09869"] # Docling Technical Report
loader = DoclingLoader(file_path=FILE_PATH)
docs = loader.load()
Advanced usage
When initializing a DoclingLoader, you can use the following parameters:
file_path: source as single str (URL or local file) or iterable thereofconverter(optional): any specific Docling converter instance to useconvert_kwargs(optional): any specific kwargs for conversion executionexport_type(optional): export mode to use:ExportType.DOC_CHUNKS(default) orExportType.MARKDOWNmd_export_kwargs(optional): any specific Markdown export kwargs (for Markdown mode)chunker(optional): any specific Docling chunker instance to use (for doc-chunk mode)meta_extractor(optional): any specific metadata extractor to use
Docs and examples
For more details and usage examples, check out this page.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_docling-2.0.0.tar.gz.
File metadata
- Download URL: langchain_docling-2.0.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bc7c93a6272114b6dd307c6033e2a62e843906afdd691a0d87246f1a1a154dd
|
|
| MD5 |
c73fcf415591e74328fbaa330f03dfae
|
|
| BLAKE2b-256 |
8ee0601080445d096cb0e6ede7e1c30229803a75da66a38d5346a0836a8defea
|
Provenance
The following attestation bundles were made for langchain_docling-2.0.0.tar.gz:
Publisher:
pypi.yml on docling-project/docling-langchain
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_docling-2.0.0.tar.gz -
Subject digest:
7bc7c93a6272114b6dd307c6033e2a62e843906afdd691a0d87246f1a1a154dd - Sigstore transparency entry: 704913048
- Sigstore integration time:
-
Permalink:
docling-project/docling-langchain@e4e3295b0bd4bda0c3550cf76d17f10af86ec1e5 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/docling-project
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@e4e3295b0bd4bda0c3550cf76d17f10af86ec1e5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file langchain_docling-2.0.0-py3-none-any.whl.
File metadata
- Download URL: langchain_docling-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb08ddf66dfc40310c8cbffef23e52e325e4d43317e23426202640aae395faf1
|
|
| MD5 |
8ed1589276f9db50e0904795191ee4a2
|
|
| BLAKE2b-256 |
9e7189e74b89e2abcc0f345e13c3e637dc9d5f56f24dab27659063282147b0cd
|
Provenance
The following attestation bundles were made for langchain_docling-2.0.0-py3-none-any.whl:
Publisher:
pypi.yml on docling-project/docling-langchain
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_docling-2.0.0-py3-none-any.whl -
Subject digest:
cb08ddf66dfc40310c8cbffef23e52e325e4d43317e23426202640aae395faf1 - Sigstore transparency entry: 704913058
- Sigstore integration time:
-
Permalink:
docling-project/docling-langchain@e4e3295b0bd4bda0c3550cf76d17f10af86ec1e5 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/docling-project
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@e4e3295b0bd4bda0c3550cf76d17f10af86ec1e5 -
Trigger Event:
release
-
Statement type: