Skip to main content

Docling LangChain integration

Project description

Docling LangChain integration

PyPI version PyPI - Python Version Poetry Code style: black Imports: isort Pydantic v2 pre-commit License MIT

A Docling integration for LangChain.

Installation

Simply install langchain-docling from your package manager, e.g. pip:

pip install langchain-docling

Usage

Basic usage 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()

For end-to-end usage samples check out the examples.

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

langchain_docling-0.2.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

langchain_docling-0.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file langchain_docling-0.2.0.tar.gz.

File metadata

  • Download URL: langchain_docling-0.2.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for langchain_docling-0.2.0.tar.gz
Algorithm Hash digest
SHA256 94d11e5ec611b8a17809de9efba303eef2f0fc817f7ebdc46d737e58ecd88820
MD5 0a5b12dd59459a5657fbbaf339427d2a
BLAKE2b-256 5937b75a8f55b16c209bb16cfc390fda6598431c5834041ab26b22204ef7c9eb

See more details on using hashes here.

File details

Details for the file langchain_docling-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: langchain_docling-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for langchain_docling-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eff3e7cfcbd5bc56b9356108ec0475ee0487ec1227914b3cebb60fe288dae04c
MD5 598baf6716969f139af3e3350d0c9746
BLAKE2b-256 bc9fee56bbb9d3ad97e5b4d1403e105fa00faf91a23bff1e2a76065735319aeb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page